diff --git a/404.html b/404.html index 40dc2cb..a88bc65 100644 --- a/404.html +++ b/404.html @@ -5,11 +5,11 @@ - + Loading... - + \ No newline at end of file diff --git a/index.html b/index.html index 40dc2cb..a88bc65 100644 --- a/index.html +++ b/index.html @@ -5,11 +5,11 @@ - + Loading... - + \ No newline at end of file diff --git a/main.8d0ec59cdd6d0d73.js b/main.8d0ec59cdd6d0d73.js deleted file mode 100644 index 0309ddb..0000000 --- a/main.8d0ec59cdd6d0d73.js +++ /dev/null @@ -1,196 +0,0 @@ -var nue=Object.defineProperty,iue=Object.defineProperties,rue=Object.getOwnPropertyDescriptors,BN=Object.getOwnPropertySymbols,sue=Object.prototype.hasOwnProperty,oue=Object.prototype.propertyIsEnumerable,hE=(se,q,w)=>q in se?nue(se,q,{enumerable:!0,configurable:!0,writable:!0,value:w}):se[q]=w,Rr=(se,q)=>{for(var w in q||(q={}))sue.call(q,w)&&hE(se,w,q[w]);if(BN)for(var w of BN(q))oue.call(q,w)&&hE(se,w,q[w]);return se},Io=(se,q)=>iue(se,rue(q)),jN=(se,q,w)=>(hE(se,"symbol"!=typeof q?q+"":q,w),w);(self.webpackChunkCATcher=self.webpackChunkCATcher||[]).push([[179,429],{6381:(se,q,w)=>{"use strict";w.d(q,{InMemoryCache:()=>Vt,cacheSlot:()=>ie});var v=null,m={},d=1,p="@wry/context:Slot",g=Array,y=g[p]||function(){var z=function(){function z(){this.id=["slot",d++,Date.now(),Math.random().toString(36).slice(2)].join(":")}return z.prototype.hasValue=function(){for(var S=v;S;S=S.parent)if(this.id in S.slots){var A=S.slots[this.id];if(A===m)break;return S!==v&&(v.slots[this.id]=A),!0}return v&&(v.slots[this.id]=m),!1},z.prototype.getValue=function(){if(this.hasValue())return v.slots[this.id]},z.prototype.withValue=function(S,A,V,ye){var pe,ze=((pe={__proto__:null})[this.id]=S,pe),Ee=v;v={parent:Ee,slots:ze};try{return A.apply(ye,V)}finally{v=Ee}},z.bind=function(S){var A=v;return function(){var V=v;try{return v=A,S.apply(this,arguments)}finally{v=V}}},z.noContext=function(S,A,V){if(!v)return S.apply(V,A);var ye=v;try{return v=null,S.apply(V,A)}finally{v=ye}},z}();try{Object.defineProperty(g,p,{value:g[p]=z,enumerable:!1,writable:!1,configurable:!1})}finally{return z}}();function L(){}var ne=function(){function z(S,A){void 0===S&&(S=1/0),void 0===A&&(A=L),this.max=S,this.dispose=A,this.map=new Map,this.newest=null,this.oldest=null}return z.prototype.has=function(S){return this.map.has(S)},z.prototype.get=function(S){var A=this.getEntry(S);return A&&A.value},z.prototype.getEntry=function(S){var A=this.map.get(S);if(A&&A!==this.newest){var V=A.older,ye=A.newer;ye&&(ye.older=V),V&&(V.newer=ye),A.older=this.newest,A.older.newer=A,A.newer=null,this.newest=A,A===this.oldest&&(this.oldest=ye)}return A},z.prototype.set=function(S,A){var V=this.getEntry(S);return V?V.value=A:(V={key:S,value:A,newer:null,older:this.newest},this.newest&&(this.newest.newer=V),this.newest=V,this.oldest=this.oldest||V,this.map.set(S,V),V.value)},z.prototype.clean=function(){for(;this.oldest&&this.map.size>this.max;)this.delete(this.oldest.key)},z.prototype.delete=function(S){var A=this.map.get(S);return!!A&&(A===this.newest&&(this.newest=A.older),A===this.oldest&&(this.oldest=A.newer),A.newer&&(A.newer.older=A.older),A.older&&(A.older.newer=A.newer),this.map.delete(S),this.dispose(A.value,S),!0)},z}(),Ge=new y;function ct(z){var S=z.unsubscribe;"function"==typeof S&&(z.unsubscribe=void 0,S())}var Nt=[];function Tt(z,S){if(!z)throw new Error(S||"assertion failure")}function Ze(z){switch(z.length){case 0:throw new Error("unknown value");case 1:return z[0];case 2:throw z[1]}}var E=function(){function z(S){this.fn=S,this.parents=new Set,this.childValues=new Map,this.dirtyChildren=null,this.dirty=!0,this.recomputing=!1,this.value=[],this.deps=null,++z.count}return z.prototype.peek=function(){if(1===this.value.length&&!Pe(this))return this.value[0]},z.prototype.recompute=function(S){return Tt(!this.recomputing,"already recomputing"),function G(z){var S=Ge.getValue();if(S)z.parents.add(S),S.childValues.has(z)||S.childValues.set(z,[]),Pe(z)?yt(S,z):We(S,z)}(this),Pe(this)?function re(z,S){return Q(z),Ge.withValue(z,K,[z,S]),function ve(z,S){if("function"==typeof z.subscribe)try{ct(z),z.unsubscribe=z.subscribe.apply(null,S)}catch(A){return z.setDirty(),!1}return!0}(z,S)&&function Be(z){z.dirty=!1,!Pe(z)&&ot(z)}(z),Ze(z.value)}(this,S):Ze(this.value)},z.prototype.setDirty=function(){this.dirty||(this.dirty=!0,this.value.length=0,ge(this),Q(this),ct(this))},z.prototype.dispose=function(){var S=this;Q(this),ct(this),this.parents.forEach(function(A){A.setDirty(),X(A,S)})},z.prototype.dependOn=function(S){S.add(this),this.deps||(this.deps=Nt.pop()||new Set),this.deps.add(S)},z.prototype.forgetDeps=function(){var S=this;this.deps&&(this.deps.forEach(function(A){return A.delete(S)}),this.deps.clear(),Nt.push(this.deps),this.deps=null)},z.count=0,z}();function K(z,S){z.recomputing=!0,z.value.length=0;try{z.value[0]=z.fn.apply(null,S)}catch(A){z.value[1]=A}z.recomputing=!1}function Pe(z){return z.dirty||!(!z.dirtyChildren||!z.dirtyChildren.size)}function ge(z){z.parents.forEach(function(S){return yt(S,z)})}function ot(z){z.parents.forEach(function(S){return We(S,z)})}function yt(z,S){if(Tt(z.childValues.has(S)),Tt(Pe(S)),z.dirtyChildren){if(z.dirtyChildren.has(S))return}else z.dirtyChildren=Nt.pop()||new Set;z.dirtyChildren.add(S),ge(z)}function We(z,S){Tt(z.childValues.has(S)),Tt(!Pe(S));var A=z.childValues.get(S);0===A.length?z.childValues.set(S,function Ce(z){return z.slice(0)}(S.value)):function st(z,S){var A=z.length;return A>0&&A===S.length&&z[A-1]===S[A-1]}(A,S.value)||z.setDirty(),vt(z,S),!Pe(z)&&ot(z)}function vt(z,S){var A=z.dirtyChildren;A&&(A.delete(S),0===A.size&&(Nt.length<100&&Nt.push(A),z.dirtyChildren=null))}function Q(z){z.childValues.size>0&&z.childValues.forEach(function(S,A){X(z,A)}),z.forgetDeps(),Tt(null===z.dirtyChildren)}function X(z,S){S.parents.delete(z),z.childValues.delete(S),vt(z,S)}var ae=function(){return Object.create(null)},be=Array.prototype,Ve=be.forEach,nt=be.slice,Dt=function(){function z(S,A){void 0===A&&(A=ae),this.weakness=S,this.makeData=A}return z.prototype.lookup=function(){for(var S=[],A=0;A0){var A=--this.rootIds[S];return A||delete this.rootIds[S],A}return 0},z.prototype.getRootIdSet=function(S){return void 0===S&&(S=new Set),Object.keys(this.rootIds).forEach(S.add,S),this instanceof Jt?this.parent.getRootIdSet(S):Object.keys(this.policies.rootTypenamesById).forEach(S.add,S),S},z.prototype.gc=function(){var S=this,A=this.getRootIdSet(),V=this.toObject();A.forEach(function(ze){ue.call(V,ze)&&(Object.keys(S.findChildRefIds(ze)).forEach(A.add,A),delete V[ze])});var ye=Object.keys(V);if(ye.length){for(var pe=this;pe instanceof Jt;)pe=pe.parent;ye.forEach(function(ze){return pe.delete(ze)})}return ye},z.prototype.findChildRefIds=function(S){if(!ue.call(this.refs,S)){var A=this.refs[S]=Object.create(null),V=new Set([this.data[S]]),ye=function(pe){return null!==pe&&"object"==typeof pe};V.forEach(function(pe){(0,tt.hh)(pe)?A[pe.__ref]=!0:ye(pe)&&Object.values(pe).filter(ye).forEach(V.add,V)})}return this.refs[S]},z.prototype.makeCacheKey=function(){for(var S=[],A=0;A0;if(Tn&&!kt)throw fn.missing[0];return{result:fn.result,missing:fn.missing,complete:!Tn}},z.prototype.isFresh=function(S,A,V,ye){if(J(ye.store)&&this.knownResults.get(S)===V){var pe=this.executeSelectionSet.peek(V,A,ye);if(pe&&S===pe.result)return!0}return!1},z.prototype.execSelectionSetImpl=function(S){var A=this,V=S.selectionSet,ye=S.objectOrReference,pe=S.context;if((0,tt.hh)(ye)&&!pe.policies.rootTypenamesById[ye.__ref]&&!pe.store.has(ye.__ref))return{result:{},missing:[fe(new jn.ej(4),pe)]};var ze=pe.variables,Ee=pe.policies,He=[],fn={result:null},Tn=pe.store.getFieldValue(ye,"__typename");function Vn(){return fn.missing||(fn.missing=[])}function $n(Bn){var Yi;return Bn.missing&&(Yi=Vn()).push.apply(Yi,Bn.missing),Bn.result}this.config.addTypename&&"string"==typeof Tn&&!Ee.rootIdsByTypename[Tn]&&He.push({__typename:Tn});var pi=new Set(V.selections);return pi.forEach(function(Bn){var Yi;if((0,tt.LZ)(Bn,ze))if((0,tt.My)(Bn)){var nr=Ee.readField({fieldName:Bn.name.value,field:Bn,variables:pe.variables,from:ye},pe),Ao=(0,tt.u2)(Bn);pe.path.push(Ao);var En=pe.clientOnly;pe.clientOnly=En||!(!Bn.directives||!Bn.directives.some(function(Fi){return"client"===Fi.name.value})),void 0===nr?tt.Gw.added(Bn)||Vn().push(fe(new jn.ej(5),pe)):Array.isArray(nr)?nr=$n(A.executeSubSelectedArray({field:Bn,array:nr,context:pe})):Bn.selectionSet&&null!=nr&&(nr=$n(A.executeSelectionSet({selectionSet:Bn.selectionSet,objectOrReference:nr,context:pe}))),void 0!==nr&&He.push(((Yi={})[Ao]=nr,Yi)),pe.clientOnly=En,(0,jn.kG)(pe.path.pop()===Ao)}else{var ns=(0,tt.hi)(Bn,pe.fragmentMap);ns&&Ee.fragmentMatches(ns,Tn)&&ns.selectionSet.selections.forEach(pi.add,pi)}}),fn.result=(0,tt.bw)(He),this.knownResults.set(fn.result,V),fn},z.prototype.execSubSelectedArrayImpl=function(S){var ze,A=this,V=S.field,ye=S.array,pe=S.context;function Ee(kt,He){return kt.missing&&(ze=ze||[]).push.apply(ze,kt.missing),(0,jn.kG)(pe.path.pop()===He),kt.result}return V.selectionSet&&(ye=ye.filter(pe.store.canRead)),{result:ye=ye.map(function(kt,He){return null===kt?null:(pe.path.push(He),Array.isArray(kt)?Ee(A.executeSubSelectedArray({field:V,array:kt,context:pe}),He):V.selectionSet?Ee(A.executeSelectionSet({selectionSet:V.selectionSet,objectOrReference:kt,context:pe}),He):((0,jn.kG)(pe.path.pop()===He),kt))}),missing:ze}},z}(),$=function(){function z(S,A){this.cache=S,this.reader=A}return z.prototype.writeToStore=function(S){var A=S.query,V=S.result,ye=S.dataId,pe=S.store,ze=S.variables,Ee=(0,tt.$H)(A),kt=function at(){return new tt.w0}();ze=(0,Wt.pi)((0,Wt.pi)({},(0,tt.O4)(Ee)),ze);var He=this.processSelectionSet({result:V||Object.create(null),dataId:ye,selectionSet:Ee.selectionSet,mergeTree:{map:new Map},context:{store:pe,written:Object.create(null),merge:function(fn,Tn){return kt.merge(fn,Tn)},variables:ze,varString:JSON.stringify(ze),fragmentMap:(0,tt.F)((0,tt.kU)(A))}});if(!(0,tt.hh)(He))throw new jn.ej(7);return pe.retain(He.__ref),He},z.prototype.processSelectionSet=function(S){var A=this,V=S.dataId,ye=S.result,pe=S.selectionSet,ze=S.context,Ee=S.mergeTree,kt=this.cache.policies,He=kt.identify(ye,pe,ze.fragmentMap),Tn=He[1];if("string"==typeof(V=V||He[0])){var Vn=ze.written[V]||(ze.written[V]=[]),$n=(0,tt.kQ)(V);if(Vn.indexOf(pe)>=0||(Vn.push(pe),this.reader&&this.reader.isFresh(ye,$n,pe,ze)))return $n}var pi=Object.create(null);Tn&&(pi=ze.merge(pi,Tn));var Bn=V&&kt.rootTypenamesById[V]||(0,tt.qw)(ye,pe,ze.fragmentMap)||V&&ze.store.get(V,"__typename");"string"==typeof Bn&&(pi.__typename=Bn);var Yi=new Set(pe.selections);if(Yi.forEach(function(Fi){var lr;if((0,tt.LZ)(Fi,ze.variables))if((0,tt.My)(Fi)){var aa=(0,tt.u2)(Fi),Dl=ye[aa];if(void 0!==Dl){var fs=kt.getStoreFieldName({typename:Bn,fieldName:Fi.name.value,field:Fi,variables:ze.variables}),Tr=Qe(Ee,fs),Vs=A.processFieldValue(Dl,Fi,ze,Tr),_m=Fi.selectionSet&&ze.store.getFieldValue(Vs,"__typename")||void 0,is=kt.getMergeFunction(Bn,Fi.name.value,_m);is?Tr.info={field:Fi,typename:Bn,merge:is}:Bt(Ee,fs),pi=ze.merge(pi,((lr={})[fs]=Vs,lr))}else if(kt.usingPossibleTypes&&!(0,tt.FS)(["defer","client"],Fi))throw new jn.ej(8)}else{var fc=(0,tt.hi)(Fi,ze.fragmentMap);fc&&kt.fragmentMatches(fc,Bn,ye,ze.variables)&&fc.selectionSet.selections.forEach(Yi.add,Yi)}}),"string"==typeof V){var nr=(0,tt.kQ)(V);return Ee.map.size&&(pi=this.applyMerges(Ee,nr,pi,ze)),ze.store.merge(V,pi),nr}return pi},z.prototype.processFieldValue=function(S,A,V,ye){var pe=this;return A.selectionSet&&null!==S?Array.isArray(S)?S.map(function(ze,Ee){var kt=pe.processFieldValue(ze,A,V,Qe(ye,Ee));return Bt(ye,Ee),kt}):this.processSelectionSet({result:S,selectionSet:A.selectionSet,context:V,mergeTree:ye}):S},z.prototype.applyMerges=function(S,A,V,ye,pe){var ze,Ee=this;if(S.map.size&&!(0,tt.hh)(V)){var kt=Array.isArray(V)||!(0,tt.hh)(A)&&!Ke(A)?void 0:A,He=V;kt&&!pe&&(pe=[(0,tt.hh)(kt)?kt.__ref:kt]);var fn,Tn=function(Vn,$n){return Array.isArray(Vn)?"number"==typeof $n?Vn[$n]:void 0:ye.store.getFieldValue(Vn,String($n))};S.map.forEach(function(Vn,$n){pe&&pe.push($n);var pi=Tn(kt,$n),Bn=Tn(He,$n),Yi=Ee.applyMerges(Vn,pi,Bn,ye,pe);Yi!==Bn&&(fn=fn||new Map).set($n,Yi),pe&&(0,jn.kG)(pe.pop()===$n)}),fn&&(V=Array.isArray(He)?He.slice(0):(0,Wt.pi)({},He),fn.forEach(function(Vn,$n){V[$n]=Vn}))}return S.info?this.cache.policies.runMergeFunction(A,V,S.info,ye,pe&&(ze=ye.store).getStorage.apply(ze,pe)):V},z}(),he=[];function Qe(z,S){var A=z.map;return A.has(S)||A.set(S,he.pop()||{map:new Map}),A.get(S)}function Bt(z,S){var A=z.map,V=A.get(S);V&&!V.info&&!V.map.size&&(he.push(V),A.delete(S))}var en=zt(),ie=new y;function me(z,S){if(z.size){var A=[];z.forEach(function(V){return A.push(V)}),z.clear(),A.forEach(S)}}var W=new WeakMap;function _e(z){var S=new Set,A=new Set,V=function(pe){if(arguments.length>0)z!==pe&&(z=pe,en.dirty(V),S.forEach(Oe),me(A,function(Ee){return Ee(z)}));else{var ze=ie.getValue();ze&&ye(ze),en(V)}return z};V.onNextChange=function(pe){return A.add(pe),function(){A.delete(pe)}};var ye=V.attachCache=function(pe){S.add(pe);var ze=W.get(pe);return ze||W.set(pe,ze=new Set),ze.add(V),V};return V.forgetCache=function(pe){var ze=S.delete(pe);if(ze){var Ee=W.get(pe);Ee&&Ee.delete(V)}return ze},V}function Oe(z){z.broadcastWatches&&z.broadcastWatches()}function U(z){return void 0!==z.args?z.args:z.field?(0,tt.NC)(z.field,z.variables):null}var ee=function(z,S){var A=z.__typename,V=z.id,ye=z._id;if("string"==typeof A&&(S&&(S.keyObject=void 0!==V?{id:V}:void 0!==ye?{_id:ye}:void 0),void 0===V&&(V=ye),void 0!==V))return A+":"+("number"==typeof V||"string"==typeof V?V:JSON.stringify(V))},te=function(){},Re=function(z,S){return S.fieldName},Ue=function(z,S,A){return(0,A.mergeObjects)(z,S)},et=function(z,S){return S},de=function(){function z(S){this.config=S,this.typePolicies=Object.create(null),this.toBeAdded=Object.create(null),this.supertypeMap=new Map,this.fuzzySubtypes=new Map,this.rootIdsByTypename=Object.create(null),this.rootTypenamesById=Object.create(null),this.usingPossibleTypes=!1,this.config=(0,Wt.pi)({dataIdFromObject:ee},S),this.cache=this.config.cache,this.setRootTypename("Query"),this.setRootTypename("Mutation"),this.setRootTypename("Subscription"),S.possibleTypes&&this.addPossibleTypes(S.possibleTypes),S.typePolicies&&this.addTypePolicies(S.typePolicies)}return z.prototype.identify=function(S,A,V){var ye=A&&V?(0,tt.qw)(S,A,V):S.__typename;if(ye===this.rootTypenamesById.ROOT_QUERY)return["ROOT_QUERY"];for(var ze,pe={typename:ye,selectionSet:A,fragmentMap:V},Ee=ye&&this.getTypePolicy(ye),kt=Ee&&Ee.keyFn||this.config.dataIdFromObject;kt;){var He=kt(S,pe);if(!Array.isArray(He)){ze=He;break}kt=Xn(He)}return ze=ze&&String(ze),pe.keyObject?[ze,pe.keyObject]:[ze]},z.prototype.addTypePolicies=function(S){var A=this;Object.keys(S).forEach(function(V){var ye=S[V];ue.call(A.toBeAdded,V)?A.toBeAdded[V].push(ye):A.toBeAdded[V]=[ye]})},z.prototype.updateTypePolicy=function(S,A){var V=this,ye=this.getTypePolicy(S),pe=A.keyFields,ze=A.fields;function Ee(kt,He){kt.merge="function"==typeof He?He:!0===He?Ue:!1===He?et:kt.merge}Ee(ye,A.merge),A.queryType&&this.setRootTypename("Query",S),A.mutationType&&this.setRootTypename("Mutation",S),A.subscriptionType&&this.setRootTypename("Subscription",S),ye.keyFn=!1===pe?te:Array.isArray(pe)?Xn(pe):"function"==typeof pe?pe:ye.keyFn,ze&&Object.keys(ze).forEach(function(kt){var He=V.getFieldPolicy(S,kt,!0),fn=ze[kt];if("function"==typeof fn)He.read=fn;else{var Tn=fn.keyArgs,Vn=fn.read,$n=fn.merge;He.keyFn=!1===Tn?Re:Array.isArray(Tn)?sn(Tn):"function"==typeof Tn?Tn:He.keyFn,"function"==typeof Vn&&(He.read=Vn),Ee(He,$n)}He.read&&He.merge&&(He.keyFn=He.keyFn||Re)})},z.prototype.setRootTypename=function(S,A){void 0===A&&(A=S);var V="ROOT_"+S.toUpperCase(),ye=this.rootTypenamesById[V];A!==ye&&((0,jn.kG)(!ye||ye===S,1),ye&&delete this.rootIdsByTypename[ye],this.rootIdsByTypename[A]=V,this.rootTypenamesById[V]=A)},z.prototype.addPossibleTypes=function(S){var A=this;this.usingPossibleTypes=!0,Object.keys(S).forEach(function(V){A.getSupertypeSet(V,!0),S[V].forEach(function(ye){A.getSupertypeSet(ye,!0).add(V);var pe=ye.match(le);(!pe||pe[0]!==ye)&&A.fuzzySubtypes.set(ye,new RegExp(ye))})})},z.prototype.getTypePolicy=function(S){var A=this;if(!ue.call(this.typePolicies,S)){var V=this.typePolicies[S]=Object.create(null);V.fields=Object.create(null);var ye=this.supertypeMap.get(S);ye&&ye.size&&ye.forEach(function(ze){var Ee=A.getTypePolicy(ze),kt=Ee.fields,He=(0,Wt._T)(Ee,["fields"]);Object.assign(V,He),Object.assign(V.fields,kt)})}var pe=this.toBeAdded[S];return pe&&pe.length&&this.updateTypePolicy(S,tt.oA.apply(void 0,pe.splice(0))),this.typePolicies[S]},z.prototype.getFieldPolicy=function(S,A,V){if(S){var ye=this.getTypePolicy(S).fields;return ye[A]||V&&(ye[A]=Object.create(null))}},z.prototype.getSupertypeSet=function(S,A){var V=this.supertypeMap.get(S);return!V&&A&&this.supertypeMap.set(S,V=new Set),V},z.prototype.fragmentMatches=function(S,A,V,ye){var pe=this;if(!S.typeCondition)return!0;if(!A)return!1;var ze=S.typeCondition.name.value;if(A===ze)return!0;if(this.usingPossibleTypes&&this.supertypeMap.has(ze))for(var Ee=this.getSupertypeSet(A,!0),kt=[Ee],He=function(pi){var Bn=pe.getSupertypeSet(pi,!1);Bn&&Bn.size&&kt.indexOf(Bn)<0&&kt.push(Bn)},fn=!(!V||!this.fuzzySubtypes.size),Vn=0;Vn{},2103:(se,q,w)=>{"use strict";w.d(q,{f:()=>Ze});var v=w(3564),m=w(1082),d=w(5134),u=w(8108),g=w(9397),y=w(7883),b=w(8020),C=w(8131),P=w(7703),N=w(1335),R=w(6381),j=function(){function Ce(E){var re=E.client,K=E.resolvers,Pe=E.fragmentMatcher;this.cache=E.cache,re&&(this.client=re),K&&this.addResolvers(K),Pe&&this.setFragmentMatcher(Pe)}return Ce.prototype.addResolvers=function(E){var G=this;this.resolvers=this.resolvers||{},Array.isArray(E)?E.forEach(function(re){G.resolvers=(0,u.Ee)(G.resolvers,re)}):this.resolvers=(0,u.Ee)(this.resolvers,E)},Ce.prototype.setResolvers=function(E){this.resolvers={},this.addResolvers(E)},Ce.prototype.getResolvers=function(){return this.resolvers||{}},Ce.prototype.runResolvers=function(E){var G=E.document,re=E.remoteResult,K=E.context,Pe=E.variables,Be=E.onlyRunForcedResolvers,ge=void 0!==Be&&Be;return(0,v.mG)(this,void 0,void 0,function(){return(0,v.Jh)(this,function(ot){return G?[2,this.resolveDocument(G,re.data,K,Pe,this.fragmentMatcher,ge).then(function(yt){return(0,v.pi)((0,v.pi)({},re),{data:yt.result})})]:[2,re]})})},Ce.prototype.setFragmentMatcher=function(E){this.fragmentMatcher=E},Ce.prototype.getFragmentMatcher=function(){return this.fragmentMatcher},Ce.prototype.clientQuery=function(E){return(0,u.FS)(["client"],E)&&this.resolvers?E:null},Ce.prototype.serverQuery=function(E){return(0,u.ob)(E)},Ce.prototype.prepareContext=function(E){var G=this.cache;return(0,v.pi)((0,v.pi)({},E),{cache:G,getCacheKey:function(re){return G.identify(re)}})},Ce.prototype.addExportedVariables=function(E,G,re){return void 0===G&&(G={}),void 0===re&&(re={}),(0,v.mG)(this,void 0,void 0,function(){return(0,v.Jh)(this,function(K){return E?[2,this.resolveDocument(E,this.buildRootValueFromCache(E,G)||{},this.prepareContext(re),G).then(function(Pe){return(0,v.pi)((0,v.pi)({},G),Pe.exportedVariables)})]:[2,(0,v.pi)({},G)]})})},Ce.prototype.shouldForceResolvers=function(E){var G=!1;return(0,N.Vn)(E,{Directive:{enter:function(re){if("client"===re.name.value&&re.arguments&&(G=re.arguments.some(function(K){return"always"===K.name.value&&"BooleanValue"===K.value.kind&&!0===K.value.value})))return N.$_}}}),G},Ce.prototype.buildRootValueFromCache=function(E,G){return this.cache.diff({query:(0,u.aL)(E),variables:G,returnPartialData:!0,optimistic:!1}).result},Ce.prototype.resolveDocument=function(E,G,re,K,Pe,Be){return void 0===re&&(re={}),void 0===K&&(K={}),void 0===Pe&&(Pe=function(){return!0}),void 0===Be&&(Be=!1),(0,v.mG)(this,void 0,void 0,function(){var ge,ot,yt,We,vt,Q,X,ve,ae;return(0,v.Jh)(this,function(be){return ge=(0,u.p$)(E),ot=(0,u.kU)(E),yt=(0,u.F)(ot),vt=(We=ge.operation)?We.charAt(0).toUpperCase()+We.slice(1):"Query",X=(Q=this).cache,ve=Q.client,ae={fragmentMap:yt,context:(0,v.pi)((0,v.pi)({},re),{cache:X,client:ve}),variables:K,fragmentMatcher:Pe,defaultOperationType:vt,exportedVariables:{},onlyRunForcedResolvers:Be},[2,this.resolveSelectionSet(ge.selectionSet,G,ae).then(function(Ve){return{result:Ve,exportedVariables:ae.exportedVariables}})]})})},Ce.prototype.resolveSelectionSet=function(E,G,re){return(0,v.mG)(this,void 0,void 0,function(){var K,Pe,Be,ge,yt=this;return(0,v.Jh)(this,function(We){return K=re.fragmentMap,Pe=re.context,Be=re.variables,ge=[G],[2,Promise.all(E.selections.map(function(vt){return(0,v.mG)(yt,void 0,void 0,function(){var Q;return(0,v.Jh)(this,function(ve){return(0,u.LZ)(vt,Be)?(0,u.My)(vt)?[2,this.resolveField(vt,G,re).then(function(ae){var be;void 0!==ae&&ge.push(((be={})[(0,u.u2)(vt)]=ae,be))})]:((0,u.Ao)(vt)?Q=vt:(0,m.kG)(Q=K[vt.name.value],11),Q&&Q.typeCondition&&re.fragmentMatcher(G,Q.typeCondition.name.value,Pe)?[2,this.resolveSelectionSet(Q.selectionSet,G,re).then(function(ae){ge.push(ae)})]:[2]):[2]})})})).then(function(){return(0,u.bw)(ge)})]})})},Ce.prototype.resolveField=function(E,G,re){return(0,v.mG)(this,void 0,void 0,function(){var K,Pe,Be,ge,ot,yt,We,vt,Q,X=this;return(0,v.Jh)(this,function(ve){return K=re.variables,Pe=E.name.value,Be=(0,u.u2)(E),ge=Pe!==Be,ot=G[Be]||G[Pe],yt=Promise.resolve(ot),(!re.onlyRunForcedResolvers||this.shouldForceResolvers(E))&&(We=G.__typename||re.defaultOperationType,(vt=this.resolvers&&this.resolvers[We])&&(Q=vt[ge?Pe:Be])&&(yt=Promise.resolve(R.cacheSlot.withValue(this.cache,Q,[G,(0,u.NC)(E,K),re.context,{field:E,fragmentMap:re.fragmentMap}])))),[2,yt.then(function(ae){return void 0===ae&&(ae=ot),E.directives&&E.directives.forEach(function(be){"export"===be.name.value&&be.arguments&&be.arguments.forEach(function(Ve){"as"===Ve.name.value&&"StringValue"===Ve.value.kind&&(re.exportedVariables[Ve.value.value]=ae)})}),E.selectionSet&&null!=ae?Array.isArray(ae)?X.resolveSubSelectedArray(E,ae,re):E.selectionSet?X.resolveSelectionSet(E.selectionSet,ae,re):void 0:ae})]})})},Ce.prototype.resolveSubSelectedArray=function(E,G,re){var K=this;return Promise.all(G.map(function(Pe){return null===Pe?null:Array.isArray(Pe)?K.resolveSubSelectedArray(E,Pe,re):E.selectionSet?K.resolveSelectionSet(E.selectionSet,Pe,re):void 0}))},Ce}(),F=new(u.mr?WeakMap:Map);function L(Ce,E){var G=Ce[E];"function"==typeof G&&(Ce[E]=function(){return F.set(Ce,(F.get(Ce)+1)%1e15),G.apply(this,arguments)})}function ne(Ce){Ce.notifyTimeout&&(clearTimeout(Ce.notifyTimeout),Ce.notifyTimeout=void 0)}var Ge=function(){function Ce(E){this.cache=E,this.listeners=new Set,this.document=null,this.lastRequestId=1,this.subscriptions=new Set,this.stopped=!1,this.dirty=!1,this.diff=null,this.observableQuery=null,F.has(E)||(F.set(E,0),L(E,"evict"),L(E,"modify"),L(E,"reset"))}return Ce.prototype.init=function(E){var G=E.networkStatus||P.I.loading;return this.variables&&this.networkStatus!==P.I.loading&&!(0,y.D)(this.variables,E.variables)&&(G=P.I.setVariables),(0,y.D)(E.variables,this.variables)||(this.diff=null),Object.assign(this,{document:E.document,variables:E.variables,networkError:null,graphQLErrors:this.graphQLErrors||[],networkStatus:G}),E.observableQuery&&this.setObservableQuery(E.observableQuery),E.lastRequestId&&(this.lastRequestId=E.lastRequestId),this},Ce.prototype.getDiff=function(E){return void 0===E&&(E=this.variables),this.diff&&(0,y.D)(E,this.variables)?this.diff:(this.updateWatch(this.variables=E),this.diff=this.cache.diff({query:this.document,variables:E,returnPartialData:!0,optimistic:!0}))},Ce.prototype.setDiff=function(E){var G=this,re=this.diff;this.diff=E,!this.dirty&&(E&&E.result)!==(re&&re.result)&&(this.dirty=!0,this.notifyTimeout||(this.notifyTimeout=setTimeout(function(){return G.notify()},0)))},Ce.prototype.setObservableQuery=function(E){var G=this;E!==this.observableQuery&&(this.oqListener&&this.listeners.delete(this.oqListener),this.observableQuery=E,E?(E.queryInfo=this,this.listeners.add(this.oqListener=function(){G.getDiff().fromOptimisticTransaction?E.observe():E.reobserve()})):delete this.oqListener)},Ce.prototype.notify=function(){var E=this;ne(this),this.shouldNotify()&&this.listeners.forEach(function(G){return G(E)}),this.dirty=!1},Ce.prototype.shouldNotify=function(){if(!this.dirty||!this.listeners.size)return!1;if((0,P.O)(this.networkStatus)&&this.observableQuery){var E=this.observableQuery.options.fetchPolicy;if("cache-only"!==E&&"cache-and-network"!==E)return!1}return!0},Ce.prototype.stop=function(){if(!this.stopped){this.stopped=!0,this.cancel(),delete this.cancel,this.subscriptions.forEach(function(G){return G.unsubscribe()});var E=this.observableQuery;E&&E.stopPolling()}},Ce.prototype.cancel=function(){},Ce.prototype.updateWatch=function(E){var G=this;void 0===E&&(E=this.variables);var re=this.observableQuery;re&&"no-cache"===re.options.fetchPolicy||(!this.lastWatch||this.lastWatch.query!==this.document||!(0,y.D)(E,this.lastWatch.variables))&&(this.cancel(),this.cancel=this.cache.watch(this.lastWatch={query:this.document,variables:E,optimistic:!0,callback:function(K){return G.setDiff(K)}}))},Ce.prototype.shouldWrite=function(E,G){var re=this.lastWrite;return!(re&&re.dmCount===F.get(this.cache)&&(0,y.D)(G,re.variables)&&(0,y.D)(E.data,re.result.data))},Ce.prototype.markResult=function(E,G,re){var K=this;this.graphQLErrors=(0,u.Of)(E.errors)?E.errors:[],ne(this),"no-cache"===G.fetchPolicy?this.diff={result:E.data,complete:!0}:re&&(ct(E,G.errorPolicy)?this.cache.performTransaction(function(Pe){if(K.shouldWrite(E,G.variables))Pe.writeQuery({query:K.document,data:E.data,variables:G.variables}),K.lastWrite={result:E,variables:G.variables,dmCount:F.get(K.cache)};else if(K.diff&&K.diff.complete)return void(E.data=K.diff.result);var Be=Pe.diff({query:K.document,variables:G.variables,returnPartialData:!0,optimistic:!0});K.stopped||K.updateWatch(G.variables),K.diff=Be,Be.complete&&(E.data=Be.result)}):this.lastWrite=void 0)},Ce.prototype.markReady=function(){return this.networkError=null,this.networkStatus=P.I.ready},Ce.prototype.markError=function(E){return this.networkStatus=P.I.error,this.lastWrite=void 0,ne(this),E.graphQLErrors&&(this.graphQLErrors=E.graphQLErrors),E.networkError&&(this.networkError=E.networkError),E},Ce}();function ct(Ce,E){void 0===E&&(E="none");var G="ignore"===E||"all"===E,re=!(0,u.d2)(Ce);return!re&&G&&Ce.data&&(re=!0),re}var Nt=Object.prototype.hasOwnProperty,Lt=function(){function Ce(E){var G=E.cache,re=E.link,K=E.queryDeduplication,Pe=void 0!==K&&K,Be=E.onBroadcast,ge=E.ssrMode,ot=void 0!==ge&&ge,yt=E.clientAwareness,We=void 0===yt?{}:yt,vt=E.localState,Q=E.assumeImmutableResults;this.clientAwareness={},this.queries=new Map,this.fetchCancelFns=new Map,this.transformCache=new(u.mr?WeakMap:Map),this.queryIdCounter=1,this.requestIdCounter=1,this.mutationIdCounter=1,this.inFlightLinkObservables=new Map,this.cache=G,this.link=re,this.queryDeduplication=Pe,this.clientAwareness=We,this.localState=vt||new j({cache:G}),this.ssrMode=ot,this.assumeImmutableResults=!!Q,(this.onBroadcast=Be)&&(this.mutationStore=Object.create(null))}return Ce.prototype.stop=function(){var E=this;this.queries.forEach(function(G,re){E.stopQueryNoBroadcast(re)}),this.cancelPendingFetches(new m.ej(12))},Ce.prototype.cancelPendingFetches=function(E){this.fetchCancelFns.forEach(function(G){return G(E)}),this.fetchCancelFns.clear()},Ce.prototype.mutate=function(E){var G=E.mutation,re=E.variables,K=E.optimisticResponse,Pe=E.updateQueries,Be=E.refetchQueries,ge=void 0===Be?[]:Be,ot=E.awaitRefetchQueries,yt=void 0!==ot&&ot,We=E.update,vt=E.errorPolicy,Q=void 0===vt?"none":vt,X=E.fetchPolicy,ve=E.context,ae=void 0===ve?{}:ve;return(0,v.mG)(this,void 0,void 0,function(){var be,Ve,nt;return(0,v.Jh)(this,function(Dt){switch(Dt.label){case 0:return(0,m.kG)(G,13),(0,m.kG)(!X||"no-cache"===X,14),be=this.generateMutationId(),G=this.transform(G).document,re=this.getVariables(G,re),this.transform(G).hasClientExports?[4,this.localState.addExportedVariables(G,re,ae)]:[3,2];case 1:re=Dt.sent(),Dt.label=2;case 2:return Ve=this.mutationStore&&(this.mutationStore[be]={mutation:G,variables:re,loading:!0,error:null}),K&&this.markMutationOptimistic(K,{mutationId:be,document:G,variables:re,errorPolicy:Q,updateQueries:Pe,update:We}),this.broadcastQueries(),nt=this,[2,new Promise(function(Ht,zt){var Fe,ut;nt.getObservableFromLink(G,(0,v.pi)((0,v.pi)({},ae),{optimisticResponse:K}),re,!1).subscribe({next:function(gt){if((0,u.d2)(gt)&&"none"===Q)ut=new b.c({graphQLErrors:gt.errors});else{if(Ve&&(Ve.loading=!1,Ve.error=null),"no-cache"!==X)try{nt.markMutationResult({mutationId:be,result:gt,document:G,variables:re,errorPolicy:Q,updateQueries:Pe,update:We})}catch(lt){return void(ut=new b.c({networkError:lt}))}Fe=gt}},error:function(gt){Ve&&(Ve.loading=!1,Ve.error=gt),K&&nt.cache.removeOptimistic(be),nt.broadcastQueries(),zt(new b.c({networkError:gt}))},complete:function(){if(ut&&Ve&&(Ve.loading=!1,Ve.error=ut),K&&nt.cache.removeOptimistic(be),nt.broadcastQueries(),ut)zt(ut);else{"function"==typeof ge&&(ge=ge(Fe));var gt=[];(0,u.Of)(ge)&&ge.forEach(function(lt){if("string"==typeof lt)nt.queries.forEach(function(St){var Xt=St.observableQuery;Xt&&Xt.queryName===lt&>.push(Xt.refetch())});else{var tt={query:lt.query,variables:lt.variables,fetchPolicy:"network-only"};lt.context&&(tt.context=lt.context),gt.push(nt.query(tt))}}),Promise.all(yt?gt:[]).then(function(){"ignore"===Q&&Fe&&(0,u.d2)(Fe)&&delete Fe.errors,Ht(Fe)},zt)}}})})]}})})},Ce.prototype.markMutationResult=function(E,G){var re=this;if(void 0===G&&(G=this.cache),ct(E.result,E.errorPolicy)){var K=[{result:E.result.data,dataId:"ROOT_MUTATION",query:E.document,variables:E.variables}],Pe=E.updateQueries;Pe&&this.queries.forEach(function(Be,ge){var ot=Be.observableQuery,yt=ot&&ot.queryName;if(yt&&Nt.call(Pe,yt)){var We=Pe[yt],vt=re.queries.get(ge),Q=vt.document,X=vt.variables,ve=G.diff({query:Q,variables:X,returnPartialData:!0,optimistic:!1}),ae=ve.result;if(ve.complete&&ae){var Ve=We(ae,{mutationResult:E.result,queryName:Q&&(0,u.rY)(Q)||void 0,queryVariables:X});Ve&&K.push({result:Ve,dataId:"ROOT_QUERY",query:Q,variables:X})}}}),G.performTransaction(function(Be){K.forEach(function(ot){return Be.write(ot)});var ge=E.update;ge&&ge(Be,E.result)},null)}},Ce.prototype.markMutationOptimistic=function(E,G){var re=this,K="function"==typeof E?E(G.variables):E;return this.cache.recordOptimisticTransaction(function(Pe){try{re.markMutationResult((0,v.pi)((0,v.pi)({},G),{result:{data:K}}),Pe)}catch(Be){}},G.mutationId)},Ce.prototype.fetchQuery=function(E,G,re){return this.fetchQueryObservable(E,G,re).promise},Ce.prototype.getQueryStore=function(){var E=Object.create(null);return this.queries.forEach(function(G,re){E[re]={variables:G.variables,networkStatus:G.networkStatus,networkError:G.networkError,graphQLErrors:G.graphQLErrors}}),E},Ce.prototype.resetErrors=function(E){var G=this.queries.get(E);G&&(G.networkError=void 0,G.graphQLErrors=[])},Ce.prototype.transform=function(E){var G=this.transformCache;if(!G.has(E)){var re=this.cache.transformDocument(E),K=(0,u.Fo)(this.cache.transformForLink(re)),Pe=this.localState.clientQuery(re),Be=K&&this.localState.serverQuery(K),ge={document:re,hasClientExports:(0,u.mj)(re),hasForcedResolvers:this.localState.shouldForceResolvers(re),clientQuery:Pe,serverQuery:Be,defaultVars:(0,u.O4)((0,u.$H)(re))},ot=function(yt){yt&&!G.has(yt)&&G.set(yt,ge)};ot(E),ot(re),ot(Pe),ot(Be)}return G.get(E)},Ce.prototype.getVariables=function(E,G){return(0,v.pi)((0,v.pi)({},this.transform(E).defaultVars),G)},Ce.prototype.watchQuery=function(E){void 0===(E=(0,v.pi)((0,v.pi)({},E),{variables:this.getVariables(E.query,E.variables)})).notifyOnNetworkStatusChange&&(E.notifyOnNetworkStatusChange=!1);var G=new Ge(this.cache),re=new C.u({queryManager:this,queryInfo:G,options:E});return this.queries.set(re.queryId,G),G.init({document:E.query,observableQuery:re,variables:E.variables}),re},Ce.prototype.query=function(E){var G=this;(0,m.kG)(E.query,15),(0,m.kG)("Document"===E.query.kind,16),(0,m.kG)(!E.returnPartialData,17),(0,m.kG)(!E.pollInterval,18);var re=this.generateQueryId();return this.fetchQuery(re,E).finally(function(){return G.stopQuery(re)})},Ce.prototype.generateQueryId=function(){return String(this.queryIdCounter++)},Ce.prototype.generateRequestId=function(){return this.requestIdCounter++},Ce.prototype.generateMutationId=function(){return String(this.mutationIdCounter++)},Ce.prototype.stopQueryInStore=function(E){this.stopQueryInStoreNoBroadcast(E),this.broadcastQueries()},Ce.prototype.stopQueryInStoreNoBroadcast=function(E){var G=this.queries.get(E);G&&G.stop()},Ce.prototype.clearStore=function(){return this.cancelPendingFetches(new m.ej(19)),this.queries.forEach(function(E){E.observableQuery?E.networkStatus=P.I.loading:E.stop()}),this.mutationStore&&(this.mutationStore=Object.create(null)),this.cache.reset()},Ce.prototype.resetStore=function(){var E=this;return this.clearStore().then(function(){return E.reFetchObservableQueries()})},Ce.prototype.reFetchObservableQueries=function(E){var G=this;void 0===E&&(E=!1);var re=[];return this.queries.forEach(function(K,Pe){var Be=K.observableQuery;if(Be&&Be.hasObservers()){var ge=Be.options.fetchPolicy;Be.resetLastResults(),"cache-only"!==ge&&(E||"standby"!==ge)&&re.push(Be.refetch()),G.getQuery(Pe).setDiff(null)}}),this.broadcastQueries(),Promise.all(re)},Ce.prototype.setObservableQuery=function(E){this.getQuery(E.queryId).setObservableQuery(E)},Ce.prototype.startGraphQLSubscription=function(E){var G=this,re=E.query,K=E.fetchPolicy,Pe=E.errorPolicy,Be=E.variables,ge=E.context,ot=void 0===ge?{}:ge;re=this.transform(re).document,Be=this.getVariables(re,Be);var yt=function(vt){return G.getObservableFromLink(re,ot,vt,!1).map(function(Q){if("no-cache"!==K&&(ct(Q,Pe)&&G.cache.write({query:re,result:Q.data,dataId:"ROOT_SUBSCRIPTION",variables:vt}),G.broadcastQueries()),(0,u.d2)(Q))throw new b.c({graphQLErrors:Q.errors});return Q})};if(this.transform(re).hasClientExports){var We=this.localState.addExportedVariables(re,Be,ot).then(yt);return new u.y$(function(vt){var Q=null;return We.then(function(X){return Q=X.subscribe(vt)},vt.error),function(){return Q&&Q.unsubscribe()}})}return yt(Be)},Ce.prototype.stopQuery=function(E){this.stopQueryNoBroadcast(E),this.broadcastQueries()},Ce.prototype.stopQueryNoBroadcast=function(E){this.stopQueryInStoreNoBroadcast(E),this.removeQuery(E)},Ce.prototype.removeQuery=function(E){this.fetchCancelFns.delete(E),this.getQuery(E).stop(),this.queries.delete(E)},Ce.prototype.broadcastQueries=function(){this.onBroadcast&&this.onBroadcast(),this.queries.forEach(function(E){return E.notify()})},Ce.prototype.getLocalState=function(){return this.localState},Ce.prototype.getObservableFromLink=function(E,G,re,K){var Be,Pe=this;void 0===K&&(K=null!==(Be=null==G?void 0:G.queryDeduplication)&&void 0!==Be?Be:this.queryDeduplication);var ge,ot=this.transform(E).serverQuery;if(ot){var We=this.inFlightLinkObservables,vt=this.link,Q={query:ot,variables:re,operationName:(0,u.rY)(ot)||void 0,context:this.prepareContext((0,v.pi)((0,v.pi)({},G),{forceFetch:!K}))};if(G=Q.context,K){var X=We.get(ot)||new Map;We.set(ot,X);var ve=JSON.stringify(re);if(!(ge=X.get(ve))){var ae=new u.X_([(0,d.execute)(vt,Q)]);X.set(ve,ge=ae),ae.cleanup(function(){X.delete(ve)&&X.size<1&&We.delete(ot)})}}else ge=new u.X_([(0,d.execute)(vt,Q)])}else ge=new u.X_([u.y$.of({data:{}})]),G=this.prepareContext(G);var be=this.transform(E).clientQuery;return be&&(ge=(0,u.sz)(ge,function(Ve){return Pe.localState.runResolvers({document:be,remoteResult:Ve,context:G,variables:re})})),ge},Ce.prototype.getResultsFromLink=function(E,G,re){var K=E.lastRequestId;return(0,u.sz)(this.getObservableFromLink(E.document,re.context,re.variables),function(Pe){var Be=(0,u.Of)(Pe.errors);if(K>=E.lastRequestId){if(Be&&"none"===re.errorPolicy)throw E.markError(new b.c({graphQLErrors:Pe.errors}));E.markResult(Pe,re,G),E.markReady()}var ge={data:Pe.data,loading:!1,networkStatus:E.networkStatus||P.I.ready};return Be&&"ignore"!==re.errorPolicy&&(ge.errors=Pe.errors),ge},function(Pe){var Be=(0,b.M)(Pe)?Pe:new b.c({networkError:Pe});throw K>=E.lastRequestId&&E.markError(Be),Be})},Ce.prototype.fetchQueryObservable=function(E,G,re){var K=this;void 0===re&&(re=P.I.loading);var Pe=this.transform(G.query).document,Be=this.getVariables(Pe,G.variables),ge=this.getQuery(E),ot=ge.networkStatus,yt=G.fetchPolicy,We=void 0===yt?"cache-first":yt,vt=G.errorPolicy,Q=void 0===vt?"none":vt,X=G.returnPartialData,ve=void 0!==X&&X,ae=G.notifyOnNetworkStatusChange,be=void 0!==ae&&ae,Ve=G.context,nt=void 0===Ve?{}:Ve;("cache-first"===We||"cache-and-network"===We||"network-only"===We||"no-cache"===We)&&be&&"number"==typeof ot&&ot!==re&&(0,P.O)(re)&&("cache-first"!==We&&(We="cache-and-network"),ve=!0);var Ht=Object.assign({},G,{query:Pe,variables:Be,fetchPolicy:We,errorPolicy:Q,returnPartialData:ve,notifyOnNetworkStatusChange:be,context:nt}),zt=function(ut){return Ht.variables=ut,K.fetchQueryByPolicy(ge,Ht,re)};this.fetchCancelFns.set(E,function(ut){Promise.resolve().then(function(){return Fe.cancel(ut)})});var Fe=new u.X_(this.transform(Ht.query).hasClientExports?this.localState.addExportedVariables(Ht.query,Ht.variables,Ht.context).then(zt):zt(Ht.variables));return Fe.cleanup(function(){K.fetchCancelFns.delete(E);var ut=G.nextFetchPolicy;ut&&(G.nextFetchPolicy=void 0,G.fetchPolicy="function"==typeof ut?ut.call(G,G.fetchPolicy||"cache-first"):ut)}),Fe},Ce.prototype.fetchQueryByPolicy=function(E,G,re){var K=this,Pe=G.query,Be=G.variables,ge=G.fetchPolicy,ot=G.errorPolicy,yt=G.returnPartialData,We=G.context;E.init({document:Pe,variables:Be,lastRequestId:this.generateRequestId(),networkStatus:re});var vt=function(){return E.getDiff(Be)},Q=function(ae,be){void 0===be&&(be=E.networkStatus||P.I.loading);var Ve=ae.result,nt=function(Dt){return u.y$.of((0,v.pi)({data:Dt,loading:(0,P.O)(be),networkStatus:be},ae.complete?null:{partial:!0}))};return K.transform(Pe).hasForcedResolvers?K.localState.runResolvers({document:Pe,remoteResult:{data:Ve},context:We,variables:Be,onlyRunForcedResolvers:!0}).then(function(Dt){return nt(Dt.data)}):nt(Ve)},X=function(ae){return K.getResultsFromLink(E,ae,{variables:Be,context:We,fetchPolicy:ge,errorPolicy:ot})};switch(ge){default:case"cache-first":return(ve=vt()).complete?[Q(ve,E.markReady())]:yt?[Q(ve),X(!0)]:[X(!0)];case"cache-and-network":var ve;return(ve=vt()).complete||yt?[Q(ve),X(!0)]:[X(!0)];case"cache-only":return[Q(vt(),E.markReady())];case"network-only":return[X(!0)];case"no-cache":return[X(!1)];case"standby":return[]}},Ce.prototype.getQuery=function(E){return E&&!this.queries.has(E)&&this.queries.set(E,new Ge(this.cache)),this.queries.get(E)},Ce.prototype.prepareContext=function(E){void 0===E&&(E={});var G=this.localState.prepareContext(E);return(0,v.pi)((0,v.pi)({},G),{clientAwareness:this.clientAwareness})},Ce}();function st(Ce,E){return(0,u.oA)(Ce,E,E.variables&&{variables:(0,v.pi)((0,v.pi)({},Ce.variables),E.variables)})}var Ze=function(){function Ce(E){var G=this;this.defaultOptions={},this.resetStoreCallbacks=[],this.clearStoreCallbacks=[];var re=E.uri,Be=E.cache,ge=E.ssrMode,ot=void 0!==ge&&ge,yt=E.ssrForceFetchDelay,We=void 0===yt?0:yt,vt=E.connectToDevTools,Q=void 0===vt?"object"==typeof window&&!window.__APOLLO_CLIENT__&&!1:vt,X=E.queryDeduplication,ve=void 0===X||X,ae=E.defaultOptions,be=E.assumeImmutableResults,Ve=void 0!==be&&be,nt=E.resolvers,Dt=E.typeDefs,Ht=E.fragmentMatcher,zt=E.name,Fe=E.version,ut=E.link;if(ut||(ut=re?new g.uG({uri:re,credentials:E.credentials,headers:E.headers}):d.ApolloLink.empty()),!Be)throw new m.ej(9);this.link=ut,this.cache=Be,this.disableNetworkFetches=ot||We>0,this.queryDeduplication=ve,this.defaultOptions=ae||{},this.typeDefs=Dt,We&&setTimeout(function(){return G.disableNetworkFetches=!1},We),this.watchQuery=this.watchQuery.bind(this),this.query=this.query.bind(this),this.mutate=this.mutate.bind(this),this.resetStore=this.resetStore.bind(this),this.reFetchObservableQueries=this.reFetchObservableQueries.bind(this),Q&&(window.__APOLLO_CLIENT__=this),this.version="local",this.localState=new j({cache:Be,client:this,resolvers:nt,fragmentMatcher:Ht}),this.queryManager=new Lt({cache:this.cache,link:this.link,queryDeduplication:ve,ssrMode:ot,clientAwareness:{name:zt,version:Fe},localState:this.localState,assumeImmutableResults:Ve,onBroadcast:Q?function(){G.devToolsHookCb&&G.devToolsHookCb({action:{},state:{queries:G.queryManager.getQueryStore(),mutations:G.queryManager.mutationStore||{}},dataWithOptimisticResults:G.cache.extract(!0)})}:void 0})}return Ce.prototype.stop=function(){this.queryManager.stop()},Ce.prototype.watchQuery=function(E){return this.defaultOptions.watchQuery&&(E=st(this.defaultOptions.watchQuery,E)),this.disableNetworkFetches&&("network-only"===E.fetchPolicy||"cache-and-network"===E.fetchPolicy)&&(E=(0,v.pi)((0,v.pi)({},E),{fetchPolicy:"cache-first"})),this.queryManager.watchQuery(E)},Ce.prototype.query=function(E){return this.defaultOptions.query&&(E=st(this.defaultOptions.query,E)),(0,m.kG)("cache-and-network"!==E.fetchPolicy,10),this.disableNetworkFetches&&"network-only"===E.fetchPolicy&&(E=(0,v.pi)((0,v.pi)({},E),{fetchPolicy:"cache-first"})),this.queryManager.query(E)},Ce.prototype.mutate=function(E){return this.defaultOptions.mutate&&(E=st(this.defaultOptions.mutate,E)),this.queryManager.mutate(E)},Ce.prototype.subscribe=function(E){return this.queryManager.startGraphQLSubscription(E)},Ce.prototype.readQuery=function(E,G){return void 0===G&&(G=!1),this.cache.readQuery(E,G)},Ce.prototype.readFragment=function(E,G){return void 0===G&&(G=!1),this.cache.readFragment(E,G)},Ce.prototype.writeQuery=function(E){this.cache.writeQuery(E),this.queryManager.broadcastQueries()},Ce.prototype.writeFragment=function(E){this.cache.writeFragment(E),this.queryManager.broadcastQueries()},Ce.prototype.__actionHookForDevTools=function(E){this.devToolsHookCb=E},Ce.prototype.__requestRaw=function(E){return(0,d.execute)(this.link,E)},Ce.prototype.resetStore=function(){var E=this;return Promise.resolve().then(function(){return E.queryManager.clearStore()}).then(function(){return Promise.all(E.resetStoreCallbacks.map(function(G){return G()}))}).then(function(){return E.reFetchObservableQueries()})},Ce.prototype.clearStore=function(){var E=this;return Promise.resolve().then(function(){return E.queryManager.clearStore()}).then(function(){return Promise.all(E.clearStoreCallbacks.map(function(G){return G()}))})},Ce.prototype.onResetStore=function(E){var G=this;return this.resetStoreCallbacks.push(E),function(){G.resetStoreCallbacks=G.resetStoreCallbacks.filter(function(re){return re!==E})}},Ce.prototype.onClearStore=function(E){var G=this;return this.clearStoreCallbacks.push(E),function(){G.clearStoreCallbacks=G.clearStoreCallbacks.filter(function(re){return re!==E})}},Ce.prototype.reFetchObservableQueries=function(E){return this.queryManager.reFetchObservableQueries(E)},Ce.prototype.extract=function(E){return this.cache.extract(E)},Ce.prototype.restore=function(E){return this.cache.restore(E)},Ce.prototype.addResolvers=function(E){this.localState.addResolvers(E)},Ce.prototype.setResolvers=function(E){this.localState.setResolvers(E)},Ce.prototype.getResolvers=function(){return this.localState.getResolvers()},Ce.prototype.setLocalStateFragmentMatcher=function(E){this.localState.setFragmentMatcher(E)},Ce.prototype.setLink=function(E){this.link=this.queryManager.link=E},Ce}()},8131:(se,q,w)=>{"use strict";w.d(q,{u:()=>b});var v=w(3564),m=w(1082),d=w(7883),u=w(7703),p=w(8108),g=function(){function P(N,R,j,F){this.observer=N,this.options=R,this.fetch=j,this.shouldFetch=F}return P.prototype.reobserve=function(N,R){N?this.updateOptions(N):this.updatePolling();var j=this.fetch(this.options,R);return this.concast&&this.concast.removeObserver(this.observer,!0),j.addObserver(this.observer),(this.concast=j).promise},P.prototype.updateOptions=function(N){return Object.assign(this.options,(0,p.oA)(N)),this.updatePolling(),this},P.prototype.stop=function(){this.concast&&(this.concast.removeObserver(this.observer),delete this.concast),this.pollingInfo&&(clearTimeout(this.pollingInfo.timeout),this.options.pollInterval=0,this.updatePolling())},P.prototype.updatePolling=function(){var N=this,j=this.pollingInfo,F=this.options.pollInterval;if(F){if((!j||j.interval!==F)&&((0,m.kG)(F,20),!1!==this.shouldFetch)){(j||(this.pollingInfo={})).interval=F;var ne=function(){N.pollingInfo&&(N.shouldFetch&&N.shouldFetch()?N.reobserve({fetchPolicy:"network-only",nextFetchPolicy:N.options.fetchPolicy||"cache-first"},u.I.poll).then(Ge,Ge):Ge())},Ge=function(){var ct=N.pollingInfo;ct&&(clearTimeout(ct.timeout),ct.timeout=setTimeout(ne,ct.interval))};Ge()}}else j&&(clearTimeout(j.timeout),delete this.pollingInfo)},P}(),b=function(P){function N(R){var j=R.queryManager,F=R.queryInfo,L=R.options,ne=P.call(this,function(ct){return ne.onSubscribe(ct)})||this;ne.observers=new Set,ne.subscriptions=new Set,ne.observer={next:function(ct){(ne.lastError||ne.isDifferentFromLastResult(ct))&&(ne.updateLastResult(ct),(0,p.pM)(ne.observers,"next",ct))},error:function(ct){ne.updateLastResult((0,v.pi)((0,v.pi)({},ne.lastResult),{error:ct,errors:ct.graphQLErrors,networkStatus:u.I.error,loading:!1})),(0,p.pM)(ne.observers,"error",ne.lastError=ct)}},ne.isTornDown=!1,ne.options=L,ne.queryId=j.generateQueryId();var Ge=(0,p.$H)(L.query);return ne.queryName=Ge&&Ge.name&&Ge.name.value,ne.queryManager=j,ne.queryInfo=F,ne}return(0,v.ZT)(N,P),Object.defineProperty(N.prototype,"variables",{get:function(){return this.options.variables},enumerable:!1,configurable:!0}),N.prototype.result=function(){var R=this;return new Promise(function(j,F){var L={next:function(Ge){j(Ge),R.observers.delete(L),R.observers.size||R.queryManager.removeQuery(R.queryId),setTimeout(function(){ne.unsubscribe()},0)},error:F},ne=R.subscribe(L)})},N.prototype.getCurrentResult=function(R){void 0===R&&(R=!0);var j=this.lastResult,F=this.queryInfo.networkStatus||j&&j.networkStatus||u.I.ready,L=(0,v.pi)((0,v.pi)({},j),{loading:(0,u.O)(F),networkStatus:F});if(this.isTornDown)return L;var ne=this.options.fetchPolicy,Ge=void 0===ne?"cache-first":ne;if("no-cache"===Ge||"network-only"===Ge)delete L.partial;else if(!L.data||!this.queryManager.transform(this.options.query).hasForcedResolvers){var ct=this.queryInfo.getDiff();L.data=ct.complete||this.options.returnPartialData?ct.result:void 0,ct.complete?(L.networkStatus===u.I.loading&&("cache-first"===Ge||"cache-only"===Ge)&&(L.networkStatus=u.I.ready,L.loading=!1),delete L.partial):L.partial=!0}return R&&this.updateLastResult(L),L},N.prototype.isDifferentFromLastResult=function(R){return!(0,d.D)(this.lastResultSnapshot,R)},N.prototype.getLastResult=function(){return this.lastResult},N.prototype.getLastError=function(){return this.lastError},N.prototype.resetLastResults=function(){delete this.lastResult,delete this.lastResultSnapshot,delete this.lastError,this.isTornDown=!1},N.prototype.resetQueryStoreErrors=function(){this.queryManager.resetErrors(this.queryId)},N.prototype.refetch=function(R){var j={pollInterval:0},F=this.options.fetchPolicy;return"no-cache"!==F&&"cache-and-network"!==F&&(j.fetchPolicy="network-only",j.nextFetchPolicy=F||"cache-first"),R&&!(0,d.D)(this.options.variables,R)&&(j.variables=this.options.variables=(0,v.pi)((0,v.pi)({},this.options.variables),R)),this.newReobserver(!1).reobserve(j,u.I.refetch)},N.prototype.fetchMore=function(R){var j=this,F=(0,v.pi)((0,v.pi)({},R.query?R:(0,v.pi)((0,v.pi)((0,v.pi)({},this.options),R),{variables:(0,v.pi)((0,v.pi)({},this.options.variables),R.variables)})),{fetchPolicy:"no-cache"}),L=this.queryManager.generateQueryId();return F.notifyOnNetworkStatusChange&&(this.queryInfo.networkStatus=u.I.fetchMore,this.observe()),this.queryManager.fetchQuery(L,F,u.I.fetchMore).then(function(ne){var Ge=ne.data,ct=R.updateQuery;return ct?j.updateQuery(function(Nt){return ct(Nt,{fetchMoreResult:Ge,variables:F.variables})}):j.queryManager.cache.writeQuery({query:F.query,variables:F.variables,data:Ge}),ne}).finally(function(){j.queryManager.stopQuery(L),j.reobserve()})},N.prototype.subscribeToMore=function(R){var j=this,F=this.queryManager.startGraphQLSubscription({query:R.document,variables:R.variables,context:R.context}).subscribe({next:function(L){var ne=R.updateQuery;ne&&j.updateQuery(function(Ge,ct){return ne(Ge,{subscriptionData:L,variables:ct.variables})})},error:function(L){R.onError&&R.onError(L)}});return this.subscriptions.add(F),function(){j.subscriptions.delete(F)&&F.unsubscribe()}},N.prototype.setOptions=function(R){return this.reobserve(R)},N.prototype.setVariables=function(R){if((0,d.D)(this.variables,R))return this.observers.size?this.result():Promise.resolve();if(this.options.variables=R,!this.observers.size)return Promise.resolve();var j=this.options.fetchPolicy,F=void 0===j?"cache-first":j,L={fetchPolicy:F,variables:R};return"cache-first"!==F&&"no-cache"!==F&&"network-only"!==F&&(L.fetchPolicy="cache-and-network",L.nextFetchPolicy=F),this.reobserve(L,u.I.setVariables)},N.prototype.updateQuery=function(R){var j,F=this.queryManager,ne=R(F.cache.diff({query:this.options.query,variables:this.variables,previousResult:null===(j=this.lastResult)||void 0===j?void 0:j.data,returnPartialData:!0,optimistic:!1}).result,{variables:this.variables});ne&&(F.cache.writeQuery({query:this.options.query,data:ne,variables:this.variables}),F.broadcastQueries())},N.prototype.startPolling=function(R){this.getReobserver().updateOptions({pollInterval:R})},N.prototype.stopPolling=function(){this.reobserver&&this.reobserver.updateOptions({pollInterval:0})},N.prototype.updateLastResult=function(R){var j=this.lastResult;return this.lastResult=R,this.lastResultSnapshot=this.queryManager.assumeImmutableResults?R:(0,p.Xh)(R),(0,p.Of)(R.errors)||delete this.lastError,j},N.prototype.onSubscribe=function(R){var j=this;if(R===this.observer)return function(){};try{var F=R._subscription._observer;F&&!F.error&&(F.error=C)}catch(ne){}var L=!this.observers.size;return this.observers.add(R),this.lastError?R.error&&R.error(this.lastError):this.lastResult&&R.next&&R.next(this.lastResult),L&&this.reobserve().catch(function(ne){}),function(){j.observers.delete(R)&&!j.observers.size&&j.tearDownQuery()}},N.prototype.getReobserver=function(){return this.reobserver||(this.reobserver=this.newReobserver(!0))},N.prototype.newReobserver=function(R){var j=this,L=this.queryManager,ne=this.queryId;return L.setObservableQuery(this),new g(this.observer,R?this.options:(0,v.pi)({},this.options),function(Ge,ct){return L.setObservableQuery(j),L.fetchQueryObservable(ne,Ge,ct)},!L.ssrMode&&function(){return!(0,u.O)(j.queryInfo.networkStatus)})},N.prototype.reobserve=function(R,j){return this.isTornDown=!1,this.getReobserver().reobserve(R,j)},N.prototype.observe=function(){this.observer.next(this.getCurrentResult(!1))},N.prototype.hasObservers=function(){return this.observers.size>0},N.prototype.tearDownQuery=function(){this.isTornDown||(this.reobserver&&(this.reobserver.stop(),delete this.reobserver),delete this.options.context,this.subscriptions.forEach(function(R){return R.unsubscribe()}),this.subscriptions.clear(),this.queryManager.stopQuery(this.queryId),this.observers.clear(),this.isTornDown=!0)},N}(p.y$);function C(P){}},9675:(se,q,w)=>{"use strict";w.d(q,{ApolloClient:()=>v.f,ApolloLink:()=>P.ApolloLink,InMemoryCache:()=>y.InMemoryCache,NetworkStatus:()=>d.I,Observable:()=>j.y$});var v=w(2103),d=(w(8131),w(7703)),u=w(9802);w.o(u,"ApolloLink")&&w.d(q,{ApolloLink:function(){return u.ApolloLink}}),w(8020);var y=w(6381),b=w(3857);w.o(b,"ApolloLink")&&w.d(q,{ApolloLink:function(){return b.ApolloLink}});var P=w(5134),j=(w(9397),w(3523),w(8108)),F=w(1082);w(6511),(0,F.U6)("warn")},7703:(se,q,w)=>{"use strict";w.d(q,{I:()=>v,O:()=>m});var v=(()=>{return(d=v||(v={}))[d.loading=1]="loading",d[d.setVariables=2]="setVariables",d[d.fetchMore=3]="fetchMore",d[d.refetch=4]="refetch",d[d.poll=6]="poll",d[d.ready=7]="ready",d[d.error=8]="error",v;var d})();function m(d){return!!d&&d<7}},9802:()=>{},8020:(se,q,w)=>{"use strict";w.d(q,{M:()=>d,c:()=>p});var v=w(3564),m=w(8108);function d(g){return g.hasOwnProperty("graphQLErrors")}var p=function(g){function y(b){var C=b.graphQLErrors,P=b.networkError,N=b.errorMessage,R=b.extraInfo,j=g.call(this,N)||this;return j.graphQLErrors=C||[],j.networkError=P||null,j.message=N||function(g){var y="";return(0,m.Of)(g.graphQLErrors)&&g.graphQLErrors.forEach(function(b){y+=(b?b.message:"Error message not found.")+"\n"}),g.networkError&&(y+=g.networkError.message+"\n"),y=y.replace(/\n$/,"")}(j),j.extraInfo=R,j.__proto__=y.prototype,j}return(0,v.ZT)(y,g),y}(Error)},5134:(se,q,w)=>{"use strict";w.d(q,{ApolloLink:()=>C,execute:()=>F});var L,v=w(3564),m=w(1082),d=w(8108),u=w(3523);function p(L,ne){return ne?ne(L):d.y$.of()}function g(L){return"function"==typeof L?new C(L):L}function y(L){return L.request.length<=1}L=Error,(0,v.ZT)(function ne(Ge,ct){var Nt=L.call(this,Ge)||this;return Nt.link=ct,Nt},L);var C=function(){function L(ne){ne&&(this.request=ne)}return L.empty=function(){return new L(function(){return d.y$.of()})},L.from=function(ne){return 0===ne.length?L.empty():ne.map(g).reduce(function(Ge,ct){return Ge.concat(ct)})},L.split=function(ne,Ge,ct){var Nt=g(Ge),Lt=g(ct||new L(p));return y(Nt)&&y(Lt)?new L(function(Tt){return ne(Tt)?Nt.request(Tt)||d.y$.of():Lt.request(Tt)||d.y$.of()}):new L(function(Tt,st){return ne(Tt)?Nt.request(Tt,st)||d.y$.of():Lt.request(Tt,st)||d.y$.of()})},L.execute=function(ne,Ge){return ne.request((0,u.zi)(Ge.context,(0,u.DQ)((0,u.Ak)(Ge))))||d.y$.of()},L.concat=function(ne,Ge){var ct=g(ne);if(y(ct))return ct;var Nt=g(Ge);return y(Nt)?new L(function(Lt){return ct.request(Lt,function(Tt){return Nt.request(Tt)||d.y$.of()})||d.y$.of()}):new L(function(Lt,Tt){return ct.request(Lt,function(st){return Nt.request(st,Tt)||d.y$.of()})||d.y$.of()})},L.prototype.split=function(ne,Ge,ct){return this.concat(L.split(ne,Ge,ct||new L(p)))},L.prototype.concat=function(ne){return L.concat(this,ne)},L.prototype.request=function(ne,Ge){throw new m.ej(21)},L.prototype.onError=function(ne,Ge){if(Ge&&Ge.error)return Ge.error(ne),!1;throw ne},L.prototype.setOnError=function(ne){return this.onError=ne,this},L}(),F=C.execute},9397:(se,q,w)=>{"use strict";w.d(q,{uG:()=>Tt});var v=w(3523),m=Object.prototype.hasOwnProperty,u=w(1082),p=function(st,Ze){var Ce;try{Ce=JSON.stringify(st)}catch(G){var E=new u.ej(23);throw E.parseError=G,E}return Ce},g=w(3564),y=w(4989),N={http:{includeQuery:!0,includeExtensions:!1},headers:{accept:"*/*","content-type":"application/json"},options:{method:"POST"}},F=w(1335),L=w(5134),ne=w(8108),Tt=function(st){function Ze(Ce){void 0===Ce&&(Ce={});var E=st.call(this,function(st){void 0===st&&(st={});var Ze=st.uri,Ce=void 0===Ze?"/graphql":Ze,E=st.fetch,G=st.includeExtensions,re=st.useGETForQueries,K=st.includeUnusedVariables,Pe=void 0!==K&&K,Be=(0,g._T)(st,["uri","fetch","includeExtensions","useGETForQueries","includeUnusedVariables"]);(function(st){if(!st&&"undefined"==typeof fetch)throw new u.ej(22)})(E),E||(E=fetch);var ge={http:{includeExtensions:G},options:Be.fetchOptions,credentials:Be.credentials,headers:Be.headers};return new L.ApolloLink(function(ot){var yt=function(st,Ze){return st.getContext().uri||("function"==typeof Ze?Ze(st):Ze||"/graphql")}(ot,Ce),We=ot.getContext(),vt={};if(We.clientAwareness){var Q=We.clientAwareness,X=Q.name,ve=Q.version;X&&(vt["apollographql-client-name"]=X),ve&&(vt["apollographql-client-version"]=ve)}var zt,ae=(0,g.pi)((0,g.pi)({},vt),We.headers),Ve=function(st,Ze){for(var Ce=[],E=2;E=300&&(0,v.PW)(Ze,Ce,"Response not successful: Received status code "+Ze.status),!Array.isArray(Ce)&&!m.call(Ce,"data")&&!m.call(Ce,"errors")&&(0,v.PW)(Ze,Ce,"Server response was missing for query '"+(Array.isArray(st)?st.map(function(E){return E.operationName}):st.operationName)+"'."),Ce})}}(ot)).then(function(Wt){return nn.next(Wt),nn.complete(),Wt}).catch(function(Wt){"AbortError"!==Wt.name&&(Wt.result&&Wt.result.errors&&Wt.result.data&&nn.next(Wt.result),nn.error(Wt))}),function(){zt&&zt.abort()}})})}(Ce).request)||this;return E.options=Ce,E}return(0,g.ZT)(Ze,st),Ze}(L.ApolloLink)},3523:(se,q,w)=>{"use strict";w.d(q,{zi:()=>C,Qc:()=>m,PW:()=>g,DQ:()=>P,Ak:()=>y});var v=w(8108);function m(N){return new v.y$(function(R){R.error(N)})}var d=w(1082),g=function(N,R,j){var F=new Error(j);throw F.name="ServerError",F.response=N,F.statusCode=N.status,F.result=R,F};function y(N){for(var R=["query","operationName","variables","extensions","context"],j=0,F=Object.keys(N);j{"use strict";se=w.hmd(se),function v(p){var g,y=p.Symbol;if("function"==typeof y)if(y.observable)g=y.observable;else{g=y.for("https://github.com/benlesh/symbol-observable");try{y.observable=g}catch(b){}}else g="@@observable"}("undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof global?global:se)},8108:(se,q,w)=>{"use strict";w.d(q,{X_:()=>me,w0:()=>ft,y$:()=>fe(),Gw:()=>lt,NC:()=>Be,sz:()=>en,aL:()=>Xe,mr:()=>_e,Xh:()=>$,oA:()=>Oe,F:()=>N,O4:()=>nt,kU:()=>ve,hi:()=>R,Yk:()=>P,p$:()=>Ve,$H:()=>Q,rY:()=>X,iW:()=>ae,PT:()=>Pe,qw:()=>ot,d2:()=>ce,mj:()=>g,FS:()=>p,My:()=>yt,Ao:()=>We,Of:()=>W,hh:()=>ne,pM:()=>Mt,kQ:()=>L,Jv:()=>_t,Ee:()=>xe,bw:()=>Ke,ob:()=>le,Fo:()=>St,u2:()=>ge,LZ:()=>d,vf:()=>re});var v=w(1335),m=w(1082);function d(U,ee){var te=U.directives;return!te||!te.length||function b(U){var ee=[];return U&&U.length&&U.forEach(function(te){if(function y(U){var ee=U.name.value;return"skip"===ee||"include"===ee}(te)){var Re=te.arguments;(0,m.kG)(Re&&1===Re.length,39);var et=Re[0];(0,m.kG)(et.name&&"if"===et.name.value,40);var de=et.value;(0,m.kG)(de&&("Variable"===de.kind||"BooleanValue"===de.kind),41),ee.push({directive:te,ifArgument:et})}}),ee}(te).every(function(Re){var Ue=Re.directive,et=Re.ifArgument,de=!1;return"Variable"===et.value.kind?(0,m.kG)(void 0!==(de=ee&&ee[et.value.name.value]),38):de=et.value.value,"skip"===Ue.name.value?!de:de})}function p(U,ee){return function u(U){var ee=[];return(0,v.Vn)(U,{Directive:function(te){ee.push(te.name.value)}}),ee}(ee).some(function(te){return U.indexOf(te)>-1})}function g(U){return U&&p(["client"],U)&&p(["export"],U)}var C=w(3564);function P(U,ee){var te=ee,Re=[];return U.definitions.forEach(function(et){if("OperationDefinition"===et.kind)throw new m.ej(42);"FragmentDefinition"===et.kind&&Re.push(et)}),void 0===te&&((0,m.kG)(1===Re.length,43),te=Re[0].name.value),(0,C.pi)((0,C.pi)({},U),{definitions:(0,C.pr)([{kind:"OperationDefinition",operation:"query",selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:te}}]}}],U.definitions)})}function N(U){void 0===U&&(U=[]);var ee={};return U.forEach(function(te){ee[te.name.value]=te}),ee}function R(U,ee){switch(U.kind){case"InlineFragment":return U;case"FragmentSpread":var te=ee&&ee[U.name.value];return(0,m.kG)(te,44),te;default:return null}}var j=w(8245),F=w.n(j);function L(U){return{__ref:String(U)}}function ne(U){return Boolean(U&&"object"==typeof U&&"string"==typeof U.__ref)}function G(U,ee,te,Re){if(function Nt(U){return"IntValue"===U.kind}(te)||function Lt(U){return"FloatValue"===U.kind}(te))U[ee.value]=Number(te.value);else if(function ct(U){return"BooleanValue"===U.kind}(te)||function Ge(U){return"StringValue"===U.kind}(te))U[ee.value]=te.value;else if(function st(U){return"ObjectValue"===U.kind}(te)){var Ue={};te.fields.map(function(de){return G(Ue,de.name,de.value,Re)}),U[ee.value]=Ue}else if(function Tt(U){return"Variable"===U.kind}(te))U[ee.value]=(Re||{})[te.name.value];else if(function Ze(U){return"ListValue"===U.kind}(te))U[ee.value]=te.values.map(function(de){var ke={};return G(ke,ee,de,Re),ke[ee.value]});else if(function Ce(U){return"EnumValue"===U.kind}(te))U[ee.value]=te.value;else{if(!function E(U){return"NullValue"===U.kind}(te))throw new m.ej(53);U[ee.value]=null}}function re(U,ee){var te=null;U.directives&&(te={},U.directives.forEach(function(Ue){te[Ue.name.value]={},Ue.arguments&&Ue.arguments.forEach(function(et){return G(te[Ue.name.value],et.name,et.value,ee)})}));var Re=null;return U.arguments&&U.arguments.length&&(Re={},U.arguments.forEach(function(Ue){return G(Re,Ue.name,Ue.value,ee)})),Pe(U.name.value,Re,te)}var K=["connection","include","skip","client","rest","export"];function Pe(U,ee,te){if(ee&&te&&te.connection&&te.connection.key){if(te.connection.filter&&te.connection.filter.length>0){var Re=te.connection.filter?te.connection.filter:[];Re.sort();var Ue={};return Re.forEach(function(ke){Ue[ke]=ee[ke]}),te.connection.key+"("+JSON.stringify(Ue)+")"}return te.connection.key}var et=U;if(ee){var de=F()(ee);et+="("+de+")"}return te&&Object.keys(te).forEach(function(ke){-1===K.indexOf(ke)&&(te[ke]&&Object.keys(te[ke]).length?et+="@"+ke+"("+JSON.stringify(te[ke])+")":et+="@"+ke)}),et}function Be(U,ee){if(U.arguments&&U.arguments.length){var te={};return U.arguments.forEach(function(Re){return G(te,Re.name,Re.value,ee)}),te}return null}function ge(U){return U.alias?U.alias.value:U.name.value}function ot(U,ee,te){if("string"==typeof U.__typename)return U.__typename;for(var Re=0,Ue=ee.selections;Re1)for(var Re=new ft,Ue=1;Ue0}function ce(U){return U.errors&&U.errors.length>0||!1}"function"==typeof Symbol&&Symbol.species&&Object.defineProperty(me,Symbol.species,{value:fe()});var _e="function"==typeof WeakMap&&!("object"==typeof navigator&&"ReactNative"===navigator.product);function Oe(){for(var U=[],ee=0;ee{"use strict";function v(n){return"function"==typeof n}let m=!1;const d={Promise:void 0,set useDeprecatedSynchronousErrorHandling(n){if(n){const t=new Error;console.warn("DEPRECATED! RxJS was set to use deprecated synchronous error handling behavior by code at: \n"+t.stack)}else m&&console.log("RxJS: Back to a better error behavior. Thank you. <3");m=n},get useDeprecatedSynchronousErrorHandling(){return m}};function u(n){setTimeout(()=>{throw n},0)}const p={closed:!0,next(n){},error(n){if(d.useDeprecatedSynchronousErrorHandling)throw n;u(n)},complete(){}},g=Array.isArray||(n=>n&&"number"==typeof n.length);function y(n){return null!==n&&"object"==typeof n}const C=(()=>{function n(t){return Error.call(this),this.message=t?`${t.length} errors occurred during unsubscription:\n${t.map((e,i)=>`${i+1}) ${e.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=t,this}return n.prototype=Object.create(Error.prototype),n})();class P{constructor(t){this.closed=!1,this._parentOrParents=null,this._subscriptions=null,t&&(this._ctorUnsubscribe=!0,this._unsubscribe=t)}unsubscribe(){let t;if(this.closed)return;let{_parentOrParents:e,_ctorUnsubscribe:i,_unsubscribe:r,_subscriptions:s}=this;if(this.closed=!0,this._parentOrParents=null,this._subscriptions=null,e instanceof P)e.remove(this);else if(null!==e)for(let o=0;ot.concat(e instanceof C?e.errors:e),[])}P.EMPTY=((n=new P).closed=!0,n);const R="function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random();class F extends P{constructor(t,e,i){switch(super(),this.syncErrorValue=null,this.syncErrorThrown=!1,this.syncErrorThrowable=!1,this.isStopped=!1,arguments.length){case 0:this.destination=p;break;case 1:if(!t){this.destination=p;break}if("object"==typeof t){t instanceof F?(this.syncErrorThrowable=t.syncErrorThrowable,this.destination=t,t.add(this)):(this.syncErrorThrowable=!0,this.destination=new L(this,t));break}default:this.syncErrorThrowable=!0,this.destination=new L(this,t,e,i)}}[R](){return this}static create(t,e,i){const r=new F(t,e,i);return r.syncErrorThrowable=!1,r}next(t){this.isStopped||this._next(t)}error(t){this.isStopped||(this.isStopped=!0,this._error(t))}complete(){this.isStopped||(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe())}_next(t){this.destination.next(t)}_error(t){this.destination.error(t),this.unsubscribe()}_complete(){this.destination.complete(),this.unsubscribe()}_unsubscribeAndRecycle(){const{_parentOrParents:t}=this;return this._parentOrParents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parentOrParents=t,this}}class L extends F{constructor(t,e,i,r){super(),this._parentSubscriber=t;let s,o=this;v(e)?s=e:e&&(s=e.next,i=e.error,r=e.complete,e!==p&&(o=Object.create(e),v(o.unsubscribe)&&this.add(o.unsubscribe.bind(o)),o.unsubscribe=this.unsubscribe.bind(this))),this._context=o,this._next=s,this._error=i,this._complete=r}next(t){if(!this.isStopped&&this._next){const{_parentSubscriber:e}=this;d.useDeprecatedSynchronousErrorHandling&&e.syncErrorThrowable?this.__tryOrSetError(e,this._next,t)&&this.unsubscribe():this.__tryOrUnsub(this._next,t)}}error(t){if(!this.isStopped){const{_parentSubscriber:e}=this,{useDeprecatedSynchronousErrorHandling:i}=d;if(this._error)i&&e.syncErrorThrowable?(this.__tryOrSetError(e,this._error,t),this.unsubscribe()):(this.__tryOrUnsub(this._error,t),this.unsubscribe());else if(e.syncErrorThrowable)i?(e.syncErrorValue=t,e.syncErrorThrown=!0):u(t),this.unsubscribe();else{if(this.unsubscribe(),i)throw t;u(t)}}}complete(){if(!this.isStopped){const{_parentSubscriber:t}=this;if(this._complete){const e=()=>this._complete.call(this._context);d.useDeprecatedSynchronousErrorHandling&&t.syncErrorThrowable?(this.__tryOrSetError(t,e),this.unsubscribe()):(this.__tryOrUnsub(e),this.unsubscribe())}else this.unsubscribe()}}__tryOrUnsub(t,e){try{t.call(this._context,e)}catch(i){if(this.unsubscribe(),d.useDeprecatedSynchronousErrorHandling)throw i;u(i)}}__tryOrSetError(t,e,i){if(!d.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{e.call(this._context,i)}catch(r){return d.useDeprecatedSynchronousErrorHandling?(t.syncErrorValue=r,t.syncErrorThrown=!0,!0):(u(r),!0)}return!1}_unsubscribe(){const{_parentSubscriber:t}=this;this._context=null,this._parentSubscriber=null,t.unsubscribe()}}const ct="function"==typeof Symbol&&Symbol.observable||"@@observable";function Nt(n){return n}function Lt(...n){return Tt(n)}function Tt(n){return 0===n.length?Nt:1===n.length?n[0]:function(e){return n.reduce((i,r)=>r(i),e)}}let st=(()=>{class n{constructor(e){this._isScalar=!1,e&&(this._subscribe=e)}lift(e){const i=new n;return i.source=this,i.operator=e,i}subscribe(e,i,r){const{operator:s}=this,o=function Ge(n,t,e){if(n){if(n instanceof F)return n;if(n[R])return n[R]()}return n||t||e?new F(n,t,e):new F(p)}(e,i,r);if(o.add(s?s.call(o,this.source):this.source||d.useDeprecatedSynchronousErrorHandling&&!o.syncErrorThrowable?this._subscribe(o):this._trySubscribe(o)),d.useDeprecatedSynchronousErrorHandling&&o.syncErrorThrowable&&(o.syncErrorThrowable=!1,o.syncErrorThrown))throw o.syncErrorValue;return o}_trySubscribe(e){try{return this._subscribe(e)}catch(i){d.useDeprecatedSynchronousErrorHandling&&(e.syncErrorThrown=!0,e.syncErrorValue=i),function ne(n){for(;n;){const{closed:t,destination:e,isStopped:i}=n;if(t||i)return!1;n=e&&e instanceof F?e:null}return!0}(e)?e.error(i):console.warn(i)}}forEach(e,i){return new(i=Ze(i))((r,s)=>{let o;o=this.subscribe(a=>{try{e(a)}catch(l){s(l),o&&o.unsubscribe()}},s,r)})}_subscribe(e){const{source:i}=this;return i&&i.subscribe(e)}[ct](){return this}pipe(...e){return 0===e.length?this:Tt(e)(this)}toPromise(e){return new(e=Ze(e))((i,r)=>{let s;this.subscribe(o=>s=o,o=>r(o),()=>i(s))})}}return n.create=t=>new n(t),n})();function Ze(n){if(n||(n=d.Promise||Promise),!n)throw new Error("no Promise impl found");return n}const E=(()=>{function n(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}return n.prototype=Object.create(Error.prototype),n})();class G extends P{constructor(t,e){super(),this.subject=t,this.subscriber=e,this.closed=!1}unsubscribe(){if(this.closed)return;this.closed=!0;const t=this.subject,e=t.observers;if(this.subject=null,!e||0===e.length||t.isStopped||t.closed)return;const i=e.indexOf(this.subscriber);-1!==i&&e.splice(i,1)}}class re extends F{constructor(t){super(t),this.destination=t}}let K=(()=>{class n extends st{constructor(){super(),this.observers=[],this.closed=!1,this.isStopped=!1,this.hasError=!1,this.thrownError=null}[R](){return new re(this)}lift(e){const i=new Pe(this,this);return i.operator=e,i}next(e){if(this.closed)throw new E;if(!this.isStopped){const{observers:i}=this,r=i.length,s=i.slice();for(let o=0;onew Pe(t,e),n})();class Pe extends K{constructor(t,e){super(),this.destination=t,this.source=e}next(t){const{destination:e}=this;e&&e.next&&e.next(t)}error(t){const{destination:e}=this;e&&e.error&&this.destination.error(t)}complete(){const{destination:t}=this;t&&t.complete&&this.destination.complete()}_subscribe(t){const{source:e}=this;return e?this.source.subscribe(t):P.EMPTY}}function Be(n){return n&&"function"==typeof n.schedule}function ge(n,t){return function(i){if("function"!=typeof n)throw new TypeError("argument is not a function. Are you looking for `mapTo()`?");return i.lift(new ot(n,t))}}class ot{constructor(t,e){this.project=t,this.thisArg=e}call(t,e){return e.subscribe(new yt(t,this.project,this.thisArg))}}class yt extends F{constructor(t,e,i){super(t),this.project=e,this.count=0,this.thisArg=i||this}_next(t){let e;try{e=this.project.call(this.thisArg,t,this.count++)}catch(i){return void this.destination.error(i)}this.destination.next(e)}}const We=n=>t=>{for(let e=0,i=n.length;en&&"number"==typeof n.length&&"function"!=typeof n;function nt(n){return!!n&&"function"!=typeof n.subscribe&&"function"==typeof n.then}const Dt=n=>{if(n&&"function"==typeof n[ct])return(n=>t=>{const e=n[ct]();if("function"!=typeof e.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return e.subscribe(t)})(n);if(Ve(n))return We(n);if(nt(n))return(n=>t=>(n.then(e=>{t.closed||(t.next(e),t.complete())},e=>t.error(e)).then(null,u),t))(n);if(n&&"function"==typeof n[X])return(n=>t=>{const e=n[X]();for(;;){let i;try{i=e.next()}catch(r){return t.error(r),t}if(i.done){t.complete();break}if(t.next(i.value),t.closed)break}return"function"==typeof e.return&&t.add(()=>{e.return&&e.return()}),t})(n);{const e=`You provided ${y(n)?"an invalid object":`'${n}'`} where a stream was expected. You can provide an Observable, Promise, Array, or Iterable.`;throw new TypeError(e)}};function Fe(n,t){return new st(e=>{const i=new P;let r=0;return i.add(t.schedule(function(){r!==n.length?(e.next(n[r++]),e.closed||i.add(this.schedule())):e.complete()})),i})}function St(n,t){return t?function tt(n,t){if(null!=n){if(function gt(n){return n&&"function"==typeof n[ct]}(n))return function Ht(n,t){return new st(e=>{const i=new P;return i.add(t.schedule(()=>{const r=n[ct]();i.add(r.subscribe({next(s){i.add(t.schedule(()=>e.next(s)))},error(s){i.add(t.schedule(()=>e.error(s)))},complete(){i.add(t.schedule(()=>e.complete()))}}))})),i})}(n,t);if(nt(n))return function zt(n,t){return new st(e=>{const i=new P;return i.add(t.schedule(()=>n.then(r=>{i.add(t.schedule(()=>{e.next(r),i.add(t.schedule(()=>e.complete()))}))},r=>{i.add(t.schedule(()=>e.error(r)))}))),i})}(n,t);if(Ve(n))return Fe(n,t);if(function lt(n){return n&&"function"==typeof n[X]}(n)||"string"==typeof n)return function ut(n,t){if(!n)throw new Error("Iterable cannot be null");return new st(e=>{const i=new P;let r;return i.add(()=>{r&&"function"==typeof r.return&&r.return()}),i.add(t.schedule(()=>{r=n[X](),i.add(t.schedule(function(){if(e.closed)return;let s,o;try{const a=r.next();s=a.value,o=a.done}catch(a){return void e.error(a)}o?e.complete():(e.next(s),this.schedule())}))})),i})}(n,t)}throw new TypeError((null!==n&&typeof n||n)+" is not observable")}(n,t):n instanceof st?n:new st(Dt(n))}class Xt extends F{constructor(t){super(),this.parent=t}_next(t){this.parent.notifyNext(t)}_error(t){this.parent.notifyError(t),this.unsubscribe()}_complete(){this.parent.notifyComplete(),this.unsubscribe()}}class Wt extends F{notifyNext(t){this.destination.next(t)}notifyError(t){this.destination.error(t)}notifyComplete(){this.destination.complete()}}function xn(n,t){if(t.closed)return;if(n instanceof st)return n.subscribe(t);let e;try{e=Dt(n)(t)}catch(i){t.error(i)}return e}function ue(n,t,e=Number.POSITIVE_INFINITY){return"function"==typeof t?i=>i.pipe(ue((r,s)=>St(n(r,s)).pipe(ge((o,a)=>t(r,o,s,a))),e)):("number"==typeof t&&(e=t),i=>i.lift(new Xe(n,e)))}class Xe{constructor(t,e=Number.POSITIVE_INFINITY){this.project=t,this.concurrent=e}call(t,e){return e.subscribe(new le(t,this.project,this.concurrent))}}class le extends Wt{constructor(t,e,i=Number.POSITIVE_INFINITY){super(t),this.project=e,this.concurrent=i,this.hasCompleted=!1,this.buffer=[],this.active=0,this.index=0}_next(t){this.active0?this._next(t.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()}}function xe(n=Number.POSITIVE_INFINITY){return ue(Nt,n)}function Ke(n,t){return t?Fe(n,t):new st(We(n))}function at(...n){let t=Number.POSITIVE_INFINITY,e=null,i=n[n.length-1];return Be(i)?(e=n.pop(),n.length>1&&"number"==typeof n[n.length-1]&&(t=n.pop())):"number"==typeof i&&(t=n.pop()),null===e&&1===n.length&&n[0]instanceof st?n[0]:xe(t)(Ke(n,e))}function Ot(){return function(t){return t.lift(new ft(t))}}class ft{constructor(t){this.connectable=t}call(t,e){const{connectable:i}=this;i._refCount++;const r=new Le(t,i),s=e.subscribe(r);return r.closed||(r.connection=i.connect()),s}}class Le extends F{constructor(t,e){super(t),this.connectable=e}_unsubscribe(){const{connectable:t}=this;if(!t)return void(this.connection=null);this.connectable=null;const e=t._refCount;if(e<=0)return void(this.connection=null);if(t._refCount=e-1,e>1)return void(this.connection=null);const{connection:i}=this,r=t._connection;this.connection=null,r&&(!i||r===i)&&r.unsubscribe()}}class Ye extends st{constructor(t,e){super(),this.source=t,this.subjectFactory=e,this._refCount=0,this._isComplete=!1}_subscribe(t){return this.getSubject().subscribe(t)}getSubject(){const t=this._subject;return(!t||t.isStopped)&&(this._subject=this.subjectFactory()),this._subject}connect(){let t=this._connection;return t||(this._isComplete=!1,t=this._connection=new P,t.add(this.source.subscribe(new wt(this.getSubject(),this))),t.closed&&(this._connection=null,t=P.EMPTY)),t}refCount(){return Ot()(this)}}const mt=(()=>{const n=Ye.prototype;return{operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:n._subscribe},_isComplete:{value:n._isComplete,writable:!0},getSubject:{value:n.getSubject},connect:{value:n.connect},refCount:{value:n.refCount}}})();class wt extends re{constructor(t,e){super(t),this.connectable=e}_error(t){this._unsubscribe(),super._error(t)}_complete(){this.connectable._isComplete=!0,this._unsubscribe(),super._complete()}_unsubscribe(){const t=this.connectable;if(t){this.connectable=null;const e=t._connection;t._refCount=0,t._subject=null,t._connection=null,e&&e.unsubscribe()}}}class fe{constructor(t,e){this.subjectFactory=t,this.selector=e}call(t,e){const{selector:i}=this,r=this.subjectFactory(),s=i(r).subscribe(t);return s.add(e.subscribe(r)),s}}function we(){return new K}function Ie(){return n=>Ot()(function J(n,t){return function(i){let r;if(r="function"==typeof n?n:function(){return n},"function"==typeof t)return i.lift(new fe(r,t));const s=Object.create(i,mt);return s.source=i,s.subjectFactory=r,s}}(we)(n))}function $(n){for(let t in n)if(n[t]===$)return t;throw Error("Could not find renamed property on target object.")}function he(n,t){for(const e in t)t.hasOwnProperty(e)&&!n.hasOwnProperty(e)&&(n[e]=t[e])}function Qe(n){if("string"==typeof n)return n;if(Array.isArray(n))return"["+n.map(Qe).join(", ")+"]";if(null==n)return""+n;if(n.overriddenName)return`${n.overriddenName}`;if(n.name)return`${n.name}`;const t=n.toString();if(null==t)return""+t;const e=t.indexOf("\n");return-1===e?t:t.substring(0,e)}function Bt(n,t){return null==n||""===n?null===t?"":t:null==t||""===t?n:n+" "+t}const _t=$({__forward_ref__:$});function Mt(n){return n.__forward_ref__=Mt,n.toString=function(){return Qe(this())},n}function en(n){return ie(n)?n():n}function ie(n){return"function"==typeof n&&n.hasOwnProperty(_t)&&n.__forward_ref__===Mt}class W extends Error{constructor(t,e){super(function ce(n,t){return`NG0${Math.abs(n)}${t?": "+t:""}`}(t,e)),this.code=t}}function _e(n){return"string"==typeof n?n:null==n?"":String(n)}function Oe(n){return"function"==typeof n?n.name||n.toString():"object"==typeof n&&null!=n&&"function"==typeof n.type?n.type.name||n.type.toString():_e(n)}function Re(n,t){const e=t?` in ${t}`:"";throw new W(-201,`No provider for ${Oe(n)} found${e}`)}function A(n,t){null==n&&function V(n,t,e,i){throw new Error(`ASSERTION ERROR: ${n}`+(null==i?"":` [Expected=> ${e} ${i} ${t} <=Actual]`))}(t,n,null,"!=")}function Ee(n){return{token:n.token,providedIn:n.providedIn||null,factory:n.factory,value:void 0}}function He(n){return{providers:n.providers||[],imports:n.imports||[]}}function fn(n){return Tn(n,Bn)||Tn(n,nr)}function Tn(n,t){return n.hasOwnProperty(t)?n[t]:null}function pi(n){return n&&(n.hasOwnProperty(Yi)||n.hasOwnProperty(Ao))?n[Yi]:null}const Bn=$({\u0275prov:$}),Yi=$({\u0275inj:$}),nr=$({ngInjectableDef:$}),Ao=$({ngInjectorDef:$});var En=(()=>((En=En||{})[En.Default=0]="Default",En[En.Host=1]="Host",En[En.Self=2]="Self",En[En.SkipSelf=4]="SkipSelf",En[En.Optional=8]="Optional",En))();let ns;function lr(n){const t=ns;return ns=n,t}function aa(n,t,e){const i=fn(n);return i&&"root"==i.providedIn?void 0===i.value?i.value=i.factory():i.value:e&En.Optional?null:void 0!==t?t:void Re(Qe(n),"Injector")}function fs(n){return{toString:n}.toString()}var Tr=(()=>((Tr=Tr||{})[Tr.OnPush=0]="OnPush",Tr[Tr.Default=1]="Default",Tr))(),is=(()=>(function(n){n[n.Emulated=0]="Emulated",n[n.None=2]="None",n[n.ShadowDom=3]="ShadowDom"}(is||(is={})),is))();const fc="undefined"!=typeof globalThis&&globalThis,Ry="undefined"!=typeof window&&window,Ly="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,Ei=fc||"undefined"!=typeof global&&global||Ry||Ly,El={},Ci=[],gu=$({\u0275cmp:$}),eh=$({\u0275dir:$}),th=$({\u0275pipe:$}),vm=$({\u0275mod:$}),Ro=$({\u0275fac:$}),gc=$({__NG_ELEMENT_ID__:$});let Oy=0;function It(n){return fs(()=>{const e={},i={type:n.type,providersResolver:null,decls:n.decls,vars:n.vars,factory:null,template:n.template||null,consts:n.consts||null,ngContentSelectors:n.ngContentSelectors,hostBindings:n.hostBindings||null,hostVars:n.hostVars||0,hostAttrs:n.hostAttrs||null,contentQueries:n.contentQueries||null,declaredInputs:e,inputs:null,outputs:null,exportAs:n.exportAs||null,onPush:n.changeDetection===Tr.OnPush,directiveDefs:null,pipeDefs:null,selectors:n.selectors||Ci,viewQuery:n.viewQuery||null,features:n.features||null,data:n.data||{},encapsulation:n.encapsulation||is.Emulated,id:"c",styles:n.styles||Ci,_:null,setInput:null,schemas:n.schemas||null,tView:null},r=n.directives,s=n.features,o=n.pipes;return i.id+=Oy++,i.inputs=Em(n.inputs,e),i.outputs=Em(n.outputs),s&&s.forEach(a=>a(i)),i.directiveDefs=r?()=>("function"==typeof r?r():r).map(wm):null,i.pipeDefs=o?()=>("function"==typeof o?o():o).map(Mm):null,i})}function wm(n){return Lr(n)||function Lo(n){return n[eh]||null}(n)}function Mm(n){return function la(n){return n[th]||null}(n)}const Dm={};function Yt(n){return fs(()=>{const t={type:n.type,bootstrap:n.bootstrap||Ci,declarations:n.declarations||Ci,imports:n.imports||Ci,exports:n.exports||Ci,transitiveCompileScopes:null,schemas:n.schemas||null,id:n.id||null};return null!=n.id&&(Dm[n.id]=n.type),t})}function Em(n,t){if(null==n)return El;const e={};for(const i in n)if(n.hasOwnProperty(i)){let r=n[i],s=r;Array.isArray(r)&&(s=r[1],r=r[0]),e[r]=i,t&&(t[r]=s)}return e}const rt=It;function Sr(n){return{type:n.type,name:n.name,factory:null,pure:!1!==n.pure,onDestroy:n.type.prototype.ngOnDestroy||null}}function Lr(n){return n[gu]||null}function xs(n,t){const e=n[vm]||null;if(!e&&!0===t)throw new Error(`Type ${Qe(n)} does not have '\u0275mod' property.`);return e}function co(n){return Array.isArray(n)&&"object"==typeof n[1]}function qs(n){return Array.isArray(n)&&!0===n[1]}function vu(n){return 0!=(8&n.flags)}function bu(n){return 2==(2&n.flags)}function Oo(n){return 1==(1&n.flags)}function Us(n){return null!==n.template}function ih(n){return 0!=(512&n[2])}function Po(n,t){return n.hasOwnProperty(Ro)?n[Ro]:null}class Vy{constructor(t,e,i){this.previousValue=t,this.currentValue=e,this.firstChange=i}isFirstChange(){return this.firstChange}}function Jn(){return Tm}function Tm(n){return n.type.prototype.ngOnChanges&&(n.setInput=ch),lh}function lh(){const n=Sm(this),t=null==n?void 0:n.current;if(t){const e=n.previous;if(e===El)n.previous=t;else for(let i in t)e[i]=t[i];n.current=null,this.ngOnChanges(t)}}function ch(n,t,e,i){const r=Sm(n)||function qy(n,t){return n[Mu]=t}(n,{previous:El,current:null}),s=r.current||(r.current={}),o=r.previous,a=this.declaredInputs[e],l=o[a];s[a]=new Vy(l&&l.currentValue,t,o===El),n[i]=t}Jn.ngInherit=!0;const Mu="__ngSimpleChanges__";function Sm(n){return n[Mu]||null}let Du;function ph(){return void 0!==Du?Du:"undefined"!=typeof document?document:void 0}function Ti(n){return!!n.listen}const mh={createRenderer:(n,t)=>ph()};function ir(n){for(;Array.isArray(n);)n=n[0];return n}function Eu(n,t){return ir(t[n])}function ss(n,t){return ir(t[n.index])}function fh(n,t){return n.data[t]}function kl(n,t){return n[t]}function gs(n,t){const e=t[n];return co(e)?e:e[0]}function xm(n){return 4==(4&n[2])}function gh(n){return 128==(128&n[2])}function da(n,t){return null==t?null:n[t]}function Im(n){n[18]=0}function _h(n,t){n[5]+=t;let e=n,i=n[3];for(;null!==i&&(1===t&&1===e[5]||-1===t&&0===e[5]);)i[5]+=t,e=i,i=i[3]}const Yn={lFrame:jm(null),bindingsEnabled:!0};function Rm(){return Yn.bindingsEnabled}function At(){return Yn.lFrame.lView}function oi(){return Yn.lFrame.tView}function Ut(n){return Yn.lFrame.contextLView=n,n[8]}function gr(){let n=yh();for(;null!==n&&64===n.type;)n=n.parent;return n}function yh(){return Yn.lFrame.currentTNode}function zs(n,t){const e=Yn.lFrame;e.currentTNode=n,e.isParent=t}function Il(){return Yn.lFrame.isParent}function ha(){Yn.lFrame.isParent=!1}function Ur(){const n=Yn.lFrame;let t=n.bindingRootIndex;return-1===t&&(t=n.bindingRootIndex=n.tView.bindingStartIndex),t}function Al(){return Yn.lFrame.bindingIndex++}function No(n){const t=Yn.lFrame,e=t.bindingIndex;return t.bindingIndex=t.bindingIndex+n,e}function iv(n,t){const e=Yn.lFrame;e.bindingIndex=e.bindingRootIndex=n,bh(t)}function bh(n){Yn.lFrame.currentDirectiveIndex=n}function wh(n){const t=Yn.lFrame.currentDirectiveIndex;return-1===t?null:n[t]}function Fm(){return Yn.lFrame.currentQueryIndex}function Mh(n){Yn.lFrame.currentQueryIndex=n}function sv(n){const t=n[1];return 2===t.type?t.declTNode:1===t.type?n[6]:null}function Nm(n,t,e){if(e&En.SkipSelf){let r=t,s=n;for(;!(r=r.parent,null!==r||e&En.Host||(r=sv(s),null===r||(s=s[15],10&r.type))););if(null===r)return!1;t=r,n=s}const i=Yn.lFrame=Bm();return i.currentTNode=t,i.lView=n,!0}function Tu(n){const t=Bm(),e=n[1];Yn.lFrame=t,t.currentTNode=e.firstChild,t.lView=n,t.tView=e,t.contextLView=n,t.bindingIndex=e.bindingStartIndex,t.inI18n=!1}function Bm(){const n=Yn.lFrame,t=null===n?null:n.child;return null===t?jm(n):t}function jm(n){const t={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:n,child:null,inI18n:!1};return null!==n&&(n.child=t),t}function Ym(){const n=Yn.lFrame;return Yn.lFrame=n.parent,n.currentTNode=null,n.lView=null,n}const Hm=Ym;function Su(){const n=Ym();n.isParent=!0,n.tView=null,n.selectedIndex=-1,n.contextLView=null,n.elementDepthCount=0,n.currentDirectiveIndex=-1,n.currentNamespace=null,n.bindingRootIndex=-1,n.bindingIndex=-1,n.currentQueryIndex=0}function Or(){return Yn.lFrame.selectedIndex}function pa(n){Yn.lFrame.selectedIndex=n}function $i(){const n=Yn.lFrame;return fh(n.tView,n.selectedIndex)}function Gs(){Yn.lFrame.currentNamespace="svg"}function Wa(){!function lv(){Yn.lFrame.currentNamespace=null}()}function ku(n,t){for(let e=t.directiveStart,i=t.directiveEnd;e=i)break}else t[l]<0&&(n[18]+=65536),(a>11>16&&(3&n[2])===t){n[2]+=2048;try{s.call(a)}finally{}}}else try{s.call(a)}finally{}}class Ec{constructor(t,e,i){this.factory=t,this.resolving=!1,this.canSeeViewProviders=e,this.injectImpl=i}}function Lu(n,t,e){const i=Ti(n);let r=0;for(;rt){o=s-1;break}}}for(;s>16}(n),i=t;for(;e>0;)i=i[15],e--;return i}let Ch=!0;function Pu(n){const t=Ch;return Ch=n,t}let zm=0;function Tc(n,t){const e=Th(n,t);if(-1!==e)return e;const i=t[1];i.firstCreatePass&&(n.injectorIndex=t.length,Fu(i.data,n),Fu(t,null),Fu(i.blueprint,null));const r=Sc(n,t),s=n.injectorIndex;if(Eh(r)){const o=ma(r),a=Rl(r,t),l=a[1].data;for(let h=0;h<8;h++)t[s+h]=a[o+h]|l[o+h]}return t[s+8]=r,s}function Fu(n,t){n.push(0,0,0,0,0,0,0,0,t)}function Th(n,t){return-1===n.injectorIndex||n.parent&&n.parent.injectorIndex===n.injectorIndex||null===t[n.injectorIndex+8]?-1:n.injectorIndex}function Sc(n,t){if(n.parent&&-1!==n.parent.injectorIndex)return n.parent.injectorIndex;let e=0,i=null,r=t;for(;null!==r;){const s=r[1],o=s.type;if(i=2===o?s.declTNode:1===o?r[6]:null,null===i)return-1;if(e++,r=r[15],-1!==i.injectorIndex)return i.injectorIndex|e<<16}return-1}function Ll(n,t,e){!function _v(n,t,e){let i;"string"==typeof e?i=e.charCodeAt(0)||0:e.hasOwnProperty(gc)&&(i=e[gc]),null==i&&(i=e[gc]=zm++);const r=255&i;t.data[n+(r>>5)]|=1<=0?255&t:vv:t}(e);if("function"==typeof s){if(!Nm(t,n,i))return i&En.Host?po(r,e,i):Sh(t,e,i,r);try{const o=s(i);if(null!=o||i&En.Optional)return o;Re(e)}finally{Hm()}}else if("number"==typeof s){let o=null,a=Th(n,t),l=-1,h=i&En.Host?t[16][6]:null;for((-1===a||i&En.SkipSelf)&&(l=-1===a?Sc(n,t):t[a+8],-1!==l&&Qm(i,!1)?(o=t[1],a=ma(l),t=Rl(l,t)):a=-1);-1!==a;){const f=t[1];if(Wm(s,a,f.data)){const D=bv(a,t,e,o,i,h);if(D!==$m)return D}l=t[a+8],-1!==l&&Qm(i,t[1].data[a+8]===h)&&Wm(s,a,t)?(o=f,a=ma(l),t=Rl(l,t)):a=-1}}}return Sh(t,e,i,r)}const $m={};function vv(){return new Ol(gr(),At())}function bv(n,t,e,i,r,s){const o=t[1],a=o.data[n+8],f=Nu(a,o,e,null==i?bu(a)&&Ch:i!=o&&0!=(3&a.type),r&En.Host&&s===a);return null!==f?kc(t,o,f,a):$m}function Nu(n,t,e,i,r){const s=n.providerIndexes,o=t.data,a=1048575&s,l=n.directiveStart,f=s>>20,k=r?a+f:n.directiveEnd;for(let Y=i?a:a+f;Y=l&&oe.type===e)return Y}if(r){const Y=o[l];if(Y&&Us(Y)&&Y.type===e)return l}return null}function kc(n,t,e,i){let r=n[e];const s=t.data;if(function hv(n){return n instanceof Ec}(r)){const o=r;o.resolving&&function U(n,t){const e=t?`. Dependency path: ${t.join(" > ")} > ${n}`:"";throw new W(-200,`Circular dependency in DI detected for ${n}${e}`)}(Oe(s[e]));const a=Pu(o.canSeeViewProviders);o.resolving=!0;const l=o.injectImpl?lr(o.injectImpl):null;Nm(n,i,En.Default);try{r=n[e]=o.factory(void 0,s,n,i),t.firstCreatePass&&e>=i.directiveStart&&function uv(n,t,e){const{ngOnChanges:i,ngOnInit:r,ngDoCheck:s}=t.type.prototype;if(i){const o=Tm(t);(e.preOrderHooks||(e.preOrderHooks=[])).push(n,o),(e.preOrderCheckHooks||(e.preOrderCheckHooks=[])).push(n,o)}r&&(e.preOrderHooks||(e.preOrderHooks=[])).push(0-n,r),s&&((e.preOrderHooks||(e.preOrderHooks=[])).push(n,s),(e.preOrderCheckHooks||(e.preOrderCheckHooks=[])).push(n,s))}(e,s[e],t)}finally{null!==l&&lr(l),Pu(a),o.resolving=!1,Hm()}}return r}function Wm(n,t,e){return!!(e[t+(n>>5)]&1<{const t=n.prototype.constructor,e=t[Ro]||jo(t),i=Object.prototype;let r=Object.getPrototypeOf(n.prototype).constructor;for(;r&&r!==i;){const s=r[Ro]||jo(r);if(s&&s!==e)return s;r=Object.getPrototypeOf(r)}return s=>new s})}function jo(n){return ie(n)?()=>{const t=jo(en(n));return t&&t()}:Po(n)}function _r(n){return function yv(n,t){if("class"===t)return n.classes;if("style"===t)return n.styles;const e=n.attrs;if(e){const i=e.length;let r=0;for(;r{const i=kh(t);function r(...s){if(this instanceof r)return i.apply(this,s),this;const o=new r(...s);return a.annotation=o,a;function a(l,h,f){const D=l.hasOwnProperty(Fl)?l[Fl]:Object.defineProperty(l,Fl,{value:[]})[Fl];for(;D.length<=f;)D.push(null);return(D[f]=D[f]||[]).push(o),l}}return e&&(r.prototype=Object.create(e.prototype)),r.prototype.ngMetadataName=n,r.annotationCls=r,r})}function xc(n,t,e,i){return fs(()=>{const r=kh(t);function s(...o){if(this instanceof s)return r.apply(this,o),this;const a=new s(...o);return function l(h,f){const D=h.constructor,k=D.hasOwnProperty(Nl)?D[Nl]:Object.defineProperty(D,Nl,{value:{}})[Nl];k[f]=k.hasOwnProperty(f)&&k[f]||[],k[f].unshift(a),i&&i(h,f,...o)}}return e&&(s.prototype=Object.create(e.prototype)),s.prototype.ngMetadataName=n,s.annotationCls=s,s})}class ht{constructor(t,e){this._desc=t,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof e?this.__NG_ELEMENT_ID__=e:void 0!==e&&(this.\u0275prov=Ee({token:this,providedIn:e.providedIn||"root",factory:e.factory}))}toString(){return`InjectionToken ${this._desc}`}}const Mv=new ht("AnalyzeForEntryComponents");class Zm{}const Dv=xc("ContentChild",(n,t={})=>Object.assign({selector:n,first:!0,isViewQuery:!1,descendants:!0},t),Zm),Qa=xc("ViewChild",(n,t)=>Object.assign({selector:n,first:!0,isViewQuery:!0,descendants:!0},t),Zm);function je(n,t){void 0===t&&(t=n);for(let e=0;eArray.isArray(e)?dt(e,t):t(e))}function dn(n,t,e){t>=n.length?n.push(e):n.splice(t,0,e)}function Rn(n,t){return t>=n.length-1?n.pop():n.splice(t,1)[0]}function Wn(n,t){const e=[];for(let i=0;i=0?n[1|i]=e:(i=~i,function ga(n,t,e,i){let r=n.length;if(r==t)n.push(e,i);else if(1===r)n.push(i,n[0]),n[0]=e;else{for(r--,n.push(n[r-1],n[r]);r>t;)n[r]=n[r-2],r--;n[t]=e,n[t+1]=i}}(n,i,t,e)),i}function Ev(n,t){const e=Bu(n,t);if(e>=0)return n[1|e]}function Bu(n,t){return function LE(n,t,e){let i=0,r=n.length>>e;for(;r!==i;){const s=i+(r-i>>1),o=n[s<t?r=s:i=s+1}return~(r<({token:n})),-1),yr=Rh(Bl("Optional"),8),mo=Rh(Bl("SkipSelf"),4);var Ws=(()=>((Ws=Ws||{})[Ws.Important=1]="Important",Ws[Ws.DashCase=2]="DashCase",Ws))();const UE="__ngContext__";function os(n,t){n[UE]=t}function Iv(n){const t=function Oh(n){return n[UE]||null}(n);return t?Array.isArray(t)?t:t.lView:null}function Rv(n,t){return undefined(n,t)}function Ph(n){const t=n[3];return qs(t)?t[3]:t}function Lv(n){return ZE(n[13])}function Ov(n){return ZE(n[4])}function ZE(n){for(;null!==n&&!qs(n);)n=n[4];return n}function Yu(n,t,e,i,r){if(null!=i){let s,o=!1;qs(i)?s=i:co(i)&&(o=!0,i=i[0]);const a=ir(i);0===n&&null!==e?null==r?iC(t,e,a):Ic(t,e,a,r||null,!0):1===n&&null!==e?Ic(t,e,a,r||null,!0):2===n?function Hv(n,t,e){const i=nf(n,t);i&&function k2(n,t,e,i){Ti(n)?n.removeChild(t,e,i):t.removeChild(e)}(n,i,t,e)}(t,a,o):3===n&&t.destroyNode(a),null!=s&&function A2(n,t,e,i,r){const s=e[7];s!==ir(e)&&Yu(t,n,i,s,r);for(let a=10;a0&&(n[e-1][4]=i[4]);const s=Rn(n,10+t);!function b2(n,t){Fh(n,t,t[11],2,null,null),t[0]=null,t[6]=null}(i[1],i);const o=s[19];null!==o&&o.detachView(s[1]),i[3]=null,i[4]=null,i[2]&=-129}return i}function eC(n,t){if(!(256&t[2])){const e=t[11];Ti(e)&&e.destroyNode&&Fh(n,t,e,3,null,null),function D2(n){let t=n[13];if(!t)return Bv(n[1],n);for(;t;){let e=null;if(co(t))e=t[13];else{const i=t[10];i&&(e=i)}if(!e){for(;t&&!t[4]&&t!==n;)co(t)&&Bv(t[1],t),t=t[3];null===t&&(t=n),co(t)&&Bv(t[1],t),e=t&&t[4]}t=e}}(t)}}function Bv(n,t){if(!(256&t[2])){t[2]&=-129,t[2]|=256,function S2(n,t){let e;if(null!=n&&null!=(e=n.destroyHooks))for(let i=0;i=0?i[r=h]():i[r=-h].unsubscribe(),s+=2}else{const o=i[r=e[s+1]];e[s].call(o)}if(null!==i){for(let s=r+1;sn,createScript:n=>n,createScriptURL:n=>n})}catch(n){}return af}())||void 0===t?void 0:t.createHTML(n))||n}function hC(n){var t;return(null===(t=function zv(){if(void 0===lf&&(lf=null,Ei.trustedTypes))try{lf=Ei.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:n=>n,createScript:n=>n,createScriptURL:n=>n})}catch(n){}return lf}())||void 0===t?void 0:t.createHTML(n))||n}class Rc{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see https://g.co/ng/security#xss)`}}class F2 extends Rc{getTypeName(){return"HTML"}}class N2 extends Rc{getTypeName(){return"Style"}}class B2 extends Rc{getTypeName(){return"Script"}}class j2 extends Rc{getTypeName(){return"URL"}}class Y2 extends Rc{getTypeName(){return"ResourceURL"}}function Qs(n){return n instanceof Rc?n.changingThisBreaksApplicationSecurity:n}function ya(n,t){const e=fC(n);if(null!=e&&e!==t){if("ResourceURL"===e&&"URL"===t)return!0;throw new Error(`Required a safe ${t}, got a ${e} (see https://g.co/ng/security#xss)`)}return e===t}function fC(n){return n instanceof Rc&&n.getTypeName()||null}class G2{constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t=""+t;try{const e=(new window.DOMParser).parseFromString(Ac(t),"text/html").body;return null===e?this.inertDocumentHelper.getInertBodyElement(t):(e.removeChild(e.firstChild),e)}catch(e){return null}}}class $2{constructor(t){if(this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert"),null==this.inertDocument.body){const e=this.inertDocument.createElement("html");this.inertDocument.appendChild(e);const i=this.inertDocument.createElement("body");e.appendChild(i)}}getInertBodyElement(t){const e=this.inertDocument.createElement("template");if("content"in e)return e.innerHTML=Ac(t),e;const i=this.inertDocument.createElement("body");return i.innerHTML=Ac(t),this.defaultDoc.documentMode&&this.stripCustomNsAttrs(i),i}stripCustomNsAttrs(t){const e=t.attributes;for(let r=e.length-1;0Nh(t.trim())).join(", ")}function va(n){const t={};for(const e of n.split(","))t[e]=!0;return t}function Bh(...n){const t={};for(const e of n)for(const i in e)e.hasOwnProperty(i)&&(t[i]=!0);return t}const yC=va("area,br,col,hr,img,wbr"),vC=va("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),bC=va("rp,rt"),Gv=Bh(yC,Bh(vC,va("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")),Bh(bC,va("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")),Bh(bC,vC)),$v=va("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),Wv=va("srcset"),wC=Bh($v,Wv,va("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,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),va("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")),Z2=va("script,style,template");class X2{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(t){let e=t.firstChild,i=!0;for(;e;)if(e.nodeType===Node.ELEMENT_NODE?i=this.startElement(e):e.nodeType===Node.TEXT_NODE?this.chars(e.nodeValue):this.sanitizedSomething=!0,i&&e.firstChild)e=e.firstChild;else for(;e;){e.nodeType===Node.ELEMENT_NODE&&this.endElement(e);let r=this.checkClobberedElement(e,e.nextSibling);if(r){e=r;break}e=this.checkClobberedElement(e,e.parentNode)}return this.buf.join("")}startElement(t){const e=t.nodeName.toLowerCase();if(!Gv.hasOwnProperty(e))return this.sanitizedSomething=!0,!Z2.hasOwnProperty(e);this.buf.push("<"),this.buf.push(e);const i=t.attributes;for(let r=0;r"),!0}endElement(t){const e=t.nodeName.toLowerCase();Gv.hasOwnProperty(e)&&!yC.hasOwnProperty(e)&&(this.buf.push(""))}chars(t){this.buf.push(MC(t))}checkClobberedElement(t,e){if(e&&(t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error(`Failed to sanitize html because the element is clobbered: ${t.outerHTML}`);return e}}const J2=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,eB=/([^\#-~ |!])/g;function MC(n){return n.replace(/&/g,"&").replace(J2,function(t){return"&#"+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";"}).replace(eB,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(//g,">")}let cf;function DC(n,t){let e=null;try{cf=cf||function gC(n){const t=new $2(n);return function W2(){try{return!!(new window.DOMParser).parseFromString(Ac(""),"text/html")}catch(n){return!1}}()?new G2(t):t}(n);let i=t?String(t):"";e=cf.getInertBodyElement(i);let r=5,s=i;do{if(0===r)throw new Error("Failed to sanitize html because the input is unstable");r--,i=s,s=e.innerHTML,e=cf.getInertBodyElement(i)}while(i!==s);return Ac((new X2).sanitizeChildren(Qv(e)||e))}finally{if(e){const i=Qv(e)||e;for(;i.firstChild;)i.removeChild(i.firstChild)}}}function Qv(n){return"content"in n&&function tB(n){return n.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===n.nodeName}(n)?n.content:null}var _i=(()=>((_i=_i||{})[_i.NONE=0]="NONE",_i[_i.HTML=1]="HTML",_i[_i.STYLE=2]="STYLE",_i[_i.SCRIPT=3]="SCRIPT",_i[_i.URL=4]="URL",_i[_i.RESOURCE_URL=5]="RESOURCE_URL",_i))();function Lc(n){const t=jh();return t?hC(t.sanitize(_i.HTML,n)||""):ya(n,"HTML")?hC(Qs(n)):DC(ph(),_e(n))}function Kv(n){const t=jh();return t?t.sanitize(_i.URL,n)||"":ya(n,"URL")?Qs(n):Nh(_e(n))}function jh(){const n=At();return n&&n[12]}function Xv(n){return n.ngOriginalError}function dB(n,...t){n.error(...t)}class Ka{constructor(){this._console=console}handleError(t){const e=this._findOriginalError(t),i=function uB(n){return n&&n.ngErrorLogger||dB}(t);i(this._console,"ERROR",t),e&&i(this._console,"ORIGINAL ERROR",e)}_findOriginalError(t){let e=t&&Xv(t);for(;e&&Xv(e);)e=Xv(e);return e||null}}const yB=(()=>("undefined"!=typeof requestAnimationFrame&&requestAnimationFrame||setTimeout).bind(Ei))();function ba(n){return n instanceof Function?n():n}function TC(n,t,e){let i=n.length;for(;;){const r=n.indexOf(t,e);if(-1===r)return r;if(0===r||n.charCodeAt(r-1)<=32){const s=t.length;if(r+s===i||n.charCodeAt(r+s)<=32)return r}e=r+1}}const SC="ng-template";function MB(n,t,e){let i=0;for(;is?"":r[D+1].toLowerCase();const Y=8&i?k:null;if(Y&&-1!==TC(Y,h,0)||2&i&&h!==k){if(Vo(i))return!1;o=!0}}}}else{if(!o&&!Vo(i)&&!Vo(l))return!1;if(o&&Vo(l))continue;o=!1,i=l|1&i}}return Vo(i)||o}function Vo(n){return 0==(1&n)}function CB(n,t,e,i){if(null===t)return-1;let r=0;if(i||!e){let s=!1;for(;r-1)for(e++;e0?'="'+a+'"':"")+"]"}else 8&i?r+="."+o:4&i&&(r+=" "+o);else""!==r&&!Vo(o)&&(t+=IC(s,r),r=""),i=o,s=s||!Vo(i);e++}return""!==r&&(t+=IC(s,r)),t}const zn={};function B(n){AC(oi(),At(),Or()+n,!1)}function AC(n,t,e,i){if(!i)if(3==(3&t[2])){const s=n.preOrderCheckHooks;null!==s&&xu(t,s,e)}else{const s=n.preOrderHooks;null!==s&&Iu(t,s,0,e)}pa(e)}function uf(n,t){return n<<17|t<<2}function qo(n){return n>>17&32767}function Jv(n){return 2|n}function Za(n){return(131068&n)>>2}function eb(n,t){return-131069&n|t<<2}function tb(n){return 1|n}function VC(n,t){const e=n.contentQueries;if(null!==e)for(let i=0;i20&&AC(n,t,20,!1),e(i,r)}finally{pa(s)}}function UC(n,t,e){if(vu(t)){const r=t.directiveEnd;for(let s=t.directiveStart;s0;){const e=n[--t];if("number"==typeof e&&e<0)return e}return 0})(a)!=l&&a.push(l),a.push(i,r,o)}}function XC(n,t){null!==n.hostBindings&&n.hostBindings(1,t)}function JC(n,t){t.flags|=2,(n.components||(n.components=[])).push(t.index)}function sj(n,t,e){if(e){if(t.exportAs)for(let i=0;i0&&fb(e)}}function fb(n){for(let i=Lv(n);null!==i;i=Ov(i))for(let r=10;r0&&fb(s)}const e=n[1].components;if(null!==e)for(let i=0;i0&&fb(r)}}function hj(n,t){const e=gs(t,n),i=e[1];(function pj(n,t){for(let e=t.length;ePromise.resolve(null))();function rT(n){return n[7]||(n[7]=[])}function sT(n){return n.cleanup||(n.cleanup=[])}function oT(n,t,e){return(null===n||Us(n))&&(e=function km(n){for(;Array.isArray(n);){if("object"==typeof n[1])return n;n=n[0]}return null}(e[t.index])),e[11]}function aT(n,t){const e=n[9],i=e?e.get(Ka,null):null;i&&i.handleError(t)}function lT(n,t,e,i,r){for(let s=0;sthis.processProvider(a,t,e)),dt([t],a=>this.processInjectorType(a,[],s)),this.records.set(bb,zu(void 0,this));const o=this.records.get(wb);this.scope=null!=o?o.value:null,this.source=r||("object"==typeof t?null:Qe(t))}get destroyed(){return this._destroyed}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{this.onDestroy.forEach(t=>t.ngOnDestroy())}finally{this.records.clear(),this.onDestroy.clear(),this.injectorDefTypes.clear()}}get(t,e=xh,i=En.Default){this.assertNotDestroyed();const r=FE(this),s=lr(void 0);try{if(!(i&En.SkipSelf)){let a=this.records.get(t);if(void 0===a){const l=function Sj(n){return"function"==typeof n||"object"==typeof n&&n instanceof ht}(t)&&fn(t);a=l&&this.injectableDefInScope(l)?zu(Db(t),Vh):null,this.records.set(t,a)}if(null!=a)return this.hydrate(t,a)}return(i&En.Self?uT():this.parent).get(t,e=i&En.Optional&&e===xh?null:e)}catch(o){if("NullInjectorError"===o.name){if((o[ef]=o[ef]||[]).unshift(Qe(t)),r)throw o;return function ZN(n,t,e,i){const r=n[ef];throw t[PE]&&r.unshift(t[PE]),n.message=function XN(n,t,e,i=null){n=n&&"\n"===n.charAt(0)&&"\u0275"==n.charAt(1)?n.substr(2):n;let r=Qe(t);if(Array.isArray(t))r=t.map(Qe).join(" -> ");else if("object"==typeof t){let s=[];for(let o in t)if(t.hasOwnProperty(o)){let a=t[o];s.push(o+":"+("string"==typeof a?JSON.stringify(a):Qe(a)))}r=`{${s.join(", ")}}`}return`${e}${i?"("+i+")":""}[${r}]: ${n.replace(GN,"\n ")}`}("\n"+n.message,r,e,i),n.ngTokenPath=r,n[ef]=null,n}(o,t,"R3InjectorError",this.source)}throw o}finally{lr(s),FE(r)}}_resolveInjectorDefTypes(){this.injectorDefTypes.forEach(t=>this.get(t))}toString(){const t=[];return this.records.forEach((i,r)=>t.push(Qe(r))),`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new W(205,!1)}processInjectorType(t,e,i){if(!(t=en(t)))return!1;let r=pi(t);const s=null==r&&t.ngModule||void 0,o=void 0===s?t:s,a=-1!==i.indexOf(o);if(void 0!==s&&(r=pi(s)),null==r)return!1;if(null!=r.imports&&!a){let f;i.push(o);try{dt(r.imports,D=>{this.processInjectorType(D,e,i)&&(void 0===f&&(f=[]),f.push(D))})}finally{}if(void 0!==f)for(let D=0;Dthis.processProvider(oe,k,Y||Ci))}}this.injectorDefTypes.add(o);const l=Po(o)||(()=>new o);this.records.set(o,zu(l,Vh));const h=r.providers;if(null!=h&&!a){const f=t;dt(h,D=>this.processProvider(D,f,h))}return void 0!==s&&void 0!==t.providers}processProvider(t,e,i){let r=Gu(t=en(t))?t:en(t&&t.provide);const s=function wj(n,t,e){return mT(n)?zu(void 0,n.useValue):zu(pT(n),Vh)}(t);if(Gu(t)||!0!==t.multi)this.records.get(r);else{let o=this.records.get(r);o||(o=zu(void 0,Vh,!0),o.factory=()=>Sv(o.multi),this.records.set(r,o)),r=t,o.multi.push(t)}this.records.set(r,s)}hydrate(t,e){return e.value===Vh&&(e.value=yj,e.value=e.factory()),"object"==typeof e.value&&e.value&&function Tj(n){return null!==n&&"object"==typeof n&&"function"==typeof n.ngOnDestroy}(e.value)&&this.onDestroy.add(e.value),e.value}injectableDefInScope(t){if(!t.providedIn)return!1;const e=en(t.providedIn);return"string"==typeof e?"any"===e||e===this.scope:this.injectorDefTypes.has(e)}}function Db(n){const t=fn(n),e=null!==t?t.factory:Po(n);if(null!==e)return e;if(n instanceof ht)throw new W(204,!1);if(n instanceof Function)return function bj(n){const t=n.length;if(t>0)throw Wn(t,"?"),new W(204,!1);const e=function Vn(n){const t=n&&(n[Bn]||n[nr]);if(t){const e=function $n(n){if(n.hasOwnProperty("name"))return n.name;const t=(""+n).match(/^function\s*([^\s(]+)/);return null===t?"":t[1]}(n);return console.warn(`DEPRECATED: DI is instantiating a token "${e}" that inherits its @Injectable decorator but does not provide one itself.\nThis will become an error in a future version of Angular. Please add @Injectable() to the "${e}" class.`),t}return null}(n);return null!==e?()=>e.factory(n):()=>new n}(n);throw new W(204,!1)}function pT(n,t,e){let i;if(Gu(n)){const r=en(n);return Po(r)||Db(r)}if(mT(n))i=()=>en(n.useValue);else if(function Dj(n){return!(!n||!n.useFactory)}(n))i=()=>n.useFactory(...Sv(n.deps||[]));else if(function Mj(n){return!(!n||!n.useExisting)}(n))i=()=>Se(en(n.useExisting));else{const r=en(n&&(n.useClass||n.provide));if(!function Cj(n){return!!n.deps}(n))return Po(r)||Db(r);i=()=>new r(...Sv(n.deps))}return i}function zu(n,t,e=!1){return{factory:n,value:t,multi:e?[]:void 0}}function mT(n){return null!==n&&"object"==typeof n&&WN in n}function Gu(n){return"function"==typeof n}let qi=(()=>{class n{static create(e,i){var r;if(Array.isArray(e))return dT({name:""},i,e,"");{const s=null!==(r=e.name)&&void 0!==r?r:"";return dT({name:s},e.parent,e.providers,s)}}}return n.THROW_IF_NOT_FOUND=xh,n.NULL=new cT,n.\u0275prov=Ee({token:n,providedIn:"any",factory:()=>Se(bb)}),n.__NG_ELEMENT_ID__=-1,n})();function Pj(n,t){ku(Iv(n)[1],gr())}function xt(n){let t=function TT(n){return Object.getPrototypeOf(n.prototype).constructor}(n.type),e=!0;const i=[n];for(;t;){let r;if(Us(n))r=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new W(903,"");r=t.\u0275dir}if(r){if(e){i.push(r);const o=n;o.inputs=Tb(n.inputs),o.declaredInputs=Tb(n.declaredInputs),o.outputs=Tb(n.outputs);const a=r.hostBindings;a&&jj(n,a);const l=r.viewQuery,h=r.contentQueries;if(l&&Nj(n,l),h&&Bj(n,h),he(n.inputs,r.inputs),he(n.declaredInputs,r.declaredInputs),he(n.outputs,r.outputs),Us(r)&&r.data.animation){const f=n.data;f.animation=(f.animation||[]).concat(r.data.animation)}}const s=r.features;if(s)for(let o=0;o=0;i--){const r=n[i];r.hostVars=t+=r.hostVars,r.hostAttrs=ri(r.hostAttrs,e=ri(e,r.hostAttrs))}}(i)}function Tb(n){return n===El?{}:n===Ci?[]:n}function Nj(n,t){const e=n.viewQuery;n.viewQuery=e?(i,r)=>{t(i,r),e(i,r)}:t}function Bj(n,t){const e=n.contentQueries;n.contentQueries=e?(i,r,s)=>{t(i,r,s),e(i,r,s)}:t}function jj(n,t){const e=n.hostBindings;n.hostBindings=e?(i,r)=>{t(i,r),e(i,r)}:t}let gf=null;function $u(){if(!gf){const n=Ei.Symbol;if(n&&n.iterator)gf=n.iterator;else{const t=Object.getOwnPropertyNames(Map.prototype);for(let e=0;ea(ir(Gt[i.index])):i.index;if(Ti(e)){let Gt=null;if(!a&&l&&(Gt=function fY(n,t,e,i){const r=n.cleanup;if(null!=r)for(let s=0;sl?a[l]:null}"string"==typeof o&&(s+=2)}return null}(n,t,r,i.index)),null!==Gt)(Gt.__ngLastListenerFn__||Gt).__ngNextListenerFn__=s,Gt.__ngLastListenerFn__=s,Y=!1;else{s=Ob(i,t,D,s,!1);const wn=e.listen(it,r,s);k.push(s,wn),f&&f.push(r,Rt,qe,qe+1)}}else s=Ob(i,t,D,s,!0),it.addEventListener(r,s,o),k.push(s),f&&f.push(r,Rt,qe,o)}else s=Ob(i,t,D,s,!1);const oe=i.outputs;let Ne;if(Y&&null!==oe&&(Ne=oe[r])){const $e=Ne.length;if($e)for(let it=0;it<$e;it+=2){const ii=t[Ne[it]][Ne[it+1]].subscribe(s),Mi=k.length;k.push(s,ii),f&&f.push(r,i.index,Mi,-(Mi+1))}}}function WT(n,t,e,i){try{return!1!==e(i)}catch(r){return aT(n,r),!1}}function Ob(n,t,e,i,r){return function s(o){if(o===Function)return i;const a=2&n.flags?gs(n.index,t):t;0==(32&t[2])&&gb(a);let l=WT(t,0,i,o),h=s.__ngNextListenerFn__;for(;h;)l=WT(t,0,h,o)&&l,h=h.__ngNextListenerFn__;return r&&!1===l&&(o.preventDefault(),o.returnValue=!1),l}}function Te(n=1){return function ov(n){return(Yn.lFrame.contextLView=function av(n,t){for(;n>0;)t=t[15],n--;return t}(n,Yn.lFrame.contextLView))[8]}(n)}function gY(n,t){let e=null;const i=function TB(n){const t=n.attrs;if(null!=t){const e=t.indexOf(5);if(0==(1&e))return t[e+1]}return null}(n);for(let r=0;r=0}const Pr={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function rS(n){return n.substring(Pr.key,Pr.keyEnd)}function sS(n,t){const e=Pr.textEnd;return e===t?-1:(t=Pr.keyEnd=function DY(n,t,e){for(;t32;)t++;return t}(n,Pr.key=t,e),rd(n,t,e))}function rd(n,t,e){for(;t=0;e=sS(t,e))$s(n,rS(t),!0)}function zo(n,t,e,i){const r=At(),s=oi(),o=No(2);s.firstUpdatePass&&dS(s,n,o,i),t!==zn&&as(r,o,t)&&pS(s,s.data[Or()],r,r[11],n,r[o+1]=function OY(n,t){return null==n||("string"==typeof t?n+=t:"object"==typeof n&&(n=Qe(Qs(n)))),n}(t,e),i,o)}function uS(n,t){return t>=n.expandoStartIndex}function dS(n,t,e,i){const r=n.data;if(null===r[e+1]){const s=r[Or()],o=uS(n,e);fS(s,i)&&null===t&&!o&&(t=!1),t=function kY(n,t,e,i){const r=wh(n);let s=i?t.residualClasses:t.residualStyles;if(null===r)0===(i?t.classBindings:t.styleBindings)&&(e=Gh(e=Fb(null,n,t,e,i),t.attrs,i),s=null);else{const o=t.directiveStylingLast;if(-1===o||n[o]!==r)if(e=Fb(r,n,t,e,i),null===s){let l=function xY(n,t,e){const i=e?t.classBindings:t.styleBindings;if(0!==Za(i))return n[qo(i)]}(n,t,i);void 0!==l&&Array.isArray(l)&&(l=Fb(null,n,t,l[1],i),l=Gh(l,t.attrs,i),function IY(n,t,e,i){n[qo(e?t.classBindings:t.styleBindings)]=i}(n,t,i,l))}else s=function AY(n,t,e){let i;const r=t.directiveEnd;for(let s=1+t.directiveStylingLast;s0)&&(h=!0)}else f=e;if(r)if(0!==l){const k=qo(n[a+1]);n[i+1]=uf(k,a),0!==k&&(n[k+1]=eb(n[k+1],i)),n[a+1]=function LB(n,t){return 131071&n|t<<17}(n[a+1],i)}else n[i+1]=uf(a,0),0!==a&&(n[a+1]=eb(n[a+1],i)),a=i;else n[i+1]=uf(l,0),0===a?a=i:n[l+1]=eb(n[l+1],i),l=i;h&&(n[i+1]=Jv(n[i+1])),iS(n,f,i,!0),iS(n,f,i,!1),function yY(n,t,e,i,r){const s=r?n.residualClasses:n.residualStyles;null!=s&&"string"==typeof t&&Bu(s,t)>=0&&(e[i+1]=tb(e[i+1]))}(t,f,n,i,s),o=uf(a,l),s?t.classBindings=o:t.styleBindings=o}(r,s,t,e,o,i)}}function Fb(n,t,e,i,r){let s=null;const o=e.directiveEnd;let a=e.directiveStylingLast;for(-1===a?a=e.directiveStart:a++;a0;){const l=n[r],h=Array.isArray(l),f=h?l[1]:l,D=null===f;let k=e[r+1];k===zn&&(k=D?Ci:void 0);let Y=D?Ev(k,i):f===i?k:void 0;if(h&&!bf(Y)&&(Y=Ev(l,i)),bf(Y)&&(a=Y,o))return a;const oe=n[r+1];r=o?qo(oe):Za(oe)}if(null!==t){let l=s?t.residualClasses:t.residualStyles;null!=l&&(a=Ev(l,i))}return a}function bf(n){return void 0!==n}function fS(n,t){return 0!=(n.flags&(t?16:32))}function De(n,t=""){const e=At(),i=oi(),r=n+20,s=i.firstCreatePass?Vu(i,r,1,t,null):i.data[r],o=e[r]=function Pv(n,t){return Ti(n)?n.createText(t):n.createTextNode(t)}(e[11],t);rf(i,e,o,s),zs(s,!1)}function vi(n){return ln("",n,""),vi}function ln(n,t,e){const i=At(),r=Qu(i,n,t,e);return r!==zn&&Xa(i,Or(),r),ln}function Nb(n,t,e,i,r){const s=At(),o=Ku(s,n,t,e,i,r);return o!==zn&&Xa(s,Or(),o),Nb}function DS(n,t,e){!function Go(n,t,e,i){const r=oi(),s=No(2);r.firstUpdatePass&&dS(r,null,s,i);const o=At();if(e!==zn&&as(o,s,e)){const a=r.data[Or()];if(fS(a,i)&&!uS(r,s)){let l=i?a.classesWithoutHost:a.stylesWithoutHost;null!==l&&(e=Bt(l,e||"")),Rb(r,a,o,e,i)}else!function LY(n,t,e,i,r,s,o,a){r===zn&&(r=Ci);let l=0,h=0,f=0>20;if(Gu(n)||!n.multi){const Y=new Ec(l,r,M),oe=Vb(a,t,r?f:f+k,D);-1===oe?(Ll(Tc(h,o),s,a),Hb(s,n,t.length),t.push(a),h.directiveStart++,h.directiveEnd++,r&&(h.providerIndexes+=1048576),e.push(Y),o.push(Y)):(e[oe]=Y,o[oe]=Y)}else{const Y=Vb(a,t,f+k,D),oe=Vb(a,t,f,f+k),Ne=Y>=0&&e[Y],$e=oe>=0&&e[oe];if(r&&!$e||!r&&!Ne){Ll(Tc(h,o),s,a);const it=function XH(n,t,e,i,r){const s=new Ec(n,e,M);return s.multi=[],s.index=t,s.componentProviders=0,sk(s,r,i&&!e),s}(r?ZH:KH,e.length,r,i,l);!r&&$e&&(e[oe].providerFactory=it),Hb(s,n,t.length,0),t.push(a),h.directiveStart++,h.directiveEnd++,r&&(h.providerIndexes+=1048576),e.push(it),o.push(it)}else Hb(s,n,Y>-1?Y:oe,sk(e[r?oe:Y],l,!r&&i));!r&&i&&$e&&e[oe].componentProviders++}}}function Hb(n,t,e,i){const r=Gu(t),s=function Ej(n){return!!n.useClass}(t);if(r||s){const l=(s?en(t.useClass):t).prototype.ngOnDestroy;if(l){const h=n.destroyHooks||(n.destroyHooks=[]);if(!r&&t.multi){const f=h.indexOf(e);-1===f?h.push(e,[i,l]):h[f+1].push(i,l)}else h.push(e,l)}}}function sk(n,t,e){return e&&n.componentProviders++,n.multi.push(t)-1}function Vb(n,t,e,i){for(let r=e;r{e.providersResolver=(i,r)=>function QH(n,t,e){const i=oi();if(i.firstCreatePass){const r=Us(n);Yb(e,i.data,i.blueprint,r,!0),Yb(t,i.data,i.blueprint,r,!1)}}(i,r?r(n):n,t)}}class ok{}class tV{resolveComponentFactory(t){throw function eV(n){const t=Error(`No component factory found for ${Qe(n)}. Did you add it to @NgModule.entryComponents?`);return t.ngComponent=n,t}(t)}}let Hl=(()=>{class n{}return n.NULL=new tV,n})();function nV(){return ad(gr(),At())}function ad(n,t){return new Zt(ss(n,t))}let Zt=(()=>{class n{constructor(e){this.nativeElement=e}}return n.__NG_ELEMENT_ID__=nV,n})();function iV(n){return n instanceof Zt?n.nativeElement:n}class Zh{}let Ta=(()=>{class n{}return n.__NG_ELEMENT_ID__=()=>function sV(){const n=At(),e=gs(gr().index,n);return function rV(n){return n[11]}(co(e)?e:n)}(),n})(),oV=(()=>{class n{}return n.\u0275prov=Ee({token:n,providedIn:"root",factory:()=>null}),n})();class Fc{constructor(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}}const aV=new Fc("13.4.0"),Ub={};function Sf(n,t,e,i,r=!1){for(;null!==e;){const s=t[e.index];if(null!==s&&i.push(ir(s)),qs(s))for(let a=10;a-1&&(Nv(t,i),Rn(e,i))}this._attachedToViewContainer=!1}eC(this._lView[1],this._lView)}onDestroy(t){WC(this._lView[1],this._lView,null,t)}markForCheck(){gb(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-129}reattach(){this._lView[2]|=128}detectChanges(){!function yb(n,t,e){const i=t[10];i.begin&&i.begin();try{Uu(n,t,n.template,e)}catch(r){throw aT(t,r),r}finally{i.end&&i.end()}}(this._lView[1],this._lView,this.context)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new W(902,"");this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function M2(n,t){Fh(n,t,t[11],2,null,null)}(this._lView[1],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new W(902,"");this._appRef=t}}class lV extends Xh{constructor(t){super(t),this._view=t}detectChanges(){iT(this._view)}checkNoChanges(){}get context(){return null}}class lk extends Hl{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const e=Lr(t);return new zb(e,this.ngModule)}}function ck(n){const t=[];for(let e in n)n.hasOwnProperty(e)&&t.push({propName:n[e],templateName:e});return t}class zb extends ok{constructor(t,e){super(),this.componentDef=t,this.ngModule=e,this.componentType=t.type,this.selector=function AB(n){return n.map(IB).join(",")}(t.selectors),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!e}get inputs(){return ck(this.componentDef.inputs)}get outputs(){return ck(this.componentDef.outputs)}create(t,e,i,r){const s=(r=r||this.ngModule)?function uV(n,t){return{get:(e,i,r)=>{const s=n.get(e,Ub,r);return s!==Ub||i===Ub?s:t.get(e,i,r)}}}(t,r.injector):t,o=s.get(Zh,mh),a=s.get(oV,null),l=o.createRenderer(null,this.componentDef),h=this.componentDef.selectors[0][0]||"div",f=i?function $C(n,t,e){if(Ti(n))return n.selectRootElement(t,e===is.ShadowDom);let i="string"==typeof t?n.querySelector(t):t;return i.textContent="",i}(l,i,this.componentDef.encapsulation):Fv(o.createRenderer(null,this.componentDef),h,function cV(n){const t=n.toLowerCase();return"svg"===t?"svg":"math"===t?"math":null}(h)),D=this.componentDef.onPush?576:528,k=function CT(n,t){return{components:[],scheduler:n||yB,clean:fj,playerHandler:t||null,flags:0}}(),Y=pf(0,null,null,1,0,null,null,null,null,null),oe=Yh(null,Y,k,D,null,null,o,l,a,s);let Ne,$e;Tu(oe);try{const it=function DT(n,t,e,i,r,s){const o=e[1];e[20]=n;const l=Vu(o,20,2,"#host",null),h=l.mergedAttrs=t.hostAttrs;null!==h&&(ff(l,h,!0),null!==n&&(Lu(r,n,h),null!==l.classes&&qv(r,n,l.classes),null!==l.styles&&dC(r,n,l.styles)));const f=i.createRenderer(n,t),D=Yh(e,zC(t),null,t.onPush?64:16,e[20],l,i,f,s||null,null);return o.firstCreatePass&&(Ll(Tc(l,e),o,t.type),JC(o,l),eT(l,e.length,1)),mf(e,D),e[20]=D}(f,this.componentDef,oe,o,l);if(f)if(i)Lu(l,f,["ng-version",aV.full]);else{const{attrs:qe,classes:Rt}=function RB(n){const t=[],e=[];let i=1,r=2;for(;i0&&qv(l,f,Rt.join(" "))}if($e=fh(Y,20),void 0!==e){const qe=$e.projection=[];for(let Rt=0;Rtl(o,t)),t.contentQueries){const l=gr();t.contentQueries(1,o,l.directiveStart)}const a=gr();return!s.firstCreatePass||null===t.hostBindings&&null===t.hostAttrs||(pa(a.index),ZC(e[1],a,0,a.directiveStart,a.directiveEnd,t),XC(t,o)),o}(it,this.componentDef,oe,k,[Pj]),Hh(Y,oe,null)}finally{Su()}return new hV(this.componentType,Ne,ad($e,oe),oe,$e)}}class hV extends class JH{}{constructor(t,e,i,r,s){super(),this.location=i,this._rootLView=r,this._tNode=s,this.instance=e,this.hostView=this.changeDetectorRef=new lV(r),this.componentType=t}get injector(){return new Ol(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}}class el{}class uk{}const ld=new Map;class pk extends el{constructor(t,e){super(),this._parent=e,this._bootstrapComponents=[],this.injector=this,this.destroyCbs=[],this.componentFactoryResolver=new lk(this);const i=xs(t);this._bootstrapComponents=ba(i.bootstrap),this._r3Injector=hT(t,e,[{provide:el,useValue:this},{provide:Hl,useValue:this.componentFactoryResolver}],Qe(t)),this._r3Injector._resolveInjectorDefTypes(),this.instance=this.get(t)}get(t,e=qi.THROW_IF_NOT_FOUND,i=En.Default){return t===qi||t===el||t===bb?this:this._r3Injector.get(t,e,i)}destroy(){const t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(e=>e()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}}class Gb extends uk{constructor(t){super(),this.moduleType=t,null!==xs(t)&&function mV(n){const t=new Set;!function e(i){const r=xs(i,!0),s=r.id;null!==s&&(function dk(n,t,e){if(t&&t!==e)throw new Error(`Duplicate module registered for ${n} - ${Qe(t)} vs ${Qe(t.name)}`)}(s,ld.get(s),i),ld.set(s,i));const o=ba(r.imports);for(const a of o)t.has(a)||(t.add(a),e(a))}(n)}(t)}create(t){return new pk(this.moduleType,t)}}function kf(n,t,e){const i=Ur()+n,r=At();return r[i]===zn?Ma(r,i,e?t.call(e):t()):function Uh(n,t){return n[t]}(r,i)}function $o(n,t,e,i){return mk(At(),Ur(),n,t,e,i)}function $b(n,t,e,i,r){return function fk(n,t,e,i,r,s,o){const a=t+e;return Oc(n,a,r,s)?Ma(n,a+2,o?i.call(o,r,s):i(r,s)):Jh(n,a+2)}(At(),Ur(),n,t,e,i,r)}function Jh(n,t){const e=n[t];return e===zn?void 0:e}function mk(n,t,e,i,r,s){const o=t+e;return as(n,o,r)?Ma(n,o+1,s?i.call(s,r):i(r)):Jh(n,o+1)}function ls(n,t){const e=oi();let i;const r=n+20;e.firstCreatePass?(i=function MV(n,t){if(t)for(let e=t.length-1;e>=0;e--){const i=t[e];if(n===i.name)return i}}(t,e.pipeRegistry),e.data[r]=i,i.onDestroy&&(e.destroyHooks||(e.destroyHooks=[])).push(r,i.onDestroy)):i=e.data[r];const s=i.factory||(i.factory=Po(i.type)),o=lr(M);try{const a=Pu(!1),l=s();return Pu(a),function $j(n,t,e,i){e>=n.data.length&&(n.data[e]=null,n.blueprint[e]=null),t[e]=i}(e,At(),r,l),l}finally{lr(o)}}function cs(n,t,e){const i=n+20,r=At(),s=kl(r,i);return function ep(n,t){return n[1].data[t].pure}(r,i)?mk(r,Ur(),t,s.transform,e,s):s.transform(e)}function Wb(n){return t=>{setTimeout(n,void 0,t)}}const jt=class SV extends K{constructor(t=!1){super(),this.__isAsync=t}emit(t){super.next(t)}subscribe(t,e,i){var r,s,o;let a=t,l=e||(()=>null),h=i;if(t&&"object"==typeof t){const D=t;a=null===(r=D.next)||void 0===r?void 0:r.bind(D),l=null===(s=D.error)||void 0===s?void 0:s.bind(D),h=null===(o=D.complete)||void 0===o?void 0:o.bind(D)}this.__isAsync&&(l=Wb(l),a&&(a=Wb(a)),h&&(h=Wb(h)));const f=super.subscribe({next:a,error:l,complete:h});return t instanceof P&&t.add(f),f}};function kV(){return this._results[$u()]()}class Vl{constructor(t=!1){this._emitDistinctChangesOnly=t,this.dirty=!0,this._results=[],this._changesDetected=!1,this._changes=null,this.length=0,this.first=void 0,this.last=void 0;const e=$u(),i=Vl.prototype;i[e]||(i[e]=kV)}get changes(){return this._changes||(this._changes=new jt)}get(t){return this._results[t]}map(t){return this._results.map(t)}filter(t){return this._results.filter(t)}find(t){return this._results.find(t)}reduce(t,e){return this._results.reduce(t,e)}forEach(t){this._results.forEach(t)}some(t){return this._results.some(t)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(t,e){const i=this;i.dirty=!1;const r=je(t);(this._changesDetected=!function Z(n,t,e){if(n.length!==t.length)return!1;for(let i=0;i{class n{}return n.__NG_ELEMENT_ID__=AV,n})();const xV=Wi,IV=class extends xV{constructor(t,e,i){super(),this._declarationLView=t,this._declarationTContainer=e,this.elementRef=i}createEmbeddedView(t){const e=this._declarationTContainer.tViews,i=Yh(this._declarationLView,e,t,16,null,e.declTNode,null,null,null,null);i[17]=this._declarationLView[this._declarationTContainer.index];const s=this._declarationLView[19];return null!==s&&(i[19]=s.createEmbeddedView(e)),Hh(e,i,t),new Xh(i)}};function AV(){return xf(gr(),At())}function xf(n,t){return 4&n.type?new IV(t,n,ad(n,t)):null}let Si=(()=>{class n{}return n.__NG_ELEMENT_ID__=RV,n})();function RV(){return wk(gr(),At())}const LV=Si,vk=class extends LV{constructor(t,e,i){super(),this._lContainer=t,this._hostTNode=e,this._hostLView=i}get element(){return ad(this._hostTNode,this._hostLView)}get injector(){return new Ol(this._hostTNode,this._hostLView)}get parentInjector(){const t=Sc(this._hostTNode,this._hostLView);if(Eh(t)){const e=Rl(t,this._hostLView),i=ma(t);return new Ol(e[1].data[i+8],e)}return new Ol(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const e=bk(this._lContainer);return null!==e&&e[t]||null}get length(){return this._lContainer.length-10}createEmbeddedView(t,e,i){const r=t.createEmbeddedView(e||{});return this.insert(r,i),r}createComponent(t,e,i,r,s){const o=t&&!function T(n){return"function"==typeof n}(t);let a;if(o)a=e;else{const D=e||{};a=D.index,i=D.injector,r=D.projectableNodes,s=D.ngModuleRef}const l=o?t:new zb(Lr(t)),h=i||this.parentInjector;if(!s&&null==l.ngModule){const k=(o?h:this.parentInjector).get(el,null);k&&(s=k)}const f=l.create(h,r,void 0,s);return this.insert(f.hostView,a),f}insert(t,e){const i=t._lView,r=i[1];if(function Zy(n){return qs(n[3])}(i)){const f=this.indexOf(t);if(-1!==f)this.detach(f);else{const D=i[3],k=new vk(D,D[6],D[3]);k.detach(k.indexOf(t))}}const s=this._adjustIndex(e),o=this._lContainer;!function E2(n,t,e,i){const r=10+i,s=e.length;i>0&&(e[r-1][4]=t),i0)i.push(o[a/2]);else{const h=s[a+1],f=t[-l];for(let D=10;D({bindingPropertyName:n})),s3=xc("Output",n=>({bindingPropertyName:n})),o3=xc("HostBinding",n=>({hostPropertyName:n}));function Rf(...n){}const ow=new ht("Application Initializer");let aw=(()=>{class n{constructor(e){this.appInits=e,this.resolve=Rf,this.reject=Rf,this.initialized=!1,this.done=!1,this.donePromise=new Promise((i,r)=>{this.resolve=i,this.reject=r})}runInitializers(){if(this.initialized)return;const e=[],i=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let r=0;r{s.subscribe({complete:a,error:l})});e.push(o)}}Promise.all(e).then(()=>{i()}).catch(r=>{this.reject(r)}),0===e.length&&i(),this.initialized=!0}}return n.\u0275fac=function(e){return new(e||n)(Se(ow,8))},n.\u0275prov=Ee({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const np=new ht("AppId",{providedIn:"root",factory:function qk(){return`${lw()}${lw()}${lw()}`}});function lw(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const Uk=new ht("Platform Initializer"),ip=new ht("Platform ID",{providedIn:"platform",factory:()=>"unknown"}),zk=new ht("appBootstrapListener");let a3=(()=>{class n{log(e){console.log(e)}warn(e){console.warn(e)}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=Ee({token:n,factory:n.\u0275fac,providedIn:"platform"}),n})();const tl=new ht("LocaleId",{providedIn:"root",factory:()=>Ah(tl,En.Optional|En.SkipSelf)||function l3(){return"undefined"!=typeof $localize&&$localize.locale||Mf}()});class u3{constructor(t,e){this.ngModuleFactory=t,this.componentFactories=e}}let Gk=(()=>{class n{compileModuleSync(e){return new Gb(e)}compileModuleAsync(e){return Promise.resolve(this.compileModuleSync(e))}compileModuleAndAllComponentsSync(e){const i=this.compileModuleSync(e),s=ba(xs(e).declarations).reduce((o,a)=>{const l=Lr(a);return l&&o.push(new zb(l)),o},[]);return new u3(i,s)}compileModuleAndAllComponentsAsync(e){return Promise.resolve(this.compileModuleAndAllComponentsSync(e))}clearCache(){}clearCacheFor(e){}getModuleId(e){}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=Ee({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const h3=(()=>Promise.resolve(0))();function cw(n){"undefined"==typeof Zone?h3.then(()=>{n&&n.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",n)}class yn{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:e=!1,shouldCoalesceRunChangeDetection:i=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new jt(!1),this.onMicrotaskEmpty=new jt(!1),this.onStable=new jt(!1),this.onError=new jt(!1),"undefined"==typeof Zone)throw new Error("In this configuration Angular requires Zone.js");Zone.assertZonePatched();const r=this;r._nesting=0,r._outer=r._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(r._inner=r._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(r._inner=r._inner.fork(Zone.longStackTraceZoneSpec)),r.shouldCoalesceEventChangeDetection=!i&&e,r.shouldCoalesceRunChangeDetection=i,r.lastRequestAnimationFrameId=-1,r.nativeRequestAnimationFrame=function p3(){let n=Ei.requestAnimationFrame,t=Ei.cancelAnimationFrame;if("undefined"!=typeof Zone&&n&&t){const e=n[Zone.__symbol__("OriginalDelegate")];e&&(n=e);const i=t[Zone.__symbol__("OriginalDelegate")];i&&(t=i)}return{nativeRequestAnimationFrame:n,nativeCancelAnimationFrame:t}}().nativeRequestAnimationFrame,function g3(n){const t=()=>{!function f3(n){n.isCheckStableRunning||-1!==n.lastRequestAnimationFrameId||(n.lastRequestAnimationFrameId=n.nativeRequestAnimationFrame.call(Ei,()=>{n.fakeTopEventTask||(n.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{n.lastRequestAnimationFrameId=-1,dw(n),n.isCheckStableRunning=!0,uw(n),n.isCheckStableRunning=!1},void 0,()=>{},()=>{})),n.fakeTopEventTask.invoke()}),dw(n))}(n)};n._inner=n._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(e,i,r,s,o,a)=>{try{return $k(n),e.invokeTask(r,s,o,a)}finally{(n.shouldCoalesceEventChangeDetection&&"eventTask"===s.type||n.shouldCoalesceRunChangeDetection)&&t(),Wk(n)}},onInvoke:(e,i,r,s,o,a,l)=>{try{return $k(n),e.invoke(r,s,o,a,l)}finally{n.shouldCoalesceRunChangeDetection&&t(),Wk(n)}},onHasTask:(e,i,r,s)=>{e.hasTask(r,s),i===r&&("microTask"==s.change?(n._hasPendingMicrotasks=s.microTask,dw(n),uw(n)):"macroTask"==s.change&&(n.hasPendingMacrotasks=s.macroTask))},onHandleError:(e,i,r,s)=>(e.handleError(r,s),n.runOutsideAngular(()=>n.onError.emit(s)),!1)})}(r)}static isInAngularZone(){return"undefined"!=typeof Zone&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!yn.isInAngularZone())throw new Error("Expected to be in Angular Zone, but it is not!")}static assertNotInAngularZone(){if(yn.isInAngularZone())throw new Error("Expected to not be in Angular Zone, but it is!")}run(t,e,i){return this._inner.run(t,e,i)}runTask(t,e,i,r){const s=this._inner,o=s.scheduleEventTask("NgZoneEvent: "+r,t,m3,Rf,Rf);try{return s.runTask(o,e,i)}finally{s.cancelTask(o)}}runGuarded(t,e,i){return this._inner.runGuarded(t,e,i)}runOutsideAngular(t){return this._outer.run(t)}}const m3={};function uw(n){if(0==n._nesting&&!n.hasPendingMicrotasks&&!n.isStable)try{n._nesting++,n.onMicrotaskEmpty.emit(null)}finally{if(n._nesting--,!n.hasPendingMicrotasks)try{n.runOutsideAngular(()=>n.onStable.emit(null))}finally{n.isStable=!0}}}function dw(n){n.hasPendingMicrotasks=!!(n._hasPendingMicrotasks||(n.shouldCoalesceEventChangeDetection||n.shouldCoalesceRunChangeDetection)&&-1!==n.lastRequestAnimationFrameId)}function $k(n){n._nesting++,n.isStable&&(n.isStable=!1,n.onUnstable.emit(null))}function Wk(n){n._nesting--,uw(n)}class _3{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new jt,this.onMicrotaskEmpty=new jt,this.onStable=new jt,this.onError=new jt}run(t,e,i){return t.apply(e,i)}runGuarded(t,e,i){return t.apply(e,i)}runOutsideAngular(t){return t()}runTask(t,e,i,r){return t.apply(e,i)}}let hw=(()=>{class n{constructor(e){this._ngZone=e,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,this._watchAngularEvents(),e.run(()=>{this.taskTrackingZone="undefined"==typeof Zone?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._didWork=!0,this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{yn.assertNotInAngularZone(),cw(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}increasePendingRequestCount(){return this._pendingCount+=1,this._didWork=!0,this._pendingCount}decreasePendingRequestCount(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount}isStable(){return this._isZoneStable&&0===this._pendingCount&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())cw(()=>{for(;0!==this._callbacks.length;){let e=this._callbacks.pop();clearTimeout(e.timeoutId),e.doneCb(this._didWork)}this._didWork=!1});else{let e=this.getPendingTasks();this._callbacks=this._callbacks.filter(i=>!i.updateCb||!i.updateCb(e)||(clearTimeout(i.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(e=>({source:e.source,creationLocation:e.creationLocation,data:e.data})):[]}addCallback(e,i,r){let s=-1;i&&i>0&&(s=setTimeout(()=>{this._callbacks=this._callbacks.filter(o=>o.timeoutId!==s),e(this._didWork,this.getPendingTasks())},i)),this._callbacks.push({doneCb:e,timeoutId:s,updateCb:r})}whenStable(e,i,r){if(r&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(e,i,r),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}findProviders(e,i,r){return[]}}return n.\u0275fac=function(e){return new(e||n)(Se(yn))},n.\u0275prov=Ee({token:n,factory:n.\u0275fac}),n})(),y3=(()=>{class n{constructor(){this._applications=new Map,pw.addToWindow(this)}registerApplication(e,i){this._applications.set(e,i)}unregisterApplication(e){this._applications.delete(e)}unregisterAllApplications(){this._applications.clear()}getTestability(e){return this._applications.get(e)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(e,i=!0){return pw.findTestabilityInTree(this,e,i)}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=Ee({token:n,factory:n.\u0275fac,providedIn:"platform"}),n})();class v3{addToWindow(t){}findTestabilityInTree(t,e,i){return null}}let pw=new v3,Nc=null;const Qk=new ht("AllowMultipleToken"),Kk=new ht("PlatformOnDestroy");class Zk{constructor(t,e){this.name=t,this.token=e}}function Xk(n,t,e=[]){const i=`Platform: ${t}`,r=new ht(i);return(s=[])=>{let o=mw();if(!o||o.injector.get(Qk,!1)){const a=[...e,...s,{provide:r,useValue:!0}];n?n(a):function D3(n){if(Nc&&!Nc.get(Qk,!1))throw new W(400,"");Nc=n;const t=n.get(Jk),e=n.get(Uk,null);e&&e.forEach(i=>i())}(function C3(n=[],t){return qi.create({name:t,providers:[{provide:wb,useValue:"platform"},{provide:Kk,useValue:()=>Nc=null},...n]})}(a,i))}return function E3(n){const t=mw();if(!t)throw new W(401,"");return t}()}}function mw(){var n;return null!==(n=null==Nc?void 0:Nc.get(Jk))&&void 0!==n?n:null}let Jk=(()=>{class n{constructor(e){this._injector=e,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(e,i){const a=function T3(n,t){let e;return e="noop"===n?new _3:("zone.js"===n?void 0:n)||new yn({enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:!!(null==t?void 0:t.ngZoneEventCoalescing),shouldCoalesceRunChangeDetection:!!(null==t?void 0:t.ngZoneRunCoalescing)}),e}(i?i.ngZone:void 0,{ngZoneEventCoalescing:i&&i.ngZoneEventCoalescing||!1,ngZoneRunCoalescing:i&&i.ngZoneRunCoalescing||!1}),l=[{provide:yn,useValue:a}];return a.run(()=>{const h=qi.create({providers:l,parent:this.injector,name:e.moduleType.name}),f=e.create(h),D=f.injector.get(Ka,null);if(!D)throw new W(402,"");return a.runOutsideAngular(()=>{const k=a.onError.subscribe({next:Y=>{D.handleError(Y)}});f.onDestroy(()=>{fw(this._modules,f),k.unsubscribe()})}),function S3(n,t,e){try{const i=e();return zh(i)?i.catch(r=>{throw t.runOutsideAngular(()=>n.handleError(r)),r}):i}catch(i){throw t.runOutsideAngular(()=>n.handleError(i)),i}}(D,a,()=>{const k=f.injector.get(aw);return k.runInitializers(),k.donePromise.then(()=>(function rH(n){A(n,"Expected localeId to be defined"),"string"==typeof n&&(PS=n.toLowerCase().replace(/_/g,"-"))}(f.injector.get(tl,Mf)||Mf),this._moduleDoBootstrap(f),f))})})}bootstrapModule(e,i=[]){const r=ex({},i);return function w3(n,t,e){const i=new Gb(e);return Promise.resolve(i)}(0,0,e).then(s=>this.bootstrapModuleFactory(s,r))}_moduleDoBootstrap(e){const i=e.injector.get(Lf);if(e._bootstrapComponents.length>0)e._bootstrapComponents.forEach(r=>i.bootstrap(r));else{if(!e.instance.ngDoBootstrap)throw new W(403,"");e.instance.ngDoBootstrap(i)}this._modules.push(e)}onDestroy(e){this._destroyListeners.push(e)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new W(404,"");this._modules.slice().forEach(i=>i.destroy()),this._destroyListeners.forEach(i=>i());const e=this._injector.get(Kk,null);null==e||e(),this._destroyed=!0}get destroyed(){return this._destroyed}}return n.\u0275fac=function(e){return new(e||n)(Se(qi))},n.\u0275prov=Ee({token:n,factory:n.\u0275fac,providedIn:"platform"}),n})();function ex(n,t){return Array.isArray(t)?t.reduce(ex,n):Object.assign(Object.assign({},n),t)}let Lf=(()=>{class n{constructor(e,i,r,s){this._zone=e,this._injector=i,this._exceptionHandler=r,this._initStatus=s,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._stable=!0,this.componentTypes=[],this.components=[],this._onMicrotaskEmptySubscription=this._zone.onMicrotaskEmpty.subscribe({next:()=>{this._zone.run(()=>{this.tick()})}});const o=new st(l=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{l.next(this._stable),l.complete()})}),a=new st(l=>{let h;this._zone.runOutsideAngular(()=>{h=this._zone.onStable.subscribe(()=>{yn.assertNotInAngularZone(),cw(()=>{!this._stable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks&&(this._stable=!0,l.next(!0))})})});const f=this._zone.onUnstable.subscribe(()=>{yn.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{l.next(!1)}))});return()=>{h.unsubscribe(),f.unsubscribe()}});this.isStable=at(o,a.pipe(Ie()))}bootstrap(e,i){if(!this._initStatus.done)throw new W(405,"");let r;r=e instanceof ok?e:this._injector.get(Hl).resolveComponentFactory(e),this.componentTypes.push(r.componentType);const s=function M3(n){return n.isBoundToModule}(r)?void 0:this._injector.get(el),a=r.create(qi.NULL,[],i||r.selector,s),l=a.location.nativeElement,h=a.injector.get(hw,null),f=h&&a.injector.get(y3);return h&&f&&f.registerApplication(l,h),a.onDestroy(()=>{this.detachView(a.hostView),fw(this.components,a),f&&f.unregisterApplication(l)}),this._loadComponent(a),a}tick(){if(this._runningTick)throw new W(101,"");try{this._runningTick=!0;for(let e of this._views)e.detectChanges()}catch(e){this._zone.runOutsideAngular(()=>this._exceptionHandler.handleError(e))}finally{this._runningTick=!1}}attachView(e){const i=e;this._views.push(i),i.attachToAppRef(this)}detachView(e){const i=e;fw(this._views,i),i.detachFromAppRef()}_loadComponent(e){this.attachView(e.hostView),this.tick(),this.components.push(e),this._injector.get(zk,[]).concat(this._bootstrapListeners).forEach(r=>r(e))}ngOnDestroy(){this._views.slice().forEach(e=>e.destroy()),this._onMicrotaskEmptySubscription.unsubscribe()}get viewCount(){return this._views.length}}return n.\u0275fac=function(e){return new(e||n)(Se(yn),Se(qi),Se(Ka),Se(aw))},n.\u0275prov=Ee({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();function fw(n,t){const e=n.indexOf(t);e>-1&&n.splice(e,1)}let nx=!0,Gn=(()=>{class n{}return n.__NG_ELEMENT_ID__=I3,n})();function I3(n){return function A3(n,t,e){if(bu(n)&&!e){const i=gs(n.index,t);return new Xh(i,i)}return 47&n.type?new Xh(t[16],t):null}(gr(),At(),16==(16&n))}class ax{constructor(){}supports(t){return qh(t)}create(t){return new N3(t)}}const F3=(n,t)=>t;class N3{constructor(t){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=t||F3}forEachItem(t){let e;for(e=this._itHead;null!==e;e=e._next)t(e)}forEachOperation(t){let e=this._itHead,i=this._removalsHead,r=0,s=null;for(;e||i;){const o=!i||e&&e.currentIndex{o=this._trackByFn(r,a),null!==e&&Object.is(e.trackById,o)?(i&&(e=this._verifyReinsertion(e,a,o,r)),Object.is(e.item,a)||this._addIdentityChange(e,a)):(e=this._mismatch(e,a,o,r),i=!0),e=e._next,r++}),this.length=r;return this._truncate(e),this.collection=t,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let t;for(t=this._previousItHead=this._itHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._additionsHead;null!==t;t=t._nextAdded)t.previousIndex=t.currentIndex;for(this._additionsHead=this._additionsTail=null,t=this._movesHead;null!==t;t=t._nextMoved)t.previousIndex=t.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(t,e,i,r){let s;return null===t?s=this._itTail:(s=t._prev,this._remove(t)),null!==(t=null===this._unlinkedRecords?null:this._unlinkedRecords.get(i,null))?(Object.is(t.item,e)||this._addIdentityChange(t,e),this._reinsertAfter(t,s,r)):null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(i,r))?(Object.is(t.item,e)||this._addIdentityChange(t,e),this._moveAfter(t,s,r)):t=this._addAfter(new B3(e,i),s,r),t}_verifyReinsertion(t,e,i,r){let s=null===this._unlinkedRecords?null:this._unlinkedRecords.get(i,null);return null!==s?t=this._reinsertAfter(s,t._prev,r):t.currentIndex!=r&&(t.currentIndex=r,this._addToMoves(t,r)),t}_truncate(t){for(;null!==t;){const e=t._next;this._addToRemovals(this._unlink(t)),t=e}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(t,e,i){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(t);const r=t._prevRemoved,s=t._nextRemoved;return null===r?this._removalsHead=s:r._nextRemoved=s,null===s?this._removalsTail=r:s._prevRemoved=r,this._insertAfter(t,e,i),this._addToMoves(t,i),t}_moveAfter(t,e,i){return this._unlink(t),this._insertAfter(t,e,i),this._addToMoves(t,i),t}_addAfter(t,e,i){return this._insertAfter(t,e,i),this._additionsTail=null===this._additionsTail?this._additionsHead=t:this._additionsTail._nextAdded=t,t}_insertAfter(t,e,i){const r=null===e?this._itHead:e._next;return t._next=r,t._prev=e,null===r?this._itTail=t:r._prev=t,null===e?this._itHead=t:e._next=t,null===this._linkedRecords&&(this._linkedRecords=new lx),this._linkedRecords.put(t),t.currentIndex=i,t}_remove(t){return this._addToRemovals(this._unlink(t))}_unlink(t){null!==this._linkedRecords&&this._linkedRecords.remove(t);const e=t._prev,i=t._next;return null===e?this._itHead=i:e._next=i,null===i?this._itTail=e:i._prev=e,t}_addToMoves(t,e){return t.previousIndex===e||(this._movesTail=null===this._movesTail?this._movesHead=t:this._movesTail._nextMoved=t),t}_addToRemovals(t){return null===this._unlinkedRecords&&(this._unlinkedRecords=new lx),this._unlinkedRecords.put(t),t.currentIndex=null,t._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=t,t._prevRemoved=null):(t._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=t),t}_addIdentityChange(t,e){return t.item=e,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=t:this._identityChangesTail._nextIdentityChange=t,t}}class B3{constructor(t,e){this.item=t,this.trackById=e,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}}class j3{constructor(){this._head=null,this._tail=null}add(t){null===this._head?(this._head=this._tail=t,t._nextDup=null,t._prevDup=null):(this._tail._nextDup=t,t._prevDup=this._tail,t._nextDup=null,this._tail=t)}get(t,e){let i;for(i=this._head;null!==i;i=i._nextDup)if((null===e||e<=i.currentIndex)&&Object.is(i.trackById,t))return i;return null}remove(t){const e=t._prevDup,i=t._nextDup;return null===e?this._head=i:e._nextDup=i,null===i?this._tail=e:i._prevDup=e,null===this._head}}class lx{constructor(){this.map=new Map}put(t){const e=t.trackById;let i=this.map.get(e);i||(i=new j3,this.map.set(e,i)),i.add(t)}get(t,e){const r=this.map.get(t);return r?r.get(t,e):null}remove(t){const e=t.trackById;return this.map.get(e).remove(t)&&this.map.delete(e),t}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function cx(n,t,e){const i=n.previousIndex;if(null===i)return i;let r=0;return e&&i{if(e&&e.key===r)this._maybeAddToChanges(e,i),this._appendAfter=e,e=e._next;else{const s=this._getOrCreateRecordForKey(r,i);e=this._insertBeforeOrAppend(e,s)}}),e){e._prev&&(e._prev._next=null),this._removalsHead=e;for(let i=e;null!==i;i=i._nextRemoved)i===this._mapHead&&(this._mapHead=null),this._records.delete(i.key),i._nextRemoved=i._next,i.previousValue=i.currentValue,i.currentValue=null,i._prev=null,i._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(t,e){if(t){const i=t._prev;return e._next=t,e._prev=i,t._prev=e,i&&(i._next=e),t===this._mapHead&&(this._mapHead=e),this._appendAfter=t,t}return this._appendAfter?(this._appendAfter._next=e,e._prev=this._appendAfter):this._mapHead=e,this._appendAfter=e,null}_getOrCreateRecordForKey(t,e){if(this._records.has(t)){const r=this._records.get(t);this._maybeAddToChanges(r,e);const s=r._prev,o=r._next;return s&&(s._next=o),o&&(o._prev=s),r._next=null,r._prev=null,r}const i=new H3(t);return this._records.set(t,i),i.currentValue=e,this._addToAdditions(i),i}_reset(){if(this.isDirty){let t;for(this._previousMapHead=this._mapHead,t=this._previousMapHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._changesHead;null!==t;t=t._nextChanged)t.previousValue=t.currentValue;for(t=this._additionsHead;null!=t;t=t._nextAdded)t.previousValue=t.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(t,e){Object.is(e,t.currentValue)||(t.previousValue=t.currentValue,t.currentValue=e,this._addToChanges(t))}_addToAdditions(t){null===this._additionsHead?this._additionsHead=this._additionsTail=t:(this._additionsTail._nextAdded=t,this._additionsTail=t)}_addToChanges(t){null===this._changesHead?this._changesHead=this._changesTail=t:(this._changesTail._nextChanged=t,this._changesTail=t)}_forEach(t,e){t instanceof Map?t.forEach(e):Object.keys(t).forEach(i=>e(t[i],i))}}class H3{constructor(t){this.key=t,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}}function dx(){return new _o([new ax])}let _o=(()=>{class n{constructor(e){this.factories=e}static create(e,i){if(null!=i){const r=i.factories.slice();e=e.concat(r)}return new n(e)}static extend(e){return{provide:n,useFactory:i=>n.create(e,i||dx()),deps:[[n,new mo,new yr]]}}find(e){const i=this.factories.find(r=>r.supports(e));if(null!=i)return i;throw new W(901,"")}}return n.\u0275prov=Ee({token:n,providedIn:"root",factory:dx}),n})();function hx(){return new rp([new ux])}let rp=(()=>{class n{constructor(e){this.factories=e}static create(e,i){if(i){const r=i.factories.slice();e=e.concat(r)}return new n(e)}static extend(e){return{provide:n,useFactory:i=>n.create(e,i||hx()),deps:[[n,new mo,new yr]]}}find(e){const i=this.factories.find(s=>s.supports(e));if(i)return i;throw new W(901,"")}}return n.\u0275prov=Ee({token:n,providedIn:"root",factory:hx}),n})();const U3=Xk(null,"core",[]);let z3=(()=>{class n{constructor(e){}}return n.\u0275fac=function(e){return new(e||n)(Se(Lf))},n.\u0275mod=Yt({type:n}),n.\u0275inj=He({}),n})(),Ff=null;function Sa(){return Ff}const Dn=new ht("DocumentToken");let jc=(()=>{class n{historyGo(e){throw new Error("Not implemented")}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=Ee({token:n,factory:function(){return function Q3(){return Se(px)}()},providedIn:"platform"}),n})();const K3=new ht("Location Initialized");let px=(()=>{class n extends jc{constructor(e){super(),this._doc=e,this._init()}_init(){this.location=window.location,this._history=window.history}getBaseHrefFromDOM(){return Sa().getBaseHref(this._doc)}onPopState(e){const i=Sa().getGlobalEventTarget(this._doc,"window");return i.addEventListener("popstate",e,!1),()=>i.removeEventListener("popstate",e)}onHashChange(e){const i=Sa().getGlobalEventTarget(this._doc,"window");return i.addEventListener("hashchange",e,!1),()=>i.removeEventListener("hashchange",e)}get href(){return this.location.href}get protocol(){return this.location.protocol}get hostname(){return this.location.hostname}get port(){return this.location.port}get pathname(){return this.location.pathname}get search(){return this.location.search}get hash(){return this.location.hash}set pathname(e){this.location.pathname=e}pushState(e,i,r){mx()?this._history.pushState(e,i,r):this.location.hash=r}replaceState(e,i,r){mx()?this._history.replaceState(e,i,r):this.location.hash=r}forward(){this._history.forward()}back(){this._history.back()}historyGo(e=0){this._history.go(e)}getState(){return this._history.state}}return n.\u0275fac=function(e){return new(e||n)(Se(Dn))},n.\u0275prov=Ee({token:n,factory:function(){return function Z3(){return new px(Se(Dn))}()},providedIn:"platform"}),n})();function mx(){return!!window.history.pushState}function bw(n,t){if(0==n.length)return t;if(0==t.length)return n;let e=0;return n.endsWith("/")&&e++,t.startsWith("/")&&e++,2==e?n+t.substring(1):1==e?n+t:n+"/"+t}function fx(n){const t=n.match(/#|\?|$/),e=t&&t.index||n.length;return n.slice(0,e-("/"===n[e-1]?1:0))+n.slice(e)}function nl(n){return n&&"?"!==n[0]?"?"+n:n}let dd=(()=>{class n{historyGo(e){throw new Error("Not implemented")}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=Ee({token:n,factory:function(){return function X3(n){const t=Se(Dn).location;return new gx(Se(jc),t&&t.origin||"")}()},providedIn:"root"}),n})();const ww=new ht("appBaseHref");let gx=(()=>{class n extends dd{constructor(e,i){if(super(),this._platformLocation=e,this._removeListenerFns=[],null==i&&(i=this._platformLocation.getBaseHrefFromDOM()),null==i)throw new Error("No base href set. Please provide a value for the APP_BASE_HREF token or add a base element to the document.");this._baseHref=i}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(e){this._removeListenerFns.push(this._platformLocation.onPopState(e),this._platformLocation.onHashChange(e))}getBaseHref(){return this._baseHref}prepareExternalUrl(e){return bw(this._baseHref,e)}path(e=!1){const i=this._platformLocation.pathname+nl(this._platformLocation.search),r=this._platformLocation.hash;return r&&e?`${i}${r}`:i}pushState(e,i,r,s){const o=this.prepareExternalUrl(r+nl(s));this._platformLocation.pushState(e,i,o)}replaceState(e,i,r,s){const o=this.prepareExternalUrl(r+nl(s));this._platformLocation.replaceState(e,i,o)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}historyGo(e=0){var i,r;null===(r=(i=this._platformLocation).historyGo)||void 0===r||r.call(i,e)}}return n.\u0275fac=function(e){return new(e||n)(Se(jc),Se(ww,8))},n.\u0275prov=Ee({token:n,factory:n.\u0275fac}),n})(),J3=(()=>{class n extends dd{constructor(e,i){super(),this._platformLocation=e,this._baseHref="",this._removeListenerFns=[],null!=i&&(this._baseHref=i)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(e){this._removeListenerFns.push(this._platformLocation.onPopState(e),this._platformLocation.onHashChange(e))}getBaseHref(){return this._baseHref}path(e=!1){let i=this._platformLocation.hash;return null==i&&(i="#"),i.length>0?i.substring(1):i}prepareExternalUrl(e){const i=bw(this._baseHref,e);return i.length>0?"#"+i:i}pushState(e,i,r,s){let o=this.prepareExternalUrl(r+nl(s));0==o.length&&(o=this._platformLocation.pathname),this._platformLocation.pushState(e,i,o)}replaceState(e,i,r,s){let o=this.prepareExternalUrl(r+nl(s));0==o.length&&(o=this._platformLocation.pathname),this._platformLocation.replaceState(e,i,o)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}historyGo(e=0){var i,r;null===(r=(i=this._platformLocation).historyGo)||void 0===r||r.call(i,e)}}return n.\u0275fac=function(e){return new(e||n)(Se(jc),Se(ww,8))},n.\u0275prov=Ee({token:n,factory:n.\u0275fac}),n})(),Yc=(()=>{class n{constructor(e,i){this._subject=new jt,this._urlChangeListeners=[],this._platformStrategy=e;const r=this._platformStrategy.getBaseHref();this._platformLocation=i,this._baseHref=fx(_x(r)),this._platformStrategy.onPopState(s=>{this._subject.emit({url:this.path(!0),pop:!0,state:s.state,type:s.type})})}path(e=!1){return this.normalize(this._platformStrategy.path(e))}getState(){return this._platformLocation.getState()}isCurrentPathEqualTo(e,i=""){return this.path()==this.normalize(e+nl(i))}normalize(e){return n.stripTrailingSlash(function tq(n,t){return n&&t.startsWith(n)?t.substring(n.length):t}(this._baseHref,_x(e)))}prepareExternalUrl(e){return e&&"/"!==e[0]&&(e="/"+e),this._platformStrategy.prepareExternalUrl(e)}go(e,i="",r=null){this._platformStrategy.pushState(r,"",e,i),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+nl(i)),r)}replaceState(e,i="",r=null){this._platformStrategy.replaceState(r,"",e,i),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+nl(i)),r)}forward(){this._platformStrategy.forward()}back(){this._platformStrategy.back()}historyGo(e=0){var i,r;null===(r=(i=this._platformStrategy).historyGo)||void 0===r||r.call(i,e)}onUrlChange(e){this._urlChangeListeners.push(e),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(i=>{this._notifyUrlChangeListeners(i.url,i.state)}))}_notifyUrlChangeListeners(e="",i){this._urlChangeListeners.forEach(r=>r(e,i))}subscribe(e,i,r){return this._subject.subscribe({next:e,error:i,complete:r})}}return n.normalizeQueryParams=nl,n.joinWithSlash=bw,n.stripTrailingSlash=fx,n.\u0275fac=function(e){return new(e||n)(Se(dd),Se(jc))},n.\u0275prov=Ee({token:n,factory:function(){return function eq(){return new Yc(Se(dd),Se(jc))}()},providedIn:"root"}),n})();function _x(n){return n.replace(/\/index.html$/,"")}function Tx(n,t){t=encodeURIComponent(t);for(const e of n.split(";")){const i=e.indexOf("="),[r,s]=-1==i?[e,""]:[e.slice(0,i),e.slice(i+1)];if(r.trim()===t)return decodeURIComponent(s)}return null}let Hc=(()=>{class n{constructor(e,i,r,s){this._iterableDiffers=e,this._keyValueDiffers=i,this._ngEl=r,this._renderer=s,this._iterableDiffer=null,this._keyValueDiffer=null,this._initialClasses=[],this._rawClass=null}set klass(e){this._removeClasses(this._initialClasses),this._initialClasses="string"==typeof e?e.split(/\s+/):[],this._applyClasses(this._initialClasses),this._applyClasses(this._rawClass)}set ngClass(e){this._removeClasses(this._rawClass),this._applyClasses(this._initialClasses),this._iterableDiffer=null,this._keyValueDiffer=null,this._rawClass="string"==typeof e?e.split(/\s+/):e,this._rawClass&&(qh(this._rawClass)?this._iterableDiffer=this._iterableDiffers.find(this._rawClass).create():this._keyValueDiffer=this._keyValueDiffers.find(this._rawClass).create())}ngDoCheck(){if(this._iterableDiffer){const e=this._iterableDiffer.diff(this._rawClass);e&&this._applyIterableChanges(e)}else if(this._keyValueDiffer){const e=this._keyValueDiffer.diff(this._rawClass);e&&this._applyKeyValueChanges(e)}}_applyKeyValueChanges(e){e.forEachAddedItem(i=>this._toggleClass(i.key,i.currentValue)),e.forEachChangedItem(i=>this._toggleClass(i.key,i.currentValue)),e.forEachRemovedItem(i=>{i.previousValue&&this._toggleClass(i.key,!1)})}_applyIterableChanges(e){e.forEachAddedItem(i=>{if("string"!=typeof i.item)throw new Error(`NgClass can only toggle CSS classes expressed as strings, got ${Qe(i.item)}`);this._toggleClass(i.item,!0)}),e.forEachRemovedItem(i=>this._toggleClass(i.item,!1))}_applyClasses(e){e&&(Array.isArray(e)||e instanceof Set?e.forEach(i=>this._toggleClass(i,!0)):Object.keys(e).forEach(i=>this._toggleClass(i,!!e[i])))}_removeClasses(e){e&&(Array.isArray(e)||e instanceof Set?e.forEach(i=>this._toggleClass(i,!1)):Object.keys(e).forEach(i=>this._toggleClass(i,!1)))}_toggleClass(e,i){(e=e.trim())&&e.split(/\s+/g).forEach(r=>{i?this._renderer.addClass(this._ngEl.nativeElement,r):this._renderer.removeClass(this._ngEl.nativeElement,r)})}}return n.\u0275fac=function(e){return new(e||n)(M(_o),M(rp),M(Zt),M(Ta))},n.\u0275dir=rt({type:n,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"}}),n})();class jq{constructor(t,e,i,r){this.$implicit=t,this.ngForOf=e,this.index=i,this.count=r}get first(){return 0===this.index}get last(){return this.index===this.count-1}get even(){return this.index%2==0}get odd(){return!this.even}}let Br=(()=>{class n{constructor(e,i,r){this._viewContainer=e,this._template=i,this._differs=r,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForOf(e){this._ngForOf=e,this._ngForOfDirty=!0}set ngForTrackBy(e){this._trackByFn=e}get ngForTrackBy(){return this._trackByFn}set ngForTemplate(e){e&&(this._template=e)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const e=this._ngForOf;!this._differ&&e&&(this._differ=this._differs.find(e).create(this.ngForTrackBy))}if(this._differ){const e=this._differ.diff(this._ngForOf);e&&this._applyChanges(e)}}_applyChanges(e){const i=this._viewContainer;e.forEachOperation((r,s,o)=>{if(null==r.previousIndex)i.createEmbeddedView(this._template,new jq(r.item,this._ngForOf,-1,-1),null===o?void 0:o);else if(null==o)i.remove(null===s?void 0:s);else if(null!==s){const a=i.get(s);i.move(a,o),Sx(a,r)}});for(let r=0,s=i.length;r{Sx(i.get(r.currentIndex),r)})}static ngTemplateContextGuard(e,i){return!0}}return n.\u0275fac=function(e){return new(e||n)(M(Si),M(Wi),M(_o))},n.\u0275dir=rt({type:n,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}}),n})();function Sx(n,t){n.context.$implicit=t.item}let ai=(()=>{class n{constructor(e,i){this._viewContainer=e,this._context=new Yq,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=i}set ngIf(e){this._context.$implicit=this._context.ngIf=e,this._updateView()}set ngIfThen(e){kx("ngIfThen",e),this._thenTemplateRef=e,this._thenViewRef=null,this._updateView()}set ngIfElse(e){kx("ngIfElse",e),this._elseTemplateRef=e,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngTemplateContextGuard(e,i){return!0}}return n.\u0275fac=function(e){return new(e||n)(M(Si),M(Wi))},n.\u0275dir=rt({type:n,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}}),n})();class Yq{constructor(){this.$implicit=null,this.ngIf=null}}function kx(n,t){if(t&&!t.createEmbeddedView)throw new Error(`${n} must be a TemplateRef, but received '${Qe(t)}'.`)}const xx="browser";function ap(n){return n===xx}class Lw{constructor(t,e){this._viewContainerRef=t,this._templateRef=e,this._created=!1}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(t){t&&!this._created?this.create():!t&&this._created&&this.destroy()}}let hd=(()=>{class n{constructor(){this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}set ngSwitch(e){this._ngSwitch=e,0===this._caseCount&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(e){this._defaultViews||(this._defaultViews=[]),this._defaultViews.push(e)}_matchCase(e){const i=e==this._ngSwitch;return this._lastCasesMatched=this._lastCasesMatched||i,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),i}_updateDefaultCases(e){if(this._defaultViews&&e!==this._defaultUsed){this._defaultUsed=e;for(let i=0;i{class n{constructor(e,i,r){this.ngSwitch=r,r._addCase(),this._view=new Lw(e,i)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}}return n.\u0275fac=function(e){return new(e||n)(M(Si),M(Wi),M(hd,9))},n.\u0275dir=rt({type:n,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"}}),n})(),Ox=(()=>{class n{constructor(e,i,r){r._addDefault(new Lw(e,i))}}return n.\u0275fac=function(e){return new(e||n)(M(Si),M(Wi),M(hd,9))},n.\u0275dir=rt({type:n,selectors:[["","ngSwitchDefault",""]]}),n})(),ql=(()=>{class n{constructor(e,i,r){this._ngEl=e,this._differs=i,this._renderer=r,this._ngStyle=null,this._differ=null}set ngStyle(e){this._ngStyle=e,!this._differ&&e&&(this._differ=this._differs.find(e).create())}ngDoCheck(){if(this._differ){const e=this._differ.diff(this._ngStyle);e&&this._applyChanges(e)}}_setStyle(e,i){const[r,s]=e.split(".");null!=(i=null!=i&&s?`${i}${s}`:i)?this._renderer.setStyle(this._ngEl.nativeElement,r,i):this._renderer.removeStyle(this._ngEl.nativeElement,r)}_applyChanges(e){e.forEachRemovedItem(i=>this._setStyle(i.key,null)),e.forEachAddedItem(i=>this._setStyle(i.key,i.currentValue)),e.forEachChangedItem(i=>this._setStyle(i.key,i.currentValue))}}return n.\u0275fac=function(e){return new(e||n)(M(Zt),M(rp),M(Ta))},n.\u0275dir=rt({type:n,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"}}),n})();class _U{createSubscription(t,e){return t.subscribe({next:e,error:i=>{throw i}})}dispose(t){t.unsubscribe()}onDestroy(t){t.unsubscribe()}}class yU{createSubscription(t,e){return t.then(e,i=>{throw i})}dispose(t){}onDestroy(t){}}const vU=new yU,bU=new _U;let rl=(()=>{class n{constructor(e){this._ref=e,this._latestValue=null,this._subscription=null,this._obj=null,this._strategy=null}ngOnDestroy(){this._subscription&&this._dispose()}transform(e){return this._obj?e!==this._obj?(this._dispose(),this.transform(e)):this._latestValue:(e&&this._subscribe(e),this._latestValue)}_subscribe(e){this._obj=e,this._strategy=this._selectStrategy(e),this._subscription=this._strategy.createSubscription(e,i=>this._updateLatestValue(e,i))}_selectStrategy(e){if(zh(e))return vU;if(GT(e))return bU;throw function Qo(n,t){return new W(2100,"")}()}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(e,i){e===this._obj&&(this._latestValue=i,this._ref.markForCheck())}}return n.\u0275fac=function(e){return new(e||n)(M(Gn,16))},n.\u0275pipe=Sr({name:"async",type:n,pure:!1}),n})(),di=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Yt({type:n}),n.\u0275inj=He({}),n})(),NU=(()=>{class n{}return n.\u0275prov=Ee({token:n,providedIn:"root",factory:()=>new BU(Se(Dn),window)}),n})();class BU{constructor(t,e){this.document=t,this.window=e,this.offset=()=>[0,0]}setOffset(t){this.offset=Array.isArray(t)?()=>t:t}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(t){this.supportsScrolling()&&this.window.scrollTo(t[0],t[1])}scrollToAnchor(t){if(!this.supportsScrolling())return;const e=function jU(n,t){const e=n.getElementById(t)||n.getElementsByName(t)[0];if(e)return e;if("function"==typeof n.createTreeWalker&&n.body&&(n.body.createShadowRoot||n.body.attachShadow)){const i=n.createTreeWalker(n.body,NodeFilter.SHOW_ELEMENT);let r=i.currentNode;for(;r;){const s=r.shadowRoot;if(s){const o=s.getElementById(t)||s.querySelector(`[name="${t}"]`);if(o)return o}r=i.nextNode()}}return null}(this.document,t);e&&(this.scrollToElement(e),e.focus())}setHistoryScrollRestoration(t){if(this.supportScrollRestoration()){const e=this.window.history;e&&e.scrollRestoration&&(e.scrollRestoration=t)}}scrollToElement(t){const e=t.getBoundingClientRect(),i=e.left+this.window.pageXOffset,r=e.top+this.window.pageYOffset,s=this.offset();this.window.scrollTo(i-s[0],r-s[1])}supportScrollRestoration(){try{if(!this.supportsScrolling())return!1;const t=Nx(this.window.history)||Nx(Object.getPrototypeOf(this.window.history));return!(!t||!t.writable&&!t.set)}catch(t){return!1}}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch(t){return!1}}}function Nx(n){return Object.getOwnPropertyDescriptor(n,"scrollRestoration")}class Bx{}class Fw extends class HU extends class W3{}{constructor(){super(...arguments),this.supportsDOMEvents=!0}}{static makeCurrent(){!function $3(n){Ff||(Ff=n)}(new Fw)}onAndCancel(t,e,i){return t.addEventListener(e,i,!1),()=>{t.removeEventListener(e,i,!1)}}dispatchEvent(t,e){t.dispatchEvent(e)}remove(t){t.parentNode&&t.parentNode.removeChild(t)}createElement(t,e){return(e=e||this.getDefaultDocument()).createElement(t)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(t){return t.nodeType===Node.ELEMENT_NODE}isShadowRoot(t){return t instanceof DocumentFragment}getGlobalEventTarget(t,e){return"window"===e?window:"document"===e?t:"body"===e?t.body:null}getBaseHref(t){const e=function VU(){return cp=cp||document.querySelector("base"),cp?cp.getAttribute("href"):null}();return null==e?null:function qU(n){Qf=Qf||document.createElement("a"),Qf.setAttribute("href",n);const t=Qf.pathname;return"/"===t.charAt(0)?t:`/${t}`}(e)}resetBaseElement(){cp=null}getUserAgent(){return window.navigator.userAgent}getCookie(t){return Tx(document.cookie,t)}}let Qf,cp=null;const jx=new ht("TRANSITION_ID"),zU=[{provide:ow,useFactory:function UU(n,t,e){return()=>{e.get(aw).donePromise.then(()=>{const i=Sa(),r=t.querySelectorAll(`style[ng-transition="${n}"]`);for(let s=0;s{const s=t.findTestabilityInTree(i,r);if(null==s)throw new Error("Could not find testability for element.");return s},Ei.getAllAngularTestabilities=()=>t.getAllTestabilities(),Ei.getAllAngularRootElements=()=>t.getAllRootElements(),Ei.frameworkStabilizers||(Ei.frameworkStabilizers=[]),Ei.frameworkStabilizers.push(i=>{const r=Ei.getAllAngularTestabilities();let s=r.length,o=!1;const a=function(l){o=o||l,s--,0==s&&i(o)};r.forEach(function(l){l.whenStable(a)})})}findTestabilityInTree(t,e,i){if(null==e)return null;const r=t.getTestability(e);return null!=r?r:i?Sa().isShadowRoot(e)?this.findTestabilityInTree(t,e.host,!0):this.findTestabilityInTree(t,e.parentElement,!0):null}}let GU=(()=>{class n{build(){return new XMLHttpRequest}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=Ee({token:n,factory:n.\u0275fac}),n})();const Kf=new ht("EventManagerPlugins");let Zf=(()=>{class n{constructor(e,i){this._zone=i,this._eventNameToPlugin=new Map,e.forEach(r=>r.manager=this),this._plugins=e.slice().reverse()}addEventListener(e,i,r){return this._findPluginFor(i).addEventListener(e,i,r)}addGlobalEventListener(e,i,r){return this._findPluginFor(i).addGlobalEventListener(e,i,r)}getZone(){return this._zone}_findPluginFor(e){const i=this._eventNameToPlugin.get(e);if(i)return i;const r=this._plugins;for(let s=0;s{class n{constructor(){this._stylesSet=new Set}addStyles(e){const i=new Set;e.forEach(r=>{this._stylesSet.has(r)||(this._stylesSet.add(r),i.add(r))}),this.onStylesAdded(i)}onStylesAdded(e){}getAllStyles(){return Array.from(this._stylesSet)}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=Ee({token:n,factory:n.\u0275fac}),n})(),up=(()=>{class n extends Hx{constructor(e){super(),this._doc=e,this._hostNodes=new Map,this._hostNodes.set(e.head,[])}_addStylesToHost(e,i,r){e.forEach(s=>{const o=this._doc.createElement("style");o.textContent=s,r.push(i.appendChild(o))})}addHost(e){const i=[];this._addStylesToHost(this._stylesSet,e,i),this._hostNodes.set(e,i)}removeHost(e){const i=this._hostNodes.get(e);i&&i.forEach(Vx),this._hostNodes.delete(e)}onStylesAdded(e){this._hostNodes.forEach((i,r)=>{this._addStylesToHost(e,r,i)})}ngOnDestroy(){this._hostNodes.forEach(e=>e.forEach(Vx))}}return n.\u0275fac=function(e){return new(e||n)(Se(Dn))},n.\u0275prov=Ee({token:n,factory:n.\u0275fac}),n})();function Vx(n){Sa().remove(n)}const Bw={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/MathML/"},jw=/%COMP%/g;function Xf(n,t,e){for(let i=0;i{if("__ngUnwrap__"===t)return n;!1===n(t)&&(t.preventDefault(),t.returnValue=!1)}}let Jf=(()=>{class n{constructor(e,i,r){this.eventManager=e,this.sharedStylesHost=i,this.appId=r,this.rendererByCompId=new Map,this.defaultRenderer=new Yw(e)}createRenderer(e,i){if(!e||!i)return this.defaultRenderer;switch(i.encapsulation){case is.Emulated:{let r=this.rendererByCompId.get(i.id);return r||(r=new XU(this.eventManager,this.sharedStylesHost,i,this.appId),this.rendererByCompId.set(i.id,r)),r.applyToHost(e),r}case 1:case is.ShadowDom:return new JU(this.eventManager,this.sharedStylesHost,e,i);default:if(!this.rendererByCompId.has(i.id)){const r=Xf(i.id,i.styles,[]);this.sharedStylesHost.addStyles(r),this.rendererByCompId.set(i.id,this.defaultRenderer)}return this.defaultRenderer}}begin(){}end(){}}return n.\u0275fac=function(e){return new(e||n)(Se(Zf),Se(up),Se(np))},n.\u0275prov=Ee({token:n,factory:n.\u0275fac}),n})();class Yw{constructor(t){this.eventManager=t,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(t,e){return e?document.createElementNS(Bw[e]||e,t):document.createElement(t)}createComment(t){return document.createComment(t)}createText(t){return document.createTextNode(t)}appendChild(t,e){t.appendChild(e)}insertBefore(t,e,i){t&&t.insertBefore(e,i)}removeChild(t,e){t&&t.removeChild(e)}selectRootElement(t,e){let i="string"==typeof t?document.querySelector(t):t;if(!i)throw new Error(`The selector "${t}" did not match any elements`);return e||(i.textContent=""),i}parentNode(t){return t.parentNode}nextSibling(t){return t.nextSibling}setAttribute(t,e,i,r){if(r){e=r+":"+e;const s=Bw[r];s?t.setAttributeNS(s,e,i):t.setAttribute(e,i)}else t.setAttribute(e,i)}removeAttribute(t,e,i){if(i){const r=Bw[i];r?t.removeAttributeNS(r,e):t.removeAttribute(`${i}:${e}`)}else t.removeAttribute(e)}addClass(t,e){t.classList.add(e)}removeClass(t,e){t.classList.remove(e)}setStyle(t,e,i,r){r&(Ws.DashCase|Ws.Important)?t.style.setProperty(e,i,r&Ws.Important?"important":""):t.style[e]=i}removeStyle(t,e,i){i&Ws.DashCase?t.style.removeProperty(e):t.style[e]=""}setProperty(t,e,i){t[e]=i}setValue(t,e){t.nodeValue=e}listen(t,e,i){return"string"==typeof t?this.eventManager.addGlobalEventListener(t,e,zx(i)):this.eventManager.addEventListener(t,e,zx(i))}}class XU extends Yw{constructor(t,e,i,r){super(t),this.component=i;const s=Xf(r+"-"+i.id,i.styles,[]);e.addStyles(s),this.contentAttr=function QU(n){return"_ngcontent-%COMP%".replace(jw,n)}(r+"-"+i.id),this.hostAttr=function KU(n){return"_nghost-%COMP%".replace(jw,n)}(r+"-"+i.id)}applyToHost(t){super.setAttribute(t,this.hostAttr,"")}createElement(t,e){const i=super.createElement(t,e);return super.setAttribute(i,this.contentAttr,""),i}}class JU extends Yw{constructor(t,e,i,r){super(t),this.sharedStylesHost=e,this.hostEl=i,this.shadowRoot=i.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const s=Xf(r.id,r.styles,[]);for(let o=0;o{class n extends Yx{constructor(e){super(e)}supports(e){return!0}addEventListener(e,i,r){return e.addEventListener(i,r,!1),()=>this.removeEventListener(e,i,r)}removeEventListener(e,i,r){return e.removeEventListener(i,r)}}return n.\u0275fac=function(e){return new(e||n)(Se(Dn))},n.\u0275prov=Ee({token:n,factory:n.\u0275fac}),n})();const $x=["alt","control","meta","shift"],n4={"\b":"Backspace","\t":"Tab","\x7f":"Delete","\x1b":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},Wx={A:"1",B:"2",C:"3",D:"4",E:"5",F:"6",G:"7",H:"8",I:"9",J:"*",K:"+",M:"-",N:".",O:"/","`":"0","\x90":"NumLock"},r4={alt:n=>n.altKey,control:n=>n.ctrlKey,meta:n=>n.metaKey,shift:n=>n.shiftKey};let s4=(()=>{class n extends Yx{constructor(e){super(e)}supports(e){return null!=n.parseEventName(e)}addEventListener(e,i,r){const s=n.parseEventName(i),o=n.eventCallback(s.fullKey,r,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>Sa().onAndCancel(e,s.domEventName,o))}static parseEventName(e){const i=e.toLowerCase().split("."),r=i.shift();if(0===i.length||"keydown"!==r&&"keyup"!==r)return null;const s=n._normalizeKey(i.pop());let o="";if($x.forEach(l=>{const h=i.indexOf(l);h>-1&&(i.splice(h,1),o+=l+".")}),o+=s,0!=i.length||0===s.length)return null;const a={};return a.domEventName=r,a.fullKey=o,a}static getEventFullKey(e){let i="",r=function o4(n){let t=n.key;if(null==t){if(t=n.keyIdentifier,null==t)return"Unidentified";t.startsWith("U+")&&(t=String.fromCharCode(parseInt(t.substring(2),16)),3===n.location&&Wx.hasOwnProperty(t)&&(t=Wx[t]))}return n4[t]||t}(e);return r=r.toLowerCase()," "===r?r="space":"."===r&&(r="dot"),$x.forEach(s=>{s!=r&&r4[s](e)&&(i+=s+".")}),i+=r,i}static eventCallback(e,i,r){return s=>{n.getEventFullKey(s)===e&&r.runGuarded(()=>i(s))}}static _normalizeKey(e){return"esc"===e?"escape":e}}return n.\u0275fac=function(e){return new(e||n)(Se(Dn))},n.\u0275prov=Ee({token:n,factory:n.\u0275fac}),n})();const u4=Xk(U3,"browser",[{provide:ip,useValue:xx},{provide:Uk,useValue:function a4(){Fw.makeCurrent(),Nw.init()},multi:!0},{provide:Dn,useFactory:function c4(){return function Wy(n){Du=n}(document),document},deps:[]}]),d4=[{provide:wb,useValue:"root"},{provide:Ka,useFactory:function l4(){return new Ka},deps:[]},{provide:Kf,useClass:e4,multi:!0,deps:[Dn,yn,ip]},{provide:Kf,useClass:s4,multi:!0,deps:[Dn]},{provide:Jf,useClass:Jf,deps:[Zf,up,np]},{provide:Zh,useExisting:Jf},{provide:Hx,useExisting:up},{provide:up,useClass:up,deps:[Dn]},{provide:hw,useClass:hw,deps:[yn]},{provide:Zf,useClass:Zf,deps:[Kf,yn]},{provide:Bx,useClass:GU,deps:[]}];let Qx=(()=>{class n{constructor(e){if(e)throw new Error("BrowserModule has already been loaded. If you need access to common directives such as NgIf and NgFor from a lazy loaded module, import CommonModule instead.")}static withServerTransition(e){return{ngModule:n,providers:[{provide:np,useValue:e.appId},{provide:jx,useExisting:np},zU]}}}return n.\u0275fac=function(e){return new(e||n)(Se(n,12))},n.\u0275mod=Yt({type:n}),n.\u0275inj=He({providers:d4,imports:[di,z3]}),n})(),eg=(()=>{class n{constructor(e){this._doc=e}getTitle(){return this._doc.title}setTitle(e){this._doc.title=e||""}}return n.\u0275fac=function(e){return new(e||n)(Se(Dn))},n.\u0275prov=Ee({token:n,factory:function(e){let i=null;return i=e?new e:function p4(){return new eg(Se(Dn))}(),i},providedIn:"root"}),n})();"undefined"!=typeof window&&window;let sl=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=Ee({token:n,factory:function(e){let i=null;return i=e?new(e||n):Se(Xx),i},providedIn:"root"}),n})(),Xx=(()=>{class n extends sl{constructor(e){super(),this._doc=e}sanitize(e,i){if(null==i)return null;switch(e){case _i.NONE:return i;case _i.HTML:return ya(i,"HTML")?Qs(i):DC(this._doc,String(i)).toString();case _i.STYLE:return ya(i,"Style")?Qs(i):i;case _i.SCRIPT:if(ya(i,"Script"))return Qs(i);throw new Error("unsafe value used in a script context");case _i.URL:return fC(i),ya(i,"URL")?Qs(i):Nh(String(i));case _i.RESOURCE_URL:if(ya(i,"ResourceURL"))return Qs(i);throw new Error("unsafe value used in a resource URL context (see https://g.co/ng/security#xss)");default:throw new Error(`Unexpected SecurityContext ${e} (see https://g.co/ng/security#xss)`)}}bypassSecurityTrustHtml(e){return function H2(n){return new F2(n)}(e)}bypassSecurityTrustStyle(e){return function V2(n){return new N2(n)}(e)}bypassSecurityTrustScript(e){return function q2(n){return new B2(n)}(e)}bypassSecurityTrustUrl(e){return function U2(n){return new j2(n)}(e)}bypassSecurityTrustResourceUrl(e){return function z2(n){return new Y2(n)}(e)}}return n.\u0275fac=function(e){return new(e||n)(Se(Dn))},n.\u0275prov=Ee({token:n,factory:function(e){let i=null;return i=e?new e:function w4(n){return new Xx(n.get(Dn))}(Se(qi)),i},providedIn:"root"}),n})();function Qt(...n){let t=n[n.length-1];return Be(t)?(n.pop(),Fe(n,t)):Ke(n)}function pd(n,t){return ue(n,t,1)}function hi(n,t){return function(i){return i.lift(new M4(n,t))}}class M4{constructor(t,e){this.predicate=t,this.thisArg=e}call(t,e){return e.subscribe(new D4(t,this.predicate,this.thisArg))}}class D4 extends F{constructor(t,e,i){super(t),this.predicate=e,this.thisArg=i,this.count=0}_next(t){let e;try{e=this.predicate.call(this.thisArg,t,this.count++)}catch(i){return void this.destination.error(i)}e&&this.destination.next(t)}}class Jx{}class e1{}class Ko{constructor(t){this.normalizedNames=new Map,this.lazyUpdate=null,t?this.lazyInit="string"==typeof t?()=>{this.headers=new Map,t.split("\n").forEach(e=>{const i=e.indexOf(":");if(i>0){const r=e.slice(0,i),s=r.toLowerCase(),o=e.slice(i+1).trim();this.maybeSetNormalizedName(r,s),this.headers.has(s)?this.headers.get(s).push(o):this.headers.set(s,[o])}})}:()=>{this.headers=new Map,Object.keys(t).forEach(e=>{let i=t[e];const r=e.toLowerCase();"string"==typeof i&&(i=[i]),i.length>0&&(this.headers.set(r,i),this.maybeSetNormalizedName(e,r))})}:this.headers=new Map}has(t){return this.init(),this.headers.has(t.toLowerCase())}get(t){this.init();const e=this.headers.get(t.toLowerCase());return e&&e.length>0?e[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(t){return this.init(),this.headers.get(t.toLowerCase())||null}append(t,e){return this.clone({name:t,value:e,op:"a"})}set(t,e){return this.clone({name:t,value:e,op:"s"})}delete(t,e){return this.clone({name:t,value:e,op:"d"})}maybeSetNormalizedName(t,e){this.normalizedNames.has(e)||this.normalizedNames.set(e,t)}init(){this.lazyInit&&(this.lazyInit instanceof Ko?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(t=>this.applyUpdate(t)),this.lazyUpdate=null))}copyFrom(t){t.init(),Array.from(t.headers.keys()).forEach(e=>{this.headers.set(e,t.headers.get(e)),this.normalizedNames.set(e,t.normalizedNames.get(e))})}clone(t){const e=new Ko;return e.lazyInit=this.lazyInit&&this.lazyInit instanceof Ko?this.lazyInit:this,e.lazyUpdate=(this.lazyUpdate||[]).concat([t]),e}applyUpdate(t){const e=t.name.toLowerCase();switch(t.op){case"a":case"s":let i=t.value;if("string"==typeof i&&(i=[i]),0===i.length)return;this.maybeSetNormalizedName(t.name,e);const r=("a"===t.op?this.headers.get(e):void 0)||[];r.push(...i),this.headers.set(e,r);break;case"d":const s=t.value;if(s){let o=this.headers.get(e);if(!o)return;o=o.filter(a=>-1===s.indexOf(a)),0===o.length?(this.headers.delete(e),this.normalizedNames.delete(e)):this.headers.set(e,o)}else this.headers.delete(e),this.normalizedNames.delete(e)}}forEach(t){this.init(),Array.from(this.normalizedNames.keys()).forEach(e=>t(this.normalizedNames.get(e),this.headers.get(e)))}}class E4{encodeKey(t){return t1(t)}encodeValue(t){return t1(t)}decodeKey(t){return decodeURIComponent(t)}decodeValue(t){return decodeURIComponent(t)}}const T4=/%(\d[a-f0-9])/gi,S4={40:"@","3A":":",24:"$","2C":",","3B":";","2B":"+","3D":"=","3F":"?","2F":"/"};function t1(n){return encodeURIComponent(n).replace(T4,(t,e)=>{var i;return null!==(i=S4[e])&&void 0!==i?i:t})}function n1(n){return`${n}`}class zl{constructor(t={}){if(this.updates=null,this.cloneFrom=null,this.encoder=t.encoder||new E4,t.fromString){if(t.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function C4(n,t){const e=new Map;return n.length>0&&n.replace(/^\?/,"").split("&").forEach(r=>{const s=r.indexOf("="),[o,a]=-1==s?[t.decodeKey(r),""]:[t.decodeKey(r.slice(0,s)),t.decodeValue(r.slice(s+1))],l=e.get(o)||[];l.push(a),e.set(o,l)}),e}(t.fromString,this.encoder)}else t.fromObject?(this.map=new Map,Object.keys(t.fromObject).forEach(e=>{const i=t.fromObject[e];this.map.set(e,Array.isArray(i)?i:[i])})):this.map=null}has(t){return this.init(),this.map.has(t)}get(t){this.init();const e=this.map.get(t);return e?e[0]:null}getAll(t){return this.init(),this.map.get(t)||null}keys(){return this.init(),Array.from(this.map.keys())}append(t,e){return this.clone({param:t,value:e,op:"a"})}appendAll(t){const e=[];return Object.keys(t).forEach(i=>{const r=t[i];Array.isArray(r)?r.forEach(s=>{e.push({param:i,value:s,op:"a"})}):e.push({param:i,value:r,op:"a"})}),this.clone(e)}set(t,e){return this.clone({param:t,value:e,op:"s"})}delete(t,e){return this.clone({param:t,value:e,op:"d"})}toString(){return this.init(),this.keys().map(t=>{const e=this.encoder.encodeKey(t);return this.map.get(t).map(i=>e+"="+this.encoder.encodeValue(i)).join("&")}).filter(t=>""!==t).join("&")}clone(t){const e=new zl({encoder:this.encoder});return e.cloneFrom=this.cloneFrom||this,e.updates=(this.updates||[]).concat(t),e}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(t=>this.map.set(t,this.cloneFrom.map.get(t))),this.updates.forEach(t=>{switch(t.op){case"a":case"s":const e=("a"===t.op?this.map.get(t.param):void 0)||[];e.push(n1(t.value)),this.map.set(t.param,e);break;case"d":if(void 0===t.value){this.map.delete(t.param);break}{let i=this.map.get(t.param)||[];const r=i.indexOf(n1(t.value));-1!==r&&i.splice(r,1),i.length>0?this.map.set(t.param,i):this.map.delete(t.param)}}}),this.cloneFrom=this.updates=null)}}class k4{constructor(){this.map=new Map}set(t,e){return this.map.set(t,e),this}get(t){return this.map.has(t)||this.map.set(t,t.defaultValue()),this.map.get(t)}delete(t){return this.map.delete(t),this}has(t){return this.map.has(t)}keys(){return this.map.keys()}}function r1(n){return"undefined"!=typeof ArrayBuffer&&n instanceof ArrayBuffer}function s1(n){return"undefined"!=typeof Blob&&n instanceof Blob}function o1(n){return"undefined"!=typeof FormData&&n instanceof FormData}class dp{constructor(t,e,i,r){let s;if(this.url=e,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=t.toUpperCase(),function x4(n){switch(n){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||r?(this.body=void 0!==i?i:null,s=r):s=i,s&&(this.reportProgress=!!s.reportProgress,this.withCredentials=!!s.withCredentials,s.responseType&&(this.responseType=s.responseType),s.headers&&(this.headers=s.headers),s.context&&(this.context=s.context),s.params&&(this.params=s.params)),this.headers||(this.headers=new Ko),this.context||(this.context=new k4),this.params){const o=this.params.toString();if(0===o.length)this.urlWithParams=e;else{const a=e.indexOf("?");this.urlWithParams=e+(-1===a?"?":ak.set(Y,t.setHeaders[Y]),h)),t.setParams&&(f=Object.keys(t.setParams).reduce((k,Y)=>k.set(Y,t.setParams[Y]),f)),new dp(i,r,o,{params:f,headers:h,context:D,reportProgress:l,responseType:s,withCredentials:a})}}var Ir=(()=>((Ir=Ir||{})[Ir.Sent=0]="Sent",Ir[Ir.UploadProgress=1]="UploadProgress",Ir[Ir.ResponseHeader=2]="ResponseHeader",Ir[Ir.DownloadProgress=3]="DownloadProgress",Ir[Ir.Response=4]="Response",Ir[Ir.User=5]="User",Ir))();class Vw{constructor(t,e=200,i="OK"){this.headers=t.headers||new Ko,this.status=void 0!==t.status?t.status:e,this.statusText=t.statusText||i,this.url=t.url||null,this.ok=this.status>=200&&this.status<300}}class qw extends Vw{constructor(t={}){super(t),this.type=Ir.ResponseHeader}clone(t={}){return new qw({headers:t.headers||this.headers,status:void 0!==t.status?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})}}class tg extends Vw{constructor(t={}){super(t),this.type=Ir.Response,this.body=void 0!==t.body?t.body:null}clone(t={}){return new tg({body:void 0!==t.body?t.body:this.body,headers:t.headers||this.headers,status:void 0!==t.status?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})}}class md extends Vw{constructor(t){super(t,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${t.url||"(unknown url)"}`:`Http failure response for ${t.url||"(unknown url)"}: ${t.status} ${t.statusText}`,this.error=t.error||null}}function Uw(n,t){return{body:t,headers:n.headers,context:n.context,observe:n.observe,params:n.params,reportProgress:n.reportProgress,responseType:n.responseType,withCredentials:n.withCredentials}}let hp=(()=>{class n{constructor(e){this.handler=e}request(e,i,r={}){let s;if(e instanceof dp)s=e;else{let l,h;l=r.headers instanceof Ko?r.headers:new Ko(r.headers),r.params&&(h=r.params instanceof zl?r.params:new zl({fromObject:r.params})),s=new dp(e,i,void 0!==r.body?r.body:null,{headers:l,context:r.context,params:h,reportProgress:r.reportProgress,responseType:r.responseType||"json",withCredentials:r.withCredentials})}const o=Qt(s).pipe(pd(l=>this.handler.handle(l)));if(e instanceof dp||"events"===r.observe)return o;const a=o.pipe(hi(l=>l instanceof tg));switch(r.observe||"body"){case"body":switch(s.responseType){case"arraybuffer":return a.pipe(ge(l=>{if(null!==l.body&&!(l.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return l.body}));case"blob":return a.pipe(ge(l=>{if(null!==l.body&&!(l.body instanceof Blob))throw new Error("Response is not a Blob.");return l.body}));case"text":return a.pipe(ge(l=>{if(null!==l.body&&"string"!=typeof l.body)throw new Error("Response is not a string.");return l.body}));default:return a.pipe(ge(l=>l.body))}case"response":return a;default:throw new Error(`Unreachable: unhandled observe type ${r.observe}}`)}}delete(e,i={}){return this.request("DELETE",e,i)}get(e,i={}){return this.request("GET",e,i)}head(e,i={}){return this.request("HEAD",e,i)}jsonp(e,i){return this.request("JSONP",e,{params:(new zl).append(i,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(e,i={}){return this.request("OPTIONS",e,i)}patch(e,i,r={}){return this.request("PATCH",e,Uw(r,i))}post(e,i,r={}){return this.request("POST",e,Uw(r,i))}put(e,i,r={}){return this.request("PUT",e,Uw(r,i))}}return n.\u0275fac=function(e){return new(e||n)(Se(Jx))},n.\u0275prov=Ee({token:n,factory:n.\u0275fac}),n})();class a1{constructor(t,e){this.next=t,this.interceptor=e}handle(t){return this.interceptor.intercept(t,this.next)}}const l1=new ht("HTTP_INTERCEPTORS");let A4=(()=>{class n{intercept(e,i){return i.handle(e)}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=Ee({token:n,factory:n.\u0275fac}),n})();const R4=/^\)\]\}',?\n/;let c1=(()=>{class n{constructor(e){this.xhrFactory=e}handle(e){if("JSONP"===e.method)throw new Error("Attempted to construct Jsonp request without HttpClientJsonpModule installed.");return new st(i=>{const r=this.xhrFactory.build();if(r.open(e.method,e.urlWithParams),e.withCredentials&&(r.withCredentials=!0),e.headers.forEach((Y,oe)=>r.setRequestHeader(Y,oe.join(","))),e.headers.has("Accept")||r.setRequestHeader("Accept","application/json, text/plain, */*"),!e.headers.has("Content-Type")){const Y=e.detectContentTypeHeader();null!==Y&&r.setRequestHeader("Content-Type",Y)}if(e.responseType){const Y=e.responseType.toLowerCase();r.responseType="json"!==Y?Y:"text"}const s=e.serializeBody();let o=null;const a=()=>{if(null!==o)return o;const Y=r.statusText||"OK",oe=new Ko(r.getAllResponseHeaders()),Ne=function L4(n){return"responseURL"in n&&n.responseURL?n.responseURL:/^X-Request-URL:/m.test(n.getAllResponseHeaders())?n.getResponseHeader("X-Request-URL"):null}(r)||e.url;return o=new qw({headers:oe,status:r.status,statusText:Y,url:Ne}),o},l=()=>{let{headers:Y,status:oe,statusText:Ne,url:$e}=a(),it=null;204!==oe&&(it=void 0===r.response?r.responseText:r.response),0===oe&&(oe=it?200:0);let qe=oe>=200&&oe<300;if("json"===e.responseType&&"string"==typeof it){const Rt=it;it=it.replace(R4,"");try{it=""!==it?JSON.parse(it):null}catch(Gt){it=Rt,qe&&(qe=!1,it={error:Gt,text:it})}}qe?(i.next(new tg({body:it,headers:Y,status:oe,statusText:Ne,url:$e||void 0})),i.complete()):i.error(new md({error:it,headers:Y,status:oe,statusText:Ne,url:$e||void 0}))},h=Y=>{const{url:oe}=a(),Ne=new md({error:Y,status:r.status||0,statusText:r.statusText||"Unknown Error",url:oe||void 0});i.error(Ne)};let f=!1;const D=Y=>{f||(i.next(a()),f=!0);let oe={type:Ir.DownloadProgress,loaded:Y.loaded};Y.lengthComputable&&(oe.total=Y.total),"text"===e.responseType&&!!r.responseText&&(oe.partialText=r.responseText),i.next(oe)},k=Y=>{let oe={type:Ir.UploadProgress,loaded:Y.loaded};Y.lengthComputable&&(oe.total=Y.total),i.next(oe)};return r.addEventListener("load",l),r.addEventListener("error",h),r.addEventListener("timeout",h),r.addEventListener("abort",h),e.reportProgress&&(r.addEventListener("progress",D),null!==s&&r.upload&&r.upload.addEventListener("progress",k)),r.send(s),i.next({type:Ir.Sent}),()=>{r.removeEventListener("error",h),r.removeEventListener("abort",h),r.removeEventListener("load",l),r.removeEventListener("timeout",h),e.reportProgress&&(r.removeEventListener("progress",D),null!==s&&r.upload&&r.upload.removeEventListener("progress",k)),r.readyState!==r.DONE&&r.abort()}})}}return n.\u0275fac=function(e){return new(e||n)(Se(Bx))},n.\u0275prov=Ee({token:n,factory:n.\u0275fac}),n})();const zw=new ht("XSRF_COOKIE_NAME"),Gw=new ht("XSRF_HEADER_NAME");class u1{}let O4=(()=>{class n{constructor(e,i,r){this.doc=e,this.platform=i,this.cookieName=r,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const e=this.doc.cookie||"";return e!==this.lastCookieString&&(this.parseCount++,this.lastToken=Tx(e,this.cookieName),this.lastCookieString=e),this.lastToken}}return n.\u0275fac=function(e){return new(e||n)(Se(Dn),Se(ip),Se(zw))},n.\u0275prov=Ee({token:n,factory:n.\u0275fac}),n})(),$w=(()=>{class n{constructor(e,i){this.tokenService=e,this.headerName=i}intercept(e,i){const r=e.url.toLowerCase();if("GET"===e.method||"HEAD"===e.method||r.startsWith("http://")||r.startsWith("https://"))return i.handle(e);const s=this.tokenService.getToken();return null!==s&&!e.headers.has(this.headerName)&&(e=e.clone({headers:e.headers.set(this.headerName,s)})),i.handle(e)}}return n.\u0275fac=function(e){return new(e||n)(Se(u1),Se(Gw))},n.\u0275prov=Ee({token:n,factory:n.\u0275fac}),n})(),P4=(()=>{class n{constructor(e,i){this.backend=e,this.injector=i,this.chain=null}handle(e){if(null===this.chain){const i=this.injector.get(l1,[]);this.chain=i.reduceRight((r,s)=>new a1(r,s),this.backend)}return this.chain.handle(e)}}return n.\u0275fac=function(e){return new(e||n)(Se(e1),Se(qi))},n.\u0275prov=Ee({token:n,factory:n.\u0275fac}),n})(),F4=(()=>{class n{static disable(){return{ngModule:n,providers:[{provide:$w,useClass:A4}]}}static withOptions(e={}){return{ngModule:n,providers:[e.cookieName?{provide:zw,useValue:e.cookieName}:[],e.headerName?{provide:Gw,useValue:e.headerName}:[]]}}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Yt({type:n}),n.\u0275inj=He({providers:[$w,{provide:l1,useExisting:$w,multi:!0},{provide:u1,useClass:O4},{provide:zw,useValue:"XSRF-TOKEN"},{provide:Gw,useValue:"X-XSRF-TOKEN"}]}),n})(),Ww=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Yt({type:n}),n.\u0275inj=He({providers:[hp,{provide:Jx,useClass:P4},c1,{provide:e1,useExisting:c1}],imports:[[F4.withOptions({cookieName:"XSRF-TOKEN",headerName:"X-XSRF-TOKEN"})]]}),n})();class d1{}const ol="*";function Ki(n,t){return{type:7,name:n,definitions:t,options:{}}}function ti(n,t=null){return{type:4,styles:t,timings:n}}function ng(n,t=null){return{type:3,steps:n,options:t}}function h1(n,t=null){return{type:2,steps:n,options:t}}function cn(n){return{type:6,styles:n,offset:null}}function qn(n,t,e){return{type:0,name:n,styles:t,options:e}}function Vc(n){return{type:5,steps:n}}function Zn(n,t,e=null){return{type:1,expr:n,animation:t,options:e}}function fd(n=null){return{type:9,options:n}}function gd(n,t,e=null){return{type:11,selector:n,animation:t,options:e}}function p1(n){Promise.resolve(null).then(n)}class pp{constructor(t=0,e=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this._position=0,this.parentPlayer=null,this.totalTime=t+e}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(t=>t()),this._onDoneFns=[])}onStart(t){this._onStartFns.push(t)}onDone(t){this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){p1(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(t=>t()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(t=>t()),this._onDestroyFns=[])}reset(){this._started=!1}setPosition(t){this._position=this.totalTime?t*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(t){const e="start"==t?this._onStartFns:this._onDoneFns;e.forEach(i=>i()),e.length=0}}class m1{constructor(t){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=t;let e=0,i=0,r=0;const s=this.players.length;0==s?p1(()=>this._onFinish()):this.players.forEach(o=>{o.onDone(()=>{++e==s&&this._onFinish()}),o.onDestroy(()=>{++i==s&&this._onDestroy()}),o.onStart(()=>{++r==s&&this._onStart()})}),this.totalTime=this.players.reduce((o,a)=>Math.max(o,a.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(t=>t()),this._onDoneFns=[])}init(){this.players.forEach(t=>t.init())}onStart(t){this._onStartFns.push(t)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(t=>t()),this._onStartFns=[])}onDone(t){this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(t=>t.play())}pause(){this.players.forEach(t=>t.pause())}restart(){this.players.forEach(t=>t.restart())}finish(){this._onFinish(),this.players.forEach(t=>t.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(t=>t.destroy()),this._onDestroyFns.forEach(t=>t()),this._onDestroyFns=[])}reset(){this.players.forEach(t=>t.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(t){const e=t*this.totalTime;this.players.forEach(i=>{const r=i.totalTime?Math.min(1,e/i.totalTime):1;i.setPosition(r)})}getPosition(){const t=this.players.reduce((e,i)=>null===e||i.totalTime>e.totalTime?i:e,null);return null!=t?t.getPosition():0}beforeDestroy(){this.players.forEach(t=>{t.beforeDestroy&&t.beforeDestroy()})}triggerCallback(t){const e="start"==t?this._onStartFns:this._onDoneFns;e.forEach(i=>i()),e.length=0}}const li=!1;function f1(n){return new W(3e3,li)}function y5(){return"undefined"!=typeof window&&void 0!==window.document}function Kw(){return"undefined"!=typeof process&&"[object process]"==={}.toString.call(process)}function Gl(n){switch(n.length){case 0:return new pp;case 1:return n[0];default:return new m1(n)}}function g1(n,t,e,i,r={},s={}){const o=[],a=[];let l=-1,h=null;if(i.forEach(f=>{const D=f.offset,k=D==l,Y=k&&h||{};Object.keys(f).forEach(oe=>{let Ne=oe,$e=f[oe];if("offset"!==oe)switch(Ne=t.normalizePropertyName(Ne,o),$e){case"!":$e=r[oe];break;case ol:$e=s[oe];break;default:$e=t.normalizeStyleValue(oe,Ne,$e,o)}Y[Ne]=$e}),k||a.push(Y),h=Y,l=D}),o.length)throw function a5(n){return new W(3502,li)}();return a}function Zw(n,t,e,i){switch(t){case"start":n.onStart(()=>i(e&&Xw(e,"start",n)));break;case"done":n.onDone(()=>i(e&&Xw(e,"done",n)));break;case"destroy":n.onDestroy(()=>i(e&&Xw(e,"destroy",n)))}}function Xw(n,t,e){const i=e.totalTime,s=Jw(n.element,n.triggerName,n.fromState,n.toState,t||n.phaseName,null==i?n.totalTime:i,!!e.disabled),o=n._data;return null!=o&&(s._data=o),s}function Jw(n,t,e,i,r="",s=0,o){return{element:n,triggerName:t,fromState:e,toState:i,phaseName:r,totalTime:s,disabled:!!o}}function Zs(n,t,e){let i;return n instanceof Map?(i=n.get(t),i||n.set(t,i=e)):(i=n[t],i||(i=n[t]=e)),i}function _1(n){const t=n.indexOf(":");return[n.substring(1,t),n.substr(t+1)]}let eM=(n,t)=>!1,y1=(n,t,e)=>[],v1=null;function tM(n){const t=n.parentNode||n.host;return t===v1?null:t}(Kw()||"undefined"!=typeof Element)&&(y5()?(v1=(()=>document.documentElement)(),eM=(n,t)=>{for(;t;){if(t===n)return!0;t=tM(t)}return!1}):eM=(n,t)=>n.contains(t),y1=(n,t,e)=>{if(e)return Array.from(n.querySelectorAll(t));const i=n.querySelector(t);return i?[i]:[]});let qc=null,b1=!1;function w1(n){qc||(qc=function b5(){return"undefined"!=typeof document?document.body:null}()||{},b1=!!qc.style&&"WebkitAppearance"in qc.style);let t=!0;return qc.style&&!function v5(n){return"ebkit"==n.substring(1,6)}(n)&&(t=n in qc.style,!t&&b1&&(t="Webkit"+n.charAt(0).toUpperCase()+n.substr(1)in qc.style)),t}const M1=eM,D1=y1;let E1=(()=>{class n{validateStyleProperty(e){return w1(e)}matchesElement(e,i){return!1}containsElement(e,i){return M1(e,i)}getParentElement(e){return tM(e)}query(e,i,r){return D1(e,i,r)}computeStyle(e,i,r){return r||""}animate(e,i,r,s,o,a=[],l){return new pp(r,s)}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=Ee({token:n,factory:n.\u0275fac}),n})(),nM=(()=>{class n{}return n.NOOP=new E1,n})();const iM="ng-enter",rg="ng-leave",sg="ng-trigger",og=".ng-trigger",T1="ng-animating",rM=".ng-animating";function Uc(n){if("number"==typeof n)return n;const t=n.match(/^(-?[\.\d]+)(m?s)/);return!t||t.length<2?0:sM(parseFloat(t[1]),t[2])}function sM(n,t){return"s"===t?1e3*n:n}function ag(n,t,e){return n.hasOwnProperty("duration")?n:function D5(n,t,e){let r,s=0,o="";if("string"==typeof n){const a=n.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===a)return t.push(f1()),{duration:0,delay:0,easing:""};r=sM(parseFloat(a[1]),a[2]);const l=a[3];null!=l&&(s=sM(parseFloat(l),a[4]));const h=a[5];h&&(o=h)}else r=n;if(!e){let a=!1,l=t.length;r<0&&(t.push(function B4(){return new W(3100,li)}()),a=!0),s<0&&(t.push(function j4(){return new W(3101,li)}()),a=!0),a&&t.splice(l,0,f1())}return{duration:r,delay:s,easing:o}}(n,t,e)}function _d(n,t={}){return Object.keys(n).forEach(e=>{t[e]=n[e]}),t}function $l(n,t,e={}){if(t)for(let i in n)e[i]=n[i];else _d(n,e);return e}function k1(n,t,e){return e?t+":"+e+";":""}function x1(n){let t="";for(let e=0;e{const r=aM(i);e&&!e.hasOwnProperty(i)&&(e[i]=n.style[r]),n.style[r]=t[i]}),Kw()&&x1(n))}function zc(n,t){n.style&&(Object.keys(t).forEach(e=>{const i=aM(e);n.style[i]=""}),Kw()&&x1(n))}function mp(n){return Array.isArray(n)?1==n.length?n[0]:h1(n):n}const oM=new RegExp("{{\\s*(.+?)\\s*}}","g");function I1(n){let t=[];if("string"==typeof n){let e;for(;e=oM.exec(n);)t.push(e[1]);oM.lastIndex=0}return t}function lg(n,t,e){const i=n.toString(),r=i.replace(oM,(s,o)=>{let a=t[o];return t.hasOwnProperty(o)||(e.push(function H4(n){return new W(3003,li)}()),a=""),a.toString()});return r==i?n:r}function cg(n){const t=[];let e=n.next();for(;!e.done;)t.push(e.value),e=n.next();return t}const C5=/-+([a-z0-9])/g;function aM(n){return n.replace(C5,(...t)=>t[1].toUpperCase())}function T5(n){return n.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}function Xs(n,t,e){switch(t.type){case 7:return n.visitTrigger(t,e);case 0:return n.visitState(t,e);case 1:return n.visitTransition(t,e);case 2:return n.visitSequence(t,e);case 3:return n.visitGroup(t,e);case 4:return n.visitAnimate(t,e);case 5:return n.visitKeyframes(t,e);case 6:return n.visitStyle(t,e);case 8:return n.visitReference(t,e);case 9:return n.visitAnimateChild(t,e);case 10:return n.visitAnimateRef(t,e);case 11:return n.visitQuery(t,e);case 12:return n.visitStagger(t,e);default:throw function V4(n){return new W(3004,li)}()}}function A1(n,t){return window.getComputedStyle(n)[t]}function R5(n,t){const e=[];return"string"==typeof n?n.split(/\s*,\s*/).forEach(i=>function L5(n,t,e){if(":"==n[0]){const l=function O5(n,t){switch(n){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(e,i)=>parseFloat(i)>parseFloat(e);case":decrement":return(e,i)=>parseFloat(i) *"}}(n,e);if("function"==typeof l)return void t.push(l);n=l}const i=n.match(/^(\*|[-\w]+)\s*()\s*(\*|[-\w]+)$/);if(null==i||i.length<4)return e.push(function t5(n){return new W(3015,li)}()),t;const r=i[1],s=i[2],o=i[3];t.push(R1(r,o));"<"==s[0]&&!("*"==r&&"*"==o)&&t.push(R1(o,r))}(i,e,t)):e.push(n),e}const pg=new Set(["true","1"]),mg=new Set(["false","0"]);function R1(n,t){const e=pg.has(n)||mg.has(n),i=pg.has(t)||mg.has(t);return(r,s)=>{let o="*"==n||n==r,a="*"==t||t==s;return!o&&e&&"boolean"==typeof r&&(o=r?pg.has(n):mg.has(n)),!a&&i&&"boolean"==typeof s&&(a=s?pg.has(t):mg.has(t)),o&&a}}const P5=new RegExp("s*:selfs*,?","g");function lM(n,t,e,i){return new F5(n).build(t,e,i)}class F5{constructor(t){this._driver=t}build(t,e,i){const r=new j5(e);this._resetContextStyleTimingState(r);const s=Xs(this,mp(t),r);return r.unsupportedCSSPropertiesFound.size&&r.unsupportedCSSPropertiesFound.keys(),s}_resetContextStyleTimingState(t){t.currentQuerySelector="",t.collectedStyles={},t.collectedStyles[""]={},t.currentTime=0}visitTrigger(t,e){let i=e.queryCount=0,r=e.depCount=0;const s=[],o=[];return"@"==t.name.charAt(0)&&e.errors.push(function U4(){return new W(3006,li)}()),t.definitions.forEach(a=>{if(this._resetContextStyleTimingState(e),0==a.type){const l=a,h=l.name;h.toString().split(/\s*,\s*/).forEach(f=>{l.name=f,s.push(this.visitState(l,e))}),l.name=h}else if(1==a.type){const l=this.visitTransition(a,e);i+=l.queryCount,r+=l.depCount,o.push(l)}else e.errors.push(function z4(){return new W(3007,li)}())}),{type:7,name:t.name,states:s,transitions:o,queryCount:i,depCount:r,options:null}}visitState(t,e){const i=this.visitStyle(t.styles,e),r=t.options&&t.options.params||null;if(i.containsDynamicStyles){const s=new Set,o=r||{};i.styles.forEach(a=>{if(fg(a)){const l=a;Object.keys(l).forEach(h=>{I1(l[h]).forEach(f=>{o.hasOwnProperty(f)||s.add(f)})})}}),s.size&&(cg(s.values()),e.errors.push(function G4(n,t){return new W(3008,li)}()))}return{type:0,name:t.name,style:i,options:r?{params:r}:null}}visitTransition(t,e){e.queryCount=0,e.depCount=0;const i=Xs(this,mp(t.animation),e);return{type:1,matchers:R5(t.expr,e.errors),animation:i,queryCount:e.queryCount,depCount:e.depCount,options:Gc(t.options)}}visitSequence(t,e){return{type:2,steps:t.steps.map(i=>Xs(this,i,e)),options:Gc(t.options)}}visitGroup(t,e){const i=e.currentTime;let r=0;const s=t.steps.map(o=>{e.currentTime=i;const a=Xs(this,o,e);return r=Math.max(r,e.currentTime),a});return e.currentTime=r,{type:3,steps:s,options:Gc(t.options)}}visitAnimate(t,e){const i=function H5(n,t){if(n.hasOwnProperty("duration"))return n;if("number"==typeof n)return cM(ag(n,t).duration,0,"");const e=n;if(e.split(/\s+/).some(s=>"{"==s.charAt(0)&&"{"==s.charAt(1))){const s=cM(0,0,"");return s.dynamic=!0,s.strValue=e,s}const r=ag(e,t);return cM(r.duration,r.delay,r.easing)}(t.timings,e.errors);e.currentAnimateTimings=i;let r,s=t.styles?t.styles:cn({});if(5==s.type)r=this.visitKeyframes(s,e);else{let o=t.styles,a=!1;if(!o){a=!0;const h={};i.easing&&(h.easing=i.easing),o=cn(h)}e.currentTime+=i.duration+i.delay;const l=this.visitStyle(o,e);l.isEmptyStep=a,r=l}return e.currentAnimateTimings=null,{type:4,timings:i,style:r,options:null}}visitStyle(t,e){const i=this._makeStyleAst(t,e);return this._validateStyleAst(i,e),i}_makeStyleAst(t,e){const i=[];Array.isArray(t.styles)?t.styles.forEach(o=>{"string"==typeof o?o==ol?i.push(o):e.errors.push(function $4(n){return new W(3002,li)}()):i.push(o)}):i.push(t.styles);let r=!1,s=null;return i.forEach(o=>{if(fg(o)){const a=o,l=a.easing;if(l&&(s=l,delete a.easing),!r)for(let h in a)if(a[h].toString().indexOf("{{")>=0){r=!0;break}}}),{type:6,styles:i,easing:s,offset:t.offset,containsDynamicStyles:r,options:null}}_validateStyleAst(t,e){const i=e.currentAnimateTimings;let r=e.currentTime,s=e.currentTime;i&&s>0&&(s-=i.duration+i.delay),t.styles.forEach(o=>{"string"!=typeof o&&Object.keys(o).forEach(a=>{if(!this._driver.validateStyleProperty(a))return delete o[a],void e.unsupportedCSSPropertiesFound.add(a);const l=e.collectedStyles[e.currentQuerySelector],h=l[a];let f=!0;h&&(s!=r&&s>=h.startTime&&r<=h.endTime&&(e.errors.push(function W4(n,t,e,i,r){return new W(3010,li)}()),f=!1),s=h.startTime),f&&(l[a]={startTime:s,endTime:r}),e.options&&function E5(n,t,e){const i=t.params||{},r=I1(n);r.length&&r.forEach(s=>{i.hasOwnProperty(s)||e.push(function Y4(n){return new W(3001,li)}())})}(o[a],e.options,e.errors)})})}visitKeyframes(t,e){const i={type:5,styles:[],options:null};if(!e.currentAnimateTimings)return e.errors.push(function Q4(){return new W(3011,li)}()),i;let s=0;const o=[];let a=!1,l=!1,h=0;const f=t.steps.map(it=>{const qe=this._makeStyleAst(it,e);let Rt=null!=qe.offset?qe.offset:function Y5(n){if("string"==typeof n)return null;let t=null;if(Array.isArray(n))n.forEach(e=>{if(fg(e)&&e.hasOwnProperty("offset")){const i=e;t=parseFloat(i.offset),delete i.offset}});else if(fg(n)&&n.hasOwnProperty("offset")){const e=n;t=parseFloat(e.offset),delete e.offset}return t}(qe.styles),Gt=0;return null!=Rt&&(s++,Gt=qe.offset=Rt),l=l||Gt<0||Gt>1,a=a||Gt0&&s{const Rt=k>0?qe==Y?1:k*qe:o[qe],Gt=Rt*$e;e.currentTime=oe+Ne.delay+Gt,Ne.duration=Gt,this._validateStyleAst(it,e),it.offset=Rt,i.styles.push(it)}),i}visitReference(t,e){return{type:8,animation:Xs(this,mp(t.animation),e),options:Gc(t.options)}}visitAnimateChild(t,e){return e.depCount++,{type:9,options:Gc(t.options)}}visitAnimateRef(t,e){return{type:10,animation:this.visitReference(t.animation,e),options:Gc(t.options)}}visitQuery(t,e){const i=e.currentQuerySelector,r=t.options||{};e.queryCount++,e.currentQuery=t;const[s,o]=function N5(n){const t=!!n.split(/\s*,\s*/).find(e=>":self"==e);return t&&(n=n.replace(P5,"")),n=n.replace(/@\*/g,og).replace(/@\w+/g,e=>og+"-"+e.substr(1)).replace(/:animating/g,rM),[n,t]}(t.selector);e.currentQuerySelector=i.length?i+" "+s:s,Zs(e.collectedStyles,e.currentQuerySelector,{});const a=Xs(this,mp(t.animation),e);return e.currentQuery=null,e.currentQuerySelector=i,{type:11,selector:s,limit:r.limit||0,optional:!!r.optional,includeSelf:o,animation:a,originalSelector:t.selector,options:Gc(t.options)}}visitStagger(t,e){e.currentQuery||e.errors.push(function J4(){return new W(3013,li)}());const i="full"===t.timings?{duration:0,delay:0,easing:"full"}:ag(t.timings,e.errors,!0);return{type:12,animation:Xs(this,mp(t.animation),e),timings:i,options:null}}}class j5{constructor(t){this.errors=t,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles={},this.options=null,this.unsupportedCSSPropertiesFound=new Set}}function fg(n){return!Array.isArray(n)&&"object"==typeof n}function Gc(n){return n?(n=_d(n)).params&&(n.params=function B5(n){return n?_d(n):null}(n.params)):n={},n}function cM(n,t,e){return{duration:n,delay:t,easing:e}}function uM(n,t,e,i,r,s,o=null,a=!1){return{type:1,element:n,keyframes:t,preStyleProps:e,postStyleProps:i,duration:r,delay:s,totalTime:r+s,easing:o,subTimeline:a}}class gg{constructor(){this._map=new Map}get(t){return this._map.get(t)||[]}append(t,e){let i=this._map.get(t);i||this._map.set(t,i=[]),i.push(...e)}has(t){return this._map.has(t)}clear(){this._map.clear()}}const U5=new RegExp(":enter","g"),G5=new RegExp(":leave","g");function dM(n,t,e,i,r,s={},o={},a,l,h=[]){return(new $5).buildKeyframes(n,t,e,i,r,s,o,a,l,h)}class $5{buildKeyframes(t,e,i,r,s,o,a,l,h,f=[]){h=h||new gg;const D=new hM(t,e,h,r,s,f,[]);D.options=l,D.currentTimeline.setStyles([o],null,D.errors,l),Xs(this,i,D);const k=D.timelines.filter(Y=>Y.containsAnimation());if(Object.keys(a).length){let Y;for(let oe=k.length-1;oe>=0;oe--){const Ne=k[oe];if(Ne.element===e){Y=Ne;break}}Y&&!Y.allowOnlyTimelineStyles()&&Y.setStyles([a],null,D.errors,l)}return k.length?k.map(Y=>Y.buildKeyframes()):[uM(e,[],[],[],0,0,"",!1)]}visitTrigger(t,e){}visitState(t,e){}visitTransition(t,e){}visitAnimateChild(t,e){const i=e.subInstructions.get(e.element);if(i){const r=e.createSubContext(t.options),s=e.currentTimeline.currentTime,o=this._visitSubInstructions(i,r,r.options);s!=o&&e.transformIntoNewTimeline(o)}e.previousNode=t}visitAnimateRef(t,e){const i=e.createSubContext(t.options);i.transformIntoNewTimeline(),this.visitReference(t.animation,i),e.transformIntoNewTimeline(i.currentTimeline.currentTime),e.previousNode=t}_visitSubInstructions(t,e,i){let s=e.currentTimeline.currentTime;const o=null!=i.duration?Uc(i.duration):null,a=null!=i.delay?Uc(i.delay):null;return 0!==o&&t.forEach(l=>{const h=e.appendInstructionToTimeline(l,o,a);s=Math.max(s,h.duration+h.delay)}),s}visitReference(t,e){e.updateOptions(t.options,!0),Xs(this,t.animation,e),e.previousNode=t}visitSequence(t,e){const i=e.subContextCount;let r=e;const s=t.options;if(s&&(s.params||s.delay)&&(r=e.createSubContext(s),r.transformIntoNewTimeline(),null!=s.delay)){6==r.previousNode.type&&(r.currentTimeline.snapshotCurrentStyles(),r.previousNode=_g);const o=Uc(s.delay);r.delayNextStep(o)}t.steps.length&&(t.steps.forEach(o=>Xs(this,o,r)),r.currentTimeline.applyStylesToKeyframe(),r.subContextCount>i&&r.transformIntoNewTimeline()),e.previousNode=t}visitGroup(t,e){const i=[];let r=e.currentTimeline.currentTime;const s=t.options&&t.options.delay?Uc(t.options.delay):0;t.steps.forEach(o=>{const a=e.createSubContext(t.options);s&&a.delayNextStep(s),Xs(this,o,a),r=Math.max(r,a.currentTimeline.currentTime),i.push(a.currentTimeline)}),i.forEach(o=>e.currentTimeline.mergeTimelineCollectedStyles(o)),e.transformIntoNewTimeline(r),e.previousNode=t}_visitTiming(t,e){if(t.dynamic){const i=t.strValue;return ag(e.params?lg(i,e.params,e.errors):i,e.errors)}return{duration:t.duration,delay:t.delay,easing:t.easing}}visitAnimate(t,e){const i=e.currentAnimateTimings=this._visitTiming(t.timings,e),r=e.currentTimeline;i.delay&&(e.incrementTime(i.delay),r.snapshotCurrentStyles());const s=t.style;5==s.type?this.visitKeyframes(s,e):(e.incrementTime(i.duration),this.visitStyle(s,e),r.applyStylesToKeyframe()),e.currentAnimateTimings=null,e.previousNode=t}visitStyle(t,e){const i=e.currentTimeline,r=e.currentAnimateTimings;!r&&i.getCurrentStyleProperties().length&&i.forwardFrame();const s=r&&r.easing||t.easing;t.isEmptyStep?i.applyEmptyStep(s):i.setStyles(t.styles,s,e.errors,e.options),e.previousNode=t}visitKeyframes(t,e){const i=e.currentAnimateTimings,r=e.currentTimeline.duration,s=i.duration,a=e.createSubContext().currentTimeline;a.easing=i.easing,t.styles.forEach(l=>{a.forwardTime((l.offset||0)*s),a.setStyles(l.styles,l.easing,e.errors,e.options),a.applyStylesToKeyframe()}),e.currentTimeline.mergeTimelineCollectedStyles(a),e.transformIntoNewTimeline(r+s),e.previousNode=t}visitQuery(t,e){const i=e.currentTimeline.currentTime,r=t.options||{},s=r.delay?Uc(r.delay):0;s&&(6===e.previousNode.type||0==i&&e.currentTimeline.getCurrentStyleProperties().length)&&(e.currentTimeline.snapshotCurrentStyles(),e.previousNode=_g);let o=i;const a=e.invokeQuery(t.selector,t.originalSelector,t.limit,t.includeSelf,!!r.optional,e.errors);e.currentQueryTotal=a.length;let l=null;a.forEach((h,f)=>{e.currentQueryIndex=f;const D=e.createSubContext(t.options,h);s&&D.delayNextStep(s),h===e.element&&(l=D.currentTimeline),Xs(this,t.animation,D),D.currentTimeline.applyStylesToKeyframe(),o=Math.max(o,D.currentTimeline.currentTime)}),e.currentQueryIndex=0,e.currentQueryTotal=0,e.transformIntoNewTimeline(o),l&&(e.currentTimeline.mergeTimelineCollectedStyles(l),e.currentTimeline.snapshotCurrentStyles()),e.previousNode=t}visitStagger(t,e){const i=e.parentContext,r=e.currentTimeline,s=t.timings,o=Math.abs(s.duration),a=o*(e.currentQueryTotal-1);let l=o*e.currentQueryIndex;switch(s.duration<0?"reverse":s.easing){case"reverse":l=a-l;break;case"full":l=i.currentStaggerTime}const f=e.currentTimeline;l&&f.delayNextStep(l);const D=f.currentTime;Xs(this,t.animation,e),e.previousNode=t,i.currentStaggerTime=r.currentTime-D+(r.startTime-i.currentTimeline.startTime)}}const _g={};class hM{constructor(t,e,i,r,s,o,a,l){this._driver=t,this.element=e,this.subInstructions=i,this._enterClassName=r,this._leaveClassName=s,this.errors=o,this.timelines=a,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=_g,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=l||new yg(this._driver,e,0),a.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(t,e){if(!t)return;const i=t;let r=this.options;null!=i.duration&&(r.duration=Uc(i.duration)),null!=i.delay&&(r.delay=Uc(i.delay));const s=i.params;if(s){let o=r.params;o||(o=this.options.params={}),Object.keys(s).forEach(a=>{(!e||!o.hasOwnProperty(a))&&(o[a]=lg(s[a],o,this.errors))})}}_copyOptions(){const t={};if(this.options){const e=this.options.params;if(e){const i=t.params={};Object.keys(e).forEach(r=>{i[r]=e[r]})}}return t}createSubContext(t=null,e,i){const r=e||this.element,s=new hM(this._driver,r,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(r,i||0));return s.previousNode=this.previousNode,s.currentAnimateTimings=this.currentAnimateTimings,s.options=this._copyOptions(),s.updateOptions(t),s.currentQueryIndex=this.currentQueryIndex,s.currentQueryTotal=this.currentQueryTotal,s.parentContext=this,this.subContextCount++,s}transformIntoNewTimeline(t){return this.previousNode=_g,this.currentTimeline=this.currentTimeline.fork(this.element,t),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(t,e,i){const r={duration:null!=e?e:t.duration,delay:this.currentTimeline.currentTime+(null!=i?i:0)+t.delay,easing:""},s=new W5(this._driver,t.element,t.keyframes,t.preStyleProps,t.postStyleProps,r,t.stretchStartingKeyframe);return this.timelines.push(s),r}incrementTime(t){this.currentTimeline.forwardTime(this.currentTimeline.duration+t)}delayNextStep(t){t>0&&this.currentTimeline.delayNextStep(t)}invokeQuery(t,e,i,r,s,o){let a=[];if(r&&a.push(this.element),t.length>0){t=(t=t.replace(U5,"."+this._enterClassName)).replace(G5,"."+this._leaveClassName);let h=this._driver.query(this.element,t,1!=i);0!==i&&(h=i<0?h.slice(h.length+i,h.length):h.slice(0,i)),a.push(...h)}return!s&&0==a.length&&o.push(function e5(n){return new W(3014,li)}()),a}}class yg{constructor(t,e,i,r){this._driver=t,this.element=e,this.startTime=i,this._elementTimelineStylesLookup=r,this.duration=0,this._previousKeyframe={},this._currentKeyframe={},this._keyframes=new Map,this._styleSummary={},this._pendingStyles={},this._backFill={},this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._localTimelineStyles=Object.create(this._backFill,{}),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.getCurrentStyleProperties().length>0;default:return!0}}getCurrentStyleProperties(){return Object.keys(this._currentKeyframe)}get currentTime(){return this.startTime+this.duration}delayNextStep(t){const e=1==this._keyframes.size&&Object.keys(this._pendingStyles).length;this.duration||e?(this.forwardTime(this.currentTime+t),e&&this.snapshotCurrentStyles()):this.startTime+=t}fork(t,e){return this.applyStylesToKeyframe(),new yg(this._driver,t,e||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=Object.create(this._backFill,{}),this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=1,this._loadKeyframe()}forwardTime(t){this.applyStylesToKeyframe(),this.duration=t,this._loadKeyframe()}_updateStyle(t,e){this._localTimelineStyles[t]=e,this._globalTimelineStyles[t]=e,this._styleSummary[t]={time:this.currentTime,value:e}}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(t){t&&(this._previousKeyframe.easing=t),Object.keys(this._globalTimelineStyles).forEach(e=>{this._backFill[e]=this._globalTimelineStyles[e]||ol,this._currentKeyframe[e]=ol}),this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(t,e,i,r){e&&(this._previousKeyframe.easing=e);const s=r&&r.params||{},o=function Q5(n,t){const e={};let i;return n.forEach(r=>{"*"===r?(i=i||Object.keys(t),i.forEach(s=>{e[s]=ol})):$l(r,!1,e)}),e}(t,this._globalTimelineStyles);Object.keys(o).forEach(a=>{const l=lg(o[a],s,i);this._pendingStyles[a]=l,this._localTimelineStyles.hasOwnProperty(a)||(this._backFill[a]=this._globalTimelineStyles.hasOwnProperty(a)?this._globalTimelineStyles[a]:ol),this._updateStyle(a,l)})}applyStylesToKeyframe(){const t=this._pendingStyles,e=Object.keys(t);0!=e.length&&(this._pendingStyles={},e.forEach(i=>{this._currentKeyframe[i]=t[i]}),Object.keys(this._localTimelineStyles).forEach(i=>{this._currentKeyframe.hasOwnProperty(i)||(this._currentKeyframe[i]=this._localTimelineStyles[i])}))}snapshotCurrentStyles(){Object.keys(this._localTimelineStyles).forEach(t=>{const e=this._localTimelineStyles[t];this._pendingStyles[t]=e,this._updateStyle(t,e)})}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const t=[];for(let e in this._currentKeyframe)t.push(e);return t}mergeTimelineCollectedStyles(t){Object.keys(t._styleSummary).forEach(e=>{const i=this._styleSummary[e],r=t._styleSummary[e];(!i||r.time>i.time)&&this._updateStyle(e,r.value)})}buildKeyframes(){this.applyStylesToKeyframe();const t=new Set,e=new Set,i=1===this._keyframes.size&&0===this.duration;let r=[];this._keyframes.forEach((a,l)=>{const h=$l(a,!0);Object.keys(h).forEach(f=>{const D=h[f];"!"==D?t.add(f):D==ol&&e.add(f)}),i||(h.offset=l/this.duration),r.push(h)});const s=t.size?cg(t.values()):[],o=e.size?cg(e.values()):[];if(i){const a=r[0],l=_d(a);a.offset=0,l.offset=1,r=[a,l]}return uM(this.element,r,s,o,this.duration,this.startTime,this.easing,!1)}}class W5 extends yg{constructor(t,e,i,r,s,o,a=!1){super(t,e,o.delay),this.keyframes=i,this.preStyleProps=r,this.postStyleProps=s,this._stretchStartingKeyframe=a,this.timings={duration:o.duration,delay:o.delay,easing:o.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let t=this.keyframes,{delay:e,duration:i,easing:r}=this.timings;if(this._stretchStartingKeyframe&&e){const s=[],o=i+e,a=e/o,l=$l(t[0],!1);l.offset=0,s.push(l);const h=$l(t[0],!1);h.offset=P1(a),s.push(h);const f=t.length-1;for(let D=1;D<=f;D++){let k=$l(t[D],!1);k.offset=P1((e+k.offset*i)/o),s.push(k)}i=o,e=0,r="",t=s}return uM(this.element,t,this.preStyleProps,this.postStyleProps,i,e,r,!0)}}function P1(n,t=3){const e=Math.pow(10,t-1);return Math.round(n*e)/e}class pM{}class K5 extends pM{normalizePropertyName(t,e){return aM(t)}normalizeStyleValue(t,e,i,r){let s="";const o=i.toString().trim();if(Z5[e]&&0!==i&&"0"!==i)if("number"==typeof i)s="px";else{const a=i.match(/^[+-]?[\d\.]+([a-z]*)$/);a&&0==a[1].length&&r.push(function q4(n,t){return new W(3005,li)}())}return o+s}}const Z5=(()=>function X5(n){const t={};return n.forEach(e=>t[e]=!0),t}("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".split(",")))();function F1(n,t,e,i,r,s,o,a,l,h,f,D,k){return{type:0,element:n,triggerName:t,isRemovalTransition:r,fromState:e,fromStyles:s,toState:i,toStyles:o,timelines:a,queriedElements:l,preStyleProps:h,postStyleProps:f,totalTime:D,errors:k}}const mM={};class N1{constructor(t,e,i){this._triggerName=t,this.ast=e,this._stateStyles=i}match(t,e,i,r){return function J5(n,t,e,i,r){return n.some(s=>s(t,e,i,r))}(this.ast.matchers,t,e,i,r)}buildStyles(t,e,i){const r=this._stateStyles["*"],s=this._stateStyles[t],o=r?r.buildStyles(e,i):{};return s?s.buildStyles(e,i):o}build(t,e,i,r,s,o,a,l,h,f){const D=[],k=this.ast.options&&this.ast.options.params||mM,oe=this.buildStyles(i,a&&a.params||mM,D),Ne=l&&l.params||mM,$e=this.buildStyles(r,Ne,D),it=new Set,qe=new Map,Rt=new Map,Gt="void"===r,wn={params:Object.assign(Object.assign({},k),Ne)},ii=f?[]:dM(t,e,this.ast.animation,s,o,oe,$e,wn,h,D);let Mi=0;if(ii.forEach(oo=>{Mi=Math.max(oo.duration+oo.delay,Mi)}),D.length)return F1(e,this._triggerName,i,r,Gt,oe,$e,[],[],qe,Rt,Mi,D);ii.forEach(oo=>{const ao=oo.element,Zd=Zs(qe,ao,{});oo.preStyleProps.forEach(oa=>Zd[oa]=!0);const Ml=Zs(Rt,ao,{});oo.postStyleProps.forEach(oa=>Ml[oa]=!0),ao!==e&&it.add(ao)});const ms=cg(it.values());return F1(e,this._triggerName,i,r,Gt,oe,$e,ii,ms,qe,Rt,Mi)}}class ez{constructor(t,e,i){this.styles=t,this.defaultParams=e,this.normalizer=i}buildStyles(t,e){const i={},r=_d(this.defaultParams);return Object.keys(t).forEach(s=>{const o=t[s];null!=o&&(r[s]=o)}),this.styles.styles.forEach(s=>{if("string"!=typeof s){const o=s;Object.keys(o).forEach(a=>{let l=o[a];l.length>1&&(l=lg(l,r,e));const h=this.normalizer.normalizePropertyName(a,e);l=this.normalizer.normalizeStyleValue(a,h,l,e),i[h]=l})}}),i}}class nz{constructor(t,e,i){this.name=t,this.ast=e,this._normalizer=i,this.transitionFactories=[],this.states={},e.states.forEach(r=>{this.states[r.name]=new ez(r.style,r.options&&r.options.params||{},i)}),B1(this.states,"true","1"),B1(this.states,"false","0"),e.transitions.forEach(r=>{this.transitionFactories.push(new N1(t,r,this.states))}),this.fallbackTransition=function iz(n,t,e){return new N1(n,{type:1,animation:{type:2,steps:[],options:null},matchers:[(o,a)=>!0],options:null,queryCount:0,depCount:0},t)}(t,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(t,e,i,r){return this.transitionFactories.find(o=>o.match(t,e,i,r))||null}matchStyles(t,e,i){return this.fallbackTransition.buildStyles(t,e,i)}}function B1(n,t,e){n.hasOwnProperty(t)?n.hasOwnProperty(e)||(n[e]=n[t]):n.hasOwnProperty(e)&&(n[t]=n[e])}const rz=new gg;class sz{constructor(t,e,i){this.bodyNode=t,this._driver=e,this._normalizer=i,this._animations={},this._playersById={},this.players=[]}register(t,e){const i=[],s=lM(this._driver,e,i,[]);if(i.length)throw function l5(n){return new W(3503,li)}();this._animations[t]=s}_buildPlayer(t,e,i){const r=t.element,s=g1(0,this._normalizer,0,t.keyframes,e,i);return this._driver.animate(r,s,t.duration,t.delay,t.easing,[],!0)}create(t,e,i={}){const r=[],s=this._animations[t];let o;const a=new Map;if(s?(o=dM(this._driver,e,s,iM,rg,{},{},i,rz,r),o.forEach(f=>{const D=Zs(a,f.element,{});f.postStyleProps.forEach(k=>D[k]=null)})):(r.push(function c5(){return new W(3300,li)}()),o=[]),r.length)throw function u5(n){return new W(3504,li)}();a.forEach((f,D)=>{Object.keys(f).forEach(k=>{f[k]=this._driver.computeStyle(D,k,ol)})});const h=Gl(o.map(f=>{const D=a.get(f.element);return this._buildPlayer(f,{},D)}));return this._playersById[t]=h,h.onDestroy(()=>this.destroy(t)),this.players.push(h),h}destroy(t){const e=this._getPlayer(t);e.destroy(),delete this._playersById[t];const i=this.players.indexOf(e);i>=0&&this.players.splice(i,1)}_getPlayer(t){const e=this._playersById[t];if(!e)throw function d5(n){return new W(3301,li)}();return e}listen(t,e,i,r){const s=Jw(e,"","","");return Zw(this._getPlayer(t),i,s,r),()=>{}}command(t,e,i,r){if("register"==i)return void this.register(t,r[0]);if("create"==i)return void this.create(t,e,r[0]||{});const s=this._getPlayer(t);switch(i){case"play":s.play();break;case"pause":s.pause();break;case"reset":s.reset();break;case"restart":s.restart();break;case"finish":s.finish();break;case"init":s.init();break;case"setPosition":s.setPosition(parseFloat(r[0]));break;case"destroy":this.destroy(t)}}}const j1="ng-animate-queued",fM="ng-animate-disabled",uz=[],Y1={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},dz={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},bo="__ng_removed";class gM{constructor(t,e=""){this.namespaceId=e;const i=t&&t.hasOwnProperty("value");if(this.value=function fz(n){return null!=n?n:null}(i?t.value:t),i){const s=_d(t);delete s.value,this.options=s}else this.options={};this.options.params||(this.options.params={})}get params(){return this.options.params}absorbOptions(t){const e=t.params;if(e){const i=this.options.params;Object.keys(e).forEach(r=>{null==i[r]&&(i[r]=e[r])})}}}const fp="void",_M=new gM(fp);class hz{constructor(t,e,i){this.id=t,this.hostElement=e,this._engine=i,this.players=[],this._triggers={},this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+t,wo(e,this._hostClassName)}listen(t,e,i,r){if(!this._triggers.hasOwnProperty(e))throw function h5(n,t){return new W(3302,li)}();if(null==i||0==i.length)throw function p5(n){return new W(3303,li)}();if(!function gz(n){return"start"==n||"done"==n}(i))throw function m5(n,t){return new W(3400,li)}();const s=Zs(this._elementListeners,t,[]),o={name:e,phase:i,callback:r};s.push(o);const a=Zs(this._engine.statesByElement,t,{});return a.hasOwnProperty(e)||(wo(t,sg),wo(t,sg+"-"+e),a[e]=_M),()=>{this._engine.afterFlush(()=>{const l=s.indexOf(o);l>=0&&s.splice(l,1),this._triggers[e]||delete a[e]})}}register(t,e){return!this._triggers[t]&&(this._triggers[t]=e,!0)}_getTrigger(t){const e=this._triggers[t];if(!e)throw function f5(n){return new W(3401,li)}();return e}trigger(t,e,i,r=!0){const s=this._getTrigger(e),o=new yM(this.id,e,t);let a=this._engine.statesByElement.get(t);a||(wo(t,sg),wo(t,sg+"-"+e),this._engine.statesByElement.set(t,a={}));let l=a[e];const h=new gM(i,this.id);if(!(i&&i.hasOwnProperty("value"))&&l&&h.absorbOptions(l.options),a[e]=h,l||(l=_M),h.value!==fp&&l.value===h.value){if(!function vz(n,t){const e=Object.keys(n),i=Object.keys(t);if(e.length!=i.length)return!1;for(let r=0;r{zc(t,$e),ka(t,it)})}return}const k=Zs(this._engine.playersByElement,t,[]);k.forEach(Ne=>{Ne.namespaceId==this.id&&Ne.triggerName==e&&Ne.queued&&Ne.destroy()});let Y=s.matchTransition(l.value,h.value,t,h.params),oe=!1;if(!Y){if(!r)return;Y=s.fallbackTransition,oe=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:t,triggerName:e,transition:Y,fromState:l,toState:h,player:o,isFallbackTransition:oe}),oe||(wo(t,j1),o.onStart(()=>{yd(t,j1)})),o.onDone(()=>{let Ne=this.players.indexOf(o);Ne>=0&&this.players.splice(Ne,1);const $e=this._engine.playersByElement.get(t);if($e){let it=$e.indexOf(o);it>=0&&$e.splice(it,1)}}),this.players.push(o),k.push(o),o}deregister(t){delete this._triggers[t],this._engine.statesByElement.forEach((e,i)=>{delete e[t]}),this._elementListeners.forEach((e,i)=>{this._elementListeners.set(i,e.filter(r=>r.name!=t))})}clearElementCache(t){this._engine.statesByElement.delete(t),this._elementListeners.delete(t);const e=this._engine.playersByElement.get(t);e&&(e.forEach(i=>i.destroy()),this._engine.playersByElement.delete(t))}_signalRemovalForInnerTriggers(t,e){const i=this._engine.driver.query(t,og,!0);i.forEach(r=>{if(r[bo])return;const s=this._engine.fetchNamespacesByElement(r);s.size?s.forEach(o=>o.triggerLeaveAnimation(r,e,!1,!0)):this.clearElementCache(r)}),this._engine.afterFlushAnimationsDone(()=>i.forEach(r=>this.clearElementCache(r)))}triggerLeaveAnimation(t,e,i,r){const s=this._engine.statesByElement.get(t),o=new Map;if(s){const a=[];if(Object.keys(s).forEach(l=>{if(o.set(l,s[l].value),this._triggers[l]){const h=this.trigger(t,l,fp,r);h&&a.push(h)}}),a.length)return this._engine.markElementAsRemoved(this.id,t,!0,e,o),i&&Gl(a).onDone(()=>this._engine.processLeaveNode(t)),!0}return!1}prepareLeaveAnimationListeners(t){const e=this._elementListeners.get(t),i=this._engine.statesByElement.get(t);if(e&&i){const r=new Set;e.forEach(s=>{const o=s.name;if(r.has(o))return;r.add(o);const l=this._triggers[o].fallbackTransition,h=i[o]||_M,f=new gM(fp),D=new yM(this.id,o,t);this._engine.totalQueuedPlayers++,this._queue.push({element:t,triggerName:o,transition:l,fromState:h,toState:f,player:D,isFallbackTransition:!0})})}}removeNode(t,e){const i=this._engine;if(t.childElementCount&&this._signalRemovalForInnerTriggers(t,e),this.triggerLeaveAnimation(t,e,!0))return;let r=!1;if(i.totalAnimations){const s=i.players.length?i.playersByQueriedElement.get(t):[];if(s&&s.length)r=!0;else{let o=t;for(;o=o.parentNode;)if(i.statesByElement.get(o)){r=!0;break}}}if(this.prepareLeaveAnimationListeners(t),r)i.markElementAsRemoved(this.id,t,!1,e);else{const s=t[bo];(!s||s===Y1)&&(i.afterFlush(()=>this.clearElementCache(t)),i.destroyInnerAnimations(t),i._onRemovalComplete(t,e))}}insertNode(t,e){wo(t,this._hostClassName)}drainQueuedTransitions(t){const e=[];return this._queue.forEach(i=>{const r=i.player;if(r.destroyed)return;const s=i.element,o=this._elementListeners.get(s);o&&o.forEach(a=>{if(a.name==i.triggerName){const l=Jw(s,i.triggerName,i.fromState.value,i.toState.value);l._data=t,Zw(i.player,a.phase,l,a.callback)}}),r.markedForDestroy?this._engine.afterFlush(()=>{r.destroy()}):e.push(i)}),this._queue=[],e.sort((i,r)=>{const s=i.transition.ast.depCount,o=r.transition.ast.depCount;return 0==s||0==o?s-o:this._engine.driver.containsElement(i.element,r.element)?1:-1})}destroy(t){this.players.forEach(e=>e.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,t)}elementContainsData(t){let e=!1;return this._elementListeners.has(t)&&(e=!0),e=!!this._queue.find(i=>i.element===t)||e,e}}class pz{constructor(t,e,i){this.bodyNode=t,this.driver=e,this._normalizer=i,this.players=[],this.newHostElements=new Map,this.playersByElement=new Map,this.playersByQueriedElement=new Map,this.statesByElement=new Map,this.disabledNodes=new Set,this.totalAnimations=0,this.totalQueuedPlayers=0,this._namespaceLookup={},this._namespaceList=[],this._flushFns=[],this._whenQuietFns=[],this.namespacesByHostElement=new Map,this.collectedEnterElements=[],this.collectedLeaveElements=[],this.onRemovalComplete=(r,s)=>{}}_onRemovalComplete(t,e){this.onRemovalComplete(t,e)}get queuedPlayers(){const t=[];return this._namespaceList.forEach(e=>{e.players.forEach(i=>{i.queued&&t.push(i)})}),t}createNamespace(t,e){const i=new hz(t,e,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,e)?this._balanceNamespaceList(i,e):(this.newHostElements.set(e,i),this.collectEnterElement(e)),this._namespaceLookup[t]=i}_balanceNamespaceList(t,e){const i=this._namespaceList,r=this.namespacesByHostElement,s=i.length-1;if(s>=0){let o=!1;if(void 0!==this.driver.getParentElement){let a=this.driver.getParentElement(e);for(;a;){const l=r.get(a);if(l){const h=i.indexOf(l);i.splice(h+1,0,t),o=!0;break}a=this.driver.getParentElement(a)}}else for(let a=s;a>=0;a--)if(this.driver.containsElement(i[a].hostElement,e)){i.splice(a+1,0,t),o=!0;break}o||i.unshift(t)}else i.push(t);return r.set(e,t),t}register(t,e){let i=this._namespaceLookup[t];return i||(i=this.createNamespace(t,e)),i}registerTrigger(t,e,i){let r=this._namespaceLookup[t];r&&r.register(e,i)&&this.totalAnimations++}destroy(t,e){if(!t)return;const i=this._fetchNamespace(t);this.afterFlush(()=>{this.namespacesByHostElement.delete(i.hostElement),delete this._namespaceLookup[t];const r=this._namespaceList.indexOf(i);r>=0&&this._namespaceList.splice(r,1)}),this.afterFlushAnimationsDone(()=>i.destroy(e))}_fetchNamespace(t){return this._namespaceLookup[t]}fetchNamespacesByElement(t){const e=new Set,i=this.statesByElement.get(t);if(i){const r=Object.keys(i);for(let s=0;s=0&&this.collectedLeaveElements.splice(o,1)}if(t){const o=this._fetchNamespace(t);o&&o.insertNode(e,i)}r&&this.collectEnterElement(e)}collectEnterElement(t){this.collectedEnterElements.push(t)}markElementAsDisabled(t,e){e?this.disabledNodes.has(t)||(this.disabledNodes.add(t),wo(t,fM)):this.disabledNodes.has(t)&&(this.disabledNodes.delete(t),yd(t,fM))}removeNode(t,e,i,r){if(vg(e)){const s=t?this._fetchNamespace(t):null;if(s?s.removeNode(e,r):this.markElementAsRemoved(t,e,!1,r),i){const o=this.namespacesByHostElement.get(e);o&&o.id!==t&&o.removeNode(e,r)}}else this._onRemovalComplete(e,r)}markElementAsRemoved(t,e,i,r,s){this.collectedLeaveElements.push(e),e[bo]={namespaceId:t,setForRemoval:r,hasAnimation:i,removedBeforeQueried:!1,previousTriggersValues:s}}listen(t,e,i,r,s){return vg(e)?this._fetchNamespace(t).listen(e,i,r,s):()=>{}}_buildInstruction(t,e,i,r,s){return t.transition.build(this.driver,t.element,t.fromState.value,t.toState.value,i,r,t.fromState.options,t.toState.options,e,s)}destroyInnerAnimations(t){let e=this.driver.query(t,og,!0);e.forEach(i=>this.destroyActiveAnimationsForElement(i)),0!=this.playersByQueriedElement.size&&(e=this.driver.query(t,rM,!0),e.forEach(i=>this.finishActiveQueriedAnimationOnElement(i)))}destroyActiveAnimationsForElement(t){const e=this.playersByElement.get(t);e&&e.forEach(i=>{i.queued?i.markedForDestroy=!0:i.destroy()})}finishActiveQueriedAnimationOnElement(t){const e=this.playersByQueriedElement.get(t);e&&e.forEach(i=>i.finish())}whenRenderingDone(){return new Promise(t=>{if(this.players.length)return Gl(this.players).onDone(()=>t());t()})}processLeaveNode(t){var e;const i=t[bo];if(i&&i.setForRemoval){if(t[bo]=Y1,i.namespaceId){this.destroyInnerAnimations(t);const r=this._fetchNamespace(i.namespaceId);r&&r.clearElementCache(t)}this._onRemovalComplete(t,i.setForRemoval)}(null===(e=t.classList)||void 0===e?void 0:e.contains(fM))&&this.markElementAsDisabled(t,!1),this.driver.query(t,".ng-animate-disabled",!0).forEach(r=>{this.markElementAsDisabled(r,!1)})}flush(t=-1){let e=[];if(this.newHostElements.size&&(this.newHostElements.forEach((i,r)=>this._balanceNamespaceList(i,r)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let i=0;ii()),this._flushFns=[],this._whenQuietFns.length){const i=this._whenQuietFns;this._whenQuietFns=[],e.length?Gl(e).onDone(()=>{i.forEach(r=>r())}):i.forEach(r=>r())}}reportError(t){throw function g5(n){return new W(3402,li)}()}_flushAnimations(t,e){const i=new gg,r=[],s=new Map,o=[],a=new Map,l=new Map,h=new Map,f=new Set;this.disabledNodes.forEach(_n=>{f.add(_n);const kn=this.driver.query(_n,".ng-animate-queued",!0);for(let Nn=0;Nn{const Nn=iM+Ne++;oe.set(kn,Nn),_n.forEach(mi=>wo(mi,Nn))});const $e=[],it=new Set,qe=new Set;for(let _n=0;_nit.add(mi)):qe.add(kn))}const Rt=new Map,Gt=q1(k,Array.from(it));Gt.forEach((_n,kn)=>{const Nn=rg+Ne++;Rt.set(kn,Nn),_n.forEach(mi=>wo(mi,Nn))}),t.push(()=>{Y.forEach((_n,kn)=>{const Nn=oe.get(kn);_n.forEach(mi=>yd(mi,Nn))}),Gt.forEach((_n,kn)=>{const Nn=Rt.get(kn);_n.forEach(mi=>yd(mi,Nn))}),$e.forEach(_n=>{this.processLeaveNode(_n)})});const wn=[],ii=[];for(let _n=this._namespaceList.length-1;_n>=0;_n--)this._namespaceList[_n].drainQueuedTransitions(e).forEach(Nn=>{const mi=Nn.player,Zr=Nn.element;if(wn.push(mi),this.collectedEnterElements.length){const ks=Zr[bo];if(ks&&ks.setForMove){if(ks.previousTriggersValues&&ks.previousTriggersValues.has(Nn.triggerName)){const mu=ks.previousTriggersValues.get(Nn.triggerName),mc=this.statesByElement.get(Nn.element);mc&&mc[Nn.triggerName]&&(mc[Nn.triggerName].value=mu)}return void mi.destroy()}}const Ga=!D||!this.driver.containsElement(D,Zr),lo=Rt.get(Zr),pc=oe.get(Zr),ar=this._buildInstruction(Nn,i,pc,lo,Ga);if(ar.errors&&ar.errors.length)return void ii.push(ar);if(Ga)return mi.onStart(()=>zc(Zr,ar.fromStyles)),mi.onDestroy(()=>ka(Zr,ar.toStyles)),void r.push(mi);if(Nn.isFallbackTransition)return mi.onStart(()=>zc(Zr,ar.fromStyles)),mi.onDestroy(()=>ka(Zr,ar.toStyles)),void r.push(mi);const NN=[];ar.timelines.forEach(ks=>{ks.stretchStartingKeyframe=!0,this.disabledNodes.has(ks.element)||NN.push(ks)}),ar.timelines=NN,i.append(Zr,ar.timelines),o.push({instruction:ar,player:mi,element:Zr}),ar.queriedElements.forEach(ks=>Zs(a,ks,[]).push(mi)),ar.preStyleProps.forEach((ks,mu)=>{const mc=Object.keys(ks);if(mc.length){let fu=l.get(mu);fu||l.set(mu,fu=new Set),mc.forEach(dE=>fu.add(dE))}}),ar.postStyleProps.forEach((ks,mu)=>{const mc=Object.keys(ks);let fu=h.get(mu);fu||h.set(mu,fu=new Set),mc.forEach(dE=>fu.add(dE))})});if(ii.length){const _n=[];ii.forEach(kn=>{_n.push(function _5(n,t){return new W(3505,li)}())}),wn.forEach(kn=>kn.destroy()),this.reportError(_n)}const Mi=new Map,ms=new Map;o.forEach(_n=>{const kn=_n.element;i.has(kn)&&(ms.set(kn,kn),this._beforeAnimationBuild(_n.player.namespaceId,_n.instruction,Mi))}),r.forEach(_n=>{const kn=_n.element;this._getPreviousPlayers(kn,!1,_n.namespaceId,_n.triggerName,null).forEach(mi=>{Zs(Mi,kn,[]).push(mi),mi.destroy()})});const oo=$e.filter(_n=>z1(_n,l,h)),ao=new Map;V1(ao,this.driver,qe,h,ol).forEach(_n=>{z1(_n,l,h)&&oo.push(_n)});const Ml=new Map;Y.forEach((_n,kn)=>{V1(Ml,this.driver,new Set(_n),l,"!")}),oo.forEach(_n=>{const kn=ao.get(_n),Nn=Ml.get(_n);ao.set(_n,Object.assign(Object.assign({},kn),Nn))});const oa=[],Xd=[],Jd={};o.forEach(_n=>{const{element:kn,player:Nn,instruction:mi}=_n;if(i.has(kn)){if(f.has(kn))return Nn.onDestroy(()=>ka(kn,mi.toStyles)),Nn.disabled=!0,Nn.overrideTotalTime(mi.totalTime),void r.push(Nn);let Zr=Jd;if(ms.size>1){let lo=kn;const pc=[];for(;lo=lo.parentNode;){const ar=ms.get(lo);if(ar){Zr=ar;break}pc.push(lo)}pc.forEach(ar=>ms.set(ar,Zr))}const Ga=this._buildAnimation(Nn.namespaceId,mi,Mi,s,Ml,ao);if(Nn.setRealPlayer(Ga),Zr===Jd)oa.push(Nn);else{const lo=this.playersByElement.get(Zr);lo&&lo.length&&(Nn.parentPlayer=Gl(lo)),r.push(Nn)}}else zc(kn,mi.fromStyles),Nn.onDestroy(()=>ka(kn,mi.toStyles)),Xd.push(Nn),f.has(kn)&&r.push(Nn)}),Xd.forEach(_n=>{const kn=s.get(_n.element);if(kn&&kn.length){const Nn=Gl(kn);_n.setRealPlayer(Nn)}}),r.forEach(_n=>{_n.parentPlayer?_n.syncPlayerEvents(_n.parentPlayer):_n.destroy()});for(let _n=0;_n<$e.length;_n++){const kn=$e[_n],Nn=kn[bo];if(yd(kn,rg),Nn&&Nn.hasAnimation)continue;let mi=[];if(a.size){let Ga=a.get(kn);Ga&&Ga.length&&mi.push(...Ga);let lo=this.driver.query(kn,rM,!0);for(let pc=0;pc!Ga.destroyed);Zr.length?_z(this,kn,Zr):this.processLeaveNode(kn)}return $e.length=0,oa.forEach(_n=>{this.players.push(_n),_n.onDone(()=>{_n.destroy();const kn=this.players.indexOf(_n);this.players.splice(kn,1)}),_n.play()}),oa}elementContainsData(t,e){let i=!1;const r=e[bo];return r&&r.setForRemoval&&(i=!0),this.playersByElement.has(e)&&(i=!0),this.playersByQueriedElement.has(e)&&(i=!0),this.statesByElement.has(e)&&(i=!0),this._fetchNamespace(t).elementContainsData(e)||i}afterFlush(t){this._flushFns.push(t)}afterFlushAnimationsDone(t){this._whenQuietFns.push(t)}_getPreviousPlayers(t,e,i,r,s){let o=[];if(e){const a=this.playersByQueriedElement.get(t);a&&(o=a)}else{const a=this.playersByElement.get(t);if(a){const l=!s||s==fp;a.forEach(h=>{h.queued||!l&&h.triggerName!=r||o.push(h)})}}return(i||r)&&(o=o.filter(a=>!(i&&i!=a.namespaceId||r&&r!=a.triggerName))),o}_beforeAnimationBuild(t,e,i){const s=e.element,o=e.isRemovalTransition?void 0:t,a=e.isRemovalTransition?void 0:e.triggerName;for(const l of e.timelines){const h=l.element,f=h!==s,D=Zs(i,h,[]);this._getPreviousPlayers(h,f,o,a,e.toState).forEach(Y=>{const oe=Y.getRealPlayer();oe.beforeDestroy&&oe.beforeDestroy(),Y.destroy(),D.push(Y)})}zc(s,e.fromStyles)}_buildAnimation(t,e,i,r,s,o){const a=e.triggerName,l=e.element,h=[],f=new Set,D=new Set,k=e.timelines.map(oe=>{const Ne=oe.element;f.add(Ne);const $e=Ne[bo];if($e&&$e.removedBeforeQueried)return new pp(oe.duration,oe.delay);const it=Ne!==l,qe=function yz(n){const t=[];return U1(n,t),t}((i.get(Ne)||uz).map(Mi=>Mi.getRealPlayer())).filter(Mi=>!!Mi.element&&Mi.element===Ne),Rt=s.get(Ne),Gt=o.get(Ne),wn=g1(0,this._normalizer,0,oe.keyframes,Rt,Gt),ii=this._buildPlayer(oe,wn,qe);if(oe.subTimeline&&r&&D.add(Ne),it){const Mi=new yM(t,a,Ne);Mi.setRealPlayer(ii),h.push(Mi)}return ii});h.forEach(oe=>{Zs(this.playersByQueriedElement,oe.element,[]).push(oe),oe.onDone(()=>function mz(n,t,e){let i;if(n instanceof Map){if(i=n.get(t),i){if(i.length){const r=i.indexOf(e);i.splice(r,1)}0==i.length&&n.delete(t)}}else if(i=n[t],i){if(i.length){const r=i.indexOf(e);i.splice(r,1)}0==i.length&&delete n[t]}return i}(this.playersByQueriedElement,oe.element,oe))}),f.forEach(oe=>wo(oe,T1));const Y=Gl(k);return Y.onDestroy(()=>{f.forEach(oe=>yd(oe,T1)),ka(l,e.toStyles)}),D.forEach(oe=>{Zs(r,oe,[]).push(Y)}),Y}_buildPlayer(t,e,i){return e.length>0?this.driver.animate(t.element,e,t.duration,t.delay,t.easing,i):new pp(t.duration,t.delay)}}class yM{constructor(t,e,i){this.namespaceId=t,this.triggerName=e,this.element=i,this._player=new pp,this._containsRealPlayer=!1,this._queuedCallbacks={},this.destroyed=!1,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(t){this._containsRealPlayer||(this._player=t,Object.keys(this._queuedCallbacks).forEach(e=>{this._queuedCallbacks[e].forEach(i=>Zw(t,e,void 0,i))}),this._queuedCallbacks={},this._containsRealPlayer=!0,this.overrideTotalTime(t.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(t){this.totalTime=t}syncPlayerEvents(t){const e=this._player;e.triggerCallback&&t.onStart(()=>e.triggerCallback("start")),t.onDone(()=>this.finish()),t.onDestroy(()=>this.destroy())}_queueEvent(t,e){Zs(this._queuedCallbacks,t,[]).push(e)}onDone(t){this.queued&&this._queueEvent("done",t),this._player.onDone(t)}onStart(t){this.queued&&this._queueEvent("start",t),this._player.onStart(t)}onDestroy(t){this.queued&&this._queueEvent("destroy",t),this._player.onDestroy(t)}init(){this._player.init()}hasStarted(){return!this.queued&&this._player.hasStarted()}play(){!this.queued&&this._player.play()}pause(){!this.queued&&this._player.pause()}restart(){!this.queued&&this._player.restart()}finish(){this._player.finish()}destroy(){this.destroyed=!0,this._player.destroy()}reset(){!this.queued&&this._player.reset()}setPosition(t){this.queued||this._player.setPosition(t)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(t){const e=this._player;e.triggerCallback&&e.triggerCallback(t)}}function vg(n){return n&&1===n.nodeType}function H1(n,t){const e=n.style.display;return n.style.display=null!=t?t:"none",e}function V1(n,t,e,i,r){const s=[];e.forEach(l=>s.push(H1(l)));const o=[];i.forEach((l,h)=>{const f={};l.forEach(D=>{const k=f[D]=t.computeStyle(h,D,r);(!k||0==k.length)&&(h[bo]=dz,o.push(h))}),n.set(h,f)});let a=0;return e.forEach(l=>H1(l,s[a++])),o}function q1(n,t){const e=new Map;if(n.forEach(a=>e.set(a,[])),0==t.length)return e;const r=new Set(t),s=new Map;function o(a){if(!a)return 1;let l=s.get(a);if(l)return l;const h=a.parentNode;return l=e.has(h)?h:r.has(h)?1:o(h),s.set(a,l),l}return t.forEach(a=>{const l=o(a);1!==l&&e.get(l).push(a)}),e}function wo(n,t){var e;null===(e=n.classList)||void 0===e||e.add(t)}function yd(n,t){var e;null===(e=n.classList)||void 0===e||e.remove(t)}function _z(n,t,e){Gl(e).onDone(()=>n.processLeaveNode(t))}function U1(n,t){for(let e=0;er.add(s)):t.set(n,i),e.delete(n),!0}class bg{constructor(t,e,i){this.bodyNode=t,this._driver=e,this._normalizer=i,this._triggerCache={},this.onRemovalComplete=(r,s)=>{},this._transitionEngine=new pz(t,e,i),this._timelineEngine=new sz(t,e,i),this._transitionEngine.onRemovalComplete=(r,s)=>this.onRemovalComplete(r,s)}registerTrigger(t,e,i,r,s){const o=t+"-"+r;let a=this._triggerCache[o];if(!a){const l=[],f=lM(this._driver,s,l,[]);if(l.length)throw function o5(n,t){return new W(3404,li)}();a=function tz(n,t,e){return new nz(n,t,e)}(r,f,this._normalizer),this._triggerCache[o]=a}this._transitionEngine.registerTrigger(e,r,a)}register(t,e){this._transitionEngine.register(t,e)}destroy(t,e){this._transitionEngine.destroy(t,e)}onInsert(t,e,i,r){this._transitionEngine.insertNode(t,e,i,r)}onRemove(t,e,i,r){this._transitionEngine.removeNode(t,e,r||!1,i)}disableAnimations(t,e){this._transitionEngine.markElementAsDisabled(t,e)}process(t,e,i,r){if("@"==i.charAt(0)){const[s,o]=_1(i);this._timelineEngine.command(s,e,o,r)}else this._transitionEngine.trigger(t,e,i,r)}listen(t,e,i,r,s){if("@"==i.charAt(0)){const[o,a]=_1(i);return this._timelineEngine.listen(o,e,a,s)}return this._transitionEngine.listen(t,e,i,r,s)}flush(t=-1){this._transitionEngine.flush(t)}get players(){return this._transitionEngine.players.concat(this._timelineEngine.players)}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}}let wz=(()=>{class n{constructor(e,i,r){this._element=e,this._startStyles=i,this._endStyles=r,this._state=0;let s=n.initialStylesByElement.get(e);s||n.initialStylesByElement.set(e,s={}),this._initialStyles=s}start(){this._state<1&&(this._startStyles&&ka(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(ka(this._element,this._initialStyles),this._endStyles&&(ka(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(n.initialStylesByElement.delete(this._element),this._startStyles&&(zc(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(zc(this._element,this._endStyles),this._endStyles=null),ka(this._element,this._initialStyles),this._state=3)}}return n.initialStylesByElement=new WeakMap,n})();function vM(n){let t=null;const e=Object.keys(n);for(let i=0;it()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const t=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,t,this.options),this._finalKeyframe=t.length?t[t.length-1]:{},this.domPlayer.addEventListener("finish",()=>this._onFinish())}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_triggerWebAnimation(t,e,i){return t.animate(e,i)}onStart(t){this._onStartFns.push(t)}onDone(t){this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(t=>t()),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()}pause(){this.init(),this.domPlayer.pause()}finish(){this.init(),this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish()}reset(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1}_resetDomPlayerState(){this.domPlayer&&this.domPlayer.cancel()}restart(){this.reset(),this.play()}hasStarted(){return this._started}destroy(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(t=>t()),this._onDestroyFns=[])}setPosition(t){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=t*this.time}getPosition(){return this.domPlayer.currentTime/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const t={};if(this.hasStarted()){const e=this._finalKeyframe;Object.keys(e).forEach(i=>{"offset"!=i&&(t[i]=this._finished?e[i]:A1(this.element,i))})}this.currentSnapshot=t}triggerCallback(t){const e="start"==t?this._onStartFns:this._onDoneFns;e.forEach(i=>i()),e.length=0}}class Dz{validateStyleProperty(t){return w1(t)}matchesElement(t,e){return!1}containsElement(t,e){return M1(t,e)}getParentElement(t){return tM(t)}query(t,e,i){return D1(t,e,i)}computeStyle(t,e,i){return window.getComputedStyle(t)[e]}animate(t,e,i,r,s,o=[]){const l={duration:i,delay:r,fill:0==r?"both":"forwards"};s&&(l.easing=s);const h={},f=o.filter(k=>k instanceof G1);(function S5(n,t){return 0===n||0===t})(i,r)&&f.forEach(k=>{let Y=k.currentSnapshot;Object.keys(Y).forEach(oe=>h[oe]=Y[oe])}),e=function k5(n,t,e){const i=Object.keys(e);if(i.length&&t.length){let s=t[0],o=[];if(i.forEach(a=>{s.hasOwnProperty(a)||o.push(a),s[a]=e[a]}),o.length)for(var r=1;r$l(k,!1)),h);const D=function bz(n,t){let e=null,i=null;return Array.isArray(t)&&t.length?(e=vM(t[0]),t.length>1&&(i=vM(t[t.length-1]))):t&&(e=vM(t)),e||i?new wz(n,e,i):null}(t,e);return new G1(t,e,l,D)}}let Ez=(()=>{class n extends d1{constructor(e,i){super(),this._nextAnimationId=0,this._renderer=e.createRenderer(i.body,{id:"0",encapsulation:is.None,styles:[],data:{animation:[]}})}build(e){const i=this._nextAnimationId.toString();this._nextAnimationId++;const r=Array.isArray(e)?h1(e):e;return $1(this._renderer,null,i,"register",[r]),new Cz(i,this._renderer)}}return n.\u0275fac=function(e){return new(e||n)(Se(Zh),Se(Dn))},n.\u0275prov=Ee({token:n,factory:n.\u0275fac}),n})();class Cz extends class N4{}{constructor(t,e){super(),this._id=t,this._renderer=e}create(t,e){return new Tz(this._id,t,e||{},this._renderer)}}class Tz{constructor(t,e,i,r){this.id=t,this.element=e,this._renderer=r,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",i)}_listen(t,e){return this._renderer.listen(this.element,`@@${this.id}:${t}`,e)}_command(t,...e){return $1(this._renderer,this.element,this.id,t,e)}onDone(t){this._listen("done",t)}onStart(t){this._listen("start",t)}onDestroy(t){this._listen("destroy",t)}init(){this._command("init")}hasStarted(){return this._started}play(){this._command("play"),this._started=!0}pause(){this._command("pause")}restart(){this._command("restart")}finish(){this._command("finish")}destroy(){this._command("destroy")}reset(){this._command("reset"),this._started=!1}setPosition(t){this._command("setPosition",t)}getPosition(){var t,e;return null!==(e=null===(t=this._renderer.engine.players[+this.id])||void 0===t?void 0:t.getPosition())&&void 0!==e?e:0}}function $1(n,t,e,i,r){return n.setProperty(t,`@@${e}:${i}`,r)}const W1="@.disabled";let Sz=(()=>{class n{constructor(e,i,r){this.delegate=e,this.engine=i,this._zone=r,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,this.promise=Promise.resolve(0),i.onRemovalComplete=(s,o)=>{const a=null==o?void 0:o.parentNode(s);a&&o.removeChild(a,s)}}createRenderer(e,i){const s=this.delegate.createRenderer(e,i);if(!(e&&i&&i.data&&i.data.animation)){let f=this._rendererCache.get(s);return f||(f=new Q1("",s,this.engine),this._rendererCache.set(s,f)),f}const o=i.id,a=i.id+"-"+this._currentId;this._currentId++,this.engine.register(a,e);const l=f=>{Array.isArray(f)?f.forEach(l):this.engine.registerTrigger(o,a,e,f.name,f)};return i.data.animation.forEach(l),new kz(this,a,s,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){this.promise.then(()=>{this._microtaskId++})}scheduleListenerCallback(e,i,r){e>=0&&ei(r)):(0==this._animationCallbacksBuffer.length&&Promise.resolve(null).then(()=>{this._zone.run(()=>{this._animationCallbacksBuffer.forEach(s=>{const[o,a]=s;o(a)}),this._animationCallbacksBuffer=[]})}),this._animationCallbacksBuffer.push([i,r]))}end(){this._cdRecurDepth--,0==this._cdRecurDepth&&this._zone.runOutsideAngular(()=>{this._scheduleCountTask(),this.engine.flush(this._microtaskId)}),this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.engine.whenRenderingDone()}}return n.\u0275fac=function(e){return new(e||n)(Se(Zh),Se(bg),Se(yn))},n.\u0275prov=Ee({token:n,factory:n.\u0275fac}),n})();class Q1{constructor(t,e,i){this.namespaceId=t,this.delegate=e,this.engine=i,this.destroyNode=this.delegate.destroyNode?r=>e.destroyNode(r):null}get data(){return this.delegate.data}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.delegate.destroy()}createElement(t,e){return this.delegate.createElement(t,e)}createComment(t){return this.delegate.createComment(t)}createText(t){return this.delegate.createText(t)}appendChild(t,e){this.delegate.appendChild(t,e),this.engine.onInsert(this.namespaceId,e,t,!1)}insertBefore(t,e,i,r=!0){this.delegate.insertBefore(t,e,i),this.engine.onInsert(this.namespaceId,e,t,r)}removeChild(t,e,i){this.engine.onRemove(this.namespaceId,e,this.delegate,i)}selectRootElement(t,e){return this.delegate.selectRootElement(t,e)}parentNode(t){return this.delegate.parentNode(t)}nextSibling(t){return this.delegate.nextSibling(t)}setAttribute(t,e,i,r){this.delegate.setAttribute(t,e,i,r)}removeAttribute(t,e,i){this.delegate.removeAttribute(t,e,i)}addClass(t,e){this.delegate.addClass(t,e)}removeClass(t,e){this.delegate.removeClass(t,e)}setStyle(t,e,i,r){this.delegate.setStyle(t,e,i,r)}removeStyle(t,e,i){this.delegate.removeStyle(t,e,i)}setProperty(t,e,i){"@"==e.charAt(0)&&e==W1?this.disableAnimations(t,!!i):this.delegate.setProperty(t,e,i)}setValue(t,e){this.delegate.setValue(t,e)}listen(t,e,i){return this.delegate.listen(t,e,i)}disableAnimations(t,e){this.engine.disableAnimations(t,e)}}class kz extends Q1{constructor(t,e,i,r){super(e,i,r),this.factory=t,this.namespaceId=e}setProperty(t,e,i){"@"==e.charAt(0)?"."==e.charAt(1)&&e==W1?this.disableAnimations(t,i=void 0===i||!!i):this.engine.process(this.namespaceId,t,e.substr(1),i):this.delegate.setProperty(t,e,i)}listen(t,e,i){if("@"==e.charAt(0)){const r=function xz(n){switch(n){case"body":return document.body;case"document":return document;case"window":return window;default:return n}}(t);let s=e.substr(1),o="";return"@"!=s.charAt(0)&&([s,o]=function Iz(n){const t=n.indexOf(".");return[n.substring(0,t),n.substr(t+1)]}(s)),this.engine.listen(this.namespaceId,r,s,o,a=>{this.factory.scheduleListenerCallback(a._data||-1,i,a)})}return this.delegate.listen(t,e,i)}}let Az=(()=>{class n extends bg{constructor(e,i,r){super(e.body,i,r)}ngOnDestroy(){this.flush()}}return n.\u0275fac=function(e){return new(e||n)(Se(Dn),Se(nM),Se(pM))},n.\u0275prov=Ee({token:n,factory:n.\u0275fac}),n})();const Zi=new ht("AnimationModuleType"),K1=[{provide:d1,useClass:Ez},{provide:pM,useFactory:function Rz(){return new K5}},{provide:bg,useClass:Az},{provide:Zh,useFactory:function Lz(n,t,e){return new Sz(n,t,e)},deps:[Jf,bg,yn]}],Z1=[{provide:nM,useFactory:()=>new Dz},{provide:Zi,useValue:"BrowserAnimations"},...K1],Oz=[{provide:nM,useClass:E1},{provide:Zi,useValue:"NoopAnimations"},...K1];let Pz=(()=>{class n{static withConfig(e){return{ngModule:n,providers:e.disableAnimations?Oz:Z1}}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Yt({type:n}),n.\u0275inj=He({providers:Z1,imports:[Qx]}),n})();class xi extends K{constructor(t){super(),this._value=t}get value(){return this.getValue()}_subscribe(t){const e=super._subscribe(t);return e&&!e.closed&&t.next(this._value),e}getValue(){if(this.hasError)throw this.thrownError;if(this.closed)throw new E;return this._value}next(t){super.next(this._value=t)}}class Fz extends F{notifyNext(t,e,i,r,s){this.destination.next(e)}notifyError(t,e){this.destination.error(t)}notifyComplete(t){this.destination.complete()}}class Nz extends F{constructor(t,e,i){super(),this.parent=t,this.outerValue=e,this.outerIndex=i,this.index=0}_next(t){this.parent.notifyNext(this.outerValue,t,this.outerIndex,this.index++,this)}_error(t){this.parent.notifyError(t,this),this.unsubscribe()}_complete(){this.parent.notifyComplete(this),this.unsubscribe()}}function Bz(n,t,e,i,r=new Nz(n,e,i)){if(!r.closed)return t instanceof st?t.subscribe(r):Dt(t)(r)}const X1={};function bM(...n){let t,e;return Be(n[n.length-1])&&(e=n.pop()),"function"==typeof n[n.length-1]&&(t=n.pop()),1===n.length&&g(n[0])&&(n=n[0]),Ke(n,e).lift(new jz(t))}class jz{constructor(t){this.resultSelector=t}call(t,e){return e.subscribe(new Yz(t,this.resultSelector))}}class Yz extends Fz{constructor(t,e){super(t),this.resultSelector=e,this.active=0,this.values=[],this.observables=[]}_next(t){this.values.push(X1),this.observables.push(t)}_complete(){const t=this.observables,e=t.length;if(0===e)this.destination.complete();else{this.active=e,this.toRespond=e;for(let i=0;it.schedule(Hz,0,{error:n,subscriber:e}):e=>e.error(n))}function Hz({error:n,subscriber:t}){t.error(n)}const Mg=(()=>{function n(){return Error.call(this),this.message="no elements in sequence",this.name="EmptyError",this}return n.prototype=Object.create(Error.prototype),n})();function Dg(...n){return function Vz(){return xe(1)}()(Qt(...n))}const xa=new st(n=>n.complete());function Eg(n){return n?function qz(n){return new st(t=>n.schedule(()=>t.complete()))}(n):xa}function gp(n){return new st(t=>{let e;try{e=n()}catch(r){return void t.error(r)}return(e?St(e):Eg()).subscribe(t)})}function Jr(n,t){return"function"==typeof t?e=>e.pipe(Jr((i,r)=>St(n(i,r)).pipe(ge((s,o)=>t(i,s,r,o))))):e=>e.lift(new Uz(n))}class Uz{constructor(t){this.project=t}call(t,e){return e.subscribe(new zz(t,this.project))}}class zz extends Wt{constructor(t,e){super(t),this.project=e,this.index=0}_next(t){let e;const i=this.index++;try{e=this.project(t,i)}catch(r){return void this.destination.error(r)}this._innerSub(e)}_innerSub(t){const e=this.innerSubscription;e&&e.unsubscribe();const i=new Xt(this),r=this.destination;r.add(i),this.innerSubscription=xn(t,i),this.innerSubscription!==i&&r.add(this.innerSubscription)}_complete(){const{innerSubscription:t}=this;(!t||t.closed)&&super._complete(),this.unsubscribe()}_unsubscribe(){this.innerSubscription=void 0}notifyComplete(){this.innerSubscription=void 0,this.isStopped&&super._complete()}notifyNext(t){this.destination.next(t)}}const J1=(()=>{function n(){return Error.call(this),this.message="argument out of range",this.name="ArgumentOutOfRangeError",this}return n.prototype=Object.create(Error.prototype),n})();function Ii(n){return t=>0===n?Eg():t.lift(new Gz(n))}class Gz{constructor(t){if(this.total=t,this.total<0)throw new J1}call(t,e){return e.subscribe(new $z(t,this.total))}}class $z extends F{constructor(t,e){super(t),this.total=e,this.count=0}_next(t){const e=this.total,i=++this.count;i<=e&&(this.destination.next(t),i===e&&(this.destination.complete(),this.unsubscribe()))}}function hr(...n){const t=n[n.length-1];return Be(t)?(n.pop(),e=>Dg(n,e,t)):e=>Dg(n,e)}function eI(n,t){let e=!1;return arguments.length>=2&&(e=!0),function(r){return r.lift(new Wz(n,t,e))}}class Wz{constructor(t,e,i=!1){this.accumulator=t,this.seed=e,this.hasSeed=i}call(t,e){return e.subscribe(new Qz(t,this.accumulator,this.seed,this.hasSeed))}}class Qz extends F{constructor(t,e,i,r){super(t),this.accumulator=e,this._seed=i,this.hasSeed=r,this.index=0}get seed(){return this._seed}set seed(t){this.hasSeed=!0,this._seed=t}_next(t){if(this.hasSeed)return this._tryNext(t);this.seed=t,this.destination.next(t)}_tryNext(t){const e=this.index++;let i;try{i=this.accumulator(this.seed,t,e)}catch(r){this.destination.error(r)}this.seed=i,this.destination.next(i)}}function Ni(n){return function(e){const i=new Kz(n),r=e.lift(i);return i.caught=r}}class Kz{constructor(t){this.selector=t}call(t,e){return e.subscribe(new Zz(t,this.selector,this.caught))}}class Zz extends Wt{constructor(t,e,i){super(t),this.selector=e,this.caught=i}error(t){if(!this.isStopped){let e;try{e=this.selector(t,this.caught)}catch(s){return void super.error(s)}this._unsubscribeAndRecycle();const i=new Xt(this);this.add(i);const r=xn(e,i);r!==i&&this.add(r)}}}function wM(n){return function(e){return 0===n?Eg():e.lift(new Xz(n))}}class Xz{constructor(t){if(this.total=t,this.total<0)throw new J1}call(t,e){return e.subscribe(new Jz(t,this.total))}}class Jz extends F{constructor(t,e){super(t),this.total=e,this.ring=new Array,this.count=0}_next(t){const e=this.ring,i=this.total,r=this.count++;e.length0){const i=this.count>=this.total?this.total:this.count,r=this.ring;for(let s=0;st.lift(new eG(n))}class eG{constructor(t){this.errorFactory=t}call(t,e){return e.subscribe(new tG(t,this.errorFactory))}}class tG extends F{constructor(t,e){super(t),this.errorFactory=e,this.hasValue=!1}_next(t){this.hasValue=!0,this.destination.next(t)}_complete(){if(this.hasValue)return this.destination.complete();{let t;try{t=this.errorFactory()}catch(e){t=e}this.destination.error(t)}}}function nG(){return new Mg}function tI(n=null){return t=>t.lift(new iG(n))}class iG{constructor(t){this.defaultValue=t}call(t,e){return e.subscribe(new rG(t,this.defaultValue))}}class rG extends F{constructor(t,e){super(t),this.defaultValue=e,this.isEmpty=!0}_next(t){this.isEmpty=!1,this.destination.next(t)}_complete(){this.isEmpty&&this.destination.next(this.defaultValue),this.destination.complete()}}function Js(n,t){const e=arguments.length>=2;return i=>i.pipe(n?hi((r,s)=>n(r,s,i)):Nt,Ii(1),e?tI(t):vd(()=>new Mg))}function Wl(){}function wr(n,t,e){return function(r){return r.lift(new oG(n,t,e))}}class oG{constructor(t,e,i){this.nextOrObserver=t,this.error=e,this.complete=i}call(t,e){return e.subscribe(new aG(t,this.nextOrObserver,this.error,this.complete))}}class aG extends F{constructor(t,e,i,r){super(t),this._tapNext=Wl,this._tapError=Wl,this._tapComplete=Wl,this._tapError=i||Wl,this._tapComplete=r||Wl,v(e)?(this._context=this,this._tapNext=e):e&&(this._context=e,this._tapNext=e.next||Wl,this._tapError=e.error||Wl,this._tapComplete=e.complete||Wl)}_next(t){try{this._tapNext.call(this._context,t)}catch(e){return void this.destination.error(e)}this.destination.next(t)}_error(t){try{this._tapError.call(this._context,t)}catch(e){return void this.destination.error(e)}this.destination.error(t)}_complete(){try{this._tapComplete.call(this._context)}catch(t){return void this.destination.error(t)}return this.destination.complete()}}function Ia(n){return t=>t.lift(new lG(n))}class lG{constructor(t){this.callback=t}call(t,e){return e.subscribe(new cG(t,this.callback))}}class cG extends F{constructor(t,e){super(t),this.add(new P(e))}}class al{constructor(t,e){this.id=t,this.url=e}}class MM extends al{constructor(t,e,i="imperative",r=null){super(t,e),this.navigationTrigger=i,this.restoredState=r}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class bd extends al{constructor(t,e,i){super(t,e),this.urlAfterRedirects=i}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class nI extends al{constructor(t,e,i){super(t,e),this.reason=i}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class uG extends al{constructor(t,e,i){super(t,e),this.error=i}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class iI extends al{constructor(t,e,i,r){super(t,e),this.urlAfterRedirects=i,this.state=r}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class dG extends al{constructor(t,e,i,r){super(t,e),this.urlAfterRedirects=i,this.state=r}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class hG extends al{constructor(t,e,i,r,s){super(t,e),this.urlAfterRedirects=i,this.state=r,this.shouldActivate=s}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class pG extends al{constructor(t,e,i,r){super(t,e),this.urlAfterRedirects=i,this.state=r}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class mG extends al{constructor(t,e,i,r){super(t,e),this.urlAfterRedirects=i,this.state=r}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class rI{constructor(t){this.route=t}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class sI{constructor(t){this.route=t}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class fG{constructor(t){this.snapshot=t}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class gG{constructor(t){this.snapshot=t}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class _G{constructor(t){this.snapshot=t}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class yG{constructor(t){this.snapshot=t}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class oI{constructor(t,e,i){this.routerEvent=t,this.position=e,this.anchor=i}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}const ni="primary";class vG{constructor(t){this.params=t||{}}has(t){return Object.prototype.hasOwnProperty.call(this.params,t)}get(t){if(this.has(t)){const e=this.params[t];return Array.isArray(e)?e[0]:e}return null}getAll(t){if(this.has(t)){const e=this.params[t];return Array.isArray(e)?e:[e]}return[]}get keys(){return Object.keys(this.params)}}function wd(n){return new vG(n)}const aI="ngNavigationCancelingError";function DM(n){const t=Error("NavigationCancelingError: "+n);return t[aI]=!0,t}function wG(n,t,e){const i=e.path.split("/");if(i.length>n.length||"full"===e.pathMatch&&(t.hasChildren()||i.lengthi[s]===r)}return n===t}function cI(n){return Array.prototype.concat.apply([],n)}function uI(n){return n.length>0?n[n.length-1]:null}function es(n,t){for(const e in n)n.hasOwnProperty(e)&&t(n[e],e)}function Ra(n){return Lb(n)?n:zh(n)?St(Promise.resolve(n)):Qt(n)}const EG={exact:function pI(n,t,e){if(!Wc(n.segments,t.segments)||!Cg(n.segments,t.segments,e)||n.numberOfChildren!==t.numberOfChildren)return!1;for(const i in t.children)if(!n.children[i]||!pI(n.children[i],t.children[i],e))return!1;return!0},subset:mI},dI={exact:function CG(n,t){return Aa(n,t)},subset:function TG(n,t){return Object.keys(t).length<=Object.keys(n).length&&Object.keys(t).every(e=>lI(n[e],t[e]))},ignored:()=>!0};function hI(n,t,e){return EG[e.paths](n.root,t.root,e.matrixParams)&&dI[e.queryParams](n.queryParams,t.queryParams)&&!("exact"===e.fragment&&n.fragment!==t.fragment)}function mI(n,t,e){return fI(n,t,t.segments,e)}function fI(n,t,e,i){if(n.segments.length>e.length){const r=n.segments.slice(0,e.length);return!(!Wc(r,e)||t.hasChildren()||!Cg(r,e,i))}if(n.segments.length===e.length){if(!Wc(n.segments,e)||!Cg(n.segments,e,i))return!1;for(const r in t.children)if(!n.children[r]||!mI(n.children[r],t.children[r],i))return!1;return!0}{const r=e.slice(0,n.segments.length),s=e.slice(n.segments.length);return!!(Wc(n.segments,r)&&Cg(n.segments,r,i)&&n.children[ni])&&fI(n.children[ni],t,s,i)}}function Cg(n,t,e){return t.every((i,r)=>dI[e](n[r].parameters,i.parameters))}class $c{constructor(t,e,i){this.root=t,this.queryParams=e,this.fragment=i}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=wd(this.queryParams)),this._queryParamMap}toString(){return xG.serialize(this)}}class ci{constructor(t,e){this.segments=t,this.children=e,this.parent=null,es(e,(i,r)=>i.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Tg(this)}}class _p{constructor(t,e){this.path=t,this.parameters=e}get parameterMap(){return this._parameterMap||(this._parameterMap=wd(this.parameters)),this._parameterMap}toString(){return bI(this)}}function Wc(n,t){return n.length===t.length&&n.every((e,i)=>e.path===t[i].path)}class gI{}class _I{parse(t){const e=new BG(t);return new $c(e.parseRootSegment(),e.parseQueryParams(),e.parseFragment())}serialize(t){const e=`/${yp(t.root,!0)}`,i=function RG(n){const t=Object.keys(n).map(e=>{const i=n[e];return Array.isArray(i)?i.map(r=>`${Sg(e)}=${Sg(r)}`).join("&"):`${Sg(e)}=${Sg(i)}`}).filter(e=>!!e);return t.length?`?${t.join("&")}`:""}(t.queryParams),r="string"==typeof t.fragment?`#${function IG(n){return encodeURI(n)}(t.fragment)}`:"";return`${e}${i}${r}`}}const xG=new _I;function Tg(n){return n.segments.map(t=>bI(t)).join("/")}function yp(n,t){if(!n.hasChildren())return Tg(n);if(t){const e=n.children[ni]?yp(n.children[ni],!1):"",i=[];return es(n.children,(r,s)=>{s!==ni&&i.push(`${s}:${yp(r,!1)}`)}),i.length>0?`${e}(${i.join("//")})`:e}{const e=function kG(n,t){let e=[];return es(n.children,(i,r)=>{r===ni&&(e=e.concat(t(i,r)))}),es(n.children,(i,r)=>{r!==ni&&(e=e.concat(t(i,r)))}),e}(n,(i,r)=>r===ni?[yp(n.children[ni],!1)]:[`${r}:${yp(i,!1)}`]);return 1===Object.keys(n.children).length&&null!=n.children[ni]?`${Tg(n)}/${e[0]}`:`${Tg(n)}/(${e.join("//")})`}}function yI(n){return encodeURIComponent(n).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Sg(n){return yI(n).replace(/%3B/gi,";")}function EM(n){return yI(n).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function kg(n){return decodeURIComponent(n)}function vI(n){return kg(n.replace(/\+/g,"%20"))}function bI(n){return`${EM(n.path)}${function AG(n){return Object.keys(n).map(t=>`;${EM(t)}=${EM(n[t])}`).join("")}(n.parameters)}`}const LG=/^[^\/()?;=#]+/;function xg(n){const t=n.match(LG);return t?t[0]:""}const OG=/^[^=?&#]+/,FG=/^[^&#]+/;class BG{constructor(t){this.url=t,this.remaining=t}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new ci([],{}):new ci([],this.parseChildren())}parseQueryParams(){const t={};if(this.consumeOptional("?"))do{this.parseQueryParam(t)}while(this.consumeOptional("&"));return t}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const t=[];for(this.peekStartsWith("(")||t.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),t.push(this.parseSegment());let e={};this.peekStartsWith("/(")&&(this.capture("/"),e=this.parseParens(!0));let i={};return this.peekStartsWith("(")&&(i=this.parseParens(!1)),(t.length>0||Object.keys(e).length>0)&&(i[ni]=new ci(t,e)),i}parseSegment(){const t=xg(this.remaining);if(""===t&&this.peekStartsWith(";"))throw new Error(`Empty path url segment cannot have parameters: '${this.remaining}'.`);return this.capture(t),new _p(kg(t),this.parseMatrixParams())}parseMatrixParams(){const t={};for(;this.consumeOptional(";");)this.parseParam(t);return t}parseParam(t){const e=xg(this.remaining);if(!e)return;this.capture(e);let i="";if(this.consumeOptional("=")){const r=xg(this.remaining);r&&(i=r,this.capture(i))}t[kg(e)]=kg(i)}parseQueryParam(t){const e=function PG(n){const t=n.match(OG);return t?t[0]:""}(this.remaining);if(!e)return;this.capture(e);let i="";if(this.consumeOptional("=")){const o=function NG(n){const t=n.match(FG);return t?t[0]:""}(this.remaining);o&&(i=o,this.capture(i))}const r=vI(e),s=vI(i);if(t.hasOwnProperty(r)){let o=t[r];Array.isArray(o)||(o=[o],t[r]=o),o.push(s)}else t[r]=s}parseParens(t){const e={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const i=xg(this.remaining),r=this.remaining[i.length];if("/"!==r&&")"!==r&&";"!==r)throw new Error(`Cannot parse url '${this.url}'`);let s;i.indexOf(":")>-1?(s=i.substr(0,i.indexOf(":")),this.capture(s),this.capture(":")):t&&(s=ni);const o=this.parseChildren();e[s]=1===Object.keys(o).length?o[ni]:new ci([],o),this.consumeOptional("//")}return e}peekStartsWith(t){return this.remaining.startsWith(t)}consumeOptional(t){return!!this.peekStartsWith(t)&&(this.remaining=this.remaining.substring(t.length),!0)}capture(t){if(!this.consumeOptional(t))throw new Error(`Expected "${t}".`)}}class wI{constructor(t){this._root=t}get root(){return this._root.value}parent(t){const e=this.pathFromRoot(t);return e.length>1?e[e.length-2]:null}children(t){const e=CM(t,this._root);return e?e.children.map(i=>i.value):[]}firstChild(t){const e=CM(t,this._root);return e&&e.children.length>0?e.children[0].value:null}siblings(t){const e=TM(t,this._root);return e.length<2?[]:e[e.length-2].children.map(r=>r.value).filter(r=>r!==t)}pathFromRoot(t){return TM(t,this._root).map(e=>e.value)}}function CM(n,t){if(n===t.value)return t;for(const e of t.children){const i=CM(n,e);if(i)return i}return null}function TM(n,t){if(n===t.value)return[t];for(const e of t.children){const i=TM(n,e);if(i.length)return i.unshift(t),i}return[]}class ll{constructor(t,e){this.value=t,this.children=e}toString(){return`TreeNode(${this.value})`}}function Md(n){const t={};return n&&n.children.forEach(e=>t[e.value.outlet]=e),t}class MI extends wI{constructor(t,e){super(t),this.snapshot=e,SM(this,t)}toString(){return this.snapshot.toString()}}function DI(n,t){const e=function jG(n,t){const o=new Ig([],{},{},"",{},ni,t,null,n.root,-1,{});return new CI("",new ll(o,[]))}(n,t),i=new xi([new _p("",{})]),r=new xi({}),s=new xi({}),o=new xi({}),a=new xi(""),l=new Zo(i,r,o,a,s,ni,t,e.root);return l.snapshot=e.root,new MI(new ll(l,[]),e)}class Zo{constructor(t,e,i,r,s,o,a,l){this.url=t,this.params=e,this.queryParams=i,this.fragment=r,this.data=s,this.outlet=o,this.component=a,this._futureSnapshot=l}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=this.params.pipe(ge(t=>wd(t)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe(ge(t=>wd(t)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function EI(n,t="emptyOnly"){const e=n.pathFromRoot;let i=0;if("always"!==t)for(i=e.length-1;i>=1;){const r=e[i],s=e[i-1];if(r.routeConfig&&""===r.routeConfig.path)i--;else{if(s.component)break;i--}}return function YG(n){return n.reduce((t,e)=>({params:Object.assign(Object.assign({},t.params),e.params),data:Object.assign(Object.assign({},t.data),e.data),resolve:Object.assign(Object.assign({},t.resolve),e._resolvedData)}),{params:{},data:{},resolve:{}})}(e.slice(i))}class Ig{constructor(t,e,i,r,s,o,a,l,h,f,D){this.url=t,this.params=e,this.queryParams=i,this.fragment=r,this.data=s,this.outlet=o,this.component=a,this.routeConfig=l,this._urlSegment=h,this._lastPathIndex=f,this._resolve=D}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=wd(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=wd(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(i=>i.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class CI extends wI{constructor(t,e){super(e),this.url=t,SM(this,e)}toString(){return TI(this._root)}}function SM(n,t){t.value._routerState=n,t.children.forEach(e=>SM(n,e))}function TI(n){const t=n.children.length>0?` { ${n.children.map(TI).join(", ")} } `:"";return`${n.value}${t}`}function kM(n){if(n.snapshot){const t=n.snapshot,e=n._futureSnapshot;n.snapshot=e,Aa(t.queryParams,e.queryParams)||n.queryParams.next(e.queryParams),t.fragment!==e.fragment&&n.fragment.next(e.fragment),Aa(t.params,e.params)||n.params.next(e.params),function MG(n,t){if(n.length!==t.length)return!1;for(let e=0;eAa(e.parameters,t[i].parameters))}(n.url,t.url);return e&&!(!n.parent!=!t.parent)&&(!n.parent||xM(n.parent,t.parent))}function vp(n,t,e){if(e&&n.shouldReuseRoute(t.value,e.value.snapshot)){const i=e.value;i._futureSnapshot=t.value;const r=function VG(n,t,e){return t.children.map(i=>{for(const r of e.children)if(n.shouldReuseRoute(i.value,r.value.snapshot))return vp(n,i,r);return vp(n,i)})}(n,t,e);return new ll(i,r)}{if(n.shouldAttach(t.value)){const s=n.retrieve(t.value);if(null!==s){const o=s.route;return o.value._futureSnapshot=t.value,o.children=t.children.map(a=>vp(n,a)),o}}const i=function qG(n){return new Zo(new xi(n.url),new xi(n.params),new xi(n.queryParams),new xi(n.fragment),new xi(n.data),n.outlet,n.component,n)}(t.value),r=t.children.map(s=>vp(n,s));return new ll(i,r)}}function Ag(n){return"object"==typeof n&&null!=n&&!n.outlets&&!n.segmentPath}function bp(n){return"object"==typeof n&&null!=n&&n.outlets}function IM(n,t,e,i,r){let s={};if(i&&es(i,(a,l)=>{s[l]=Array.isArray(a)?a.map(h=>`${h}`):`${a}`}),n===t)return new $c(e,s,r);const o=SI(n,t,e);return new $c(o,s,r)}function SI(n,t,e){const i={};return es(n.children,(r,s)=>{i[s]=r===t?e:SI(r,t,e)}),new ci(n.segments,i)}class kI{constructor(t,e,i){if(this.isAbsolute=t,this.numberOfDoubleDots=e,this.commands=i,t&&i.length>0&&Ag(i[0]))throw new Error("Root segment cannot have matrix parameters");const r=i.find(bp);if(r&&r!==uI(i))throw new Error("{outlets:{}} has to be the last command")}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class AM{constructor(t,e,i){this.segmentGroup=t,this.processChildren=e,this.index=i}}function xI(n,t,e){if(n||(n=new ci([],{})),0===n.segments.length&&n.hasChildren())return Rg(n,t,e);const i=function QG(n,t,e){let i=0,r=t;const s={match:!1,pathIndex:0,commandIndex:0};for(;r=e.length)return s;const o=n.segments[r],a=e[i];if(bp(a))break;const l=`${a}`,h=i0&&void 0===l)break;if(l&&h&&"object"==typeof h&&void 0===h.outlets){if(!AI(l,h,o))return s;i+=2}else{if(!AI(l,{},o))return s;i++}r++}return{match:!0,pathIndex:r,commandIndex:i}}(n,t,e),r=e.slice(i.commandIndex);if(i.match&&i.pathIndex{"string"==typeof s&&(s=[s]),null!==s&&(r[o]=xI(n.children[o],t,s))}),es(n.children,(s,o)=>{void 0===i[o]&&(r[o]=s)}),new ci(n.segments,r)}}function RM(n,t,e){const i=n.segments.slice(0,t);let r=0;for(;r{"string"==typeof e&&(e=[e]),null!==e&&(t[i]=RM(new ci([],{}),0,e))}),t}function II(n){const t={};return es(n,(e,i)=>t[i]=`${e}`),t}function AI(n,t,e){return n==e.path&&Aa(t,e.parameters)}class XG{constructor(t,e,i,r){this.routeReuseStrategy=t,this.futureState=e,this.currState=i,this.forwardEvent=r}activate(t){const e=this.futureState._root,i=this.currState?this.currState._root:null;this.deactivateChildRoutes(e,i,t),kM(this.futureState.root),this.activateChildRoutes(e,i,t)}deactivateChildRoutes(t,e,i){const r=Md(e);t.children.forEach(s=>{const o=s.value.outlet;this.deactivateRoutes(s,r[o],i),delete r[o]}),es(r,(s,o)=>{this.deactivateRouteAndItsChildren(s,i)})}deactivateRoutes(t,e,i){const r=t.value,s=e?e.value:null;if(r===s)if(r.component){const o=i.getContext(r.outlet);o&&this.deactivateChildRoutes(t,e,o.children)}else this.deactivateChildRoutes(t,e,i);else s&&this.deactivateRouteAndItsChildren(e,i)}deactivateRouteAndItsChildren(t,e){t.value.component&&this.routeReuseStrategy.shouldDetach(t.value.snapshot)?this.detachAndStoreRouteSubtree(t,e):this.deactivateRouteAndOutlet(t,e)}detachAndStoreRouteSubtree(t,e){const i=e.getContext(t.value.outlet),r=i&&t.value.component?i.children:e,s=Md(t);for(const o of Object.keys(s))this.deactivateRouteAndItsChildren(s[o],r);if(i&&i.outlet){const o=i.outlet.detach(),a=i.children.onOutletDeactivated();this.routeReuseStrategy.store(t.value.snapshot,{componentRef:o,route:t,contexts:a})}}deactivateRouteAndOutlet(t,e){const i=e.getContext(t.value.outlet),r=i&&t.value.component?i.children:e,s=Md(t);for(const o of Object.keys(s))this.deactivateRouteAndItsChildren(s[o],r);i&&i.outlet&&(i.outlet.deactivate(),i.children.onOutletDeactivated(),i.attachRef=null,i.resolver=null,i.route=null)}activateChildRoutes(t,e,i){const r=Md(e);t.children.forEach(s=>{this.activateRoutes(s,r[s.value.outlet],i),this.forwardEvent(new yG(s.value.snapshot))}),t.children.length&&this.forwardEvent(new gG(t.value.snapshot))}activateRoutes(t,e,i){const r=t.value,s=e?e.value:null;if(kM(r),r===s)if(r.component){const o=i.getOrCreateContext(r.outlet);this.activateChildRoutes(t,e,o.children)}else this.activateChildRoutes(t,e,i);else if(r.component){const o=i.getOrCreateContext(r.outlet);if(this.routeReuseStrategy.shouldAttach(r.snapshot)){const a=this.routeReuseStrategy.retrieve(r.snapshot);this.routeReuseStrategy.store(r.snapshot,null),o.children.onOutletReAttached(a.contexts),o.attachRef=a.componentRef,o.route=a.route.value,o.outlet&&o.outlet.attach(a.componentRef,a.route.value),kM(a.route.value),this.activateChildRoutes(t,null,o.children)}else{const a=function JG(n){for(let t=n.parent;t;t=t.parent){const e=t.routeConfig;if(e&&e._loadedConfig)return e._loadedConfig;if(e&&e.component)return null}return null}(r.snapshot),l=a?a.module.componentFactoryResolver:null;o.attachRef=null,o.route=r,o.resolver=l,o.outlet&&o.outlet.activateWith(r,l),this.activateChildRoutes(t,null,o.children)}}else this.activateChildRoutes(t,null,i)}}class LM{constructor(t,e){this.routes=t,this.module=e}}function Ql(n){return"function"==typeof n}function Qc(n){return n instanceof $c}const wp=Symbol("INITIAL_VALUE");function Mp(){return Jr(n=>bM(n.map(t=>t.pipe(Ii(1),hr(wp)))).pipe(eI((t,e)=>{let i=!1;return e.reduce((r,s,o)=>r!==wp?r:(s===wp&&(i=!0),i||!1!==s&&o!==e.length-1&&!Qc(s)?r:s),t)},wp),hi(t=>t!==wp),ge(t=>Qc(t)?t:!0===t),Ii(1)))}class s${constructor(){this.outlet=null,this.route=null,this.resolver=null,this.children=new Dp,this.attachRef=null}}class Dp{constructor(){this.contexts=new Map}onChildOutletCreated(t,e){const i=this.getOrCreateContext(t);i.outlet=e,this.contexts.set(t,i)}onChildOutletDestroyed(t){const e=this.getContext(t);e&&(e.outlet=null,e.attachRef=null)}onOutletDeactivated(){const t=this.contexts;return this.contexts=new Map,t}onOutletReAttached(t){this.contexts=t}getOrCreateContext(t){let e=this.getContext(t);return e||(e=new s$,this.contexts.set(t,e)),e}getContext(t){return this.contexts.get(t)||null}}let OM=(()=>{class n{constructor(e,i,r,s,o){this.parentContexts=e,this.location=i,this.resolver=r,this.changeDetector=o,this.activated=null,this._activatedRoute=null,this.activateEvents=new jt,this.deactivateEvents=new jt,this.attachEvents=new jt,this.detachEvents=new jt,this.name=s||ni,e.onChildOutletCreated(this.name,this)}ngOnDestroy(){this.parentContexts.onChildOutletDestroyed(this.name)}ngOnInit(){if(!this.activated){const e=this.parentContexts.getContext(this.name);e&&e.route&&(e.attachRef?this.attach(e.attachRef,e.route):this.activateWith(e.route,e.resolver||null))}}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new Error("Outlet is not activated");return this.activated.instance}get activatedRoute(){if(!this.activated)throw new Error("Outlet is not activated");return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new Error("Outlet is not activated");this.location.detach();const e=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(e.instance),e}attach(e,i){this.activated=e,this._activatedRoute=i,this.location.insert(e.hostView),this.attachEvents.emit(e.instance)}deactivate(){if(this.activated){const e=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(e)}}activateWith(e,i){if(this.isActivated)throw new Error("Cannot activate an already activated outlet");this._activatedRoute=e;const o=(i=i||this.resolver).resolveComponentFactory(e._futureSnapshot.routeConfig.component),a=this.parentContexts.getOrCreateContext(this.name).children,l=new o$(e,a,this.location.injector);this.activated=this.location.createComponent(o,this.location.length,l),this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)}}return n.\u0275fac=function(e){return new(e||n)(M(Dp),M(Si),M(Hl),_r("name"),M(Gn))},n.\u0275dir=rt({type:n,selectors:[["router-outlet"]],outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"]}),n})();class o${constructor(t,e,i){this.route=t,this.childContexts=e,this.parent=i}get(t,e){return t===Zo?this.route:t===Dp?this.childContexts:this.parent.get(t,e)}}let RI=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=It({type:n,selectors:[["ng-component"]],decls:1,vars:0,template:function(e,i){1&e&&bt(0,"router-outlet")},directives:[OM],encapsulation:2}),n})();function LI(n,t=""){for(let e=0;eMo(i)===t);return e.push(...n.filter(i=>Mo(i)!==t)),e}const PI={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function Lg(n,t,e){var i;if(""===t.path)return"full"===t.pathMatch&&(n.hasChildren()||e.length>0)?Object.assign({},PI):{matched:!0,consumedSegments:[],remainingSegments:e,parameters:{},positionalParamSegments:{}};const s=(t.matcher||wG)(e,n,t);if(!s)return Object.assign({},PI);const o={};es(s.posParams,(l,h)=>{o[h]=l.path});const a=s.consumed.length>0?Object.assign(Object.assign({},o),s.consumed[s.consumed.length-1].parameters):o;return{matched:!0,consumedSegments:s.consumed,remainingSegments:e.slice(s.consumed.length),parameters:a,positionalParamSegments:null!==(i=s.posParams)&&void 0!==i?i:{}}}function Og(n,t,e,i,r="corrected"){if(e.length>0&&function d$(n,t,e){return e.some(i=>Pg(n,t,i)&&Mo(i)!==ni)}(n,e,i)){const o=new ci(t,function u$(n,t,e,i){const r={};r[ni]=i,i._sourceSegment=n,i._segmentIndexShift=t.length;for(const s of e)if(""===s.path&&Mo(s)!==ni){const o=new ci([],{});o._sourceSegment=n,o._segmentIndexShift=t.length,r[Mo(s)]=o}return r}(n,t,i,new ci(e,n.children)));return o._sourceSegment=n,o._segmentIndexShift=t.length,{segmentGroup:o,slicedSegments:[]}}if(0===e.length&&function h$(n,t,e){return e.some(i=>Pg(n,t,i))}(n,e,i)){const o=new ci(n.segments,function c$(n,t,e,i,r,s){const o={};for(const a of i)if(Pg(n,e,a)&&!r[Mo(a)]){const l=new ci([],{});l._sourceSegment=n,l._segmentIndexShift="legacy"===s?n.segments.length:t.length,o[Mo(a)]=l}return Object.assign(Object.assign({},r),o)}(n,t,e,i,n.children,r));return o._sourceSegment=n,o._segmentIndexShift=t.length,{segmentGroup:o,slicedSegments:e}}const s=new ci(n.segments,n.children);return s._sourceSegment=n,s._segmentIndexShift=t.length,{segmentGroup:s,slicedSegments:e}}function Pg(n,t,e){return(!(n.hasChildren()||t.length>0)||"full"!==e.pathMatch)&&""===e.path}function FI(n,t,e,i){return!!(Mo(n)===i||i!==ni&&Pg(t,e,n))&&("**"===n.path||Lg(t,n,e).matched)}function NI(n,t,e){return 0===t.length&&!n.children[e]}class Fg{constructor(t){this.segmentGroup=t||null}}class BI{constructor(t){this.urlTree=t}}function Ep(n){return Qi(new Fg(n))}function jI(n){return Qi(new BI(n))}function p$(n){return Qi(new Error(`Only absolute redirects can have named outlets. redirectTo: '${n}'`))}class g${constructor(t,e,i,r,s){this.configLoader=e,this.urlSerializer=i,this.urlTree=r,this.config=s,this.allowRedirects=!0,this.ngModule=t.get(el)}apply(){const t=Og(this.urlTree.root,[],[],this.config).segmentGroup,e=new ci(t.segments,t.children);return this.expandSegmentGroup(this.ngModule,this.config,e,ni).pipe(ge(s=>this.createUrlTree(FM(s),this.urlTree.queryParams,this.urlTree.fragment))).pipe(Ni(s=>{if(s instanceof BI)return this.allowRedirects=!1,this.match(s.urlTree);throw s instanceof Fg?this.noMatchError(s):s}))}match(t){return this.expandSegmentGroup(this.ngModule,this.config,t.root,ni).pipe(ge(r=>this.createUrlTree(FM(r),t.queryParams,t.fragment))).pipe(Ni(r=>{throw r instanceof Fg?this.noMatchError(r):r}))}noMatchError(t){return new Error(`Cannot match any routes. URL Segment: '${t.segmentGroup}'`)}createUrlTree(t,e,i){const r=t.segments.length>0?new ci([],{[ni]:t}):t;return new $c(r,e,i)}expandSegmentGroup(t,e,i,r){return 0===i.segments.length&&i.hasChildren()?this.expandChildren(t,e,i).pipe(ge(s=>new ci([],s))):this.expandSegment(t,i,e,i.segments,r,!0)}expandChildren(t,e,i){const r=[];for(const s of Object.keys(i.children))"primary"===s?r.unshift(s):r.push(s);return St(r).pipe(pd(s=>{const o=i.children[s],a=OI(e,s);return this.expandSegmentGroup(t,a,o,s).pipe(ge(l=>({segment:l,outlet:s})))}),eI((s,o)=>(s[o.outlet]=o.segment,s),{}),function sG(n,t){const e=arguments.length>=2;return i=>i.pipe(n?hi((r,s)=>n(r,s,i)):Nt,wM(1),e?tI(t):vd(()=>new Mg))}())}expandSegment(t,e,i,r,s,o){return St(i).pipe(pd(a=>this.expandSegmentAgainstRoute(t,e,i,a,r,s,o).pipe(Ni(h=>{if(h instanceof Fg)return Qt(null);throw h}))),Js(a=>!!a),Ni((a,l)=>{if(a instanceof Mg||"EmptyError"===a.name)return NI(e,r,s)?Qt(new ci([],{})):Ep(e);throw a}))}expandSegmentAgainstRoute(t,e,i,r,s,o,a){return FI(r,e,s,o)?void 0===r.redirectTo?this.matchSegmentAgainstRoute(t,e,r,s,o):a&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(t,e,i,r,s,o):Ep(e):Ep(e)}expandSegmentAgainstRouteUsingRedirect(t,e,i,r,s,o){return"**"===r.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(t,i,r,o):this.expandRegularSegmentAgainstRouteUsingRedirect(t,e,i,r,s,o)}expandWildCardWithParamsAgainstRouteUsingRedirect(t,e,i,r){const s=this.applyRedirectCommands([],i.redirectTo,{});return i.redirectTo.startsWith("/")?jI(s):this.lineralizeSegments(i,s).pipe(ue(o=>{const a=new ci(o,{});return this.expandSegment(t,a,e,o,r,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(t,e,i,r,s,o){const{matched:a,consumedSegments:l,remainingSegments:h,positionalParamSegments:f}=Lg(e,r,s);if(!a)return Ep(e);const D=this.applyRedirectCommands(l,r.redirectTo,f);return r.redirectTo.startsWith("/")?jI(D):this.lineralizeSegments(r,D).pipe(ue(k=>this.expandSegment(t,e,i,k.concat(h),o,!1)))}matchSegmentAgainstRoute(t,e,i,r,s){if("**"===i.path)return i.loadChildren?(i._loadedConfig?Qt(i._loadedConfig):this.configLoader.load(t.injector,i)).pipe(ge(D=>(i._loadedConfig=D,new ci(r,{})))):Qt(new ci(r,{}));const{matched:o,consumedSegments:a,remainingSegments:l}=Lg(e,i,r);return o?this.getChildConfig(t,i,r).pipe(ue(f=>{const D=f.module,k=f.routes,{segmentGroup:Y,slicedSegments:oe}=Og(e,a,l,k),Ne=new ci(Y.segments,Y.children);if(0===oe.length&&Ne.hasChildren())return this.expandChildren(D,k,Ne).pipe(ge(Rt=>new ci(a,Rt)));if(0===k.length&&0===oe.length)return Qt(new ci(a,{}));const $e=Mo(i)===s;return this.expandSegment(D,Ne,k,oe,$e?ni:s,!0).pipe(ge(qe=>new ci(a.concat(qe.segments),qe.children)))})):Ep(e)}getChildConfig(t,e,i){return e.children?Qt(new LM(e.children,t)):e.loadChildren?void 0!==e._loadedConfig?Qt(e._loadedConfig):this.runCanLoadGuards(t.injector,e,i).pipe(ue(r=>r?this.configLoader.load(t.injector,e).pipe(ge(s=>(e._loadedConfig=s,s))):function m$(n){return Qi(DM(`Cannot load children because the guard of the route "path: '${n.path}'" returned false`))}(e))):Qt(new LM([],t))}runCanLoadGuards(t,e,i){const r=e.canLoad;if(!r||0===r.length)return Qt(!0);const s=r.map(o=>{const a=t.get(o);let l;if(function t$(n){return n&&Ql(n.canLoad)}(a))l=a.canLoad(e,i);else{if(!Ql(a))throw new Error("Invalid CanLoad guard");l=a(e,i)}return Ra(l)});return Qt(s).pipe(Mp(),wr(o=>{if(!Qc(o))return;const a=DM(`Redirecting to "${this.urlSerializer.serialize(o)}"`);throw a.url=o,a}),ge(o=>!0===o))}lineralizeSegments(t,e){let i=[],r=e.root;for(;;){if(i=i.concat(r.segments),0===r.numberOfChildren)return Qt(i);if(r.numberOfChildren>1||!r.children[ni])return p$(t.redirectTo);r=r.children[ni]}}applyRedirectCommands(t,e,i){return this.applyRedirectCreatreUrlTree(e,this.urlSerializer.parse(e),t,i)}applyRedirectCreatreUrlTree(t,e,i,r){const s=this.createSegmentGroup(t,e.root,i,r);return new $c(s,this.createQueryParams(e.queryParams,this.urlTree.queryParams),e.fragment)}createQueryParams(t,e){const i={};return es(t,(r,s)=>{if("string"==typeof r&&r.startsWith(":")){const a=r.substring(1);i[s]=e[a]}else i[s]=r}),i}createSegmentGroup(t,e,i,r){const s=this.createSegments(t,e.segments,i,r);let o={};return es(e.children,(a,l)=>{o[l]=this.createSegmentGroup(t,a,i,r)}),new ci(s,o)}createSegments(t,e,i,r){return e.map(s=>s.path.startsWith(":")?this.findPosParam(t,s,r):this.findOrReturn(s,i))}findPosParam(t,e,i){const r=i[e.path.substring(1)];if(!r)throw new Error(`Cannot redirect to '${t}'. Cannot find '${e.path}'.`);return r}findOrReturn(t,e){let i=0;for(const r of e){if(r.path===t.path)return e.splice(i),r;i++}return t}}function FM(n){const t={};for(const i of Object.keys(n.children)){const s=FM(n.children[i]);(s.segments.length>0||s.hasChildren())&&(t[i]=s)}return function _$(n){if(1===n.numberOfChildren&&n.children[ni]){const t=n.children[ni];return new ci(n.segments.concat(t.segments),t.children)}return n}(new ci(n.segments,t))}class YI{constructor(t){this.path=t,this.route=this.path[this.path.length-1]}}class Ng{constructor(t,e){this.component=t,this.route=e}}function v$(n,t,e){const i=n._root;return Cp(i,t?t._root:null,e,[i.value])}function Bg(n,t,e){const i=function w$(n){if(!n)return null;for(let t=n.parent;t;t=t.parent){const e=t.routeConfig;if(e&&e._loadedConfig)return e._loadedConfig}return null}(t);return(i?i.module.injector:e).get(n)}function Cp(n,t,e,i,r={canDeactivateChecks:[],canActivateChecks:[]}){const s=Md(t);return n.children.forEach(o=>{(function M$(n,t,e,i,r={canDeactivateChecks:[],canActivateChecks:[]}){const s=n.value,o=t?t.value:null,a=e?e.getContext(n.value.outlet):null;if(o&&s.routeConfig===o.routeConfig){const l=function D$(n,t,e){if("function"==typeof e)return e(n,t);switch(e){case"pathParamsChange":return!Wc(n.url,t.url);case"pathParamsOrQueryParamsChange":return!Wc(n.url,t.url)||!Aa(n.queryParams,t.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!xM(n,t)||!Aa(n.queryParams,t.queryParams);default:return!xM(n,t)}}(o,s,s.routeConfig.runGuardsAndResolvers);l?r.canActivateChecks.push(new YI(i)):(s.data=o.data,s._resolvedData=o._resolvedData),Cp(n,t,s.component?a?a.children:null:e,i,r),l&&a&&a.outlet&&a.outlet.isActivated&&r.canDeactivateChecks.push(new Ng(a.outlet.component,o))}else o&&Tp(t,a,r),r.canActivateChecks.push(new YI(i)),Cp(n,null,s.component?a?a.children:null:e,i,r)})(o,s[o.value.outlet],e,i.concat([o.value]),r),delete s[o.value.outlet]}),es(s,(o,a)=>Tp(o,e.getContext(a),r)),r}function Tp(n,t,e){const i=Md(n),r=n.value;es(i,(s,o)=>{Tp(s,r.component?t?t.children.getContext(o):null:t,e)}),e.canDeactivateChecks.push(new Ng(r.component&&t&&t.outlet&&t.outlet.isActivated?t.outlet.component:null,r))}class R${}function HI(n){return new st(t=>t.error(n))}class O${constructor(t,e,i,r,s,o){this.rootComponentType=t,this.config=e,this.urlTree=i,this.url=r,this.paramsInheritanceStrategy=s,this.relativeLinkResolution=o}recognize(){const t=Og(this.urlTree.root,[],[],this.config.filter(o=>void 0===o.redirectTo),this.relativeLinkResolution).segmentGroup,e=this.processSegmentGroup(this.config,t,ni);if(null===e)return null;const i=new Ig([],Object.freeze({}),Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,{},ni,this.rootComponentType,null,this.urlTree.root,-1,{}),r=new ll(i,e),s=new CI(this.url,r);return this.inheritParamsAndData(s._root),s}inheritParamsAndData(t){const e=t.value,i=EI(e,this.paramsInheritanceStrategy);e.params=Object.freeze(i.params),e.data=Object.freeze(i.data),t.children.forEach(r=>this.inheritParamsAndData(r))}processSegmentGroup(t,e,i){return 0===e.segments.length&&e.hasChildren()?this.processChildren(t,e):this.processSegment(t,e,e.segments,i)}processChildren(t,e){const i=[];for(const s of Object.keys(e.children)){const o=e.children[s],a=OI(t,s),l=this.processSegmentGroup(a,o,s);if(null===l)return null;i.push(...l)}const r=VI(i);return function P$(n){n.sort((t,e)=>t.value.outlet===ni?-1:e.value.outlet===ni?1:t.value.outlet.localeCompare(e.value.outlet))}(r),r}processSegment(t,e,i,r){for(const s of t){const o=this.processSegmentAgainstRoute(s,e,i,r);if(null!==o)return o}return NI(e,i,r)?[]:null}processSegmentAgainstRoute(t,e,i,r){if(t.redirectTo||!FI(t,e,i,r))return null;let s,o=[],a=[];if("**"===t.path){const Y=i.length>0?uI(i).parameters:{};s=new Ig(i,Y,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,zI(t),Mo(t),t.component,t,qI(e),UI(e)+i.length,GI(t))}else{const Y=Lg(e,t,i);if(!Y.matched)return null;o=Y.consumedSegments,a=Y.remainingSegments,s=new Ig(o,Y.parameters,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,zI(t),Mo(t),t.component,t,qI(e),UI(e)+o.length,GI(t))}const l=function F$(n){return n.children?n.children:n.loadChildren?n._loadedConfig.routes:[]}(t),{segmentGroup:h,slicedSegments:f}=Og(e,o,a,l.filter(Y=>void 0===Y.redirectTo),this.relativeLinkResolution);if(0===f.length&&h.hasChildren()){const Y=this.processChildren(l,h);return null===Y?null:[new ll(s,Y)]}if(0===l.length&&0===f.length)return[new ll(s,[])];const D=Mo(t)===r,k=this.processSegment(l,h,f,D?ni:r);return null===k?null:[new ll(s,k)]}}function N$(n){const t=n.value.routeConfig;return t&&""===t.path&&void 0===t.redirectTo}function VI(n){const t=[],e=new Set;for(const i of n){if(!N$(i)){t.push(i);continue}const r=t.find(s=>i.value.routeConfig===s.value.routeConfig);void 0!==r?(r.children.push(...i.children),e.add(r)):t.push(i)}for(const i of e){const r=VI(i.children);t.push(new ll(i.value,r))}return t.filter(i=>!e.has(i))}function qI(n){let t=n;for(;t._sourceSegment;)t=t._sourceSegment;return t}function UI(n){let t=n,e=t._segmentIndexShift?t._segmentIndexShift:0;for(;t._sourceSegment;)t=t._sourceSegment,e+=t._segmentIndexShift?t._segmentIndexShift:0;return e-1}function zI(n){return n.data||{}}function GI(n){return n.resolve||{}}function $I(n){return[...Object.keys(n),...Object.getOwnPropertySymbols(n)]}function NM(n){return Jr(t=>{const e=n(t);return e?St(e).pipe(ge(()=>t)):Qt(t)})}class z$ extends class U${shouldDetach(t){return!1}store(t,e){}shouldAttach(t){return!1}retrieve(t){return null}shouldReuseRoute(t,e){return t.routeConfig===e.routeConfig}}{}const BM=new ht("ROUTES");class WI{constructor(t,e,i,r){this.injector=t,this.compiler=e,this.onLoadStartListener=i,this.onLoadEndListener=r}load(t,e){if(e._loader$)return e._loader$;this.onLoadStartListener&&this.onLoadStartListener(e);const r=this.loadModuleFactory(e.loadChildren).pipe(ge(s=>{this.onLoadEndListener&&this.onLoadEndListener(e);const o=s.create(t);return new LM(cI(o.injector.get(BM,void 0,En.Self|En.Optional)).map(PM),o)}),Ni(s=>{throw e._loader$=void 0,s}));return e._loader$=new Ye(r,()=>new K).pipe(Ot()),e._loader$}loadModuleFactory(t){return Ra(t()).pipe(ue(e=>e instanceof uk?Qt(e):St(this.compiler.compileModuleAsync(e))))}}class $${shouldProcessUrl(t){return!0}extract(t){return t}merge(t,e){return t}}function W$(n){throw n}function Q$(n,t,e){return t.parse("/")}function QI(n,t){return Qt(null)}const K$={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},Z$={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let Xi=(()=>{class n{constructor(e,i,r,s,o,a,l){this.rootComponentType=e,this.urlSerializer=i,this.rootContexts=r,this.location=s,this.config=l,this.lastSuccessfulNavigation=null,this.currentNavigation=null,this.disposed=!1,this.navigationId=0,this.currentPageId=0,this.isNgZoneEnabled=!1,this.events=new K,this.errorHandler=W$,this.malformedUriErrorHandler=Q$,this.navigated=!1,this.lastSuccessfulId=-1,this.hooks={beforePreactivation:QI,afterPreactivation:QI},this.urlHandlingStrategy=new $$,this.routeReuseStrategy=new z$,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.urlUpdateStrategy="deferred",this.relativeLinkResolution="corrected",this.canceledNavigationResolution="replace",this.ngModule=o.get(el),this.console=o.get(a3);const D=o.get(yn);this.isNgZoneEnabled=D instanceof yn&&yn.isInAngularZone(),this.resetConfig(l),this.currentUrlTree=function DG(){return new $c(new ci([],{}),{},null)}(),this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.configLoader=new WI(o,a,k=>this.triggerEvent(new rI(k)),k=>this.triggerEvent(new sI(k))),this.routerState=DI(this.currentUrlTree,this.rootComponentType),this.transitions=new xi({id:0,targetPageId:0,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,extractedUrl:this.urlHandlingStrategy.extract(this.currentUrlTree),urlAfterRedirects:this.urlHandlingStrategy.extract(this.currentUrlTree),rawUrl:this.currentUrlTree,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:"imperative",restoredState:null,currentSnapshot:this.routerState.snapshot,targetSnapshot:null,currentRouterState:this.routerState,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.navigations=this.setupNavigations(this.transitions),this.processNavigations()}get browserPageId(){var e;return null===(e=this.location.getState())||void 0===e?void 0:e.\u0275routerPageId}setupNavigations(e){const i=this.events;return e.pipe(hi(r=>0!==r.id),ge(r=>Object.assign(Object.assign({},r),{extractedUrl:this.urlHandlingStrategy.extract(r.rawUrl)})),Jr(r=>{let s=!1,o=!1;return Qt(r).pipe(wr(a=>{this.currentNavigation={id:a.id,initialUrl:a.currentRawUrl,extractedUrl:a.extractedUrl,trigger:a.source,extras:a.extras,previousNavigation:this.lastSuccessfulNavigation?Object.assign(Object.assign({},this.lastSuccessfulNavigation),{previousNavigation:null}):null}}),Jr(a=>{const l=this.browserUrlTree.toString(),h=!this.navigated||a.extractedUrl.toString()!==l||l!==this.currentUrlTree.toString();if(("reload"===this.onSameUrlNavigation||h)&&this.urlHandlingStrategy.shouldProcessUrl(a.rawUrl))return KI(a.source)&&(this.browserUrlTree=a.extractedUrl),Qt(a).pipe(Jr(D=>{const k=this.transitions.getValue();return i.next(new MM(D.id,this.serializeUrl(D.extractedUrl),D.source,D.restoredState)),k!==this.transitions.getValue()?xa:Promise.resolve(D)}),function y$(n,t,e,i){return Jr(r=>function f$(n,t,e,i,r){return new g$(n,t,e,i,r).apply()}(n,t,e,r.extractedUrl,i).pipe(ge(s=>Object.assign(Object.assign({},r),{urlAfterRedirects:s}))))}(this.ngModule.injector,this.configLoader,this.urlSerializer,this.config),wr(D=>{this.currentNavigation=Object.assign(Object.assign({},this.currentNavigation),{finalUrl:D.urlAfterRedirects})}),function B$(n,t,e,i,r){return ue(s=>function L$(n,t,e,i,r="emptyOnly",s="legacy"){try{const o=new O$(n,t,e,i,r,s).recognize();return null===o?HI(new R$):Qt(o)}catch(o){return HI(o)}}(n,t,s.urlAfterRedirects,e(s.urlAfterRedirects),i,r).pipe(ge(o=>Object.assign(Object.assign({},s),{targetSnapshot:o}))))}(this.rootComponentType,this.config,D=>this.serializeUrl(D),this.paramsInheritanceStrategy,this.relativeLinkResolution),wr(D=>{if("eager"===this.urlUpdateStrategy){if(!D.extras.skipLocationChange){const Y=this.urlHandlingStrategy.merge(D.urlAfterRedirects,D.rawUrl);this.setBrowserUrl(Y,D)}this.browserUrlTree=D.urlAfterRedirects}const k=new iI(D.id,this.serializeUrl(D.extractedUrl),this.serializeUrl(D.urlAfterRedirects),D.targetSnapshot);i.next(k)}));if(h&&this.rawUrlTree&&this.urlHandlingStrategy.shouldProcessUrl(this.rawUrlTree)){const{id:k,extractedUrl:Y,source:oe,restoredState:Ne,extras:$e}=a,it=new MM(k,this.serializeUrl(Y),oe,Ne);i.next(it);const qe=DI(Y,this.rootComponentType).snapshot;return Qt(Object.assign(Object.assign({},a),{targetSnapshot:qe,urlAfterRedirects:Y,extras:Object.assign(Object.assign({},$e),{skipLocationChange:!1,replaceUrl:!1})}))}return this.rawUrlTree=a.rawUrl,a.resolve(null),xa}),NM(a=>{const{targetSnapshot:l,id:h,extractedUrl:f,rawUrl:D,extras:{skipLocationChange:k,replaceUrl:Y}}=a;return this.hooks.beforePreactivation(l,{navigationId:h,appliedUrlTree:f,rawUrlTree:D,skipLocationChange:!!k,replaceUrl:!!Y})}),wr(a=>{const l=new dG(a.id,this.serializeUrl(a.extractedUrl),this.serializeUrl(a.urlAfterRedirects),a.targetSnapshot);this.triggerEvent(l)}),ge(a=>Object.assign(Object.assign({},a),{guards:v$(a.targetSnapshot,a.currentSnapshot,this.rootContexts)})),function E$(n,t){return ue(e=>{const{targetSnapshot:i,currentSnapshot:r,guards:{canActivateChecks:s,canDeactivateChecks:o}}=e;return 0===o.length&&0===s.length?Qt(Object.assign(Object.assign({},e),{guardsResult:!0})):function C$(n,t,e,i){return St(n).pipe(ue(r=>function A$(n,t,e,i,r){const s=t&&t.routeConfig?t.routeConfig.canDeactivate:null;return s&&0!==s.length?Qt(s.map(a=>{const l=Bg(a,t,r);let h;if(function r$(n){return n&&Ql(n.canDeactivate)}(l))h=Ra(l.canDeactivate(n,t,e,i));else{if(!Ql(l))throw new Error("Invalid CanDeactivate guard");h=Ra(l(n,t,e,i))}return h.pipe(Js())})).pipe(Mp()):Qt(!0)}(r.component,r.route,e,t,i)),Js(r=>!0!==r,!0))}(o,i,r,n).pipe(ue(a=>a&&function e$(n){return"boolean"==typeof n}(a)?function T$(n,t,e,i){return St(t).pipe(pd(r=>Dg(function k$(n,t){return null!==n&&t&&t(new fG(n)),Qt(!0)}(r.route.parent,i),function S$(n,t){return null!==n&&t&&t(new _G(n)),Qt(!0)}(r.route,i),function I$(n,t,e){const i=t[t.length-1],s=t.slice(0,t.length-1).reverse().map(o=>function b$(n){const t=n.routeConfig?n.routeConfig.canActivateChild:null;return t&&0!==t.length?{node:n,guards:t}:null}(o)).filter(o=>null!==o).map(o=>gp(()=>Qt(o.guards.map(l=>{const h=Bg(l,o.node,e);let f;if(function i$(n){return n&&Ql(n.canActivateChild)}(h))f=Ra(h.canActivateChild(i,n));else{if(!Ql(h))throw new Error("Invalid CanActivateChild guard");f=Ra(h(i,n))}return f.pipe(Js())})).pipe(Mp())));return Qt(s).pipe(Mp())}(n,r.path,e),function x$(n,t,e){const i=t.routeConfig?t.routeConfig.canActivate:null;if(!i||0===i.length)return Qt(!0);const r=i.map(s=>gp(()=>{const o=Bg(s,t,e);let a;if(function n$(n){return n&&Ql(n.canActivate)}(o))a=Ra(o.canActivate(t,n));else{if(!Ql(o))throw new Error("Invalid CanActivate guard");a=Ra(o(t,n))}return a.pipe(Js())}));return Qt(r).pipe(Mp())}(n,r.route,e))),Js(r=>!0!==r,!0))}(i,s,n,t):Qt(a)),ge(a=>Object.assign(Object.assign({},e),{guardsResult:a})))})}(this.ngModule.injector,a=>this.triggerEvent(a)),wr(a=>{if(Qc(a.guardsResult)){const h=DM(`Redirecting to "${this.serializeUrl(a.guardsResult)}"`);throw h.url=a.guardsResult,h}const l=new hG(a.id,this.serializeUrl(a.extractedUrl),this.serializeUrl(a.urlAfterRedirects),a.targetSnapshot,!!a.guardsResult);this.triggerEvent(l)}),hi(a=>!!a.guardsResult||(this.restoreHistory(a),this.cancelNavigationTransition(a,""),!1)),NM(a=>{if(a.guards.canActivateChecks.length)return Qt(a).pipe(wr(l=>{const h=new pG(l.id,this.serializeUrl(l.extractedUrl),this.serializeUrl(l.urlAfterRedirects),l.targetSnapshot);this.triggerEvent(h)}),Jr(l=>{let h=!1;return Qt(l).pipe(function j$(n,t){return ue(e=>{const{targetSnapshot:i,guards:{canActivateChecks:r}}=e;if(!r.length)return Qt(e);let s=0;return St(r).pipe(pd(o=>function Y$(n,t,e,i){return function H$(n,t,e,i){const r=$I(n);if(0===r.length)return Qt({});const s={};return St(r).pipe(ue(o=>function V$(n,t,e,i){const r=Bg(n,t,i);return Ra(r.resolve?r.resolve(t,e):r(t,e))}(n[o],t,e,i).pipe(wr(a=>{s[o]=a}))),wM(1),ue(()=>$I(s).length===r.length?Qt(s):xa))}(n._resolve,n,t,i).pipe(ge(s=>(n._resolvedData=s,n.data=Object.assign(Object.assign({},n.data),EI(n,e).resolve),null)))}(o.route,i,n,t)),wr(()=>s++),wM(1),ue(o=>s===r.length?Qt(e):xa))})}(this.paramsInheritanceStrategy,this.ngModule.injector),wr({next:()=>h=!0,complete:()=>{h||(this.restoreHistory(l),this.cancelNavigationTransition(l,"At least one route resolver didn't emit any value."))}}))}),wr(l=>{const h=new mG(l.id,this.serializeUrl(l.extractedUrl),this.serializeUrl(l.urlAfterRedirects),l.targetSnapshot);this.triggerEvent(h)}))}),NM(a=>{const{targetSnapshot:l,id:h,extractedUrl:f,rawUrl:D,extras:{skipLocationChange:k,replaceUrl:Y}}=a;return this.hooks.afterPreactivation(l,{navigationId:h,appliedUrlTree:f,rawUrlTree:D,skipLocationChange:!!k,replaceUrl:!!Y})}),ge(a=>{const l=function HG(n,t,e){const i=vp(n,t._root,e?e._root:void 0);return new MI(i,t)}(this.routeReuseStrategy,a.targetSnapshot,a.currentRouterState);return Object.assign(Object.assign({},a),{targetRouterState:l})}),wr(a=>{this.currentUrlTree=a.urlAfterRedirects,this.rawUrlTree=this.urlHandlingStrategy.merge(a.urlAfterRedirects,a.rawUrl),this.routerState=a.targetRouterState,"deferred"===this.urlUpdateStrategy&&(a.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,a),this.browserUrlTree=a.urlAfterRedirects)}),((n,t,e)=>ge(i=>(new XG(t,i.targetRouterState,i.currentRouterState,e).activate(n),i)))(this.rootContexts,this.routeReuseStrategy,a=>this.triggerEvent(a)),wr({next(){s=!0},complete(){s=!0}}),Ia(()=>{var a;s||o||this.cancelNavigationTransition(r,`Navigation ID ${r.id} is not equal to the current navigation id ${this.navigationId}`),(null===(a=this.currentNavigation)||void 0===a?void 0:a.id)===r.id&&(this.currentNavigation=null)}),Ni(a=>{if(o=!0,function bG(n){return n&&n[aI]}(a)){const l=Qc(a.url);l||(this.navigated=!0,this.restoreHistory(r,!0));const h=new nI(r.id,this.serializeUrl(r.extractedUrl),a.message);i.next(h),l?setTimeout(()=>{const f=this.urlHandlingStrategy.merge(a.url,this.rawUrlTree),D={skipLocationChange:r.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy||KI(r.source)};this.scheduleNavigation(f,"imperative",null,D,{resolve:r.resolve,reject:r.reject,promise:r.promise})},0):r.resolve(!1)}else{this.restoreHistory(r,!0);const l=new uG(r.id,this.serializeUrl(r.extractedUrl),a);i.next(l);try{r.resolve(this.errorHandler(a))}catch(h){r.reject(h)}}return xa}))}))}resetRootComponentType(e){this.rootComponentType=e,this.routerState.root.component=this.rootComponentType}setTransition(e){this.transitions.next(Object.assign(Object.assign({},this.transitions.value),e))}initialNavigation(){this.setUpLocationChangeListener(),0===this.navigationId&&this.navigateByUrl(this.location.path(!0),{replaceUrl:!0})}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe(e=>{const i="popstate"===e.type?"popstate":"hashchange";"popstate"===i&&setTimeout(()=>{var r;const s={replaceUrl:!0},o=(null===(r=e.state)||void 0===r?void 0:r.navigationId)?e.state:null;if(o){const l=Object.assign({},o);delete l.navigationId,delete l.\u0275routerPageId,0!==Object.keys(l).length&&(s.state=l)}const a=this.parseUrl(e.url);this.scheduleNavigation(a,i,o,s)},0)}))}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.currentNavigation}triggerEvent(e){this.events.next(e)}resetConfig(e){LI(e),this.config=e.map(PM),this.navigated=!1,this.lastSuccessfulId=-1}ngOnDestroy(){this.dispose()}dispose(){this.transitions.complete(),this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=void 0),this.disposed=!0}createUrlTree(e,i={}){const{relativeTo:r,queryParams:s,fragment:o,queryParamsHandling:a,preserveFragment:l}=i,h=r||this.routerState.root,f=l?this.currentUrlTree.fragment:o;let D=null;switch(a){case"merge":D=Object.assign(Object.assign({},this.currentUrlTree.queryParams),s);break;case"preserve":D=this.currentUrlTree.queryParams;break;default:D=s||null}return null!==D&&(D=this.removeEmptyProps(D)),function UG(n,t,e,i,r){if(0===e.length)return IM(t.root,t.root,t.root,i,r);const s=function zG(n){if("string"==typeof n[0]&&1===n.length&&"/"===n[0])return new kI(!0,0,n);let t=0,e=!1;const i=n.reduce((r,s,o)=>{if("object"==typeof s&&null!=s){if(s.outlets){const a={};return es(s.outlets,(l,h)=>{a[h]="string"==typeof l?l.split("/"):l}),[...r,{outlets:a}]}if(s.segmentPath)return[...r,s.segmentPath]}return"string"!=typeof s?[...r,s]:0===o?(s.split("/").forEach((a,l)=>{0==l&&"."===a||(0==l&&""===a?e=!0:".."===a?t++:""!=a&&r.push(a))}),r):[...r,s]},[]);return new kI(e,t,i)}(e);if(s.toRoot())return IM(t.root,t.root,new ci([],{}),i,r);const o=function GG(n,t,e){if(n.isAbsolute)return new AM(t.root,!0,0);if(-1===e.snapshot._lastPathIndex){const s=e.snapshot._urlSegment;return new AM(s,s===t.root,0)}const i=Ag(n.commands[0])?0:1;return function $G(n,t,e){let i=n,r=t,s=e;for(;s>r;){if(s-=r,i=i.parent,!i)throw new Error("Invalid number of '../'");r=i.segments.length}return new AM(i,!1,r-s)}(e.snapshot._urlSegment,e.snapshot._lastPathIndex+i,n.numberOfDoubleDots)}(s,t,n),a=o.processChildren?Rg(o.segmentGroup,o.index,s.commands):xI(o.segmentGroup,o.index,s.commands);return IM(t.root,o.segmentGroup,a,i,r)}(h,this.currentUrlTree,e,D,null!=f?f:null)}navigateByUrl(e,i={skipLocationChange:!1}){const r=Qc(e)?e:this.parseUrl(e),s=this.urlHandlingStrategy.merge(r,this.rawUrlTree);return this.scheduleNavigation(s,"imperative",null,i)}navigate(e,i={skipLocationChange:!1}){return function X$(n){for(let t=0;t{const s=e[r];return null!=s&&(i[r]=s),i},{})}processNavigations(){this.navigations.subscribe(e=>{this.navigated=!0,this.lastSuccessfulId=e.id,this.currentPageId=e.targetPageId,this.events.next(new bd(e.id,this.serializeUrl(e.extractedUrl),this.serializeUrl(this.currentUrlTree))),this.lastSuccessfulNavigation=this.currentNavigation,e.resolve(!0)},e=>{this.console.warn(`Unhandled Navigation Error: ${e}`)})}scheduleNavigation(e,i,r,s,o){var a,l;if(this.disposed)return Promise.resolve(!1);let h,f,D;o?(h=o.resolve,f=o.reject,D=o.promise):D=new Promise((oe,Ne)=>{h=oe,f=Ne});const k=++this.navigationId;let Y;return"computed"===this.canceledNavigationResolution?(0===this.currentPageId&&(r=this.location.getState()),Y=r&&r.\u0275routerPageId?r.\u0275routerPageId:s.replaceUrl||s.skipLocationChange?null!==(a=this.browserPageId)&&void 0!==a?a:0:(null!==(l=this.browserPageId)&&void 0!==l?l:0)+1):Y=0,this.setTransition({id:k,targetPageId:Y,source:i,restoredState:r,currentUrlTree:this.currentUrlTree,currentRawUrl:this.rawUrlTree,rawUrl:e,extras:s,resolve:h,reject:f,promise:D,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),D.catch(oe=>Promise.reject(oe))}setBrowserUrl(e,i){const r=this.urlSerializer.serialize(e),s=Object.assign(Object.assign({},i.extras.state),this.generateNgRouterState(i.id,i.targetPageId));this.location.isCurrentPathEqualTo(r)||i.extras.replaceUrl?this.location.replaceState(r,"",s):this.location.go(r,"",s)}restoreHistory(e,i=!1){var r,s;if("computed"===this.canceledNavigationResolution){const o=this.currentPageId-e.targetPageId;"popstate"!==e.source&&"eager"!==this.urlUpdateStrategy&&this.currentUrlTree!==(null===(r=this.currentNavigation)||void 0===r?void 0:r.finalUrl)||0===o?this.currentUrlTree===(null===(s=this.currentNavigation)||void 0===s?void 0:s.finalUrl)&&0===o&&(this.resetState(e),this.browserUrlTree=e.currentUrlTree,this.resetUrlToCurrentUrlTree()):this.location.historyGo(o)}else"replace"===this.canceledNavigationResolution&&(i&&this.resetState(e),this.resetUrlToCurrentUrlTree())}resetState(e){this.routerState=e.currentRouterState,this.currentUrlTree=e.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,e.rawUrl)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}cancelNavigationTransition(e,i){const r=new nI(e.id,this.serializeUrl(e.extractedUrl),i);this.triggerEvent(r),e.resolve(!1)}generateNgRouterState(e,i){return"computed"===this.canceledNavigationResolution?{navigationId:e,\u0275routerPageId:i}:{navigationId:e}}}return n.\u0275fac=function(e){Ja()},n.\u0275prov=Ee({token:n,factory:n.\u0275fac}),n})();function KI(n){return"imperative"!==n}let Dd=(()=>{class n{constructor(e,i,r,s,o){this.router=e,this.route=i,this.tabIndexAttribute=r,this.renderer=s,this.el=o,this.commands=null,this.onChanges=new K,this.setTabIndexIfNotOnNativeEl("0")}setTabIndexIfNotOnNativeEl(e){if(null!=this.tabIndexAttribute)return;const i=this.renderer,r=this.el.nativeElement;null!==e?i.setAttribute(r,"tabindex",e):i.removeAttribute(r,"tabindex")}ngOnChanges(e){this.onChanges.next(this)}set routerLink(e){null!=e?(this.commands=Array.isArray(e)?e:[e],this.setTabIndexIfNotOnNativeEl("0")):(this.commands=null,this.setTabIndexIfNotOnNativeEl(null))}onClick(){if(null===this.urlTree)return!0;const e={skipLocationChange:Cd(this.skipLocationChange),replaceUrl:Cd(this.replaceUrl),state:this.state};return this.router.navigateByUrl(this.urlTree,e),!0}get urlTree(){return null===this.commands?null:this.router.createUrlTree(this.commands,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:Cd(this.preserveFragment)})}}return n.\u0275fac=function(e){return new(e||n)(M(Xi),M(Zo),_r("tabindex"),M(Ta),M(Zt))},n.\u0275dir=rt({type:n,selectors:[["","routerLink","",5,"a",5,"area"]],hostBindings:function(e,i){1&e&&Je("click",function(){return i.onClick()})},inputs:{queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",state:"state",relativeTo:"relativeTo",routerLink:"routerLink"},features:[Jn]}),n})(),Ed=(()=>{class n{constructor(e,i,r){this.router=e,this.route=i,this.locationStrategy=r,this.commands=null,this.href=null,this.onChanges=new K,this.subscription=e.events.subscribe(s=>{s instanceof bd&&this.updateTargetUrlAndHref()})}set routerLink(e){this.commands=null!=e?Array.isArray(e)?e:[e]:null}ngOnChanges(e){this.updateTargetUrlAndHref(),this.onChanges.next(this)}ngOnDestroy(){this.subscription.unsubscribe()}onClick(e,i,r,s,o){if(0!==e||i||r||s||o||"string"==typeof this.target&&"_self"!=this.target||null===this.urlTree)return!0;const a={skipLocationChange:Cd(this.skipLocationChange),replaceUrl:Cd(this.replaceUrl),state:this.state};return this.router.navigateByUrl(this.urlTree,a),!1}updateTargetUrlAndHref(){this.href=null!==this.urlTree?this.locationStrategy.prepareExternalUrl(this.router.serializeUrl(this.urlTree)):null}get urlTree(){return null===this.commands?null:this.router.createUrlTree(this.commands,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:Cd(this.preserveFragment)})}}return n.\u0275fac=function(e){return new(e||n)(M(Xi),M(Zo),M(dd))},n.\u0275dir=rt({type:n,selectors:[["a","routerLink",""],["area","routerLink",""]],hostVars:2,hostBindings:function(e,i){1&e&&Je("click",function(s){return i.onClick(s.button,s.ctrlKey,s.shiftKey,s.altKey,s.metaKey)}),2&e&&hn("target",i.target)("href",i.href,Kv)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",state:"state",relativeTo:"relativeTo",routerLink:"routerLink"},features:[Jn]}),n})();function Cd(n){return""===n||!!n}class ZI{}class XI{preload(t,e){return Qt(null)}}let JI=(()=>{class n{constructor(e,i,r,s){this.router=e,this.injector=r,this.preloadingStrategy=s,this.loader=new WI(r,i,l=>e.triggerEvent(new rI(l)),l=>e.triggerEvent(new sI(l)))}setUpPreloading(){this.subscription=this.router.events.pipe(hi(e=>e instanceof bd),pd(()=>this.preload())).subscribe(()=>{})}preload(){const e=this.injector.get(el);return this.processRoutes(e,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(e,i){const r=[];for(const s of i)if(s.loadChildren&&!s.canLoad&&s._loadedConfig){const o=s._loadedConfig;r.push(this.processRoutes(o.module,o.routes))}else s.loadChildren&&!s.canLoad?r.push(this.preloadConfig(e,s)):s.children&&r.push(this.processRoutes(e,s.children));return St(r).pipe(xe(),ge(s=>{}))}preloadConfig(e,i){return this.preloadingStrategy.preload(i,()=>(i._loadedConfig?Qt(i._loadedConfig):this.loader.load(e.injector,i)).pipe(ue(s=>(i._loadedConfig=s,this.processRoutes(s.module,s.routes)))))}}return n.\u0275fac=function(e){return new(e||n)(Se(Xi),Se(Gk),Se(qi),Se(ZI))},n.\u0275prov=Ee({token:n,factory:n.\u0275fac}),n})(),jM=(()=>{class n{constructor(e,i,r={}){this.router=e,this.viewportScroller=i,this.options=r,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},r.scrollPositionRestoration=r.scrollPositionRestoration||"disabled",r.anchorScrolling=r.anchorScrolling||"disabled"}init(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.router.events.subscribe(e=>{e instanceof MM?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=e.navigationTrigger,this.restoredId=e.restoredState?e.restoredState.navigationId:0):e instanceof bd&&(this.lastId=e.id,this.scheduleScrollEvent(e,this.router.parseUrl(e.urlAfterRedirects).fragment))})}consumeScrollEvents(){return this.router.events.subscribe(e=>{e instanceof oI&&(e.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(e.position):e.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(e.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(e,i){this.router.triggerEvent(new oI(e,"popstate"===this.lastSource?this.store[this.restoredId]:null,i))}ngOnDestroy(){this.routerEventsSubscription&&this.routerEventsSubscription.unsubscribe(),this.scrollEventsSubscription&&this.scrollEventsSubscription.unsubscribe()}}return n.\u0275fac=function(e){Ja()},n.\u0275prov=Ee({token:n,factory:n.\u0275fac}),n})();const Kc=new ht("ROUTER_CONFIGURATION"),eA=new ht("ROUTER_FORROOT_GUARD"),n8=[Yc,{provide:gI,useClass:_I},{provide:Xi,useFactory:function l8(n,t,e,i,r,s,o={},a,l){const h=new Xi(null,n,t,e,i,r,cI(s));return a&&(h.urlHandlingStrategy=a),l&&(h.routeReuseStrategy=l),function c8(n,t){n.errorHandler&&(t.errorHandler=n.errorHandler),n.malformedUriErrorHandler&&(t.malformedUriErrorHandler=n.malformedUriErrorHandler),n.onSameUrlNavigation&&(t.onSameUrlNavigation=n.onSameUrlNavigation),n.paramsInheritanceStrategy&&(t.paramsInheritanceStrategy=n.paramsInheritanceStrategy),n.relativeLinkResolution&&(t.relativeLinkResolution=n.relativeLinkResolution),n.urlUpdateStrategy&&(t.urlUpdateStrategy=n.urlUpdateStrategy),n.canceledNavigationResolution&&(t.canceledNavigationResolution=n.canceledNavigationResolution)}(o,h),o.enableTracing&&h.events.subscribe(f=>{var D,k;null===(D=console.group)||void 0===D||D.call(console,`Router Event: ${f.constructor.name}`),console.log(f.toString()),console.log(f),null===(k=console.groupEnd)||void 0===k||k.call(console)}),h},deps:[gI,Dp,Yc,qi,Gk,BM,Kc,[class G${},new yr],[class q${},new yr]]},Dp,{provide:Zo,useFactory:function u8(n){return n.routerState.root},deps:[Xi]},JI,XI,class t8{preload(t,e){return e().pipe(Ni(()=>Qt(null)))}},{provide:Kc,useValue:{enableTracing:!1}}];function r8(){return new Zk("Router",Xi)}let ws=(()=>{class n{constructor(e,i){}static forRoot(e,i){return{ngModule:n,providers:[n8,tA(e),{provide:eA,useFactory:a8,deps:[[Xi,new yr,new mo]]},{provide:Kc,useValue:i||{}},{provide:dd,useFactory:o8,deps:[jc,[new _a(ww),new yr],Kc]},{provide:jM,useFactory:s8,deps:[Xi,NU,Kc]},{provide:ZI,useExisting:i&&i.preloadingStrategy?i.preloadingStrategy:XI},{provide:Zk,multi:!0,useFactory:r8},[YM,{provide:ow,multi:!0,useFactory:d8,deps:[YM]},{provide:nA,useFactory:h8,deps:[YM]},{provide:zk,multi:!0,useExisting:nA}]]}}static forChild(e){return{ngModule:n,providers:[tA(e)]}}}return n.\u0275fac=function(e){return new(e||n)(Se(eA,8),Se(Xi,8))},n.\u0275mod=Yt({type:n}),n.\u0275inj=He({}),n})();function s8(n,t,e){return e.scrollOffset&&t.setOffset(e.scrollOffset),new jM(n,t,e)}function o8(n,t,e={}){return e.useHash?new J3(n,t):new gx(n,t)}function a8(n){return"guarded"}function tA(n){return[{provide:Mv,multi:!0,useValue:n},{provide:BM,multi:!0,useValue:n}]}let YM=(()=>{class n{constructor(e){this.injector=e,this.initNavigation=!1,this.destroyed=!1,this.resultOfPreactivationDone=new K}appInitializer(){return this.injector.get(K3,Promise.resolve(null)).then(()=>{if(this.destroyed)return Promise.resolve(!0);let i=null;const r=new Promise(a=>i=a),s=this.injector.get(Xi),o=this.injector.get(Kc);return"disabled"===o.initialNavigation?(s.setUpLocationChangeListener(),i(!0)):"enabled"===o.initialNavigation||"enabledBlocking"===o.initialNavigation?(s.hooks.afterPreactivation=()=>this.initNavigation?Qt(null):(this.initNavigation=!0,i(!0),this.resultOfPreactivationDone),s.initialNavigation()):i(!0),r})}bootstrapListener(e){const i=this.injector.get(Kc),r=this.injector.get(JI),s=this.injector.get(jM),o=this.injector.get(Xi),a=this.injector.get(Lf);e===a.components[0]&&(("enabledNonBlocking"===i.initialNavigation||void 0===i.initialNavigation)&&o.initialNavigation(),r.setUpPreloading(),s.init(),o.resetRootComponentType(a.componentTypes[0]),this.resultOfPreactivationDone.next(null),this.resultOfPreactivationDone.complete())}ngOnDestroy(){this.destroyed=!0}}return n.\u0275fac=function(e){return new(e||n)(Se(qi))},n.\u0275prov=Ee({token:n,factory:n.\u0275fac}),n})();function d8(n){return n.appInitializer.bind(n)}function h8(n){return n.bootstrapListener.bind(n)}const nA=new ht("Router Initializer");var Zc=w(9675),HM=w(3564),iA=w(5134),VM=w(8108);function rA(n){return new iA.ApolloLink(function(t,e){var i=(0,HM._T)(t,[]);return new VM.y$(function(r){var s;return Promise.resolve(i).then(function(o){return n(o,t.getContext())}).then(t.setContext).then(function(){s=e(t).subscribe({next:r.next.bind(r),error:r.error.bind(r),complete:r.complete.bind(r)})}).catch(r.error.bind(r)),function(){s&&s.unsubscribe()}})})}class m8 extends P{constructor(t,e){super()}schedule(t,e=0){return this}}class jg extends m8{constructor(t,e){super(t,e),this.scheduler=t,this.work=e,this.pending=!1}schedule(t,e=0){if(this.closed)return this;this.state=t;const i=this.id,r=this.scheduler;return null!=i&&(this.id=this.recycleAsyncId(r,i,e)),this.pending=!0,this.delay=e,this.id=this.id||this.requestAsyncId(r,this.id,e),this}requestAsyncId(t,e,i=0){return setInterval(t.flush.bind(t,this),i)}recycleAsyncId(t,e,i=0){if(null!==i&&this.delay===i&&!1===this.pending)return e;clearInterval(e)}execute(t,e){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const i=this._execute(t,e);if(i)return i;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(t,e){let r,i=!1;try{this.work(t)}catch(s){i=!0,r=!!s&&s||new Error(s)}if(i)return this.unsubscribe(),r}_unsubscribe(){const t=this.id,e=this.scheduler,i=e.actions,r=i.indexOf(this);this.work=null,this.state=null,this.pending=!1,this.scheduler=null,-1!==r&&i.splice(r,1),null!=t&&(this.id=this.recycleAsyncId(e,t,null)),this.delay=null}}let sA=(()=>{class n{constructor(e,i=n.now){this.SchedulerAction=e,this.now=i}schedule(e,i=0,r){return new this.SchedulerAction(this,e).schedule(r,i)}}return n.now=()=>Date.now(),n})();class Xo extends sA{constructor(t,e=sA.now){super(t,()=>Xo.delegate&&Xo.delegate!==this?Xo.delegate.now():e()),this.actions=[],this.active=!1,this.scheduled=void 0}schedule(t,e=0,i){return Xo.delegate&&Xo.delegate!==this?Xo.delegate.schedule(t,e,i):super.schedule(t,e,i)}flush(t){const{actions:e}=this;if(this.active)return void e.push(t);let i;this.active=!0;do{if(i=t.execute(t.state,t.delay))break}while(t=e.shift());if(this.active=!1,i){for(;t=e.shift();)t.unsubscribe();throw i}}}const oA=new class g8 extends Xo{}(class f8 extends jg{constructor(t,e){super(t,e),this.scheduler=t,this.work=e}schedule(t,e=0){return e>0?super.schedule(t,e):(this.delay=e,this.state=t,this.scheduler.flush(this),this)}execute(t,e){return e>0||this.closed?super.execute(t,e):this._execute(t,e)}requestAsyncId(t,e,i=0){return null!==i&&i>0||null===i&&this.delay>0?super.requestAsyncId(t,e,i):t.flush(this)}}),_8=oA;class Ps{constructor(t,e,i){this.kind=t,this.value=e,this.error=i,this.hasValue="N"===t}observe(t){switch(this.kind){case"N":return t.next&&t.next(this.value);case"E":return t.error&&t.error(this.error);case"C":return t.complete&&t.complete()}}do(t,e,i){switch(this.kind){case"N":return t&&t(this.value);case"E":return e&&e(this.error);case"C":return i&&i()}}accept(t,e,i){return t&&"function"==typeof t.next?this.observe(t):this.do(t,e,i)}toObservable(){switch(this.kind){case"N":return Qt(this.value);case"E":return Qi(this.error);case"C":return Eg()}throw new Error("unexpected notification kind value")}static createNext(t){return void 0!==t?new Ps("N",t):Ps.undefinedValueNotification}static createError(t){return new Ps("E",void 0,t)}static createComplete(){return Ps.completeNotification}}Ps.completeNotification=new Ps("C"),Ps.undefinedValueNotification=new Ps("N",void 0);class v8{constructor(t,e=0){this.scheduler=t,this.delay=e}call(t,e){return e.subscribe(new Yg(t,this.scheduler,this.delay))}}class Yg extends F{constructor(t,e,i=0){super(t),this.scheduler=e,this.delay=i}static dispatch(t){const{notification:e,destination:i}=t;e.observe(i),this.unsubscribe()}scheduleMessage(t){this.destination.add(this.scheduler.schedule(Yg.dispatch,this.delay,new b8(t,this.destination)))}_next(t){this.scheduleMessage(Ps.createNext(t))}_error(t){this.scheduleMessage(Ps.createError(t)),this.unsubscribe()}_complete(){this.scheduleMessage(Ps.createComplete()),this.unsubscribe()}}class b8{constructor(t,e){this.notification=t,this.destination=e}}function aA(n){return new st(t=>(n().then(e=>{t.closed||(t.next(e),t.complete())},e=>{t.closed||t.error(e)}),()=>t.unsubscribe()))}class M8{constructor(t){this.zone=t,this.now=Date.now?Date.now:()=>+new Date}schedule(t,e=0,i){return this.zone.run(()=>oA.schedule(t,e,i))}}function lA(n){return n[ct]=()=>n,n}function cA(n,t){return n.pipe(function y8(n,t=0){return function(i){return i.lift(new v8(n,t))}}(new M8(t)))}function uA(n,t,e){return n&&void 0!==n[t]?n[t]:e}class E8{constructor(t,e,i){this.obsQuery=t;const r=cA(St(lA(this.obsQuery)),e);this.valueChanges=i.useInitialLoading?r.pipe(function D8(n){return function(e){return new st(function(r){const s=n.getCurrentResult(),{loading:o,errors:a,error:l,partial:h,data:f}=s,{partialRefetch:D,fetchPolicy:k}=n.options,Y=a||l;return D&&h&&(!f||0===Object.keys(f).length)&&"cache-only"!==k&&!o&&!Y&&r.next(Object.assign(Object.assign({},s),{loading:!0,networkStatus:Zc.NetworkStatus.loading})),e.subscribe(r)})}}(this.obsQuery)):r,this.queryId=this.obsQuery.queryId}get options(){return this.obsQuery.options}get variables(){return this.obsQuery.variables}result(){return this.obsQuery.result()}getCurrentResult(){return this.obsQuery.getCurrentResult()}getLastResult(){return this.obsQuery.getLastResult()}getLastError(){return this.obsQuery.getLastError()}resetLastResults(){return this.obsQuery.resetLastResults()}refetch(t){return this.obsQuery.refetch(t)}fetchMore(t){return this.obsQuery.fetchMore(t)}subscribeToMore(t){return this.obsQuery.subscribeToMore(t)}updateQuery(t){return this.obsQuery.updateQuery(t)}stopPolling(){return this.obsQuery.stopPolling()}startPolling(t){return this.obsQuery.startPolling(t)}setOptions(t){return this.obsQuery.setOptions(t)}setVariables(t){return this.obsQuery.setVariables(t)}}const C8=new ht("APOLLO_FLAGS"),T8=new ht("APOLLO_OPTIONS"),S8=new ht("APOLLO_NAMED_OPTIONS");class dA{constructor(t,e,i){this.ngZone=t,this.flags=e,this._client=i,this.useInitialLoading=uA(e,"useInitialLoading",!1),this.useMutationLoading=uA(e,"useMutationLoading",!1)}watchQuery(t){return new E8(this.ensureClient().watchQuery(Object.assign({},t)),this.ngZone,Object.assign({useInitialLoading:this.useInitialLoading},t))}query(t){return aA(()=>this.ensureClient().query(Object.assign({},t)))}mutate(t){var e;return function w8(n,t){return t?n.pipe(hr({loading:!0}),ge(e=>Object.assign(Object.assign({},e),{loading:!!e.loading}))):n.pipe(ge(e=>Object.assign(Object.assign({},e),{loading:!1})))}(aA(()=>this.ensureClient().mutate(Object.assign({},t))),null!==(e=t.useMutationLoading)&&void 0!==e?e:this.useMutationLoading)}subscribe(t,e){const i=St(lA(this.ensureClient().subscribe(Object.assign({},t))));return e&&!0!==e.useZone?i:cA(i,this.ngZone)}getClient(){return this.client}setClient(t){this.client=t}get client(){return this._client}set client(t){if(this._client)throw new Error("Client has been already defined");this._client=t}ensureClient(){return this.checkInstance(),this._client}checkInstance(){if(!this._client)throw new Error("Client has not been defined yet")}}let Hg=(()=>{class n extends dA{constructor(e,i,r,s){if(super(e,s),this._ngZone=e,this.map=new Map,i&&this.createDefault(i),r&&"object"==typeof r)for(let o in r)r.hasOwnProperty(o)&&this.createNamed(o,r[o])}create(e,i){qM(i)?this.createDefault(e):this.createNamed(i,e)}default(){return this}use(e){return qM(e)?this.default():this.map.get(e)}createDefault(e){if(this.getClient())throw new Error("Apollo has been already created.");return this.setClient(new Zc.ApolloClient(e))}createNamed(e,i){if(this.map.has(e))throw new Error(`Client ${e} has been already created`);this.map.set(e,new dA(this._ngZone,this.flags,new Zc.ApolloClient(i)))}removeClient(e){qM(e)?this._client=void 0:this.map.delete(e)}}return n.\u0275fac=function(e){return new(e||n)(Se(yn),Se(T8,8),Se(S8,8),Se(C8,8))},n.\u0275prov=Ee({token:n,factory:n.\u0275fac}),n})();function qM(n){return!n||"default"===n}const k8=[Hg];let x8=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Yt({type:n}),n.\u0275inj=He({providers:k8}),n})();let Xc={async:!1,baseUrl:null,breaks:!1,extensions:null,gfm:!0,headerIds:!0,headerPrefix:"",highlight:null,hooks:null,langPrefix:"language-",mangle:!0,pedantic:!1,renderer:null,sanitize:!1,sanitizer:null,silent:!1,smartypants:!1,tokenizer:null,walkTokens:null,xhtml:!1};const pA=/[&<>"']/,A8=new RegExp(pA.source,"g"),mA=/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/,R8=new RegExp(mA.source,"g"),L8={"&":"&","<":"<",">":">",'"':""","'":"'"},fA=n=>L8[n];function us(n,t){if(t){if(pA.test(n))return n.replace(A8,fA)}else if(mA.test(n))return n.replace(R8,fA);return n}const O8=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/gi;function gA(n){return n.replace(O8,(t,e)=>"colon"===(e=e.toLowerCase())?":":"#"===e.charAt(0)?"x"===e.charAt(1)?String.fromCharCode(parseInt(e.substring(2),16)):String.fromCharCode(+e.substring(1)):"")}const P8=/(^|[^\[])\^/g;function Bi(n,t){n="string"==typeof n?n:n.source,t=t||"";const e={replace:(i,r)=>(r=(r=r.source||r).replace(P8,"$1"),n=n.replace(i,r),e),getRegex:()=>new RegExp(n,t)};return e}const F8=/[^\w:]/g,N8=/^$|^[a-z][a-z0-9+.-]*:|^[?#]/i;function _A(n,t,e){if(n){let i;try{i=decodeURIComponent(gA(e)).replace(F8,"").toLowerCase()}catch(r){return null}if(0===i.indexOf("javascript:")||0===i.indexOf("vbscript:")||0===i.indexOf("data:"))return null}t&&!N8.test(e)&&(e=function H8(n,t){Vg[" "+n]||(Vg[" "+n]=B8.test(n)?n+"/":Ug(n,"/",!0));const e=-1===(n=Vg[" "+n]).indexOf(":");return"//"===t.substring(0,2)?e?t:n.replace(j8,"$1")+t:"/"===t.charAt(0)?e?t:n.replace(Y8,"$1")+t:n+t}(t,e));try{e=encodeURI(e).replace(/%25/g,"%")}catch(i){return null}return e}const Vg={},B8=/^[^:]+:\/*[^/]*$/,j8=/^([^:]+:)[\s\S]*$/,Y8=/^([^:]+:\/*[^/]*)[\s\S]*$/,qg={exec:function(){}};function yA(n,t){const i=n.replace(/\|/g,(s,o,a)=>{let l=!1,h=o;for(;--h>=0&&"\\"===a[h];)l=!l;return l?"|":" |"}).split(/ \|/);let r=0;if(i[0].trim()||i.shift(),i.length>0&&!i[i.length-1].trim()&&i.pop(),i.length>t)i.splice(t);else for(;i.length1;)1&t&&(e+=n),t>>=1,n+=n;return e+n}function bA(n,t,e,i){const r=t.href,s=t.title?us(t.title):null,o=n[1].replace(/\\([\[\]])/g,"$1");if("!"!==n[0].charAt(0)){i.state.inLink=!0;const a={type:"link",raw:e,href:r,title:s,text:o,tokens:i.inlineTokens(o)};return i.state.inLink=!1,a}return{type:"image",raw:e,href:r,title:s,text:us(o)}}class UM{constructor(t){this.options=t||Xc}space(t){const e=this.rules.block.newline.exec(t);if(e&&e[0].length>0)return{type:"space",raw:e[0]}}code(t){const e=this.rules.block.code.exec(t);if(e){const i=e[0].replace(/^ {1,4}/gm,"");return{type:"code",raw:e[0],codeBlockStyle:"indented",text:this.options.pedantic?i:Ug(i,"\n")}}}fences(t){const e=this.rules.block.fences.exec(t);if(e){const i=e[0],r=function U8(n,t){const e=n.match(/^(\s+)(?:```)/);if(null===e)return t;const i=e[1];return t.split("\n").map(r=>{const s=r.match(/^\s+/);if(null===s)return r;const[o]=s;return o.length>=i.length?r.slice(i.length):r}).join("\n")}(i,e[3]||"");return{type:"code",raw:i,lang:e[2]?e[2].trim().replace(this.rules.inline._escapes,"$1"):e[2],text:r}}}heading(t){const e=this.rules.block.heading.exec(t);if(e){let i=e[2].trim();if(/#$/.test(i)){const r=Ug(i,"#");(this.options.pedantic||!r||/ $/.test(r))&&(i=r.trim())}return{type:"heading",raw:e[0],depth:e[1].length,text:i,tokens:this.lexer.inline(i)}}}hr(t){const e=this.rules.block.hr.exec(t);if(e)return{type:"hr",raw:e[0]}}blockquote(t){const e=this.rules.block.blockquote.exec(t);if(e){const i=e[0].replace(/^ *>[ \t]?/gm,""),r=this.lexer.state.top;this.lexer.state.top=!0;const s=this.lexer.blockTokens(i);return this.lexer.state.top=r,{type:"blockquote",raw:e[0],tokens:s,text:i}}}list(t){let e=this.rules.block.list.exec(t);if(e){let i,r,s,o,a,l,h,f,D,k,Y,oe,Ne=e[1].trim();const $e=Ne.length>1,it={type:"list",raw:"",ordered:$e,start:$e?+Ne.slice(0,-1):"",loose:!1,items:[]};Ne=$e?`\\d{1,9}\\${Ne.slice(-1)}`:`\\${Ne}`,this.options.pedantic&&(Ne=$e?Ne:"[*+-]");const qe=new RegExp(`^( {0,3}${Ne})((?:[\t ][^\\n]*)?(?:\\n|$))`);for(;t&&(oe=!1,(e=qe.exec(t))&&!this.rules.block.hr.test(t));){if(i=e[0],t=t.substring(i.length),f=e[2].split("\n",1)[0].replace(/^\t+/,Gt=>" ".repeat(3*Gt.length)),D=t.split("\n",1)[0],this.options.pedantic?(o=2,Y=f.trimLeft()):(o=e[2].search(/[^ ]/),o=o>4?1:o,Y=f.slice(o),o+=e[1].length),l=!1,!f&&/^ *$/.test(D)&&(i+=D+"\n",t=t.substring(D.length+1),oe=!0),!oe){const Gt=new RegExp(`^ {0,${Math.min(3,o-1)}}(?:[*+-]|\\d{1,9}[.)])((?:[ \t][^\\n]*)?(?:\\n|$))`),wn=new RegExp(`^ {0,${Math.min(3,o-1)}}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)`),ii=new RegExp(`^ {0,${Math.min(3,o-1)}}(?:\`\`\`|~~~)`),Mi=new RegExp(`^ {0,${Math.min(3,o-1)}}#`);for(;t&&(k=t.split("\n",1)[0],D=k,this.options.pedantic&&(D=D.replace(/^ {1,4}(?=( {4})*[^ ])/g," ")),!(ii.test(D)||Mi.test(D)||Gt.test(D)||wn.test(t)));){if(D.search(/[^ ]/)>=o||!D.trim())Y+="\n"+D.slice(o);else{if(l||f.search(/[^ ]/)>=4||ii.test(f)||Mi.test(f)||wn.test(f))break;Y+="\n"+D}!l&&!D.trim()&&(l=!0),i+=k+"\n",t=t.substring(k.length+1),f=D.slice(o)}}it.loose||(h?it.loose=!0:/\n *\n *$/.test(i)&&(h=!0)),this.options.gfm&&(r=/^\[[ xX]\] /.exec(Y),r&&(s="[ ] "!==r[0],Y=Y.replace(/^\[[ xX]\] +/,""))),it.items.push({type:"list_item",raw:i,task:!!r,checked:s,loose:!1,text:Y}),it.raw+=i}it.items[it.items.length-1].raw=i.trimRight(),it.items[it.items.length-1].text=Y.trimRight(),it.raw=it.raw.trimRight();const Rt=it.items.length;for(a=0;a"space"===ii.type),wn=Gt.length>0&&Gt.some(ii=>/\n.*\n/.test(ii.raw));it.loose=wn}if(it.loose)for(a=0;a$/,"$1").replace(this.rules.inline._escapes,"$1"):"",s=e[3]?e[3].substring(1,e[3].length-1).replace(this.rules.inline._escapes,"$1"):e[3];return{type:"def",tag:i,raw:e[0],href:r,title:s}}}table(t){const e=this.rules.block.table.exec(t);if(e){const i={type:"table",header:yA(e[1]).map(r=>({text:r})),align:e[2].replace(/^ *|\| *$/g,"").split(/ *\| */),rows:e[3]&&e[3].trim()?e[3].replace(/\n[ \t]*$/,"").split("\n"):[]};if(i.header.length===i.align.length){i.raw=e[0];let s,o,a,l,r=i.align.length;for(s=0;s({text:h}));for(r=i.header.length,o=0;o/i.test(e[0])&&(this.lexer.state.inLink=!1),!this.lexer.state.inRawBlock&&/^<(pre|code|kbd|script)(\s|>)/i.test(e[0])?this.lexer.state.inRawBlock=!0:this.lexer.state.inRawBlock&&/^<\/(pre|code|kbd|script)(\s|>)/i.test(e[0])&&(this.lexer.state.inRawBlock=!1),{type:this.options.sanitize?"text":"html",raw:e[0],inLink:this.lexer.state.inLink,inRawBlock:this.lexer.state.inRawBlock,text:this.options.sanitize?this.options.sanitizer?this.options.sanitizer(e[0]):us(e[0]):e[0]}}link(t){const e=this.rules.inline.link.exec(t);if(e){const i=e[2].trim();if(!this.options.pedantic&&/^$/.test(i))return;const o=Ug(i.slice(0,-1),"\\");if((i.length-o.length)%2==0)return}else{const o=function V8(n,t){if(-1===n.indexOf(t[1]))return-1;const e=n.length;let i=0,r=0;for(;r-1){const l=(0===e[0].indexOf("!")?5:4)+e[1].length+o;e[2]=e[2].substring(0,o),e[0]=e[0].substring(0,l).trim(),e[3]=""}}let r=e[2],s="";if(this.options.pedantic){const o=/^([^'"]*[^\s])\s+(['"])(.*)\2/.exec(r);o&&(r=o[1],s=o[3])}else s=e[3]?e[3].slice(1,-1):"";return r=r.trim(),/^$/.test(i)?r.slice(1):r.slice(1,-1)),bA(e,{href:r&&r.replace(this.rules.inline._escapes,"$1"),title:s&&s.replace(this.rules.inline._escapes,"$1")},e[0],this.lexer)}}reflink(t,e){let i;if((i=this.rules.inline.reflink.exec(t))||(i=this.rules.inline.nolink.exec(t))){let r=(i[2]||i[1]).replace(/\s+/g," ");if(r=e[r.toLowerCase()],!r){const s=i[0].charAt(0);return{type:"text",raw:s,text:s}}return bA(i,r,i[0],this.lexer)}}emStrong(t,e,i=""){let r=this.rules.inline.emStrong.lDelim.exec(t);if(!r||r[3]&&i.match(/[\p{L}\p{N}]/u))return;const s=r[1]||r[2]||"";if(!s||s&&(""===i||this.rules.inline.punctuation.exec(i))){const o=r[0].length-1;let a,l,h=o,f=0;const D="*"===r[0][0]?this.rules.inline.emStrong.rDelimAst:this.rules.inline.emStrong.rDelimUnd;for(D.lastIndex=0,e=e.slice(-1*t.length+o);null!=(r=D.exec(e));){if(a=r[1]||r[2]||r[3]||r[4]||r[5]||r[6],!a)continue;if(l=a.length,r[3]||r[4]){h+=l;continue}if((r[5]||r[6])&&o%3&&!((o+l)%3)){f+=l;continue}if(h-=l,h>0)continue;l=Math.min(l,l+h+f);const k=t.slice(0,o+r.index+(r[0].length-a.length)+l);if(Math.min(o,l)%2){const oe=k.slice(1,-1);return{type:"em",raw:k,text:oe,tokens:this.lexer.inlineTokens(oe)}}const Y=k.slice(2,-2);return{type:"strong",raw:k,text:Y,tokens:this.lexer.inlineTokens(Y)}}}}codespan(t){const e=this.rules.inline.code.exec(t);if(e){let i=e[2].replace(/\n/g," ");const r=/[^ ]/.test(i),s=/^ /.test(i)&&/ $/.test(i);return r&&s&&(i=i.substring(1,i.length-1)),i=us(i,!0),{type:"codespan",raw:e[0],text:i}}}br(t){const e=this.rules.inline.br.exec(t);if(e)return{type:"br",raw:e[0]}}del(t){const e=this.rules.inline.del.exec(t);if(e)return{type:"del",raw:e[0],text:e[2],tokens:this.lexer.inlineTokens(e[2])}}autolink(t,e){const i=this.rules.inline.autolink.exec(t);if(i){let r,s;return"@"===i[2]?(r=us(this.options.mangle?e(i[1]):i[1]),s="mailto:"+r):(r=us(i[1]),s=r),{type:"link",raw:i[0],text:r,href:s,tokens:[{type:"text",raw:r,text:r}]}}}url(t,e){let i;if(i=this.rules.inline.url.exec(t)){let r,s;if("@"===i[2])r=us(this.options.mangle?e(i[0]):i[0]),s="mailto:"+r;else{let o;do{o=i[0],i[0]=this.rules.inline._backpedal.exec(i[0])[0]}while(o!==i[0]);r=us(i[0]),s="www."===i[1]?"http://"+i[0]:i[0]}return{type:"link",raw:i[0],text:r,href:s,tokens:[{type:"text",raw:r,text:r}]}}}inlineText(t,e){const i=this.rules.inline.text.exec(t);if(i){let r;return r=this.lexer.state.inRawBlock?this.options.sanitize?this.options.sanitizer?this.options.sanitizer(i[0]):us(i[0]):i[0]:us(this.options.smartypants?e(i[0]):i[0]),{type:"text",raw:i[0],text:r}}}}const In={newline:/^(?: *(?:\n|$))+/,code:/^( {4}[^\n]+(?:\n(?: *(?:\n|$))*)?)+/,fences:/^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/,hr:/^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/,heading:/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,blockquote:/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/,list:/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/,html:"^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|\\n*|$)|\\n*|$)|)[\\s\\S]*?(?:(?:\\n *)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$)|(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$))",def:/^ {0,3}\[(label)\]: *(?:\n *)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n *)?| *\n *)(title))? *(?:\n+|$)/,table:qg,lheading:/^((?:.|\n(?!\n))+?)\n {0,3}(=+|-+) *(?:\n+|$)/,_paragraph:/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/,text:/^[^\n]+/,_label:/(?!\s*\])(?:\\.|[^\[\]\\])+/,_title:/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/};In.def=Bi(In.def).replace("label",In._label).replace("title",In._title).getRegex(),In.bullet=/(?:[*+-]|\d{1,9}[.)])/,In.listItemStart=Bi(/^( *)(bull) */).replace("bull",In.bullet).getRegex(),In.list=Bi(In.list).replace(/bull/g,In.bullet).replace("hr","\\n+(?=\\1?(?:(?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$))").replace("def","\\n+(?="+In.def.source+")").getRegex(),In._tag="address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|section|source|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul",In._comment=/|$)/,In.html=Bi(In.html,"i").replace("comment",In._comment).replace("tag",In._tag).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),In.paragraph=Bi(In._paragraph).replace("hr",In.hr).replace("heading"," {0,3}#{1,6} ").replace("|lheading","").replace("|table","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|textarea|!--)").replace("tag",In._tag).getRegex(),In.blockquote=Bi(In.blockquote).replace("paragraph",In.paragraph).getRegex(),In.normal=Rr({},In),In.gfm=Io(Rr({},In.normal),{table:"^ *([^\\n ].*\\|.*)\\n {0,3}(?:\\| *)?(:?-+:? *(?:\\| *:?-+:? *)*)(?:\\| *)?(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)"}),In.gfm.table=Bi(In.gfm.table).replace("hr",In.hr).replace("heading"," {0,3}#{1,6} ").replace("blockquote"," {0,3}>").replace("code"," {4}[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|textarea|!--)").replace("tag",In._tag).getRegex(),In.gfm.paragraph=Bi(In._paragraph).replace("hr",In.hr).replace("heading"," {0,3}#{1,6} ").replace("|lheading","").replace("table",In.gfm.table).replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|textarea|!--)").replace("tag",In._tag).getRegex(),In.pedantic=Io(Rr({},In.normal),{html:Bi("^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+? *(?:\\n{2,}|\\s*$)|\\s]*)*?/?> *(?:\\n{2,}|\\s*$))").replace("comment",In._comment).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^(#{1,6})(.*)(?:\n+|$)/,fences:qg,lheading:/^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,paragraph:Bi(In.normal._paragraph).replace("hr",In.hr).replace("heading"," *#{1,6} *[^\n]").replace("lheading",In.lheading).replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").getRegex()});const gn={escape:/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,autolink:/^<(scheme:[^\s\x00-\x1f<>]*|email)>/,url:qg,tag:"^comment|^|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^|^",link:/^!?\[(label)\]\(\s*(href)(?:\s+(title))?\s*\)/,reflink:/^!?\[(label)\]\[(ref)\]/,nolink:/^!?\[(ref)\](?:\[\])?/,reflinkSearch:"reflink|nolink(?!\\()",emStrong:{lDelim:/^(?:\*+(?:([punct_])|[^\s*]))|^_+(?:([punct*])|([^\s_]))/,rDelimAst:/^(?:[^_*\\]|\\.)*?\_\_(?:[^_*\\]|\\.)*?\*(?:[^_*\\]|\\.)*?(?=\_\_)|(?:[^*\\]|\\.)+(?=[^*])|[punct_](\*+)(?=[\s]|$)|(?:[^punct*_\s\\]|\\.)(\*+)(?=[punct_\s]|$)|[punct_\s](\*+)(?=[^punct*_\s])|[\s](\*+)(?=[punct_])|[punct_](\*+)(?=[punct_])|(?:[^punct*_\s\\]|\\.)(\*+)(?=[^punct*_\s])/,rDelimUnd:/^(?:[^_*\\]|\\.)*?\*\*(?:[^_*\\]|\\.)*?\_(?:[^_*\\]|\\.)*?(?=\*\*)|(?:[^_\\]|\\.)+(?=[^_])|[punct*](\_+)(?=[\s]|$)|(?:[^punct*_\s\\]|\\.)(\_+)(?=[punct*\s]|$)|[punct*\s](\_+)(?=[^punct*_\s])|[\s](\_+)(?=[punct*])|[punct*](\_+)(?=[punct*])/},code:/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,br:/^( {2,}|\\)\n(?!\s*$)/,del:qg,text:/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\.5&&(i="x"+i.toString(16)),t+="&#"+i+";";return t}gn._punctuation="!\"#$%&'()+\\-.,/:;<=>?@\\[\\]`^{|}~",gn.punctuation=Bi(gn.punctuation).replace(/punctuation/g,gn._punctuation).getRegex(),gn.blockSkip=/\[[^\]]*?\]\([^\)]*?\)|`[^`]*?`|<[^>]*?>/g,gn.escapedEmSt=/(?:^|[^\\])(?:\\\\)*\\[*_]/g,gn._comment=Bi(In._comment).replace("(?:--\x3e|$)","--\x3e").getRegex(),gn.emStrong.lDelim=Bi(gn.emStrong.lDelim).replace(/punct/g,gn._punctuation).getRegex(),gn.emStrong.rDelimAst=Bi(gn.emStrong.rDelimAst,"g").replace(/punct/g,gn._punctuation).getRegex(),gn.emStrong.rDelimUnd=Bi(gn.emStrong.rDelimUnd,"g").replace(/punct/g,gn._punctuation).getRegex(),gn._escapes=/\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/g,gn._scheme=/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/,gn._email=/[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/,gn.autolink=Bi(gn.autolink).replace("scheme",gn._scheme).replace("email",gn._email).getRegex(),gn._attribute=/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/,gn.tag=Bi(gn.tag).replace("comment",gn._comment).replace("attribute",gn._attribute).getRegex(),gn._label=/(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/,gn._href=/<(?:\\.|[^\n<>\\])+>|[^\s\x00-\x1f]*/,gn._title=/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/,gn.link=Bi(gn.link).replace("label",gn._label).replace("href",gn._href).replace("title",gn._title).getRegex(),gn.reflink=Bi(gn.reflink).replace("label",gn._label).replace("ref",In._label).getRegex(),gn.nolink=Bi(gn.nolink).replace("ref",In._label).getRegex(),gn.reflinkSearch=Bi(gn.reflinkSearch,"g").replace("reflink",gn.reflink).replace("nolink",gn.nolink).getRegex(),gn.normal=Rr({},gn),gn.pedantic=Io(Rr({},gn.normal),{strong:{start:/^__|\*\*/,middle:/^__(?=\S)([\s\S]*?\S)__(?!_)|^\*\*(?=\S)([\s\S]*?\S)\*\*(?!\*)/,endAst:/\*\*(?!\*)/g,endUnd:/__(?!_)/g},em:{start:/^_|\*/,middle:/^()\*(?=\S)([\s\S]*?\S)\*(?!\*)|^_(?=\S)([\s\S]*?\S)_(?!_)/,endAst:/\*(?!\*)/g,endUnd:/_(?!_)/g},link:Bi(/^!?\[(label)\]\((.*?)\)/).replace("label",gn._label).getRegex(),reflink:Bi(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",gn._label).getRegex()}),gn.gfm=Io(Rr({},gn.normal),{escape:Bi(gn.escape).replace("])","~|])").getRegex(),_extended_email:/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/,url:/^((?:ftp|https?):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/,_backpedal:/(?:[^?!.,:;*_'"~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_'"~)]+(?!$))+/,del:/^(~~?)(?=[^\s~])([\s\S]*?[^\s~])\1(?=[^~]|$)/,text:/^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\l+" ".repeat(h.length));t;)if(!(this.options.extensions&&this.options.extensions.block&&this.options.extensions.block.some(a=>!!(i=a.call({lexer:this},t,e))&&(t=t.substring(i.raw.length),e.push(i),!0)))){if(i=this.tokenizer.space(t)){t=t.substring(i.raw.length),1===i.raw.length&&e.length>0?e[e.length-1].raw+="\n":e.push(i);continue}if(i=this.tokenizer.code(t)){t=t.substring(i.raw.length),r=e[e.length-1],!r||"paragraph"!==r.type&&"text"!==r.type?e.push(i):(r.raw+="\n"+i.raw,r.text+="\n"+i.text,this.inlineQueue[this.inlineQueue.length-1].src=r.text);continue}if(i=this.tokenizer.fences(t)){t=t.substring(i.raw.length),e.push(i);continue}if(i=this.tokenizer.heading(t)){t=t.substring(i.raw.length),e.push(i);continue}if(i=this.tokenizer.hr(t)){t=t.substring(i.raw.length),e.push(i);continue}if(i=this.tokenizer.blockquote(t)){t=t.substring(i.raw.length),e.push(i);continue}if(i=this.tokenizer.list(t)){t=t.substring(i.raw.length),e.push(i);continue}if(i=this.tokenizer.html(t)){t=t.substring(i.raw.length),e.push(i);continue}if(i=this.tokenizer.def(t)){t=t.substring(i.raw.length),r=e[e.length-1],!r||"paragraph"!==r.type&&"text"!==r.type?this.tokens.links[i.tag]||(this.tokens.links[i.tag]={href:i.href,title:i.title}):(r.raw+="\n"+i.raw,r.text+="\n"+i.raw,this.inlineQueue[this.inlineQueue.length-1].src=r.text);continue}if(i=this.tokenizer.table(t)){t=t.substring(i.raw.length),e.push(i);continue}if(i=this.tokenizer.lheading(t)){t=t.substring(i.raw.length),e.push(i);continue}if(s=t,this.options.extensions&&this.options.extensions.startBlock){let a=1/0;const l=t.slice(1);let h;this.options.extensions.startBlock.forEach(function(f){h=f.call({lexer:this},l),"number"==typeof h&&h>=0&&(a=Math.min(a,h))}),a<1/0&&a>=0&&(s=t.substring(0,a+1))}if(this.state.top&&(i=this.tokenizer.paragraph(s))){r=e[e.length-1],o&&"paragraph"===r.type?(r.raw+="\n"+i.raw,r.text+="\n"+i.text,this.inlineQueue.pop(),this.inlineQueue[this.inlineQueue.length-1].src=r.text):e.push(i),o=s.length!==t.length,t=t.substring(i.raw.length);continue}if(i=this.tokenizer.text(t)){t=t.substring(i.raw.length),r=e[e.length-1],r&&"text"===r.type?(r.raw+="\n"+i.raw,r.text+="\n"+i.text,this.inlineQueue.pop(),this.inlineQueue[this.inlineQueue.length-1].src=r.text):e.push(i);continue}if(t){const a="Infinite loop on byte: "+t.charCodeAt(0);if(this.options.silent){console.error(a);break}throw new Error(a)}}return this.state.top=!0,e}inline(t,e=[]){return this.inlineQueue.push({src:t,tokens:e}),e}inlineTokens(t,e=[]){let i,r,s,a,l,h,o=t;if(this.tokens.links){const f=Object.keys(this.tokens.links);if(f.length>0)for(;null!=(a=this.tokenizer.rules.inline.reflinkSearch.exec(o));)f.includes(a[0].slice(a[0].lastIndexOf("[")+1,-1))&&(o=o.slice(0,a.index)+"["+vA("a",a[0].length-2)+"]"+o.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;null!=(a=this.tokenizer.rules.inline.blockSkip.exec(o));)o=o.slice(0,a.index)+"["+vA("a",a[0].length-2)+"]"+o.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);for(;null!=(a=this.tokenizer.rules.inline.escapedEmSt.exec(o));)o=o.slice(0,a.index+a[0].length-2)+"++"+o.slice(this.tokenizer.rules.inline.escapedEmSt.lastIndex),this.tokenizer.rules.inline.escapedEmSt.lastIndex--;for(;t;)if(l||(h=""),l=!1,!(this.options.extensions&&this.options.extensions.inline&&this.options.extensions.inline.some(f=>!!(i=f.call({lexer:this},t,e))&&(t=t.substring(i.raw.length),e.push(i),!0)))){if(i=this.tokenizer.escape(t)){t=t.substring(i.raw.length),e.push(i);continue}if(i=this.tokenizer.tag(t)){t=t.substring(i.raw.length),r=e[e.length-1],r&&"text"===i.type&&"text"===r.type?(r.raw+=i.raw,r.text+=i.text):e.push(i);continue}if(i=this.tokenizer.link(t)){t=t.substring(i.raw.length),e.push(i);continue}if(i=this.tokenizer.reflink(t,this.tokens.links)){t=t.substring(i.raw.length),r=e[e.length-1],r&&"text"===i.type&&"text"===r.type?(r.raw+=i.raw,r.text+=i.text):e.push(i);continue}if(i=this.tokenizer.emStrong(t,o,h)){t=t.substring(i.raw.length),e.push(i);continue}if(i=this.tokenizer.codespan(t)){t=t.substring(i.raw.length),e.push(i);continue}if(i=this.tokenizer.br(t)){t=t.substring(i.raw.length),e.push(i);continue}if(i=this.tokenizer.del(t)){t=t.substring(i.raw.length),e.push(i);continue}if(i=this.tokenizer.autolink(t,wA)){t=t.substring(i.raw.length),e.push(i);continue}if(!this.state.inLink&&(i=this.tokenizer.url(t,wA))){t=t.substring(i.raw.length),e.push(i);continue}if(s=t,this.options.extensions&&this.options.extensions.startInline){let f=1/0;const D=t.slice(1);let k;this.options.extensions.startInline.forEach(function(Y){k=Y.call({lexer:this},D),"number"==typeof k&&k>=0&&(f=Math.min(f,k))}),f<1/0&&f>=0&&(s=t.substring(0,f+1))}if(i=this.tokenizer.inlineText(s,z8)){t=t.substring(i.raw.length),"_"!==i.raw.slice(-1)&&(h=i.raw.slice(-1)),l=!0,r=e[e.length-1],r&&"text"===r.type?(r.raw+=i.raw,r.text+=i.text):e.push(i);continue}if(t){const f="Infinite loop on byte: "+t.charCodeAt(0);if(this.options.silent){console.error(f);break}throw new Error(f)}}return e}}class Sp{constructor(t){this.options=t||Xc}code(t,e,i){const r=(e||"").match(/\S*/)[0];if(this.options.highlight){const s=this.options.highlight(t,r);null!=s&&s!==t&&(i=!0,t=s)}return t=t.replace(/\n$/,"")+"\n",r?'
'+(i?t:us(t,!0))+"
\n":"
"+(i?t:us(t,!0))+"
\n"}blockquote(t){return`
\n${t}
\n`}html(t){return t}heading(t,e,i,r){return this.options.headerIds?`${t}\n`:`${t}\n`}hr(){return this.options.xhtml?"
\n":"
\n"}list(t,e,i){const r=e?"ol":"ul";return"<"+r+(e&&1!==i?' start="'+i+'"':"")+">\n"+t+"\n"}listitem(t){return`
  • ${t}
  • \n`}checkbox(t){return" "}paragraph(t){return`

    ${t}

    \n`}table(t,e){return e&&(e=`${e}`),"\n\n"+t+"\n"+e+"
    \n"}tablerow(t){return`\n${t}\n`}tablecell(t,e){const i=e.header?"th":"td";return(e.align?`<${i} align="${e.align}">`:`<${i}>`)+t+`\n`}strong(t){return`${t}`}em(t){return`${t}`}codespan(t){return`${t}`}br(){return this.options.xhtml?"
    ":"
    "}del(t){return`${t}`}link(t,e,i){if(null===(t=_A(this.options.sanitize,this.options.baseUrl,t)))return i;let r='",r}image(t,e,i){if(null===(t=_A(this.options.sanitize,this.options.baseUrl,t)))return i;let r=`${i}":">",r}text(t){return t}}class MA{strong(t){return t}em(t){return t}codespan(t){return t}del(t){return t}html(t){return t}text(t){return t}link(t,e,i){return""+i}image(t,e,i){return""+i}br(){return""}}class DA{constructor(){this.seen={}}serialize(t){return t.toLowerCase().trim().replace(/<[!\/a-z].*?>/gi,"").replace(/[\u2000-\u206F\u2E00-\u2E7F\\'!"#$%&()*+,./:;<=>?@[\]^`{|}~]/g,"").replace(/\s/g,"-")}getNextSafeSlug(t,e){let i=t,r=0;if(this.seen.hasOwnProperty(i)){r=this.seen[t];do{r++,i=t+"-"+r}while(this.seen.hasOwnProperty(i))}return e||(this.seen[t]=r,this.seen[i]=0),i}slug(t,e={}){const i=this.serialize(t);return this.getNextSafeSlug(i,e.dryrun)}}class Zl{constructor(t){this.options=t||Xc,this.options.renderer=this.options.renderer||new Sp,this.renderer=this.options.renderer,this.renderer.options=this.options,this.textRenderer=new MA,this.slugger=new DA}static parse(t,e){return new Zl(e).parse(t)}static parseInline(t,e){return new Zl(e).parseInline(t)}parse(t,e=!0){let r,s,o,a,l,h,f,D,k,Y,oe,Ne,$e,it,qe,Rt,Gt,wn,ii,i="";const Mi=t.length;for(r=0;r0&&"paragraph"===qe.tokens[0].type?(qe.tokens[0].text=wn+" "+qe.tokens[0].text,qe.tokens[0].tokens&&qe.tokens[0].tokens.length>0&&"text"===qe.tokens[0].tokens[0].type&&(qe.tokens[0].tokens[0].text=wn+" "+qe.tokens[0].tokens[0].text)):qe.tokens.unshift({type:"text",text:wn}):it+=wn),it+=this.parse(qe.tokens,$e),k+=this.renderer.listitem(it,Gt,Rt);i+=this.renderer.list(k,oe,Ne);continue;case"html":i+=this.renderer.html(Y.text);continue;case"paragraph":i+=this.renderer.paragraph(this.parseInline(Y.tokens));continue;case"text":for(k=Y.tokens?this.parseInline(Y.tokens):Y.text;r+1{"function"==typeof i&&(r=i,i=null);const s=Rr({},i),o=function G8(n,t,e){return i=>{if(i.message+="\nPlease report this to https://github.com/markedjs/marked.",n){const r="

    An error occurred:

    "+us(i.message+"",!0)+"
    ";return t?Promise.resolve(r):e?void e(null,r):r}if(t)return Promise.reject(i);if(!e)throw i;e(i)}}((i=Rr(Rr({},On.defaults),s)).silent,i.async,r);if(null==e)return o(new Error("marked(): input parameter is undefined or null"));if("string"!=typeof e)return o(new Error("marked(): input parameter is of type "+Object.prototype.toString.call(e)+", string expected"));if(function q8(n){n&&n.sanitize&&!n.silent&&console.warn("marked(): sanitize and sanitizer parameters are deprecated since version 0.7.0, should not be used and will be removed in the future. Read more here: https://marked.js.org/#/USING_ADVANCED.md#options")}(i),i.hooks&&(i.hooks.options=i),r){const a=i.highlight;let l;try{i.hooks&&(e=i.hooks.preprocess(e)),l=n(e,i)}catch(D){return o(D)}const h=function(D){let k;if(!D)try{i.walkTokens&&On.walkTokens(l,i.walkTokens),k=t(l,i),i.hooks&&(k=i.hooks.postprocess(k))}catch(Y){D=Y}return i.highlight=a,D?o(D):r(null,k)};if(!a||a.length<3||(delete i.highlight,!l.length))return h();let f=0;return On.walkTokens(l,function(D){"code"===D.type&&(f++,setTimeout(()=>{a(D.text,D.lang,function(k,Y){if(k)return h(k);null!=Y&&Y!==D.text&&(D.text=Y,D.escaped=!0),f--,0===f&&h()})},0))}),void(0===f&&h())}if(i.async)return Promise.resolve(i.hooks?i.hooks.preprocess(e):e).then(a=>n(a,i)).then(a=>i.walkTokens?Promise.all(On.walkTokens(a,i.walkTokens)).then(()=>a):a).then(a=>t(a,i)).then(a=>i.hooks?i.hooks.postprocess(a):a).catch(o);try{i.hooks&&(e=i.hooks.preprocess(e));const a=n(e,i);i.walkTokens&&On.walkTokens(a,i.walkTokens);let l=t(a,i);return i.hooks&&(l=i.hooks.postprocess(l)),l}catch(a){return o(a)}}}function On(n,t,e){return EA(Kl.lex,Zl.parse)(n,t,e)}jN(zg,"passThroughHooks",new Set(["preprocess","postprocess"])),On.options=On.setOptions=function(n){return function I8(n){Xc=n}(On.defaults=Rr(Rr({},On.defaults),n)),On},On.getDefaults=function hA(){return{async:!1,baseUrl:null,breaks:!1,extensions:null,gfm:!0,headerIds:!0,headerPrefix:"",highlight:null,hooks:null,langPrefix:"language-",mangle:!0,pedantic:!1,renderer:null,sanitize:!1,sanitizer:null,silent:!1,smartypants:!1,tokenizer:null,walkTokens:null,xhtml:!1}},On.defaults=Xc,On.use=function(...n){const t=On.defaults.extensions||{renderers:{},childTokens:{}};n.forEach(e=>{const i=Rr({},e);if(i.async=On.defaults.async||i.async||!1,e.extensions&&(e.extensions.forEach(r=>{if(!r.name)throw new Error("extension name required");if(r.renderer){const s=t.renderers[r.name];t.renderers[r.name]=s?function(...o){let a=r.renderer.apply(this,o);return!1===a&&(a=s.apply(this,o)),a}:r.renderer}if(r.tokenizer){if(!r.level||"block"!==r.level&&"inline"!==r.level)throw new Error("extension level must be 'block' or 'inline'");t[r.level]?t[r.level].unshift(r.tokenizer):t[r.level]=[r.tokenizer],r.start&&("block"===r.level?t.startBlock?t.startBlock.push(r.start):t.startBlock=[r.start]:"inline"===r.level&&(t.startInline?t.startInline.push(r.start):t.startInline=[r.start]))}r.childTokens&&(t.childTokens[r.name]=r.childTokens)}),i.extensions=t),e.renderer){const r=On.defaults.renderer||new Sp;for(const s in e.renderer){const o=r[s];r[s]=(...a)=>{let l=e.renderer[s].apply(r,a);return!1===l&&(l=o.apply(r,a)),l}}i.renderer=r}if(e.tokenizer){const r=On.defaults.tokenizer||new UM;for(const s in e.tokenizer){const o=r[s];r[s]=(...a)=>{let l=e.tokenizer[s].apply(r,a);return!1===l&&(l=o.apply(r,a)),l}}i.tokenizer=r}if(e.hooks){const r=On.defaults.hooks||new zg;for(const s in e.hooks){const o=r[s];r[s]=zg.passThroughHooks.has(s)?a=>{if(On.defaults.async)return Promise.resolve(e.hooks[s].call(r,a)).then(h=>o.call(r,h));const l=e.hooks[s].call(r,a);return o.call(r,l)}:(...a)=>{let l=e.hooks[s].apply(r,a);return!1===l&&(l=o.apply(r,a)),l}}i.hooks=r}if(e.walkTokens){const r=On.defaults.walkTokens;i.walkTokens=function(s){let o=[];return o.push(e.walkTokens.call(this,s)),r&&(o=o.concat(r.call(this,s))),o}}On.setOptions(i)})},On.walkTokens=function(n,t){let e=[];for(const i of n)switch(e=e.concat(t.call(On,i)),i.type){case"table":for(const r of i.header)e=e.concat(On.walkTokens(r.tokens,t));for(const r of i.rows)for(const s of r)e=e.concat(On.walkTokens(s.tokens,t));break;case"list":e=e.concat(On.walkTokens(i.items,t));break;default:On.defaults.extensions&&On.defaults.extensions.childTokens&&On.defaults.extensions.childTokens[i.type]?On.defaults.extensions.childTokens[i.type].forEach(function(r){e=e.concat(On.walkTokens(i[r],t))}):i.tokens&&(e=e.concat(On.walkTokens(i.tokens,t)))}return e},On.parseInline=EA(Kl.lexInline,Zl.parseInline),On.Parser=Zl,On.parser=Zl.parse,On.Renderer=Sp,On.TextRenderer=MA,On.Lexer=Kl,On.lexer=Kl.lex,On.Tokenizer=UM,On.Slugger=DA,On.Hooks=zg,On.parse=On;const $8=["*"];var kp=(()=>(function(n){n.CommandLine="command-line",n.LineHighlight="line-highlight",n.LineNumbers="line-numbers"}(kp||(kp={})),kp))();class CA{}const TA=new ht("SECURITY_CONTEXT");let zM=(()=>{class n{constructor(e,i,r,s,o){this.platform=e,this.securityContext=i,this.http=r,this.sanitizer=o,this.initialMarkedOptions={renderer:new Sp},this.options=s}get options(){return this._options}set options(e){this._options=Object.assign(Object.assign({},this.initialMarkedOptions),e)}get renderer(){return this.options.renderer}set renderer(e){this.options.renderer=e}compile(e,i=!1,r=!1,s=this.options){const o=this.trimIndentation(e),a=i?this.decodeHtml(o):o,h=On(r?this.renderEmoji(a):a,s);return this.sanitizer.sanitize(this.securityContext,h)||""}getSource(e){if(!this.http)throw new Error("[ngx-markdown] When using the `src` attribute you *have to* pass the `HttpClient` as a parameter of the `forRoot` method. See README for more information");return this.http.get(e,{responseType:"text"}).pipe(ge(i=>this.handleExtension(e,i)))}highlight(e){if(ap(this.platform)&&"undefined"!=typeof Prism){e||(e=document);const i=e.querySelectorAll('pre code:not([class*="language-"])');Array.prototype.forEach.call(i,r=>r.classList.add("language-none")),Prism.highlightAllUnder(e)}}renderKatex(e,i){if(!ap(this.platform))return e;if("undefined"==typeof katex||void 0===katex.renderToString)throw new Error("[ngx-markdown] When using the `katex` attribute you *have to* include KaTeX files to `angular.json` or use imports. See README for more information");return e.replace(/\$([^\s][^$]*?[^\s])\$/gm,(r,s)=>katex.renderToString(s,i))}decodeHtml(e){if(!ap(this.platform))return e;const i=document.createElement("textarea");return i.innerHTML=e,i.value}handleExtension(e,i){const r=e?e.split("?")[0].split(".").splice(-1).join():"";return"md"!==r?"```"+r+"\n"+i+"\n```":i}renderEmoji(e){if(!ap(this.platform))return e;if("undefined"==typeof joypixels||void 0===joypixels.shortnameToUnicode)throw new Error("[ngx-markdown] When using the `emoji` attribute you *have to* include Emoji-Toolkit files to `angular.json` or use imports. See README for more information");return joypixels.shortnameToUnicode(e)}trimIndentation(e){if(!e)return"";let i;return e.split("\n").map(r=>{let s=i;return r.length>0&&(s=isNaN(s)?r.search(/\S|$/):Math.min(r.search(/\S|$/),s)),isNaN(i)&&(i=s),s?r.substring(s):r}).join("\n")}}return n.\u0275fac=function(e){return new(e||n)(Se(ip),Se(TA),Se(hp,8),Se(CA,8),Se(sl))},n.\u0275prov=Ee({token:n,factory:n.\u0275fac}),n})(),cl=(()=>{class n{constructor(e,i){this.element=e,this.markdownService=i,this.error=new jt,this.load=new jt,this.ready=new jt,this._commandLine=!1,this._emoji=!1,this._katex=!1,this._lineHighlight=!1,this._lineNumbers=!1}get emoji(){return this._emoji}set emoji(e){this._emoji=this.coerceBooleanProperty(e)}get katex(){return this._katex}set katex(e){this._katex=this.coerceBooleanProperty(e)}get lineHighlight(){return this._lineHighlight}set lineHighlight(e){this._lineHighlight=this.coerceBooleanProperty(e)}get lineNumbers(){return this._lineNumbers}set lineNumbers(e){this._lineNumbers=this.coerceBooleanProperty(e)}get commandLine(){return this._commandLine}set commandLine(e){this._commandLine=this.coerceBooleanProperty(e)}ngOnChanges(){null==this.data?null==this.src||this.handleSrc():this.handleData()}ngAfterViewInit(){!this.data&&!this.src&&this.handleTransclusion()}render(e,i=!1){let r=this.markdownService.compile(e,i,this.emoji);r=this.katex?this.markdownService.renderKatex(r,this.katexOptions):r,this.element.nativeElement.innerHTML=r,this.handlePlugins(),this.markdownService.highlight(this.element.nativeElement),this.ready.emit()}coerceBooleanProperty(e){return null!=e&&"false"!=`${String(e)}`}handleData(){this.render(this.data)}handleSrc(){this.markdownService.getSource(this.src).subscribe(e=>{this.render(e),this.load.emit(e)},e=>this.error.emit(e))}handleTransclusion(){this.render(this.element.nativeElement.innerHTML,!0)}handlePlugins(){this.commandLine&&(this.setPluginClass(this.element.nativeElement,kp.CommandLine),this.setPluginOptions(this.element.nativeElement,{dataFilterOutput:this.filterOutput,dataHost:this.host,dataPrompt:this.prompt,dataOutput:this.output,dataUser:this.user})),this.lineHighlight&&this.setPluginOptions(this.element.nativeElement,{dataLine:this.line,dataLineOffset:this.lineOffset}),this.lineNumbers&&(this.setPluginClass(this.element.nativeElement,kp.LineNumbers),this.setPluginOptions(this.element.nativeElement,{dataStart:this.start}))}setPluginClass(e,i){const r=e.querySelectorAll("pre");for(let s=0;s{const a=i[o];if(a){const l=this.toLispCase(o);r.item(s).setAttribute(l,a.toString())}})}toLispCase(e){const i=e.match(/([A-Z])/g);if(!i)return e;let r=e.toString();for(let s=0,o=i.length;s{class n{static forRoot(e){return{ngModule:n,providers:[zM,e&&e.loader||[],e&&e.markedOptions||[],{provide:TA,useValue:e&&null!=e.sanitize?e.sanitize:_i.HTML}]}}static forChild(){return{ngModule:n}}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Yt({type:n}),n.\u0275inj=He({}),n})();w(3037);var La=w(6511),Fs=(()=>(function(n){n.Closed="CLOSED",n.Open="OPEN"}(Fs||(Fs={})),Fs))();const X8=La.ZP` - fragment issueAuthor on Actor { - login - url - avatarUrl -} - `,Gg=La.ZP` - fragment issue on Issue { - id - number - title - body - state - createdAt - updatedAt - url - author { - ...issueAuthor - } -} - ${X8}`,xp=La.ZP` - fragment issueLabel on Label { - id - color - name - url -} - `,$g=La.ZP` - fragment issueAssignee on User { - id - login - url -} - `,Wg=La.ZP` - fragment issueComment on IssueComment { - id - databaseId - body - createdAt - updatedAt -} - `,J8=(La.ZP` - fragment issueModel on Issue { - ...issue - labels(first: 100) { - edges { - node { - ...issueLabel - } - } - } - assignees(first: 100) { - edges { - node { - ...issueAssignee - } - } - } - comments(first: 100) { - edges { - cursor - node { - ...issueComment - } - } - } -} - ${Gg} -${xp} -${$g} -${Wg}`,La.ZP` - query FetchIssue($owner: String!, $name: String!, $issueId: Int!, $commentCursor: String) { - repository(owner: $owner, name: $name) { - issue(number: $issueId) { - ...issue - labels(first: 100) { - edges { - node { - ...issueLabel - } - } - } - assignees(first: 100) { - edges { - node { - ...issueAssignee - } - } - } - comments(first: 100, after: $commentCursor) { - edges { - cursor - node { - ...issueComment - } - } - } - } - } -} - ${Gg} -${xp} -${$g} -${Wg}`),e6=La.ZP` - query FetchIssuesByTeam($owner: String!, $name: String!, $tutorial: String!, $filter: IssueFilters, $cursor: String, $commentCursor: String) { - repository(owner: $owner, name: $name) { - label(name: $tutorial) { - issues(first: 100, filterBy: $filter, after: $cursor) { - edges { - cursor - node { - ...issue - labels(first: 100) { - edges { - node { - ...issueLabel - } - } - } - assignees(first: 100) { - edges { - node { - ...issueAssignee - } - } - } - comments(first: 100, after: $commentCursor) { - edges { - cursor - node { - ...issueComment - } - } - } - } - } - } - } - } -} - ${Gg} -${xp} -${$g} -${Wg}`,t6=La.ZP` - query FetchIssues($owner: String!, $name: String!, $filter: IssueFilters, $cursor: String, $commentCursor: String) { - repository(owner: $owner, name: $name) { - issues(first: 100, filterBy: $filter, after: $cursor) { - edges { - cursor - node { - ...issue - labels(first: 100) { - edges { - node { - ...issueLabel - } - } - } - assignees(first: 100) { - edges { - node { - ...issueAssignee - } - } - } - comments(first: 100, after: $commentCursor) { - edges { - cursor - node { - ...issueComment - } - } - } - } - } - } - } -} - ${Gg} -${xp} -${$g} -${Wg}`,n6=La.ZP` - query FetchLabels($owner: String!, $name: String!, $cursor: String) { - repository(owner: $owner, name: $name) { - labels(first: 100, after: $cursor) { - edges { - cursor - node { - ...issueLabel - description - } - } - } - } -} - ${xp}`,i6={possibleTypes:{Actor:["Bot","EnterpriseUserAccount","Mannequin","Organization","User"],Assignable:["Issue","PullRequest"],Assignee:["Bot","Mannequin","Organization","User"],AuditEntry:["MembersCanDeleteReposClearAuditEntry","MembersCanDeleteReposDisableAuditEntry","MembersCanDeleteReposEnableAuditEntry","OauthApplicationCreateAuditEntry","OrgAddBillingManagerAuditEntry","OrgAddMemberAuditEntry","OrgBlockUserAuditEntry","OrgConfigDisableCollaboratorsOnlyAuditEntry","OrgConfigEnableCollaboratorsOnlyAuditEntry","OrgCreateAuditEntry","OrgDisableOauthAppRestrictionsAuditEntry","OrgDisableSamlAuditEntry","OrgDisableTwoFactorRequirementAuditEntry","OrgEnableOauthAppRestrictionsAuditEntry","OrgEnableSamlAuditEntry","OrgEnableTwoFactorRequirementAuditEntry","OrgInviteMemberAuditEntry","OrgInviteToBusinessAuditEntry","OrgOauthAppAccessApprovedAuditEntry","OrgOauthAppAccessDeniedAuditEntry","OrgOauthAppAccessRequestedAuditEntry","OrgRemoveBillingManagerAuditEntry","OrgRemoveMemberAuditEntry","OrgRemoveOutsideCollaboratorAuditEntry","OrgRestoreMemberAuditEntry","OrgUnblockUserAuditEntry","OrgUpdateDefaultRepositoryPermissionAuditEntry","OrgUpdateMemberAuditEntry","OrgUpdateMemberRepositoryCreationPermissionAuditEntry","OrgUpdateMemberRepositoryInvitationPermissionAuditEntry","PrivateRepositoryForkingDisableAuditEntry","PrivateRepositoryForkingEnableAuditEntry","RepoAccessAuditEntry","RepoAddMemberAuditEntry","RepoAddTopicAuditEntry","RepoArchivedAuditEntry","RepoChangeMergeSettingAuditEntry","RepoConfigDisableAnonymousGitAccessAuditEntry","RepoConfigDisableCollaboratorsOnlyAuditEntry","RepoConfigDisableContributorsOnlyAuditEntry","RepoConfigDisableSockpuppetDisallowedAuditEntry","RepoConfigEnableAnonymousGitAccessAuditEntry","RepoConfigEnableCollaboratorsOnlyAuditEntry","RepoConfigEnableContributorsOnlyAuditEntry","RepoConfigEnableSockpuppetDisallowedAuditEntry","RepoConfigLockAnonymousGitAccessAuditEntry","RepoConfigUnlockAnonymousGitAccessAuditEntry","RepoCreateAuditEntry","RepoDestroyAuditEntry","RepoRemoveMemberAuditEntry","RepoRemoveTopicAuditEntry","RepositoryVisibilityChangeDisableAuditEntry","RepositoryVisibilityChangeEnableAuditEntry","TeamAddMemberAuditEntry","TeamAddRepositoryAuditEntry","TeamChangeParentTeamAuditEntry","TeamRemoveMemberAuditEntry","TeamRemoveRepositoryAuditEntry"],AuditEntryActor:["Bot","Organization","User"],Closable:["Issue","Milestone","Project","PullRequest"],Closer:["Commit","PullRequest"],Comment:["CommitComment","GistComment","Issue","IssueComment","PullRequest","PullRequestReview","PullRequestReviewComment","TeamDiscussion","TeamDiscussionComment"],Contribution:["CreatedCommitContribution","CreatedIssueContribution","CreatedPullRequestContribution","CreatedPullRequestReviewContribution","CreatedRepositoryContribution","JoinedGitHubContribution","RestrictedContribution"],CreatedIssueOrRestrictedContribution:["CreatedIssueContribution","RestrictedContribution"],CreatedPullRequestOrRestrictedContribution:["CreatedPullRequestContribution","RestrictedContribution"],CreatedRepositoryOrRestrictedContribution:["CreatedRepositoryContribution","RestrictedContribution"],Deletable:["CommitComment","GistComment","IssueComment","PullRequestReview","PullRequestReviewComment","TeamDiscussion","TeamDiscussionComment"],EnterpriseAuditEntryData:["MembersCanDeleteReposClearAuditEntry","MembersCanDeleteReposDisableAuditEntry","MembersCanDeleteReposEnableAuditEntry","OrgInviteToBusinessAuditEntry","PrivateRepositoryForkingDisableAuditEntry","PrivateRepositoryForkingEnableAuditEntry","RepositoryVisibilityChangeDisableAuditEntry","RepositoryVisibilityChangeEnableAuditEntry"],EnterpriseMember:["EnterpriseUserAccount","User"],GitObject:["Blob","Commit","Tag","Tree"],GitSignature:["GpgSignature","SmimeSignature","UnknownSignature"],HovercardContext:["GenericHovercardContext","OrganizationTeamsHovercardContext","OrganizationsHovercardContext","ReviewStatusHovercardContext","ViewerHovercardContext"],IpAllowListOwner:["Enterprise","Organization"],IssueOrPullRequest:["Issue","PullRequest"],IssueTimelineItem:["AssignedEvent","ClosedEvent","Commit","CrossReferencedEvent","DemilestonedEvent","IssueComment","LabeledEvent","LockedEvent","MilestonedEvent","ReferencedEvent","RenamedTitleEvent","ReopenedEvent","SubscribedEvent","TransferredEvent","UnassignedEvent","UnlabeledEvent","UnlockedEvent","UnsubscribedEvent","UserBlockedEvent"],IssueTimelineItems:["AddedToProjectEvent","AssignedEvent","ClosedEvent","CommentDeletedEvent","ConnectedEvent","ConvertedNoteToIssueEvent","CrossReferencedEvent","DemilestonedEvent","DisconnectedEvent","IssueComment","LabeledEvent","LockedEvent","MarkedAsDuplicateEvent","MentionedEvent","MilestonedEvent","MovedColumnsInProjectEvent","PinnedEvent","ReferencedEvent","RemovedFromProjectEvent","RenamedTitleEvent","ReopenedEvent","SubscribedEvent","TransferredEvent","UnassignedEvent","UnlabeledEvent","UnlockedEvent","UnmarkedAsDuplicateEvent","UnpinnedEvent","UnsubscribedEvent","UserBlockedEvent"],Labelable:["Issue","PullRequest"],Lockable:["Issue","PullRequest"],MemberStatusable:["Organization","Team"],MilestoneItem:["Issue","PullRequest"],Minimizable:["CommitComment","GistComment","IssueComment","PullRequestReviewComment"],Node:["AddedToProjectEvent","App","AssignedEvent","AutomaticBaseChangeFailedEvent","AutomaticBaseChangeSucceededEvent","BaseRefChangedEvent","BaseRefDeletedEvent","BaseRefForcePushedEvent","Blob","Bot","BranchProtectionRule","CheckRun","CheckSuite","ClosedEvent","CodeOfConduct","CommentDeletedEvent","Commit","CommitComment","CommitCommentThread","ConnectedEvent","ConvertToDraftEvent","ConvertedNoteToIssueEvent","CrossReferencedEvent","DemilestonedEvent","DeployKey","DeployedEvent","Deployment","DeploymentEnvironmentChangedEvent","DeploymentStatus","DisconnectedEvent","Enterprise","EnterpriseAdministratorInvitation","EnterpriseIdentityProvider","EnterpriseRepositoryInfo","EnterpriseServerInstallation","EnterpriseServerUserAccount","EnterpriseServerUserAccountEmail","EnterpriseServerUserAccountsUpload","EnterpriseUserAccount","ExternalIdentity","Gist","GistComment","HeadRefDeletedEvent","HeadRefForcePushedEvent","HeadRefRestoredEvent","IpAllowListEntry","Issue","IssueComment","Label","LabeledEvent","Language","License","LockedEvent","Mannequin","MarkedAsDuplicateEvent","MarketplaceCategory","MarketplaceListing","MembersCanDeleteReposClearAuditEntry","MembersCanDeleteReposDisableAuditEntry","MembersCanDeleteReposEnableAuditEntry","MentionedEvent","MergedEvent","Milestone","MilestonedEvent","MovedColumnsInProjectEvent","OauthApplicationCreateAuditEntry","OrgAddBillingManagerAuditEntry","OrgAddMemberAuditEntry","OrgBlockUserAuditEntry","OrgConfigDisableCollaboratorsOnlyAuditEntry","OrgConfigEnableCollaboratorsOnlyAuditEntry","OrgCreateAuditEntry","OrgDisableOauthAppRestrictionsAuditEntry","OrgDisableSamlAuditEntry","OrgDisableTwoFactorRequirementAuditEntry","OrgEnableOauthAppRestrictionsAuditEntry","OrgEnableSamlAuditEntry","OrgEnableTwoFactorRequirementAuditEntry","OrgInviteMemberAuditEntry","OrgInviteToBusinessAuditEntry","OrgOauthAppAccessApprovedAuditEntry","OrgOauthAppAccessDeniedAuditEntry","OrgOauthAppAccessRequestedAuditEntry","OrgRemoveBillingManagerAuditEntry","OrgRemoveMemberAuditEntry","OrgRemoveOutsideCollaboratorAuditEntry","OrgRestoreMemberAuditEntry","OrgUnblockUserAuditEntry","OrgUpdateDefaultRepositoryPermissionAuditEntry","OrgUpdateMemberAuditEntry","OrgUpdateMemberRepositoryCreationPermissionAuditEntry","OrgUpdateMemberRepositoryInvitationPermissionAuditEntry","Organization","OrganizationIdentityProvider","OrganizationInvitation","Package","PackageFile","PackageTag","PackageVersion","PinnedEvent","PrivateRepositoryForkingDisableAuditEntry","PrivateRepositoryForkingEnableAuditEntry","Project","ProjectCard","ProjectColumn","PublicKey","PullRequest","PullRequestCommit","PullRequestCommitCommentThread","PullRequestReview","PullRequestReviewComment","PullRequestReviewThread","Push","PushAllowance","Reaction","ReadyForReviewEvent","Ref","ReferencedEvent","Release","ReleaseAsset","RemovedFromProjectEvent","RenamedTitleEvent","ReopenedEvent","RepoAccessAuditEntry","RepoAddMemberAuditEntry","RepoAddTopicAuditEntry","RepoArchivedAuditEntry","RepoChangeMergeSettingAuditEntry","RepoConfigDisableAnonymousGitAccessAuditEntry","RepoConfigDisableCollaboratorsOnlyAuditEntry","RepoConfigDisableContributorsOnlyAuditEntry","RepoConfigDisableSockpuppetDisallowedAuditEntry","RepoConfigEnableAnonymousGitAccessAuditEntry","RepoConfigEnableCollaboratorsOnlyAuditEntry","RepoConfigEnableContributorsOnlyAuditEntry","RepoConfigEnableSockpuppetDisallowedAuditEntry","RepoConfigLockAnonymousGitAccessAuditEntry","RepoConfigUnlockAnonymousGitAccessAuditEntry","RepoCreateAuditEntry","RepoDestroyAuditEntry","RepoRemoveMemberAuditEntry","RepoRemoveTopicAuditEntry","Repository","RepositoryInvitation","RepositoryTopic","RepositoryVisibilityChangeDisableAuditEntry","RepositoryVisibilityChangeEnableAuditEntry","RepositoryVulnerabilityAlert","ReviewDismissalAllowance","ReviewDismissedEvent","ReviewRequest","ReviewRequestRemovedEvent","ReviewRequestedEvent","SavedReply","SecurityAdvisory","SponsorsListing","SponsorsTier","Sponsorship","Status","StatusCheckRollup","StatusContext","SubscribedEvent","Tag","Team","TeamAddMemberAuditEntry","TeamAddRepositoryAuditEntry","TeamChangeParentTeamAuditEntry","TeamDiscussion","TeamDiscussionComment","TeamRemoveMemberAuditEntry","TeamRemoveRepositoryAuditEntry","Topic","TransferredEvent","Tree","UnassignedEvent","UnlabeledEvent","UnlockedEvent","UnmarkedAsDuplicateEvent","UnpinnedEvent","UnsubscribedEvent","User","UserBlockedEvent","UserContentEdit","UserStatus"],OauthApplicationAuditEntryData:["OauthApplicationCreateAuditEntry","OrgOauthAppAccessApprovedAuditEntry","OrgOauthAppAccessDeniedAuditEntry","OrgOauthAppAccessRequestedAuditEntry"],OrgRestoreMemberAuditEntryMembership:["OrgRestoreMemberMembershipOrganizationAuditEntryData","OrgRestoreMemberMembershipRepositoryAuditEntryData","OrgRestoreMemberMembershipTeamAuditEntryData"],OrganizationAuditEntry:["MembersCanDeleteReposClearAuditEntry","MembersCanDeleteReposDisableAuditEntry","MembersCanDeleteReposEnableAuditEntry","OauthApplicationCreateAuditEntry","OrgAddBillingManagerAuditEntry","OrgAddMemberAuditEntry","OrgBlockUserAuditEntry","OrgConfigDisableCollaboratorsOnlyAuditEntry","OrgConfigEnableCollaboratorsOnlyAuditEntry","OrgCreateAuditEntry","OrgDisableOauthAppRestrictionsAuditEntry","OrgDisableSamlAuditEntry","OrgDisableTwoFactorRequirementAuditEntry","OrgEnableOauthAppRestrictionsAuditEntry","OrgEnableSamlAuditEntry","OrgEnableTwoFactorRequirementAuditEntry","OrgInviteMemberAuditEntry","OrgInviteToBusinessAuditEntry","OrgOauthAppAccessApprovedAuditEntry","OrgOauthAppAccessDeniedAuditEntry","OrgOauthAppAccessRequestedAuditEntry","OrgRemoveBillingManagerAuditEntry","OrgRemoveMemberAuditEntry","OrgRemoveOutsideCollaboratorAuditEntry","OrgRestoreMemberAuditEntry","OrgUnblockUserAuditEntry","OrgUpdateDefaultRepositoryPermissionAuditEntry","OrgUpdateMemberAuditEntry","OrgUpdateMemberRepositoryCreationPermissionAuditEntry","OrgUpdateMemberRepositoryInvitationPermissionAuditEntry","PrivateRepositoryForkingDisableAuditEntry","PrivateRepositoryForkingEnableAuditEntry","RepoAccessAuditEntry","RepoAddMemberAuditEntry","RepoAddTopicAuditEntry","RepoArchivedAuditEntry","RepoChangeMergeSettingAuditEntry","RepoConfigDisableAnonymousGitAccessAuditEntry","RepoConfigDisableCollaboratorsOnlyAuditEntry","RepoConfigDisableContributorsOnlyAuditEntry","RepoConfigDisableSockpuppetDisallowedAuditEntry","RepoConfigEnableAnonymousGitAccessAuditEntry","RepoConfigEnableCollaboratorsOnlyAuditEntry","RepoConfigEnableContributorsOnlyAuditEntry","RepoConfigEnableSockpuppetDisallowedAuditEntry","RepoConfigLockAnonymousGitAccessAuditEntry","RepoConfigUnlockAnonymousGitAccessAuditEntry","RepoCreateAuditEntry","RepoDestroyAuditEntry","RepoRemoveMemberAuditEntry","RepoRemoveTopicAuditEntry","RepositoryVisibilityChangeDisableAuditEntry","RepositoryVisibilityChangeEnableAuditEntry","TeamAddMemberAuditEntry","TeamAddRepositoryAuditEntry","TeamChangeParentTeamAuditEntry","TeamRemoveMemberAuditEntry","TeamRemoveRepositoryAuditEntry"],OrganizationAuditEntryData:["MembersCanDeleteReposClearAuditEntry","MembersCanDeleteReposDisableAuditEntry","MembersCanDeleteReposEnableAuditEntry","OauthApplicationCreateAuditEntry","OrgAddBillingManagerAuditEntry","OrgAddMemberAuditEntry","OrgBlockUserAuditEntry","OrgConfigDisableCollaboratorsOnlyAuditEntry","OrgConfigEnableCollaboratorsOnlyAuditEntry","OrgCreateAuditEntry","OrgDisableOauthAppRestrictionsAuditEntry","OrgDisableSamlAuditEntry","OrgDisableTwoFactorRequirementAuditEntry","OrgEnableOauthAppRestrictionsAuditEntry","OrgEnableSamlAuditEntry","OrgEnableTwoFactorRequirementAuditEntry","OrgInviteMemberAuditEntry","OrgInviteToBusinessAuditEntry","OrgOauthAppAccessApprovedAuditEntry","OrgOauthAppAccessDeniedAuditEntry","OrgOauthAppAccessRequestedAuditEntry","OrgRemoveBillingManagerAuditEntry","OrgRemoveMemberAuditEntry","OrgRemoveOutsideCollaboratorAuditEntry","OrgRestoreMemberAuditEntry","OrgRestoreMemberMembershipOrganizationAuditEntryData","OrgUnblockUserAuditEntry","OrgUpdateDefaultRepositoryPermissionAuditEntry","OrgUpdateMemberAuditEntry","OrgUpdateMemberRepositoryCreationPermissionAuditEntry","OrgUpdateMemberRepositoryInvitationPermissionAuditEntry","PrivateRepositoryForkingDisableAuditEntry","PrivateRepositoryForkingEnableAuditEntry","RepoAccessAuditEntry","RepoAddMemberAuditEntry","RepoAddTopicAuditEntry","RepoArchivedAuditEntry","RepoChangeMergeSettingAuditEntry","RepoConfigDisableAnonymousGitAccessAuditEntry","RepoConfigDisableCollaboratorsOnlyAuditEntry","RepoConfigDisableContributorsOnlyAuditEntry","RepoConfigDisableSockpuppetDisallowedAuditEntry","RepoConfigEnableAnonymousGitAccessAuditEntry","RepoConfigEnableCollaboratorsOnlyAuditEntry","RepoConfigEnableContributorsOnlyAuditEntry","RepoConfigEnableSockpuppetDisallowedAuditEntry","RepoConfigLockAnonymousGitAccessAuditEntry","RepoConfigUnlockAnonymousGitAccessAuditEntry","RepoCreateAuditEntry","RepoDestroyAuditEntry","RepoRemoveMemberAuditEntry","RepoRemoveTopicAuditEntry","RepositoryVisibilityChangeDisableAuditEntry","RepositoryVisibilityChangeEnableAuditEntry","TeamAddMemberAuditEntry","TeamAddRepositoryAuditEntry","TeamChangeParentTeamAuditEntry","TeamRemoveMemberAuditEntry","TeamRemoveRepositoryAuditEntry"],PackageOwner:["Organization","Repository","User"],PermissionGranter:["Organization","Repository","Team"],PinnableItem:["Gist","Repository"],ProfileOwner:["Organization","User"],ProjectCardItem:["Issue","PullRequest"],ProjectOwner:["Organization","Repository","User"],PullRequestTimelineItem:["AssignedEvent","BaseRefDeletedEvent","BaseRefForcePushedEvent","ClosedEvent","Commit","CommitCommentThread","CrossReferencedEvent","DemilestonedEvent","DeployedEvent","DeploymentEnvironmentChangedEvent","HeadRefDeletedEvent","HeadRefForcePushedEvent","HeadRefRestoredEvent","IssueComment","LabeledEvent","LockedEvent","MergedEvent","MilestonedEvent","PullRequestReview","PullRequestReviewComment","PullRequestReviewThread","ReferencedEvent","RenamedTitleEvent","ReopenedEvent","ReviewDismissedEvent","ReviewRequestRemovedEvent","ReviewRequestedEvent","SubscribedEvent","UnassignedEvent","UnlabeledEvent","UnlockedEvent","UnsubscribedEvent","UserBlockedEvent"],PullRequestTimelineItems:["AddedToProjectEvent","AssignedEvent","AutomaticBaseChangeFailedEvent","AutomaticBaseChangeSucceededEvent","BaseRefChangedEvent","BaseRefDeletedEvent","BaseRefForcePushedEvent","ClosedEvent","CommentDeletedEvent","ConnectedEvent","ConvertToDraftEvent","ConvertedNoteToIssueEvent","CrossReferencedEvent","DemilestonedEvent","DeployedEvent","DeploymentEnvironmentChangedEvent","DisconnectedEvent","HeadRefDeletedEvent","HeadRefForcePushedEvent","HeadRefRestoredEvent","IssueComment","LabeledEvent","LockedEvent","MarkedAsDuplicateEvent","MentionedEvent","MergedEvent","MilestonedEvent","MovedColumnsInProjectEvent","PinnedEvent","PullRequestCommit","PullRequestCommitCommentThread","PullRequestReview","PullRequestReviewThread","PullRequestRevisionMarker","ReadyForReviewEvent","ReferencedEvent","RemovedFromProjectEvent","RenamedTitleEvent","ReopenedEvent","ReviewDismissedEvent","ReviewRequestRemovedEvent","ReviewRequestedEvent","SubscribedEvent","TransferredEvent","UnassignedEvent","UnlabeledEvent","UnlockedEvent","UnmarkedAsDuplicateEvent","UnpinnedEvent","UnsubscribedEvent","UserBlockedEvent"],PushAllowanceActor:["App","Team","User"],Reactable:["CommitComment","Issue","IssueComment","PullRequest","PullRequestReview","PullRequestReviewComment","TeamDiscussion","TeamDiscussionComment"],ReferencedSubject:["Issue","PullRequest"],RenamedTitleSubject:["Issue","PullRequest"],RepositoryAuditEntryData:["OrgRestoreMemberMembershipRepositoryAuditEntryData","PrivateRepositoryForkingDisableAuditEntry","PrivateRepositoryForkingEnableAuditEntry","RepoAccessAuditEntry","RepoAddMemberAuditEntry","RepoAddTopicAuditEntry","RepoArchivedAuditEntry","RepoChangeMergeSettingAuditEntry","RepoConfigDisableAnonymousGitAccessAuditEntry","RepoConfigDisableCollaboratorsOnlyAuditEntry","RepoConfigDisableContributorsOnlyAuditEntry","RepoConfigDisableSockpuppetDisallowedAuditEntry","RepoConfigEnableAnonymousGitAccessAuditEntry","RepoConfigEnableCollaboratorsOnlyAuditEntry","RepoConfigEnableContributorsOnlyAuditEntry","RepoConfigEnableSockpuppetDisallowedAuditEntry","RepoConfigLockAnonymousGitAccessAuditEntry","RepoConfigUnlockAnonymousGitAccessAuditEntry","RepoCreateAuditEntry","RepoDestroyAuditEntry","RepoRemoveMemberAuditEntry","RepoRemoveTopicAuditEntry","TeamAddRepositoryAuditEntry","TeamRemoveRepositoryAuditEntry"],RepositoryInfo:["Repository"],RepositoryNode:["CommitComment","CommitCommentThread","Issue","IssueComment","PullRequest","PullRequestCommitCommentThread","PullRequestReview","PullRequestReviewComment","RepositoryVulnerabilityAlert"],RepositoryOwner:["Organization","User"],RequestedReviewer:["Mannequin","Team","User"],ReviewDismissalAllowanceActor:["Team","User"],SearchResultItem:["App","Issue","MarketplaceListing","Organization","PullRequest","Repository","User"],Sponsor:["Organization","User"],Sponsorable:["Organization","User"],Starrable:["Gist","Repository","Topic"],StatusCheckRollupContext:["CheckRun","StatusContext"],Subscribable:["Commit","Issue","PullRequest","Repository","Team","TeamDiscussion"],TeamAuditEntryData:["OrgRestoreMemberMembershipTeamAuditEntryData","TeamAddMemberAuditEntry","TeamAddRepositoryAuditEntry","TeamChangeParentTeamAuditEntry","TeamRemoveMemberAuditEntry","TeamRemoveRepositoryAuditEntry"],TopicAuditEntryData:["RepoAddTopicAuditEntry","RepoRemoveTopicAuditEntry"],UniformResourceLocatable:["Bot","CheckRun","ClosedEvent","Commit","ConvertToDraftEvent","CrossReferencedEvent","Gist","Issue","Mannequin","MergedEvent","Milestone","Organization","PullRequest","PullRequestCommit","ReadyForReviewEvent","Release","Repository","RepositoryTopic","ReviewDismissedEvent","TeamDiscussion","TeamDiscussionComment","User"],Updatable:["CommitComment","GistComment","Issue","IssueComment","Project","PullRequest","PullRequestReview","PullRequestReviewComment","TeamDiscussion","TeamDiscussionComment"],UpdatableComment:["CommitComment","GistComment","Issue","IssueComment","PullRequest","PullRequestReview","PullRequestReviewComment","TeamDiscussion","TeamDiscussionComment"]}};function Oa(...n){if(1===n.length){const t=n[0];if(g(t))return Qg(t,null);if(y(t)&&Object.getPrototypeOf(t)===Object.prototype){const e=Object.keys(t);return Qg(e.map(i=>t[i]),e)}}if("function"==typeof n[n.length-1]){const t=n.pop();return Qg(n=1===n.length&&g(n[0])?n[0]:n,null).pipe(ge(e=>t(...e)))}return Qg(n,null)}function Qg(n,t){return new st(e=>{const i=n.length;if(0===i)return void e.complete();const r=new Array(i);let s=0,o=0;for(let a=0;a{h||(h=!0,o++),r[a]=f},error:f=>e.error(f),complete:()=>{s++,(s===i||!h)&&(o===i&&e.next(t?t.reduce((f,D,k)=>(f[D]=r[k],f),{}):r),e.complete())}}))}})}w(8955);let SA=(()=>{class n{constructor(e,i){this._renderer=e,this._elementRef=i,this.onChange=r=>{},this.onTouched=()=>{}}setProperty(e,i){this._renderer.setProperty(this._elementRef.nativeElement,e,i)}registerOnTouched(e){this.onTouched=e}registerOnChange(e){this.onChange=e}setDisabledState(e){this.setProperty("disabled",e)}}return n.\u0275fac=function(e){return new(e||n)(M(Ta),M(Zt))},n.\u0275dir=rt({type:n}),n})(),Jc=(()=>{class n extends SA{}return n.\u0275fac=function(){let t;return function(i){return(t||(t=Hn(n)))(i||n)}}(),n.\u0275dir=rt({type:n,features:[xt]}),n})();const jr=new ht("NgValueAccessor"),s6={provide:jr,useExisting:Mt(()=>Xl),multi:!0},a6=new ht("CompositionEventMode");let Xl=(()=>{class n extends SA{constructor(e,i,r){super(e,i),this._compositionMode=r,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function o6(){const n=Sa()?Sa().getUserAgent():"";return/android (\d+)/.test(n.toLowerCase())}())}writeValue(e){this.setProperty("value",null==e?"":e)}_handleInput(e){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(e)}_compositionStart(){this._composing=!0}_compositionEnd(e){this._composing=!1,this._compositionMode&&this.onChange(e)}}return n.\u0275fac=function(e){return new(e||n)(M(Ta),M(Zt),M(a6,8))},n.\u0275dir=rt({type:n,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(e,i){1&e&&Je("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)})},features:[tn([s6]),xt]}),n})();function Jl(n){return null==n||0===n.length}function xA(n){return null!=n&&"number"==typeof n.length}const Yr=new ht("NgValidators"),ec=new ht("NgAsyncValidators"),l6=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/;class Mr{static min(t){return function IA(n){return t=>{if(Jl(t.value)||Jl(n))return null;const e=parseFloat(t.value);return!isNaN(e)&&e{if(Jl(t.value)||Jl(n))return null;const e=parseFloat(t.value);return!isNaN(e)&&e>n?{max:{max:n,actual:t.value}}:null}}(t)}static required(t){return RA(t)}static requiredTrue(t){return function LA(n){return!0===n.value?null:{required:!0}}(t)}static email(t){return function OA(n){return Jl(n.value)||l6.test(n.value)?null:{email:!0}}(t)}static minLength(t){return function PA(n){return t=>Jl(t.value)||!xA(t.value)?null:t.value.length{if(Jl(i.value))return null;const r=i.value;return t.test(r)?null:{pattern:{requiredPattern:e,actualValue:r}}}}(t)}static nullValidator(t){return null}static compose(t){return qA(t)}static composeAsync(t){return UA(t)}}function RA(n){return Jl(n.value)?{required:!0}:null}function FA(n){return t=>xA(t.value)&&t.value.length>n?{maxlength:{requiredLength:n,actualLength:t.value.length}}:null}function Kg(n){return null}function BA(n){return null!=n}function jA(n){const t=zh(n)?St(n):n;return Lb(t),t}function YA(n){let t={};return n.forEach(e=>{t=null!=e?Object.assign(Object.assign({},t),e):t}),0===Object.keys(t).length?null:t}function HA(n,t){return t.map(e=>e(n))}function VA(n){return n.map(t=>function c6(n){return!n.validate}(t)?t:e=>t.validate(e))}function qA(n){if(!n)return null;const t=n.filter(BA);return 0==t.length?null:function(e){return YA(HA(e,t))}}function GM(n){return null!=n?qA(VA(n)):null}function UA(n){if(!n)return null;const t=n.filter(BA);return 0==t.length?null:function(e){return Oa(HA(e,t).map(jA)).pipe(ge(YA))}}function $M(n){return null!=n?UA(VA(n)):null}function zA(n,t){return null===n?[t]:Array.isArray(n)?[...n,t]:[n,t]}function GA(n){return n._rawValidators}function $A(n){return n._rawAsyncValidators}function WM(n){return n?Array.isArray(n)?n:[n]:[]}function Zg(n,t){return Array.isArray(n)?n.includes(t):n===t}function WA(n,t){const e=WM(t);return WM(n).forEach(r=>{Zg(e,r)||e.push(r)}),e}function QA(n,t){return WM(t).filter(e=>!Zg(n,e))}class KA{constructor(){this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_setValidators(t){this._rawValidators=t||[],this._composedValidatorFn=GM(this._rawValidators)}_setAsyncValidators(t){this._rawAsyncValidators=t||[],this._composedAsyncValidatorFn=$M(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(t){this._onDestroyCallbacks.push(t)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(t=>t()),this._onDestroyCallbacks=[]}reset(t){this.control&&this.control.reset(t)}hasError(t,e){return!!this.control&&this.control.hasError(t,e)}getError(t,e){return this.control?this.control.getError(t,e):null}}class Eo extends KA{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class Ms extends KA{get formDirective(){return null}get path(){return null}}class ZA{constructor(t){this._cd=t}is(t){var e,i,r;return"submitted"===t?!!(null===(e=this._cd)||void 0===e?void 0:e.submitted):!!(null===(r=null===(i=this._cd)||void 0===i?void 0:i.control)||void 0===r?void 0:r[t])}}let Co=(()=>{class n extends ZA{constructor(e){super(e)}}return n.\u0275fac=function(e){return new(e||n)(M(Eo,2))},n.\u0275dir=rt({type:n,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(e,i){2&e&&Cn("ng-untouched",i.is("untouched"))("ng-touched",i.is("touched"))("ng-pristine",i.is("pristine"))("ng-dirty",i.is("dirty"))("ng-valid",i.is("valid"))("ng-invalid",i.is("invalid"))("ng-pending",i.is("pending"))},features:[xt]}),n})(),Jo=(()=>{class n extends ZA{constructor(e){super(e)}}return n.\u0275fac=function(e){return new(e||n)(M(Ms,10))},n.\u0275dir=rt({type:n,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(e,i){2&e&&Cn("ng-untouched",i.is("untouched"))("ng-touched",i.is("touched"))("ng-pristine",i.is("pristine"))("ng-dirty",i.is("dirty"))("ng-valid",i.is("valid"))("ng-invalid",i.is("invalid"))("ng-pending",i.is("pending"))("ng-submitted",i.is("submitted"))},features:[xt]}),n})();function Jg(n,t){return[...t.path,n]}function Ip(n,t){ZM(n,t),t.valueAccessor.writeValue(n.value),function _6(n,t){t.valueAccessor.registerOnChange(e=>{n._pendingValue=e,n._pendingChange=!0,n._pendingDirty=!0,"change"===n.updateOn&&JA(n,t)})}(n,t),function v6(n,t){const e=(i,r)=>{t.valueAccessor.writeValue(i),r&&t.viewToModelUpdate(i)};n.registerOnChange(e),t._registerOnDestroy(()=>{n._unregisterOnChange(e)})}(n,t),function y6(n,t){t.valueAccessor.registerOnTouched(()=>{n._pendingTouched=!0,"blur"===n.updateOn&&n._pendingChange&&JA(n,t),"submit"!==n.updateOn&&n.markAsTouched()})}(n,t),function g6(n,t){if(t.valueAccessor.setDisabledState){const e=i=>{t.valueAccessor.setDisabledState(i)};n.registerOnDisabledChange(e),t._registerOnDestroy(()=>{n._unregisterOnDisabledChange(e)})}}(n,t)}function e_(n,t,e=!0){const i=()=>{};t.valueAccessor&&(t.valueAccessor.registerOnChange(i),t.valueAccessor.registerOnTouched(i)),n_(n,t),n&&(t._invokeOnDestroyCallbacks(),n._registerOnCollectionChange(()=>{}))}function t_(n,t){n.forEach(e=>{e.registerOnValidatorChange&&e.registerOnValidatorChange(t)})}function ZM(n,t){const e=GA(n);null!==t.validator?n.setValidators(zA(e,t.validator)):"function"==typeof e&&n.setValidators([e]);const i=$A(n);null!==t.asyncValidator?n.setAsyncValidators(zA(i,t.asyncValidator)):"function"==typeof i&&n.setAsyncValidators([i]);const r=()=>n.updateValueAndValidity();t_(t._rawValidators,r),t_(t._rawAsyncValidators,r)}function n_(n,t){let e=!1;if(null!==n){if(null!==t.validator){const r=GA(n);if(Array.isArray(r)&&r.length>0){const s=r.filter(o=>o!==t.validator);s.length!==r.length&&(e=!0,n.setValidators(s))}}if(null!==t.asyncValidator){const r=$A(n);if(Array.isArray(r)&&r.length>0){const s=r.filter(o=>o!==t.asyncValidator);s.length!==r.length&&(e=!0,n.setAsyncValidators(s))}}}const i=()=>{};return t_(t._rawValidators,i),t_(t._rawAsyncValidators,i),e}function JA(n,t){n._pendingDirty&&n.markAsDirty(),n.setValue(n._pendingValue,{emitModelToViewChange:!1}),t.viewToModelUpdate(n._pendingValue),n._pendingChange=!1}function eR(n,t){ZM(n,t)}function XM(n,t){if(!n.hasOwnProperty("model"))return!1;const e=n.model;return!!e.isFirstChange()||!Object.is(t,e.currentValue)}function nR(n,t){n._syncPendingControls(),t.forEach(e=>{const i=e.control;"submit"===i.updateOn&&i._pendingChange&&(e.viewToModelUpdate(i._pendingValue),i._pendingChange=!1)})}function JM(n,t){if(!t)return null;let e,i,r;return Array.isArray(t),t.forEach(s=>{s.constructor===Xl?e=s:function M6(n){return Object.getPrototypeOf(n.constructor)===Jc}(s)?i=s:r=s}),r||i||e||null}function eD(n,t){const e=n.indexOf(t);e>-1&&n.splice(e,1)}const Ap="VALID",i_="INVALID",Td="PENDING",Rp="DISABLED";function nD(n){return(r_(n)?n.validators:n)||null}function iR(n){return Array.isArray(n)?GM(n):n||null}function iD(n,t){return(r_(t)?t.asyncValidators:n)||null}function rR(n){return Array.isArray(n)?$M(n):n||null}function r_(n){return null!=n&&!Array.isArray(n)&&"object"==typeof n}const rD=n=>n instanceof ea,s_=n=>n instanceof o_,sR=n=>n instanceof cR;function oR(n){return rD(n)?n.value:n.getRawValue()}function aR(n,t){const e=s_(n),i=n.controls;if(!(e?Object.keys(i):i).length)throw new W(1e3,"");if(!i[t])throw new W(1001,"")}function lR(n,t){s_(n),n._forEachChild((i,r)=>{if(void 0===t[r])throw new W(1002,"")})}class sD{constructor(t,e){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._rawValidators=t,this._rawAsyncValidators=e,this._composedValidatorFn=iR(this._rawValidators),this._composedAsyncValidatorFn=rR(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn}set validator(t){this._rawValidators=this._composedValidatorFn=t}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(t){this._rawAsyncValidators=this._composedAsyncValidatorFn=t}get parent(){return this._parent}get valid(){return this.status===Ap}get invalid(){return this.status===i_}get pending(){return this.status==Td}get disabled(){return this.status===Rp}get enabled(){return this.status!==Rp}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(t){this._rawValidators=t,this._composedValidatorFn=iR(t)}setAsyncValidators(t){this._rawAsyncValidators=t,this._composedAsyncValidatorFn=rR(t)}addValidators(t){this.setValidators(WA(t,this._rawValidators))}addAsyncValidators(t){this.setAsyncValidators(WA(t,this._rawAsyncValidators))}removeValidators(t){this.setValidators(QA(t,this._rawValidators))}removeAsyncValidators(t){this.setAsyncValidators(QA(t,this._rawAsyncValidators))}hasValidator(t){return Zg(this._rawValidators,t)}hasAsyncValidator(t){return Zg(this._rawAsyncValidators,t)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(t={}){this.touched=!0,this._parent&&!t.onlySelf&&this._parent.markAsTouched(t)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(t=>t.markAllAsTouched())}markAsUntouched(t={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(e=>{e.markAsUntouched({onlySelf:!0})}),this._parent&&!t.onlySelf&&this._parent._updateTouched(t)}markAsDirty(t={}){this.pristine=!1,this._parent&&!t.onlySelf&&this._parent.markAsDirty(t)}markAsPristine(t={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(e=>{e.markAsPristine({onlySelf:!0})}),this._parent&&!t.onlySelf&&this._parent._updatePristine(t)}markAsPending(t={}){this.status=Td,!1!==t.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!t.onlySelf&&this._parent.markAsPending(t)}disable(t={}){const e=this._parentMarkedDirty(t.onlySelf);this.status=Rp,this.errors=null,this._forEachChild(i=>{i.disable(Object.assign(Object.assign({},t),{onlySelf:!0}))}),this._updateValue(),!1!==t.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(Object.assign(Object.assign({},t),{skipPristineCheck:e})),this._onDisabledChange.forEach(i=>i(!0))}enable(t={}){const e=this._parentMarkedDirty(t.onlySelf);this.status=Ap,this._forEachChild(i=>{i.enable(Object.assign(Object.assign({},t),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent}),this._updateAncestors(Object.assign(Object.assign({},t),{skipPristineCheck:e})),this._onDisabledChange.forEach(i=>i(!1))}_updateAncestors(t){this._parent&&!t.onlySelf&&(this._parent.updateValueAndValidity(t),t.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(t){this._parent=t}updateValueAndValidity(t={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===Ap||this.status===Td)&&this._runAsyncValidator(t.emitEvent)),!1!==t.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!t.onlySelf&&this._parent.updateValueAndValidity(t)}_updateTreeValidity(t={emitEvent:!0}){this._forEachChild(e=>e._updateTreeValidity(t)),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?Rp:Ap}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(t){if(this.asyncValidator){this.status=Td,this._hasOwnPendingAsyncValidator=!0;const e=jA(this.asyncValidator(this));this._asyncValidationSubscription=e.subscribe(i=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(i,{emitEvent:t})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(t,e={}){this.errors=t,this._updateControlsErrors(!1!==e.emitEvent)}get(t){return function D6(n,t,e){if(null==t||(Array.isArray(t)||(t=t.split(e)),Array.isArray(t)&&0===t.length))return null;let i=n;return t.forEach(r=>{i=s_(i)?i.controls.hasOwnProperty(r)?i.controls[r]:null:sR(i)&&i.at(r)||null}),i}(this,t,".")}getError(t,e){const i=e?this.get(e):this;return i&&i.errors?i.errors[t]:null}hasError(t,e){return!!this.getError(t,e)}get root(){let t=this;for(;t._parent;)t=t._parent;return t}_updateControlsErrors(t){this.status=this._calculateStatus(),t&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(t)}_initObservables(){this.valueChanges=new jt,this.statusChanges=new jt}_calculateStatus(){return this._allControlsDisabled()?Rp:this.errors?i_:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(Td)?Td:this._anyControlsHaveStatus(i_)?i_:Ap}_anyControlsHaveStatus(t){return this._anyControls(e=>e.status===t)}_anyControlsDirty(){return this._anyControls(t=>t.dirty)}_anyControlsTouched(){return this._anyControls(t=>t.touched)}_updatePristine(t={}){this.pristine=!this._anyControlsDirty(),this._parent&&!t.onlySelf&&this._parent._updatePristine(t)}_updateTouched(t={}){this.touched=this._anyControlsTouched(),this._parent&&!t.onlySelf&&this._parent._updateTouched(t)}_isBoxedValue(t){return"object"==typeof t&&null!==t&&2===Object.keys(t).length&&"value"in t&&"disabled"in t}_registerOnCollectionChange(t){this._onCollectionChange=t}_setUpdateStrategy(t){r_(t)&&null!=t.updateOn&&(this._updateOn=t.updateOn)}_parentMarkedDirty(t){return!t&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}}class ea extends sD{constructor(t=null,e,i){super(nD(e),iD(i,e)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(t),this._setUpdateStrategy(e),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),r_(e)&&e.initialValueIsDefault&&(this.defaultValue=this._isBoxedValue(t)?t.value:t)}setValue(t,e={}){this.value=this._pendingValue=t,this._onChange.length&&!1!==e.emitModelToViewChange&&this._onChange.forEach(i=>i(this.value,!1!==e.emitViewToModelChange)),this.updateValueAndValidity(e)}patchValue(t,e={}){this.setValue(t,e)}reset(t=this.defaultValue,e={}){this._applyFormState(t),this.markAsPristine(e),this.markAsUntouched(e),this.setValue(this.value,e),this._pendingChange=!1}_updateValue(){}_anyControls(t){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(t){this._onChange.push(t)}_unregisterOnChange(t){eD(this._onChange,t)}registerOnDisabledChange(t){this._onDisabledChange.push(t)}_unregisterOnDisabledChange(t){eD(this._onDisabledChange,t)}_forEachChild(t){}_syncPendingControls(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange)||(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),0))}_applyFormState(t){this._isBoxedValue(t)?(this.value=this._pendingValue=t.value,t.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=t}}class o_ extends sD{constructor(t,e,i){super(nD(e),iD(i,e)),this.controls=t,this._initObservables(),this._setUpdateStrategy(e),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(t,e){return this.controls[t]?this.controls[t]:(this.controls[t]=e,e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange),e)}addControl(t,e,i={}){this.registerControl(t,e),this.updateValueAndValidity({emitEvent:i.emitEvent}),this._onCollectionChange()}removeControl(t,e={}){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),delete this.controls[t],this.updateValueAndValidity({emitEvent:e.emitEvent}),this._onCollectionChange()}setControl(t,e,i={}){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),delete this.controls[t],e&&this.registerControl(t,e),this.updateValueAndValidity({emitEvent:i.emitEvent}),this._onCollectionChange()}contains(t){return this.controls.hasOwnProperty(t)&&this.controls[t].enabled}setValue(t,e={}){lR(this,t),Object.keys(t).forEach(i=>{aR(this,i),this.controls[i].setValue(t[i],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)}patchValue(t,e={}){null!=t&&(Object.keys(t).forEach(i=>{this.controls[i]&&this.controls[i].patchValue(t[i],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e))}reset(t={},e={}){this._forEachChild((i,r)=>{i.reset(t[r],{onlySelf:!0,emitEvent:e.emitEvent})}),this._updatePristine(e),this._updateTouched(e),this.updateValueAndValidity(e)}getRawValue(){return this._reduceChildren({},(t,e,i)=>(t[i]=oR(e),t))}_syncPendingControls(){let t=this._reduceChildren(!1,(e,i)=>!!i._syncPendingControls()||e);return t&&this.updateValueAndValidity({onlySelf:!0}),t}_forEachChild(t){Object.keys(this.controls).forEach(e=>{const i=this.controls[e];i&&t(i,e)})}_setUpControls(){this._forEachChild(t=>{t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(t){for(const e of Object.keys(this.controls)){const i=this.controls[e];if(this.contains(e)&&t(i))return!0}return!1}_reduceValue(){return this._reduceChildren({},(t,e,i)=>((e.enabled||this.disabled)&&(t[i]=e.value),t))}_reduceChildren(t,e){let i=t;return this._forEachChild((r,s)=>{i=e(i,r,s)}),i}_allControlsDisabled(){for(const t of Object.keys(this.controls))if(this.controls[t].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}}class cR extends sD{constructor(t,e,i){super(nD(e),iD(i,e)),this.controls=t,this._initObservables(),this._setUpdateStrategy(e),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}at(t){return this.controls[t]}push(t,e={}){this.controls.push(t),this._registerControl(t),this.updateValueAndValidity({emitEvent:e.emitEvent}),this._onCollectionChange()}insert(t,e,i={}){this.controls.splice(t,0,e),this._registerControl(e),this.updateValueAndValidity({emitEvent:i.emitEvent})}removeAt(t,e={}){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),this.controls.splice(t,1),this.updateValueAndValidity({emitEvent:e.emitEvent})}setControl(t,e,i={}){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),this.controls.splice(t,1),e&&(this.controls.splice(t,0,e),this._registerControl(e)),this.updateValueAndValidity({emitEvent:i.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(t,e={}){lR(this,t),t.forEach((i,r)=>{aR(this,r),this.at(r).setValue(i,{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)}patchValue(t,e={}){null!=t&&(t.forEach((i,r)=>{this.at(r)&&this.at(r).patchValue(i,{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e))}reset(t=[],e={}){this._forEachChild((i,r)=>{i.reset(t[r],{onlySelf:!0,emitEvent:e.emitEvent})}),this._updatePristine(e),this._updateTouched(e),this.updateValueAndValidity(e)}getRawValue(){return this.controls.map(t=>oR(t))}clear(t={}){this.controls.length<1||(this._forEachChild(e=>e._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:t.emitEvent}))}_syncPendingControls(){let t=this.controls.reduce((e,i)=>!!i._syncPendingControls()||e,!1);return t&&this.updateValueAndValidity({onlySelf:!0}),t}_forEachChild(t){this.controls.forEach((e,i)=>{t(e,i)})}_updateValue(){this.value=this.controls.filter(t=>t.enabled||this.disabled).map(t=>t.value)}_anyControls(t){return this.controls.some(e=>e.enabled&&t(e))}_setUpControls(){this._forEachChild(t=>this._registerControl(t))}_allControlsDisabled(){for(const t of this.controls)if(t.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(t){t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange)}}const E6={provide:Ms,useExisting:Mt(()=>Sd)},Lp=(()=>Promise.resolve(null))();let Sd=(()=>{class n extends Ms{constructor(e,i){super(),this.submitted=!1,this._directives=new Set,this.ngSubmit=new jt,this.form=new o_({},GM(e),$M(i))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(e){Lp.then(()=>{const i=this._findContainer(e.path);e.control=i.registerControl(e.name,e.control),Ip(e.control,e),e.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(e)})}getControl(e){return this.form.get(e.path)}removeControl(e){Lp.then(()=>{const i=this._findContainer(e.path);i&&i.removeControl(e.name),this._directives.delete(e)})}addFormGroup(e){Lp.then(()=>{const i=this._findContainer(e.path),r=new o_({});eR(r,e),i.registerControl(e.name,r),r.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(e){Lp.then(()=>{const i=this._findContainer(e.path);i&&i.removeControl(e.name)})}getFormGroup(e){return this.form.get(e.path)}updateModel(e,i){Lp.then(()=>{this.form.get(e.path).setValue(i)})}setValue(e){this.control.setValue(e)}onSubmit(e){return this.submitted=!0,nR(this.form,this._directives),this.ngSubmit.emit(e),!1}onReset(){this.resetForm()}resetForm(e){this.form.reset(e),this.submitted=!1}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}_findContainer(e){return e.pop(),e.length?this.form.get(e):this.form}}return n.\u0275fac=function(e){return new(e||n)(M(Yr,10),M(ec,10))},n.\u0275dir=rt({type:n,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(e,i){1&e&&Je("submit",function(s){return i.onSubmit(s)})("reset",function(){return i.onReset()})},inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[tn([E6]),xt]}),n})();const T6={provide:Eo,useExisting:Mt(()=>oD)},hR=(()=>Promise.resolve(null))();let oD=(()=>{class n extends Eo{constructor(e,i,r,s,o){super(),this._changeDetectorRef=o,this.control=new ea,this._registered=!1,this.update=new jt,this._parent=e,this._setValidators(i),this._setAsyncValidators(r),this.valueAccessor=JM(0,s)}ngOnChanges(e){if(this._checkForErrors(),!this._registered||"name"in e){if(this._registered&&(this._checkName(),this.formDirective)){const i=e.name.previousValue;this.formDirective.removeControl({name:i,path:this._getPath(i)})}this._setUpControl()}"isDisabled"in e&&this._updateDisabled(e),XM(e,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._getPath(this.name)}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(e){this.viewModel=e,this.update.emit(e)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!(!this.options||!this.options.standalone)}_setUpStandalone(){Ip(this.control,this),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()}_updateValue(e){hR.then(()=>{var i;this.control.setValue(e,{emitViewToModelChange:!1}),null===(i=this._changeDetectorRef)||void 0===i||i.markForCheck()})}_updateDisabled(e){const i=e.isDisabled.currentValue,r=""===i||i&&"false"!==i;hR.then(()=>{var s;r&&!this.control.disabled?this.control.disable():!r&&this.control.disabled&&this.control.enable(),null===(s=this._changeDetectorRef)||void 0===s||s.markForCheck()})}_getPath(e){return this._parent?Jg(e,this._parent):[e]}}return n.\u0275fac=function(e){return new(e||n)(M(Ms,9),M(Yr,10),M(ec,10),M(jr,10),M(Gn,8))},n.\u0275dir=rt({type:n,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:["disabled","isDisabled"],model:["ngModel","model"],options:["ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[tn([T6]),xt,Jn]}),n})(),ta=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=rt({type:n,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]}),n})(),mR=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Yt({type:n}),n.\u0275inj=He({}),n})();const aD=new ht("NgModelWithFormControlWarning"),A6={provide:Eo,useExisting:Mt(()=>Op)};let Op=(()=>{class n extends Eo{constructor(e,i,r,s){super(),this._ngModelWarningConfig=s,this.update=new jt,this._ngModelWarningSent=!1,this._setValidators(e),this._setAsyncValidators(i),this.valueAccessor=JM(0,r)}set isDisabled(e){}ngOnChanges(e){if(this._isControlChanged(e)){const i=e.form.previousValue;i&&e_(i,this,!1),Ip(this.form,this),this.control.disabled&&this.valueAccessor.setDisabledState&&this.valueAccessor.setDisabledState(!0),this.form.updateValueAndValidity({emitEvent:!1})}XM(e,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.form&&e_(this.form,this,!1)}get path(){return[]}get control(){return this.form}viewToModelUpdate(e){this.viewModel=e,this.update.emit(e)}_isControlChanged(e){return e.hasOwnProperty("form")}}return n._ngModelWarningSentOnce=!1,n.\u0275fac=function(e){return new(e||n)(M(Yr,10),M(ec,10),M(jr,10),M(aD,8))},n.\u0275dir=rt({type:n,selectors:[["","formControl",""]],inputs:{form:["formControl","form"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],features:[tn([A6]),xt,Jn]}),n})();const R6={provide:Ms,useExisting:Mt(()=>ds)};let ds=(()=>{class n extends Ms{constructor(e,i){super(),this.validators=e,this.asyncValidators=i,this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new jt,this._setValidators(e),this._setAsyncValidators(i)}ngOnChanges(e){this._checkFormPresent(),e.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(n_(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(e){const i=this.form.get(e.path);return Ip(i,e),i.updateValueAndValidity({emitEvent:!1}),this.directives.push(e),i}getControl(e){return this.form.get(e.path)}removeControl(e){e_(e.control||null,e,!1),eD(this.directives,e)}addFormGroup(e){this._setUpFormContainer(e)}removeFormGroup(e){this._cleanUpFormContainer(e)}getFormGroup(e){return this.form.get(e.path)}addFormArray(e){this._setUpFormContainer(e)}removeFormArray(e){this._cleanUpFormContainer(e)}getFormArray(e){return this.form.get(e.path)}updateModel(e,i){this.form.get(e.path).setValue(i)}onSubmit(e){return this.submitted=!0,nR(this.form,this.directives),this.ngSubmit.emit(e),!1}onReset(){this.resetForm()}resetForm(e){this.form.reset(e),this.submitted=!1}_updateDomValue(){this.directives.forEach(e=>{const i=e.control,r=this.form.get(e.path);i!==r&&(e_(i||null,e),rD(r)&&(Ip(r,e),e.control=r))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(e){const i=this.form.get(e.path);eR(i,e),i.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(e){if(this.form){const i=this.form.get(e.path);i&&function b6(n,t){return n_(n,t)}(i,e)&&i.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){ZM(this.form,this),this._oldForm&&n_(this._oldForm,this)}_checkFormPresent(){}}return n.\u0275fac=function(e){return new(e||n)(M(Yr,10),M(ec,10))},n.\u0275dir=rt({type:n,selectors:[["","formGroup",""]],hostBindings:function(e,i){1&e&&Je("submit",function(s){return i.onSubmit(s)})("reset",function(){return i.onReset()})},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[tn([R6]),xt,Jn]}),n})();const P6={provide:Eo,useExisting:Mt(()=>Pa)};let Pa=(()=>{class n extends Eo{constructor(e,i,r,s,o){super(),this._ngModelWarningConfig=o,this._added=!1,this.update=new jt,this._ngModelWarningSent=!1,this._parent=e,this._setValidators(i),this._setAsyncValidators(r),this.valueAccessor=JM(0,s)}set isDisabled(e){}ngOnChanges(e){this._added||this._setUpControl(),XM(e,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(e){this.viewModel=e,this.update.emit(e)}get path(){return Jg(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}_setUpControl(){this._checkParentType(),this.control=this.formDirective.addControl(this),this.control.disabled&&this.valueAccessor.setDisabledState&&this.valueAccessor.setDisabledState(!0),this._added=!0}}return n._ngModelWarningSentOnce=!1,n.\u0275fac=function(e){return new(e||n)(M(Ms,13),M(Yr,10),M(ec,10),M(jr,10),M(aD,8))},n.\u0275dir=rt({type:n,selectors:[["","formControlName",""]],inputs:{name:["formControlName","name"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},features:[tn([P6]),xt,Jn]}),n})();let eu=(()=>{class n{constructor(){this._validator=Kg}ngOnChanges(e){if(this.inputName in e){const i=this.normalizeInput(e[this.inputName].currentValue);this._enabled=this.enabled(i),this._validator=this._enabled?this.createValidator(i):Kg,this._onChange&&this._onChange()}}validate(e){return this._validator(e)}registerOnValidatorChange(e){this._onChange=e}enabled(e){return null!=e}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=rt({type:n,features:[Jn]}),n})();const z6={provide:Yr,useExisting:Mt(()=>tu),multi:!0};let tu=(()=>{class n extends eu{constructor(){super(...arguments),this.inputName="required",this.normalizeInput=e=>function V6(n){return null!=n&&!1!==n&&"false"!=`${n}`}(e),this.createValidator=e=>RA}enabled(e){return e}}return n.\u0275fac=function(){let t;return function(i){return(t||(t=Hn(n)))(i||n)}}(),n.\u0275dir=rt({type:n,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(e,i){2&e&&hn("required",i._enabled?"":null)},inputs:{required:"required"},features:[tn([z6]),xt]}),n})();const Q6={provide:Yr,useExisting:Mt(()=>Pp),multi:!0};let hD,Pp=(()=>{class n extends eu{constructor(){super(...arguments),this.inputName="maxlength",this.normalizeInput=e=>function bR(n){return"number"==typeof n?n:parseInt(n,10)}(e),this.createValidator=e=>FA(e)}}return n.\u0275fac=function(){let t;return function(i){return(t||(t=Hn(n)))(i||n)}}(),n.\u0275dir=rt({type:n,selectors:[["","maxlength","","formControlName",""],["","maxlength","","formControl",""],["","maxlength","","ngModel",""]],hostVars:1,hostBindings:function(e,i){2&e&&hn("maxlength",i._enabled?i.maxlength:null)},inputs:{maxlength:"maxlength"},features:[tn([Q6]),xt]}),n})(),SR=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Yt({type:n}),n.\u0275inj=He({imports:[[mR]]}),n})(),kR=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Yt({type:n}),n.\u0275inj=He({imports:[SR]}),n})(),l_=(()=>{class n{static withConfig(e){return{ngModule:n,providers:[{provide:aD,useValue:e.warnOnNgModelWithFormControl}]}}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Yt({type:n}),n.\u0275inj=He({imports:[SR]}),n})(),tc=(()=>{class n{group(e,i=null){const r=this._reduceControls(e);let a,s=null,o=null;return null!=i&&(function Z6(n){return void 0!==n.asyncValidators||void 0!==n.validators||void 0!==n.updateOn}(i)?(s=null!=i.validators?i.validators:null,o=null!=i.asyncValidators?i.asyncValidators:null,a=null!=i.updateOn?i.updateOn:void 0):(s=null!=i.validator?i.validator:null,o=null!=i.asyncValidator?i.asyncValidator:null)),new o_(r,{asyncValidators:o,updateOn:a,validators:s})}control(e,i,r){return new ea(e,i,r)}array(e,i,r){const s=e.map(o=>this._createControl(o));return new cR(s,i,r)}_reduceControls(e){const i={};return Object.keys(e).forEach(r=>{i[r]=this._createControl(e[r])}),i}_createControl(e){return rD(e)||s_(e)||sR(e)?e:Array.isArray(e)?this.control(e[0],e.length>1?e[1]:null,e.length>2?e[2]:null):this.control(e)}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=Ee({token:n,factory:n.\u0275fac,providedIn:l_}),n})();try{hD="undefined"!=typeof Intl&&Intl.v8BreakIterator}catch(n){hD=!1}let kd,zi=(()=>{class n{constructor(e){this._platformId=e,this.isBrowser=this._platformId?ap(this._platformId):"object"==typeof document&&!!document,this.EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent),this.TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent),this.BLINK=this.isBrowser&&!(!window.chrome&&!hD)&&"undefined"!=typeof CSS&&!this.EDGE&&!this.TRIDENT,this.WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT,this.IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window),this.FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent),this.ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT,this.SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT}}return n.\u0275fac=function(e){return new(e||n)(Se(ip))},n.\u0275prov=Ee({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const xR=["color","button","checkbox","date","datetime-local","email","file","hidden","image","month","number","password","radio","range","reset","search","submit","tel","text","time","url","week"];function IR(){if(kd)return kd;if("object"!=typeof document||!document)return kd=new Set(xR),kd;let n=document.createElement("input");return kd=new Set(xR.filter(t=>(n.setAttribute("type",t),n.type===t))),kd}let Fp,nu,pD;function na(n){return function X6(){if(null==Fp&&"undefined"!=typeof window)try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>Fp=!0}))}finally{Fp=Fp||!1}return Fp}()?n:!!n.capture}function J6(){if(null==nu){if("object"!=typeof document||!document||"function"!=typeof Element||!Element)return nu=!1,nu;if("scrollBehavior"in document.documentElement.style)nu=!0;else{const n=Element.prototype.scrollTo;nu=!!n&&!/\{\s*\[native code\]\s*\}/.test(n.toString())}}return nu}function u_(n){if(function eW(){if(null==pD){const n="undefined"!=typeof document?document.head:null;pD=!(!n||!n.createShadowRoot&&!n.attachShadow)}return pD}()){const t=n.getRootNode?n.getRootNode():null;if("undefined"!=typeof ShadowRoot&&ShadowRoot&&t instanceof ShadowRoot)return t}return null}function mD(){let n="undefined"!=typeof document&&document?document.activeElement:null;for(;n&&n.shadowRoot;){const t=n.shadowRoot.activeElement;if(t===n)break;n=t}return n}function To(n){return n.composedPath?n.composedPath()[0]:n.target}function fD(){return"undefined"!=typeof __karma__&&!!__karma__||"undefined"!=typeof jasmine&&!!jasmine||"undefined"!=typeof jest&&!!jest||"undefined"!=typeof Mocha&&!!Mocha}function rn(n){return null!=n&&"false"!=`${n}`}function Ai(n,t=0){return function tW(n){return!isNaN(parseFloat(n))&&!isNaN(Number(n))}(n)?Number(n):t}function d_(n){return Array.isArray(n)?n:[n]}function Ar(n){return null==n?"":"string"==typeof n?n:`${n}px`}function Dr(n){return n instanceof Zt?n.nativeElement:n}function Qr(n,...t){return t.length?t.some(e=>n[e]):n.altKey||n.shiftKey||n.ctrlKey||n.metaKey}const xd=new Xo(jg);function bD(n,t=xd){return e=>e.lift(new uW(n,t))}class uW{constructor(t,e){this.dueTime=t,this.scheduler=e}call(t,e){return e.subscribe(new dW(t,this.dueTime,this.scheduler))}}class dW extends F{constructor(t,e,i){super(t),this.dueTime=e,this.scheduler=i,this.debouncedSubscription=null,this.lastValue=null,this.hasValue=!1}_next(t){this.clearDebounce(),this.lastValue=t,this.hasValue=!0,this.add(this.debouncedSubscription=this.scheduler.schedule(hW,this.dueTime,this))}_complete(){this.debouncedNext(),this.destination.complete()}debouncedNext(){if(this.clearDebounce(),this.hasValue){const{lastValue:t}=this;this.lastValue=null,this.hasValue=!1,this.destination.next(t)}}clearDebounce(){const t=this.debouncedSubscription;null!==t&&(this.remove(t),t.unsubscribe(),this.debouncedSubscription=null)}}function hW(n){n.debouncedNext()}function wD(n){return t=>t.lift(new pW(n))}class pW{constructor(t){this.total=t}call(t,e){return e.subscribe(new mW(t,this.total))}}class mW extends F{constructor(t,e){super(t),this.total=e,this.count=0}_next(t){++this.count>this.total&&this.destination.next(t)}}function p_(n,t){return e=>e.lift(new fW(n,t))}class fW{constructor(t,e){this.compare=t,this.keySelector=e}call(t,e){return e.subscribe(new gW(t,this.compare,this.keySelector))}}class gW extends F{constructor(t,e,i){super(t),this.keySelector=i,this.hasKey=!1,"function"==typeof e&&(this.compare=e)}compare(t,e){return t===e}_next(t){let e;try{const{keySelector:r}=this;e=r?r(t):t}catch(r){return this.destination.error(r)}let i=!1;if(this.hasKey)try{const{compare:r}=this;i=r(this.key,e)}catch(r){return this.destination.error(r)}else this.hasKey=!0;i||(this.key=e,this.destination.next(t))}}function vn(n){return t=>t.lift(new _W(n))}class _W{constructor(t){this.notifier=t}call(t,e){const i=new yW(t),r=xn(this.notifier,new Xt(i));return r&&!i.seenValue?(i.add(r),e.subscribe(i)):i}}class yW extends Wt{constructor(t){super(t),this.seenValue=!1}notifyNext(){this.seenValue=!0,this.complete()}notifyComplete(){}}let OR=(()=>{class n{create(e){return"undefined"==typeof MutationObserver?null:new MutationObserver(e)}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=Ee({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),vW=(()=>{class n{constructor(e){this._mutationObserverFactory=e,this._observedElements=new Map}ngOnDestroy(){this._observedElements.forEach((e,i)=>this._cleanupObserver(i))}observe(e){const i=Dr(e);return new st(r=>{const o=this._observeElement(i).subscribe(r);return()=>{o.unsubscribe(),this._unobserveElement(i)}})}_observeElement(e){if(this._observedElements.has(e))this._observedElements.get(e).count++;else{const i=new K,r=this._mutationObserverFactory.create(s=>i.next(s));r&&r.observe(e,{characterData:!0,childList:!0,subtree:!0}),this._observedElements.set(e,{observer:r,stream:i,count:1})}return this._observedElements.get(e).stream}_unobserveElement(e){this._observedElements.has(e)&&(this._observedElements.get(e).count--,this._observedElements.get(e).count||this._cleanupObserver(e))}_cleanupObserver(e){if(this._observedElements.has(e)){const{observer:i,stream:r}=this._observedElements.get(e);i&&i.disconnect(),r.complete(),this._observedElements.delete(e)}}}return n.\u0275fac=function(e){return new(e||n)(Se(OR))},n.\u0275prov=Ee({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),m_=(()=>{class n{constructor(e,i,r){this._contentObserver=e,this._elementRef=i,this._ngZone=r,this.event=new jt,this._disabled=!1,this._currentSubscription=null}get disabled(){return this._disabled}set disabled(e){this._disabled=rn(e),this._disabled?this._unsubscribe():this._subscribe()}get debounce(){return this._debounce}set debounce(e){this._debounce=Ai(e),this._subscribe()}ngAfterContentInit(){!this._currentSubscription&&!this.disabled&&this._subscribe()}ngOnDestroy(){this._unsubscribe()}_subscribe(){this._unsubscribe();const e=this._contentObserver.observe(this._elementRef);this._ngZone.runOutsideAngular(()=>{this._currentSubscription=(this.debounce?e.pipe(bD(this.debounce)):e).subscribe(this.event)})}_unsubscribe(){var e;null===(e=this._currentSubscription)||void 0===e||e.unsubscribe()}}return n.\u0275fac=function(e){return new(e||n)(M(vW),M(Zt),M(yn))},n.\u0275dir=rt({type:n,selectors:[["","cdkObserveContent",""]],inputs:{disabled:["cdkObserveContentDisabled","disabled"],debounce:"debounce"},outputs:{event:"cdkObserveContent"},exportAs:["cdkObserveContent"]}),n})(),jp=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Yt({type:n}),n.\u0275inj=He({providers:[OR]}),n})();function f_(n,t){return(n.getAttribute(t)||"").match(/\S+/g)||[]}const FR="cdk-describedby-message",g_="cdk-describedby-host";let NR=0,BR=(()=>{class n{constructor(e,i){this._platform=i,this._messageRegistry=new Map,this._messagesContainer=null,this._id=""+NR++,this._document=e}describe(e,i,r){if(!this._canBeDescribed(e,i))return;const s=MD(i,r);"string"!=typeof i?(jR(i),this._messageRegistry.set(s,{messageElement:i,referenceCount:0})):this._messageRegistry.has(s)||this._createMessageElement(i,r),this._isElementDescribedByMessage(e,s)||this._addMessageReference(e,s)}removeDescription(e,i,r){var s;if(!i||!this._isElementNode(e))return;const o=MD(i,r);if(this._isElementDescribedByMessage(e,o)&&this._removeMessageReference(e,o),"string"==typeof i){const a=this._messageRegistry.get(o);a&&0===a.referenceCount&&this._deleteMessageElement(o)}0===(null===(s=this._messagesContainer)||void 0===s?void 0:s.childNodes.length)&&(this._messagesContainer.remove(),this._messagesContainer=null)}ngOnDestroy(){var e;const i=this._document.querySelectorAll(`[${g_}="${this._id}"]`);for(let r=0;r0!=r.indexOf(FR));e.setAttribute("aria-describedby",i.join(" "))}_addMessageReference(e,i){const r=this._messageRegistry.get(i);(function bW(n,t,e){const i=f_(n,t);i.some(r=>r.trim()==e.trim())||(i.push(e.trim()),n.setAttribute(t,i.join(" ")))})(e,"aria-describedby",r.messageElement.id),e.setAttribute(g_,this._id),r.referenceCount++}_removeMessageReference(e,i){const r=this._messageRegistry.get(i);r.referenceCount--,function wW(n,t,e){const r=f_(n,t).filter(s=>s!=e.trim());r.length?n.setAttribute(t,r.join(" ")):n.removeAttribute(t)}(e,"aria-describedby",r.messageElement.id),e.removeAttribute(g_)}_isElementDescribedByMessage(e,i){const r=f_(e,"aria-describedby"),s=this._messageRegistry.get(i),o=s&&s.messageElement.id;return!!o&&-1!=r.indexOf(o)}_canBeDescribed(e,i){if(!this._isElementNode(e))return!1;if(i&&"object"==typeof i)return!0;const r=null==i?"":`${i}`.trim(),s=e.getAttribute("aria-label");return!(!r||s&&s.trim()===r)}_isElementNode(e){return e.nodeType===this._document.ELEMENT_NODE}}return n.\u0275fac=function(e){return new(e||n)(Se(Dn),Se(zi))},n.\u0275prov=Ee({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();function MD(n,t){return"string"==typeof n?`${t||""}/${n}`:n}function jR(n){n.id||(n.id=`${FR}-${NR++}`)}class YR{constructor(t){this._items=t,this._activeItemIndex=-1,this._activeItem=null,this._wrap=!1,this._letterKeyStream=new K,this._typeaheadSubscription=P.EMPTY,this._vertical=!0,this._allowedModifierKeys=[],this._homeAndEnd=!1,this._skipPredicateFn=e=>e.disabled,this._pressedLetters=[],this.tabOut=new K,this.change=new K,t instanceof Vl&&t.changes.subscribe(e=>{if(this._activeItem){const r=e.toArray().indexOf(this._activeItem);r>-1&&r!==this._activeItemIndex&&(this._activeItemIndex=r)}})}skipPredicate(t){return this._skipPredicateFn=t,this}withWrap(t=!0){return this._wrap=t,this}withVerticalOrientation(t=!0){return this._vertical=t,this}withHorizontalOrientation(t){return this._horizontal=t,this}withAllowedModifierKeys(t){return this._allowedModifierKeys=t,this}withTypeAhead(t=200){return this._typeaheadSubscription.unsubscribe(),this._typeaheadSubscription=this._letterKeyStream.pipe(wr(e=>this._pressedLetters.push(e)),bD(t),hi(()=>this._pressedLetters.length>0),ge(()=>this._pressedLetters.join(""))).subscribe(e=>{const i=this._getItemsArray();for(let r=1;r!t[s]||this._allowedModifierKeys.indexOf(s)>-1);switch(e){case 9:return void this.tabOut.next();case 40:if(this._vertical&&r){this.setNextItemActive();break}return;case 38:if(this._vertical&&r){this.setPreviousItemActive();break}return;case 39:if(this._horizontal&&r){"rtl"===this._horizontal?this.setPreviousItemActive():this.setNextItemActive();break}return;case 37:if(this._horizontal&&r){"rtl"===this._horizontal?this.setNextItemActive():this.setPreviousItemActive();break}return;case 36:if(this._homeAndEnd&&r){this.setFirstItemActive();break}return;case 35:if(this._homeAndEnd&&r){this.setLastItemActive();break}return;default:return void((r||Qr(t,"shiftKey"))&&(t.key&&1===t.key.length?this._letterKeyStream.next(t.key.toLocaleUpperCase()):(e>=65&&e<=90||e>=48&&e<=57)&&this._letterKeyStream.next(String.fromCharCode(e))))}this._pressedLetters=[],t.preventDefault()}get activeItemIndex(){return this._activeItemIndex}get activeItem(){return this._activeItem}isTyping(){return this._pressedLetters.length>0}setFirstItemActive(){this._setActiveItemByIndex(0,1)}setLastItemActive(){this._setActiveItemByIndex(this._items.length-1,-1)}setNextItemActive(){this._activeItemIndex<0?this.setFirstItemActive():this._setActiveItemByDelta(1)}setPreviousItemActive(){this._activeItemIndex<0&&this._wrap?this.setLastItemActive():this._setActiveItemByDelta(-1)}updateActiveItem(t){const e=this._getItemsArray(),i="number"==typeof t?t:e.indexOf(t),r=e[i];this._activeItem=null==r?null:r,this._activeItemIndex=i}_setActiveItemByDelta(t){this._wrap?this._setActiveInWrapMode(t):this._setActiveInDefaultMode(t)}_setActiveInWrapMode(t){const e=this._getItemsArray();for(let i=1;i<=e.length;i++){const r=(this._activeItemIndex+t*i+e.length)%e.length;if(!this._skipPredicateFn(e[r]))return void this.setActiveItem(r)}}_setActiveInDefaultMode(t){this._setActiveItemByIndex(this._activeItemIndex+t,t)}_setActiveItemByIndex(t,e){const i=this._getItemsArray();if(i[t]){for(;this._skipPredicateFn(i[t]);)if(!i[t+=e])return;this.setActiveItem(t)}}_getItemsArray(){return this._items instanceof Vl?this._items.toArray():this._items}}class MW extends YR{setActiveItem(t){this.activeItem&&this.activeItem.setInactiveStyles(),super.setActiveItem(t),this.activeItem&&this.activeItem.setActiveStyles()}}class Yp extends YR{constructor(){super(...arguments),this._origin="program"}setFocusOrigin(t){return this._origin=t,this}setActiveItem(t){super.setActiveItem(t),this.activeItem&&this.activeItem.focus(this._origin)}}let HR=(()=>{class n{constructor(e){this._platform=e}isDisabled(e){return e.hasAttribute("disabled")}isVisible(e){return function EW(n){return!!(n.offsetWidth||n.offsetHeight||"function"==typeof n.getClientRects&&n.getClientRects().length)}(e)&&"visible"===getComputedStyle(e).visibility}isTabbable(e){if(!this._platform.isBrowser)return!1;const i=function DW(n){try{return n.frameElement}catch(t){return null}}(function RW(n){return n.ownerDocument&&n.ownerDocument.defaultView||window}(e));if(i&&(-1===qR(i)||!this.isVisible(i)))return!1;let r=e.nodeName.toLowerCase(),s=qR(e);return e.hasAttribute("contenteditable")?-1!==s:!("iframe"===r||"object"===r||this._platform.WEBKIT&&this._platform.IOS&&!function IW(n){let t=n.nodeName.toLowerCase(),e="input"===t&&n.type;return"text"===e||"password"===e||"select"===t||"textarea"===t}(e))&&("audio"===r?!!e.hasAttribute("controls")&&-1!==s:"video"===r?-1!==s&&(null!==s||this._platform.FIREFOX||e.hasAttribute("controls")):e.tabIndex>=0)}isFocusable(e,i){return function AW(n){return!function TW(n){return function kW(n){return"input"==n.nodeName.toLowerCase()}(n)&&"hidden"==n.type}(n)&&(function CW(n){let t=n.nodeName.toLowerCase();return"input"===t||"select"===t||"button"===t||"textarea"===t}(n)||function SW(n){return function xW(n){return"a"==n.nodeName.toLowerCase()}(n)&&n.hasAttribute("href")}(n)||n.hasAttribute("contenteditable")||VR(n))}(e)&&!this.isDisabled(e)&&((null==i?void 0:i.ignoreVisibility)||this.isVisible(e))}}return n.\u0275fac=function(e){return new(e||n)(Se(zi))},n.\u0275prov=Ee({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();function VR(n){if(!n.hasAttribute("tabindex")||void 0===n.tabIndex)return!1;let t=n.getAttribute("tabindex");return!(!t||isNaN(parseInt(t,10)))}function qR(n){if(!VR(n))return null;const t=parseInt(n.getAttribute("tabindex")||"",10);return isNaN(t)?-1:t}class LW{constructor(t,e,i,r,s=!1){this._element=t,this._checker=e,this._ngZone=i,this._document=r,this._hasAttached=!1,this.startAnchorListener=()=>this.focusLastTabbableElement(),this.endAnchorListener=()=>this.focusFirstTabbableElement(),this._enabled=!0,s||this.attachAnchors()}get enabled(){return this._enabled}set enabled(t){this._enabled=t,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(t,this._startAnchor),this._toggleAnchorTabIndex(t,this._endAnchor))}destroy(){const t=this._startAnchor,e=this._endAnchor;t&&(t.removeEventListener("focus",this.startAnchorListener),t.remove()),e&&(e.removeEventListener("focus",this.endAnchorListener),e.remove()),this._startAnchor=this._endAnchor=null,this._hasAttached=!1}attachAnchors(){return!!this._hasAttached||(this._ngZone.runOutsideAngular(()=>{this._startAnchor||(this._startAnchor=this._createAnchor(),this._startAnchor.addEventListener("focus",this.startAnchorListener)),this._endAnchor||(this._endAnchor=this._createAnchor(),this._endAnchor.addEventListener("focus",this.endAnchorListener))}),this._element.parentNode&&(this._element.parentNode.insertBefore(this._startAnchor,this._element),this._element.parentNode.insertBefore(this._endAnchor,this._element.nextSibling),this._hasAttached=!0),this._hasAttached)}focusInitialElementWhenReady(t){return new Promise(e=>{this._executeOnStable(()=>e(this.focusInitialElement(t)))})}focusFirstTabbableElementWhenReady(t){return new Promise(e=>{this._executeOnStable(()=>e(this.focusFirstTabbableElement(t)))})}focusLastTabbableElementWhenReady(t){return new Promise(e=>{this._executeOnStable(()=>e(this.focusLastTabbableElement(t)))})}_getRegionBoundary(t){const e=this._element.querySelectorAll(`[cdk-focus-region-${t}], [cdkFocusRegion${t}], [cdk-focus-${t}]`);return"start"==t?e.length?e[0]:this._getFirstTabbableElement(this._element):e.length?e[e.length-1]:this._getLastTabbableElement(this._element)}focusInitialElement(t){const e=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(e){if(!this._checker.isFocusable(e)){const i=this._getFirstTabbableElement(e);return null==i||i.focus(t),!!i}return e.focus(t),!0}return this.focusFirstTabbableElement(t)}focusFirstTabbableElement(t){const e=this._getRegionBoundary("start");return e&&e.focus(t),!!e}focusLastTabbableElement(t){const e=this._getRegionBoundary("end");return e&&e.focus(t),!!e}hasAttached(){return this._hasAttached}_getFirstTabbableElement(t){if(this._checker.isFocusable(t)&&this._checker.isTabbable(t))return t;const e=t.children;for(let i=0;i=0;i--){const r=e[i].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(e[i]):null;if(r)return r}return null}_createAnchor(){const t=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,t),t.classList.add("cdk-visually-hidden"),t.classList.add("cdk-focus-trap-anchor"),t.setAttribute("aria-hidden","true"),t}_toggleAnchorTabIndex(t,e){t?e.setAttribute("tabindex","0"):e.removeAttribute("tabindex")}toggleAnchors(t){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(t,this._startAnchor),this._toggleAnchorTabIndex(t,this._endAnchor))}_executeOnStable(t){this._ngZone.isStable?t():this._ngZone.onStable.pipe(Ii(1)).subscribe(t)}}let OW=(()=>{class n{constructor(e,i,r){this._checker=e,this._ngZone=i,this._document=r}create(e,i=!1){return new LW(e,this._checker,this._ngZone,this._document,i)}}return n.\u0275fac=function(e){return new(e||n)(Se(HR),Se(yn),Se(Dn))},n.\u0275prov=Ee({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();function __(n){return 0===n.buttons||0===n.offsetX&&0===n.offsetY}function y_(n){const t=n.touches&&n.touches[0]||n.changedTouches&&n.changedTouches[0];return!(!t||-1!==t.identifier||null!=t.radiusX&&1!==t.radiusX||null!=t.radiusY&&1!==t.radiusY)}const PW=new ht("cdk-input-modality-detector-options"),FW={ignoreKeys:[18,17,224,91,16]},Id=na({passive:!0,capture:!0});let NW=(()=>{class n{constructor(e,i,r,s){this._platform=e,this._mostRecentTarget=null,this._modality=new xi(null),this._lastTouchMs=0,this._onKeydown=o=>{var a,l;(null===(l=null===(a=this._options)||void 0===a?void 0:a.ignoreKeys)||void 0===l?void 0:l.some(h=>h===o.keyCode))||(this._modality.next("keyboard"),this._mostRecentTarget=To(o))},this._onMousedown=o=>{Date.now()-this._lastTouchMs<650||(this._modality.next(__(o)?"keyboard":"mouse"),this._mostRecentTarget=To(o))},this._onTouchstart=o=>{y_(o)?this._modality.next("keyboard"):(this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=To(o))},this._options=Object.assign(Object.assign({},FW),s),this.modalityDetected=this._modality.pipe(wD(1)),this.modalityChanged=this.modalityDetected.pipe(p_()),e.isBrowser&&i.runOutsideAngular(()=>{r.addEventListener("keydown",this._onKeydown,Id),r.addEventListener("mousedown",this._onMousedown,Id),r.addEventListener("touchstart",this._onTouchstart,Id)})}get mostRecentModality(){return this._modality.value}ngOnDestroy(){this._modality.complete(),this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,Id),document.removeEventListener("mousedown",this._onMousedown,Id),document.removeEventListener("touchstart",this._onTouchstart,Id))}}return n.\u0275fac=function(e){return new(e||n)(Se(zi),Se(yn),Se(Dn),Se(PW,8))},n.\u0275prov=Ee({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const BW=new ht("liveAnnouncerElement",{providedIn:"root",factory:function jW(){return null}}),YW=new ht("LIVE_ANNOUNCER_DEFAULT_OPTIONS");let Hp=(()=>{class n{constructor(e,i,r,s){this._ngZone=i,this._defaultOptions=s,this._document=r,this._liveElement=e||this._createLiveElement()}announce(e,...i){const r=this._defaultOptions;let s,o;return 1===i.length&&"number"==typeof i[0]?o=i[0]:[s,o]=i,this.clear(),clearTimeout(this._previousTimeout),s||(s=r&&r.politeness?r.politeness:"polite"),null==o&&r&&(o=r.duration),this._liveElement.setAttribute("aria-live",s),this._ngZone.runOutsideAngular(()=>(this._currentPromise||(this._currentPromise=new Promise(a=>this._currentResolve=a)),clearTimeout(this._previousTimeout),this._previousTimeout=setTimeout(()=>{this._liveElement.textContent=e,"number"==typeof o&&(this._previousTimeout=setTimeout(()=>this.clear(),o)),this._currentResolve(),this._currentPromise=this._currentResolve=void 0},100),this._currentPromise))}clear(){this._liveElement&&(this._liveElement.textContent="")}ngOnDestroy(){var e,i;clearTimeout(this._previousTimeout),null===(e=this._liveElement)||void 0===e||e.remove(),this._liveElement=null,null===(i=this._currentResolve)||void 0===i||i.call(this),this._currentPromise=this._currentResolve=void 0}_createLiveElement(){const e="cdk-live-announcer-element",i=this._document.getElementsByClassName(e),r=this._document.createElement("div");for(let s=0;s{class n{constructor(e,i,r,s,o){this._ngZone=e,this._platform=i,this._inputModalityDetector=r,this._origin=null,this._windowFocused=!1,this._originFromTouchInteraction=!1,this._elementInfo=new Map,this._monitoredElementCount=0,this._rootNodeFocusListenerCount=new Map,this._windowFocusListener=()=>{this._windowFocused=!0,this._windowFocusTimeoutId=window.setTimeout(()=>this._windowFocused=!1)},this._stopInputModalityDetector=new K,this._rootNodeFocusAndBlurListener=a=>{const l=To(a),h="focus"===a.type?this._onFocus:this._onBlur;for(let f=l;f;f=f.parentElement)h.call(this,a,f)},this._document=s,this._detectionMode=(null==o?void 0:o.detectionMode)||0}monitor(e,i=!1){const r=Dr(e);if(!this._platform.isBrowser||1!==r.nodeType)return Qt(null);const s=u_(r)||this._getDocument(),o=this._elementInfo.get(r);if(o)return i&&(o.checkChildren=!0),o.subject;const a={checkChildren:i,subject:new K,rootNode:s};return this._elementInfo.set(r,a),this._registerGlobalListeners(a),a.subject}stopMonitoring(e){const i=Dr(e),r=this._elementInfo.get(i);r&&(r.subject.complete(),this._setClasses(i),this._elementInfo.delete(i),this._removeGlobalListeners(r))}focusVia(e,i,r){const s=Dr(e);s===this._getDocument().activeElement?this._getClosestElementsInfo(s).forEach(([a,l])=>this._originChanged(a,i,l)):(this._setOrigin(i),"function"==typeof s.focus&&s.focus(r))}ngOnDestroy(){this._elementInfo.forEach((e,i)=>this.stopMonitoring(i))}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_getFocusOrigin(e){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(e)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:"program"}_shouldBeAttributedToTouch(e){return 1===this._detectionMode||!!(null==e?void 0:e.contains(this._inputModalityDetector._mostRecentTarget))}_setClasses(e,i){e.classList.toggle("cdk-focused",!!i),e.classList.toggle("cdk-touch-focused","touch"===i),e.classList.toggle("cdk-keyboard-focused","keyboard"===i),e.classList.toggle("cdk-mouse-focused","mouse"===i),e.classList.toggle("cdk-program-focused","program"===i)}_setOrigin(e,i=!1){this._ngZone.runOutsideAngular(()=>{this._origin=e,this._originFromTouchInteraction="touch"===e&&i,0===this._detectionMode&&(clearTimeout(this._originTimeoutId),this._originTimeoutId=setTimeout(()=>this._origin=null,this._originFromTouchInteraction?650:1))})}_onFocus(e,i){const r=this._elementInfo.get(i),s=To(e);!r||!r.checkChildren&&i!==s||this._originChanged(i,this._getFocusOrigin(s),r)}_onBlur(e,i){const r=this._elementInfo.get(i);!r||r.checkChildren&&e.relatedTarget instanceof Node&&i.contains(e.relatedTarget)||(this._setClasses(i),this._emitOrigin(r.subject,null))}_emitOrigin(e,i){this._ngZone.run(()=>e.next(i))}_registerGlobalListeners(e){if(!this._platform.isBrowser)return;const i=e.rootNode,r=this._rootNodeFocusListenerCount.get(i)||0;r||this._ngZone.runOutsideAngular(()=>{i.addEventListener("focus",this._rootNodeFocusAndBlurListener,v_),i.addEventListener("blur",this._rootNodeFocusAndBlurListener,v_)}),this._rootNodeFocusListenerCount.set(i,r+1),1==++this._monitoredElementCount&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe(vn(this._stopInputModalityDetector)).subscribe(s=>{this._setOrigin(s,!0)}))}_removeGlobalListeners(e){const i=e.rootNode;if(this._rootNodeFocusListenerCount.has(i)){const r=this._rootNodeFocusListenerCount.get(i);r>1?this._rootNodeFocusListenerCount.set(i,r-1):(i.removeEventListener("focus",this._rootNodeFocusAndBlurListener,v_),i.removeEventListener("blur",this._rootNodeFocusAndBlurListener,v_),this._rootNodeFocusListenerCount.delete(i))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(e,i,r){this._setClasses(e,i),this._emitOrigin(r.subject,i),this._lastFocusOrigin=i}_getClosestElementsInfo(e){const i=[];return this._elementInfo.forEach((r,s)=>{(s===e||r.checkChildren&&s.contains(e))&&i.push([s,r])}),i}}return n.\u0275fac=function(e){return new(e||n)(Se(yn),Se(zi),Se(NW),Se(Dn,8),Se(HW,8))},n.\u0275prov=Ee({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),VW=(()=>{class n{constructor(e,i){this._elementRef=e,this._focusMonitor=i,this.cdkFocusChange=new jt}ngAfterViewInit(){const e=this._elementRef.nativeElement;this._monitorSubscription=this._focusMonitor.monitor(e,1===e.nodeType&&e.hasAttribute("cdkMonitorSubtreeFocus")).subscribe(i=>this.cdkFocusChange.emit(i))}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._monitorSubscription&&this._monitorSubscription.unsubscribe()}}return n.\u0275fac=function(e){return new(e||n)(M(Zt),M(Ns))},n.\u0275dir=rt({type:n,selectors:[["","cdkMonitorElementFocus",""],["","cdkMonitorSubtreeFocus",""]],outputs:{cdkFocusChange:"cdkFocusChange"}}),n})();const zR="cdk-high-contrast-black-on-white",GR="cdk-high-contrast-white-on-black",DD="cdk-high-contrast-active";let $R=(()=>{class n{constructor(e,i){this._platform=e,this._document=i}getHighContrastMode(){if(!this._platform.isBrowser)return 0;const e=this._document.createElement("div");e.style.backgroundColor="rgb(1,2,3)",e.style.position="absolute",this._document.body.appendChild(e);const i=this._document.defaultView||window,r=i&&i.getComputedStyle?i.getComputedStyle(e):null,s=(r&&r.backgroundColor||"").replace(/ /g,"");switch(e.remove(),s){case"rgb(0,0,0)":return 2;case"rgb(255,255,255)":return 1}return 0}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){const e=this._document.body.classList;e.remove(DD),e.remove(zR),e.remove(GR),this._hasCheckedHighContrastMode=!0;const i=this.getHighContrastMode();1===i?(e.add(DD),e.add(zR)):2===i&&(e.add(DD),e.add(GR))}}}return n.\u0275fac=function(e){return new(e||n)(Se(zi),Se(Dn))},n.\u0275prov=Ee({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),b_=(()=>{class n{constructor(e){e._applyBodyHighContrastModeCssClasses()}}return n.\u0275fac=function(e){return new(e||n)(Se($R))},n.\u0275mod=Yt({type:n}),n.\u0275inj=He({imports:[[jp]]}),n})();function ED(n){return!g(n)&&n-parseFloat(n)+1>=0}function UW(n){const{subscriber:t,counter:e,period:i}=n;t.next(e),this.schedule({subscriber:t,counter:e+1,period:i},i)}const WR=new class GW extends Xo{flush(t){this.active=!0,this.scheduled=void 0;const{actions:e}=this;let i,r=-1,s=e.length;t=t||e.shift();do{if(i=t.execute(t.state,t.delay))break}while(++r0?super.requestAsyncId(t,e,i):(t.actions.push(this),t.scheduled||(t.scheduled=requestAnimationFrame(()=>t.flush(null))))}recycleAsyncId(t,e,i=0){if(null!==i&&i>0||null===i&&this.delay>0)return super.recycleAsyncId(t,e,i);0===t.actions.length&&(cancelAnimationFrame(e),t.scheduled=void 0)}});function Na(n,t,e,i){return v(e)&&(i=e,e=void 0),i?Na(n,t,e).pipe(ge(r=>g(r)?i(...r):i(r))):new st(r=>{QR(n,t,function s(o){r.next(arguments.length>1?Array.prototype.slice.call(arguments):o)},r,e)})}function QR(n,t,e,i,r){let s;if(function QW(n){return n&&"function"==typeof n.addEventListener&&"function"==typeof n.removeEventListener}(n)){const o=n;n.addEventListener(t,e,r),s=()=>o.removeEventListener(t,e,r)}else if(function WW(n){return n&&"function"==typeof n.on&&"function"==typeof n.off}(n)){const o=n;n.on(t,e),s=()=>o.off(t,e)}else if(function $W(n){return n&&"function"==typeof n.addListener&&"function"==typeof n.removeListener}(n)){const o=n;n.addListener(t,e),s=()=>o.removeListener(t,e)}else{if(!n||!n.length)throw new TypeError("Invalid event target");for(let o=0,a=n.length;oKR(t)&&n()),t},clearImmediate(n){KR(n)}},CD=new class JW extends Xo{flush(t){this.active=!0,this.scheduled=void 0;const{actions:e}=this;let i,r=-1,s=e.length;t=t||e.shift();do{if(i=t.execute(t.state,t.delay))break}while(++r0?super.requestAsyncId(t,e,i):(t.actions.push(this),t.scheduled||(t.scheduled=ZR.setImmediate(t.flush.bind(t,null))))}recycleAsyncId(t,e,i=0){if(null!==i&&i>0||null===i&&this.delay>0)return super.recycleAsyncId(t,e,i);0===t.actions.length&&(ZR.clearImmediate(e),t.scheduled=void 0)}});class t9{constructor(t){this.durationSelector=t}call(t,e){return e.subscribe(new n9(t,this.durationSelector))}}class n9 extends Wt{constructor(t,e){super(t),this.durationSelector=e,this.hasValue=!1}_next(t){if(this.value=t,this.hasValue=!0,!this.throttled){let e;try{const{durationSelector:r}=this;e=r(t)}catch(r){return this.destination.error(r)}const i=xn(e,new Xt(this));!i||i.closed?this.clearThrottle():this.add(this.throttled=i)}}clearThrottle(){const{value:t,hasValue:e,throttled:i}=this;i&&(this.remove(i),this.throttled=void 0,i.unsubscribe()),e&&(this.value=void 0,this.hasValue=!1,this.destination.next(t))}notifyNext(){this.clearThrottle()}notifyComplete(){this.clearThrottle()}}function M_(n=0,t,e){let i=-1;return ED(t)?i=Number(t)<1?1:Number(t):Be(t)&&(e=t),Be(e)||(e=xd),new st(r=>{const s=ED(n)?n:+n-e.now();return e.schedule(r9,s,{index:0,period:i,subscriber:r})})}function r9(n){const{index:t,period:e,subscriber:i}=n;if(i.next(t),!i.closed){if(-1===e)return i.complete();n.index=t+1,this.schedule(n,e)}}function TD(n,t=xd){return function e9(n){return function(e){return e.lift(new t9(n))}}(()=>M_(n,t))}const s9=new ht("cdk-dir-doc",{providedIn:"root",factory:function o9(){return Ah(Dn)}}),a9=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;let Hr=(()=>{class n{constructor(e){if(this.value="ltr",this.change=new jt,e){const r=e.documentElement?e.documentElement.dir:null;this.value=function l9(n){const t=(null==n?void 0:n.toLowerCase())||"";return"auto"===t&&"undefined"!=typeof navigator&&(null==navigator?void 0:navigator.language)?a9.test(navigator.language)?"rtl":"ltr":"rtl"===t?"rtl":"ltr"}((e.body?e.body.dir:null)||r||"ltr")}}ngOnDestroy(){this.change.complete()}}return n.\u0275fac=function(e){return new(e||n)(Se(s9,8))},n.\u0275prov=Ee({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),Ad=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Yt({type:n}),n.\u0275inj=He({}),n})(),XR=(()=>{class n{constructor(e,i,r){this._ngZone=e,this._platform=i,this._scrolled=new K,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=r}register(e){this.scrollContainers.has(e)||this.scrollContainers.set(e,e.elementScrolled().subscribe(()=>this._scrolled.next(e)))}deregister(e){const i=this.scrollContainers.get(e);i&&(i.unsubscribe(),this.scrollContainers.delete(e))}scrolled(e=20){return this._platform.isBrowser?new st(i=>{this._globalSubscription||this._addGlobalListener();const r=e>0?this._scrolled.pipe(TD(e)).subscribe(i):this._scrolled.subscribe(i);return this._scrolledCount++,()=>{r.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):Qt()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((e,i)=>this.deregister(i)),this._scrolled.complete()}ancestorScrolled(e,i){const r=this.getAncestorScrollContainers(e);return this.scrolled(i).pipe(hi(s=>!s||r.indexOf(s)>-1))}getAncestorScrollContainers(e){const i=[];return this.scrollContainers.forEach((r,s)=>{this._scrollableContainsElement(s,e)&&i.push(s)}),i}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(e,i){let r=Dr(i),s=e.getElementRef().nativeElement;do{if(r==s)return!0}while(r=r.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>Na(this._getWindow().document,"scroll").subscribe(()=>this._scrolled.next()))}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}}return n.\u0275fac=function(e){return new(e||n)(Se(yn),Se(zi),Se(Dn,8))},n.\u0275prov=Ee({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),So=(()=>{class n{constructor(e,i,r){this._platform=e,this._change=new K,this._changeListener=s=>{this._change.next(s)},this._document=r,i.runOutsideAngular(()=>{if(e.isBrowser){const s=this._getWindow();s.addEventListener("resize",this._changeListener),s.addEventListener("orientationchange",this._changeListener)}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){if(this._platform.isBrowser){const e=this._getWindow();e.removeEventListener("resize",this._changeListener),e.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();const e={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),e}getViewportRect(){const e=this.getViewportScrollPosition(),{width:i,height:r}=this.getViewportSize();return{top:e.top,left:e.left,bottom:e.top+r,right:e.left+i,height:r,width:i}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};const e=this._document,i=this._getWindow(),r=e.documentElement,s=r.getBoundingClientRect();return{top:-s.top||e.body.scrollTop||i.scrollY||r.scrollTop||0,left:-s.left||e.body.scrollLeft||i.scrollX||r.scrollLeft||0}}change(e=20){return e>0?this._change.pipe(TD(e)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){const e=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:e.innerWidth,height:e.innerHeight}:{width:0,height:0}}}return n.\u0275fac=function(e){return new(e||n)(Se(zi),Se(yn),Se(Dn,8))},n.\u0275prov=Ee({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),Ba=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Yt({type:n}),n.\u0275inj=He({}),n})(),D_=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Yt({type:n}),n.\u0275inj=He({imports:[[Ad,Ba],Ad,Ba]}),n})();function SD(n,t,e){for(let i in t)if(t.hasOwnProperty(i)){const r=t[i];r?n.setProperty(i,r,(null==e?void 0:e.has(i))?"important":""):n.removeProperty(i)}return n}function Rd(n,t){const e=t?"":"none";SD(n.style,{"touch-action":t?"":"none","-webkit-user-drag":t?"":"none","-webkit-tap-highlight-color":t?"":"transparent","user-select":e,"-ms-user-select":e,"-webkit-user-select":e,"-moz-user-select":e})}function JR(n,t,e){SD(n.style,{position:t?"":"fixed",top:t?"":"0",opacity:t?"":"0",left:t?"":"-999em"},e)}function E_(n,t){return t&&"none"!=t?n+" "+t:n}function eL(n){const t=n.toLowerCase().indexOf("ms")>-1?1:1e3;return parseFloat(n)*t}function kD(n,t){return n.getPropertyValue(t).split(",").map(i=>i.trim())}function xD(n){const t=n.getBoundingClientRect();return{top:t.top,right:t.right,bottom:t.bottom,left:t.left,width:t.width,height:t.height,x:t.x,y:t.y}}function ID(n,t,e){const{top:i,bottom:r,left:s,right:o}=n;return e>=i&&e<=r&&t>=s&&t<=o}function Vp(n,t,e){n.top+=t,n.bottom=n.top+n.height,n.left+=e,n.right=n.left+n.width}function tL(n,t,e,i){const{top:r,right:s,bottom:o,left:a,width:l,height:h}=n,f=l*t,D=h*t;return i>r-D&&ia-f&&e{this.positions.set(e,{scrollPosition:{top:e.scrollTop,left:e.scrollLeft},clientRect:xD(e)})})}handleScroll(t){const e=To(t),i=this.positions.get(e);if(!i)return null;const r=i.scrollPosition;let s,o;if(e===this._document){const h=this.getViewportScrollPosition();s=h.top,o=h.left}else s=e.scrollTop,o=e.scrollLeft;const a=r.top-s,l=r.left-o;return this.positions.forEach((h,f)=>{h.clientRect&&e!==f&&e.contains(f)&&Vp(h.clientRect,a,l)}),r.top=s,r.left=o,{top:a,left:l}}getViewportScrollPosition(){return{top:window.scrollY,left:window.scrollX}}}function iL(n){const t=n.cloneNode(!0),e=t.querySelectorAll("[id]"),i=n.nodeName.toLowerCase();t.removeAttribute("id");for(let r=0;r{if(this.beforeStarted.next(),this._handles.length){const l=this._getTargetHandle(a);l&&!this._disabledHandles.has(l)&&!this.disabled&&this._initializeDragSequence(l,a)}else this.disabled||this._initializeDragSequence(this._rootElement,a)},this._pointerMove=a=>{const l=this._getPointerPositionOnPage(a);if(!this._hasStartedDragging){if(Math.abs(l.x-this._pickupPositionOnPage.x)+Math.abs(l.y-this._pickupPositionOnPage.y)>=this._config.dragStartThreshold){const Y=Date.now()>=this._dragStartTime+this._getDragStartDelay(a),oe=this._dropContainer;if(!Y)return void this._endDragSequence(a);(!oe||!oe.isDragging()&&!oe.isReceiving())&&(a.preventDefault(),this._hasStartedDragging=!0,this._ngZone.run(()=>this._startDragSequence(a)))}return}a.preventDefault();const h=this._getConstrainedPointerPosition(l);if(this._hasMoved=!0,this._lastKnownPointerPosition=l,this._updatePointerDirectionDelta(h),this._dropContainer)this._updateActiveDropContainer(h,l);else{const f=this._activeTransform;f.x=h.x-this._pickupPositionOnPage.x+this._passiveTransform.x,f.y=h.y-this._pickupPositionOnPage.y+this._passiveTransform.y,this._applyRootElementTransform(f.x,f.y)}this._moveEvents.observers.length&&this._ngZone.run(()=>{this._moveEvents.next({source:this,pointerPosition:h,event:a,distance:this._getDragDistance(h),delta:this._pointerDirectionDelta})})},this._pointerUp=a=>{this._endDragSequence(a)},this._nativeDragStart=a=>{if(this._handles.length){const l=this._getTargetHandle(a);l&&!this._disabledHandles.has(l)&&!this.disabled&&a.preventDefault()}else this.disabled||a.preventDefault()},this.withRootElement(t).withParent(e.parentDragRef||null),this._parentPositions=new nL(i),o.registerDragItem(this)}get disabled(){return this._disabled||!(!this._dropContainer||!this._dropContainer.disabled)}set disabled(t){const e=rn(t);e!==this._disabled&&(this._disabled=e,this._toggleNativeDragInteractions(),this._handles.forEach(i=>Rd(i,e)))}getPlaceholderElement(){return this._placeholder}getRootElement(){return this._rootElement}getVisibleElement(){return this.isDragging()?this.getPlaceholderElement():this.getRootElement()}withHandles(t){this._handles=t.map(i=>Dr(i)),this._handles.forEach(i=>Rd(i,this.disabled)),this._toggleNativeDragInteractions();const e=new Set;return this._disabledHandles.forEach(i=>{this._handles.indexOf(i)>-1&&e.add(i)}),this._disabledHandles=e,this}withPreviewTemplate(t){return this._previewTemplate=t,this}withPlaceholderTemplate(t){return this._placeholderTemplate=t,this}withRootElement(t){const e=Dr(t);return e!==this._rootElement&&(this._rootElement&&this._removeRootElementListeners(this._rootElement),this._ngZone.runOutsideAngular(()=>{e.addEventListener("mousedown",this._pointerDown,C_),e.addEventListener("touchstart",this._pointerDown,aL),e.addEventListener("dragstart",this._nativeDragStart,C_)}),this._initialTransform=void 0,this._rootElement=e),"undefined"!=typeof SVGElement&&this._rootElement instanceof SVGElement&&(this._ownerSVGElement=this._rootElement.ownerSVGElement),this}withBoundaryElement(t){return this._boundaryElement=t?Dr(t):null,this._resizeSubscription.unsubscribe(),t&&(this._resizeSubscription=this._viewportRuler.change(10).subscribe(()=>this._containInsideBoundaryOnResize())),this}withParent(t){return this._parentDragRef=t,this}dispose(){var t,e;this._removeRootElementListeners(this._rootElement),this.isDragging()&&(null===(t=this._rootElement)||void 0===t||t.remove()),null===(e=this._anchor)||void 0===e||e.remove(),this._destroyPreview(),this._destroyPlaceholder(),this._dragDropRegistry.removeDragItem(this),this._removeSubscriptions(),this.beforeStarted.complete(),this.started.complete(),this.released.complete(),this.ended.complete(),this.entered.complete(),this.exited.complete(),this.dropped.complete(),this._moveEvents.complete(),this._handles=[],this._disabledHandles.clear(),this._dropContainer=void 0,this._resizeSubscription.unsubscribe(),this._parentPositions.clear(),this._boundaryElement=this._rootElement=this._ownerSVGElement=this._placeholderTemplate=this._previewTemplate=this._anchor=this._parentDragRef=null}isDragging(){return this._hasStartedDragging&&this._dragDropRegistry.isDragging(this)}reset(){this._rootElement.style.transform=this._initialTransform||"",this._activeTransform={x:0,y:0},this._passiveTransform={x:0,y:0}}disableHandle(t){!this._disabledHandles.has(t)&&this._handles.indexOf(t)>-1&&(this._disabledHandles.add(t),Rd(t,!0))}enableHandle(t){this._disabledHandles.has(t)&&(this._disabledHandles.delete(t),Rd(t,this.disabled))}withDirection(t){return this._direction=t,this}_withDropContainer(t){this._dropContainer=t}getFreeDragPosition(){const t=this.isDragging()?this._activeTransform:this._passiveTransform;return{x:t.x,y:t.y}}setFreeDragPosition(t){return this._activeTransform={x:0,y:0},this._passiveTransform.x=t.x,this._passiveTransform.y=t.y,this._dropContainer||this._applyRootElementTransform(t.x,t.y),this}withPreviewContainer(t){return this._previewContainer=t,this}_sortFromLastPointerPosition(){const t=this._lastKnownPointerPosition;t&&this._dropContainer&&this._updateActiveDropContainer(this._getConstrainedPointerPosition(t),t)}_removeSubscriptions(){this._pointerMoveSubscription.unsubscribe(),this._pointerUpSubscription.unsubscribe(),this._scrollSubscription.unsubscribe()}_destroyPreview(){var t,e;null===(t=this._preview)||void 0===t||t.remove(),null===(e=this._previewRef)||void 0===e||e.destroy(),this._preview=this._previewRef=null}_destroyPlaceholder(){var t,e;null===(t=this._placeholder)||void 0===t||t.remove(),null===(e=this._placeholderRef)||void 0===e||e.destroy(),this._placeholder=this._placeholderRef=null}_endDragSequence(t){if(this._dragDropRegistry.isDragging(this)&&(this._removeSubscriptions(),this._dragDropRegistry.stopDragging(this),this._toggleNativeDragInteractions(),this._handles&&(this._rootElement.style.webkitTapHighlightColor=this._rootElementTapHighlight),this._hasStartedDragging))if(this.released.next({source:this}),this._dropContainer)this._dropContainer._stopScrolling(),this._animatePreviewToPlaceholder().then(()=>{this._cleanupDragArtifacts(t),this._cleanupCachedDimensions(),this._dragDropRegistry.stopDragging(this)});else{this._passiveTransform.x=this._activeTransform.x;const e=this._getPointerPositionOnPage(t);this._passiveTransform.y=this._activeTransform.y,this._ngZone.run(()=>{this.ended.next({source:this,distance:this._getDragDistance(e),dropPoint:e})}),this._cleanupCachedDimensions(),this._dragDropRegistry.stopDragging(this)}}_startDragSequence(t){qp(t)&&(this._lastTouchEventTime=Date.now()),this._toggleNativeDragInteractions();const e=this._dropContainer;if(e){const i=this._rootElement,r=i.parentNode,s=this._placeholder=this._createPlaceholderElement(),o=this._anchor=this._anchor||this._document.createComment(""),a=this._getShadowRoot();r.insertBefore(o,i),this._initialTransform=i.style.transform||"",this._preview=this._createPreviewElement(),JR(i,!1,AD),this._document.body.appendChild(r.replaceChild(s,i)),this._getPreviewInsertionPoint(r,a).appendChild(this._preview),this.started.next({source:this}),e.start(),this._initialContainer=e,this._initialIndex=e.getItemIndex(this)}else this.started.next({source:this}),this._initialContainer=this._initialIndex=void 0;this._parentPositions.cache(e?e.getScrollableParents():[])}_initializeDragSequence(t,e){this._parentDragRef&&e.stopPropagation();const i=this.isDragging(),r=qp(e),s=!r&&0!==e.button,o=this._rootElement,a=To(e),l=!r&&this._lastTouchEventTime&&this._lastTouchEventTime+800>Date.now(),h=r?y_(e):__(e);if(a&&a.draggable&&"mousedown"===e.type&&e.preventDefault(),i||s||l||h)return;if(this._handles.length){const k=o.style;this._rootElementTapHighlight=k.webkitTapHighlightColor||"",k.webkitTapHighlightColor="transparent"}this._hasStartedDragging=this._hasMoved=!1,this._removeSubscriptions(),this._pointerMoveSubscription=this._dragDropRegistry.pointerMove.subscribe(this._pointerMove),this._pointerUpSubscription=this._dragDropRegistry.pointerUp.subscribe(this._pointerUp),this._scrollSubscription=this._dragDropRegistry.scrolled(this._getShadowRoot()).subscribe(k=>this._updateOnScroll(k)),this._boundaryElement&&(this._boundaryRect=xD(this._boundaryElement));const f=this._previewTemplate;this._pickupPositionInElement=f&&f.template&&!f.matchSize?{x:0,y:0}:this._getPointerPositionInElement(t,e);const D=this._pickupPositionOnPage=this._lastKnownPointerPosition=this._getPointerPositionOnPage(e);this._pointerDirectionDelta={x:0,y:0},this._pointerPositionAtLastDirectionChange={x:D.x,y:D.y},this._dragStartTime=Date.now(),this._dragDropRegistry.startDragging(this,e)}_cleanupDragArtifacts(t){JR(this._rootElement,!0,AD),this._anchor.parentNode.replaceChild(this._rootElement,this._anchor),this._destroyPreview(),this._destroyPlaceholder(),this._boundaryRect=this._previewRect=this._initialTransform=void 0,this._ngZone.run(()=>{const e=this._dropContainer,i=e.getItemIndex(this),r=this._getPointerPositionOnPage(t),s=this._getDragDistance(r),o=e._isOverContainer(r.x,r.y);this.ended.next({source:this,distance:s,dropPoint:r}),this.dropped.next({item:this,currentIndex:i,previousIndex:this._initialIndex,container:e,previousContainer:this._initialContainer,isPointerOverContainer:o,distance:s,dropPoint:r}),e.drop(this,i,this._initialIndex,this._initialContainer,o,s,r),this._dropContainer=this._initialContainer})}_updateActiveDropContainer({x:t,y:e},{x:i,y:r}){let s=this._initialContainer._getSiblingContainerFromPosition(this,t,e);!s&&this._dropContainer!==this._initialContainer&&this._initialContainer._isOverContainer(t,e)&&(s=this._initialContainer),s&&s!==this._dropContainer&&this._ngZone.run(()=>{this.exited.next({item:this,container:this._dropContainer}),this._dropContainer.exit(this),this._dropContainer=s,this._dropContainer.enter(this,t,e,s===this._initialContainer&&s.sortingDisabled?this._initialIndex:void 0),this.entered.next({item:this,container:s,currentIndex:s.getItemIndex(this)})}),this.isDragging()&&(this._dropContainer._startScrollingIfNecessary(i,r),this._dropContainer._sortItem(this,t,e,this._pointerDirectionDelta),this._applyPreviewTransform(t-this._pickupPositionInElement.x,e-this._pickupPositionInElement.y))}_createPreviewElement(){const t=this._previewTemplate,e=this.previewClass,i=t?t.template:null;let r;if(i&&t){const s=t.matchSize?this._rootElement.getBoundingClientRect():null,o=t.viewContainer.createEmbeddedView(i,t.context);o.detectChanges(),r=cL(o,this._document),this._previewRef=o,t.matchSize?uL(r,s):r.style.transform=T_(this._pickupPositionOnPage.x,this._pickupPositionOnPage.y)}else{const s=this._rootElement;r=iL(s),uL(r,s.getBoundingClientRect()),this._initialTransform&&(r.style.transform=this._initialTransform)}return SD(r.style,{"pointer-events":"none",margin:"0",position:"fixed",top:"0",left:"0","z-index":`${this._config.zIndex||1e3}`},AD),Rd(r,!1),r.classList.add("cdk-drag-preview"),r.setAttribute("dir",this._direction),e&&(Array.isArray(e)?e.forEach(s=>r.classList.add(s)):r.classList.add(e)),r}_animatePreviewToPlaceholder(){if(!this._hasMoved)return Promise.resolve();const t=this._placeholder.getBoundingClientRect();this._preview.classList.add("cdk-drag-animating"),this._applyPreviewTransform(t.left,t.top);const e=function d9(n){const t=getComputedStyle(n),e=kD(t,"transition-property"),i=e.find(a=>"transform"===a||"all"===a);if(!i)return 0;const r=e.indexOf(i),s=kD(t,"transition-duration"),o=kD(t,"transition-delay");return eL(s[r])+eL(o[r])}(this._preview);return 0===e?Promise.resolve():this._ngZone.runOutsideAngular(()=>new Promise(i=>{const r=o=>{var a;(!o||To(o)===this._preview&&"transform"===o.propertyName)&&(null===(a=this._preview)||void 0===a||a.removeEventListener("transitionend",r),i(),clearTimeout(s))},s=setTimeout(r,1.5*e);this._preview.addEventListener("transitionend",r)}))}_createPlaceholderElement(){const t=this._placeholderTemplate,e=t?t.template:null;let i;return e?(this._placeholderRef=t.viewContainer.createEmbeddedView(e,t.context),this._placeholderRef.detectChanges(),i=cL(this._placeholderRef,this._document)):i=iL(this._rootElement),i.style.pointerEvents="none",i.classList.add("cdk-drag-placeholder"),i}_getPointerPositionInElement(t,e){const i=this._rootElement.getBoundingClientRect(),r=t===this._rootElement?null:t,s=r?r.getBoundingClientRect():i,o=qp(e)?e.targetTouches[0]:e,a=this._getViewportScrollPosition();return{x:s.left-i.left+(o.pageX-s.left-a.left),y:s.top-i.top+(o.pageY-s.top-a.top)}}_getPointerPositionOnPage(t){const e=this._getViewportScrollPosition(),i=qp(t)?t.touches[0]||t.changedTouches[0]||{pageX:0,pageY:0}:t,r=i.pageX-e.left,s=i.pageY-e.top;if(this._ownerSVGElement){const o=this._ownerSVGElement.getScreenCTM();if(o){const a=this._ownerSVGElement.createSVGPoint();return a.x=r,a.y=s,a.matrixTransform(o.inverse())}}return{x:r,y:s}}_getConstrainedPointerPosition(t){const e=this._dropContainer?this._dropContainer.lockAxis:null;let{x:i,y:r}=this.constrainPosition?this.constrainPosition(t,this):t;if("x"===this.lockAxis||"x"===e?r=this._pickupPositionOnPage.y:("y"===this.lockAxis||"y"===e)&&(i=this._pickupPositionOnPage.x),this._boundaryRect){const{x:s,y:o}=this._pickupPositionInElement,a=this._boundaryRect,{width:l,height:h}=this._getPreviewRect(),f=a.top+o,D=a.bottom-(h-o);i=lL(i,a.left+s,a.right-(l-s)),r=lL(r,f,D)}return{x:i,y:r}}_updatePointerDirectionDelta(t){const{x:e,y:i}=t,r=this._pointerDirectionDelta,s=this._pointerPositionAtLastDirectionChange,o=Math.abs(e-s.x),a=Math.abs(i-s.y);return o>this._config.pointerDirectionChangeThreshold&&(r.x=e>s.x?1:-1,s.x=e),a>this._config.pointerDirectionChangeThreshold&&(r.y=i>s.y?1:-1,s.y=i),r}_toggleNativeDragInteractions(){if(!this._rootElement||!this._handles)return;const t=this._handles.length>0||!this.isDragging();t!==this._nativeInteractionsEnabled&&(this._nativeInteractionsEnabled=t,Rd(this._rootElement,t))}_removeRootElementListeners(t){t.removeEventListener("mousedown",this._pointerDown,C_),t.removeEventListener("touchstart",this._pointerDown,aL),t.removeEventListener("dragstart",this._nativeDragStart,C_)}_applyRootElementTransform(t,e){const i=T_(t,e),r=this._rootElement.style;null==this._initialTransform&&(this._initialTransform=r.transform&&"none"!=r.transform?r.transform:""),r.transform=E_(i,this._initialTransform)}_applyPreviewTransform(t,e){var i;const r=(null===(i=this._previewTemplate)||void 0===i?void 0:i.template)?void 0:this._initialTransform,s=T_(t,e);this._preview.style.transform=E_(s,r)}_getDragDistance(t){const e=this._pickupPositionOnPage;return e?{x:t.x-e.x,y:t.y-e.y}:{x:0,y:0}}_cleanupCachedDimensions(){this._boundaryRect=this._previewRect=void 0,this._parentPositions.clear()}_containInsideBoundaryOnResize(){let{x:t,y:e}=this._passiveTransform;if(0===t&&0===e||this.isDragging()||!this._boundaryElement)return;const i=this._boundaryElement.getBoundingClientRect(),r=this._rootElement.getBoundingClientRect();if(0===i.width&&0===i.height||0===r.width&&0===r.height)return;const s=i.left-r.left,o=r.right-i.right,a=i.top-r.top,l=r.bottom-i.bottom;i.width>r.width?(s>0&&(t+=s),o>0&&(t-=o)):t=0,i.height>r.height?(a>0&&(e+=a),l>0&&(e-=l)):e=0,(t!==this._passiveTransform.x||e!==this._passiveTransform.y)&&this.setFreeDragPosition({y:e,x:t})}_getDragStartDelay(t){const e=this.dragStartDelay;return"number"==typeof e?e:qp(t)?e.touch:e?e.mouse:0}_updateOnScroll(t){const e=this._parentPositions.handleScroll(t);if(e){const i=To(t);this._boundaryRect&&i!==this._boundaryElement&&i.contains(this._boundaryElement)&&Vp(this._boundaryRect,e.top,e.left),this._pickupPositionOnPage.x+=e.left,this._pickupPositionOnPage.y+=e.top,this._dropContainer||(this._activeTransform.x-=e.left,this._activeTransform.y-=e.top,this._applyRootElementTransform(this._activeTransform.x,this._activeTransform.y))}}_getViewportScrollPosition(){var t;return(null===(t=this._parentPositions.positions.get(this._document))||void 0===t?void 0:t.scrollPosition)||this._parentPositions.getViewportScrollPosition()}_getShadowRoot(){return void 0===this._cachedShadowRoot&&(this._cachedShadowRoot=u_(this._rootElement)),this._cachedShadowRoot}_getPreviewInsertionPoint(t,e){const i=this._previewContainer||"global";if("parent"===i)return t;if("global"===i){const r=this._document;return e||r.fullscreenElement||r.webkitFullscreenElement||r.mozFullScreenElement||r.msFullscreenElement||r.body}return Dr(i)}_getPreviewRect(){return(!this._previewRect||!this._previewRect.width&&!this._previewRect.height)&&(this._previewRect=(this._preview||this._rootElement).getBoundingClientRect()),this._previewRect}_getTargetHandle(t){return this._handles.find(e=>t.target&&(t.target===e||e.contains(t.target)))}}function T_(n,t){return`translate3d(${Math.round(n)}px, ${Math.round(t)}px, 0)`}function lL(n,t,e){return Math.max(t,Math.min(e,n))}function qp(n){return"t"===n.type[0]}function cL(n,t){const e=n.rootNodes;if(1===e.length&&e[0].nodeType===t.ELEMENT_NODE)return e[0];const i=t.createElement("div");return e.forEach(r=>i.appendChild(r)),i}function uL(n,t){n.style.width=`${t.width}px`,n.style.height=`${t.height}px`,n.style.transform=T_(t.left,t.top)}function Up(n,t){return Math.max(0,Math.min(t,n))}class g9{constructor(t,e,i,r,s){this._dragDropRegistry=e,this._ngZone=r,this._viewportRuler=s,this.disabled=!1,this.sortingDisabled=!1,this.autoScrollDisabled=!1,this.autoScrollStep=2,this.enterPredicate=()=>!0,this.sortPredicate=()=>!0,this.beforeStarted=new K,this.entered=new K,this.exited=new K,this.dropped=new K,this.sorted=new K,this._isDragging=!1,this._itemPositions=[],this._previousSwap={drag:null,delta:0,overlaps:!1},this._draggables=[],this._siblings=[],this._orientation="vertical",this._activeSiblings=new Set,this._direction="ltr",this._viewportScrollSubscription=P.EMPTY,this._verticalScrollDirection=0,this._horizontalScrollDirection=0,this._stopScrollTimers=new K,this._cachedShadowRoot=null,this._startScrollInterval=()=>{this._stopScrolling(),function qW(n=0,t=xd){return(!ED(n)||n<0)&&(n=0),(!t||"function"!=typeof t.schedule)&&(t=xd),new st(e=>(e.add(t.schedule(UW,n,{subscriber:e,counter:0,period:n})),e))}(0,WR).pipe(vn(this._stopScrollTimers)).subscribe(()=>{const o=this._scrollNode,a=this.autoScrollStep;1===this._verticalScrollDirection?o.scrollBy(0,-a):2===this._verticalScrollDirection&&o.scrollBy(0,a),1===this._horizontalScrollDirection?o.scrollBy(-a,0):2===this._horizontalScrollDirection&&o.scrollBy(a,0)})},this.element=Dr(t),this._document=i,this.withScrollableParents([this.element]),e.registerDropContainer(this),this._parentPositions=new nL(i)}dispose(){this._stopScrolling(),this._stopScrollTimers.complete(),this._viewportScrollSubscription.unsubscribe(),this.beforeStarted.complete(),this.entered.complete(),this.exited.complete(),this.dropped.complete(),this.sorted.complete(),this._activeSiblings.clear(),this._scrollNode=null,this._parentPositions.clear(),this._dragDropRegistry.removeDropContainer(this)}isDragging(){return this._isDragging}start(){this._draggingStarted(),this._notifyReceivingSiblings()}enter(t,e,i,r){let s;this._draggingStarted(),null==r?(s=this.sortingDisabled?this._draggables.indexOf(t):-1,-1===s&&(s=this._getItemIndexFromPointerPosition(t,e,i))):s=r;const o=this._activeDraggables,a=o.indexOf(t),l=t.getPlaceholderElement();let h=o[s];if(h===t&&(h=o[s+1]),!h&&(null==s||-1===s||s-1&&o.splice(a,1),h&&!this._dragDropRegistry.isDragging(h)){const f=h.getRootElement();f.parentElement.insertBefore(l,f),o.splice(s,0,t)}else Dr(this.element).appendChild(l),o.push(t);l.style.transform="",this._cacheItemPositions(),this._cacheParentPositions(),this._notifyReceivingSiblings(),this.entered.next({item:t,container:this,currentIndex:this.getItemIndex(t)})}exit(t){this._reset(),this.exited.next({item:t,container:this})}drop(t,e,i,r,s,o,a){this._reset(),this.dropped.next({item:t,currentIndex:e,previousIndex:i,container:this,previousContainer:r,isPointerOverContainer:s,distance:o,dropPoint:a})}withItems(t){const e=this._draggables;return this._draggables=t,t.forEach(i=>i._withDropContainer(this)),this.isDragging()&&(e.filter(r=>r.isDragging()).every(r=>-1===t.indexOf(r))?this._reset():this._cacheItems()),this}withDirection(t){return this._direction=t,this}connectedTo(t){return this._siblings=t.slice(),this}withOrientation(t){return this._orientation=t,this}withScrollableParents(t){const e=Dr(this.element);return this._scrollableElements=-1===t.indexOf(e)?[e,...t]:t.slice(),this}getScrollableParents(){return this._scrollableElements}getItemIndex(t){return this._isDragging?("horizontal"===this._orientation&&"rtl"===this._direction?this._itemPositions.slice().reverse():this._itemPositions).findIndex(i=>i.drag===t):this._draggables.indexOf(t)}isReceiving(){return this._activeSiblings.size>0}_sortItem(t,e,i,r){if(this.sortingDisabled||!this._clientRect||!tL(this._clientRect,.05,e,i))return;const s=this._itemPositions,o=this._getItemIndexFromPointerPosition(t,e,i,r);if(-1===o&&s.length>0)return;const a="horizontal"===this._orientation,l=s.findIndex($e=>$e.drag===t),h=s[o],D=h.clientRect,k=l>o?1:-1,Y=this._getItemOffsetPx(s[l].clientRect,D,k),oe=this._getSiblingOffsetPx(l,s,k),Ne=s.slice();(function f9(n,t,e){const i=Up(t,n.length-1),r=Up(e,n.length-1);if(i===r)return;const s=n[i],o=r{if(Ne[it]===$e)return;const qe=$e.drag===t,Rt=qe?Y:oe,Gt=qe?t.getPlaceholderElement():$e.drag.getRootElement();$e.offset+=Rt,a?(Gt.style.transform=E_(`translate3d(${Math.round($e.offset)}px, 0, 0)`,$e.initialTransform),Vp($e.clientRect,0,Rt)):(Gt.style.transform=E_(`translate3d(0, ${Math.round($e.offset)}px, 0)`,$e.initialTransform),Vp($e.clientRect,Rt,0))}),this._previousSwap.overlaps=ID(D,e,i),this._previousSwap.drag=h.drag,this._previousSwap.delta=a?r.x:r.y}_startScrollingIfNecessary(t,e){if(this.autoScrollDisabled)return;let i,r=0,s=0;if(this._parentPositions.positions.forEach((o,a)=>{a===this._document||!o.clientRect||i||tL(o.clientRect,.05,t,e)&&([r,s]=function _9(n,t,e,i){const r=pL(t,i),s=mL(t,e);let o=0,a=0;if(r){const l=n.scrollTop;1===r?l>0&&(o=1):n.scrollHeight-l>n.clientHeight&&(o=2)}if(s){const l=n.scrollLeft;1===s?l>0&&(a=1):n.scrollWidth-l>n.clientWidth&&(a=2)}return[o,a]}(a,o.clientRect,t,e),(r||s)&&(i=a))}),!r&&!s){const{width:o,height:a}=this._viewportRuler.getViewportSize(),l={width:o,height:a,top:0,right:o,bottom:a,left:0};r=pL(l,e),s=mL(l,t),i=window}i&&(r!==this._verticalScrollDirection||s!==this._horizontalScrollDirection||i!==this._scrollNode)&&(this._verticalScrollDirection=r,this._horizontalScrollDirection=s,this._scrollNode=i,(r||s)&&i?this._ngZone.runOutsideAngular(this._startScrollInterval):this._stopScrolling())}_stopScrolling(){this._stopScrollTimers.next()}_draggingStarted(){const t=Dr(this.element).style;this.beforeStarted.next(),this._isDragging=!0,this._initialScrollSnap=t.msScrollSnapType||t.scrollSnapType||"",t.scrollSnapType=t.msScrollSnapType="none",this._cacheItems(),this._viewportScrollSubscription.unsubscribe(),this._listenToScrollEvents()}_cacheParentPositions(){const t=Dr(this.element);this._parentPositions.cache(this._scrollableElements),this._clientRect=this._parentPositions.positions.get(t).clientRect}_cacheItemPositions(){const t="horizontal"===this._orientation;this._itemPositions=this._activeDraggables.map(e=>{const i=e.getVisibleElement();return{drag:e,offset:0,initialTransform:i.style.transform||"",clientRect:xD(i)}}).sort((e,i)=>t?e.clientRect.left-i.clientRect.left:e.clientRect.top-i.clientRect.top)}_reset(){this._isDragging=!1;const t=Dr(this.element).style;t.scrollSnapType=t.msScrollSnapType=this._initialScrollSnap,this._activeDraggables.forEach(e=>{var i;const r=e.getRootElement();if(r){const s=null===(i=this._itemPositions.find(o=>o.drag===e))||void 0===i?void 0:i.initialTransform;r.style.transform=s||""}}),this._siblings.forEach(e=>e._stopReceiving(this)),this._activeDraggables=[],this._itemPositions=[],this._previousSwap.drag=null,this._previousSwap.delta=0,this._previousSwap.overlaps=!1,this._stopScrolling(),this._viewportScrollSubscription.unsubscribe(),this._parentPositions.clear()}_getSiblingOffsetPx(t,e,i){const r="horizontal"===this._orientation,s=e[t].clientRect,o=e[t+-1*i];let a=s[r?"width":"height"]*i;if(o){const l=r?"left":"top",h=r?"right":"bottom";-1===i?a-=o.clientRect[l]-s[h]:a+=s[l]-o.clientRect[h]}return a}_getItemOffsetPx(t,e,i){const r="horizontal"===this._orientation;let s=r?e.left-t.left:e.top-t.top;return-1===i&&(s+=r?e.width-t.width:e.height-t.height),s}_shouldEnterAsFirstChild(t,e){if(!this._activeDraggables.length)return!1;const i=this._itemPositions,r="horizontal"===this._orientation;if(i[0].drag!==this._activeDraggables[0]){const o=i[i.length-1].clientRect;return r?t>=o.right:e>=o.bottom}{const o=i[0].clientRect;return r?t<=o.left:e<=o.top}}_getItemIndexFromPointerPosition(t,e,i,r){const s="horizontal"===this._orientation,o=this._itemPositions.findIndex(({drag:a,clientRect:l})=>{if(a===t)return!1;if(r){const h=s?r.x:r.y;if(a===this._previousSwap.drag&&this._previousSwap.overlaps&&h===this._previousSwap.delta)return!1}return s?e>=Math.floor(l.left)&&e=Math.floor(l.top)&&ir._canReceive(t,e,i))}_canReceive(t,e,i){if(!this._clientRect||!ID(this._clientRect,e,i)||!this.enterPredicate(t,this))return!1;const r=this._getShadowRoot().elementFromPoint(e,i);if(!r)return!1;const s=Dr(this.element);return r===s||s.contains(r)}_startReceiving(t,e){const i=this._activeSiblings;!i.has(t)&&e.every(r=>this.enterPredicate(r,this)||this._draggables.indexOf(r)>-1)&&(i.add(t),this._cacheParentPositions(),this._listenToScrollEvents())}_stopReceiving(t){this._activeSiblings.delete(t),this._viewportScrollSubscription.unsubscribe()}_listenToScrollEvents(){this._viewportScrollSubscription=this._dragDropRegistry.scrolled(this._getShadowRoot()).subscribe(t=>{if(this.isDragging()){const e=this._parentPositions.handleScroll(t);e&&(this._itemPositions.forEach(({clientRect:i})=>{Vp(i,e.top,e.left)}),this._itemPositions.forEach(({drag:i})=>{this._dragDropRegistry.isDragging(i)&&i._sortFromLastPointerPosition()}))}else this.isReceiving()&&this._cacheParentPositions()})}_getShadowRoot(){if(!this._cachedShadowRoot){const t=u_(Dr(this.element));this._cachedShadowRoot=t||this._document}return this._cachedShadowRoot}_notifyReceivingSiblings(){const t=this._activeDraggables.filter(e=>e.isDragging());this._siblings.forEach(e=>e._startReceiving(this,t))}}function pL(n,t){const{top:e,bottom:i,height:r}=n,s=.05*r;return t>=e-s&&t<=e+s?1:t>=i-s&&t<=i+s?2:0}function mL(n,t){const{left:e,right:i,width:r}=n,s=.05*r;return t>=e-s&&t<=e+s?1:t>=i-s&&t<=i+s?2:0}const S_=na({passive:!1,capture:!0});let y9=(()=>{class n{constructor(e,i){this._ngZone=e,this._dropInstances=new Set,this._dragInstances=new Set,this._activeDragInstances=[],this._globalListeners=new Map,this._draggingPredicate=r=>r.isDragging(),this.pointerMove=new K,this.pointerUp=new K,this.scroll=new K,this._preventDefaultWhileDragging=r=>{this._activeDragInstances.length>0&&r.preventDefault()},this._persistentTouchmoveListener=r=>{this._activeDragInstances.length>0&&(this._activeDragInstances.some(this._draggingPredicate)&&r.preventDefault(),this.pointerMove.next(r))},this._document=i}registerDropContainer(e){this._dropInstances.has(e)||this._dropInstances.add(e)}registerDragItem(e){this._dragInstances.add(e),1===this._dragInstances.size&&this._ngZone.runOutsideAngular(()=>{this._document.addEventListener("touchmove",this._persistentTouchmoveListener,S_)})}removeDropContainer(e){this._dropInstances.delete(e)}removeDragItem(e){this._dragInstances.delete(e),this.stopDragging(e),0===this._dragInstances.size&&this._document.removeEventListener("touchmove",this._persistentTouchmoveListener,S_)}startDragging(e,i){if(!(this._activeDragInstances.indexOf(e)>-1)&&(this._activeDragInstances.push(e),1===this._activeDragInstances.length)){const r=i.type.startsWith("touch");this._globalListeners.set(r?"touchend":"mouseup",{handler:s=>this.pointerUp.next(s),options:!0}).set("scroll",{handler:s=>this.scroll.next(s),options:!0}).set("selectstart",{handler:this._preventDefaultWhileDragging,options:S_}),r||this._globalListeners.set("mousemove",{handler:s=>this.pointerMove.next(s),options:S_}),this._ngZone.runOutsideAngular(()=>{this._globalListeners.forEach((s,o)=>{this._document.addEventListener(o,s.handler,s.options)})})}}stopDragging(e){const i=this._activeDragInstances.indexOf(e);i>-1&&(this._activeDragInstances.splice(i,1),0===this._activeDragInstances.length&&this._clearGlobalListeners())}isDragging(e){return this._activeDragInstances.indexOf(e)>-1}scrolled(e){const i=[this.scroll];return e&&e!==this._document&&i.push(new st(r=>this._ngZone.runOutsideAngular(()=>{const o=a=>{this._activeDragInstances.length&&r.next(a)};return e.addEventListener("scroll",o,!0),()=>{e.removeEventListener("scroll",o,!0)}}))),at(...i)}ngOnDestroy(){this._dragInstances.forEach(e=>this.removeDragItem(e)),this._dropInstances.forEach(e=>this.removeDropContainer(e)),this._clearGlobalListeners(),this.pointerMove.complete(),this.pointerUp.complete()}_clearGlobalListeners(){this._globalListeners.forEach((e,i)=>{this._document.removeEventListener(i,e.handler,e.options)}),this._globalListeners.clear()}}return n.\u0275fac=function(e){return new(e||n)(Se(yn),Se(Dn))},n.\u0275prov=Ee({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const v9={dragStartThreshold:5,pointerDirectionChangeThreshold:5};let b9=(()=>{class n{constructor(e,i,r,s){this._document=e,this._ngZone=i,this._viewportRuler=r,this._dragDropRegistry=s}createDrag(e,i=v9){return new m9(e,i,this._document,this._ngZone,this._viewportRuler,this._dragDropRegistry)}createDropList(e){return new g9(e,this._dragDropRegistry,this._document,this._ngZone,this._viewportRuler)}}return n.\u0275fac=function(e){return new(e||n)(Se(Dn),Se(yn),Se(So),Se(y9))},n.\u0275prov=Ee({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),w9=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Yt({type:n}),n.\u0275inj=He({providers:[b9],imports:[Ba]}),n})();function k_(n){return n&&"function"==typeof n.connect}class fL{applyChanges(t,e,i,r,s){t.forEachOperation((o,a,l)=>{let h,f;if(null==o.previousIndex){const D=i(o,a,l);h=e.createEmbeddedView(D.templateRef,D.context,D.index),f=1}else null==l?(e.remove(a),f=3):(h=e.get(a),e.move(h,l),f=2);s&&s({context:null==h?void 0:h.context,operation:f,record:o})})}detach(){}}class zp{constructor(t=!1,e,i=!0){this._multiple=t,this._emitChanges=i,this._selection=new Set,this._deselectedToEmit=[],this._selectedToEmit=[],this.changed=new K,e&&e.length&&(t?e.forEach(r=>this._markSelected(r)):this._markSelected(e[0]),this._selectedToEmit.length=0)}get selected(){return this._selected||(this._selected=Array.from(this._selection.values())),this._selected}select(...t){this._verifyValueAssignment(t),t.forEach(e=>this._markSelected(e)),this._emitChangeEvent()}deselect(...t){this._verifyValueAssignment(t),t.forEach(e=>this._unmarkSelected(e)),this._emitChangeEvent()}toggle(t){this.isSelected(t)?this.deselect(t):this.select(t)}clear(){this._unmarkAll(),this._emitChangeEvent()}isSelected(t){return this._selection.has(t)}isEmpty(){return 0===this._selection.size}hasValue(){return!this.isEmpty()}sort(t){this._multiple&&this.selected&&this._selected.sort(t)}isMultipleSelection(){return this._multiple}_emitChangeEvent(){this._selected=null,(this._selectedToEmit.length||this._deselectedToEmit.length)&&(this.changed.next({source:this,added:this._selectedToEmit,removed:this._deselectedToEmit}),this._deselectedToEmit=[],this._selectedToEmit=[])}_markSelected(t){this.isSelected(t)||(this._multiple||this._unmarkAll(),this._selection.add(t),this._emitChanges&&this._selectedToEmit.push(t))}_unmarkSelected(t){this.isSelected(t)&&(this._selection.delete(t),this._emitChanges&&this._deselectedToEmit.push(t))}_unmarkAll(){this.isEmpty()||this._selection.forEach(t=>this._unmarkSelected(t))}_verifyValueAssignment(t){}}let RD=(()=>{class n{constructor(){this._listeners=[]}notify(e,i){for(let r of this._listeners)r(e,i)}listen(e){return this._listeners.push(e),()=>{this._listeners=this._listeners.filter(i=>e!==i)}}ngOnDestroy(){this._listeners=[]}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=Ee({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const Gp=new ht("_ViewRepeater");const D9=[[["caption"]],[["colgroup"],["col"]]],E9=["caption","colgroup, col"];function OD(n){return class extends n{constructor(...t){super(...t),this._sticky=!1,this._hasStickyChanged=!1}get sticky(){return this._sticky}set sticky(t){const e=this._sticky;this._sticky=rn(t),this._hasStickyChanged=e!==this._sticky}hasStickyChanged(){const t=this._hasStickyChanged;return this._hasStickyChanged=!1,t}resetStickyChanged(){this._hasStickyChanged=!1}}}const Ld=new ht("CDK_TABLE");let Od=(()=>{class n{constructor(e){this.template=e}}return n.\u0275fac=function(e){return new(e||n)(M(Wi))},n.\u0275dir=rt({type:n,selectors:[["","cdkCellDef",""]]}),n})(),Pd=(()=>{class n{constructor(e){this.template=e}}return n.\u0275fac=function(e){return new(e||n)(M(Wi))},n.\u0275dir=rt({type:n,selectors:[["","cdkHeaderCellDef",""]]}),n})(),x_=(()=>{class n{constructor(e){this.template=e}}return n.\u0275fac=function(e){return new(e||n)(M(Wi))},n.\u0275dir=rt({type:n,selectors:[["","cdkFooterCellDef",""]]}),n})();class k9{}const x9=OD(k9);let hl=(()=>{class n extends x9{constructor(e){super(),this._table=e,this._stickyEnd=!1}get name(){return this._name}set name(e){this._setNameInput(e)}get stickyEnd(){return this._stickyEnd}set stickyEnd(e){const i=this._stickyEnd;this._stickyEnd=rn(e),this._hasStickyChanged=i!==this._stickyEnd}_updateColumnCssClassName(){this._columnCssClassName=[`cdk-column-${this.cssClassFriendlyName}`]}_setNameInput(e){e&&(this._name=e,this.cssClassFriendlyName=e.replace(/[^a-z0-9_-]/gi,"-"),this._updateColumnCssClassName())}}return n.\u0275fac=function(e){return new(e||n)(M(Ld,8))},n.\u0275dir=rt({type:n,selectors:[["","cdkColumnDef",""]],contentQueries:function(e,i,r){if(1&e&&(Pn(r,Od,5),Pn(r,Pd,5),Pn(r,x_,5)),2&e){let s;Et(s=Ct())&&(i.cell=s.first),Et(s=Ct())&&(i.headerCell=s.first),Et(s=Ct())&&(i.footerCell=s.first)}},inputs:{sticky:"sticky",name:["cdkColumnDef","name"],stickyEnd:"stickyEnd"},features:[tn([{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:n}]),xt]}),n})();class PD{constructor(t,e){e.nativeElement.classList.add(...t._columnCssClassName)}}let FD=(()=>{class n extends PD{constructor(e,i){super(e,i)}}return n.\u0275fac=function(e){return new(e||n)(M(hl),M(Zt))},n.\u0275dir=rt({type:n,selectors:[["cdk-header-cell"],["th","cdk-header-cell",""]],hostAttrs:["role","columnheader",1,"cdk-header-cell"],features:[xt]}),n})(),ND=(()=>{class n extends PD{constructor(e,i){var r;if(super(e,i),1===(null===(r=e._table)||void 0===r?void 0:r._elementRef.nativeElement.nodeType)){const s=e._table._elementRef.nativeElement.getAttribute("role");i.nativeElement.setAttribute("role","grid"===s||"treegrid"===s?"gridcell":"cell")}}}return n.\u0275fac=function(e){return new(e||n)(M(hl),M(Zt))},n.\u0275dir=rt({type:n,selectors:[["cdk-cell"],["td","cdk-cell",""]],hostAttrs:[1,"cdk-cell"],features:[xt]}),n})();class yL{constructor(){this.tasks=[],this.endTasks=[]}}const BD=new ht("_COALESCED_STYLE_SCHEDULER");let vL=(()=>{class n{constructor(e){this._ngZone=e,this._currentSchedule=null,this._destroyed=new K}schedule(e){this._createScheduleIfNeeded(),this._currentSchedule.tasks.push(e)}scheduleEnd(e){this._createScheduleIfNeeded(),this._currentSchedule.endTasks.push(e)}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}_createScheduleIfNeeded(){this._currentSchedule||(this._currentSchedule=new yL,this._getScheduleObservable().pipe(vn(this._destroyed)).subscribe(()=>{for(;this._currentSchedule.tasks.length||this._currentSchedule.endTasks.length;){const e=this._currentSchedule;this._currentSchedule=new yL;for(const i of e.tasks)i();for(const i of e.endTasks)i()}this._currentSchedule=null}))}_getScheduleObservable(){return this._ngZone.isStable?St(Promise.resolve(void 0)):this._ngZone.onStable.pipe(Ii(1))}}return n.\u0275fac=function(e){return new(e||n)(Se(yn))},n.\u0275prov=Ee({token:n,factory:n.\u0275fac}),n})(),jD=(()=>{class n{constructor(e,i){this.template=e,this._differs=i}ngOnChanges(e){if(!this._columnsDiffer){const i=e.columns&&e.columns.currentValue||[];this._columnsDiffer=this._differs.find(i).create(),this._columnsDiffer.diff(i)}}getColumnsDiff(){return this._columnsDiffer.diff(this.columns)}extractCellTemplate(e){return this instanceof $p?e.headerCell.template:this instanceof Wp?e.footerCell.template:e.cell.template}}return n.\u0275fac=function(e){return new(e||n)(M(Wi),M(_o))},n.\u0275dir=rt({type:n,features:[Jn]}),n})();class I9 extends jD{}const A9=OD(I9);let $p=(()=>{class n extends A9{constructor(e,i,r){super(e,i),this._table=r}ngOnChanges(e){super.ngOnChanges(e)}}return n.\u0275fac=function(e){return new(e||n)(M(Wi),M(_o),M(Ld,8))},n.\u0275dir=rt({type:n,selectors:[["","cdkHeaderRowDef",""]],inputs:{columns:["cdkHeaderRowDef","columns"],sticky:["cdkHeaderRowDefSticky","sticky"]},features:[xt,Jn]}),n})();class R9 extends jD{}const L9=OD(R9);let Wp=(()=>{class n extends L9{constructor(e,i,r){super(e,i),this._table=r}ngOnChanges(e){super.ngOnChanges(e)}}return n.\u0275fac=function(e){return new(e||n)(M(Wi),M(_o),M(Ld,8))},n.\u0275dir=rt({type:n,selectors:[["","cdkFooterRowDef",""]],inputs:{columns:["cdkFooterRowDef","columns"],sticky:["cdkFooterRowDefSticky","sticky"]},features:[xt,Jn]}),n})(),I_=(()=>{class n extends jD{constructor(e,i,r){super(e,i),this._table=r}}return n.\u0275fac=function(e){return new(e||n)(M(Wi),M(_o),M(Ld,8))},n.\u0275dir=rt({type:n,selectors:[["","cdkRowDef",""]],inputs:{columns:["cdkRowDefColumns","columns"],when:["cdkRowDefWhen","when"]},features:[xt]}),n})(),pl=(()=>{class n{constructor(e){this._viewContainer=e,n.mostRecentCellOutlet=this}ngOnDestroy(){n.mostRecentCellOutlet===this&&(n.mostRecentCellOutlet=null)}}return n.mostRecentCellOutlet=null,n.\u0275fac=function(e){return new(e||n)(M(Si))},n.\u0275dir=rt({type:n,selectors:[["","cdkCellOutlet",""]]}),n})(),YD=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=It({type:n,selectors:[["cdk-header-row"],["tr","cdk-header-row",""]],hostAttrs:["role","row",1,"cdk-header-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(e,i){1&e&&ys(0,0)},directives:[pl],encapsulation:2}),n})(),VD=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=It({type:n,selectors:[["cdk-row"],["tr","cdk-row",""]],hostAttrs:["role","row",1,"cdk-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(e,i){1&e&&ys(0,0)},directives:[pl],encapsulation:2}),n})(),A_=(()=>{class n{constructor(e){this.templateRef=e,this._contentClassName="cdk-no-data-row"}}return n.\u0275fac=function(e){return new(e||n)(M(Wi))},n.\u0275dir=rt({type:n,selectors:[["ng-template","cdkNoDataRow",""]]}),n})();const bL=["top","bottom","left","right"];class O9{constructor(t,e,i,r,s=!0,o=!0,a){this._isNativeHtmlTable=t,this._stickCellCss=e,this.direction=i,this._coalescedStyleScheduler=r,this._isBrowser=s,this._needsPositionStickyOnElement=o,this._positionListener=a,this._cachedCellWidths=[],this._borderCellCss={top:`${e}-border-elem-top`,bottom:`${e}-border-elem-bottom`,left:`${e}-border-elem-left`,right:`${e}-border-elem-right`}}clearStickyPositioning(t,e){const i=[];for(const r of t)if(r.nodeType===r.ELEMENT_NODE){i.push(r);for(let s=0;s{for(const r of i)this._removeStickyStyle(r,e)})}updateStickyColumns(t,e,i,r=!0){if(!t.length||!this._isBrowser||!e.some(k=>k)&&!i.some(k=>k))return void(this._positionListener&&(this._positionListener.stickyColumnsUpdated({sizes:[]}),this._positionListener.stickyEndColumnsUpdated({sizes:[]})));const s=t[0],o=s.children.length,a=this._getCellWidths(s,r),l=this._getStickyStartColumnPositions(a,e),h=this._getStickyEndColumnPositions(a,i),f=e.lastIndexOf(!0),D=i.indexOf(!0);this._coalescedStyleScheduler.schedule(()=>{const k="rtl"===this.direction,Y=k?"right":"left",oe=k?"left":"right";for(const Ne of t)for(let $e=0;$ee[$e]?Ne:null)}),this._positionListener.stickyEndColumnsUpdated({sizes:-1===D?[]:a.slice(D).map((Ne,$e)=>i[$e+D]?Ne:null).reverse()}))})}stickRows(t,e,i){if(!this._isBrowser)return;const r="bottom"===i?t.slice().reverse():t,s="bottom"===i?e.slice().reverse():e,o=[],a=[],l=[];for(let f=0,D=0;f{var f,D;for(let k=0;k{e.some(r=>!r)?this._removeStickyStyle(i,["bottom"]):this._addStickyStyle(i,"bottom",0,!1)})}_removeStickyStyle(t,e){for(const r of e)t.style[r]="",t.classList.remove(this._borderCellCss[r]);bL.some(r=>-1===e.indexOf(r)&&t.style[r])?t.style.zIndex=this._getCalculatedZIndex(t):(t.style.zIndex="",this._needsPositionStickyOnElement&&(t.style.position=""),t.classList.remove(this._stickCellCss))}_addStickyStyle(t,e,i,r){t.classList.add(this._stickCellCss),r&&t.classList.add(this._borderCellCss[e]),t.style[e]=`${i}px`,t.style.zIndex=this._getCalculatedZIndex(t),this._needsPositionStickyOnElement&&(t.style.cssText+="position: -webkit-sticky; position: sticky; ")}_getCalculatedZIndex(t){const e={top:100,bottom:10,left:1,right:1};let i=0;for(const r of bL)t.style[r]&&(i+=e[r]);return i?`${i}`:""}_getCellWidths(t,e=!0){if(!e&&this._cachedCellWidths.length)return this._cachedCellWidths;const i=[],r=t.children;for(let s=0;s0;s--)e[s]&&(i[s]=r,r+=t[s]);return i}}const qD=new ht("CDK_SPL");let R_=(()=>{class n{constructor(e,i){this.viewContainer=e,this.elementRef=i}}return n.\u0275fac=function(e){return new(e||n)(M(Si),M(Zt))},n.\u0275dir=rt({type:n,selectors:[["","rowOutlet",""]]}),n})(),L_=(()=>{class n{constructor(e,i){this.viewContainer=e,this.elementRef=i}}return n.\u0275fac=function(e){return new(e||n)(M(Si),M(Zt))},n.\u0275dir=rt({type:n,selectors:[["","headerRowOutlet",""]]}),n})(),O_=(()=>{class n{constructor(e,i){this.viewContainer=e,this.elementRef=i}}return n.\u0275fac=function(e){return new(e||n)(M(Si),M(Zt))},n.\u0275dir=rt({type:n,selectors:[["","footerRowOutlet",""]]}),n})(),P_=(()=>{class n{constructor(e,i){this.viewContainer=e,this.elementRef=i}}return n.\u0275fac=function(e){return new(e||n)(M(Si),M(Zt))},n.\u0275dir=rt({type:n,selectors:[["","noDataRowOutlet",""]]}),n})(),F_=(()=>{class n{constructor(e,i,r,s,o,a,l,h,f,D,k,Y){this._differs=e,this._changeDetectorRef=i,this._elementRef=r,this._dir=o,this._platform=l,this._viewRepeater=h,this._coalescedStyleScheduler=f,this._viewportRuler=D,this._stickyPositioningListener=k,this._ngZone=Y,this._onDestroy=new K,this._columnDefsByName=new Map,this._customColumnDefs=new Set,this._customRowDefs=new Set,this._customHeaderRowDefs=new Set,this._customFooterRowDefs=new Set,this._headerRowDefChanged=!0,this._footerRowDefChanged=!0,this._stickyColumnStylesNeedReset=!0,this._forceRecalculateCellWidths=!0,this._cachedRenderRowsMap=new Map,this.stickyCssClass="cdk-table-sticky",this.needsPositionStickyOnElement=!0,this._isShowingNoDataRow=!1,this._multiTemplateDataRows=!1,this._fixedLayout=!1,this.contentChanged=new jt,this.viewChange=new xi({start:0,end:Number.MAX_VALUE}),s||this._elementRef.nativeElement.setAttribute("role","table"),this._document=a,this._isNativeHtmlTable="TABLE"===this._elementRef.nativeElement.nodeName}get trackBy(){return this._trackByFn}set trackBy(e){this._trackByFn=e}get dataSource(){return this._dataSource}set dataSource(e){this._dataSource!==e&&this._switchDataSource(e)}get multiTemplateDataRows(){return this._multiTemplateDataRows}set multiTemplateDataRows(e){this._multiTemplateDataRows=rn(e),this._rowOutlet&&this._rowOutlet.viewContainer.length&&(this._forceRenderDataRows(),this.updateStickyColumnStyles())}get fixedLayout(){return this._fixedLayout}set fixedLayout(e){this._fixedLayout=rn(e),this._forceRecalculateCellWidths=!0,this._stickyColumnStylesNeedReset=!0}ngOnInit(){this._setupStickyStyler(),this._isNativeHtmlTable&&this._applyNativeTableSections(),this._dataDiffer=this._differs.find([]).create((e,i)=>this.trackBy?this.trackBy(i.dataIndex,i.data):i),this._viewportRuler.change().pipe(vn(this._onDestroy)).subscribe(()=>{this._forceRecalculateCellWidths=!0})}ngAfterContentChecked(){this._cacheRowDefs(),this._cacheColumnDefs();const i=this._renderUpdatedColumns()||this._headerRowDefChanged||this._footerRowDefChanged;this._stickyColumnStylesNeedReset=this._stickyColumnStylesNeedReset||i,this._forceRecalculateCellWidths=i,this._headerRowDefChanged&&(this._forceRenderHeaderRows(),this._headerRowDefChanged=!1),this._footerRowDefChanged&&(this._forceRenderFooterRows(),this._footerRowDefChanged=!1),this.dataSource&&this._rowDefs.length>0&&!this._renderChangeSubscription?this._observeRenderChanges():this._stickyColumnStylesNeedReset&&this.updateStickyColumnStyles(),this._checkStickyStates()}ngOnDestroy(){[this._rowOutlet.viewContainer,this._headerRowOutlet.viewContainer,this._footerRowOutlet.viewContainer,this._cachedRenderRowsMap,this._customColumnDefs,this._customRowDefs,this._customHeaderRowDefs,this._customFooterRowDefs,this._columnDefsByName].forEach(e=>{e.clear()}),this._headerRowDefs=[],this._footerRowDefs=[],this._defaultRowDef=null,this._onDestroy.next(),this._onDestroy.complete(),k_(this.dataSource)&&this.dataSource.disconnect(this)}renderRows(){this._renderRows=this._getAllRenderRows();const e=this._dataDiffer.diff(this._renderRows);if(!e)return this._updateNoDataRow(),void this.contentChanged.next();const i=this._rowOutlet.viewContainer;this._viewRepeater.applyChanges(e,i,(r,s,o)=>this._getEmbeddedViewArgs(r.item,o),r=>r.item.data,r=>{1===r.operation&&r.context&&this._renderCellTemplateForItem(r.record.item.rowDef,r.context)}),this._updateRowIndexContext(),e.forEachIdentityChange(r=>{i.get(r.currentIndex).context.$implicit=r.item.data}),this._updateNoDataRow(),this._ngZone&&yn.isInAngularZone()?this._ngZone.onStable.pipe(Ii(1),vn(this._onDestroy)).subscribe(()=>{this.updateStickyColumnStyles()}):this.updateStickyColumnStyles(),this.contentChanged.next()}addColumnDef(e){this._customColumnDefs.add(e)}removeColumnDef(e){this._customColumnDefs.delete(e)}addRowDef(e){this._customRowDefs.add(e)}removeRowDef(e){this._customRowDefs.delete(e)}addHeaderRowDef(e){this._customHeaderRowDefs.add(e),this._headerRowDefChanged=!0}removeHeaderRowDef(e){this._customHeaderRowDefs.delete(e),this._headerRowDefChanged=!0}addFooterRowDef(e){this._customFooterRowDefs.add(e),this._footerRowDefChanged=!0}removeFooterRowDef(e){this._customFooterRowDefs.delete(e),this._footerRowDefChanged=!0}setNoDataRow(e){this._customNoDataRow=e}updateStickyHeaderRowStyles(){const e=this._getRenderedRows(this._headerRowOutlet),r=this._elementRef.nativeElement.querySelector("thead");r&&(r.style.display=e.length?"":"none");const s=this._headerRowDefs.map(o=>o.sticky);this._stickyStyler.clearStickyPositioning(e,["top"]),this._stickyStyler.stickRows(e,s,"top"),this._headerRowDefs.forEach(o=>o.resetStickyChanged())}updateStickyFooterRowStyles(){const e=this._getRenderedRows(this._footerRowOutlet),r=this._elementRef.nativeElement.querySelector("tfoot");r&&(r.style.display=e.length?"":"none");const s=this._footerRowDefs.map(o=>o.sticky);this._stickyStyler.clearStickyPositioning(e,["bottom"]),this._stickyStyler.stickRows(e,s,"bottom"),this._stickyStyler.updateStickyFooterContainer(this._elementRef.nativeElement,s),this._footerRowDefs.forEach(o=>o.resetStickyChanged())}updateStickyColumnStyles(){const e=this._getRenderedRows(this._headerRowOutlet),i=this._getRenderedRows(this._rowOutlet),r=this._getRenderedRows(this._footerRowOutlet);(this._isNativeHtmlTable&&!this._fixedLayout||this._stickyColumnStylesNeedReset)&&(this._stickyStyler.clearStickyPositioning([...e,...i,...r],["left","right"]),this._stickyColumnStylesNeedReset=!1),e.forEach((s,o)=>{this._addStickyColumnStyles([s],this._headerRowDefs[o])}),this._rowDefs.forEach(s=>{const o=[];for(let a=0;a{this._addStickyColumnStyles([s],this._footerRowDefs[o])}),Array.from(this._columnDefsByName.values()).forEach(s=>s.resetStickyChanged())}_getAllRenderRows(){const e=[],i=this._cachedRenderRowsMap;this._cachedRenderRowsMap=new Map;for(let r=0;r{const a=r&&r.has(o)?r.get(o):[];if(a.length){const l=a.shift();return l.dataIndex=i,l}return{data:e,rowDef:o,dataIndex:i}})}_cacheColumnDefs(){this._columnDefsByName.clear(),N_(this._getOwnDefs(this._contentColumnDefs),this._customColumnDefs).forEach(i=>{this._columnDefsByName.has(i.name),this._columnDefsByName.set(i.name,i)})}_cacheRowDefs(){this._headerRowDefs=N_(this._getOwnDefs(this._contentHeaderRowDefs),this._customHeaderRowDefs),this._footerRowDefs=N_(this._getOwnDefs(this._contentFooterRowDefs),this._customFooterRowDefs),this._rowDefs=N_(this._getOwnDefs(this._contentRowDefs),this._customRowDefs);const e=this._rowDefs.filter(i=>!i.when);this._defaultRowDef=e[0]}_renderUpdatedColumns(){const e=(o,a)=>o||!!a.getColumnsDiff(),i=this._rowDefs.reduce(e,!1);i&&this._forceRenderDataRows();const r=this._headerRowDefs.reduce(e,!1);r&&this._forceRenderHeaderRows();const s=this._footerRowDefs.reduce(e,!1);return s&&this._forceRenderFooterRows(),i||r||s}_switchDataSource(e){this._data=[],k_(this.dataSource)&&this.dataSource.disconnect(this),this._renderChangeSubscription&&(this._renderChangeSubscription.unsubscribe(),this._renderChangeSubscription=null),e||(this._dataDiffer&&this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear()),this._dataSource=e}_observeRenderChanges(){if(!this.dataSource)return;let e;k_(this.dataSource)?e=this.dataSource.connect(this):function LD(n){return!!n&&(n instanceof st||"function"==typeof n.lift&&"function"==typeof n.subscribe)}(this.dataSource)?e=this.dataSource:Array.isArray(this.dataSource)&&(e=Qt(this.dataSource)),this._renderChangeSubscription=e.pipe(vn(this._onDestroy)).subscribe(i=>{this._data=i||[],this.renderRows()})}_forceRenderHeaderRows(){this._headerRowOutlet.viewContainer.length>0&&this._headerRowOutlet.viewContainer.clear(),this._headerRowDefs.forEach((e,i)=>this._renderRow(this._headerRowOutlet,e,i)),this.updateStickyHeaderRowStyles()}_forceRenderFooterRows(){this._footerRowOutlet.viewContainer.length>0&&this._footerRowOutlet.viewContainer.clear(),this._footerRowDefs.forEach((e,i)=>this._renderRow(this._footerRowOutlet,e,i)),this.updateStickyFooterRowStyles()}_addStickyColumnStyles(e,i){const r=Array.from(i.columns||[]).map(a=>this._columnDefsByName.get(a)),s=r.map(a=>a.sticky),o=r.map(a=>a.stickyEnd);this._stickyStyler.updateStickyColumns(e,s,o,!this._fixedLayout||this._forceRecalculateCellWidths)}_getRenderedRows(e){const i=[];for(let r=0;r!s.when||s.when(i,e));else{let s=this._rowDefs.find(o=>o.when&&o.when(i,e))||this._defaultRowDef;s&&r.push(s)}return r}_getEmbeddedViewArgs(e,i){return{templateRef:e.rowDef.template,context:{$implicit:e.data},index:i}}_renderRow(e,i,r,s={}){const o=e.viewContainer.createEmbeddedView(i.template,s,r);return this._renderCellTemplateForItem(i,s),o}_renderCellTemplateForItem(e,i){for(let r of this._getCellTemplates(e))pl.mostRecentCellOutlet&&pl.mostRecentCellOutlet._viewContainer.createEmbeddedView(r,i);this._changeDetectorRef.markForCheck()}_updateRowIndexContext(){const e=this._rowOutlet.viewContainer;for(let i=0,r=e.length;i{const r=this._columnDefsByName.get(i);return e.extractCellTemplate(r)}):[]}_applyNativeTableSections(){const e=this._document.createDocumentFragment(),i=[{tag:"thead",outlets:[this._headerRowOutlet]},{tag:"tbody",outlets:[this._rowOutlet,this._noDataRowOutlet]},{tag:"tfoot",outlets:[this._footerRowOutlet]}];for(const r of i){const s=this._document.createElement(r.tag);s.setAttribute("role","rowgroup");for(const o of r.outlets)s.appendChild(o.elementRef.nativeElement);e.appendChild(s)}this._elementRef.nativeElement.appendChild(e)}_forceRenderDataRows(){this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear(),this.renderRows()}_checkStickyStates(){const e=(i,r)=>i||r.hasStickyChanged();this._headerRowDefs.reduce(e,!1)&&this.updateStickyHeaderRowStyles(),this._footerRowDefs.reduce(e,!1)&&this.updateStickyFooterRowStyles(),Array.from(this._columnDefsByName.values()).reduce(e,!1)&&(this._stickyColumnStylesNeedReset=!0,this.updateStickyColumnStyles())}_setupStickyStyler(){this._stickyStyler=new O9(this._isNativeHtmlTable,this.stickyCssClass,this._dir?this._dir.value:"ltr",this._coalescedStyleScheduler,this._platform.isBrowser,this.needsPositionStickyOnElement,this._stickyPositioningListener),(this._dir?this._dir.change:Qt()).pipe(vn(this._onDestroy)).subscribe(i=>{this._stickyStyler.direction=i,this.updateStickyColumnStyles()})}_getOwnDefs(e){return e.filter(i=>!i._table||i._table===this)}_updateNoDataRow(){const e=this._customNoDataRow||this._noDataRow;if(!e)return;const i=0===this._rowOutlet.viewContainer.length;if(i===this._isShowingNoDataRow)return;const r=this._noDataRowOutlet.viewContainer;if(i){const s=r.createEmbeddedView(e.templateRef),o=s.rootNodes[0];1===s.rootNodes.length&&(null==o?void 0:o.nodeType)===this._document.ELEMENT_NODE&&(o.setAttribute("role","row"),o.classList.add(e._contentClassName))}else r.clear();this._isShowingNoDataRow=i}}return n.\u0275fac=function(e){return new(e||n)(M(_o),M(Gn),M(Zt),_r("role"),M(Hr,8),M(Dn),M(zi),M(Gp),M(BD),M(So),M(qD,12),M(yn,8))},n.\u0275cmp=It({type:n,selectors:[["cdk-table"],["table","cdk-table",""]],contentQueries:function(e,i,r){if(1&e&&(Pn(r,A_,5),Pn(r,hl,5),Pn(r,I_,5),Pn(r,$p,5),Pn(r,Wp,5)),2&e){let s;Et(s=Ct())&&(i._noDataRow=s.first),Et(s=Ct())&&(i._contentColumnDefs=s),Et(s=Ct())&&(i._contentRowDefs=s),Et(s=Ct())&&(i._contentHeaderRowDefs=s),Et(s=Ct())&&(i._contentFooterRowDefs=s)}},viewQuery:function(e,i){if(1&e&&(pn(R_,7),pn(L_,7),pn(O_,7),pn(P_,7)),2&e){let r;Et(r=Ct())&&(i._rowOutlet=r.first),Et(r=Ct())&&(i._headerRowOutlet=r.first),Et(r=Ct())&&(i._footerRowOutlet=r.first),Et(r=Ct())&&(i._noDataRowOutlet=r.first)}},hostAttrs:[1,"cdk-table"],hostVars:2,hostBindings:function(e,i){2&e&&Cn("cdk-table-fixed-layout",i.fixedLayout)},inputs:{trackBy:"trackBy",dataSource:"dataSource",multiTemplateDataRows:"multiTemplateDataRows",fixedLayout:"fixedLayout"},outputs:{contentChanged:"contentChanged"},exportAs:["cdkTable"],features:[tn([{provide:Ld,useExisting:n},{provide:Gp,useClass:fL},{provide:BD,useClass:vL},{provide:qD,useValue:null}])],ngContentSelectors:E9,decls:6,vars:0,consts:[["headerRowOutlet",""],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(e,i){1&e&&(yi(D9),Sn(0),Sn(1,1),ys(2,0)(3,1)(4,2)(5,3))},directives:[L_,R_,P_,O_],styles:[".cdk-table-fixed-layout{table-layout:fixed}\n"],encapsulation:2}),n})();function N_(n,t){return n.concat(Array.from(t))}let ML=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Yt({type:n}),n.\u0275inj=He({imports:[[D_]]}),n})(),DL=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Yt({type:n}),n.\u0275inj=He({}),n})();function Y9(n,t){if(1&n&&bt(0,"mat-pseudo-checkbox",4),2&n){const e=Te();H("state",e.selected?"checked":"unchecked")("disabled",e.disabled)}}function H9(n,t){if(1&n&&(x(0,"span",5),De(1),O()),2&n){const e=Te();B(1),ln("(",e.group.label,")")}}const V9=["*"];let $D=(()=>{class n{}return n.STANDARD_CURVE="cubic-bezier(0.4,0.0,0.2,1)",n.DECELERATION_CURVE="cubic-bezier(0.0,0.0,0.2,1)",n.ACCELERATION_CURVE="cubic-bezier(0.4,0.0,1,1)",n.SHARP_CURVE="cubic-bezier(0.4,0.0,0.6,1)",n})(),WD=(()=>{class n{}return n.COMPLEX="375ms",n.ENTERING="225ms",n.EXITING="195ms",n})();const U9=new ht("mat-sanity-checks",{providedIn:"root",factory:function q9(){return!0}});let mn=(()=>{class n{constructor(e,i,r){this._sanityChecks=i,this._document=r,this._hasDoneGlobalChecks=!1,e._applyBodyHighContrastModeCssClasses(),this._hasDoneGlobalChecks||(this._hasDoneGlobalChecks=!0)}_checkIsEnabled(e){return!fD()&&("boolean"==typeof this._sanityChecks?this._sanityChecks:!!this._sanityChecks[e])}}return n.\u0275fac=function(e){return new(e||n)(Se($R),Se(U9,8),Se(Dn))},n.\u0275mod=Yt({type:n}),n.\u0275inj=He({imports:[[Ad],Ad]}),n})();function eo(n){return class extends n{constructor(...t){super(...t),this._disabled=!1}get disabled(){return this._disabled}set disabled(t){this._disabled=rn(t)}}}function Ya(n,t){return class extends n{constructor(...e){super(...e),this.defaultColor=t,this.color=t}get color(){return this._color}set color(e){const i=e||this.defaultColor;i!==this._color&&(this._color&&this._elementRef.nativeElement.classList.remove(`mat-${this._color}`),i&&this._elementRef.nativeElement.classList.add(`mat-${i}`),this._color=i)}}}function to(n){return class extends n{constructor(...t){super(...t),this._disableRipple=!1}get disableRipple(){return this._disableRipple}set disableRipple(t){this._disableRipple=rn(t)}}}function nc(n,t=0){return class extends n{constructor(...e){super(...e),this._tabIndex=t,this.defaultTabIndex=t}get tabIndex(){return this.disabled?-1:this._tabIndex}set tabIndex(e){this._tabIndex=null!=e?Ai(e):this.defaultTabIndex}}}function QD(n){return class extends n{constructor(...t){super(...t),this.stateChanges=new K,this.errorState=!1}updateErrorState(){const t=this.errorState,s=(this.errorStateMatcher||this._defaultErrorStateMatcher).isErrorState(this.ngControl?this.ngControl.control:null,this._parentFormGroup||this._parentForm);s!==t&&(this.errorState=s,this.stateChanges.next())}}}function TL(n){return class extends n{constructor(...t){super(...t),this._isInitialized=!1,this._pendingSubscribers=[],this.initialized=new st(e=>{this._isInitialized?this._notifySubscriber(e):this._pendingSubscribers.push(e)})}_markInitialized(){this._isInitialized=!0,this._pendingSubscribers.forEach(this._notifySubscriber),this._pendingSubscribers=null}_notifySubscriber(t){t.next(),t.complete()}}}const z9=new ht("MAT_DATE_LOCALE",{providedIn:"root",factory:function G9(){return Ah(tl)}});class Ha{constructor(){this._localeChanges=new K,this.localeChanges=this._localeChanges}getValidDateOrNull(t){return this.isDateInstance(t)&&this.isValid(t)?t:null}deserialize(t){return null==t||this.isDateInstance(t)&&this.isValid(t)?t:this.invalid()}setLocale(t){this.locale=t,this._localeChanges.next()}compareDate(t,e){return this.getYear(t)-this.getYear(e)||this.getMonth(t)-this.getMonth(e)||this.getDate(t)-this.getDate(e)}sameDate(t,e){if(t&&e){let i=this.isValid(t),r=this.isValid(e);return i&&r?!this.compareDate(t,e):i==r}return t==e}clampDate(t,e,i){return e&&this.compareDate(t,e)<0?e:i&&this.compareDate(t,i)>0?i:t}}const KD=new ht("mat-date-formats"),$9=/^\d{4}-\d{2}-\d{2}(?:T\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|(?:(?:\+|-)\d{2}:\d{2}))?)?$/;function ZD(n,t){const e=Array(n);for(let i=0;i{class n extends Ha{constructor(e,i){super(),this.useUtcForDisplay=!1,super.setLocale(e)}getYear(e){return e.getFullYear()}getMonth(e){return e.getMonth()}getDate(e){return e.getDate()}getDayOfWeek(e){return e.getDay()}getMonthNames(e){const i=new Intl.DateTimeFormat(this.locale,{month:e,timeZone:"utc"});return ZD(12,r=>this._format(i,new Date(2017,r,1)))}getDateNames(){const e=new Intl.DateTimeFormat(this.locale,{day:"numeric",timeZone:"utc"});return ZD(31,i=>this._format(e,new Date(2017,0,i+1)))}getDayOfWeekNames(e){const i=new Intl.DateTimeFormat(this.locale,{weekday:e,timeZone:"utc"});return ZD(7,r=>this._format(i,new Date(2017,0,r+1)))}getYearName(e){const i=new Intl.DateTimeFormat(this.locale,{year:"numeric",timeZone:"utc"});return this._format(i,e)}getFirstDayOfWeek(){return 0}getNumDaysInMonth(e){return this.getDate(this._createDateWithOverflow(this.getYear(e),this.getMonth(e)+1,0))}clone(e){return new Date(e.getTime())}createDate(e,i,r){let s=this._createDateWithOverflow(e,i,r);return s.getMonth(),s}today(){return new Date}parse(e){return"number"==typeof e?new Date(e):e?new Date(Date.parse(e)):null}format(e,i){if(!this.isValid(e))throw Error("NativeDateAdapter: Cannot format invalid date.");const r=new Intl.DateTimeFormat(this.locale,Object.assign(Object.assign({},i),{timeZone:"utc"}));return this._format(r,e)}addCalendarYears(e,i){return this.addCalendarMonths(e,12*i)}addCalendarMonths(e,i){let r=this._createDateWithOverflow(this.getYear(e),this.getMonth(e)+i,this.getDate(e));return this.getMonth(r)!=((this.getMonth(e)+i)%12+12)%12&&(r=this._createDateWithOverflow(this.getYear(r),this.getMonth(r),0)),r}addCalendarDays(e,i){return this._createDateWithOverflow(this.getYear(e),this.getMonth(e),this.getDate(e)+i)}toIso8601(e){return[e.getUTCFullYear(),this._2digit(e.getUTCMonth()+1),this._2digit(e.getUTCDate())].join("-")}deserialize(e){if("string"==typeof e){if(!e)return null;if($9.test(e)){let i=new Date(e);if(this.isValid(i))return i}}return super.deserialize(e)}isDateInstance(e){return e instanceof Date}isValid(e){return!isNaN(e.getTime())}invalid(){return new Date(NaN)}_createDateWithOverflow(e,i,r){const s=new Date;return s.setFullYear(e,i,r),s.setHours(0,0,0,0),s}_2digit(e){return("00"+e).slice(-2)}_format(e,i){const r=new Date;return r.setUTCFullYear(i.getFullYear(),i.getMonth(),i.getDate()),r.setUTCHours(i.getHours(),i.getMinutes(),i.getSeconds(),i.getMilliseconds()),e.format(r)}}return n.\u0275fac=function(e){return new(e||n)(Se(z9,8),Se(zi))},n.\u0275prov=Ee({token:n,factory:n.\u0275fac}),n})();const Q9={parse:{dateInput:null},display:{dateInput:{year:"numeric",month:"numeric",day:"numeric"},monthYearLabel:{year:"numeric",month:"short"},dateA11yLabel:{year:"numeric",month:"long",day:"numeric"},monthYearA11yLabel:{year:"numeric",month:"long"}}};let K9=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Yt({type:n}),n.\u0275inj=He({providers:[{provide:Ha,useClass:W9}]}),n})(),Z9=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Yt({type:n}),n.\u0275inj=He({providers:[{provide:KD,useValue:Q9}],imports:[[K9]]}),n})(),Fd=(()=>{class n{isErrorState(e,i){return!!(e&&e.invalid&&(e.touched||i&&i.submitted))}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=Ee({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),SL=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=rt({type:n,selectors:[["","mat-line",""],["","matLine",""]],hostAttrs:[1,"mat-line"]}),n})();function Kp(n,t,e){n.nativeElement.classList.toggle(t,e)}let Y_=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Yt({type:n}),n.\u0275inj=He({imports:[[mn],mn]}),n})();class X9{constructor(t,e,i){this._renderer=t,this.element=e,this.config=i,this.state=3}fadeOut(){this._renderer.fadeOutRipple(this)}}const xL={enterDuration:225,exitDuration:150},XD=na({passive:!0}),IL=["mousedown","touchstart"],AL=["mouseup","mouseleave","touchend","touchcancel"];class RL{constructor(t,e,i,r){this._target=t,this._ngZone=e,this._isPointerDown=!1,this._activeRipples=new Set,this._pointerUpEventsRegistered=!1,r.isBrowser&&(this._containerElement=Dr(i))}fadeInRipple(t,e,i={}){const r=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),s=Object.assign(Object.assign({},xL),i.animation);i.centered&&(t=r.left+r.width/2,e=r.top+r.height/2);const o=i.radius||function t7(n,t,e){const i=Math.max(Math.abs(n-e.left),Math.abs(n-e.right)),r=Math.max(Math.abs(t-e.top),Math.abs(t-e.bottom));return Math.sqrt(i*i+r*r)}(t,e,r),a=t-r.left,l=e-r.top,h=s.enterDuration,f=document.createElement("div");f.classList.add("mat-ripple-element"),f.style.left=a-o+"px",f.style.top=l-o+"px",f.style.height=2*o+"px",f.style.width=2*o+"px",null!=i.color&&(f.style.backgroundColor=i.color),f.style.transitionDuration=`${h}ms`,this._containerElement.appendChild(f),function e7(n){window.getComputedStyle(n).getPropertyValue("opacity")}(f),f.style.transform="scale(1)";const D=new X9(this,f,i);return D.state=0,this._activeRipples.add(D),i.persistent||(this._mostRecentTransientRipple=D),this._runTimeoutOutsideZone(()=>{const k=D===this._mostRecentTransientRipple;D.state=1,!i.persistent&&(!k||!this._isPointerDown)&&D.fadeOut()},h),D}fadeOutRipple(t){const e=this._activeRipples.delete(t);if(t===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),this._activeRipples.size||(this._containerRect=null),!e)return;const i=t.element,r=Object.assign(Object.assign({},xL),t.config.animation);i.style.transitionDuration=`${r.exitDuration}ms`,i.style.opacity="0",t.state=2,this._runTimeoutOutsideZone(()=>{t.state=3,i.remove()},r.exitDuration)}fadeOutAll(){this._activeRipples.forEach(t=>t.fadeOut())}fadeOutAllNonPersistent(){this._activeRipples.forEach(t=>{t.config.persistent||t.fadeOut()})}setupTriggerEvents(t){const e=Dr(t);!e||e===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=e,this._registerEvents(IL))}handleEvent(t){"mousedown"===t.type?this._onMousedown(t):"touchstart"===t.type?this._onTouchStart(t):this._onPointerUp(),this._pointerUpEventsRegistered||(this._registerEvents(AL),this._pointerUpEventsRegistered=!0)}_onMousedown(t){const e=__(t),i=this._lastTouchStartEvent&&Date.now(){!t.config.persistent&&(1===t.state||t.config.terminateOnPointerUp&&0===t.state)&&t.fadeOut()}))}_runTimeoutOutsideZone(t,e=0){this._ngZone.runOutsideAngular(()=>setTimeout(t,e))}_registerEvents(t){this._ngZone.runOutsideAngular(()=>{t.forEach(e=>{this._triggerElement.addEventListener(e,this,XD)})})}_removeTriggerEvents(){this._triggerElement&&(IL.forEach(t=>{this._triggerElement.removeEventListener(t,this,XD)}),this._pointerUpEventsRegistered&&AL.forEach(t=>{this._triggerElement.removeEventListener(t,this,XD)}))}}const LL=new ht("mat-ripple-global-options");let no=(()=>{class n{constructor(e,i,r,s,o){this._elementRef=e,this._animationMode=o,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=s||{},this._rippleRenderer=new RL(this,i,e,r)}get disabled(){return this._disabled}set disabled(e){e&&this.fadeOutAllNonPersistent(),this._disabled=e,this._setupTriggerEventsIfEnabled()}get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(e){this._trigger=e,this._setupTriggerEventsIfEnabled()}ngOnInit(){this._isInitialized=!0,this._setupTriggerEventsIfEnabled()}ngOnDestroy(){this._rippleRenderer._removeTriggerEvents()}fadeOutAll(){this._rippleRenderer.fadeOutAll()}fadeOutAllNonPersistent(){this._rippleRenderer.fadeOutAllNonPersistent()}get rippleConfig(){return{centered:this.centered,radius:this.radius,color:this.color,animation:Object.assign(Object.assign(Object.assign({},this._globalOptions.animation),"NoopAnimations"===this._animationMode?{enterDuration:0,exitDuration:0}:{}),this.animation),terminateOnPointerUp:this._globalOptions.terminateOnPointerUp}}get rippleDisabled(){return this.disabled||!!this._globalOptions.disabled}_setupTriggerEventsIfEnabled(){!this.disabled&&this._isInitialized&&this._rippleRenderer.setupTriggerEvents(this.trigger)}launch(e,i=0,r){return"number"==typeof e?this._rippleRenderer.fadeInRipple(e,i,Object.assign(Object.assign({},this.rippleConfig),r)):this._rippleRenderer.fadeInRipple(0,0,Object.assign(Object.assign({},this.rippleConfig),e))}}return n.\u0275fac=function(e){return new(e||n)(M(Zt),M(yn),M(zi),M(LL,8),M(Zi,8))},n.\u0275dir=rt({type:n,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(e,i){2&e&&Cn("mat-ripple-unbounded",i.unbounded)},inputs:{color:["matRippleColor","color"],unbounded:["matRippleUnbounded","unbounded"],centered:["matRippleCentered","centered"],radius:["matRippleRadius","radius"],animation:["matRippleAnimation","animation"],disabled:["matRippleDisabled","disabled"],trigger:["matRippleTrigger","trigger"]},exportAs:["matRipple"]}),n})(),ra=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Yt({type:n}),n.\u0275inj=He({imports:[[mn],mn]}),n})(),OL=(()=>{class n{constructor(e){this._animationMode=e,this.state="unchecked",this.disabled=!1}}return n.\u0275fac=function(e){return new(e||n)(M(Zi,8))},n.\u0275cmp=It({type:n,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:8,hostBindings:function(e,i){2&e&&Cn("mat-pseudo-checkbox-indeterminate","indeterminate"===i.state)("mat-pseudo-checkbox-checked","checked"===i.state)("mat-pseudo-checkbox-disabled",i.disabled)("_mat-animation-noopable","NoopAnimations"===i._animationMode)},inputs:{state:"state",disabled:"disabled"},decls:0,vars:0,template:function(e,i){},styles:['.mat-pseudo-checkbox{width:16px;height:16px;border:2px solid;border-radius:2px;cursor:pointer;display:inline-block;vertical-align:middle;box-sizing:border-box;position:relative;flex-shrink:0;transition:border-color 90ms cubic-bezier(0, 0, 0.2, 0.1),background-color 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox::after{position:absolute;opacity:0;content:"";border-bottom:2px solid currentColor;transition:opacity 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox.mat-pseudo-checkbox-checked,.mat-pseudo-checkbox.mat-pseudo-checkbox-indeterminate{border-color:transparent}._mat-animation-noopable.mat-pseudo-checkbox{transition:none;animation:none}._mat-animation-noopable.mat-pseudo-checkbox::after{transition:none}.mat-pseudo-checkbox-disabled{cursor:default}.mat-pseudo-checkbox-indeterminate::after{top:5px;left:1px;width:10px;opacity:1;border-radius:2px}.mat-pseudo-checkbox-checked::after{top:2.4px;left:1px;width:8px;height:3px;border-left:2px solid currentColor;transform:rotate(-45deg);opacity:1;box-sizing:content-box}\n'],encapsulation:2,changeDetection:0}),n})(),JD=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Yt({type:n}),n.\u0275inj=He({imports:[[mn]]}),n})();const PL=new ht("MAT_OPTION_PARENT_COMPONENT"),FL=new ht("MatOptgroup");let n7=0;class NL{constructor(t,e=!1){this.source=t,this.isUserInput=e}}let r7=(()=>{class n{constructor(e,i,r,s){this._element=e,this._changeDetectorRef=i,this._parent=r,this.group=s,this._selected=!1,this._active=!1,this._disabled=!1,this._mostRecentViewValue="",this.id="mat-option-"+n7++,this.onSelectionChange=new jt,this._stateChanges=new K}get multiple(){return this._parent&&this._parent.multiple}get selected(){return this._selected}get disabled(){return this.group&&this.group.disabled||this._disabled}set disabled(e){this._disabled=rn(e)}get disableRipple(){return!(!this._parent||!this._parent.disableRipple)}get active(){return this._active}get viewValue(){return(this._getHostElement().textContent||"").trim()}select(){this._selected||(this._selected=!0,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent())}deselect(){this._selected&&(this._selected=!1,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent())}focus(e,i){const r=this._getHostElement();"function"==typeof r.focus&&r.focus(i)}setActiveStyles(){this._active||(this._active=!0,this._changeDetectorRef.markForCheck())}setInactiveStyles(){this._active&&(this._active=!1,this._changeDetectorRef.markForCheck())}getLabel(){return this.viewValue}_handleKeydown(e){(13===e.keyCode||32===e.keyCode)&&!Qr(e)&&(this._selectViaInteraction(),e.preventDefault())}_selectViaInteraction(){this.disabled||(this._selected=!this.multiple||!this._selected,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent(!0))}_getAriaSelected(){return this.selected||!this.multiple&&null}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._element.nativeElement}ngAfterViewChecked(){if(this._selected){const e=this.viewValue;e!==this._mostRecentViewValue&&(this._mostRecentViewValue=e,this._stateChanges.next())}}ngOnDestroy(){this._stateChanges.complete()}_emitSelectionChangeEvent(e=!1){this.onSelectionChange.emit(new NL(this,e))}}return n.\u0275fac=function(e){Ja()},n.\u0275dir=rt({type:n,inputs:{value:"value",id:"id",disabled:"disabled"},outputs:{onSelectionChange:"onSelectionChange"}}),n})(),sa=(()=>{class n extends r7{constructor(e,i,r,s){super(e,i,r,s)}}return n.\u0275fac=function(e){return new(e||n)(M(Zt),M(Gn),M(PL,8),M(FL,8))},n.\u0275cmp=It({type:n,selectors:[["mat-option"]],hostAttrs:["role","option",1,"mat-option","mat-focus-indicator"],hostVars:12,hostBindings:function(e,i){1&e&&Je("click",function(){return i._selectViaInteraction()})("keydown",function(s){return i._handleKeydown(s)}),2&e&&(go("id",i.id),hn("tabindex",i._getTabIndex())("aria-selected",i._getAriaSelected())("aria-disabled",i.disabled.toString()),Cn("mat-selected",i.selected)("mat-option-multiple",i.multiple)("mat-active",i.active)("mat-option-disabled",i.disabled))},exportAs:["matOption"],features:[xt],ngContentSelectors:V9,decls:5,vars:4,consts:[["class","mat-option-pseudo-checkbox",3,"state","disabled",4,"ngIf"],[1,"mat-option-text"],["class","cdk-visually-hidden",4,"ngIf"],["mat-ripple","",1,"mat-option-ripple",3,"matRippleTrigger","matRippleDisabled"],[1,"mat-option-pseudo-checkbox",3,"state","disabled"],[1,"cdk-visually-hidden"]],template:function(e,i){1&e&&(yi(),Ae(0,Y9,1,2,"mat-pseudo-checkbox",0),x(1,"span",1),Sn(2),O(),Ae(3,H9,2,1,"span",2),bt(4,"div",3)),2&e&&(H("ngIf",i.multiple),B(3),H("ngIf",i.group&&i.group._inert),B(1),H("matRippleTrigger",i._getHostElement())("matRippleDisabled",i.disabled||i.disableRipple))},directives:[OL,ai,no],styles:[".mat-option{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;line-height:48px;height:48px;padding:0 16px;text-align:left;text-decoration:none;max-width:100%;position:relative;cursor:pointer;outline:none;display:flex;flex-direction:row;max-width:100%;box-sizing:border-box;align-items:center;-webkit-tap-highlight-color:transparent}.mat-option[disabled]{cursor:default}[dir=rtl] .mat-option{text-align:right}.mat-option .mat-icon{margin-right:16px;vertical-align:middle}.mat-option .mat-icon svg{vertical-align:top}[dir=rtl] .mat-option .mat-icon{margin-left:16px;margin-right:0}.mat-option[aria-disabled=true]{-webkit-user-select:none;user-select:none;cursor:default}.mat-optgroup .mat-option:not(.mat-option-multiple){padding-left:32px}[dir=rtl] .mat-optgroup .mat-option:not(.mat-option-multiple){padding-left:16px;padding-right:32px}.cdk-high-contrast-active .mat-option{margin:0 1px}.cdk-high-contrast-active .mat-option.mat-active{border:solid 1px currentColor;margin:0}.cdk-high-contrast-active .mat-option[aria-disabled=true]{opacity:.5}.mat-option-text{display:inline-block;flex-grow:1;overflow:hidden;text-overflow:ellipsis}.mat-option .mat-option-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-option-pseudo-checkbox{margin-right:8px}[dir=rtl] .mat-option-pseudo-checkbox{margin-left:8px;margin-right:0}\n"],encapsulation:2,changeDetection:0}),n})();function H_(n,t,e){if(e.length){let i=t.toArray(),r=e.toArray(),s=0;for(let o=0;o{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Yt({type:n}),n.\u0275inj=He({imports:[[ra,di,mn,JD]]}),n})();class e0{attach(t){return this._attachedHost=t,t.attach(this)}detach(){let t=this._attachedHost;null!=t&&(this._attachedHost=null,t.detach())}get isAttached(){return null!=this._attachedHost}setAttachedHost(t){this._attachedHost=t}}class Nd extends e0{constructor(t,e,i,r){super(),this.component=t,this.viewContainerRef=e,this.injector=i,this.componentFactoryResolver=r}}class ic extends e0{constructor(t,e,i){super(),this.templateRef=t,this.viewContainerRef=e,this.context=i}get origin(){return this.templateRef.elementRef}attach(t,e=this.context){return this.context=e,super.attach(t)}detach(){return this.context=void 0,super.detach()}}class s7 extends e0{constructor(t){super(),this.element=t instanceof Zt?t.nativeElement:t}}class q_{constructor(){this._isDisposed=!1,this.attachDomPortal=null}hasAttached(){return!!this._attachedPortal}attach(t){return t instanceof Nd?(this._attachedPortal=t,this.attachComponentPortal(t)):t instanceof ic?(this._attachedPortal=t,this.attachTemplatePortal(t)):this.attachDomPortal&&t instanceof s7?(this._attachedPortal=t,this.attachDomPortal(t)):void 0}detach(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()}dispose(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0}setDisposeFn(t){this._disposeFn=t}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}}class o7 extends q_{constructor(t,e,i,r,s){super(),this.outletElement=t,this._componentFactoryResolver=e,this._appRef=i,this._defaultInjector=r,this.attachDomPortal=o=>{const a=o.element,l=this._document.createComment("dom-portal");a.parentNode.insertBefore(l,a),this.outletElement.appendChild(a),this._attachedPortal=o,super.setDisposeFn(()=>{l.parentNode&&l.parentNode.replaceChild(a,l)})},this._document=s}attachComponentPortal(t){const i=(t.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(t.component);let r;return t.viewContainerRef?(r=t.viewContainerRef.createComponent(i,t.viewContainerRef.length,t.injector||t.viewContainerRef.injector),this.setDisposeFn(()=>r.destroy())):(r=i.create(t.injector||this._defaultInjector||qi.NULL),this._appRef.attachView(r.hostView),this.setDisposeFn(()=>{this._appRef.viewCount>0&&this._appRef.detachView(r.hostView),r.destroy()})),this.outletElement.appendChild(this._getComponentRootNode(r)),this._attachedPortal=t,r}attachTemplatePortal(t){let e=t.viewContainerRef,i=e.createEmbeddedView(t.templateRef,t.context);return i.rootNodes.forEach(r=>this.outletElement.appendChild(r)),i.detectChanges(),this.setDisposeFn(()=>{let r=e.indexOf(i);-1!==r&&e.remove(r)}),this._attachedPortal=t,i}dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(t){return t.hostView.rootNodes[0]}}let rc=(()=>{class n extends q_{constructor(e,i,r){super(),this._componentFactoryResolver=e,this._viewContainerRef=i,this._isInitialized=!1,this.attached=new jt,this.attachDomPortal=s=>{const o=s.element,a=this._document.createComment("dom-portal");s.setAttachedHost(this),o.parentNode.insertBefore(a,o),this._getRootNode().appendChild(o),this._attachedPortal=s,super.setDisposeFn(()=>{a.parentNode&&a.parentNode.replaceChild(o,a)})},this._document=r}get portal(){return this._attachedPortal}set portal(e){this.hasAttached()&&!e&&!this._isInitialized||(this.hasAttached()&&super.detach(),e&&super.attach(e),this._attachedPortal=e||null)}get attachedRef(){return this._attachedRef}ngOnInit(){this._isInitialized=!0}ngOnDestroy(){super.dispose(),this._attachedPortal=null,this._attachedRef=null}attachComponentPortal(e){e.setAttachedHost(this);const i=null!=e.viewContainerRef?e.viewContainerRef:this._viewContainerRef,s=(e.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(e.component),o=i.createComponent(s,i.length,e.injector||i.injector);return i!==this._viewContainerRef&&this._getRootNode().appendChild(o.hostView.rootNodes[0]),super.setDisposeFn(()=>o.destroy()),this._attachedPortal=e,this._attachedRef=o,this.attached.emit(o),o}attachTemplatePortal(e){e.setAttachedHost(this);const i=this._viewContainerRef.createEmbeddedView(e.templateRef,e.context);return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=e,this._attachedRef=i,this.attached.emit(i),i}_getRootNode(){const e=this._viewContainerRef.element.nativeElement;return e.nodeType===e.ELEMENT_NODE?e:e.parentNode}}return n.\u0275fac=function(e){return new(e||n)(M(Hl),M(Si),M(Dn))},n.\u0275dir=rt({type:n,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:["cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[xt]}),n})(),sc=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Yt({type:n}),n.\u0275inj=He({}),n})();class l7{constructor(t,e){this.predicate=t,this.inclusive=e}call(t,e){return e.subscribe(new c7(t,this.predicate,this.inclusive))}}class c7 extends F{constructor(t,e,i){super(t),this.predicate=e,this.inclusive=i,this.index=0}_next(t){const e=this.destination;let i;try{i=this.predicate(t,this.index++)}catch(r){return void e.error(r)}this.nextOrComplete(t,i)}nextOrComplete(t,e){const i=this.destination;Boolean(e)?i.next(t):(this.inclusive&&i.next(t),i.complete())}}const jL=J6();class u7{constructor(t,e){this._viewportRuler=t,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=e}attach(){}enable(){if(this._canBeEnabled()){const t=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=t.style.left||"",this._previousHTMLStyles.top=t.style.top||"",t.style.left=Ar(-this._previousScrollPosition.left),t.style.top=Ar(-this._previousScrollPosition.top),t.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){const t=this._document.documentElement,i=t.style,r=this._document.body.style,s=i.scrollBehavior||"",o=r.scrollBehavior||"";this._isEnabled=!1,i.left=this._previousHTMLStyles.left,i.top=this._previousHTMLStyles.top,t.classList.remove("cdk-global-scrollblock"),jL&&(i.scrollBehavior=r.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),jL&&(i.scrollBehavior=s,r.scrollBehavior=o)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;const e=this._document.body,i=this._viewportRuler.getViewportSize();return e.scrollHeight>i.height||e.scrollWidth>i.width}}class d7{constructor(t,e,i,r){this._scrollDispatcher=t,this._ngZone=e,this._viewportRuler=i,this._config=r,this._scrollSubscription=null,this._detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}}attach(t){this._overlayRef=t}enable(){if(this._scrollSubscription)return;const t=this._scrollDispatcher.scrolled(0);this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=t.subscribe(()=>{const e=this._viewportRuler.getViewportScrollPosition().top;Math.abs(e-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=t.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}class YL{enable(){}disable(){}attach(){}}function t0(n,t){return t.some(e=>n.bottome.bottom||n.righte.right)}function HL(n,t){return t.some(e=>n.tope.bottom||n.lefte.right)}class h7{constructor(t,e,i,r){this._scrollDispatcher=t,this._viewportRuler=e,this._ngZone=i,this._config=r,this._scrollSubscription=null}attach(t){this._overlayRef=t}enable(){this._scrollSubscription||(this._scrollSubscription=this._scrollDispatcher.scrolled(this._config?this._config.scrollThrottle:0).subscribe(()=>{if(this._overlayRef.updatePosition(),this._config&&this._config.autoClose){const e=this._overlayRef.overlayElement.getBoundingClientRect(),{width:i,height:r}=this._viewportRuler.getViewportSize();t0(e,[{width:i,height:r,bottom:r,right:i,top:0,left:0}])&&(this.disable(),this._ngZone.run(()=>this._overlayRef.detach()))}}))}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}let p7=(()=>{class n{constructor(e,i,r,s){this._scrollDispatcher=e,this._viewportRuler=i,this._ngZone=r,this.noop=()=>new YL,this.close=o=>new d7(this._scrollDispatcher,this._ngZone,this._viewportRuler,o),this.block=()=>new u7(this._viewportRuler,this._document),this.reposition=o=>new h7(this._scrollDispatcher,this._viewportRuler,this._ngZone,o),this._document=s}}return n.\u0275fac=function(e){return new(e||n)(Se(XR),Se(So),Se(yn),Se(Dn))},n.\u0275prov=Ee({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();class Bd{constructor(t){if(this.scrollStrategy=new YL,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,t){const e=Object.keys(t);for(const i of e)void 0!==t[i]&&(this[i]=t[i])}}}class m7{constructor(t,e){this.connectionPair=t,this.scrollableViewProperties=e}}class f7{constructor(t,e,i,r,s,o,a,l,h){this._portalOutlet=t,this._host=e,this._pane=i,this._config=r,this._ngZone=s,this._keyboardDispatcher=o,this._document=a,this._location=l,this._outsideClickDispatcher=h,this._backdropElement=null,this._backdropClick=new K,this._attachments=new K,this._detachments=new K,this._locationChanges=P.EMPTY,this._backdropClickHandler=f=>this._backdropClick.next(f),this._backdropTransitionendHandler=f=>{this._disposeBackdrop(f.target)},this._keydownEvents=new K,this._outsidePointerEvents=new K,r.scrollStrategy&&(this._scrollStrategy=r.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=r.positionStrategy}get overlayElement(){return this._pane}get backdropElement(){return this._backdropElement}get hostElement(){return this._host}attach(t){!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host);const e=this._portalOutlet.attach(t);return this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._ngZone.onStable.pipe(Ii(1)).subscribe(()=>{this.hasAttached()&&this.updatePosition()}),this._togglePointerEvents(!0),this._config.hasBackdrop&&this._attachBackdrop(),this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!0),this._attachments.next(),this._keyboardDispatcher.add(this),this._config.disposeOnNavigation&&(this._locationChanges=this._location.subscribe(()=>this.dispose())),this._outsideClickDispatcher.add(this),e}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();const t=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenStable(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),t}dispose(){var t;const e=this.hasAttached();this._positionStrategy&&this._positionStrategy.dispose(),this._disposeScrollStrategy(),this._disposeBackdrop(this._backdropElement),this._locationChanges.unsubscribe(),this._keyboardDispatcher.remove(this),this._portalOutlet.dispose(),this._attachments.complete(),this._backdropClick.complete(),this._keydownEvents.complete(),this._outsidePointerEvents.complete(),this._outsideClickDispatcher.remove(this),null===(t=this._host)||void 0===t||t.remove(),this._previousHostParent=this._pane=this._host=null,e&&this._detachments.next(),this._detachments.complete()}hasAttached(){return this._portalOutlet.hasAttached()}backdropClick(){return this._backdropClick}attachments(){return this._attachments}detachments(){return this._detachments}keydownEvents(){return this._keydownEvents}outsidePointerEvents(){return this._outsidePointerEvents}getConfig(){return this._config}updatePosition(){this._positionStrategy&&this._positionStrategy.apply()}updatePositionStrategy(t){t!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=t,this.hasAttached()&&(t.attach(this),this.updatePosition()))}updateSize(t){this._config=Object.assign(Object.assign({},this._config),t),this._updateElementSize()}setDirection(t){this._config=Object.assign(Object.assign({},this._config),{direction:t}),this._updateElementDirection()}addPanelClass(t){this._pane&&this._toggleClasses(this._pane,t,!0)}removePanelClass(t){this._pane&&this._toggleClasses(this._pane,t,!1)}getDirection(){const t=this._config.direction;return t?"string"==typeof t?t:t.value:"ltr"}updateScrollStrategy(t){t!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=t,this.hasAttached()&&(t.attach(this),t.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;const t=this._pane.style;t.width=Ar(this._config.width),t.height=Ar(this._config.height),t.minWidth=Ar(this._config.minWidth),t.minHeight=Ar(this._config.minHeight),t.maxWidth=Ar(this._config.maxWidth),t.maxHeight=Ar(this._config.maxHeight)}_togglePointerEvents(t){this._pane.style.pointerEvents=t?"":"none"}_attachBackdrop(){const t="cdk-overlay-backdrop-showing";this._backdropElement=this._document.createElement("div"),this._backdropElement.classList.add("cdk-overlay-backdrop"),this._config.backdropClass&&this._toggleClasses(this._backdropElement,this._config.backdropClass,!0),this._host.parentElement.insertBefore(this._backdropElement,this._host),this._backdropElement.addEventListener("click",this._backdropClickHandler),"undefined"!=typeof requestAnimationFrame?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>{this._backdropElement&&this._backdropElement.classList.add(t)})}):this._backdropElement.classList.add(t)}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){const t=this._backdropElement;!t||(t.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular(()=>{t.addEventListener("transitionend",this._backdropTransitionendHandler)}),t.style.pointerEvents="none",this._backdropTimeout=this._ngZone.runOutsideAngular(()=>setTimeout(()=>{this._disposeBackdrop(t)},500)))}_toggleClasses(t,e,i){const r=d_(e||[]).filter(s=>!!s);r.length&&(i?t.classList.add(...r):t.classList.remove(...r))}_detachContentWhenStable(){this._ngZone.runOutsideAngular(()=>{const t=this._ngZone.onStable.pipe(vn(at(this._attachments,this._detachments))).subscribe(()=>{(!this._pane||!this._host||0===this._pane.children.length)&&(this._pane&&this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!1),this._host&&this._host.parentElement&&(this._previousHostParent=this._host.parentElement,this._host.remove()),t.unsubscribe())})})}_disposeScrollStrategy(){const t=this._scrollStrategy;t&&(t.disable(),t.detach&&t.detach())}_disposeBackdrop(t){t&&(t.removeEventListener("click",this._backdropClickHandler),t.removeEventListener("transitionend",this._backdropTransitionendHandler),t.remove(),this._backdropElement===t&&(this._backdropElement=null)),this._backdropTimeout&&(clearTimeout(this._backdropTimeout),this._backdropTimeout=void 0)}}let n0=(()=>{class n{constructor(e,i){this._platform=i,this._document=e}ngOnDestroy(){var e;null===(e=this._containerElement)||void 0===e||e.remove()}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){const e="cdk-overlay-container";if(this._platform.isBrowser||fD()){const r=this._document.querySelectorAll(`.${e}[platform="server"], .${e}[platform="test"]`);for(let s=0;s{this._isInitialRender=!0,this.apply()})}apply(){if(this._isDisposed||!this._platform.isBrowser)return;if(!this._isInitialRender&&this._positionLocked&&this._lastPosition)return void this.reapplyLastPosition();this._clearPanelClasses(),this._resetOverlayElementStyles(),this._resetBoundingBoxStyles(),this._viewportRect=this._getNarrowedViewportRect(),this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();const t=this._originRect,e=this._overlayRect,i=this._viewportRect,r=this._containerRect,s=[];let o;for(let a of this._preferredPositions){let l=this._getOriginPoint(t,r,a),h=this._getOverlayPoint(l,e,a),f=this._getOverlayFit(h,e,i,a);if(f.isCompletelyWithinViewport)return this._isPushed=!1,void this._applyPosition(a,l);this._canFitWithFlexibleDimensions(f,h,i)?s.push({position:a,origin:l,overlayRect:e,boundingBoxRect:this._calculateBoundingBoxRect(l,a)}):(!o||o.overlayFit.visibleAreal&&(l=f,a=h)}return this._isPushed=!1,void this._applyPosition(a.position,a.origin)}if(this._canPush)return this._isPushed=!0,void this._applyPosition(o.position,o.originPoint);this._applyPosition(o.position,o.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&ru(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(VL),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(this._isDisposed||!this._platform.isBrowser)return;const t=this._lastPosition;if(t){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();const e=this._getOriginPoint(this._originRect,this._containerRect,t);this._applyPosition(t,e)}else this.apply()}withScrollableContainers(t){return this._scrollables=t,this}withPositions(t){return this._preferredPositions=t,-1===t.indexOf(this._lastPosition)&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(t){return this._viewportMargin=t,this}withFlexibleDimensions(t=!0){return this._hasFlexibleDimensions=t,this}withGrowAfterOpen(t=!0){return this._growAfterOpen=t,this}withPush(t=!0){return this._canPush=t,this}withLockedPosition(t=!0){return this._positionLocked=t,this}setOrigin(t){return this._origin=t,this}withDefaultOffsetX(t){return this._offsetX=t,this}withDefaultOffsetY(t){return this._offsetY=t,this}withTransformOriginOn(t){return this._transformOriginSelector=t,this}_getOriginPoint(t,e,i){let r,s;if("center"==i.originX)r=t.left+t.width/2;else{const o=this._isRtl()?t.right:t.left,a=this._isRtl()?t.left:t.right;r="start"==i.originX?o:a}return e.left<0&&(r-=e.left),s="center"==i.originY?t.top+t.height/2:"top"==i.originY?t.top:t.bottom,e.top<0&&(s-=e.top),{x:r,y:s}}_getOverlayPoint(t,e,i){let r,s;return r="center"==i.overlayX?-e.width/2:"start"===i.overlayX?this._isRtl()?-e.width:0:this._isRtl()?0:-e.width,s="center"==i.overlayY?-e.height/2:"top"==i.overlayY?0:-e.height,{x:t.x+r,y:t.y+s}}_getOverlayFit(t,e,i,r){const s=UL(e);let{x:o,y:a}=t,l=this._getOffset(r,"x"),h=this._getOffset(r,"y");l&&(o+=l),h&&(a+=h);let k=0-a,Y=a+s.height-i.height,oe=this._subtractOverflows(s.width,0-o,o+s.width-i.width),Ne=this._subtractOverflows(s.height,k,Y),$e=oe*Ne;return{visibleArea:$e,isCompletelyWithinViewport:s.width*s.height===$e,fitsInViewportVertically:Ne===s.height,fitsInViewportHorizontally:oe==s.width}}_canFitWithFlexibleDimensions(t,e,i){if(this._hasFlexibleDimensions){const r=i.bottom-e.y,s=i.right-e.x,o=qL(this._overlayRef.getConfig().minHeight),a=qL(this._overlayRef.getConfig().minWidth),h=t.fitsInViewportHorizontally||null!=a&&a<=s;return(t.fitsInViewportVertically||null!=o&&o<=r)&&h}return!1}_pushOverlayOnScreen(t,e,i){if(this._previousPushAmount&&this._positionLocked)return{x:t.x+this._previousPushAmount.x,y:t.y+this._previousPushAmount.y};const r=UL(e),s=this._viewportRect,o=Math.max(t.x+r.width-s.width,0),a=Math.max(t.y+r.height-s.height,0),l=Math.max(s.top-i.top-t.y,0),h=Math.max(s.left-i.left-t.x,0);let f=0,D=0;return f=r.width<=s.width?h||-o:t.xoe&&!this._isInitialRender&&!this._growAfterOpen&&(o=t.y-oe/2)}if("end"===e.overlayX&&!r||"start"===e.overlayX&&r)k=i.width-t.x+this._viewportMargin,f=t.x-this._viewportMargin;else if("start"===e.overlayX&&!r||"end"===e.overlayX&&r)D=t.x,f=i.right-t.x;else{const Y=Math.min(i.right-t.x+i.left,t.x),oe=this._lastBoundingBoxSize.width;f=2*Y,D=t.x-Y,f>oe&&!this._isInitialRender&&!this._growAfterOpen&&(D=t.x-oe/2)}return{top:o,left:D,bottom:a,right:k,width:f,height:s}}_setBoundingBoxStyles(t,e){const i=this._calculateBoundingBoxRect(t,e);!this._isInitialRender&&!this._growAfterOpen&&(i.height=Math.min(i.height,this._lastBoundingBoxSize.height),i.width=Math.min(i.width,this._lastBoundingBoxSize.width));const r={};if(this._hasExactPosition())r.top=r.left="0",r.bottom=r.right=r.maxHeight=r.maxWidth="",r.width=r.height="100%";else{const s=this._overlayRef.getConfig().maxHeight,o=this._overlayRef.getConfig().maxWidth;r.height=Ar(i.height),r.top=Ar(i.top),r.bottom=Ar(i.bottom),r.width=Ar(i.width),r.left=Ar(i.left),r.right=Ar(i.right),r.alignItems="center"===e.overlayX?"center":"end"===e.overlayX?"flex-end":"flex-start",r.justifyContent="center"===e.overlayY?"center":"bottom"===e.overlayY?"flex-end":"flex-start",s&&(r.maxHeight=Ar(s)),o&&(r.maxWidth=Ar(o))}this._lastBoundingBoxSize=i,ru(this._boundingBox.style,r)}_resetBoundingBoxStyles(){ru(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){ru(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(t,e){const i={},r=this._hasExactPosition(),s=this._hasFlexibleDimensions,o=this._overlayRef.getConfig();if(r){const f=this._viewportRuler.getViewportScrollPosition();ru(i,this._getExactOverlayY(e,t,f)),ru(i,this._getExactOverlayX(e,t,f))}else i.position="static";let a="",l=this._getOffset(e,"x"),h=this._getOffset(e,"y");l&&(a+=`translateX(${l}px) `),h&&(a+=`translateY(${h}px)`),i.transform=a.trim(),o.maxHeight&&(r?i.maxHeight=Ar(o.maxHeight):s&&(i.maxHeight="")),o.maxWidth&&(r?i.maxWidth=Ar(o.maxWidth):s&&(i.maxWidth="")),ru(this._pane.style,i)}_getExactOverlayY(t,e,i){let r={top:"",bottom:""},s=this._getOverlayPoint(e,this._overlayRect,t);return this._isPushed&&(s=this._pushOverlayOnScreen(s,this._overlayRect,i)),"bottom"===t.overlayY?r.bottom=this._document.documentElement.clientHeight-(s.y+this._overlayRect.height)+"px":r.top=Ar(s.y),r}_getExactOverlayX(t,e,i){let o,r={left:"",right:""},s=this._getOverlayPoint(e,this._overlayRect,t);return this._isPushed&&(s=this._pushOverlayOnScreen(s,this._overlayRect,i)),o=this._isRtl()?"end"===t.overlayX?"left":"right":"end"===t.overlayX?"right":"left","right"===o?r.right=this._document.documentElement.clientWidth-(s.x+this._overlayRect.width)+"px":r.left=Ar(s.x),r}_getScrollVisibility(){const t=this._getOriginRect(),e=this._pane.getBoundingClientRect(),i=this._scrollables.map(r=>r.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:HL(t,i),isOriginOutsideView:t0(t,i),isOverlayClipped:HL(e,i),isOverlayOutsideView:t0(e,i)}}_subtractOverflows(t,...e){return e.reduce((i,r)=>i-Math.max(r,0),t)}_getNarrowedViewportRect(){const t=this._document.documentElement.clientWidth,e=this._document.documentElement.clientHeight,i=this._viewportRuler.getViewportScrollPosition();return{top:i.top+this._viewportMargin,left:i.left+this._viewportMargin,right:i.left+t-this._viewportMargin,bottom:i.top+e-this._viewportMargin,width:t-2*this._viewportMargin,height:e-2*this._viewportMargin}}_isRtl(){return"rtl"===this._overlayRef.getDirection()}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(t,e){return"x"===e?null==t.offsetX?this._offsetX:t.offsetX:null==t.offsetY?this._offsetY:t.offsetY}_validatePositions(){}_addPanelClasses(t){this._pane&&d_(t).forEach(e=>{""!==e&&-1===this._appliedPanelClasses.indexOf(e)&&(this._appliedPanelClasses.push(e),this._pane.classList.add(e))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(t=>{this._pane.classList.remove(t)}),this._appliedPanelClasses=[])}_getOriginRect(){const t=this._origin;if(t instanceof Zt)return t.nativeElement.getBoundingClientRect();if(t instanceof Element)return t.getBoundingClientRect();const e=t.width||0,i=t.height||0;return{top:t.y,bottom:t.y+i,left:t.x,right:t.x+e,height:i,width:e}}}function ru(n,t){for(let e in t)t.hasOwnProperty(e)&&(n[e]=t[e]);return n}function qL(n){if("number"!=typeof n&&null!=n){const[t,e]=n.split(g7);return e&&"px"!==e?null:parseFloat(t)}return n||null}function UL(n){return{top:Math.floor(n.top),right:Math.floor(n.right),bottom:Math.floor(n.bottom),left:Math.floor(n.left),width:Math.floor(n.width),height:Math.floor(n.height)}}const zL="cdk-global-overlay-wrapper";class y7{constructor(){this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._leftOffset="",this._rightOffset="",this._alignItems="",this._justifyContent="",this._width="",this._height=""}attach(t){const e=t.getConfig();this._overlayRef=t,this._width&&!e.width&&t.updateSize({width:this._width}),this._height&&!e.height&&t.updateSize({height:this._height}),t.hostElement.classList.add(zL),this._isDisposed=!1}top(t=""){return this._bottomOffset="",this._topOffset=t,this._alignItems="flex-start",this}left(t=""){return this._rightOffset="",this._leftOffset=t,this._justifyContent="flex-start",this}bottom(t=""){return this._topOffset="",this._bottomOffset=t,this._alignItems="flex-end",this}right(t=""){return this._leftOffset="",this._rightOffset=t,this._justifyContent="flex-end",this}width(t=""){return this._overlayRef?this._overlayRef.updateSize({width:t}):this._width=t,this}height(t=""){return this._overlayRef?this._overlayRef.updateSize({height:t}):this._height=t,this}centerHorizontally(t=""){return this.left(t),this._justifyContent="center",this}centerVertically(t=""){return this.top(t),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;const t=this._overlayRef.overlayElement.style,e=this._overlayRef.hostElement.style,i=this._overlayRef.getConfig(),{width:r,height:s,maxWidth:o,maxHeight:a}=i,l=!("100%"!==r&&"100vw"!==r||o&&"100%"!==o&&"100vw"!==o),h=!("100%"!==s&&"100vh"!==s||a&&"100%"!==a&&"100vh"!==a);t.position=this._cssPosition,t.marginLeft=l?"0":this._leftOffset,t.marginTop=h?"0":this._topOffset,t.marginBottom=this._bottomOffset,t.marginRight=this._rightOffset,l?e.justifyContent="flex-start":"center"===this._justifyContent?e.justifyContent="center":"rtl"===this._overlayRef.getConfig().direction?"flex-start"===this._justifyContent?e.justifyContent="flex-end":"flex-end"===this._justifyContent&&(e.justifyContent="flex-start"):e.justifyContent=this._justifyContent,e.alignItems=h?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;const t=this._overlayRef.overlayElement.style,e=this._overlayRef.hostElement,i=e.style;e.classList.remove(zL),i.justifyContent=i.alignItems=t.marginTop=t.marginBottom=t.marginLeft=t.marginRight=t.position="",this._overlayRef=null,this._isDisposed=!0}}let v7=(()=>{class n{constructor(e,i,r,s){this._viewportRuler=e,this._document=i,this._platform=r,this._overlayContainer=s}global(){return new y7}flexibleConnectedTo(e){return new _7(e,this._viewportRuler,this._document,this._platform,this._overlayContainer)}}return n.\u0275fac=function(e){return new(e||n)(Se(So),Se(Dn),Se(zi),Se(n0))},n.\u0275prov=Ee({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),GL=(()=>{class n{constructor(e){this._attachedOverlays=[],this._document=e}ngOnDestroy(){this.detach()}add(e){this.remove(e),this._attachedOverlays.push(e)}remove(e){const i=this._attachedOverlays.indexOf(e);i>-1&&this._attachedOverlays.splice(i,1),0===this._attachedOverlays.length&&this.detach()}}return n.\u0275fac=function(e){return new(e||n)(Se(Dn))},n.\u0275prov=Ee({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),b7=(()=>{class n extends GL{constructor(e,i){super(e),this._ngZone=i,this._keydownListener=r=>{const s=this._attachedOverlays;for(let o=s.length-1;o>-1;o--)if(s[o]._keydownEvents.observers.length>0){const a=s[o]._keydownEvents;this._ngZone?this._ngZone.run(()=>a.next(r)):a.next(r);break}}}add(e){super.add(e),this._isAttached||(this._ngZone?this._ngZone.runOutsideAngular(()=>this._document.body.addEventListener("keydown",this._keydownListener)):this._document.body.addEventListener("keydown",this._keydownListener),this._isAttached=!0)}detach(){this._isAttached&&(this._document.body.removeEventListener("keydown",this._keydownListener),this._isAttached=!1)}}return n.\u0275fac=function(e){return new(e||n)(Se(Dn),Se(yn,8))},n.\u0275prov=Ee({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),w7=(()=>{class n extends GL{constructor(e,i,r){super(e),this._platform=i,this._ngZone=r,this._cursorStyleIsSet=!1,this._pointerDownListener=s=>{this._pointerDownEventTarget=To(s)},this._clickListener=s=>{const o=To(s),a="click"===s.type&&this._pointerDownEventTarget?this._pointerDownEventTarget:o;this._pointerDownEventTarget=null;const l=this._attachedOverlays.slice();for(let h=l.length-1;h>-1;h--){const f=l[h];if(f._outsidePointerEvents.observers.length<1||!f.hasAttached())continue;if(f.overlayElement.contains(o)||f.overlayElement.contains(a))break;const D=f._outsidePointerEvents;this._ngZone?this._ngZone.run(()=>D.next(s)):D.next(s)}}}add(e){if(super.add(e),!this._isAttached){const i=this._document.body;this._ngZone?this._ngZone.runOutsideAngular(()=>this._addEventListeners(i)):this._addEventListeners(i),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=i.style.cursor,i.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}detach(){if(this._isAttached){const e=this._document.body;e.removeEventListener("pointerdown",this._pointerDownListener,!0),e.removeEventListener("click",this._clickListener,!0),e.removeEventListener("auxclick",this._clickListener,!0),e.removeEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&this._cursorStyleIsSet&&(e.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1}}_addEventListeners(e){e.addEventListener("pointerdown",this._pointerDownListener,!0),e.addEventListener("click",this._clickListener,!0),e.addEventListener("auxclick",this._clickListener,!0),e.addEventListener("contextmenu",this._clickListener,!0)}}return n.\u0275fac=function(e){return new(e||n)(Se(Dn),Se(zi),Se(yn,8))},n.\u0275prov=Ee({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),M7=0,Ds=(()=>{class n{constructor(e,i,r,s,o,a,l,h,f,D,k){this.scrollStrategies=e,this._overlayContainer=i,this._componentFactoryResolver=r,this._positionBuilder=s,this._keyboardDispatcher=o,this._injector=a,this._ngZone=l,this._document=h,this._directionality=f,this._location=D,this._outsideClickDispatcher=k}create(e){const i=this._createHostElement(),r=this._createPaneElement(i),s=this._createPortalOutlet(r),o=new Bd(e);return o.direction=o.direction||this._directionality.value,new f7(s,i,r,o,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher)}position(){return this._positionBuilder}_createPaneElement(e){const i=this._document.createElement("div");return i.id="cdk-overlay-"+M7++,i.classList.add("cdk-overlay-pane"),e.appendChild(i),i}_createHostElement(){const e=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(e),e}_createPortalOutlet(e){return this._appRef||(this._appRef=this._injector.get(Lf)),new o7(e,this._componentFactoryResolver,this._appRef,this._injector,this._document)}}return n.\u0275fac=function(e){return new(e||n)(Se(p7),Se(n0),Se(Hl),Se(v7),Se(b7),Se(qi),Se(yn),Se(Dn),Se(Hr),Se(Yc),Se(w7))},n.\u0275prov=Ee({token:n,factory:n.\u0275fac}),n})();const D7=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],$L=new ht("cdk-connected-overlay-scroll-strategy");let WL=(()=>{class n{constructor(e){this.elementRef=e}}return n.\u0275fac=function(e){return new(e||n)(M(Zt))},n.\u0275dir=rt({type:n,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"]}),n})(),QL=(()=>{class n{constructor(e,i,r,s,o){this._overlay=e,this._dir=o,this._hasBackdrop=!1,this._lockPosition=!1,this._growAfterOpen=!1,this._flexibleDimensions=!1,this._push=!1,this._backdropSubscription=P.EMPTY,this._attachSubscription=P.EMPTY,this._detachSubscription=P.EMPTY,this._positionSubscription=P.EMPTY,this.viewportMargin=0,this.open=!1,this.disableClose=!1,this.backdropClick=new jt,this.positionChange=new jt,this.attach=new jt,this.detach=new jt,this.overlayKeydown=new jt,this.overlayOutsideClick=new jt,this._templatePortal=new ic(i,r),this._scrollStrategyFactory=s,this.scrollStrategy=this._scrollStrategyFactory()}get offsetX(){return this._offsetX}set offsetX(e){this._offsetX=e,this._position&&this._updatePositionStrategy(this._position)}get offsetY(){return this._offsetY}set offsetY(e){this._offsetY=e,this._position&&this._updatePositionStrategy(this._position)}get hasBackdrop(){return this._hasBackdrop}set hasBackdrop(e){this._hasBackdrop=rn(e)}get lockPosition(){return this._lockPosition}set lockPosition(e){this._lockPosition=rn(e)}get flexibleDimensions(){return this._flexibleDimensions}set flexibleDimensions(e){this._flexibleDimensions=rn(e)}get growAfterOpen(){return this._growAfterOpen}set growAfterOpen(e){this._growAfterOpen=rn(e)}get push(){return this._push}set push(e){this._push=rn(e)}get overlayRef(){return this._overlayRef}get dir(){return this._dir?this._dir.value:"ltr"}ngOnDestroy(){this._attachSubscription.unsubscribe(),this._detachSubscription.unsubscribe(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this._overlayRef&&this._overlayRef.dispose()}ngOnChanges(e){this._position&&(this._updatePositionStrategy(this._position),this._overlayRef.updateSize({width:this.width,minWidth:this.minWidth,height:this.height,minHeight:this.minHeight}),e.origin&&this.open&&this._position.apply()),e.open&&(this.open?this._attachOverlay():this._detachOverlay())}_createOverlay(){(!this.positions||!this.positions.length)&&(this.positions=D7);const e=this._overlayRef=this._overlay.create(this._buildConfig());this._attachSubscription=e.attachments().subscribe(()=>this.attach.emit()),this._detachSubscription=e.detachments().subscribe(()=>this.detach.emit()),e.keydownEvents().subscribe(i=>{this.overlayKeydown.next(i),27===i.keyCode&&!this.disableClose&&!Qr(i)&&(i.preventDefault(),this._detachOverlay())}),this._overlayRef.outsidePointerEvents().subscribe(i=>{this.overlayOutsideClick.next(i)})}_buildConfig(){const e=this._position=this.positionStrategy||this._createPositionStrategy(),i=new Bd({direction:this._dir,positionStrategy:e,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop});return(this.width||0===this.width)&&(i.width=this.width),(this.height||0===this.height)&&(i.height=this.height),(this.minWidth||0===this.minWidth)&&(i.minWidth=this.minWidth),(this.minHeight||0===this.minHeight)&&(i.minHeight=this.minHeight),this.backdropClass&&(i.backdropClass=this.backdropClass),this.panelClass&&(i.panelClass=this.panelClass),i}_updatePositionStrategy(e){const i=this.positions.map(r=>({originX:r.originX,originY:r.originY,overlayX:r.overlayX,overlayY:r.overlayY,offsetX:r.offsetX||this.offsetX,offsetY:r.offsetY||this.offsetY,panelClass:r.panelClass||void 0}));return e.setOrigin(this._getFlexibleConnectedPositionStrategyOrigin()).withPositions(i).withFlexibleDimensions(this.flexibleDimensions).withPush(this.push).withGrowAfterOpen(this.growAfterOpen).withViewportMargin(this.viewportMargin).withLockedPosition(this.lockPosition).withTransformOriginOn(this.transformOriginSelector)}_createPositionStrategy(){const e=this._overlay.position().flexibleConnectedTo(this._getFlexibleConnectedPositionStrategyOrigin());return this._updatePositionStrategy(e),e}_getFlexibleConnectedPositionStrategyOrigin(){return this.origin instanceof WL?this.origin.elementRef:this.origin}_attachOverlay(){this._overlayRef?this._overlayRef.getConfig().hasBackdrop=this.hasBackdrop:this._createOverlay(),this._overlayRef.hasAttached()||this._overlayRef.attach(this._templatePortal),this.hasBackdrop?this._backdropSubscription=this._overlayRef.backdropClick().subscribe(e=>{this.backdropClick.emit(e)}):this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.positionChange.observers.length>0&&(this._positionSubscription=this._position.positionChanges.pipe(function a7(n,t=!1){return e=>e.lift(new l7(n,t))}(()=>this.positionChange.observers.length>0)).subscribe(e=>{this.positionChange.emit(e),0===this.positionChange.observers.length&&this._positionSubscription.unsubscribe()}))}_detachOverlay(){this._overlayRef&&this._overlayRef.detach(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe()}}return n.\u0275fac=function(e){return new(e||n)(M(Ds),M(Wi),M(Si),M($L),M(Hr,8))},n.\u0275dir=rt({type:n,selectors:[["","cdk-connected-overlay",""],["","connected-overlay",""],["","cdkConnectedOverlay",""]],inputs:{origin:["cdkConnectedOverlayOrigin","origin"],positions:["cdkConnectedOverlayPositions","positions"],positionStrategy:["cdkConnectedOverlayPositionStrategy","positionStrategy"],offsetX:["cdkConnectedOverlayOffsetX","offsetX"],offsetY:["cdkConnectedOverlayOffsetY","offsetY"],width:["cdkConnectedOverlayWidth","width"],height:["cdkConnectedOverlayHeight","height"],minWidth:["cdkConnectedOverlayMinWidth","minWidth"],minHeight:["cdkConnectedOverlayMinHeight","minHeight"],backdropClass:["cdkConnectedOverlayBackdropClass","backdropClass"],panelClass:["cdkConnectedOverlayPanelClass","panelClass"],viewportMargin:["cdkConnectedOverlayViewportMargin","viewportMargin"],scrollStrategy:["cdkConnectedOverlayScrollStrategy","scrollStrategy"],open:["cdkConnectedOverlayOpen","open"],disableClose:["cdkConnectedOverlayDisableClose","disableClose"],transformOriginSelector:["cdkConnectedOverlayTransformOriginOn","transformOriginSelector"],hasBackdrop:["cdkConnectedOverlayHasBackdrop","hasBackdrop"],lockPosition:["cdkConnectedOverlayLockPosition","lockPosition"],flexibleDimensions:["cdkConnectedOverlayFlexibleDimensions","flexibleDimensions"],growAfterOpen:["cdkConnectedOverlayGrowAfterOpen","growAfterOpen"],push:["cdkConnectedOverlayPush","push"]},outputs:{backdropClick:"backdropClick",positionChange:"positionChange",attach:"attach",detach:"detach",overlayKeydown:"overlayKeydown",overlayOutsideClick:"overlayOutsideClick"},exportAs:["cdkConnectedOverlay"],features:[Jn]}),n})();const C7={provide:$L,deps:[Ds],useFactory:function E7(n){return()=>n.scrollStrategies.reposition()}};let oc=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Yt({type:n}),n.\u0275inj=He({providers:[Ds,C7],imports:[[Ad,sc,D_],D_]}),n})();const T7=["connectionContainer"],S7=["inputContainer"],k7=["label"];function x7(n,t){1&n&&(Gr(0),x(1,"div",14),bt(2,"div",15)(3,"div",16)(4,"div",17),O(),x(5,"div",18),bt(6,"div",15)(7,"div",16)(8,"div",17),O(),$r())}function I7(n,t){if(1&n){const e=an();x(0,"div",19),Je("cdkObserveContent",function(){return Ut(e),Te().updateOutlineGap()}),Sn(1,1),O()}2&n&&H("cdkObserveContentDisabled","outline"!=Te().appearance)}function A7(n,t){if(1&n&&(Gr(0),Sn(1,2),x(2,"span"),De(3),O(),$r()),2&n){const e=Te(2);B(3),vi(e._control.placeholder)}}function R7(n,t){1&n&&Sn(0,3,["*ngSwitchCase","true"])}function L7(n,t){1&n&&(x(0,"span",23),De(1," *"),O())}function O7(n,t){if(1&n){const e=an();x(0,"label",20,21),Je("cdkObserveContent",function(){return Ut(e),Te().updateOutlineGap()}),Ae(2,A7,4,1,"ng-container",12),Ae(3,R7,1,0,"ng-content",12),Ae(4,L7,2,0,"span",22),O()}if(2&n){const e=Te();Cn("mat-empty",e._control.empty&&!e._shouldAlwaysFloat())("mat-form-field-empty",e._control.empty&&!e._shouldAlwaysFloat())("mat-accent","accent"==e.color)("mat-warn","warn"==e.color),H("cdkObserveContentDisabled","outline"!=e.appearance)("id",e._labelId)("ngSwitch",e._hasLabel()),hn("for",e._control.id)("aria-owns",e._control.id),B(2),H("ngSwitchCase",!1),B(1),H("ngSwitchCase",!0),B(1),H("ngIf",!e.hideRequiredMarker&&e._control.required&&!e._control.disabled)}}function P7(n,t){1&n&&(x(0,"div",24),Sn(1,4),O())}function F7(n,t){if(1&n&&(x(0,"div",25),bt(1,"span",26),O()),2&n){const e=Te();B(1),Cn("mat-accent","accent"==e.color)("mat-warn","warn"==e.color)}}function N7(n,t){1&n&&(x(0,"div"),Sn(1,5),O()),2&n&&H("@transitionMessages",Te()._subscriptAnimationState)}function B7(n,t){if(1&n&&(x(0,"div",30),De(1),O()),2&n){const e=Te(2);H("id",e._hintLabelId),B(1),vi(e.hintLabel)}}function j7(n,t){if(1&n&&(x(0,"div",27),Ae(1,B7,2,2,"div",28),Sn(2,6),bt(3,"div",29),Sn(4,7),O()),2&n){const e=Te();H("@transitionMessages",e._subscriptAnimationState),B(1),H("ngIf",e.hintLabel)}}const Y7=["*",[["","matPrefix",""]],[["mat-placeholder"]],[["mat-label"]],[["","matSuffix",""]],[["mat-error"]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],H7=["*","[matPrefix]","mat-placeholder","mat-label","[matSuffix]","mat-error","mat-hint:not([align='end'])","mat-hint[align='end']"];let V7=0;const KL=new ht("MatError");let Zp=(()=>{class n{constructor(e,i){this.id="mat-error-"+V7++,e||i.nativeElement.setAttribute("aria-live","polite")}}return n.\u0275fac=function(e){return new(e||n)(_r("aria-live"),M(Zt))},n.\u0275dir=rt({type:n,selectors:[["mat-error"]],hostAttrs:["aria-atomic","true",1,"mat-error"],hostVars:1,hostBindings:function(e,i){2&e&&hn("id",i.id)},inputs:{id:"id"},features:[tn([{provide:KL,useExisting:n}])]}),n})();const q7={transitionMessages:Ki("transitionMessages",[qn("enter",cn({opacity:1,transform:"translateY(0%)"})),Zn("void => enter",[cn({opacity:0,transform:"translateY(-5px)"}),ti("300ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])};let Xp=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=rt({type:n}),n})(),U7=0;const ZL=new ht("MatHint");let r0=(()=>{class n{constructor(){this.align="start",this.id="mat-hint-"+U7++}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=rt({type:n,selectors:[["mat-hint"]],hostAttrs:[1,"mat-hint"],hostVars:4,hostBindings:function(e,i){2&e&&(hn("id",i.id)("align",null),Cn("mat-form-field-hint-end","end"===i.align))},inputs:{align:"align",id:"id"},features:[tn([{provide:ZL,useExisting:n}])]}),n})(),U_=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=rt({type:n,selectors:[["mat-label"]]}),n})(),z7=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=rt({type:n,selectors:[["mat-placeholder"]]}),n})();const G7=new ht("MatPrefix"),$7=new ht("MatSuffix");let XL=0;const Q7=Ya(class{constructor(n){this._elementRef=n}},"primary"),K7=new ht("MAT_FORM_FIELD_DEFAULT_OPTIONS"),Jp=new ht("MatFormField");let Er=(()=>{class n extends Q7{constructor(e,i,r,s,o,a,l){super(e),this._changeDetectorRef=i,this._dir=r,this._defaults=s,this._platform=o,this._ngZone=a,this._outlineGapCalculationNeededImmediately=!1,this._outlineGapCalculationNeededOnStable=!1,this._destroyed=new K,this._showAlwaysAnimate=!1,this._subscriptAnimationState="",this._hintLabel="",this._hintLabelId="mat-hint-"+XL++,this._labelId="mat-form-field-label-"+XL++,this.floatLabel=this._getDefaultFloatLabelState(),this._animationsEnabled="NoopAnimations"!==l,this.appearance=s&&s.appearance?s.appearance:"legacy",this._hideRequiredMarker=!(!s||null==s.hideRequiredMarker)&&s.hideRequiredMarker}get appearance(){return this._appearance}set appearance(e){const i=this._appearance;this._appearance=e||this._defaults&&this._defaults.appearance||"legacy","outline"===this._appearance&&i!==e&&(this._outlineGapCalculationNeededOnStable=!0)}get hideRequiredMarker(){return this._hideRequiredMarker}set hideRequiredMarker(e){this._hideRequiredMarker=rn(e)}_shouldAlwaysFloat(){return"always"===this.floatLabel&&!this._showAlwaysAnimate}_canLabelFloat(){return"never"!==this.floatLabel}get hintLabel(){return this._hintLabel}set hintLabel(e){this._hintLabel=e,this._processHints()}get floatLabel(){return"legacy"!==this.appearance&&"never"===this._floatLabel?"auto":this._floatLabel}set floatLabel(e){e!==this._floatLabel&&(this._floatLabel=e||this._getDefaultFloatLabelState(),this._changeDetectorRef.markForCheck())}get _control(){return this._explicitFormFieldControl||this._controlNonStatic||this._controlStatic}set _control(e){this._explicitFormFieldControl=e}getLabelId(){return this._hasFloatingLabel()?this._labelId:null}getConnectedOverlayOrigin(){return this._connectionContainerRef||this._elementRef}ngAfterContentInit(){this._validateControlChild();const e=this._control;e.controlType&&this._elementRef.nativeElement.classList.add(`mat-form-field-type-${e.controlType}`),e.stateChanges.pipe(hr(null)).subscribe(()=>{this._validatePlaceholders(),this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),e.ngControl&&e.ngControl.valueChanges&&e.ngControl.valueChanges.pipe(vn(this._destroyed)).subscribe(()=>this._changeDetectorRef.markForCheck()),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.pipe(vn(this._destroyed)).subscribe(()=>{this._outlineGapCalculationNeededOnStable&&this.updateOutlineGap()})}),at(this._prefixChildren.changes,this._suffixChildren.changes).subscribe(()=>{this._outlineGapCalculationNeededOnStable=!0,this._changeDetectorRef.markForCheck()}),this._hintChildren.changes.pipe(hr(null)).subscribe(()=>{this._processHints(),this._changeDetectorRef.markForCheck()}),this._errorChildren.changes.pipe(hr(null)).subscribe(()=>{this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),this._dir&&this._dir.change.pipe(vn(this._destroyed)).subscribe(()=>{"function"==typeof requestAnimationFrame?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>this.updateOutlineGap())}):this.updateOutlineGap()})}ngAfterContentChecked(){this._validateControlChild(),this._outlineGapCalculationNeededImmediately&&this.updateOutlineGap()}ngAfterViewInit(){this._subscriptAnimationState="enter",this._changeDetectorRef.detectChanges()}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}_shouldForward(e){const i=this._control?this._control.ngControl:null;return i&&i[e]}_hasPlaceholder(){return!!(this._control&&this._control.placeholder||this._placeholderChild)}_hasLabel(){return!(!this._labelChildNonStatic&&!this._labelChildStatic)}_shouldLabelFloat(){return this._canLabelFloat()&&(this._control&&this._control.shouldLabelFloat||this._shouldAlwaysFloat())}_hideControlPlaceholder(){return"legacy"===this.appearance&&!this._hasLabel()||this._hasLabel()&&!this._shouldLabelFloat()}_hasFloatingLabel(){return this._hasLabel()||"legacy"===this.appearance&&this._hasPlaceholder()}_getDisplayedMessages(){return this._errorChildren&&this._errorChildren.length>0&&this._control.errorState?"error":"hint"}_animateAndLockLabel(){this._hasFloatingLabel()&&this._canLabelFloat()&&(this._animationsEnabled&&this._label&&(this._showAlwaysAnimate=!0,Na(this._label.nativeElement,"transitionend").pipe(Ii(1)).subscribe(()=>{this._showAlwaysAnimate=!1})),this.floatLabel="always",this._changeDetectorRef.markForCheck())}_validatePlaceholders(){}_processHints(){this._validateHints(),this._syncDescribedByIds()}_validateHints(){}_getDefaultFloatLabelState(){return this._defaults&&this._defaults.floatLabel||"auto"}_syncDescribedByIds(){if(this._control){let e=[];if(this._control.userAriaDescribedBy&&"string"==typeof this._control.userAriaDescribedBy&&e.push(...this._control.userAriaDescribedBy.split(" ")),"hint"===this._getDisplayedMessages()){const i=this._hintChildren?this._hintChildren.find(s=>"start"===s.align):null,r=this._hintChildren?this._hintChildren.find(s=>"end"===s.align):null;i?e.push(i.id):this._hintLabel&&e.push(this._hintLabelId),r&&e.push(r.id)}else this._errorChildren&&e.push(...this._errorChildren.map(i=>i.id));this._control.setDescribedByIds(e)}}_validateControlChild(){}updateOutlineGap(){const e=this._label?this._label.nativeElement:null,i=this._connectionContainerRef.nativeElement,r=".mat-form-field-outline-start",s=".mat-form-field-outline-gap";if("outline"!==this.appearance||!this._platform.isBrowser)return;if(!e||!e.children.length||!e.textContent.trim()){const f=i.querySelectorAll(`${r}, ${s}`);for(let D=0;D0?.75*oe+10:0}for(let f=0;f{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Yt({type:n}),n.\u0275inj=He({imports:[[di,mn,jp],mn]}),n})();function z_(n,t=xd){const i=function Z7(n){return n instanceof Date&&!isNaN(+n)}(n)?+n-t.now():Math.abs(n);return r=>r.lift(new X7(i,t))}class X7{constructor(t,e){this.delay=t,this.scheduler=e}call(t,e){return e.subscribe(new o0(t,this.delay,this.scheduler))}}class o0 extends F{constructor(t,e,i){super(t),this.delay=e,this.scheduler=i,this.queue=[],this.active=!1,this.errored=!1}static dispatch(t){const e=t.source,i=e.queue,r=t.scheduler,s=t.destination;for(;i.length>0&&i[0].time-r.now()<=0;)i.shift().notification.observe(s);if(i.length>0){const o=Math.max(0,i[0].time-r.now());this.schedule(t,o)}else this.unsubscribe(),e.active=!1}_schedule(t){this.active=!0,this.destination.add(t.schedule(o0.dispatch,this.delay,{source:this,destination:this.destination,scheduler:t}))}scheduleNotification(t){if(!0===this.errored)return;const e=this.scheduler,i=new J7(e.now()+this.delay,t);this.queue.push(i),!1===this.active&&this._schedule(e)}_next(t){this.scheduleNotification(Ps.createNext(t))}_error(t){this.errored=!0,this.queue=[],this.destination.error(t),this.unsubscribe()}_complete(){this.scheduleNotification(Ps.createComplete()),this.unsubscribe()}}class J7{constructor(t,e){this.time=t,this.notification=e}}const iQ={provide:new ht("mat-autocomplete-scroll-strategy"),deps:[Ds],useFactory:function nQ(n){return()=>n.scrollStrategies.reposition()}};let aQ=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Yt({type:n}),n.\u0275inj=He({providers:[iQ],imports:[[oc,V_,mn,di],Ba,V_,mn]}),n})(),lQ=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Yt({type:n}),n.\u0275inj=He({imports:[[b_,mn],mn]}),n})(),cQ=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Yt({type:n}),n.\u0275inj=He({imports:[[oc,mn,sc],mn]}),n})();const uQ=["mat-button",""],dQ=["*"],pQ=["mat-button","mat-flat-button","mat-icon-button","mat-raised-button","mat-stroked-button","mat-mini-fab","mat-fab"],mQ=Ya(eo(to(class{constructor(n){this._elementRef=n}})));let bi=(()=>{class n extends mQ{constructor(e,i,r){super(e),this._focusMonitor=i,this._animationMode=r,this.isRoundButton=this._hasHostAttributes("mat-fab","mat-mini-fab"),this.isIconButton=this._hasHostAttributes("mat-icon-button");for(const s of pQ)this._hasHostAttributes(s)&&this._getHostElement().classList.add(s);e.nativeElement.classList.add("mat-button-base"),this.isRoundButton&&(this.color="accent")}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}focus(e,i){e?this._focusMonitor.focusVia(this._getHostElement(),e,i):this._getHostElement().focus(i)}_getHostElement(){return this._elementRef.nativeElement}_isRippleDisabled(){return this.disableRipple||this.disabled}_hasHostAttributes(...e){return e.some(i=>this._getHostElement().hasAttribute(i))}}return n.\u0275fac=function(e){return new(e||n)(M(Zt),M(Ns),M(Zi,8))},n.\u0275cmp=It({type:n,selectors:[["button","mat-button",""],["button","mat-raised-button",""],["button","mat-icon-button",""],["button","mat-fab",""],["button","mat-mini-fab",""],["button","mat-stroked-button",""],["button","mat-flat-button",""]],viewQuery:function(e,i){if(1&e&&pn(no,5),2&e){let r;Et(r=Ct())&&(i.ripple=r.first)}},hostAttrs:[1,"mat-focus-indicator"],hostVars:5,hostBindings:function(e,i){2&e&&(hn("disabled",i.disabled||null),Cn("_mat-animation-noopable","NoopAnimations"===i._animationMode)("mat-button-disabled",i.disabled))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color"},exportAs:["matButton"],features:[xt],attrs:uQ,ngContentSelectors:dQ,decls:4,vars:5,consts:[[1,"mat-button-wrapper"],["matRipple","",1,"mat-button-ripple",3,"matRippleDisabled","matRippleCentered","matRippleTrigger"],[1,"mat-button-focus-overlay"]],template:function(e,i){1&e&&(yi(),x(0,"span",0),Sn(1),O(),bt(2,"span",1)(3,"span",2)),2&e&&(B(2),Cn("mat-button-ripple-round",i.isRoundButton||i.isIconButton),H("matRippleDisabled",i._isRippleDisabled())("matRippleCentered",i.isIconButton)("matRippleTrigger",i._getHostElement()))},directives:[no],styles:[".mat-button .mat-button-focus-overlay,.mat-icon-button .mat-button-focus-overlay{opacity:0}.mat-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay,.mat-stroked-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay{opacity:.04}@media(hover: none){.mat-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay,.mat-stroked-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay{opacity:0}}.mat-button,.mat-icon-button,.mat-stroked-button,.mat-flat-button{box-sizing:border-box;position:relative;-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible}.mat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner{border:0}.mat-button.mat-button-disabled,.mat-icon-button.mat-button-disabled,.mat-stroked-button.mat-button-disabled,.mat-flat-button.mat-button-disabled{cursor:default}.mat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-button.cdk-program-focused .mat-button-focus-overlay,.mat-icon-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-icon-button.cdk-program-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-program-focused .mat-button-focus-overlay,.mat-flat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-flat-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner{border:0}.mat-raised-button{box-sizing:border-box;position:relative;-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-raised-button::-moz-focus-inner{border:0}.mat-raised-button.mat-button-disabled{cursor:default}.mat-raised-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-raised-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-raised-button::-moz-focus-inner{border:0}._mat-animation-noopable.mat-raised-button{transition:none;animation:none}.mat-stroked-button{border:1px solid currentColor;padding:0 15px;line-height:34px}.mat-stroked-button .mat-button-ripple.mat-ripple,.mat-stroked-button .mat-button-focus-overlay{top:-1px;left:-1px;right:-1px;bottom:-1px}.mat-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);min-width:0;border-radius:50%;width:56px;height:56px;padding:0;flex-shrink:0}.mat-fab::-moz-focus-inner{border:0}.mat-fab.mat-button-disabled{cursor:default}.mat-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-fab::-moz-focus-inner{border:0}._mat-animation-noopable.mat-fab{transition:none;animation:none}.mat-fab .mat-button-wrapper{padding:16px 0;display:inline-block;line-height:24px}.mat-mini-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);min-width:0;border-radius:50%;width:40px;height:40px;padding:0;flex-shrink:0}.mat-mini-fab::-moz-focus-inner{border:0}.mat-mini-fab.mat-button-disabled{cursor:default}.mat-mini-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-mini-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-mini-fab::-moz-focus-inner{border:0}._mat-animation-noopable.mat-mini-fab{transition:none;animation:none}.mat-mini-fab .mat-button-wrapper{padding:8px 0;display:inline-block;line-height:24px}.mat-icon-button{padding:0;min-width:0;width:40px;height:40px;flex-shrink:0;line-height:40px;border-radius:50%}.mat-icon-button i,.mat-icon-button .mat-icon{line-height:24px}.mat-button-ripple.mat-ripple,.mat-button-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-button-ripple.mat-ripple:not(:empty){transform:translateZ(0)}.mat-button-focus-overlay{opacity:0;transition:opacity 200ms cubic-bezier(0.35, 0, 0.25, 1),background-color 200ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable .mat-button-focus-overlay{transition:none}.mat-button-ripple-round{border-radius:50%;z-index:1}.mat-button .mat-button-wrapper>*,.mat-flat-button .mat-button-wrapper>*,.mat-stroked-button .mat-button-wrapper>*,.mat-raised-button .mat-button-wrapper>*,.mat-icon-button .mat-button-wrapper>*,.mat-fab .mat-button-wrapper>*,.mat-mini-fab .mat-button-wrapper>*{vertical-align:middle}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button{display:inline-flex;justify-content:center;align-items:center;font-size:inherit;width:2.5em;height:2.5em}.cdk-high-contrast-active .mat-button,.cdk-high-contrast-active .mat-flat-button,.cdk-high-contrast-active .mat-raised-button,.cdk-high-contrast-active .mat-icon-button,.cdk-high-contrast-active .mat-fab,.cdk-high-contrast-active .mat-mini-fab{outline:solid 1px}.cdk-high-contrast-active .mat-button-base.cdk-keyboard-focused,.cdk-high-contrast-active .mat-button-base.cdk-program-focused{outline:solid 3px}\n"],encapsulation:2,changeDetection:0}),n})(),jd=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Yt({type:n}),n.\u0275inj=He({imports:[[ra,mn],mn]}),n})(),wQ=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Yt({type:n}),n.\u0275inj=He({imports:[[mn,ra],mn]}),n})();const MQ=["*",[["mat-card-footer"]]],DQ=["*","mat-card-footer"],EQ=[[["","mat-card-avatar",""],["","matCardAvatar",""]],[["mat-card-title"],["mat-card-subtitle"],["","mat-card-title",""],["","mat-card-subtitle",""],["","matCardTitle",""],["","matCardSubtitle",""]],"*"],CQ=["[mat-card-avatar], [matCardAvatar]","mat-card-title, mat-card-subtitle,\n [mat-card-title], [mat-card-subtitle],\n [matCardTitle], [matCardSubtitle]","*"];let TQ=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=rt({type:n,selectors:[["mat-card-content"],["","mat-card-content",""],["","matCardContent",""]],hostAttrs:[1,"mat-card-content"]}),n})(),sO=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=rt({type:n,selectors:[["mat-card-title"],["","mat-card-title",""],["","matCardTitle",""]],hostAttrs:[1,"mat-card-title"]}),n})(),SQ=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=rt({type:n,selectors:[["mat-card-subtitle"],["","mat-card-subtitle",""],["","matCardSubtitle",""]],hostAttrs:[1,"mat-card-subtitle"]}),n})(),kQ=(()=>{class n{constructor(){this.align="start"}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=rt({type:n,selectors:[["mat-card-actions"]],hostAttrs:[1,"mat-card-actions"],hostVars:2,hostBindings:function(e,i){2&e&&Cn("mat-card-actions-align-end","end"===i.align)},inputs:{align:"align"},exportAs:["matCardActions"]}),n})(),a0=(()=>{class n{constructor(e){this._animationMode=e}}return n.\u0275fac=function(e){return new(e||n)(M(Zi,8))},n.\u0275cmp=It({type:n,selectors:[["mat-card"]],hostAttrs:[1,"mat-card","mat-focus-indicator"],hostVars:2,hostBindings:function(e,i){2&e&&Cn("_mat-animation-noopable","NoopAnimations"===i._animationMode)},exportAs:["matCard"],ngContentSelectors:DQ,decls:2,vars:0,template:function(e,i){1&e&&(yi(MQ),Sn(0),Sn(1,1))},styles:[".mat-card{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);display:block;position:relative;padding:16px;border-radius:4px}._mat-animation-noopable.mat-card{transition:none;animation:none}.mat-card .mat-divider-horizontal{position:absolute;left:0;width:100%}[dir=rtl] .mat-card .mat-divider-horizontal{left:auto;right:0}.mat-card .mat-divider-horizontal.mat-divider-inset{position:static;margin:0}[dir=rtl] .mat-card .mat-divider-horizontal.mat-divider-inset{margin-right:0}.cdk-high-contrast-active .mat-card{outline:solid 1px}.mat-card-actions,.mat-card-subtitle,.mat-card-content{display:block;margin-bottom:16px}.mat-card-title{display:block;margin-bottom:8px}.mat-card-actions{margin-left:-8px;margin-right:-8px;padding:8px 0}.mat-card-actions-align-end{display:flex;justify-content:flex-end}.mat-card-image{width:calc(100% + 32px);margin:0 -16px 16px -16px;display:block;overflow:hidden}.mat-card-image img{width:100%}.mat-card-footer{display:block;margin:0 -16px -16px -16px}.mat-card-actions .mat-button,.mat-card-actions .mat-raised-button,.mat-card-actions .mat-stroked-button{margin:0 8px}.mat-card-header{display:flex;flex-direction:row}.mat-card-header .mat-card-title{margin-bottom:12px}.mat-card-header-text{margin:0 16px}.mat-card-avatar{height:40px;width:40px;border-radius:50%;flex-shrink:0;object-fit:cover}.mat-card-title-group{display:flex;justify-content:space-between}.mat-card-sm-image{width:80px;height:80px}.mat-card-md-image{width:112px;height:112px}.mat-card-lg-image{width:152px;height:152px}.mat-card-xl-image{width:240px;height:240px;margin:-8px}.mat-card-title-group>.mat-card-xl-image{margin:-8px 0 8px}@media(max-width: 599px){.mat-card-title-group{margin:0}.mat-card-xl-image{margin-left:0;margin-right:0}}.mat-card>:first-child,.mat-card-content>:first-child{margin-top:0}.mat-card>:last-child:not(.mat-card-footer),.mat-card-content>:last-child:not(.mat-card-footer){margin-bottom:0}.mat-card-image:first-child{margin-top:-16px;border-top-left-radius:inherit;border-top-right-radius:inherit}.mat-card>.mat-card-actions:last-child{margin-bottom:-8px;padding-bottom:0}.mat-card-actions:not(.mat-card-actions-align-end) .mat-button:first-child,.mat-card-actions:not(.mat-card-actions-align-end) .mat-raised-button:first-child,.mat-card-actions:not(.mat-card-actions-align-end) .mat-stroked-button:first-child{margin-left:0;margin-right:0}.mat-card-actions-align-end .mat-button:last-child,.mat-card-actions-align-end .mat-raised-button:last-child,.mat-card-actions-align-end .mat-stroked-button:last-child{margin-left:0;margin-right:0}.mat-card-title:not(:first-child),.mat-card-subtitle:not(:first-child){margin-top:-4px}.mat-card-header .mat-card-subtitle:not(:first-child){margin-top:-8px}.mat-card>.mat-card-xl-image:first-child{margin-top:-8px}.mat-card>.mat-card-xl-image:last-child{margin-bottom:-8px}\n"],encapsulation:2,changeDetection:0}),n})(),oO=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=It({type:n,selectors:[["mat-card-header"]],hostAttrs:[1,"mat-card-header"],ngContentSelectors:CQ,decls:4,vars:0,consts:[[1,"mat-card-header-text"]],template:function(e,i){1&e&&(yi(EQ),Sn(0),x(1,"div",0),Sn(2,1),O(),Sn(3,2))},encapsulation:2,changeDetection:0}),n})(),xQ=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Yt({type:n}),n.\u0275inj=He({imports:[[mn],mn]}),n})();const IQ=["input"],AQ=function(n){return{enterDuration:n}},RQ=["*"],LQ=new ht("mat-checkbox-default-options",{providedIn:"root",factory:aO});function aO(){return{color:"accent",clickAction:"check-indeterminate"}}let OQ=0;const lO=aO(),PQ={provide:jr,useExisting:Mt(()=>ac),multi:!0};class FQ{}const NQ=nc(Ya(to(eo(class{constructor(n){this._elementRef=n}}))));let ac=(()=>{class n extends NQ{constructor(e,i,r,s,o,a,l){super(e),this._changeDetectorRef=i,this._focusMonitor=r,this._ngZone=s,this._animationMode=a,this._options=l,this.ariaLabel="",this.ariaLabelledby=null,this._uniqueId="mat-checkbox-"+ ++OQ,this.id=this._uniqueId,this.labelPosition="after",this.name=null,this.change=new jt,this.indeterminateChange=new jt,this._onTouched=()=>{},this._currentAnimationClass="",this._currentCheckState=0,this._controlValueAccessorChangeFn=()=>{},this._checked=!1,this._disabled=!1,this._indeterminate=!1,this._options=this._options||lO,this.color=this.defaultColor=this._options.color||lO.color,this.tabIndex=parseInt(o)||0}get inputId(){return`${this.id||this._uniqueId}-input`}get required(){return this._required}set required(e){this._required=rn(e)}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(e=>{e||Promise.resolve().then(()=>{this._onTouched(),this._changeDetectorRef.markForCheck()})}),this._syncIndeterminate(this._indeterminate)}ngAfterViewChecked(){}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}get checked(){return this._checked}set checked(e){const i=rn(e);i!=this.checked&&(this._checked=i,this._changeDetectorRef.markForCheck())}get disabled(){return this._disabled}set disabled(e){const i=rn(e);i!==this.disabled&&(this._disabled=i,this._changeDetectorRef.markForCheck())}get indeterminate(){return this._indeterminate}set indeterminate(e){const i=e!=this._indeterminate;this._indeterminate=rn(e),i&&(this._transitionCheckState(this._indeterminate?3:this.checked?1:2),this.indeterminateChange.emit(this._indeterminate)),this._syncIndeterminate(this._indeterminate)}_isRippleDisabled(){return this.disableRipple||this.disabled}_onLabelTextChange(){this._changeDetectorRef.detectChanges()}writeValue(e){this.checked=!!e}registerOnChange(e){this._controlValueAccessorChangeFn=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this.disabled=e}_getAriaChecked(){return this.checked?"true":this.indeterminate?"mixed":"false"}_transitionCheckState(e){let i=this._currentCheckState,r=this._elementRef.nativeElement;if(i!==e&&(this._currentAnimationClass.length>0&&r.classList.remove(this._currentAnimationClass),this._currentAnimationClass=this._getAnimationClassForCheckStateTransition(i,e),this._currentCheckState=e,this._currentAnimationClass.length>0)){r.classList.add(this._currentAnimationClass);const s=this._currentAnimationClass;this._ngZone.runOutsideAngular(()=>{setTimeout(()=>{r.classList.remove(s)},1e3)})}}_emitChangeEvent(){const e=new FQ;e.source=this,e.checked=this.checked,this._controlValueAccessorChangeFn(this.checked),this.change.emit(e),this._inputElement&&(this._inputElement.nativeElement.checked=this.checked)}toggle(){this.checked=!this.checked,this._controlValueAccessorChangeFn(this.checked)}_onInputClick(e){var i;const r=null===(i=this._options)||void 0===i?void 0:i.clickAction;e.stopPropagation(),this.disabled||"noop"===r?!this.disabled&&"noop"===r&&(this._inputElement.nativeElement.checked=this.checked,this._inputElement.nativeElement.indeterminate=this.indeterminate):(this.indeterminate&&"check"!==r&&Promise.resolve().then(()=>{this._indeterminate=!1,this.indeterminateChange.emit(this._indeterminate)}),this._checked=!this._checked,this._transitionCheckState(this._checked?1:2),this._emitChangeEvent())}focus(e,i){e?this._focusMonitor.focusVia(this._inputElement,e,i):this._inputElement.nativeElement.focus(i)}_onInteractionEvent(e){e.stopPropagation()}_getAnimationClassForCheckStateTransition(e,i){if("NoopAnimations"===this._animationMode)return"";let r="";switch(e){case 0:if(1===i)r="unchecked-checked";else{if(3!=i)return"";r="unchecked-indeterminate"}break;case 2:r=1===i?"unchecked-checked":"unchecked-indeterminate";break;case 1:r=2===i?"checked-unchecked":"checked-indeterminate";break;case 3:r=1===i?"indeterminate-checked":"indeterminate-unchecked"}return`mat-checkbox-anim-${r}`}_syncIndeterminate(e){const i=this._inputElement;i&&(i.nativeElement.indeterminate=e)}}return n.\u0275fac=function(e){return new(e||n)(M(Zt),M(Gn),M(Ns),M(yn),_r("tabindex"),M(Zi,8),M(LQ,8))},n.\u0275cmp=It({type:n,selectors:[["mat-checkbox"]],viewQuery:function(e,i){if(1&e&&(pn(IQ,5),pn(no,5)),2&e){let r;Et(r=Ct())&&(i._inputElement=r.first),Et(r=Ct())&&(i.ripple=r.first)}},hostAttrs:[1,"mat-checkbox"],hostVars:14,hostBindings:function(e,i){2&e&&(go("id",i.id),hn("tabindex",null)("aria-label",null)("aria-labelledby",null),Cn("mat-checkbox-indeterminate",i.indeterminate)("mat-checkbox-checked",i.checked)("mat-checkbox-disabled",i.disabled)("mat-checkbox-label-before","before"==i.labelPosition)("_mat-animation-noopable","NoopAnimations"===i._animationMode))},inputs:{disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],ariaDescribedby:["aria-describedby","ariaDescribedby"],id:"id",required:"required",labelPosition:"labelPosition",name:"name",value:"value",checked:"checked",disabled:"disabled",indeterminate:"indeterminate"},outputs:{change:"change",indeterminateChange:"indeterminateChange"},exportAs:["matCheckbox"],features:[tn([PQ]),xt],ngContentSelectors:RQ,decls:17,vars:21,consts:[[1,"mat-checkbox-layout"],["label",""],[1,"mat-checkbox-inner-container"],["type","checkbox",1,"mat-checkbox-input","cdk-visually-hidden",3,"id","required","checked","disabled","tabIndex","change","click"],["input",""],["matRipple","",1,"mat-checkbox-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleRadius","matRippleCentered","matRippleAnimation"],[1,"mat-ripple-element","mat-checkbox-persistent-ripple"],[1,"mat-checkbox-frame"],[1,"mat-checkbox-background"],["version","1.1","focusable","false","viewBox","0 0 24 24","aria-hidden","true",1,"mat-checkbox-checkmark"],["fill","none","stroke","white","d","M4.1,12.7 9,17.6 20.3,6.3",1,"mat-checkbox-checkmark-path"],[1,"mat-checkbox-mixedmark"],[1,"mat-checkbox-label",3,"cdkObserveContent"],["checkboxLabel",""],[2,"display","none"]],template:function(e,i){if(1&e&&(yi(),x(0,"label",0,1)(2,"span",2)(3,"input",3,4),Je("change",function(s){return i._onInteractionEvent(s)})("click",function(s){return i._onInputClick(s)}),O(),x(5,"span",5),bt(6,"span",6),O(),bt(7,"span",7),x(8,"span",8),Gs(),x(9,"svg",9),bt(10,"path",10),O(),Wa(),bt(11,"span",11),O()(),x(12,"span",12,13),Je("cdkObserveContent",function(){return i._onLabelTextChange()}),x(14,"span",14),De(15,"\xa0"),O(),Sn(16),O()()),2&e){const r=ki(1),s=ki(13);hn("for",i.inputId),B(2),Cn("mat-checkbox-inner-container-no-side-margin",!s.textContent||!s.textContent.trim()),B(1),H("id",i.inputId)("required",i.required)("checked",i.checked)("disabled",i.disabled)("tabIndex",i.tabIndex),hn("value",i.value)("name",i.name)("aria-label",i.ariaLabel||null)("aria-labelledby",i.ariaLabelledby)("aria-checked",i._getAriaChecked())("aria-describedby",i.ariaDescribedby),B(2),H("matRippleTrigger",r)("matRippleDisabled",i._isRippleDisabled())("matRippleRadius",20)("matRippleCentered",!0)("matRippleAnimation",$o(19,AQ,"NoopAnimations"===i._animationMode?0:150))}},directives:[no,m_],styles:["@keyframes mat-checkbox-fade-in-background{0%{opacity:0}50%{opacity:1}}@keyframes mat-checkbox-fade-out-background{0%,50%{opacity:1}100%{opacity:0}}@keyframes mat-checkbox-unchecked-checked-checkmark-path{0%,50%{stroke-dashoffset:22.910259}50%{animation-timing-function:cubic-bezier(0, 0, 0.2, 0.1)}100%{stroke-dashoffset:0}}@keyframes mat-checkbox-unchecked-indeterminate-mixedmark{0%,68.2%{transform:scaleX(0)}68.2%{animation-timing-function:cubic-bezier(0, 0, 0, 1)}100%{transform:scaleX(1)}}@keyframes mat-checkbox-checked-unchecked-checkmark-path{from{animation-timing-function:cubic-bezier(0.4, 0, 1, 1);stroke-dashoffset:0}to{stroke-dashoffset:-22.910259}}@keyframes mat-checkbox-checked-indeterminate-checkmark{from{animation-timing-function:cubic-bezier(0, 0, 0.2, 0.1);opacity:1;transform:rotate(0deg)}to{opacity:0;transform:rotate(45deg)}}@keyframes mat-checkbox-indeterminate-checked-checkmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);opacity:0;transform:rotate(45deg)}to{opacity:1;transform:rotate(360deg)}}@keyframes mat-checkbox-checked-indeterminate-mixedmark{from{animation-timing-function:cubic-bezier(0, 0, 0.2, 0.1);opacity:0;transform:rotate(-45deg)}to{opacity:1;transform:rotate(0deg)}}@keyframes mat-checkbox-indeterminate-checked-mixedmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);opacity:1;transform:rotate(0deg)}to{opacity:0;transform:rotate(315deg)}}@keyframes mat-checkbox-indeterminate-unchecked-mixedmark{0%{animation-timing-function:linear;opacity:1;transform:scaleX(1)}32.8%,100%{opacity:0;transform:scaleX(0)}}.mat-checkbox-background,.mat-checkbox-frame{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:2px;box-sizing:border-box;pointer-events:none}.mat-checkbox{display:inline-block;transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);cursor:pointer;-webkit-tap-highlight-color:transparent}._mat-animation-noopable.mat-checkbox{transition:none;animation:none}.mat-checkbox .mat-ripple-element:not(.mat-checkbox-persistent-ripple){opacity:.16}.mat-checkbox .mat-checkbox-ripple{position:absolute;left:calc(50% - 20px);top:calc(50% - 20px);height:40px;width:40px;z-index:1;pointer-events:none}.cdk-high-contrast-active .mat-checkbox.cdk-keyboard-focused .mat-checkbox-ripple{outline:solid 3px}.mat-checkbox-layout{-webkit-user-select:none;user-select:none;cursor:inherit;align-items:baseline;vertical-align:middle;display:inline-flex;white-space:nowrap}.mat-checkbox-label{-webkit-user-select:auto;user-select:auto}.mat-checkbox-inner-container{display:inline-block;height:16px;line-height:0;margin:auto;margin-right:8px;order:0;position:relative;vertical-align:middle;white-space:nowrap;width:16px;flex-shrink:0}[dir=rtl] .mat-checkbox-inner-container{margin-left:8px;margin-right:auto}.mat-checkbox-inner-container-no-side-margin{margin-left:0;margin-right:0}.mat-checkbox-frame{background-color:transparent;transition:border-color 90ms cubic-bezier(0, 0, 0.2, 0.1);border-width:2px;border-style:solid}._mat-animation-noopable .mat-checkbox-frame{transition:none}.mat-checkbox-background{align-items:center;display:inline-flex;justify-content:center;transition:background-color 90ms cubic-bezier(0, 0, 0.2, 0.1),opacity 90ms cubic-bezier(0, 0, 0.2, 0.1);-webkit-print-color-adjust:exact;color-adjust:exact}._mat-animation-noopable .mat-checkbox-background{transition:none}.cdk-high-contrast-active .mat-checkbox .mat-checkbox-background{background:none}.mat-checkbox-persistent-ripple{display:block;width:100%;height:100%;transform:none}.mat-checkbox-inner-container:hover .mat-checkbox-persistent-ripple{opacity:.04}.mat-checkbox.cdk-keyboard-focused .mat-checkbox-persistent-ripple{opacity:.12}.mat-checkbox-persistent-ripple,.mat-checkbox.mat-checkbox-disabled .mat-checkbox-inner-container:hover .mat-checkbox-persistent-ripple{opacity:0}@media(hover: none){.mat-checkbox-inner-container:hover .mat-checkbox-persistent-ripple{display:none}}.mat-checkbox-checkmark{top:0;left:0;right:0;bottom:0;position:absolute;width:100%}.mat-checkbox-checkmark-path{stroke-dashoffset:22.910259;stroke-dasharray:22.910259;stroke-width:2.1333333333px}.cdk-high-contrast-black-on-white .mat-checkbox-checkmark-path{stroke:#000 !important}.mat-checkbox-mixedmark{width:calc(100% - 6px);height:2px;opacity:0;transform:scaleX(0) rotate(0deg);border-radius:2px}.cdk-high-contrast-active .mat-checkbox-mixedmark{height:0;border-top:solid 2px;margin-top:2px}.mat-checkbox-label-before .mat-checkbox-inner-container{order:1;margin-left:8px;margin-right:auto}[dir=rtl] .mat-checkbox-label-before .mat-checkbox-inner-container{margin-left:auto;margin-right:8px}.mat-checkbox-checked .mat-checkbox-checkmark{opacity:1}.mat-checkbox-checked .mat-checkbox-checkmark-path{stroke-dashoffset:0}.mat-checkbox-checked .mat-checkbox-mixedmark{transform:scaleX(1) rotate(-45deg)}.mat-checkbox-indeterminate .mat-checkbox-checkmark{opacity:0;transform:rotate(45deg)}.mat-checkbox-indeterminate .mat-checkbox-checkmark-path{stroke-dashoffset:0}.mat-checkbox-indeterminate .mat-checkbox-mixedmark{opacity:1;transform:scaleX(1) rotate(0deg)}.mat-checkbox-unchecked .mat-checkbox-background{background-color:transparent}.mat-checkbox-disabled{cursor:default}.cdk-high-contrast-active .mat-checkbox-disabled{opacity:.5}.mat-checkbox-anim-unchecked-checked .mat-checkbox-background{animation:180ms linear 0ms mat-checkbox-fade-in-background}.mat-checkbox-anim-unchecked-checked .mat-checkbox-checkmark-path{animation:180ms linear 0ms mat-checkbox-unchecked-checked-checkmark-path}.mat-checkbox-anim-unchecked-indeterminate .mat-checkbox-background{animation:180ms linear 0ms mat-checkbox-fade-in-background}.mat-checkbox-anim-unchecked-indeterminate .mat-checkbox-mixedmark{animation:90ms linear 0ms mat-checkbox-unchecked-indeterminate-mixedmark}.mat-checkbox-anim-checked-unchecked .mat-checkbox-background{animation:180ms linear 0ms mat-checkbox-fade-out-background}.mat-checkbox-anim-checked-unchecked .mat-checkbox-checkmark-path{animation:90ms linear 0ms mat-checkbox-checked-unchecked-checkmark-path}.mat-checkbox-anim-checked-indeterminate .mat-checkbox-checkmark{animation:90ms linear 0ms mat-checkbox-checked-indeterminate-checkmark}.mat-checkbox-anim-checked-indeterminate .mat-checkbox-mixedmark{animation:90ms linear 0ms mat-checkbox-checked-indeterminate-mixedmark}.mat-checkbox-anim-indeterminate-checked .mat-checkbox-checkmark{animation:500ms linear 0ms mat-checkbox-indeterminate-checked-checkmark}.mat-checkbox-anim-indeterminate-checked .mat-checkbox-mixedmark{animation:500ms linear 0ms mat-checkbox-indeterminate-checked-mixedmark}.mat-checkbox-anim-indeterminate-unchecked .mat-checkbox-background{animation:180ms linear 0ms mat-checkbox-fade-out-background}.mat-checkbox-anim-indeterminate-unchecked .mat-checkbox-mixedmark{animation:300ms linear 0ms mat-checkbox-indeterminate-unchecked-mixedmark}.mat-checkbox-input{bottom:0;left:50%}\n"],encapsulation:2,changeDetection:0}),n})(),cO=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Yt({type:n}),n.\u0275inj=He({}),n})(),uO=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Yt({type:n}),n.\u0275inj=He({imports:[[ra,mn,jp,cO],mn,cO]}),n})();const YQ=["*"],dO=new ht("MatChipRemove"),hO=new ht("MatChipAvatar"),pO=new ht("MatChipTrailingIcon");class HQ{constructor(t){this._elementRef=t}}const VQ=nc(Ya(to(HQ),"primary"),-1);let Yd=(()=>{class n extends VQ{constructor(e,i,r,s,o,a,l,h){super(e),this._ngZone=i,this._changeDetectorRef=o,this._hasFocus=!1,this.chipListSelectable=!0,this._chipListMultiple=!1,this._chipListDisabled=!1,this._selected=!1,this._selectable=!0,this._disabled=!1,this._removable=!0,this._onFocus=new K,this._onBlur=new K,this.selectionChange=new jt,this.destroyed=new jt,this.removed=new jt,this._addHostClassName(),this._chipRippleTarget=a.createElement("div"),this._chipRippleTarget.classList.add("mat-chip-ripple"),this._elementRef.nativeElement.appendChild(this._chipRippleTarget),this._chipRipple=new RL(this,i,this._chipRippleTarget,r),this._chipRipple.setupTriggerEvents(e),this.rippleConfig=s||{},this._animationsDisabled="NoopAnimations"===l,this.tabIndex=null!=h&&parseInt(h)||-1}get rippleDisabled(){return this.disabled||this.disableRipple||this._animationsDisabled||!!this.rippleConfig.disabled}get selected(){return this._selected}set selected(e){const i=rn(e);i!==this._selected&&(this._selected=i,this._dispatchSelectionChange())}get value(){return void 0!==this._value?this._value:this._elementRef.nativeElement.textContent}set value(e){this._value=e}get selectable(){return this._selectable&&this.chipListSelectable}set selectable(e){this._selectable=rn(e)}get disabled(){return this._chipListDisabled||this._disabled}set disabled(e){this._disabled=rn(e)}get removable(){return this._removable}set removable(e){this._removable=rn(e)}get ariaSelected(){return this.selectable&&(this._chipListMultiple||this.selected)?this.selected.toString():null}_addHostClassName(){const e="mat-basic-chip",i=this._elementRef.nativeElement;i.hasAttribute(e)||i.tagName.toLowerCase()===e?i.classList.add(e):i.classList.add("mat-standard-chip")}ngOnDestroy(){this.destroyed.emit({chip:this}),this._chipRipple._removeTriggerEvents()}select(){this._selected||(this._selected=!0,this._dispatchSelectionChange(),this._changeDetectorRef.markForCheck())}deselect(){this._selected&&(this._selected=!1,this._dispatchSelectionChange(),this._changeDetectorRef.markForCheck())}selectViaInteraction(){this._selected||(this._selected=!0,this._dispatchSelectionChange(!0),this._changeDetectorRef.markForCheck())}toggleSelected(e=!1){return this._selected=!this.selected,this._dispatchSelectionChange(e),this._changeDetectorRef.markForCheck(),this.selected}focus(){this._hasFocus||(this._elementRef.nativeElement.focus(),this._onFocus.next({chip:this})),this._hasFocus=!0}remove(){this.removable&&this.removed.emit({chip:this})}_handleClick(e){this.disabled&&e.preventDefault()}_handleKeydown(e){if(!this.disabled)switch(e.keyCode){case 46:case 8:this.remove(),e.preventDefault();break;case 32:this.selectable&&this.toggleSelected(!0),e.preventDefault()}}_blur(){this._ngZone.onStable.pipe(Ii(1)).subscribe(()=>{this._ngZone.run(()=>{this._hasFocus=!1,this._onBlur.next({chip:this})})})}_dispatchSelectionChange(e=!1){this.selectionChange.emit({source:this,isUserInput:e,selected:this._selected})}}return n.\u0275fac=function(e){return new(e||n)(M(Zt),M(yn),M(zi),M(LL,8),M(Gn),M(Dn),M(Zi,8),_r("tabindex"))},n.\u0275dir=rt({type:n,selectors:[["mat-basic-chip"],["","mat-basic-chip",""],["mat-chip"],["","mat-chip",""]],contentQueries:function(e,i,r){if(1&e&&(Pn(r,hO,5),Pn(r,pO,5),Pn(r,dO,5)),2&e){let s;Et(s=Ct())&&(i.avatar=s.first),Et(s=Ct())&&(i.trailingIcon=s.first),Et(s=Ct())&&(i.removeIcon=s.first)}},hostAttrs:["role","option",1,"mat-chip","mat-focus-indicator"],hostVars:14,hostBindings:function(e,i){1&e&&Je("click",function(s){return i._handleClick(s)})("keydown",function(s){return i._handleKeydown(s)})("focus",function(){return i.focus()})("blur",function(){return i._blur()}),2&e&&(hn("tabindex",i.disabled?null:i.tabIndex)("disabled",i.disabled||null)("aria-disabled",i.disabled.toString())("aria-selected",i.ariaSelected),Cn("mat-chip-selected",i.selected)("mat-chip-with-avatar",i.avatar)("mat-chip-with-trailing-icon",i.trailingIcon||i.removeIcon)("mat-chip-disabled",i.disabled)("_mat-animation-noopable",i._animationsDisabled))},inputs:{color:"color",disableRipple:"disableRipple",tabIndex:"tabIndex",selected:"selected",value:"value",selectable:"selectable",disabled:"disabled",removable:"removable"},outputs:{selectionChange:"selectionChange",destroyed:"destroyed",removed:"removed"},exportAs:["matChip"],features:[xt]}),n})(),mO=(()=>{class n{constructor(e,i){this._parentChip=e,"BUTTON"===i.nativeElement.nodeName&&i.nativeElement.setAttribute("type","button")}_handleClick(e){const i=this._parentChip;i.removable&&!i.disabled&&i.remove(),e.stopPropagation(),e.preventDefault()}}return n.\u0275fac=function(e){return new(e||n)(M(Yd),M(Zt))},n.\u0275dir=rt({type:n,selectors:[["","matChipRemove",""]],hostAttrs:[1,"mat-chip-remove","mat-chip-trailing-icon"],hostBindings:function(e,i){1&e&&Je("click",function(s){return i._handleClick(s)})},features:[tn([{provide:dO,useExisting:n}])]}),n})();const fO=new ht("mat-chips-default-options"),$Q=QD(class{constructor(n,t,e,i){this._defaultErrorStateMatcher=n,this._parentForm=t,this._parentFormGroup=e,this.ngControl=i}});let WQ=0;class QQ{constructor(t,e){this.source=t,this.value=e}}let G_=(()=>{class n extends $Q{constructor(e,i,r,s,o,a,l){super(a,s,o,l),this._elementRef=e,this._changeDetectorRef=i,this._dir=r,this.controlType="mat-chip-list",this._lastDestroyedChipIndex=null,this._destroyed=new K,this._uid="mat-chip-list-"+WQ++,this._tabIndex=0,this._userTabIndex=null,this._onTouched=()=>{},this._onChange=()=>{},this._multiple=!1,this._compareWith=(h,f)=>h===f,this._disabled=!1,this.ariaOrientation="horizontal",this._selectable=!0,this.change=new jt,this.valueChange=new jt,this.ngControl&&(this.ngControl.valueAccessor=this)}get selected(){var e,i;return this.multiple?(null===(e=this._selectionModel)||void 0===e?void 0:e.selected)||[]:null===(i=this._selectionModel)||void 0===i?void 0:i.selected[0]}get role(){return this.empty?null:"listbox"}get multiple(){return this._multiple}set multiple(e){this._multiple=rn(e),this._syncChipsState()}get compareWith(){return this._compareWith}set compareWith(e){this._compareWith=e,this._selectionModel&&this._initializeSelection()}get value(){return this._value}set value(e){this.writeValue(e),this._value=e}get id(){return this._chipInput?this._chipInput.id:this._uid}get required(){var e,i,r,s;return null!==(s=null!==(e=this._required)&&void 0!==e?e:null===(r=null===(i=this.ngControl)||void 0===i?void 0:i.control)||void 0===r?void 0:r.hasValidator(Mr.required))&&void 0!==s&&s}set required(e){this._required=rn(e),this.stateChanges.next()}get placeholder(){return this._chipInput?this._chipInput.placeholder:this._placeholder}set placeholder(e){this._placeholder=e,this.stateChanges.next()}get focused(){return this._chipInput&&this._chipInput.focused||this._hasFocusedChip()}get empty(){return(!this._chipInput||this._chipInput.empty)&&(!this.chips||0===this.chips.length)}get shouldLabelFloat(){return!this.empty||this.focused}get disabled(){return this.ngControl?!!this.ngControl.disabled:this._disabled}set disabled(e){this._disabled=rn(e),this._syncChipsState()}get selectable(){return this._selectable}set selectable(e){this._selectable=rn(e),this.chips&&this.chips.forEach(i=>i.chipListSelectable=this._selectable)}set tabIndex(e){this._userTabIndex=e,this._tabIndex=e}get chipSelectionChanges(){return at(...this.chips.map(e=>e.selectionChange))}get chipFocusChanges(){return at(...this.chips.map(e=>e._onFocus))}get chipBlurChanges(){return at(...this.chips.map(e=>e._onBlur))}get chipRemoveChanges(){return at(...this.chips.map(e=>e.destroyed))}ngAfterContentInit(){this._keyManager=new Yp(this.chips).withWrap().withVerticalOrientation().withHomeAndEnd().withHorizontalOrientation(this._dir?this._dir.value:"ltr"),this._dir&&this._dir.change.pipe(vn(this._destroyed)).subscribe(e=>this._keyManager.withHorizontalOrientation(e)),this._keyManager.tabOut.pipe(vn(this._destroyed)).subscribe(()=>{this._allowFocusEscape()}),this.chips.changes.pipe(hr(null),vn(this._destroyed)).subscribe(()=>{this.disabled&&Promise.resolve().then(()=>{this._syncChipsState()}),this._resetChips(),this._initializeSelection(),this._updateTabIndex(),this._updateFocusForDestroyedChips(),this.stateChanges.next()})}ngOnInit(){this._selectionModel=new zp(this.multiple,void 0,!1),this.stateChanges.next()}ngDoCheck(){this.ngControl&&(this.updateErrorState(),this.ngControl.disabled!==this._disabled&&(this.disabled=!!this.ngControl.disabled))}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete(),this.stateChanges.complete(),this._dropSubscriptions()}registerInput(e){this._chipInput=e,this._elementRef.nativeElement.setAttribute("data-mat-chip-input",e.id)}setDescribedByIds(e){this._ariaDescribedby=e.join(" ")}writeValue(e){this.chips&&this._setSelectionByValue(e,!1)}registerOnChange(e){this._onChange=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this.disabled=e,this.stateChanges.next()}onContainerClick(e){this._originatesFromChip(e)||this.focus()}focus(e){this.disabled||this._chipInput&&this._chipInput.focused||(this.chips.length>0?(this._keyManager.setFirstItemActive(),this.stateChanges.next()):(this._focusInput(e),this.stateChanges.next()))}_focusInput(e){this._chipInput&&this._chipInput.focus(e)}_keydown(e){const i=e.target;i&&i.classList.contains("mat-chip")&&(this._keyManager.onKeydown(e),this.stateChanges.next())}_updateTabIndex(){this._tabIndex=this._userTabIndex||(0===this.chips.length?-1:0)}_updateFocusForDestroyedChips(){if(null!=this._lastDestroyedChipIndex)if(this.chips.length){const e=Math.min(this._lastDestroyedChipIndex,this.chips.length-1);this._keyManager.setActiveItem(e)}else this.focus();this._lastDestroyedChipIndex=null}_isValidIndex(e){return e>=0&&er.deselect()),Array.isArray(e))e.forEach(r=>this._selectValue(r,i)),this._sortValues();else{const r=this._selectValue(e,i);r&&i&&this._keyManager.setActiveItem(r)}}_selectValue(e,i=!0){const r=this.chips.find(s=>null!=s.value&&this._compareWith(s.value,e));return r&&(i?r.selectViaInteraction():r.select(),this._selectionModel.select(r)),r}_initializeSelection(){Promise.resolve().then(()=>{(this.ngControl||this._value)&&(this._setSelectionByValue(this.ngControl?this.ngControl.value:this._value,!1),this.stateChanges.next())})}_clearSelection(e){this._selectionModel.clear(),this.chips.forEach(i=>{i!==e&&i.deselect()}),this.stateChanges.next()}_sortValues(){this._multiple&&(this._selectionModel.clear(),this.chips.forEach(e=>{e.selected&&this._selectionModel.select(e)}),this.stateChanges.next())}_propagateChanges(e){let i=null;i=Array.isArray(this.selected)?this.selected.map(r=>r.value):this.selected?this.selected.value:e,this._value=i,this.change.emit(new QQ(this,i)),this.valueChange.emit(i),this._onChange(i),this._changeDetectorRef.markForCheck()}_blur(){this._hasFocusedChip()||this._keyManager.setActiveItem(-1),this.disabled||(this._chipInput?setTimeout(()=>{this.focused||this._markAsTouched()}):this._markAsTouched())}_markAsTouched(){this._onTouched(),this._changeDetectorRef.markForCheck(),this.stateChanges.next()}_allowFocusEscape(){-1!==this._tabIndex&&(this._tabIndex=-1,setTimeout(()=>{this._tabIndex=this._userTabIndex||0,this._changeDetectorRef.markForCheck()}))}_resetChips(){this._dropSubscriptions(),this._listenToChipsFocus(),this._listenToChipsSelection(),this._listenToChipsRemoved()}_dropSubscriptions(){this._chipFocusSubscription&&(this._chipFocusSubscription.unsubscribe(),this._chipFocusSubscription=null),this._chipBlurSubscription&&(this._chipBlurSubscription.unsubscribe(),this._chipBlurSubscription=null),this._chipSelectionSubscription&&(this._chipSelectionSubscription.unsubscribe(),this._chipSelectionSubscription=null),this._chipRemoveSubscription&&(this._chipRemoveSubscription.unsubscribe(),this._chipRemoveSubscription=null)}_listenToChipsSelection(){this._chipSelectionSubscription=this.chipSelectionChanges.subscribe(e=>{e.source.selected?this._selectionModel.select(e.source):this._selectionModel.deselect(e.source),this.multiple||this.chips.forEach(i=>{!this._selectionModel.isSelected(i)&&i.selected&&i.deselect()}),e.isUserInput&&this._propagateChanges()})}_listenToChipsFocus(){this._chipFocusSubscription=this.chipFocusChanges.subscribe(e=>{let i=this.chips.toArray().indexOf(e.chip);this._isValidIndex(i)&&this._keyManager.updateActiveItem(i),this.stateChanges.next()}),this._chipBlurSubscription=this.chipBlurChanges.subscribe(()=>{this._blur(),this.stateChanges.next()})}_listenToChipsRemoved(){this._chipRemoveSubscription=this.chipRemoveChanges.subscribe(e=>{const i=e.chip,r=this.chips.toArray().indexOf(e.chip);this._isValidIndex(r)&&i._hasFocus&&(this._lastDestroyedChipIndex=r)})}_originatesFromChip(e){let i=e.target;for(;i&&i!==this._elementRef.nativeElement;){if(i.classList.contains("mat-chip"))return!0;i=i.parentElement}return!1}_hasFocusedChip(){return this.chips&&this.chips.some(e=>e._hasFocus)}_syncChipsState(){this.chips&&this.chips.forEach(e=>{e._chipListDisabled=this._disabled,e._chipListMultiple=this.multiple})}}return n.\u0275fac=function(e){return new(e||n)(M(Zt),M(Gn),M(Hr,8),M(Sd,8),M(ds,8),M(Fd),M(Eo,10))},n.\u0275cmp=It({type:n,selectors:[["mat-chip-list"]],contentQueries:function(e,i,r){if(1&e&&Pn(r,Yd,5),2&e){let s;Et(s=Ct())&&(i.chips=s)}},hostAttrs:[1,"mat-chip-list"],hostVars:15,hostBindings:function(e,i){1&e&&Je("focus",function(){return i.focus()})("blur",function(){return i._blur()})("keydown",function(s){return i._keydown(s)}),2&e&&(go("id",i._uid),hn("tabindex",i.disabled?null:i._tabIndex)("aria-describedby",i._ariaDescribedby||null)("aria-required",i.role?i.required:null)("aria-disabled",i.disabled.toString())("aria-invalid",i.errorState)("aria-multiselectable",i.multiple)("role",i.role)("aria-orientation",i.ariaOrientation),Cn("mat-chip-list-disabled",i.disabled)("mat-chip-list-invalid",i.errorState)("mat-chip-list-required",i.required))},inputs:{errorStateMatcher:"errorStateMatcher",multiple:"multiple",compareWith:"compareWith",value:"value",required:"required",placeholder:"placeholder",disabled:"disabled",ariaOrientation:["aria-orientation","ariaOrientation"],selectable:"selectable",tabIndex:"tabIndex"},outputs:{change:"change",valueChange:"valueChange"},exportAs:["matChipList"],features:[tn([{provide:Xp,useExisting:n}]),xt],ngContentSelectors:YQ,decls:2,vars:0,consts:[[1,"mat-chip-list-wrapper"]],template:function(e,i){1&e&&(yi(),x(0,"div",0),Sn(1),O())},styles:['.mat-chip{position:relative;box-sizing:border-box;-webkit-tap-highlight-color:transparent;border:none;-webkit-appearance:none;-moz-appearance:none}.mat-standard-chip{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);display:inline-flex;padding:7px 12px;border-radius:16px;align-items:center;cursor:default;min-height:32px;height:1px}._mat-animation-noopable.mat-standard-chip{transition:none;animation:none}.mat-standard-chip .mat-chip-remove{border:none;-webkit-appearance:none;-moz-appearance:none;padding:0;background:none}.mat-standard-chip .mat-chip-remove.mat-icon,.mat-standard-chip .mat-chip-remove .mat-icon{width:18px;height:18px;font-size:18px}.mat-standard-chip::after{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:inherit;opacity:0;content:"";pointer-events:none;transition:opacity 200ms cubic-bezier(0.35, 0, 0.25, 1)}.mat-standard-chip:hover::after{opacity:.12}.mat-standard-chip:focus{outline:none}.mat-standard-chip:focus::after{opacity:.16}.cdk-high-contrast-active .mat-standard-chip{outline:solid 1px}.cdk-high-contrast-active .mat-standard-chip:focus{outline:dotted 2px}.cdk-high-contrast-active .mat-standard-chip.mat-chip-selected{outline-width:3px}.mat-standard-chip.mat-chip-disabled::after{opacity:0}.mat-standard-chip.mat-chip-disabled .mat-chip-remove,.mat-standard-chip.mat-chip-disabled .mat-chip-trailing-icon{cursor:default}.mat-standard-chip.mat-chip-with-trailing-icon.mat-chip-with-avatar,.mat-standard-chip.mat-chip-with-avatar{padding-top:0;padding-bottom:0}.mat-standard-chip.mat-chip-with-trailing-icon.mat-chip-with-avatar{padding-right:8px;padding-left:0}[dir=rtl] .mat-standard-chip.mat-chip-with-trailing-icon.mat-chip-with-avatar{padding-left:8px;padding-right:0}.mat-standard-chip.mat-chip-with-trailing-icon{padding-top:7px;padding-bottom:7px;padding-right:8px;padding-left:12px}[dir=rtl] .mat-standard-chip.mat-chip-with-trailing-icon{padding-left:8px;padding-right:12px}.mat-standard-chip.mat-chip-with-avatar{padding-left:0;padding-right:12px}[dir=rtl] .mat-standard-chip.mat-chip-with-avatar{padding-right:0;padding-left:12px}.mat-standard-chip .mat-chip-avatar{width:24px;height:24px;margin-right:8px;margin-left:4px}[dir=rtl] .mat-standard-chip .mat-chip-avatar{margin-left:8px;margin-right:4px}.mat-standard-chip .mat-chip-remove,.mat-standard-chip .mat-chip-trailing-icon{width:18px;height:18px;cursor:pointer}.mat-standard-chip .mat-chip-remove,.mat-standard-chip .mat-chip-trailing-icon{margin-left:8px;margin-right:0}[dir=rtl] .mat-standard-chip .mat-chip-remove,[dir=rtl] .mat-standard-chip .mat-chip-trailing-icon{margin-right:8px;margin-left:0}.mat-chip-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit;overflow:hidden;transform:translateZ(0)}.mat-chip-list-wrapper{display:flex;flex-direction:row;flex-wrap:wrap;align-items:center;margin:-4px}.mat-chip-list-wrapper input.mat-input-element,.mat-chip-list-wrapper .mat-standard-chip{margin:4px}.mat-chip-list-stacked .mat-chip-list-wrapper{flex-direction:column;align-items:flex-start}.mat-chip-list-stacked .mat-chip-list-wrapper .mat-standard-chip{width:100%}.mat-chip-avatar{border-radius:50%;justify-content:center;align-items:center;display:flex;overflow:hidden;object-fit:cover}input.mat-chip-input{width:150px;margin:4px;flex:1 0 150px}\n'],encapsulation:2,changeDetection:0}),n})(),KQ=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Yt({type:n}),n.\u0275inj=He({providers:[Fd,{provide:fO,useValue:{separatorKeyCodes:[13]}}],imports:[[mn]]}),n})(),ZQ=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Yt({type:n}),n.\u0275inj=He({imports:[[Ad]]}),n})();const XQ=["*"];let $_;function em(n){var t;return(null===(t=function JQ(){if(void 0===$_&&($_=null,"undefined"!=typeof window)){const n=window;void 0!==n.trustedTypes&&($_=n.trustedTypes.createPolicy("angular#components",{createHTML:t=>t}))}return $_}())||void 0===t?void 0:t.createHTML(n))||n}function gO(n){return Error(`Unable to find icon with the name "${n}"`)}function _O(n){return Error(`The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was "${n}".`)}function yO(n){return Error(`The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was "${n}".`)}class su{constructor(t,e,i){this.url=t,this.svgText=e,this.options=i}}let W_=(()=>{class n{constructor(e,i,r,s){this._httpClient=e,this._sanitizer=i,this._errorHandler=s,this._svgIconConfigs=new Map,this._iconSetConfigs=new Map,this._cachedIconsByUrl=new Map,this._inProgressUrlFetches=new Map,this._fontCssClassesByAlias=new Map,this._resolvers=[],this._defaultFontSetClass="material-icons",this._document=r}addSvgIcon(e,i,r){return this.addSvgIconInNamespace("",e,i,r)}addSvgIconLiteral(e,i,r){return this.addSvgIconLiteralInNamespace("",e,i,r)}addSvgIconInNamespace(e,i,r,s){return this._addSvgIconConfig(e,i,new su(r,null,s))}addSvgIconResolver(e){return this._resolvers.push(e),this}addSvgIconLiteralInNamespace(e,i,r,s){const o=this._sanitizer.sanitize(_i.HTML,r);if(!o)throw yO(r);const a=em(o);return this._addSvgIconConfig(e,i,new su("",a,s))}addSvgIconSet(e,i){return this.addSvgIconSetInNamespace("",e,i)}addSvgIconSetLiteral(e,i){return this.addSvgIconSetLiteralInNamespace("",e,i)}addSvgIconSetInNamespace(e,i,r){return this._addSvgIconSetConfig(e,new su(i,null,r))}addSvgIconSetLiteralInNamespace(e,i,r){const s=this._sanitizer.sanitize(_i.HTML,i);if(!s)throw yO(i);const o=em(s);return this._addSvgIconSetConfig(e,new su("",o,r))}registerFontClassAlias(e,i=e){return this._fontCssClassesByAlias.set(e,i),this}classNameForFontAlias(e){return this._fontCssClassesByAlias.get(e)||e}setDefaultFontSetClass(e){return this._defaultFontSetClass=e,this}getDefaultFontSetClass(){return this._defaultFontSetClass}getSvgIconFromUrl(e){const i=this._sanitizer.sanitize(_i.RESOURCE_URL,e);if(!i)throw _O(e);const r=this._cachedIconsByUrl.get(i);return r?Qt(Q_(r)):this._loadSvgIconFromConfig(new su(e,null)).pipe(wr(s=>this._cachedIconsByUrl.set(i,s)),ge(s=>Q_(s)))}getNamedSvgIcon(e,i=""){const r=vO(i,e);let s=this._svgIconConfigs.get(r);if(s)return this._getSvgFromConfig(s);if(s=this._getIconConfigFromResolvers(i,e),s)return this._svgIconConfigs.set(r,s),this._getSvgFromConfig(s);const o=this._iconSetConfigs.get(i);return o?this._getSvgFromIconSetConfigs(e,o):Qi(gO(r))}ngOnDestroy(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig(e){return e.svgText?Qt(Q_(this._svgElementFromConfig(e))):this._loadSvgIconFromConfig(e).pipe(ge(i=>Q_(i)))}_getSvgFromIconSetConfigs(e,i){const r=this._extractIconWithNameFromAnySet(e,i);return r?Qt(r):Oa(i.filter(o=>!o.svgText).map(o=>this._loadSvgIconSetFromConfig(o).pipe(Ni(a=>{const h=`Loading icon set URL: ${this._sanitizer.sanitize(_i.RESOURCE_URL,o.url)} failed: ${a.message}`;return this._errorHandler.handleError(new Error(h)),Qt(null)})))).pipe(ge(()=>{const o=this._extractIconWithNameFromAnySet(e,i);if(!o)throw gO(e);return o}))}_extractIconWithNameFromAnySet(e,i){for(let r=i.length-1;r>=0;r--){const s=i[r];if(s.svgText&&s.svgText.toString().indexOf(e)>-1){const o=this._svgElementFromConfig(s),a=this._extractSvgIconFromSet(o,e,s.options);if(a)return a}}return null}_loadSvgIconFromConfig(e){return this._fetchIcon(e).pipe(wr(i=>e.svgText=i),ge(()=>this._svgElementFromConfig(e)))}_loadSvgIconSetFromConfig(e){return e.svgText?Qt(null):this._fetchIcon(e).pipe(wr(i=>e.svgText=i))}_extractSvgIconFromSet(e,i,r){const s=e.querySelector(`[id="${i}"]`);if(!s)return null;const o=s.cloneNode(!0);if(o.removeAttribute("id"),"svg"===o.nodeName.toLowerCase())return this._setSvgAttributes(o,r);if("symbol"===o.nodeName.toLowerCase())return this._setSvgAttributes(this._toSvgElement(o),r);const a=this._svgElementFromString(em(""));return a.appendChild(o),this._setSvgAttributes(a,r)}_svgElementFromString(e){const i=this._document.createElement("DIV");i.innerHTML=e;const r=i.querySelector("svg");if(!r)throw Error(" tag not found");return r}_toSvgElement(e){const i=this._svgElementFromString(em("")),r=e.attributes;for(let s=0;sem(f)),Ia(()=>this._inProgressUrlFetches.delete(a)),Ie());return this._inProgressUrlFetches.set(a,h),h}_addSvgIconConfig(e,i,r){return this._svgIconConfigs.set(vO(e,i),r),this}_addSvgIconSetConfig(e,i){const r=this._iconSetConfigs.get(e);return r?r.push(i):this._iconSetConfigs.set(e,[i]),this}_svgElementFromConfig(e){if(!e.svgElement){const i=this._svgElementFromString(e.svgText);this._setSvgAttributes(i,e.options),e.svgElement=i}return e.svgElement}_getIconConfigFromResolvers(e,i){for(let r=0;rt?t.pathname+t.search:""}}}),bO=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],oK=bO.map(n=>`[${n}]`).join(", "),aK=/^url\(['"]?#(.*?)['"]?\)$/;let hs=(()=>{class n extends iK{constructor(e,i,r,s,o){super(e),this._iconRegistry=i,this._location=s,this._errorHandler=o,this._inline=!1,this._currentIconFetch=P.EMPTY,r||e.nativeElement.setAttribute("aria-hidden","true")}get inline(){return this._inline}set inline(e){this._inline=rn(e)}get svgIcon(){return this._svgIcon}set svgIcon(e){e!==this._svgIcon&&(e?this._updateSvgIcon(e):this._svgIcon&&this._clearSvgElement(),this._svgIcon=e)}get fontSet(){return this._fontSet}set fontSet(e){const i=this._cleanupFontValue(e);i!==this._fontSet&&(this._fontSet=i,this._updateFontIconClasses())}get fontIcon(){return this._fontIcon}set fontIcon(e){const i=this._cleanupFontValue(e);i!==this._fontIcon&&(this._fontIcon=i,this._updateFontIconClasses())}_splitIconName(e){if(!e)return["",""];const i=e.split(":");switch(i.length){case 1:return["",i[0]];case 2:return i;default:throw Error(`Invalid icon name: "${e}"`)}}ngOnInit(){this._updateFontIconClasses()}ngAfterViewChecked(){const e=this._elementsWithExternalReferences;if(e&&e.size){const i=this._location.getPathname();i!==this._previousPath&&(this._previousPath=i,this._prependPathToReferences(i))}}ngOnDestroy(){this._currentIconFetch.unsubscribe(),this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear()}_usingFontIcon(){return!this.svgIcon}_setSvgElement(e){this._clearSvgElement();const i=this._location.getPathname();this._previousPath=i,this._cacheChildrenWithExternalReferences(e),this._prependPathToReferences(i),this._elementRef.nativeElement.appendChild(e)}_clearSvgElement(){const e=this._elementRef.nativeElement;let i=e.childNodes.length;for(this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear();i--;){const r=e.childNodes[i];(1!==r.nodeType||"svg"===r.nodeName.toLowerCase())&&r.remove()}}_updateFontIconClasses(){if(!this._usingFontIcon())return;const e=this._elementRef.nativeElement,i=this.fontSet?this._iconRegistry.classNameForFontAlias(this.fontSet):this._iconRegistry.getDefaultFontSetClass();i!=this._previousFontSetClass&&(this._previousFontSetClass&&e.classList.remove(this._previousFontSetClass),i&&e.classList.add(i),this._previousFontSetClass=i),this.fontIcon!=this._previousFontIconClass&&(this._previousFontIconClass&&e.classList.remove(this._previousFontIconClass),this.fontIcon&&e.classList.add(this.fontIcon),this._previousFontIconClass=this.fontIcon)}_cleanupFontValue(e){return"string"==typeof e?e.trim().split(" ")[0]:e}_prependPathToReferences(e){const i=this._elementsWithExternalReferences;i&&i.forEach((r,s)=>{r.forEach(o=>{s.setAttribute(o.name,`url('${e}#${o.value}')`)})})}_cacheChildrenWithExternalReferences(e){const i=e.querySelectorAll(oK),r=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let s=0;s{const a=i[s],l=a.getAttribute(o),h=l?l.match(aK):null;if(h){let f=r.get(a);f||(f=[],r.set(a,f)),f.push({name:o,value:h[1]})}})}_updateSvgIcon(e){if(this._svgNamespace=null,this._svgName=null,this._currentIconFetch.unsubscribe(),e){const[i,r]=this._splitIconName(e);i&&(this._svgNamespace=i),r&&(this._svgName=r),this._currentIconFetch=this._iconRegistry.getNamedSvgIcon(r,i).pipe(Ii(1)).subscribe(s=>this._setSvgElement(s),s=>{this._errorHandler.handleError(new Error(`Error retrieving icon ${i}:${r}! ${s.message}`))})}}}return n.\u0275fac=function(e){return new(e||n)(M(Zt),M(W_),_r("aria-hidden"),M(rK),M(Ka))},n.\u0275cmp=It({type:n,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:7,hostBindings:function(e,i){2&e&&(hn("data-mat-icon-type",i._usingFontIcon()?"font":"svg")("data-mat-icon-name",i._svgName||i.fontIcon)("data-mat-icon-namespace",i._svgNamespace||i.fontSet),Cn("mat-icon-inline",i.inline)("mat-icon-no-color","primary"!==i.color&&"accent"!==i.color&&"warn"!==i.color))},inputs:{color:"color",inline:"inline",svgIcon:"svgIcon",fontSet:"fontSet",fontIcon:"fontIcon"},exportAs:["matIcon"],features:[xt],ngContentSelectors:XQ,decls:1,vars:0,template:function(e,i){1&e&&(yi(),Sn(0))},styles:[".mat-icon{-webkit-user-select:none;user-select:none;background-repeat:no-repeat;display:inline-block;fill:currentColor;height:24px;width:24px}.mat-icon.mat-icon-inline{font-size:inherit;height:inherit;line-height:inherit;width:inherit}[dir=rtl] .mat-icon-rtl-mirror{transform:scale(-1, 1)}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon{display:block}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button .mat-icon{margin:auto}\n"],encapsulation:2,changeDetection:0}),n})(),l0=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Yt({type:n}),n.\u0275inj=He({imports:[[mn],mn]}),n})(),c0=(()=>{class n{constructor(){this.changes=new K,this.optionalLabel="Optional",this.completedLabel="Completed",this.editableLabel="Editable"}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=Ee({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const yK={provide:c0,deps:[[new yr,new mo,c0]],useFactory:function _K(n){return n||new c0}};let vK=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Yt({type:n}),n.\u0275inj=He({providers:[yK,Fd],imports:[[mn,di,sc,jd,ZQ,l0,ra],mn]}),n})();const MO=na({passive:!0});let bK=(()=>{class n{constructor(e,i){this._platform=e,this._ngZone=i,this._monitoredElements=new Map}monitor(e){if(!this._platform.isBrowser)return xa;const i=Dr(e),r=this._monitoredElements.get(i);if(r)return r.subject;const s=new K,o="cdk-text-field-autofilled",a=l=>{"cdk-text-field-autofill-start"!==l.animationName||i.classList.contains(o)?"cdk-text-field-autofill-end"===l.animationName&&i.classList.contains(o)&&(i.classList.remove(o),this._ngZone.run(()=>s.next({target:l.target,isAutofilled:!1}))):(i.classList.add(o),this._ngZone.run(()=>s.next({target:l.target,isAutofilled:!0})))};return this._ngZone.runOutsideAngular(()=>{i.addEventListener("animationstart",a,MO),i.classList.add("cdk-text-field-autofill-monitored")}),this._monitoredElements.set(i,{subject:s,unlisten:()=>{i.removeEventListener("animationstart",a,MO)}}),s}stopMonitoring(e){const i=Dr(e),r=this._monitoredElements.get(i);r&&(r.unlisten(),r.subject.complete(),i.classList.remove("cdk-text-field-autofill-monitored"),i.classList.remove("cdk-text-field-autofilled"),this._monitoredElements.delete(i))}ngOnDestroy(){this._monitoredElements.forEach((e,i)=>this.stopMonitoring(i))}}return n.\u0275fac=function(e){return new(e||n)(Se(zi),Se(yn))},n.\u0275prov=Ee({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),wK=(()=>{class n{constructor(e,i,r,s){this._elementRef=e,this._platform=i,this._ngZone=r,this._destroyed=new K,this._enabled=!0,this._previousMinRows=-1,this._isViewInited=!1,this._handleFocusEvent=o=>{this._hasFocus="focus"===o.type},this._document=s,this._textareaElement=this._elementRef.nativeElement}get minRows(){return this._minRows}set minRows(e){this._minRows=Ai(e),this._setMinHeight()}get maxRows(){return this._maxRows}set maxRows(e){this._maxRows=Ai(e),this._setMaxHeight()}get enabled(){return this._enabled}set enabled(e){e=rn(e),this._enabled!==e&&((this._enabled=e)?this.resizeToFitContent(!0):this.reset())}get placeholder(){return this._textareaElement.placeholder}set placeholder(e){this._cachedPlaceholderHeight=void 0,e?this._textareaElement.setAttribute("placeholder",e):this._textareaElement.removeAttribute("placeholder"),this._cacheTextareaPlaceholderHeight()}_setMinHeight(){const e=this.minRows&&this._cachedLineHeight?this.minRows*this._cachedLineHeight+"px":null;e&&(this._textareaElement.style.minHeight=e)}_setMaxHeight(){const e=this.maxRows&&this._cachedLineHeight?this.maxRows*this._cachedLineHeight+"px":null;e&&(this._textareaElement.style.maxHeight=e)}ngAfterViewInit(){this._platform.isBrowser&&(this._initialHeight=this._textareaElement.style.height,this.resizeToFitContent(),this._ngZone.runOutsideAngular(()=>{Na(this._getWindow(),"resize").pipe(TD(16),vn(this._destroyed)).subscribe(()=>this.resizeToFitContent(!0)),this._textareaElement.addEventListener("focus",this._handleFocusEvent),this._textareaElement.addEventListener("blur",this._handleFocusEvent)}),this._isViewInited=!0,this.resizeToFitContent(!0))}ngOnDestroy(){this._textareaElement.removeEventListener("focus",this._handleFocusEvent),this._textareaElement.removeEventListener("blur",this._handleFocusEvent),this._destroyed.next(),this._destroyed.complete()}_cacheTextareaLineHeight(){if(this._cachedLineHeight)return;let e=this._textareaElement.cloneNode(!1);e.rows=1,e.style.position="absolute",e.style.visibility="hidden",e.style.border="none",e.style.padding="0",e.style.height="",e.style.minHeight="",e.style.maxHeight="",e.style.overflow="hidden",this._textareaElement.parentNode.appendChild(e),this._cachedLineHeight=e.clientHeight,e.remove(),this._setMinHeight(),this._setMaxHeight()}_measureScrollHeight(){const e=this._textareaElement,i=e.style.marginBottom||"",r=this._platform.FIREFOX,s=r&&this._hasFocus,o=r?"cdk-textarea-autosize-measuring-firefox":"cdk-textarea-autosize-measuring";s&&(e.style.marginBottom=`${e.clientHeight}px`),e.classList.add(o);const a=e.scrollHeight-4;return e.classList.remove(o),s&&(e.style.marginBottom=i),a}_cacheTextareaPlaceholderHeight(){if(!this._isViewInited||null!=this._cachedPlaceholderHeight)return;if(!this.placeholder)return void(this._cachedPlaceholderHeight=0);const e=this._textareaElement.value;this._textareaElement.value=this._textareaElement.placeholder,this._cachedPlaceholderHeight=this._measureScrollHeight(),this._textareaElement.value=e}ngDoCheck(){this._platform.isBrowser&&this.resizeToFitContent()}resizeToFitContent(e=!1){if(!this._enabled||(this._cacheTextareaLineHeight(),this._cacheTextareaPlaceholderHeight(),!this._cachedLineHeight))return;const i=this._elementRef.nativeElement,r=i.value;if(!e&&this._minRows===this._previousMinRows&&r===this._previousValue)return;const s=this._measureScrollHeight(),o=Math.max(s,this._cachedPlaceholderHeight||0);i.style.height=`${o}px`,this._ngZone.runOutsideAngular(()=>{"undefined"!=typeof requestAnimationFrame?requestAnimationFrame(()=>this._scrollToCaretPosition(i)):setTimeout(()=>this._scrollToCaretPosition(i))}),this._previousValue=r,this._previousMinRows=this._minRows}reset(){void 0!==this._initialHeight&&(this._textareaElement.style.height=this._initialHeight)}_noopInputHandler(){}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_scrollToCaretPosition(e){const{selectionStart:i,selectionEnd:r}=e;!this._destroyed.isStopped&&this._hasFocus&&e.setSelectionRange(i,r)}}return n.\u0275fac=function(e){return new(e||n)(M(Zt),M(zi),M(yn),M(Dn,8))},n.\u0275dir=rt({type:n,selectors:[["textarea","cdkTextareaAutosize",""]],hostAttrs:["rows","1",1,"cdk-textarea-autosize"],hostBindings:function(e,i){1&e&&Je("input",function(){return i._noopInputHandler()})},inputs:{minRows:["cdkAutosizeMinRows","minRows"],maxRows:["cdkAutosizeMaxRows","maxRows"],enabled:["cdkTextareaAutosize","enabled"],placeholder:"placeholder"},exportAs:["cdkTextareaAutosize"]}),n})(),DO=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Yt({type:n}),n.\u0275inj=He({}),n})();const EO=new ht("MAT_INPUT_VALUE_ACCESSOR"),MK=["button","checkbox","file","hidden","image","radio","range","reset","submit"];let DK=0;const EK=QD(class{constructor(n,t,e,i){this._defaultErrorStateMatcher=n,this._parentForm=t,this._parentFormGroup=e,this.ngControl=i}});let io=(()=>{class n extends EK{constructor(e,i,r,s,o,a,l,h,f,D){super(a,s,o,r),this._elementRef=e,this._platform=i,this._autofillMonitor=h,this._formField=D,this._uid="mat-input-"+DK++,this.focused=!1,this.stateChanges=new K,this.controlType="mat-input",this.autofilled=!1,this._disabled=!1,this._type="text",this._readonly=!1,this._neverEmptyInputTypes=["date","datetime","datetime-local","month","time","week"].filter(oe=>IR().has(oe)),this._iOSKeyupListener=oe=>{const Ne=oe.target;!Ne.value&&0===Ne.selectionStart&&0===Ne.selectionEnd&&(Ne.setSelectionRange(1,1),Ne.setSelectionRange(0,0))};const k=this._elementRef.nativeElement,Y=k.nodeName.toLowerCase();this._inputValueAccessor=l||k,this._previousNativeValue=this.value,this.id=this.id,i.IOS&&f.runOutsideAngular(()=>{e.nativeElement.addEventListener("keyup",this._iOSKeyupListener)}),this._isServer=!this._platform.isBrowser,this._isNativeSelect="select"===Y,this._isTextarea="textarea"===Y,this._isInFormField=!!D,this._isNativeSelect&&(this.controlType=k.multiple?"mat-native-select-multiple":"mat-native-select")}get disabled(){return this.ngControl&&null!==this.ngControl.disabled?this.ngControl.disabled:this._disabled}set disabled(e){this._disabled=rn(e),this.focused&&(this.focused=!1,this.stateChanges.next())}get id(){return this._id}set id(e){this._id=e||this._uid}get required(){var e,i,r,s;return null!==(s=null!==(e=this._required)&&void 0!==e?e:null===(r=null===(i=this.ngControl)||void 0===i?void 0:i.control)||void 0===r?void 0:r.hasValidator(Mr.required))&&void 0!==s&&s}set required(e){this._required=rn(e)}get type(){return this._type}set type(e){this._type=e||"text",this._validateType(),!this._isTextarea&&IR().has(this._type)&&(this._elementRef.nativeElement.type=this._type)}get value(){return this._inputValueAccessor.value}set value(e){e!==this.value&&(this._inputValueAccessor.value=e,this.stateChanges.next())}get readonly(){return this._readonly}set readonly(e){this._readonly=rn(e)}ngAfterViewInit(){this._platform.isBrowser&&this._autofillMonitor.monitor(this._elementRef.nativeElement).subscribe(e=>{this.autofilled=e.isAutofilled,this.stateChanges.next()})}ngOnChanges(){this.stateChanges.next()}ngOnDestroy(){this.stateChanges.complete(),this._platform.isBrowser&&this._autofillMonitor.stopMonitoring(this._elementRef.nativeElement),this._platform.IOS&&this._elementRef.nativeElement.removeEventListener("keyup",this._iOSKeyupListener)}ngDoCheck(){this.ngControl&&this.updateErrorState(),this._dirtyCheckNativeValue(),this._dirtyCheckPlaceholder()}focus(e){this._elementRef.nativeElement.focus(e)}_focusChanged(e){e!==this.focused&&(this.focused=e,this.stateChanges.next())}_onInput(){}_dirtyCheckPlaceholder(){var e,i;const r=(null===(i=null===(e=this._formField)||void 0===e?void 0:e._hideControlPlaceholder)||void 0===i?void 0:i.call(e))?null:this.placeholder;if(r!==this._previousPlaceholder){const s=this._elementRef.nativeElement;this._previousPlaceholder=r,r?s.setAttribute("placeholder",r):s.removeAttribute("placeholder")}}_dirtyCheckNativeValue(){const e=this._elementRef.nativeElement.value;this._previousNativeValue!==e&&(this._previousNativeValue=e,this.stateChanges.next())}_validateType(){MK.indexOf(this._type)}_isNeverEmpty(){return this._neverEmptyInputTypes.indexOf(this._type)>-1}_isBadInput(){let e=this._elementRef.nativeElement.validity;return e&&e.badInput}get empty(){return!(this._isNeverEmpty()||this._elementRef.nativeElement.value||this._isBadInput()||this.autofilled)}get shouldLabelFloat(){if(this._isNativeSelect){const e=this._elementRef.nativeElement,i=e.options[0];return this.focused||e.multiple||!this.empty||!!(e.selectedIndex>-1&&i&&i.label)}return this.focused||!this.empty}setDescribedByIds(e){e.length?this._elementRef.nativeElement.setAttribute("aria-describedby",e.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}onContainerClick(){this.focused||this.focus()}_isInlineSelect(){const e=this._elementRef.nativeElement;return this._isNativeSelect&&(e.multiple||e.size>1)}}return n.\u0275fac=function(e){return new(e||n)(M(Zt),M(zi),M(Eo,10),M(Sd,8),M(ds,8),M(Fd),M(EO,10),M(bK),M(yn),M(Jp,8))},n.\u0275dir=rt({type:n,selectors:[["input","matInput",""],["textarea","matInput",""],["select","matNativeControl",""],["input","matNativeControl",""],["textarea","matNativeControl",""]],hostAttrs:[1,"mat-input-element","mat-form-field-autofill-control"],hostVars:12,hostBindings:function(e,i){1&e&&Je("focus",function(){return i._focusChanged(!0)})("blur",function(){return i._focusChanged(!1)})("input",function(){return i._onInput()}),2&e&&(go("disabled",i.disabled)("required",i.required),hn("id",i.id)("data-placeholder",i.placeholder)("name",i.name||null)("readonly",i.readonly&&!i._isNativeSelect||null)("aria-invalid",i.empty&&i.required?null:i.errorState)("aria-required",i.required),Cn("mat-input-server",i._isServer)("mat-native-select-inline",i._isInlineSelect()))},inputs:{disabled:"disabled",id:"id",placeholder:"placeholder",name:"name",required:"required",type:"type",errorStateMatcher:"errorStateMatcher",userAriaDescribedBy:["aria-describedby","userAriaDescribedBy"],value:"value",readonly:"readonly"},exportAs:["matInput"],features:[tn([{provide:Xp,useExisting:n}]),xt,Jn]}),n})(),CK=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Yt({type:n}),n.\u0275inj=He({providers:[Fd],imports:[[DO,s0,mn],DO,s0]}),n})(),PK=(()=>{class n{constructor(){this.changes=new K,this.calendarLabel="Calendar",this.openCalendarLabel="Open calendar",this.closeCalendarLabel="Close calendar",this.prevMonthLabel="Previous month",this.nextMonthLabel="Next month",this.prevYearLabel="Previous year",this.nextYearLabel="Next year",this.prevMultiYearLabel="Previous 24 years",this.nextMultiYearLabel="Next 24 years",this.switchToMonthViewLabel="Choose date",this.switchToMultiYearViewLabel="Choose month and year"}formatYearRange(e,i){return`${e} \u2013 ${i}`}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=Ee({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const BK={provide:new ht("mat-datepicker-scroll-strategy"),deps:[Ds],useFactory:function NK(n){return()=>n.scrollStrategies.reposition()}};let qK=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Yt({type:n}),n.\u0275inj=He({providers:[PK,BK],imports:[[di,jd,oc,b_,sc,mn],Ba]}),n})();function UK(n,t){}class u0{constructor(){this.role="dialog",this.panelClass="",this.hasBackdrop=!0,this.backdropClass="",this.disableClose=!1,this.width="",this.height="",this.maxWidth="80vw",this.data=null,this.ariaDescribedBy=null,this.ariaLabelledBy=null,this.ariaLabel=null,this.autoFocus="first-tabbable",this.restoreFocus=!0,this.delayFocusTrap=!0,this.closeOnNavigation=!0}}const zK={dialogContainer:Ki("dialogContainer",[qn("void, exit",cn({opacity:0,transform:"scale(0.7)"})),qn("enter",cn({transform:"none"})),Zn("* => enter",ng([ti("150ms cubic-bezier(0, 0, 0.2, 1)",cn({transform:"none",opacity:1})),gd("@*",fd(),{optional:!0})])),Zn("* => void, * => exit",ng([ti("75ms cubic-bezier(0.4, 0.0, 0.2, 1)",cn({opacity:0})),gd("@*",fd(),{optional:!0})]))])};let GK=(()=>{class n extends q_{constructor(e,i,r,s,o,a,l,h){super(),this._elementRef=e,this._focusTrapFactory=i,this._changeDetectorRef=r,this._config=o,this._interactivityChecker=a,this._ngZone=l,this._focusMonitor=h,this._animationStateChanged=new jt,this._elementFocusedBeforeDialogWasOpened=null,this._closeInteractionType=null,this.attachDomPortal=f=>(this._portalOutlet.hasAttached(),this._portalOutlet.attachDomPortal(f)),this._ariaLabelledBy=o.ariaLabelledBy||null,this._document=s}_initializeWithAttachedContent(){this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._document&&(this._elementFocusedBeforeDialogWasOpened=mD())}attachComponentPortal(e){return this._portalOutlet.hasAttached(),this._portalOutlet.attachComponentPortal(e)}attachTemplatePortal(e){return this._portalOutlet.hasAttached(),this._portalOutlet.attachTemplatePortal(e)}_recaptureFocus(){this._containsFocus()||this._trapFocus()}_forceFocus(e,i){this._interactivityChecker.isFocusable(e)||(e.tabIndex=-1,this._ngZone.runOutsideAngular(()=>{const r=()=>{e.removeEventListener("blur",r),e.removeEventListener("mousedown",r),e.removeAttribute("tabindex")};e.addEventListener("blur",r),e.addEventListener("mousedown",r)})),e.focus(i)}_focusByCssSelector(e,i){let r=this._elementRef.nativeElement.querySelector(e);r&&this._forceFocus(r,i)}_trapFocus(){const e=this._elementRef.nativeElement;switch(this._config.autoFocus){case!1:case"dialog":this._containsFocus()||e.focus();break;case!0:case"first-tabbable":this._focusTrap.focusInitialElementWhenReady().then(i=>{i||this._focusDialogContainer()});break;case"first-heading":this._focusByCssSelector('h1, h2, h3, h4, h5, h6, [role="heading"]');break;default:this._focusByCssSelector(this._config.autoFocus)}}_restoreFocus(){const e=this._elementFocusedBeforeDialogWasOpened;if(this._config.restoreFocus&&e&&"function"==typeof e.focus){const i=mD(),r=this._elementRef.nativeElement;(!i||i===this._document.body||i===r||r.contains(i))&&(this._focusMonitor?(this._focusMonitor.focusVia(e,this._closeInteractionType),this._closeInteractionType=null):e.focus())}this._focusTrap&&this._focusTrap.destroy()}_focusDialogContainer(){this._elementRef.nativeElement.focus&&this._elementRef.nativeElement.focus()}_containsFocus(){const e=this._elementRef.nativeElement,i=mD();return e===i||e.contains(i)}}return n.\u0275fac=function(e){return new(e||n)(M(Zt),M(OW),M(Gn),M(Dn,8),M(u0),M(HR),M(yn),M(Ns))},n.\u0275dir=rt({type:n,viewQuery:function(e,i){if(1&e&&pn(rc,7),2&e){let r;Et(r=Ct())&&(i._portalOutlet=r.first)}},features:[xt]}),n})(),$K=(()=>{class n extends GK{constructor(){super(...arguments),this._state="enter"}_onAnimationDone({toState:e,totalTime:i}){"enter"===e?(this._config.delayFocusTrap&&this._trapFocus(),this._animationStateChanged.next({state:"opened",totalTime:i})):"exit"===e&&(this._restoreFocus(),this._animationStateChanged.next({state:"closed",totalTime:i}))}_onAnimationStart({toState:e,totalTime:i}){"enter"===e?this._animationStateChanged.next({state:"opening",totalTime:i}):("exit"===e||"void"===e)&&this._animationStateChanged.next({state:"closing",totalTime:i})}_startExitAnimation(){this._state="exit",this._changeDetectorRef.markForCheck()}_initializeWithAttachedContent(){super._initializeWithAttachedContent(),this._config.delayFocusTrap||this._trapFocus()}}return n.\u0275fac=function(){let t;return function(i){return(t||(t=Hn(n)))(i||n)}}(),n.\u0275cmp=It({type:n,selectors:[["mat-dialog-container"]],hostAttrs:["tabindex","-1","aria-modal","true",1,"mat-dialog-container"],hostVars:6,hostBindings:function(e,i){1&e&&vf("@dialogContainer.start",function(s){return i._onAnimationStart(s)})("@dialogContainer.done",function(s){return i._onAnimationDone(s)}),2&e&&(go("id",i._id),hn("role",i._config.role)("aria-labelledby",i._config.ariaLabel?null:i._ariaLabelledBy)("aria-label",i._config.ariaLabel)("aria-describedby",i._config.ariaDescribedBy||null),wf("@dialogContainer",i._state))},features:[xt],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(e,i){1&e&&Ae(0,UK,0,0,"ng-template",0)},directives:[rc],styles:[".mat-dialog-container{display:block;padding:24px;border-radius:4px;box-sizing:border-box;overflow:auto;outline:0;width:100%;height:100%;min-height:inherit;max-height:inherit}.cdk-high-contrast-active .mat-dialog-container{outline:solid 1px}.mat-dialog-content{display:block;margin:0 -24px;padding:0 24px;max-height:65vh;overflow:auto;-webkit-overflow-scrolling:touch}.mat-dialog-title{margin:0 0 20px;display:block}.mat-dialog-actions{padding:8px 0;display:flex;flex-wrap:wrap;min-height:52px;align-items:center;box-sizing:content-box;margin-bottom:-24px}.mat-dialog-actions[align=end]{justify-content:flex-end}.mat-dialog-actions[align=center]{justify-content:center}.mat-dialog-actions .mat-button-base+.mat-button-base,.mat-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-dialog-actions .mat-button-base+.mat-button-base,[dir=rtl] .mat-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:0;margin-right:8px}\n"],encapsulation:2,data:{animation:[zK.dialogContainer]}}),n})(),WK=0;class Va{constructor(t,e,i="mat-dialog-"+WK++){this._overlayRef=t,this._containerInstance=e,this.id=i,this.disableClose=this._containerInstance._config.disableClose,this._afterOpened=new K,this._afterClosed=new K,this._beforeClosed=new K,this._state=0,e._id=i,e._animationStateChanged.pipe(hi(r=>"opened"===r.state),Ii(1)).subscribe(()=>{this._afterOpened.next(),this._afterOpened.complete()}),e._animationStateChanged.pipe(hi(r=>"closed"===r.state),Ii(1)).subscribe(()=>{clearTimeout(this._closeFallbackTimeout),this._finishDialogClose()}),t.detachments().subscribe(()=>{this._beforeClosed.next(this._result),this._beforeClosed.complete(),this._afterClosed.next(this._result),this._afterClosed.complete(),this.componentInstance=null,this._overlayRef.dispose()}),t.keydownEvents().pipe(hi(r=>27===r.keyCode&&!this.disableClose&&!Qr(r))).subscribe(r=>{r.preventDefault(),d0(this,"keyboard")}),t.backdropClick().subscribe(()=>{this.disableClose?this._containerInstance._recaptureFocus():d0(this,"mouse")})}close(t){this._result=t,this._containerInstance._animationStateChanged.pipe(hi(e=>"closing"===e.state),Ii(1)).subscribe(e=>{this._beforeClosed.next(t),this._beforeClosed.complete(),this._overlayRef.detachBackdrop(),this._closeFallbackTimeout=setTimeout(()=>this._finishDialogClose(),e.totalTime+100)}),this._state=1,this._containerInstance._startExitAnimation()}afterOpened(){return this._afterOpened}afterClosed(){return this._afterClosed}beforeClosed(){return this._beforeClosed}backdropClick(){return this._overlayRef.backdropClick()}keydownEvents(){return this._overlayRef.keydownEvents()}updatePosition(t){let e=this._getPositionStrategy();return t&&(t.left||t.right)?t.left?e.left(t.left):e.right(t.right):e.centerHorizontally(),t&&(t.top||t.bottom)?t.top?e.top(t.top):e.bottom(t.bottom):e.centerVertically(),this._overlayRef.updatePosition(),this}updateSize(t="",e=""){return this._overlayRef.updateSize({width:t,height:e}),this._overlayRef.updatePosition(),this}addPanelClass(t){return this._overlayRef.addPanelClass(t),this}removePanelClass(t){return this._overlayRef.removePanelClass(t),this}getState(){return this._state}_finishDialogClose(){this._state=2,this._overlayRef.dispose()}_getPositionStrategy(){return this._overlayRef.getConfig().positionStrategy}}function d0(n,t,e){return void 0!==n._containerInstance&&(n._containerInstance._closeInteractionType=t),n.close(e)}const ou=new ht("MatDialogData"),QK=new ht("mat-dialog-default-options"),kO=new ht("mat-dialog-scroll-strategy"),ZK={provide:kO,deps:[Ds],useFactory:function KK(n){return()=>n.scrollStrategies.block()}};let XK=(()=>{class n{constructor(e,i,r,s,o,a,l,h,f,D){this._overlay=e,this._injector=i,this._defaultOptions=r,this._parentDialog=s,this._overlayContainer=o,this._dialogRefConstructor=l,this._dialogContainerType=h,this._dialogDataToken=f,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new K,this._afterOpenedAtThisLevel=new K,this._ariaHiddenElements=new Map,this.afterAllClosed=gp(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe(hr(void 0))),this._scrollStrategy=a}get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}_getAfterAllClosed(){const e=this._parentDialog;return e?e._getAfterAllClosed():this._afterAllClosedAtThisLevel}open(e,i){i=function JK(n,t){return Object.assign(Object.assign({},t),n)}(i,this._defaultOptions||new u0),i.id&&this.getDialogById(i.id);const r=this._createOverlay(i),s=this._attachDialogContainer(r,i),o=this._attachDialogContent(e,s,r,i);return this.openDialogs.length||this._hideNonDialogContentFromAssistiveTechnology(),this.openDialogs.push(o),o.afterClosed().subscribe(()=>this._removeOpenDialog(o)),this.afterOpened.next(o),s._initializeWithAttachedContent(),o}closeAll(){this._closeDialogs(this.openDialogs)}getDialogById(e){return this.openDialogs.find(i=>i.id===e)}ngOnDestroy(){this._closeDialogs(this._openDialogsAtThisLevel),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete()}_createOverlay(e){const i=this._getOverlayConfig(e);return this._overlay.create(i)}_getOverlayConfig(e){const i=new Bd({positionStrategy:this._overlay.position().global(),scrollStrategy:e.scrollStrategy||this._scrollStrategy(),panelClass:e.panelClass,hasBackdrop:e.hasBackdrop,direction:e.direction,minWidth:e.minWidth,minHeight:e.minHeight,maxWidth:e.maxWidth,maxHeight:e.maxHeight,disposeOnNavigation:e.closeOnNavigation});return e.backdropClass&&(i.backdropClass=e.backdropClass),i}_attachDialogContainer(e,i){const s=qi.create({parent:i&&i.viewContainerRef&&i.viewContainerRef.injector||this._injector,providers:[{provide:u0,useValue:i}]}),o=new Nd(this._dialogContainerType,i.viewContainerRef,s,i.componentFactoryResolver);return e.attach(o).instance}_attachDialogContent(e,i,r,s){const o=new this._dialogRefConstructor(r,i,s.id);if(e instanceof Wi)i.attachTemplatePortal(new ic(e,null,{$implicit:s.data,dialogRef:o}));else{const a=this._createInjector(s,o,i),l=i.attachComponentPortal(new Nd(e,s.viewContainerRef,a,s.componentFactoryResolver));o.componentInstance=l.instance}return o.updateSize(s.width,s.height).updatePosition(s.position),o}_createInjector(e,i,r){const s=e&&e.viewContainerRef&&e.viewContainerRef.injector,o=[{provide:this._dialogContainerType,useValue:r},{provide:this._dialogDataToken,useValue:e.data},{provide:this._dialogRefConstructor,useValue:i}];return e.direction&&(!s||!s.get(Hr,null,En.Optional))&&o.push({provide:Hr,useValue:{value:e.direction,change:Qt()}}),qi.create({parent:s||this._injector,providers:o})}_removeOpenDialog(e){const i=this.openDialogs.indexOf(e);i>-1&&(this.openDialogs.splice(i,1),this.openDialogs.length||(this._ariaHiddenElements.forEach((r,s)=>{r?s.setAttribute("aria-hidden",r):s.removeAttribute("aria-hidden")}),this._ariaHiddenElements.clear(),this._getAfterAllClosed().next()))}_hideNonDialogContentFromAssistiveTechnology(){const e=this._overlayContainer.getContainerElement();if(e.parentElement){const i=e.parentElement.children;for(let r=i.length-1;r>-1;r--){let s=i[r];s!==e&&"SCRIPT"!==s.nodeName&&"STYLE"!==s.nodeName&&!s.hasAttribute("aria-live")&&(this._ariaHiddenElements.set(s,s.getAttribute("aria-hidden")),s.setAttribute("aria-hidden","true"))}}}_closeDialogs(e){let i=e.length;for(;i--;)e[i].close()}}return n.\u0275fac=function(e){Ja()},n.\u0275dir=rt({type:n}),n})(),qa=(()=>{class n extends XK{constructor(e,i,r,s,o,a,l,h){super(e,i,s,a,l,o,Va,$K,ou,h)}}return n.\u0275fac=function(e){return new(e||n)(Se(Ds),Se(qi),Se(Yc,8),Se(QK,8),Se(kO),Se(n,12),Se(n0),Se(Zi,8))},n.\u0275prov=Ee({token:n,factory:n.\u0275fac}),n})(),eZ=0,xO=(()=>{class n{constructor(e,i,r){this.dialogRef=e,this._elementRef=i,this._dialog=r,this.type="button"}ngOnInit(){this.dialogRef||(this.dialogRef=IO(this._elementRef,this._dialog.openDialogs))}ngOnChanges(e){const i=e._matDialogClose||e._matDialogCloseResult;i&&(this.dialogResult=i.currentValue)}_onButtonClick(e){d0(this.dialogRef,0===e.screenX&&0===e.screenY?"keyboard":"mouse",this.dialogResult)}}return n.\u0275fac=function(e){return new(e||n)(M(Va,8),M(Zt),M(qa))},n.\u0275dir=rt({type:n,selectors:[["","mat-dialog-close",""],["","matDialogClose",""]],hostVars:2,hostBindings:function(e,i){1&e&&Je("click",function(s){return i._onButtonClick(s)}),2&e&&hn("aria-label",i.ariaLabel||null)("type",i.type)},inputs:{ariaLabel:["aria-label","ariaLabel"],type:"type",dialogResult:["mat-dialog-close","dialogResult"],_matDialogClose:["matDialogClose","_matDialogClose"]},exportAs:["matDialogClose"],features:[Jn]}),n})(),au=(()=>{class n{constructor(e,i,r){this._dialogRef=e,this._elementRef=i,this._dialog=r,this.id="mat-dialog-title-"+eZ++}ngOnInit(){this._dialogRef||(this._dialogRef=IO(this._elementRef,this._dialog.openDialogs)),this._dialogRef&&Promise.resolve().then(()=>{const e=this._dialogRef._containerInstance;e&&!e._ariaLabelledBy&&(e._ariaLabelledBy=this.id)})}}return n.\u0275fac=function(e){return new(e||n)(M(Va,8),M(Zt),M(qa))},n.\u0275dir=rt({type:n,selectors:[["","mat-dialog-title",""],["","matDialogTitle",""]],hostAttrs:[1,"mat-dialog-title"],hostVars:1,hostBindings:function(e,i){2&e&&go("id",i.id)},inputs:{id:"id"},exportAs:["matDialogTitle"]}),n})(),lu=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=rt({type:n,selectors:[["","mat-dialog-content",""],["mat-dialog-content"],["","matDialogContent",""]],hostAttrs:[1,"mat-dialog-content"]}),n})(),J_=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=rt({type:n,selectors:[["","mat-dialog-actions",""],["mat-dialog-actions"],["","matDialogActions",""]],hostAttrs:[1,"mat-dialog-actions"]}),n})();function IO(n,t){let e=n.nativeElement.parentElement;for(;e&&!e.classList.contains("mat-dialog-container");)e=e.parentElement;return e?t.find(i=>i.id===e.id):null}let tZ=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Yt({type:n}),n.\u0275inj=He({providers:[qa,ZK],imports:[[oc,sc,mn],mn]}),n})(),ey=(()=>{class n{constructor(){this._vertical=!1,this._inset=!1}get vertical(){return this._vertical}set vertical(e){this._vertical=rn(e)}get inset(){return this._inset}set inset(e){this._inset=rn(e)}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=It({type:n,selectors:[["mat-divider"]],hostAttrs:["role","separator",1,"mat-divider"],hostVars:7,hostBindings:function(e,i){2&e&&(hn("aria-orientation",i.vertical?"vertical":"horizontal"),Cn("mat-divider-vertical",i.vertical)("mat-divider-horizontal",!i.vertical)("mat-divider-inset",i.inset))},inputs:{vertical:"vertical",inset:"inset"},decls:0,vars:0,template:function(e,i){},styles:[".mat-divider{display:block;margin:0;border-top-width:1px;border-top-style:solid}.mat-divider.mat-divider-vertical{border-top:0;border-right-width:1px;border-right-style:solid}.mat-divider.mat-divider-inset{margin-left:80px}[dir=rtl] .mat-divider.mat-divider-inset{margin-left:auto;margin-right:80px}\n"],encapsulation:2,changeDetection:0}),n})(),AO=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Yt({type:n}),n.\u0275inj=He({imports:[[mn],mn]}),n})(),nZ=0;const h0=new ht("CdkAccordion");let iZ=(()=>{class n{constructor(){this._stateChanges=new K,this._openCloseAllActions=new K,this.id="cdk-accordion-"+nZ++,this._multi=!1}get multi(){return this._multi}set multi(e){this._multi=rn(e)}openAll(){this._multi&&this._openCloseAllActions.next(!0)}closeAll(){this._openCloseAllActions.next(!1)}ngOnChanges(e){this._stateChanges.next(e)}ngOnDestroy(){this._stateChanges.complete(),this._openCloseAllActions.complete()}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=rt({type:n,selectors:[["cdk-accordion"],["","cdkAccordion",""]],inputs:{multi:"multi"},exportAs:["cdkAccordion"],features:[tn([{provide:h0,useExisting:n}]),Jn]}),n})(),rZ=0,sZ=(()=>{class n{constructor(e,i,r){this.accordion=e,this._changeDetectorRef=i,this._expansionDispatcher=r,this._openCloseAllSubscription=P.EMPTY,this.closed=new jt,this.opened=new jt,this.destroyed=new jt,this.expandedChange=new jt,this.id="cdk-accordion-child-"+rZ++,this._expanded=!1,this._disabled=!1,this._removeUniqueSelectionListener=()=>{},this._removeUniqueSelectionListener=r.listen((s,o)=>{this.accordion&&!this.accordion.multi&&this.accordion.id===o&&this.id!==s&&(this.expanded=!1)}),this.accordion&&(this._openCloseAllSubscription=this._subscribeToOpenCloseAllActions())}get expanded(){return this._expanded}set expanded(e){e=rn(e),this._expanded!==e&&(this._expanded=e,this.expandedChange.emit(e),e?(this.opened.emit(),this._expansionDispatcher.notify(this.id,this.accordion?this.accordion.id:this.id)):this.closed.emit(),this._changeDetectorRef.markForCheck())}get disabled(){return this._disabled}set disabled(e){this._disabled=rn(e)}ngOnDestroy(){this.opened.complete(),this.closed.complete(),this.destroyed.emit(),this.destroyed.complete(),this._removeUniqueSelectionListener(),this._openCloseAllSubscription.unsubscribe()}toggle(){this.disabled||(this.expanded=!this.expanded)}close(){this.disabled||(this.expanded=!1)}open(){this.disabled||(this.expanded=!0)}_subscribeToOpenCloseAllActions(){return this.accordion._openCloseAllActions.subscribe(e=>{this.disabled||(this.expanded=e)})}}return n.\u0275fac=function(e){return new(e||n)(M(h0,12),M(Gn),M(RD))},n.\u0275dir=rt({type:n,selectors:[["cdk-accordion-item"],["","cdkAccordionItem",""]],inputs:{expanded:"expanded",disabled:"disabled"},outputs:{closed:"closed",opened:"opened",destroyed:"destroyed",expandedChange:"expandedChange"},exportAs:["cdkAccordionItem"],features:[tn([{provide:h0,useValue:void 0}])]}),n})(),oZ=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Yt({type:n}),n.\u0275inj=He({}),n})();const aZ=["body"];function lZ(n,t){}const cZ=[[["mat-expansion-panel-header"]],"*",[["mat-action-row"]]],uZ=["mat-expansion-panel-header","*","mat-action-row"];function dZ(n,t){1&n&&bt(0,"span",2),2&n&&H("@indicatorRotate",Te()._getExpandedState())}const hZ=[[["mat-panel-title"]],[["mat-panel-description"]],"*"],pZ=["mat-panel-title","mat-panel-description","*"],p0=new ht("MAT_ACCORDION"),RO="225ms cubic-bezier(0.4,0.0,0.2,1)",LO={indicatorRotate:Ki("indicatorRotate",[qn("collapsed, void",cn({transform:"rotate(0deg)"})),qn("expanded",cn({transform:"rotate(180deg)"})),Zn("expanded <=> collapsed, void => collapsed",ti(RO))]),bodyExpansion:Ki("bodyExpansion",[qn("collapsed, void",cn({height:"0px",visibility:"hidden"})),qn("expanded",cn({height:"*",visibility:"visible"})),Zn("expanded <=> collapsed, void => collapsed",ti(RO))])};let mZ=(()=>{class n{constructor(e){this._template=e}}return n.\u0275fac=function(e){return new(e||n)(M(Wi))},n.\u0275dir=rt({type:n,selectors:[["ng-template","matExpansionPanelContent",""]]}),n})(),fZ=0;const OO=new ht("MAT_EXPANSION_PANEL_DEFAULT_OPTIONS");let PO=(()=>{class n extends sZ{constructor(e,i,r,s,o,a,l){super(e,i,r),this._viewContainerRef=s,this._animationMode=a,this._hideToggle=!1,this.afterExpand=new jt,this.afterCollapse=new jt,this._inputChanges=new K,this._headerId="mat-expansion-panel-header-"+fZ++,this._bodyAnimationDone=new K,this.accordion=e,this._document=o,this._bodyAnimationDone.pipe(p_((h,f)=>h.fromState===f.fromState&&h.toState===f.toState)).subscribe(h=>{"void"!==h.fromState&&("expanded"===h.toState?this.afterExpand.emit():"collapsed"===h.toState&&this.afterCollapse.emit())}),l&&(this.hideToggle=l.hideToggle)}get hideToggle(){return this._hideToggle||this.accordion&&this.accordion.hideToggle}set hideToggle(e){this._hideToggle=rn(e)}get togglePosition(){return this._togglePosition||this.accordion&&this.accordion.togglePosition}set togglePosition(e){this._togglePosition=e}_hasSpacing(){return!!this.accordion&&this.expanded&&"default"===this.accordion.displayMode}_getExpandedState(){return this.expanded?"expanded":"collapsed"}toggle(){this.expanded=!this.expanded}close(){this.expanded=!1}open(){this.expanded=!0}ngAfterContentInit(){this._lazyContent&&this.opened.pipe(hr(null),hi(()=>this.expanded&&!this._portal),Ii(1)).subscribe(()=>{this._portal=new ic(this._lazyContent._template,this._viewContainerRef)})}ngOnChanges(e){this._inputChanges.next(e)}ngOnDestroy(){super.ngOnDestroy(),this._bodyAnimationDone.complete(),this._inputChanges.complete()}_containsFocus(){if(this._body){const e=this._document.activeElement,i=this._body.nativeElement;return e===i||i.contains(e)}return!1}}return n.\u0275fac=function(e){return new(e||n)(M(p0,12),M(Gn),M(RD),M(Si),M(Dn),M(Zi,8),M(OO,8))},n.\u0275cmp=It({type:n,selectors:[["mat-expansion-panel"]],contentQueries:function(e,i,r){if(1&e&&Pn(r,mZ,5),2&e){let s;Et(s=Ct())&&(i._lazyContent=s.first)}},viewQuery:function(e,i){if(1&e&&pn(aZ,5),2&e){let r;Et(r=Ct())&&(i._body=r.first)}},hostAttrs:[1,"mat-expansion-panel"],hostVars:6,hostBindings:function(e,i){2&e&&Cn("mat-expanded",i.expanded)("_mat-animation-noopable","NoopAnimations"===i._animationMode)("mat-expansion-panel-spacing",i._hasSpacing())},inputs:{disabled:"disabled",expanded:"expanded",hideToggle:"hideToggle",togglePosition:"togglePosition"},outputs:{opened:"opened",closed:"closed",expandedChange:"expandedChange",afterExpand:"afterExpand",afterCollapse:"afterCollapse"},exportAs:["matExpansionPanel"],features:[tn([{provide:p0,useValue:void 0}]),xt,Jn],ngContentSelectors:uZ,decls:7,vars:4,consts:[["role","region",1,"mat-expansion-panel-content",3,"id"],["body",""],[1,"mat-expansion-panel-body"],[3,"cdkPortalOutlet"]],template:function(e,i){1&e&&(yi(cZ),Sn(0),x(1,"div",0,1),Je("@bodyExpansion.done",function(s){return i._bodyAnimationDone.next(s)}),x(3,"div",2),Sn(4,1),Ae(5,lZ,0,0,"ng-template",3),O(),Sn(6,2),O()),2&e&&(B(1),H("@bodyExpansion",i._getExpandedState())("id",i.id),hn("aria-labelledby",i._headerId),B(4),H("cdkPortalOutlet",i._portal))},directives:[rc],styles:['.mat-expansion-panel{box-sizing:content-box;display:block;margin:0;border-radius:4px;overflow:hidden;transition:margin 225ms cubic-bezier(0.4, 0, 0.2, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);position:relative}.mat-accordion .mat-expansion-panel:not(.mat-expanded),.mat-accordion .mat-expansion-panel:not(.mat-expansion-panel-spacing){border-radius:0}.mat-accordion .mat-expansion-panel:first-of-type{border-top-right-radius:4px;border-top-left-radius:4px}.mat-accordion .mat-expansion-panel:last-of-type{border-bottom-right-radius:4px;border-bottom-left-radius:4px}.cdk-high-contrast-active .mat-expansion-panel{outline:solid 1px}.mat-expansion-panel.ng-animate-disabled,.ng-animate-disabled .mat-expansion-panel,.mat-expansion-panel._mat-animation-noopable{transition:none}.mat-expansion-panel-content{display:flex;flex-direction:column;overflow:visible}.mat-expansion-panel-content[style*="visibility: hidden"] *{visibility:hidden !important}.mat-expansion-panel-body{padding:0 24px 16px}.mat-expansion-panel-spacing{margin:16px 0}.mat-accordion>.mat-expansion-panel-spacing:first-child,.mat-accordion>*:first-child:not(.mat-expansion-panel) .mat-expansion-panel-spacing{margin-top:0}.mat-accordion>.mat-expansion-panel-spacing:last-child,.mat-accordion>*:last-child:not(.mat-expansion-panel) .mat-expansion-panel-spacing{margin-bottom:0}.mat-action-row{border-top-style:solid;border-top-width:1px;display:flex;flex-direction:row;justify-content:flex-end;padding:16px 8px 16px 24px}.mat-action-row .mat-button-base,.mat-action-row .mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-action-row .mat-button-base,[dir=rtl] .mat-action-row .mat-mdc-button-base{margin-left:0;margin-right:8px}\n'],encapsulation:2,data:{animation:[LO.bodyExpansion]},changeDetection:0}),n})();class gZ{}const _Z=nc(gZ);let FO=(()=>{class n extends _Z{constructor(e,i,r,s,o,a,l){super(),this.panel=e,this._element=i,this._focusMonitor=r,this._changeDetectorRef=s,this._animationMode=a,this._parentChangeSubscription=P.EMPTY;const h=e.accordion?e.accordion._stateChanges.pipe(hi(f=>!(!f.hideToggle&&!f.togglePosition))):xa;this.tabIndex=parseInt(l||"")||0,this._parentChangeSubscription=at(e.opened,e.closed,h,e._inputChanges.pipe(hi(f=>!!(f.hideToggle||f.disabled||f.togglePosition)))).subscribe(()=>this._changeDetectorRef.markForCheck()),e.closed.pipe(hi(()=>e._containsFocus())).subscribe(()=>r.focusVia(i,"program")),o&&(this.expandedHeight=o.expandedHeight,this.collapsedHeight=o.collapsedHeight)}get disabled(){return this.panel.disabled}_toggle(){this.disabled||this.panel.toggle()}_isExpanded(){return this.panel.expanded}_getExpandedState(){return this.panel._getExpandedState()}_getPanelId(){return this.panel.id}_getTogglePosition(){return this.panel.togglePosition}_showToggle(){return!this.panel.hideToggle&&!this.panel.disabled}_getHeaderHeight(){const e=this._isExpanded();return e&&this.expandedHeight?this.expandedHeight:!e&&this.collapsedHeight?this.collapsedHeight:null}_keydown(e){switch(e.keyCode){case 32:case 13:Qr(e)||(e.preventDefault(),this._toggle());break;default:return void(this.panel.accordion&&this.panel.accordion._handleHeaderKeydown(e))}}focus(e,i){e?this._focusMonitor.focusVia(this._element,e,i):this._element.nativeElement.focus(i)}ngAfterViewInit(){this._focusMonitor.monitor(this._element).subscribe(e=>{e&&this.panel.accordion&&this.panel.accordion._handleHeaderFocus(this)})}ngOnDestroy(){this._parentChangeSubscription.unsubscribe(),this._focusMonitor.stopMonitoring(this._element)}}return n.\u0275fac=function(e){return new(e||n)(M(PO,1),M(Zt),M(Ns),M(Gn),M(OO,8),M(Zi,8),_r("tabindex"))},n.\u0275cmp=It({type:n,selectors:[["mat-expansion-panel-header"]],hostAttrs:["role","button",1,"mat-expansion-panel-header","mat-focus-indicator"],hostVars:15,hostBindings:function(e,i){1&e&&Je("click",function(){return i._toggle()})("keydown",function(s){return i._keydown(s)}),2&e&&(hn("id",i.panel._headerId)("tabindex",i.tabIndex)("aria-controls",i._getPanelId())("aria-expanded",i._isExpanded())("aria-disabled",i.panel.disabled),Fr("height",i._getHeaderHeight()),Cn("mat-expanded",i._isExpanded())("mat-expansion-toggle-indicator-after","after"===i._getTogglePosition())("mat-expansion-toggle-indicator-before","before"===i._getTogglePosition())("_mat-animation-noopable","NoopAnimations"===i._animationMode))},inputs:{tabIndex:"tabIndex",expandedHeight:"expandedHeight",collapsedHeight:"collapsedHeight"},features:[xt],ngContentSelectors:pZ,decls:5,vars:1,consts:[[1,"mat-content"],["class","mat-expansion-indicator",4,"ngIf"],[1,"mat-expansion-indicator"]],template:function(e,i){1&e&&(yi(hZ),x(0,"span",0),Sn(1),Sn(2,1),Sn(3,2),O(),Ae(4,dZ,1,1,"span",1)),2&e&&(B(4),H("ngIf",i._showToggle()))},directives:[ai],styles:['.mat-expansion-panel-header{display:flex;flex-direction:row;align-items:center;padding:0 24px;border-radius:inherit;transition:height 225ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-expansion-panel-header._mat-animation-noopable{transition:none}.mat-expansion-panel-header:focus,.mat-expansion-panel-header:hover{outline:none}.mat-expansion-panel-header.mat-expanded:focus,.mat-expansion-panel-header.mat-expanded:hover{background:inherit}.mat-expansion-panel-header:not([aria-disabled=true]){cursor:pointer}.mat-expansion-panel-header.mat-expansion-toggle-indicator-before{flex-direction:row-reverse}.mat-expansion-panel-header.mat-expansion-toggle-indicator-before .mat-expansion-indicator{margin:0 16px 0 0}[dir=rtl] .mat-expansion-panel-header.mat-expansion-toggle-indicator-before .mat-expansion-indicator{margin:0 0 0 16px}.mat-content{display:flex;flex:1;flex-direction:row;overflow:hidden}.mat-expansion-panel-header-title,.mat-expansion-panel-header-description{display:flex;flex-grow:1;margin-right:16px;align-items:center}[dir=rtl] .mat-expansion-panel-header-title,[dir=rtl] .mat-expansion-panel-header-description{margin-right:0;margin-left:16px}.mat-expansion-panel-header-description{flex-grow:2}.mat-expansion-indicator::after{border-style:solid;border-width:0 2px 2px 0;content:"";display:inline-block;padding:3px;transform:rotate(45deg);vertical-align:middle}.cdk-high-contrast-active .mat-expansion-panel .mat-expansion-panel-header.cdk-keyboard-focused:not([aria-disabled=true])::before,.cdk-high-contrast-active .mat-expansion-panel .mat-expansion-panel-header.cdk-program-focused:not([aria-disabled=true])::before,.cdk-high-contrast-active .mat-expansion-panel:not(.mat-expanded) .mat-expansion-panel-header:hover:not([aria-disabled=true])::before{top:0;left:0;right:0;bottom:0;position:absolute;box-sizing:border-box;pointer-events:none;border:3px solid;border-radius:4px;content:""}.cdk-high-contrast-active .mat-expansion-panel-content{border-top:1px solid;border-top-left-radius:0;border-top-right-radius:0}\n'],encapsulation:2,data:{animation:[LO.indicatorRotate]},changeDetection:0}),n})(),yZ=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=rt({type:n,selectors:[["mat-panel-description"]],hostAttrs:[1,"mat-expansion-panel-header-description"]}),n})(),vZ=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=rt({type:n,selectors:[["mat-panel-title"]],hostAttrs:[1,"mat-expansion-panel-header-title"]}),n})(),bZ=(()=>{class n extends iZ{constructor(){super(...arguments),this._ownHeaders=new Vl,this._hideToggle=!1,this.displayMode="default",this.togglePosition="after"}get hideToggle(){return this._hideToggle}set hideToggle(e){this._hideToggle=rn(e)}ngAfterContentInit(){this._headers.changes.pipe(hr(this._headers)).subscribe(e=>{this._ownHeaders.reset(e.filter(i=>i.panel.accordion===this)),this._ownHeaders.notifyOnChanges()}),this._keyManager=new Yp(this._ownHeaders).withWrap().withHomeAndEnd()}_handleHeaderKeydown(e){this._keyManager.onKeydown(e)}_handleHeaderFocus(e){this._keyManager.updateActiveItem(e)}ngOnDestroy(){super.ngOnDestroy(),this._ownHeaders.destroy()}}return n.\u0275fac=function(){let t;return function(i){return(t||(t=Hn(n)))(i||n)}}(),n.\u0275dir=rt({type:n,selectors:[["mat-accordion"]],contentQueries:function(e,i,r){if(1&e&&Pn(r,FO,5),2&e){let s;Et(s=Ct())&&(i._headers=s)}},hostAttrs:[1,"mat-accordion"],hostVars:2,hostBindings:function(e,i){2&e&&Cn("mat-accordion-multi",i.multi)},inputs:{multi:"multi",hideToggle:"hideToggle",displayMode:"displayMode",togglePosition:"togglePosition"},exportAs:["matAccordion"],features:[tn([{provide:p0,useExisting:n}]),xt]}),n})(),wZ=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Yt({type:n}),n.\u0275inj=He({imports:[[di,mn,oZ,sc]]}),n})();const NO=["*"];class DZ{constructor(){this.columnIndex=0,this.rowIndex=0}get rowCount(){return this.rowIndex+1}get rowspan(){const t=Math.max(...this.tracker);return t>1?this.rowCount+t-1:this.rowCount}update(t,e){this.columnIndex=0,this.rowIndex=0,this.tracker=new Array(t),this.tracker.fill(0,0,this.tracker.length),this.positions=e.map(i=>this._trackTile(i))}_trackTile(t){const e=this._findMatchingGap(t.colspan);return this._markTilePosition(e,t),this.columnIndex=e+t.colspan,new EZ(this.rowIndex,e)}_findMatchingGap(t){let e=-1,i=-1;do{this.columnIndex+t>this.tracker.length?(this._nextRow(),e=this.tracker.indexOf(0,this.columnIndex),i=this._findGapEndIndex(e)):(e=this.tracker.indexOf(0,this.columnIndex),-1!=e?(i=this._findGapEndIndex(e),this.columnIndex=e+1):(this._nextRow(),e=this.tracker.indexOf(0,this.columnIndex),i=this._findGapEndIndex(e)))}while(i-e{class n{constructor(e,i){this._element=e,this._gridList=i,this._rowspan=1,this._colspan=1}get rowspan(){return this._rowspan}set rowspan(e){this._rowspan=Math.round(Ai(e))}get colspan(){return this._colspan}set colspan(e){this._colspan=Math.round(Ai(e))}_setStyle(e,i){this._element.nativeElement.style[e]=i}}return n.\u0275fac=function(e){return new(e||n)(M(Zt),M(BO,8))},n.\u0275cmp=It({type:n,selectors:[["mat-grid-tile"]],hostAttrs:[1,"mat-grid-tile"],hostVars:2,hostBindings:function(e,i){2&e&&hn("rowspan",i.rowspan)("colspan",i.colspan)},inputs:{rowspan:"rowspan",colspan:"colspan"},exportAs:["matGridTile"],ngContentSelectors:NO,decls:2,vars:0,consts:[[1,"mat-grid-tile-content"]],template:function(e,i){1&e&&(yi(),x(0,"div",0),Sn(1),O())},styles:[".mat-grid-list{display:block;position:relative}.mat-grid-tile{display:block;position:absolute;overflow:hidden}.mat-grid-tile .mat-grid-tile-header,.mat-grid-tile .mat-grid-tile-footer{display:flex;align-items:center;height:48px;color:#fff;background:rgba(0,0,0,.38);overflow:hidden;padding:0 16px;position:absolute;left:0;right:0}.mat-grid-tile .mat-grid-tile-header>*,.mat-grid-tile .mat-grid-tile-footer>*{margin:0;padding:0;font-weight:normal;font-size:inherit}.mat-grid-tile .mat-grid-tile-header.mat-2-line,.mat-grid-tile .mat-grid-tile-footer.mat-2-line{height:68px}.mat-grid-tile .mat-grid-list-text{display:flex;flex-direction:column;flex:auto;box-sizing:border-box;overflow:hidden}.mat-grid-tile .mat-grid-list-text>*{margin:0;padding:0;font-weight:normal;font-size:inherit}.mat-grid-tile .mat-grid-list-text:empty{display:none}.mat-grid-tile .mat-grid-tile-header{top:0}.mat-grid-tile .mat-grid-tile-footer{bottom:0}.mat-grid-tile .mat-grid-avatar{padding-right:16px}[dir=rtl] .mat-grid-tile .mat-grid-avatar{padding-right:0;padding-left:16px}.mat-grid-tile .mat-grid-avatar:empty{display:none}.mat-grid-tile-content{top:0;left:0;right:0;bottom:0;position:absolute;display:flex;align-items:center;justify-content:center;height:100%;padding:0;margin:0}\n"],encapsulation:2,changeDetection:0}),n})();const CZ=/^-?\d+((\.\d+)?[A-Za-z%$]?)+$/;class m0{constructor(){this._rows=0,this._rowspan=0}init(t,e,i,r){this._gutterSize=jO(t),this._rows=e.rowCount,this._rowspan=e.rowspan,this._cols=i,this._direction=r}getBaseTileSize(t,e){return`(${t}% - (${this._gutterSize} * ${e}))`}getTilePosition(t,e){return 0===e?"0":cu(`(${t} + ${this._gutterSize}) * ${e}`)}getTileSize(t,e){return`(${t} * ${e}) + (${e-1} * ${this._gutterSize})`}setStyle(t,e,i){let r=100/this._cols,s=(this._cols-1)/this._cols;this.setColStyles(t,i,r,s),this.setRowStyles(t,e,r,s)}setColStyles(t,e,i,r){let s=this.getBaseTileSize(i,r);t._setStyle("rtl"===this._direction?"right":"left",this.getTilePosition(s,e)),t._setStyle("width",cu(this.getTileSize(s,t.colspan)))}getGutterSpan(){return`${this._gutterSize} * (${this._rowspan} - 1)`}getTileSpan(t){return`${this._rowspan} * ${this.getTileSize(t,1)}`}getComputedHeight(){return null}}class TZ extends m0{constructor(t){super(),this.fixedRowHeight=t}init(t,e,i,r){super.init(t,e,i,r),this.fixedRowHeight=jO(this.fixedRowHeight),CZ.test(this.fixedRowHeight)}setRowStyles(t,e){t._setStyle("top",this.getTilePosition(this.fixedRowHeight,e)),t._setStyle("height",cu(this.getTileSize(this.fixedRowHeight,t.rowspan)))}getComputedHeight(){return["height",cu(`${this.getTileSpan(this.fixedRowHeight)} + ${this.getGutterSpan()}`)]}reset(t){t._setListStyle(["height",null]),t._tiles&&t._tiles.forEach(e=>{e._setStyle("top",null),e._setStyle("height",null)})}}class SZ extends m0{constructor(t){super(),this._parseRatio(t)}setRowStyles(t,e,i,r){this.baseTileHeight=this.getBaseTileSize(i/this.rowHeightRatio,r),t._setStyle("marginTop",this.getTilePosition(this.baseTileHeight,e)),t._setStyle("paddingTop",cu(this.getTileSize(this.baseTileHeight,t.rowspan)))}getComputedHeight(){return["paddingBottom",cu(`${this.getTileSpan(this.baseTileHeight)} + ${this.getGutterSpan()}`)]}reset(t){t._setListStyle(["paddingBottom",null]),t._tiles.forEach(e=>{e._setStyle("marginTop",null),e._setStyle("paddingTop",null)})}_parseRatio(t){const e=t.split(":");this.rowHeightRatio=parseFloat(e[0])/parseFloat(e[1])}}class kZ extends m0{setRowStyles(t,e){let s=this.getBaseTileSize(100/this._rowspan,(this._rows-1)/this._rows);t._setStyle("top",this.getTilePosition(s,e)),t._setStyle("height",cu(this.getTileSize(s,t.rowspan)))}reset(t){t._tiles&&t._tiles.forEach(e=>{e._setStyle("top",null),e._setStyle("height",null)})}}function cu(n){return`calc(${n})`}function jO(n){return n.match(/([A-Za-z%]+)$/)?n:`${n}px`}let fl=(()=>{class n{constructor(e,i){this._element=e,this._dir=i,this._gutter="1px"}get cols(){return this._cols}set cols(e){this._cols=Math.max(1,Math.round(Ai(e)))}get gutterSize(){return this._gutter}set gutterSize(e){this._gutter=`${null==e?"":e}`}get rowHeight(){return this._rowHeight}set rowHeight(e){const i=`${null==e?"":e}`;i!==this._rowHeight&&(this._rowHeight=i,this._setTileStyler(this._rowHeight))}ngOnInit(){this._checkCols(),this._checkRowHeight()}ngAfterContentChecked(){this._layoutTiles()}_checkCols(){}_checkRowHeight(){this._rowHeight||this._setTileStyler("1:1")}_setTileStyler(e){this._tileStyler&&this._tileStyler.reset(this),this._tileStyler="fit"===e?new kZ:e&&e.indexOf(":")>-1?new SZ(e):new TZ(e)}_layoutTiles(){this._tileCoordinator||(this._tileCoordinator=new DZ);const e=this._tileCoordinator,i=this._tiles.filter(s=>!s._gridList||s._gridList===this),r=this._dir?this._dir.value:"ltr";this._tileCoordinator.update(this.cols,i),this._tileStyler.init(this.gutterSize,e,this.cols,r),i.forEach((s,o)=>{const a=e.positions[o];this._tileStyler.setStyle(s,a.row,a.col)}),this._setListStyle(this._tileStyler.getComputedHeight())}_setListStyle(e){e&&(this._element.nativeElement.style[e[0]]=e[1])}}return n.\u0275fac=function(e){return new(e||n)(M(Zt),M(Hr,8))},n.\u0275cmp=It({type:n,selectors:[["mat-grid-list"]],contentQueries:function(e,i,r){if(1&e&&Pn(r,Ua,5),2&e){let s;Et(s=Ct())&&(i._tiles=s)}},hostAttrs:[1,"mat-grid-list"],hostVars:1,hostBindings:function(e,i){2&e&&hn("cols",i.cols)},inputs:{cols:"cols",gutterSize:"gutterSize",rowHeight:"rowHeight"},exportAs:["matGridList"],features:[tn([{provide:BO,useExisting:n}])],ngContentSelectors:NO,decls:2,vars:0,template:function(e,i){1&e&&(yi(),x(0,"div"),Sn(1),O())},styles:[".mat-grid-list{display:block;position:relative}.mat-grid-tile{display:block;position:absolute;overflow:hidden}.mat-grid-tile .mat-grid-tile-header,.mat-grid-tile .mat-grid-tile-footer{display:flex;align-items:center;height:48px;color:#fff;background:rgba(0,0,0,.38);overflow:hidden;padding:0 16px;position:absolute;left:0;right:0}.mat-grid-tile .mat-grid-tile-header>*,.mat-grid-tile .mat-grid-tile-footer>*{margin:0;padding:0;font-weight:normal;font-size:inherit}.mat-grid-tile .mat-grid-tile-header.mat-2-line,.mat-grid-tile .mat-grid-tile-footer.mat-2-line{height:68px}.mat-grid-tile .mat-grid-list-text{display:flex;flex-direction:column;flex:auto;box-sizing:border-box;overflow:hidden}.mat-grid-tile .mat-grid-list-text>*{margin:0;padding:0;font-weight:normal;font-size:inherit}.mat-grid-tile .mat-grid-list-text:empty{display:none}.mat-grid-tile .mat-grid-tile-header{top:0}.mat-grid-tile .mat-grid-tile-footer{bottom:0}.mat-grid-tile .mat-grid-avatar{padding-right:16px}[dir=rtl] .mat-grid-tile .mat-grid-avatar{padding-right:0;padding-left:16px}.mat-grid-tile .mat-grid-avatar:empty{display:none}.mat-grid-tile-content{top:0;left:0;right:0;bottom:0;position:absolute;display:flex;align-items:center;justify-content:center;height:100%;padding:0;margin:0}\n"],encapsulation:2,changeDetection:0}),n})(),IZ=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Yt({type:n}),n.\u0275inj=He({imports:[[Y_,mn],Y_,mn]}),n})();const YO=["*"],AZ=[[["","mat-list-avatar",""],["","mat-list-icon",""],["","matListAvatar",""],["","matListIcon",""]],[["","mat-line",""],["","matLine",""]],"*"],RZ=["[mat-list-avatar], [mat-list-icon], [matListAvatar], [matListIcon]","[mat-line], [matLine]","*"],NZ=eo(to(class{})),BZ=to(class{}),VO=new ht("MatList"),jZ=new ht("MatNavList");let YZ=(()=>{class n extends NZ{constructor(e){super(),this._elementRef=e,this._stateChanges=new K,"action-list"===this._getListType()&&e.nativeElement.classList.add("mat-action-list")}_getListType(){const e=this._elementRef.nativeElement.nodeName.toLowerCase();return"mat-list"===e?"list":"mat-action-list"===e?"action-list":null}ngOnChanges(){this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete()}}return n.\u0275fac=function(e){return new(e||n)(M(Zt))},n.\u0275cmp=It({type:n,selectors:[["mat-list"],["mat-action-list"]],hostAttrs:[1,"mat-list","mat-list-base"],inputs:{disableRipple:"disableRipple",disabled:"disabled"},exportAs:["matList"],features:[tn([{provide:VO,useExisting:n}]),xt,Jn],ngContentSelectors:YO,decls:1,vars:0,template:function(e,i){1&e&&(yi(),Sn(0))},styles:['.mat-subheader{display:flex;box-sizing:border-box;padding:16px;align-items:center}.mat-list-base .mat-subheader{margin:0}button.mat-list-item,button.mat-list-option{padding:0;width:100%;background:none;color:inherit;border:none;outline:inherit;-webkit-tap-highlight-color:transparent;text-align:left}[dir=rtl] button.mat-list-item,[dir=rtl] button.mat-list-option{text-align:right}button.mat-list-item::-moz-focus-inner,button.mat-list-option::-moz-focus-inner{border:0}.mat-list-base{padding-top:8px;display:block;-webkit-tap-highlight-color:transparent}.mat-list-base .mat-subheader{height:48px;line-height:16px}.mat-list-base .mat-subheader:first-child{margin-top:-8px}.mat-list-base .mat-list-item,.mat-list-base .mat-list-option{display:block;height:48px;-webkit-tap-highlight-color:transparent;width:100%;padding:0}.mat-list-base .mat-list-item .mat-list-item-content,.mat-list-base .mat-list-option .mat-list-item-content{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;padding:0 16px;position:relative;height:inherit}.mat-list-base .mat-list-item .mat-list-item-content-reverse,.mat-list-base .mat-list-option .mat-list-item-content-reverse{display:flex;align-items:center;padding:0 16px;flex-direction:row-reverse;justify-content:space-around}.mat-list-base .mat-list-item .mat-list-item-ripple,.mat-list-base .mat-list-option .mat-list-item-ripple{display:block;top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-list-base .mat-list-item.mat-list-item-with-avatar,.mat-list-base .mat-list-option.mat-list-item-with-avatar{height:56px}.mat-list-base .mat-list-item.mat-2-line,.mat-list-base .mat-list-option.mat-2-line{height:72px}.mat-list-base .mat-list-item.mat-3-line,.mat-list-base .mat-list-option.mat-3-line{height:88px}.mat-list-base .mat-list-item.mat-multi-line,.mat-list-base .mat-list-option.mat-multi-line{height:auto}.mat-list-base .mat-list-item.mat-multi-line .mat-list-item-content,.mat-list-base .mat-list-option.mat-multi-line .mat-list-item-content{padding-top:16px;padding-bottom:16px}.mat-list-base .mat-list-item .mat-list-text,.mat-list-base .mat-list-option .mat-list-text{display:flex;flex-direction:column;flex:auto;box-sizing:border-box;overflow:hidden;padding:0}.mat-list-base .mat-list-item .mat-list-text>*,.mat-list-base .mat-list-option .mat-list-text>*{margin:0;padding:0;font-weight:normal;font-size:inherit}.mat-list-base .mat-list-item .mat-list-text:empty,.mat-list-base .mat-list-option .mat-list-text:empty{display:none}.mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:0;padding-left:16px}[dir=rtl] .mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:0}.mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-left:0;padding-right:16px}[dir=rtl] .mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-right:0;padding-left:16px}.mat-list-base .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:16px}.mat-list-base .mat-list-item .mat-list-avatar,.mat-list-base .mat-list-option .mat-list-avatar{flex-shrink:0;width:40px;height:40px;border-radius:50%;object-fit:cover}.mat-list-base .mat-list-item .mat-list-avatar~.mat-divider-inset,.mat-list-base .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:72px;width:calc(100% - 72px)}[dir=rtl] .mat-list-base .mat-list-item .mat-list-avatar~.mat-divider-inset,[dir=rtl] .mat-list-base .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:auto;margin-right:72px}.mat-list-base .mat-list-item .mat-list-icon,.mat-list-base .mat-list-option .mat-list-icon{flex-shrink:0;width:24px;height:24px;font-size:24px;box-sizing:content-box;border-radius:50%;padding:4px}.mat-list-base .mat-list-item .mat-list-icon~.mat-divider-inset,.mat-list-base .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:64px;width:calc(100% - 64px)}[dir=rtl] .mat-list-base .mat-list-item .mat-list-icon~.mat-divider-inset,[dir=rtl] .mat-list-base .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:auto;margin-right:64px}.mat-list-base .mat-list-item .mat-divider,.mat-list-base .mat-list-option .mat-divider{position:absolute;bottom:0;left:0;width:100%;margin:0}[dir=rtl] .mat-list-base .mat-list-item .mat-divider,[dir=rtl] .mat-list-base .mat-list-option .mat-divider{margin-left:auto;margin-right:0}.mat-list-base .mat-list-item .mat-divider.mat-divider-inset,.mat-list-base .mat-list-option .mat-divider.mat-divider-inset{position:absolute}.mat-list-base[dense]{padding-top:4px;display:block}.mat-list-base[dense] .mat-subheader{height:40px;line-height:8px}.mat-list-base[dense] .mat-subheader:first-child{margin-top:-4px}.mat-list-base[dense] .mat-list-item,.mat-list-base[dense] .mat-list-option{display:block;height:40px;-webkit-tap-highlight-color:transparent;width:100%;padding:0}.mat-list-base[dense] .mat-list-item .mat-list-item-content,.mat-list-base[dense] .mat-list-option .mat-list-item-content{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;padding:0 16px;position:relative;height:inherit}.mat-list-base[dense] .mat-list-item .mat-list-item-content-reverse,.mat-list-base[dense] .mat-list-option .mat-list-item-content-reverse{display:flex;align-items:center;padding:0 16px;flex-direction:row-reverse;justify-content:space-around}.mat-list-base[dense] .mat-list-item .mat-list-item-ripple,.mat-list-base[dense] .mat-list-option .mat-list-item-ripple{display:block;top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar{height:48px}.mat-list-base[dense] .mat-list-item.mat-2-line,.mat-list-base[dense] .mat-list-option.mat-2-line{height:60px}.mat-list-base[dense] .mat-list-item.mat-3-line,.mat-list-base[dense] .mat-list-option.mat-3-line{height:76px}.mat-list-base[dense] .mat-list-item.mat-multi-line,.mat-list-base[dense] .mat-list-option.mat-multi-line{height:auto}.mat-list-base[dense] .mat-list-item.mat-multi-line .mat-list-item-content,.mat-list-base[dense] .mat-list-option.mat-multi-line .mat-list-item-content{padding-top:16px;padding-bottom:16px}.mat-list-base[dense] .mat-list-item .mat-list-text,.mat-list-base[dense] .mat-list-option .mat-list-text{display:flex;flex-direction:column;flex:auto;box-sizing:border-box;overflow:hidden;padding:0}.mat-list-base[dense] .mat-list-item .mat-list-text>*,.mat-list-base[dense] .mat-list-option .mat-list-text>*{margin:0;padding:0;font-weight:normal;font-size:inherit}.mat-list-base[dense] .mat-list-item .mat-list-text:empty,.mat-list-base[dense] .mat-list-option .mat-list-text:empty{display:none}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:0;padding-left:16px}[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:0}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-left:0;padding-right:16px}[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-right:0;padding-left:16px}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:16px}.mat-list-base[dense] .mat-list-item .mat-list-avatar,.mat-list-base[dense] .mat-list-option .mat-list-avatar{flex-shrink:0;width:36px;height:36px;border-radius:50%;object-fit:cover}.mat-list-base[dense] .mat-list-item .mat-list-avatar~.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:68px;width:calc(100% - 68px)}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-list-avatar~.mat-divider-inset,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:auto;margin-right:68px}.mat-list-base[dense] .mat-list-item .mat-list-icon,.mat-list-base[dense] .mat-list-option .mat-list-icon{flex-shrink:0;width:20px;height:20px;font-size:20px;box-sizing:content-box;border-radius:50%;padding:4px}.mat-list-base[dense] .mat-list-item .mat-list-icon~.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:60px;width:calc(100% - 60px)}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-list-icon~.mat-divider-inset,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:auto;margin-right:60px}.mat-list-base[dense] .mat-list-item .mat-divider,.mat-list-base[dense] .mat-list-option .mat-divider{position:absolute;bottom:0;left:0;width:100%;margin:0}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-divider,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-divider{margin-left:auto;margin-right:0}.mat-list-base[dense] .mat-list-item .mat-divider.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-divider.mat-divider-inset{position:absolute}.mat-nav-list a{text-decoration:none;color:inherit}.mat-nav-list .mat-list-item{cursor:pointer;outline:none}mat-action-list .mat-list-item{cursor:pointer;outline:inherit}.mat-list-option:not(.mat-list-item-disabled){cursor:pointer;outline:none}.mat-list-item-disabled{pointer-events:none}.cdk-high-contrast-active .mat-list-item-disabled{opacity:.5}.cdk-high-contrast-active :host .mat-list-item-disabled{opacity:.5}.cdk-high-contrast-active .mat-selection-list:focus{outline-style:dotted}.cdk-high-contrast-active .mat-list-option:hover,.cdk-high-contrast-active .mat-list-option:focus,.cdk-high-contrast-active .mat-nav-list .mat-list-item:hover,.cdk-high-contrast-active .mat-nav-list .mat-list-item:focus,.cdk-high-contrast-active mat-action-list .mat-list-item:hover,.cdk-high-contrast-active mat-action-list .mat-list-item:focus{outline:dotted 1px;z-index:1}.cdk-high-contrast-active .mat-list-single-selected-option::after{content:"";position:absolute;top:50%;right:16px;transform:translateY(-50%);width:10px;height:0;border-bottom:solid 10px;border-radius:10px}.cdk-high-contrast-active [dir=rtl] .mat-list-single-selected-option::after{right:auto;left:16px}@media(hover: none){.mat-list-option:not(.mat-list-single-selected-option):not(.mat-list-item-disabled):hover,.mat-nav-list .mat-list-item:not(.mat-list-item-disabled):hover,.mat-action-list .mat-list-item:not(.mat-list-item-disabled):hover{background:none}}\n'],encapsulation:2,changeDetection:0}),n})(),qO=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=rt({type:n,selectors:[["","mat-list-avatar",""],["","matListAvatar",""]],hostAttrs:[1,"mat-list-avatar"]}),n})(),UO=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=rt({type:n,selectors:[["","mat-list-icon",""],["","matListIcon",""]],hostAttrs:[1,"mat-list-icon"]}),n})(),HZ=(()=>{class n extends BZ{constructor(e,i,r,s){super(),this._element=e,this._isInteractiveList=!1,this._destroyed=new K,this._disabled=!1,this._isInteractiveList=!!(r||s&&"action-list"===s._getListType()),this._list=r||s;const o=this._getHostElement();"button"===o.nodeName.toLowerCase()&&!o.hasAttribute("type")&&o.setAttribute("type","button"),this._list&&this._list._stateChanges.pipe(vn(this._destroyed)).subscribe(()=>{i.markForCheck()})}get disabled(){return this._disabled||!(!this._list||!this._list.disabled)}set disabled(e){this._disabled=rn(e)}ngAfterContentInit(){!function kL(n,t,e="mat"){n.changes.pipe(hr(n)).subscribe(({length:i})=>{Kp(t,`${e}-2-line`,!1),Kp(t,`${e}-3-line`,!1),Kp(t,`${e}-multi-line`,!1),2===i||3===i?Kp(t,`${e}-${i}-line`,!0):i>3&&Kp(t,`${e}-multi-line`,!0)})}(this._lines,this._element)}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}_isRippleDisabled(){return!this._isInteractiveList||this.disableRipple||!(!this._list||!this._list.disableRipple)}_getHostElement(){return this._element.nativeElement}}return n.\u0275fac=function(e){return new(e||n)(M(Zt),M(Gn),M(jZ,8),M(VO,8))},n.\u0275cmp=It({type:n,selectors:[["mat-list-item"],["a","mat-list-item",""],["button","mat-list-item",""]],contentQueries:function(e,i,r){if(1&e&&(Pn(r,qO,5),Pn(r,UO,5),Pn(r,SL,5)),2&e){let s;Et(s=Ct())&&(i._avatar=s.first),Et(s=Ct())&&(i._icon=s.first),Et(s=Ct())&&(i._lines=s)}},hostAttrs:[1,"mat-list-item","mat-focus-indicator"],hostVars:6,hostBindings:function(e,i){2&e&&Cn("mat-list-item-disabled",i.disabled)("mat-list-item-avatar",i._avatar||i._icon)("mat-list-item-with-avatar",i._avatar||i._icon)},inputs:{disableRipple:"disableRipple",disabled:"disabled"},exportAs:["matListItem"],features:[xt],ngContentSelectors:RZ,decls:6,vars:2,consts:[[1,"mat-list-item-content"],["mat-ripple","",1,"mat-list-item-ripple",3,"matRippleTrigger","matRippleDisabled"],[1,"mat-list-text"]],template:function(e,i){1&e&&(yi(AZ),x(0,"span",0),bt(1,"span",1),Sn(2),x(3,"span",2),Sn(4,1),O(),Sn(5,2),O()),2&e&&(B(1),H("matRippleTrigger",i._getHostElement())("matRippleDisabled",i._isRippleDisabled()))},directives:[no],encapsulation:2,changeDetection:0}),n})(),$Z=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Yt({type:n}),n.\u0275inj=He({imports:[[Y_,ra,mn,JD,di],Y_,mn,JD,AO]}),n})();const WZ=["mat-menu-item",""];function QZ(n,t){1&n&&(Gs(),x(0,"svg",2),bt(1,"polygon",3),O())}const GO=["*"];function KZ(n,t){if(1&n){const e=an();x(0,"div",0),Je("keydown",function(r){return Ut(e),Te()._handleKeydown(r)})("click",function(){return Ut(e),Te().closed.emit("click")})("@transformMenu.start",function(r){return Ut(e),Te()._onAnimationStart(r)})("@transformMenu.done",function(r){return Ut(e),Te()._onAnimationDone(r)}),x(1,"div",1),Sn(2),O()()}if(2&n){const e=Te();H("id",e.panelId)("ngClass",e._classList)("@transformMenu",e._panelAnimationState),hn("aria-label",e.ariaLabel||null)("aria-labelledby",e.ariaLabelledby||null)("aria-describedby",e.ariaDescribedby||null)}}const ty={transformMenu:Ki("transformMenu",[qn("void",cn({opacity:0,transform:"scale(0.8)"})),Zn("void => enter",ti("120ms cubic-bezier(0, 0, 0.2, 1)",cn({opacity:1,transform:"scale(1)"}))),Zn("* => void",ti("100ms 25ms linear",cn({opacity:0})))]),fadeInItems:Ki("fadeInItems",[qn("showing",cn({opacity:1})),Zn("void => *",[cn({opacity:0}),ti("400ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])},ZZ=new ht("MatMenuContent"),f0=new ht("MAT_MENU_PANEL"),XZ=to(eo(class{}));let lc=(()=>{class n extends XZ{constructor(e,i,r,s,o){var a;super(),this._elementRef=e,this._document=i,this._focusMonitor=r,this._parentMenu=s,this._changeDetectorRef=o,this.role="menuitem",this._hovered=new K,this._focused=new K,this._highlighted=!1,this._triggersSubmenu=!1,null===(a=null==s?void 0:s.addItem)||void 0===a||a.call(s,this)}focus(e,i){this._focusMonitor&&e?this._focusMonitor.focusVia(this._getHostElement(),e,i):this._getHostElement().focus(i),this._focused.next(this)}ngAfterViewInit(){this._focusMonitor&&this._focusMonitor.monitor(this._elementRef,!1)}ngOnDestroy(){this._focusMonitor&&this._focusMonitor.stopMonitoring(this._elementRef),this._parentMenu&&this._parentMenu.removeItem&&this._parentMenu.removeItem(this),this._hovered.complete(),this._focused.complete()}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._elementRef.nativeElement}_checkDisabled(e){this.disabled&&(e.preventDefault(),e.stopPropagation())}_handleMouseEnter(){this._hovered.next(this)}getLabel(){var e;const i=this._elementRef.nativeElement.cloneNode(!0),r=i.querySelectorAll("mat-icon, .material-icons");for(let s=0;s{class n{constructor(e,i,r,s){this._elementRef=e,this._ngZone=i,this._defaultOptions=r,this._changeDetectorRef=s,this._xPosition=this._defaultOptions.xPosition,this._yPosition=this._defaultOptions.yPosition,this._directDescendantItems=new Vl,this._tabSubscription=P.EMPTY,this._classList={},this._panelAnimationState="void",this._animationDone=new K,this.overlayPanelClass=this._defaultOptions.overlayPanelClass||"",this.backdropClass=this._defaultOptions.backdropClass,this._overlapTrigger=this._defaultOptions.overlapTrigger,this._hasBackdrop=this._defaultOptions.hasBackdrop,this.closed=new jt,this.close=this.closed,this.panelId="mat-menu-panel-"+eX++}get xPosition(){return this._xPosition}set xPosition(e){this._xPosition=e,this.setPositionClasses()}get yPosition(){return this._yPosition}set yPosition(e){this._yPosition=e,this.setPositionClasses()}get overlapTrigger(){return this._overlapTrigger}set overlapTrigger(e){this._overlapTrigger=rn(e)}get hasBackdrop(){return this._hasBackdrop}set hasBackdrop(e){this._hasBackdrop=rn(e)}set panelClass(e){const i=this._previousPanelClass;i&&i.length&&i.split(" ").forEach(r=>{this._classList[r]=!1}),this._previousPanelClass=e,e&&e.length&&(e.split(" ").forEach(r=>{this._classList[r]=!0}),this._elementRef.nativeElement.className="")}get classList(){return this.panelClass}set classList(e){this.panelClass=e}ngOnInit(){this.setPositionClasses()}ngAfterContentInit(){this._updateDirectDescendants(),this._keyManager=new Yp(this._directDescendantItems).withWrap().withTypeAhead().withHomeAndEnd(),this._tabSubscription=this._keyManager.tabOut.subscribe(()=>this.closed.emit("tab")),this._directDescendantItems.changes.pipe(hr(this._directDescendantItems),Jr(e=>at(...e.map(i=>i._focused)))).subscribe(e=>this._keyManager.updateActiveItem(e)),this._directDescendantItems.changes.subscribe(e=>{var i;const r=this._keyManager;if("enter"===this._panelAnimationState&&(null===(i=r.activeItem)||void 0===i?void 0:i._hasFocus())){const s=e.toArray(),o=Math.max(0,Math.min(s.length-1,r.activeItemIndex||0));s[o]&&!s[o].disabled?r.setActiveItem(o):r.setNextItemActive()}})}ngOnDestroy(){this._directDescendantItems.destroy(),this._tabSubscription.unsubscribe(),this.closed.complete()}_hovered(){return this._directDescendantItems.changes.pipe(hr(this._directDescendantItems),Jr(i=>at(...i.map(r=>r._hovered))))}addItem(e){}removeItem(e){}_handleKeydown(e){const i=e.keyCode,r=this._keyManager;switch(i){case 27:Qr(e)||(e.preventDefault(),this.closed.emit("keydown"));break;case 37:this.parentMenu&&"ltr"===this.direction&&this.closed.emit("keydown");break;case 39:this.parentMenu&&"rtl"===this.direction&&this.closed.emit("keydown");break;default:return(38===i||40===i)&&r.setFocusOrigin("keyboard"),void r.onKeydown(e)}e.stopPropagation()}focusFirstItem(e="program"){this._ngZone.onStable.pipe(Ii(1)).subscribe(()=>{let i=null;if(this._directDescendantItems.length&&(i=this._directDescendantItems.first._getHostElement().closest('[role="menu"]')),!i||!i.contains(document.activeElement)){const r=this._keyManager;r.setFocusOrigin(e).setFirstItemActive(),!r.activeItem&&i&&i.focus()}})}resetActiveItem(){this._keyManager.setActiveItem(-1)}setElevation(e){const i=Math.min(this._baseElevation+e,24),r=`${this._elevationPrefix}${i}`,s=Object.keys(this._classList).find(o=>o.startsWith(this._elevationPrefix));(!s||s===this._previousElevation)&&(this._previousElevation&&(this._classList[this._previousElevation]=!1),this._classList[r]=!0,this._previousElevation=r)}setPositionClasses(e=this.xPosition,i=this.yPosition){var r;const s=this._classList;s["mat-menu-before"]="before"===e,s["mat-menu-after"]="after"===e,s["mat-menu-above"]="above"===i,s["mat-menu-below"]="below"===i,null===(r=this._changeDetectorRef)||void 0===r||r.markForCheck()}_startAnimation(){this._panelAnimationState="enter"}_resetAnimation(){this._panelAnimationState="void"}_onAnimationDone(e){this._animationDone.next(e),this._isAnimating=!1}_onAnimationStart(e){this._isAnimating=!0,"enter"===e.toState&&0===this._keyManager.activeItemIndex&&(e.element.scrollTop=0)}_updateDirectDescendants(){this._allItems.changes.pipe(hr(this._allItems)).subscribe(e=>{this._directDescendantItems.reset(e.filter(i=>i._parentMenu===this)),this._directDescendantItems.notifyOnChanges()})}}return n.\u0275fac=function(e){return new(e||n)(M(Zt),M(yn),M($O),M(Gn))},n.\u0275dir=rt({type:n,contentQueries:function(e,i,r){if(1&e&&(Pn(r,ZZ,5),Pn(r,lc,5),Pn(r,lc,4)),2&e){let s;Et(s=Ct())&&(i.lazyContent=s.first),Et(s=Ct())&&(i._allItems=s),Et(s=Ct())&&(i.items=s)}},viewQuery:function(e,i){if(1&e&&pn(Wi,5),2&e){let r;Et(r=Ct())&&(i.templateRef=r.first)}},inputs:{backdropClass:"backdropClass",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],ariaDescribedby:["aria-describedby","ariaDescribedby"],xPosition:"xPosition",yPosition:"yPosition",overlapTrigger:"overlapTrigger",hasBackdrop:"hasBackdrop",panelClass:["class","panelClass"],classList:"classList"},outputs:{closed:"closed",close:"close"}}),n})(),ny=(()=>{class n extends tm{constructor(e,i,r,s){super(e,i,r,s),this._elevationPrefix="mat-elevation-z",this._baseElevation=4}}return n.\u0275fac=function(e){return new(e||n)(M(Zt),M(yn),M($O),M(Gn))},n.\u0275cmp=It({type:n,selectors:[["mat-menu"]],hostVars:3,hostBindings:function(e,i){2&e&&hn("aria-label",null)("aria-labelledby",null)("aria-describedby",null)},exportAs:["matMenu"],features:[tn([{provide:f0,useExisting:n}]),xt],ngContentSelectors:GO,decls:1,vars:0,consts:[["tabindex","-1","role","menu",1,"mat-menu-panel",3,"id","ngClass","keydown","click"],[1,"mat-menu-content"]],template:function(e,i){1&e&&(yi(),Ae(0,KZ,3,6,"ng-template"))},directives:[Hc],styles:['mat-menu{display:none}.mat-menu-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;max-height:calc(100vh - 48px);border-radius:4px;outline:0;min-height:64px}.mat-menu-panel.ng-animating{pointer-events:none}.cdk-high-contrast-active .mat-menu-panel{outline:solid 1px}.mat-menu-content:not(:empty){padding-top:8px;padding-bottom:8px}.mat-menu-item{-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;line-height:48px;height:48px;padding:0 16px;text-align:left;text-decoration:none;max-width:100%;position:relative}.mat-menu-item::-moz-focus-inner{border:0}.mat-menu-item[disabled]{cursor:default}[dir=rtl] .mat-menu-item{text-align:right}.mat-menu-item .mat-icon{margin-right:16px;vertical-align:middle}.mat-menu-item .mat-icon svg{vertical-align:top}[dir=rtl] .mat-menu-item .mat-icon{margin-left:16px;margin-right:0}.mat-menu-item[disabled]::before{display:block;position:absolute;content:"";top:0;left:0;bottom:0;right:0}.cdk-high-contrast-active .mat-menu-item{margin-top:1px}.cdk-high-contrast-active .mat-menu-item.cdk-program-focused,.cdk-high-contrast-active .mat-menu-item.cdk-keyboard-focused,.cdk-high-contrast-active .mat-menu-item-highlighted{outline:dotted 1px}.mat-menu-item-submenu-trigger{padding-right:32px}[dir=rtl] .mat-menu-item-submenu-trigger{padding-right:16px;padding-left:32px}.mat-menu-submenu-icon{position:absolute;top:50%;right:16px;transform:translateY(-50%);width:5px;height:10px;fill:currentColor}[dir=rtl] .mat-menu-submenu-icon{right:auto;left:16px;transform:translateY(-50%) scaleX(-1)}.cdk-high-contrast-active .mat-menu-submenu-icon{fill:CanvasText}button.mat-menu-item{width:100%}.mat-menu-item .mat-menu-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}\n'],encapsulation:2,data:{animation:[ty.transformMenu,ty.fadeInItems]},changeDetection:0}),n})();const WO=new ht("mat-menu-scroll-strategy"),nX={provide:WO,deps:[Ds],useFactory:function tX(n){return()=>n.scrollStrategies.reposition()}},KO=na({passive:!0});let iX=(()=>{class n{constructor(e,i,r,s,o,a,l,h,f){this._overlay=e,this._element=i,this._viewContainerRef=r,this._menuItemInstance=a,this._dir=l,this._focusMonitor=h,this._ngZone=f,this._overlayRef=null,this._menuOpen=!1,this._closingActionsSubscription=P.EMPTY,this._hoverSubscription=P.EMPTY,this._menuCloseSubscription=P.EMPTY,this._handleTouchStart=D=>{y_(D)||(this._openedBy="touch")},this._openedBy=void 0,this.restoreFocus=!0,this.menuOpened=new jt,this.onMenuOpen=this.menuOpened,this.menuClosed=new jt,this.onMenuClose=this.menuClosed,this._scrollStrategy=s,this._parentMaterialMenu=o instanceof tm?o:void 0,i.nativeElement.addEventListener("touchstart",this._handleTouchStart,KO),a&&(a._triggersSubmenu=this.triggersSubmenu())}get _deprecatedMatMenuTriggerFor(){return this.menu}set _deprecatedMatMenuTriggerFor(e){this.menu=e}get menu(){return this._menu}set menu(e){e!==this._menu&&(this._menu=e,this._menuCloseSubscription.unsubscribe(),e&&(this._menuCloseSubscription=e.close.subscribe(i=>{this._destroyMenu(i),("click"===i||"tab"===i)&&this._parentMaterialMenu&&this._parentMaterialMenu.closed.emit(i)})))}ngAfterContentInit(){this._checkMenu(),this._handleHover()}ngOnDestroy(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=null),this._element.nativeElement.removeEventListener("touchstart",this._handleTouchStart,KO),this._menuCloseSubscription.unsubscribe(),this._closingActionsSubscription.unsubscribe(),this._hoverSubscription.unsubscribe()}get menuOpen(){return this._menuOpen}get dir(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}triggersSubmenu(){return!(!this._menuItemInstance||!this._parentMaterialMenu)}toggleMenu(){return this._menuOpen?this.closeMenu():this.openMenu()}openMenu(){if(this._menuOpen)return;this._checkMenu();const e=this._createOverlay(),i=e.getConfig(),r=i.positionStrategy;this._setPosition(r),i.hasBackdrop=null==this.menu.hasBackdrop?!this.triggersSubmenu():this.menu.hasBackdrop,e.attach(this._getPortal()),this.menu.lazyContent&&this.menu.lazyContent.attach(this.menuData),this._closingActionsSubscription=this._menuClosingActions().subscribe(()=>this.closeMenu()),this._initMenu(),this.menu instanceof tm&&(this.menu._startAnimation(),this.menu._directDescendantItems.changes.pipe(vn(this.menu.close)).subscribe(()=>{r.withLockedPosition(!1).reapplyLastPosition(),r.withLockedPosition(!0)}))}closeMenu(){this.menu.close.emit()}focus(e,i){this._focusMonitor&&e?this._focusMonitor.focusVia(this._element,e,i):this._element.nativeElement.focus(i)}updatePosition(){var e;null===(e=this._overlayRef)||void 0===e||e.updatePosition()}_destroyMenu(e){if(!this._overlayRef||!this.menuOpen)return;const i=this.menu;this._closingActionsSubscription.unsubscribe(),this._overlayRef.detach(),this.restoreFocus&&("keydown"===e||!this._openedBy||!this.triggersSubmenu())&&this.focus(this._openedBy),this._openedBy=void 0,i instanceof tm?(i._resetAnimation(),i.lazyContent?i._animationDone.pipe(hi(r=>"void"===r.toState),Ii(1),vn(i.lazyContent._attached)).subscribe({next:()=>i.lazyContent.detach(),complete:()=>this._setIsMenuOpen(!1)}):this._setIsMenuOpen(!1)):(this._setIsMenuOpen(!1),i.lazyContent&&i.lazyContent.detach())}_initMenu(){this.menu.parentMenu=this.triggersSubmenu()?this._parentMaterialMenu:void 0,this.menu.direction=this.dir,this._setMenuElevation(),this.menu.focusFirstItem(this._openedBy||"program"),this._setIsMenuOpen(!0)}_setMenuElevation(){if(this.menu.setElevation){let e=0,i=this.menu.parentMenu;for(;i;)e++,i=i.parentMenu;this.menu.setElevation(e)}}_setIsMenuOpen(e){this._menuOpen=e,this._menuOpen?this.menuOpened.emit():this.menuClosed.emit(),this.triggersSubmenu()&&this._menuItemInstance._setHighlighted(e)}_checkMenu(){}_createOverlay(){if(!this._overlayRef){const e=this._getOverlayConfig();this._subscribeToPositions(e.positionStrategy),this._overlayRef=this._overlay.create(e),this._overlayRef.keydownEvents().subscribe()}return this._overlayRef}_getOverlayConfig(){return new Bd({positionStrategy:this._overlay.position().flexibleConnectedTo(this._element).withLockedPosition().withGrowAfterOpen().withTransformOriginOn(".mat-menu-panel, .mat-mdc-menu-panel"),backdropClass:this.menu.backdropClass||"cdk-overlay-transparent-backdrop",panelClass:this.menu.overlayPanelClass,scrollStrategy:this._scrollStrategy(),direction:this._dir})}_subscribeToPositions(e){this.menu.setPositionClasses&&e.positionChanges.subscribe(i=>{const r="start"===i.connectionPair.overlayX?"after":"before",s="top"===i.connectionPair.overlayY?"below":"above";this._ngZone?this._ngZone.run(()=>this.menu.setPositionClasses(r,s)):this.menu.setPositionClasses(r,s)})}_setPosition(e){let[i,r]="before"===this.menu.xPosition?["end","start"]:["start","end"],[s,o]="above"===this.menu.yPosition?["bottom","top"]:["top","bottom"],[a,l]=[s,o],[h,f]=[i,r],D=0;this.triggersSubmenu()?(f=i="before"===this.menu.xPosition?"start":"end",r=h="end"===i?"start":"end",D="bottom"===s?8:-8):this.menu.overlapTrigger||(a="top"===s?"bottom":"top",l="top"===o?"bottom":"top"),e.withPositions([{originX:i,originY:a,overlayX:h,overlayY:s,offsetY:D},{originX:r,originY:a,overlayX:f,overlayY:s,offsetY:D},{originX:i,originY:l,overlayX:h,overlayY:o,offsetY:-D},{originX:r,originY:l,overlayX:f,overlayY:o,offsetY:-D}])}_menuClosingActions(){const e=this._overlayRef.backdropClick(),i=this._overlayRef.detachments();return at(e,this._parentMaterialMenu?this._parentMaterialMenu.closed:Qt(),this._parentMaterialMenu?this._parentMaterialMenu._hovered().pipe(hi(o=>o!==this._menuItemInstance),hi(()=>this._menuOpen)):Qt(),i)}_handleMousedown(e){__(e)||(this._openedBy=0===e.button?"mouse":void 0,this.triggersSubmenu()&&e.preventDefault())}_handleKeydown(e){const i=e.keyCode;(13===i||32===i)&&(this._openedBy="keyboard"),this.triggersSubmenu()&&(39===i&&"ltr"===this.dir||37===i&&"rtl"===this.dir)&&(this._openedBy="keyboard",this.openMenu())}_handleClick(e){this.triggersSubmenu()?(e.stopPropagation(),this.openMenu()):this.toggleMenu()}_handleHover(){!this.triggersSubmenu()||!this._parentMaterialMenu||(this._hoverSubscription=this._parentMaterialMenu._hovered().pipe(hi(e=>e===this._menuItemInstance&&!e.disabled),z_(0,CD)).subscribe(()=>{this._openedBy="mouse",this.menu instanceof tm&&this.menu._isAnimating?this.menu._animationDone.pipe(Ii(1),z_(0,CD),vn(this._parentMaterialMenu._hovered())).subscribe(()=>this.openMenu()):this.openMenu()}))}_getPortal(){return(!this._portal||this._portal.templateRef!==this.menu.templateRef)&&(this._portal=new ic(this.menu.templateRef,this._viewContainerRef)),this._portal}}return n.\u0275fac=function(e){return new(e||n)(M(Ds),M(Zt),M(Si),M(WO),M(f0,8),M(lc,10),M(Hr,8),M(Ns),M(yn))},n.\u0275dir=rt({type:n,hostAttrs:["aria-haspopup","true"],hostVars:2,hostBindings:function(e,i){1&e&&Je("click",function(s){return i._handleClick(s)})("mousedown",function(s){return i._handleMousedown(s)})("keydown",function(s){return i._handleKeydown(s)}),2&e&&hn("aria-expanded",i.menuOpen||null)("aria-controls",i.menuOpen?i.menu.panelId:null)},inputs:{_deprecatedMatMenuTriggerFor:["mat-menu-trigger-for","_deprecatedMatMenuTriggerFor"],menu:["matMenuTriggerFor","menu"],menuData:["matMenuTriggerData","menuData"],restoreFocus:["matMenuTriggerRestoreFocus","restoreFocus"]},outputs:{menuOpened:"menuOpened",onMenuOpen:"onMenuOpen",menuClosed:"menuClosed",onMenuClose:"onMenuClose"}}),n})(),iy=(()=>{class n extends iX{}return n.\u0275fac=function(){let t;return function(i){return(t||(t=Hn(n)))(i||n)}}(),n.\u0275dir=rt({type:n,selectors:[["","mat-menu-trigger-for",""],["","matMenuTriggerFor",""]],hostAttrs:[1,"mat-menu-trigger"],exportAs:["matMenuTrigger"],features:[xt]}),n})(),rX=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Yt({type:n}),n.\u0275inj=He({providers:[nX],imports:[[di,mn,ra,oc],Ba,mn]}),n})();const sX=["trigger"],oX=["panel"];function aX(n,t){if(1&n&&(x(0,"span",8),De(1),O()),2&n){const e=Te();B(1),vi(e.placeholder)}}function lX(n,t){if(1&n&&(x(0,"span",12),De(1),O()),2&n){const e=Te(2);B(1),vi(e.triggerValue)}}function cX(n,t){1&n&&Sn(0,0,["*ngSwitchCase","true"])}function uX(n,t){1&n&&(x(0,"span",9),Ae(1,lX,2,1,"span",10),Ae(2,cX,1,0,"ng-content",11),O()),2&n&&(H("ngSwitch",!!Te().customTrigger),B(2),H("ngSwitchCase",!0))}function dX(n,t){if(1&n){const e=an();x(0,"div",13)(1,"div",14,15),Je("@transformPanel.done",function(r){return Ut(e),Te()._panelDoneAnimatingStream.next(r.toState)})("keydown",function(r){return Ut(e),Te()._handleKeydown(r)}),Sn(3,1),O()()}if(2&n){const e=Te();H("@transformPanelWrap",void 0),B(1),DS("mat-select-panel ",e._getPanelTheme(),""),Fr("transform-origin",e._transformOrigin)("font-size",e._triggerFontSize,"px"),H("ngClass",e.panelClass)("@transformPanel",e.multiple?"showing-multiple":"showing"),hn("id",e.id+"-panel")("aria-multiselectable",e.multiple)("aria-label",e.ariaLabel||null)("aria-labelledby",e._getPanelAriaLabelledby())}}const hX=[[["mat-select-trigger"]],"*"],pX=["mat-select-trigger","*"],ZO={transformPanelWrap:Ki("transformPanelWrap",[Zn("* => void",gd("@transformPanel",[fd()],{optional:!0}))]),transformPanel:Ki("transformPanel",[qn("void",cn({transform:"scaleY(0.8)",minWidth:"100%",opacity:0})),qn("showing",cn({opacity:1,minWidth:"calc(100% + 32px)",transform:"scaleY(1)"})),qn("showing-multiple",cn({opacity:1,minWidth:"calc(100% + 64px)",transform:"scaleY(1)"})),Zn("void => *",ti("120ms cubic-bezier(0, 0, 0.2, 1)")),Zn("* => void",ti("100ms 25ms linear",cn({opacity:0})))])};let XO=0;const eP=new ht("mat-select-scroll-strategy"),_X=new ht("MAT_SELECT_CONFIG"),yX={provide:eP,deps:[Ds],useFactory:function gX(n){return()=>n.scrollStrategies.reposition()}};class vX{constructor(t,e){this.source=t,this.value=e}}const bX=to(nc(eo(QD(class{constructor(n,t,e,i,r){this._elementRef=n,this._defaultErrorStateMatcher=t,this._parentForm=e,this._parentFormGroup=i,this.ngControl=r}})))),tP=new ht("MatSelectTrigger");let g0=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=rt({type:n,selectors:[["mat-select-trigger"]],features:[tn([{provide:tP,useExisting:n}])]}),n})(),wX=(()=>{class n extends bX{constructor(e,i,r,s,o,a,l,h,f,D,k,Y,oe,Ne){var $e,it,qe;super(o,s,l,h,D),this._viewportRuler=e,this._changeDetectorRef=i,this._ngZone=r,this._dir=a,this._parentFormField=f,this._liveAnnouncer=oe,this._defaultOptions=Ne,this._panelOpen=!1,this._compareWith=(Rt,Gt)=>Rt===Gt,this._uid="mat-select-"+XO++,this._triggerAriaLabelledBy=null,this._destroy=new K,this._onChange=()=>{},this._onTouched=()=>{},this._valueId="mat-select-value-"+XO++,this._panelDoneAnimatingStream=new K,this._overlayPanelClass=(null===($e=this._defaultOptions)||void 0===$e?void 0:$e.overlayPanelClass)||"",this._focused=!1,this.controlType="mat-select",this._multiple=!1,this._disableOptionCentering=null!==(qe=null===(it=this._defaultOptions)||void 0===it?void 0:it.disableOptionCentering)&&void 0!==qe&&qe,this.ariaLabel="",this.optionSelectionChanges=gp(()=>{const Rt=this.options;return Rt?Rt.changes.pipe(hr(Rt),Jr(()=>at(...Rt.map(Gt=>Gt.onSelectionChange)))):this._ngZone.onStable.pipe(Ii(1),Jr(()=>this.optionSelectionChanges))}),this.openedChange=new jt,this._openedStream=this.openedChange.pipe(hi(Rt=>Rt),ge(()=>{})),this._closedStream=this.openedChange.pipe(hi(Rt=>!Rt),ge(()=>{})),this.selectionChange=new jt,this.valueChange=new jt,this.ngControl&&(this.ngControl.valueAccessor=this),null!=(null==Ne?void 0:Ne.typeaheadDebounceInterval)&&(this._typeaheadDebounceInterval=Ne.typeaheadDebounceInterval),this._scrollStrategyFactory=Y,this._scrollStrategy=this._scrollStrategyFactory(),this.tabIndex=parseInt(k)||0,this.id=this.id}get focused(){return this._focused||this._panelOpen}get placeholder(){return this._placeholder}set placeholder(e){this._placeholder=e,this.stateChanges.next()}get required(){var e,i,r,s;return null!==(s=null!==(e=this._required)&&void 0!==e?e:null===(r=null===(i=this.ngControl)||void 0===i?void 0:i.control)||void 0===r?void 0:r.hasValidator(Mr.required))&&void 0!==s&&s}set required(e){this._required=rn(e),this.stateChanges.next()}get multiple(){return this._multiple}set multiple(e){this._multiple=rn(e)}get disableOptionCentering(){return this._disableOptionCentering}set disableOptionCentering(e){this._disableOptionCentering=rn(e)}get compareWith(){return this._compareWith}set compareWith(e){this._compareWith=e,this._selectionModel&&this._initializeSelection()}get value(){return this._value}set value(e){this._assignValue(e)&&this._onChange(e)}get typeaheadDebounceInterval(){return this._typeaheadDebounceInterval}set typeaheadDebounceInterval(e){this._typeaheadDebounceInterval=Ai(e)}get id(){return this._id}set id(e){this._id=e||this._uid,this.stateChanges.next()}ngOnInit(){this._selectionModel=new zp(this.multiple),this.stateChanges.next(),this._panelDoneAnimatingStream.pipe(p_(),vn(this._destroy)).subscribe(()=>this._panelDoneAnimating(this.panelOpen))}ngAfterContentInit(){this._initKeyManager(),this._selectionModel.changed.pipe(vn(this._destroy)).subscribe(e=>{e.added.forEach(i=>i.select()),e.removed.forEach(i=>i.deselect())}),this.options.changes.pipe(hr(null),vn(this._destroy)).subscribe(()=>{this._resetOptions(),this._initializeSelection()})}ngDoCheck(){const e=this._getTriggerAriaLabelledby(),i=this.ngControl;if(e!==this._triggerAriaLabelledBy){const r=this._elementRef.nativeElement;this._triggerAriaLabelledBy=e,e?r.setAttribute("aria-labelledby",e):r.removeAttribute("aria-labelledby")}i&&(this._previousControl!==i.control&&(void 0!==this._previousControl&&null!==i.disabled&&i.disabled!==this.disabled&&(this.disabled=i.disabled),this._previousControl=i.control),this.updateErrorState())}ngOnChanges(e){e.disabled&&this.stateChanges.next(),e.typeaheadDebounceInterval&&this._keyManager&&this._keyManager.withTypeAhead(this._typeaheadDebounceInterval)}ngOnDestroy(){this._destroy.next(),this._destroy.complete(),this.stateChanges.complete()}toggle(){this.panelOpen?this.close():this.open()}open(){this._canOpen()&&(this._panelOpen=!0,this._keyManager.withHorizontalOrientation(null),this._highlightCorrectOption(),this._changeDetectorRef.markForCheck())}close(){this._panelOpen&&(this._panelOpen=!1,this._keyManager.withHorizontalOrientation(this._isRtl()?"rtl":"ltr"),this._changeDetectorRef.markForCheck(),this._onTouched())}writeValue(e){this._assignValue(e)}registerOnChange(e){this._onChange=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this.disabled=e,this._changeDetectorRef.markForCheck(),this.stateChanges.next()}get panelOpen(){return this._panelOpen}get selected(){var e,i;return this.multiple?(null===(e=this._selectionModel)||void 0===e?void 0:e.selected)||[]:null===(i=this._selectionModel)||void 0===i?void 0:i.selected[0]}get triggerValue(){if(this.empty)return"";if(this._multiple){const e=this._selectionModel.selected.map(i=>i.viewValue);return this._isRtl()&&e.reverse(),e.join(", ")}return this._selectionModel.selected[0].viewValue}_isRtl(){return!!this._dir&&"rtl"===this._dir.value}_handleKeydown(e){this.disabled||(this.panelOpen?this._handleOpenKeydown(e):this._handleClosedKeydown(e))}_handleClosedKeydown(e){const i=e.keyCode,r=40===i||38===i||37===i||39===i,s=13===i||32===i,o=this._keyManager;if(!o.isTyping()&&s&&!Qr(e)||(this.multiple||e.altKey)&&r)e.preventDefault(),this.open();else if(!this.multiple){const a=this.selected;o.onKeydown(e);const l=this.selected;l&&a!==l&&this._liveAnnouncer.announce(l.viewValue,1e4)}}_handleOpenKeydown(e){const i=this._keyManager,r=e.keyCode,s=40===r||38===r,o=i.isTyping();if(s&&e.altKey)e.preventDefault(),this.close();else if(o||13!==r&&32!==r||!i.activeItem||Qr(e))if(!o&&this._multiple&&65===r&&e.ctrlKey){e.preventDefault();const a=this.options.some(l=>!l.disabled&&!l.selected);this.options.forEach(l=>{l.disabled||(a?l.select():l.deselect())})}else{const a=i.activeItemIndex;i.onKeydown(e),this._multiple&&s&&e.shiftKey&&i.activeItem&&i.activeItemIndex!==a&&i.activeItem._selectViaInteraction()}else e.preventDefault(),i.activeItem._selectViaInteraction()}_onFocus(){this.disabled||(this._focused=!0,this.stateChanges.next())}_onBlur(){this._focused=!1,!this.disabled&&!this.panelOpen&&(this._onTouched(),this._changeDetectorRef.markForCheck(),this.stateChanges.next())}_onAttached(){this._overlayDir.positionChange.pipe(Ii(1)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this._positioningSettled()})}_getPanelTheme(){return this._parentFormField?`mat-${this._parentFormField.color}`:""}get empty(){return!this._selectionModel||this._selectionModel.isEmpty()}_initializeSelection(){Promise.resolve().then(()=>{this.ngControl&&(this._value=this.ngControl.value),this._setSelectionByValue(this._value),this.stateChanges.next()})}_setSelectionByValue(e){if(this._selectionModel.selected.forEach(i=>i.setInactiveStyles()),this._selectionModel.clear(),this.multiple&&e)Array.isArray(e),e.forEach(i=>this._selectOptionByValue(i)),this._sortValues();else{const i=this._selectOptionByValue(e);i?this._keyManager.updateActiveItem(i):this.panelOpen||this._keyManager.updateActiveItem(-1)}this._changeDetectorRef.markForCheck()}_selectOptionByValue(e){const i=this.options.find(r=>{if(this._selectionModel.isSelected(r))return!1;try{return null!=r.value&&this._compareWith(r.value,e)}catch(s){return!1}});return i&&this._selectionModel.select(i),i}_assignValue(e){return!!(e!==this._value||this._multiple&&Array.isArray(e))&&(this.options&&this._setSelectionByValue(e),this._value=e,!0)}_initKeyManager(){this._keyManager=new MW(this.options).withTypeAhead(this._typeaheadDebounceInterval).withVerticalOrientation().withHorizontalOrientation(this._isRtl()?"rtl":"ltr").withHomeAndEnd().withAllowedModifierKeys(["shiftKey"]),this._keyManager.tabOut.pipe(vn(this._destroy)).subscribe(()=>{this.panelOpen&&(!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction(),this.focus(),this.close())}),this._keyManager.change.pipe(vn(this._destroy)).subscribe(()=>{this._panelOpen&&this.panel?this._scrollOptionIntoView(this._keyManager.activeItemIndex||0):!this._panelOpen&&!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction()})}_resetOptions(){const e=at(this.options.changes,this._destroy);this.optionSelectionChanges.pipe(vn(e)).subscribe(i=>{this._onSelect(i.source,i.isUserInput),i.isUserInput&&!this.multiple&&this._panelOpen&&(this.close(),this.focus())}),at(...this.options.map(i=>i._stateChanges)).pipe(vn(e)).subscribe(()=>{this._changeDetectorRef.markForCheck(),this.stateChanges.next()})}_onSelect(e,i){const r=this._selectionModel.isSelected(e);null!=e.value||this._multiple?(r!==e.selected&&(e.selected?this._selectionModel.select(e):this._selectionModel.deselect(e)),i&&this._keyManager.setActiveItem(e),this.multiple&&(this._sortValues(),i&&this.focus())):(e.deselect(),this._selectionModel.clear(),null!=this.value&&this._propagateChanges(e.value)),r!==this._selectionModel.isSelected(e)&&this._propagateChanges(),this.stateChanges.next()}_sortValues(){if(this.multiple){const e=this.options.toArray();this._selectionModel.sort((i,r)=>this.sortComparator?this.sortComparator(i,r,e):e.indexOf(i)-e.indexOf(r)),this.stateChanges.next()}}_propagateChanges(e){let i=null;i=this.multiple?this.selected.map(r=>r.value):this.selected?this.selected.value:e,this._value=i,this.valueChange.emit(i),this._onChange(i),this.selectionChange.emit(this._getChangeEvent(i)),this._changeDetectorRef.markForCheck()}_highlightCorrectOption(){this._keyManager&&(this.empty?this._keyManager.setFirstItemActive():this._keyManager.setActiveItem(this._selectionModel.selected[0]))}_canOpen(){var e;return!this._panelOpen&&!this.disabled&&(null===(e=this.options)||void 0===e?void 0:e.length)>0}focus(e){this._elementRef.nativeElement.focus(e)}_getPanelAriaLabelledby(){var e;if(this.ariaLabel)return null;const i=null===(e=this._parentFormField)||void 0===e?void 0:e.getLabelId();return this.ariaLabelledby?(i?i+" ":"")+this.ariaLabelledby:i}_getAriaActiveDescendant(){return this.panelOpen&&this._keyManager&&this._keyManager.activeItem?this._keyManager.activeItem.id:null}_getTriggerAriaLabelledby(){var e;if(this.ariaLabel)return null;const i=null===(e=this._parentFormField)||void 0===e?void 0:e.getLabelId();let r=(i?i+" ":"")+this._valueId;return this.ariaLabelledby&&(r+=" "+this.ariaLabelledby),r}_panelDoneAnimating(e){this.openedChange.emit(e)}setDescribedByIds(e){this._ariaDescribedby=e.join(" ")}onContainerClick(){this.focus(),this.open()}get shouldLabelFloat(){return this._panelOpen||!this.empty||this._focused&&!!this._placeholder}}return n.\u0275fac=function(e){return new(e||n)(M(So),M(Gn),M(yn),M(Fd),M(Zt),M(Hr,8),M(Sd,8),M(ds,8),M(Jp,8),M(Eo,10),_r("tabindex"),M(eP),M(Hp),M(_X,8))},n.\u0275dir=rt({type:n,viewQuery:function(e,i){if(1&e&&(pn(sX,5),pn(oX,5),pn(QL,5)),2&e){let r;Et(r=Ct())&&(i.trigger=r.first),Et(r=Ct())&&(i.panel=r.first),Et(r=Ct())&&(i._overlayDir=r.first)}},inputs:{panelClass:"panelClass",placeholder:"placeholder",required:"required",multiple:"multiple",disableOptionCentering:"disableOptionCentering",compareWith:"compareWith",value:"value",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],errorStateMatcher:"errorStateMatcher",typeaheadDebounceInterval:"typeaheadDebounceInterval",sortComparator:"sortComparator",id:"id"},outputs:{openedChange:"openedChange",_openedStream:"opened",_closedStream:"closed",selectionChange:"selectionChange",valueChange:"valueChange"},features:[xt,Jn]}),n})(),ko=(()=>{class n extends wX{constructor(){super(...arguments),this._scrollTop=0,this._triggerFontSize=0,this._transformOrigin="top",this._offsetY=0,this._positions=[{originX:"start",originY:"top",overlayX:"start",overlayY:"top"},{originX:"start",originY:"bottom",overlayX:"start",overlayY:"bottom"}]}_calculateOverlayScroll(e,i,r){const s=this._getItemHeight();return Math.min(Math.max(0,s*e-i+s/2),r)}ngOnInit(){super.ngOnInit(),this._viewportRuler.change().pipe(vn(this._destroy)).subscribe(()=>{this.panelOpen&&(this._triggerRect=this.trigger.nativeElement.getBoundingClientRect(),this._changeDetectorRef.markForCheck())})}open(){super._canOpen()&&(super.open(),this._triggerRect=this.trigger.nativeElement.getBoundingClientRect(),this._triggerFontSize=parseInt(getComputedStyle(this.trigger.nativeElement).fontSize||"0"),this._calculateOverlayPosition(),this._ngZone.onStable.pipe(Ii(1)).subscribe(()=>{this._triggerFontSize&&this._overlayDir.overlayRef&&this._overlayDir.overlayRef.overlayElement&&(this._overlayDir.overlayRef.overlayElement.style.fontSize=`${this._triggerFontSize}px`)}))}_scrollOptionIntoView(e){const i=H_(e,this.options,this.optionGroups),r=this._getItemHeight();this.panel.nativeElement.scrollTop=0===e&&1===i?0:function BL(n,t,e,i){return ne+i?Math.max(0,n-i+t):e}((e+i)*r,r,this.panel.nativeElement.scrollTop,256)}_positioningSettled(){this._calculateOverlayOffsetX(),this.panel.nativeElement.scrollTop=this._scrollTop}_panelDoneAnimating(e){this.panelOpen?this._scrollTop=0:(this._overlayDir.offsetX=0,this._changeDetectorRef.markForCheck()),super._panelDoneAnimating(e)}_getChangeEvent(e){return new vX(this,e)}_calculateOverlayOffsetX(){const e=this._overlayDir.overlayRef.overlayElement.getBoundingClientRect(),i=this._viewportRuler.getViewportSize(),r=this._isRtl(),s=this.multiple?56:32;let o;if(this.multiple)o=40;else if(this.disableOptionCentering)o=16;else{let h=this._selectionModel.selected[0]||this.options.first;o=h&&h.group?32:16}r||(o*=-1);const a=0-(e.left+o-(r?s:0)),l=e.right+o-i.width+(r?0:s);a>0?o+=a+8:l>0&&(o-=l+8),this._overlayDir.offsetX=Math.round(o),this._overlayDir.overlayRef.updatePosition()}_calculateOverlayOffsetY(e,i,r){const s=this._getItemHeight(),o=(s-this._triggerRect.height)/2,a=Math.floor(256/s);let l;return this.disableOptionCentering?0:(l=0===this._scrollTop?e*s:this._scrollTop===r?(e-(this._getItemCount()-a))*s+(s-(this._getItemCount()*s-256)%s):i-s/2,Math.round(-1*l-o))}_checkOverlayWithinViewport(e){const i=this._getItemHeight(),r=this._viewportRuler.getViewportSize(),s=this._triggerRect.top-8,o=r.height-this._triggerRect.bottom-8,a=Math.abs(this._offsetY),h=Math.min(this._getItemCount()*i,256)-a-this._triggerRect.height;h>o?this._adjustPanelUp(h,o):a>s?this._adjustPanelDown(a,s,e):this._transformOrigin=this._getOriginBasedOnOption()}_adjustPanelUp(e,i){const r=Math.round(e-i);this._scrollTop-=r,this._offsetY-=r,this._transformOrigin=this._getOriginBasedOnOption(),this._scrollTop<=0&&(this._scrollTop=0,this._offsetY=0,this._transformOrigin="50% bottom 0px")}_adjustPanelDown(e,i,r){const s=Math.round(e-i);if(this._scrollTop+=s,this._offsetY+=s,this._transformOrigin=this._getOriginBasedOnOption(),this._scrollTop>=r)return this._scrollTop=r,this._offsetY=0,void(this._transformOrigin="50% top 0px")}_calculateOverlayPosition(){const e=this._getItemHeight(),i=this._getItemCount(),r=Math.min(i*e,256),o=i*e-r;let a;a=this.empty?0:Math.max(this.options.toArray().indexOf(this._selectionModel.selected[0]),0),a+=H_(a,this.options,this.optionGroups);const l=r/2;this._scrollTop=this._calculateOverlayScroll(a,l,o),this._offsetY=this._calculateOverlayOffsetY(a,l,o),this._checkOverlayWithinViewport(o)}_getOriginBasedOnOption(){const e=this._getItemHeight(),i=(e-this._triggerRect.height)/2;return`50% ${Math.abs(this._offsetY)-i+e/2}px 0px`}_getItemHeight(){return 3*this._triggerFontSize}_getItemCount(){return this.options.length+this.optionGroups.length}}return n.\u0275fac=function(){let t;return function(i){return(t||(t=Hn(n)))(i||n)}}(),n.\u0275cmp=It({type:n,selectors:[["mat-select"]],contentQueries:function(e,i,r){if(1&e&&(Pn(r,tP,5),Pn(r,sa,5),Pn(r,FL,5)),2&e){let s;Et(s=Ct())&&(i.customTrigger=s.first),Et(s=Ct())&&(i.options=s),Et(s=Ct())&&(i.optionGroups=s)}},hostAttrs:["role","combobox","aria-autocomplete","none","aria-haspopup","true",1,"mat-select"],hostVars:20,hostBindings:function(e,i){1&e&&Je("keydown",function(s){return i._handleKeydown(s)})("focus",function(){return i._onFocus()})("blur",function(){return i._onBlur()}),2&e&&(hn("id",i.id)("tabindex",i.tabIndex)("aria-controls",i.panelOpen?i.id+"-panel":null)("aria-expanded",i.panelOpen)("aria-label",i.ariaLabel||null)("aria-required",i.required.toString())("aria-disabled",i.disabled.toString())("aria-invalid",i.errorState)("aria-describedby",i._ariaDescribedby||null)("aria-activedescendant",i._getAriaActiveDescendant()),Cn("mat-select-disabled",i.disabled)("mat-select-invalid",i.errorState)("mat-select-required",i.required)("mat-select-empty",i.empty)("mat-select-multiple",i.multiple))},inputs:{disabled:"disabled",disableRipple:"disableRipple",tabIndex:"tabIndex"},exportAs:["matSelect"],features:[tn([{provide:Xp,useExisting:n},{provide:PL,useExisting:n}]),xt],ngContentSelectors:pX,decls:9,vars:12,consts:[["cdk-overlay-origin","",1,"mat-select-trigger",3,"click"],["origin","cdkOverlayOrigin","trigger",""],[1,"mat-select-value",3,"ngSwitch"],["class","mat-select-placeholder mat-select-min-line",4,"ngSwitchCase"],["class","mat-select-value-text",3,"ngSwitch",4,"ngSwitchCase"],[1,"mat-select-arrow-wrapper"],[1,"mat-select-arrow"],["cdk-connected-overlay","","cdkConnectedOverlayLockPosition","","cdkConnectedOverlayHasBackdrop","","cdkConnectedOverlayBackdropClass","cdk-overlay-transparent-backdrop",3,"cdkConnectedOverlayPanelClass","cdkConnectedOverlayScrollStrategy","cdkConnectedOverlayOrigin","cdkConnectedOverlayOpen","cdkConnectedOverlayPositions","cdkConnectedOverlayMinWidth","cdkConnectedOverlayOffsetY","backdropClick","attach","detach"],[1,"mat-select-placeholder","mat-select-min-line"],[1,"mat-select-value-text",3,"ngSwitch"],["class","mat-select-min-line",4,"ngSwitchDefault"],[4,"ngSwitchCase"],[1,"mat-select-min-line"],[1,"mat-select-panel-wrap"],["role","listbox","tabindex","-1",3,"ngClass","keydown"],["panel",""]],template:function(e,i){if(1&e&&(yi(hX),x(0,"div",0,1),Je("click",function(){return i.toggle()}),x(3,"div",2),Ae(4,aX,2,1,"span",3),Ae(5,uX,3,2,"span",4),O(),x(6,"div",5),bt(7,"div",6),O()(),Ae(8,dX,4,14,"ng-template",7),Je("backdropClick",function(){return i.close()})("attach",function(){return i._onAttached()})("detach",function(){return i.close()})),2&e){const r=ki(1);hn("aria-owns",i.panelOpen?i.id+"-panel":null),B(3),H("ngSwitch",i.empty),hn("id",i._valueId),B(1),H("ngSwitchCase",!0),B(1),H("ngSwitchCase",!1),B(3),H("cdkConnectedOverlayPanelClass",i._overlayPanelClass)("cdkConnectedOverlayScrollStrategy",i._scrollStrategy)("cdkConnectedOverlayOrigin",r)("cdkConnectedOverlayOpen",i.panelOpen)("cdkConnectedOverlayPositions",i._positions)("cdkConnectedOverlayMinWidth",null==i._triggerRect?null:i._triggerRect.width)("cdkConnectedOverlayOffsetY",i._offsetY)}},directives:[WL,hd,Wf,Ox,QL,Hc],styles:['.mat-select{display:inline-block;width:100%;outline:none}.mat-select-trigger{display:inline-flex;align-items:center;cursor:pointer;position:relative;box-sizing:border-box;width:100%}.mat-select-disabled .mat-select-trigger{-webkit-user-select:none;user-select:none;cursor:default}.mat-select-value{width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mat-select-value-text{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mat-select-arrow-wrapper{height:16px;flex-shrink:0;display:inline-flex;align-items:center}.mat-form-field-appearance-fill .mat-select-arrow-wrapper{transform:translateY(-50%)}.mat-form-field-appearance-outline .mat-select-arrow-wrapper{transform:translateY(-25%)}.mat-form-field-appearance-standard.mat-form-field-has-label .mat-select:not(.mat-select-empty) .mat-select-arrow-wrapper{transform:translateY(-50%)}.mat-form-field-appearance-standard .mat-select.mat-select-empty .mat-select-arrow-wrapper{transition:transform 400ms cubic-bezier(0.25, 0.8, 0.25, 1)}._mat-animation-noopable.mat-form-field-appearance-standard .mat-select.mat-select-empty .mat-select-arrow-wrapper{transition:none}.mat-select-arrow{width:0;height:0;border-left:5px solid transparent;border-right:5px solid transparent;border-top:5px solid;margin:0 4px}.mat-form-field.mat-focused .mat-select-arrow{transform:translateX(0)}.mat-select-panel-wrap{flex-basis:100%}.mat-select-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;padding-top:0;padding-bottom:0;max-height:256px;min-width:100%;border-radius:4px;outline:0}.cdk-high-contrast-active .mat-select-panel{outline:solid 1px}.mat-select-panel .mat-optgroup-label,.mat-select-panel .mat-option{font-size:inherit;line-height:3em;height:3em}.mat-form-field-type-mat-select:not(.mat-form-field-disabled) .mat-form-field-flex{cursor:pointer}.mat-form-field-type-mat-select .mat-form-field-label{width:calc(100% - 18px)}.mat-select-placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}._mat-animation-noopable .mat-select-placeholder{transition:none}.mat-form-field-hide-placeholder .mat-select-placeholder{color:transparent;-webkit-text-fill-color:transparent;transition:none;display:block}.mat-select-min-line:empty::before{content:" ";white-space:pre;width:1px;display:inline-block;visibility:hidden}\n'],encapsulation:2,data:{animation:[ZO.transformPanelWrap,ZO.transformPanel]},changeDetection:0}),n})(),nP=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Yt({type:n}),n.\u0275inj=He({providers:[yX],imports:[[di,oc,V_,mn],Ba,s0,V_,mn]}),n})();const iP=new Set;let qd,MX=(()=>{class n{constructor(e){this._platform=e,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):EX}matchMedia(e){return(this._platform.WEBKIT||this._platform.BLINK)&&function DX(n){if(!iP.has(n))try{qd||(qd=document.createElement("style"),qd.setAttribute("type","text/css"),document.head.appendChild(qd)),qd.sheet&&(qd.sheet.insertRule(`@media ${n} {body{ }}`,0),iP.add(n))}catch(t){console.error(t)}}(e),this._matchMedia(e)}}return n.\u0275fac=function(e){return new(e||n)(Se(zi))},n.\u0275prov=Ee({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();function EX(n){return{matches:"all"===n||""===n,media:n,addListener:()=>{},removeListener:()=>{}}}let _0=(()=>{class n{constructor(e,i){this._mediaMatcher=e,this._zone=i,this._queries=new Map,this._destroySubject=new K}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(e){return rP(d_(e)).some(r=>this._registerQuery(r).mql.matches)}observe(e){let s=bM(rP(d_(e)).map(o=>this._registerQuery(o).observable));return s=Dg(s.pipe(Ii(1)),s.pipe(wD(1),bD(0))),s.pipe(ge(o=>{const a={matches:!1,breakpoints:{}};return o.forEach(({matches:l,query:h})=>{a.matches=a.matches||l,a.breakpoints[h]=l}),a}))}_registerQuery(e){if(this._queries.has(e))return this._queries.get(e);const i=this._mediaMatcher.matchMedia(e),s={observable:new st(o=>{const a=l=>this._zone.run(()=>o.next(l));return i.addListener(a),()=>{i.removeListener(a)}}).pipe(hr(i),ge(({matches:o})=>({query:e,matches:o})),vn(this._destroySubject)),mql:i};return this._queries.set(e,s),s}}return n.\u0275fac=function(e){return new(e||n)(Se(MX),Se(yn))},n.\u0275prov=Ee({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();function rP(n){return n.map(t=>t.split(",")).reduce((t,e)=>t.concat(e)).map(t=>t.trim())}const CX=["tooltip"],oP="tooltip-panel",aP=na({passive:!0}),lP=new ht("mat-tooltip-scroll-strategy"),xX={provide:lP,deps:[Ds],useFactory:function kX(n){return()=>n.scrollStrategies.reposition({scrollThrottle:20})}},IX=new ht("mat-tooltip-default-options",{providedIn:"root",factory:function AX(){return{showDelay:0,hideDelay:0,touchendHideDelay:1500}}});let RX=(()=>{class n{constructor(e,i,r,s,o,a,l,h,f,D,k,Y){this._overlay=e,this._elementRef=i,this._scrollDispatcher=r,this._viewContainerRef=s,this._ngZone=o,this._platform=a,this._ariaDescriber=l,this._focusMonitor=h,this._dir=D,this._defaultOptions=k,this._position="below",this._disabled=!1,this._viewInitialized=!1,this._pointerExitEventsInitialized=!1,this._viewportMargin=8,this._cssClassPrefix="mat",this._showDelay=this._defaultOptions.showDelay,this._hideDelay=this._defaultOptions.hideDelay,this.touchGestures="auto",this._message="",this._passiveListeners=[],this._destroyed=new K,this._scrollStrategy=f,this._document=Y,k&&(k.position&&(this.position=k.position),k.touchGestures&&(this.touchGestures=k.touchGestures)),D.change.pipe(vn(this._destroyed)).subscribe(()=>{this._overlayRef&&this._updatePosition(this._overlayRef)})}get position(){return this._position}set position(e){var i;e!==this._position&&(this._position=e,this._overlayRef&&(this._updatePosition(this._overlayRef),null===(i=this._tooltipInstance)||void 0===i||i.show(0),this._overlayRef.updatePosition()))}get disabled(){return this._disabled}set disabled(e){this._disabled=rn(e),this._disabled?this.hide(0):this._setupPointerEnterEventsIfNeeded()}get showDelay(){return this._showDelay}set showDelay(e){this._showDelay=Ai(e)}get hideDelay(){return this._hideDelay}set hideDelay(e){this._hideDelay=Ai(e),this._tooltipInstance&&(this._tooltipInstance._mouseLeaveHideDelay=this._hideDelay)}get message(){return this._message}set message(e){this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this._message,"tooltip"),this._message=null!=e?String(e).trim():"",!this._message&&this._isTooltipVisible()?this.hide(0):(this._setupPointerEnterEventsIfNeeded(),this._updateTooltipMessage(),this._ngZone.runOutsideAngular(()=>{Promise.resolve().then(()=>{this._ariaDescriber.describe(this._elementRef.nativeElement,this.message,"tooltip")})}))}get tooltipClass(){return this._tooltipClass}set tooltipClass(e){this._tooltipClass=e,this._tooltipInstance&&this._setTooltipClass(this._tooltipClass)}ngAfterViewInit(){this._viewInitialized=!0,this._setupPointerEnterEventsIfNeeded(),this._focusMonitor.monitor(this._elementRef).pipe(vn(this._destroyed)).subscribe(e=>{e?"keyboard"===e&&this._ngZone.run(()=>this.show()):this._ngZone.run(()=>this.hide(0))})}ngOnDestroy(){const e=this._elementRef.nativeElement;clearTimeout(this._touchstartTimeout),this._overlayRef&&(this._overlayRef.dispose(),this._tooltipInstance=null),this._passiveListeners.forEach(([i,r])=>{e.removeEventListener(i,r,aP)}),this._passiveListeners.length=0,this._destroyed.next(),this._destroyed.complete(),this._ariaDescriber.removeDescription(e,this.message,"tooltip"),this._focusMonitor.stopMonitoring(e)}show(e=this.showDelay){if(this.disabled||!this.message||this._isTooltipVisible()&&!this._tooltipInstance._showTimeoutId&&!this._tooltipInstance._hideTimeoutId)return;const i=this._createOverlay();this._detach(),this._portal=this._portal||new Nd(this._tooltipComponent,this._viewContainerRef);const r=this._tooltipInstance=i.attach(this._portal).instance;r._triggerElement=this._elementRef.nativeElement,r._mouseLeaveHideDelay=this._hideDelay,r.afterHidden().pipe(vn(this._destroyed)).subscribe(()=>this._detach()),this._setTooltipClass(this._tooltipClass),this._updateTooltipMessage(),r.show(e)}hide(e=this.hideDelay){this._tooltipInstance&&this._tooltipInstance.hide(e)}toggle(){this._isTooltipVisible()?this.hide():this.show()}_isTooltipVisible(){return!!this._tooltipInstance&&this._tooltipInstance.isVisible()}_createOverlay(){var e;if(this._overlayRef)return this._overlayRef;const i=this._scrollDispatcher.getAncestorScrollContainers(this._elementRef),r=this._overlay.position().flexibleConnectedTo(this._elementRef).withTransformOriginOn(`.${this._cssClassPrefix}-tooltip`).withFlexibleDimensions(!1).withViewportMargin(this._viewportMargin).withScrollableContainers(i);return r.positionChanges.pipe(vn(this._destroyed)).subscribe(s=>{this._updateCurrentPositionClass(s.connectionPair),this._tooltipInstance&&s.scrollableViewProperties.isOverlayClipped&&this._tooltipInstance.isVisible()&&this._ngZone.run(()=>this.hide(0))}),this._overlayRef=this._overlay.create({direction:this._dir,positionStrategy:r,panelClass:`${this._cssClassPrefix}-${oP}`,scrollStrategy:this._scrollStrategy()}),this._updatePosition(this._overlayRef),this._overlayRef.detachments().pipe(vn(this._destroyed)).subscribe(()=>this._detach()),this._overlayRef.outsidePointerEvents().pipe(vn(this._destroyed)).subscribe(()=>{var s;return null===(s=this._tooltipInstance)||void 0===s?void 0:s._handleBodyInteraction()}),this._overlayRef.keydownEvents().pipe(vn(this._destroyed)).subscribe(s=>{this._isTooltipVisible()&&27===s.keyCode&&!Qr(s)&&(s.preventDefault(),s.stopPropagation(),this._ngZone.run(()=>this.hide(0)))}),(null===(e=this._defaultOptions)||void 0===e?void 0:e.disableTooltipInteractivity)&&this._overlayRef.addPanelClass(`${this._cssClassPrefix}-tooltip-panel-non-interactive`),this._overlayRef}_detach(){this._overlayRef&&this._overlayRef.hasAttached()&&this._overlayRef.detach(),this._tooltipInstance=null}_updatePosition(e){const i=e.getConfig().positionStrategy,r=this._getOrigin(),s=this._getOverlayPosition();i.withPositions([this._addOffset(Object.assign(Object.assign({},r.main),s.main)),this._addOffset(Object.assign(Object.assign({},r.fallback),s.fallback))])}_addOffset(e){return e}_getOrigin(){const e=!this._dir||"ltr"==this._dir.value,i=this.position;let r;"above"==i||"below"==i?r={originX:"center",originY:"above"==i?"top":"bottom"}:"before"==i||"left"==i&&e||"right"==i&&!e?r={originX:"start",originY:"center"}:("after"==i||"right"==i&&e||"left"==i&&!e)&&(r={originX:"end",originY:"center"});const{x:s,y:o}=this._invertPosition(r.originX,r.originY);return{main:r,fallback:{originX:s,originY:o}}}_getOverlayPosition(){const e=!this._dir||"ltr"==this._dir.value,i=this.position;let r;"above"==i?r={overlayX:"center",overlayY:"bottom"}:"below"==i?r={overlayX:"center",overlayY:"top"}:"before"==i||"left"==i&&e||"right"==i&&!e?r={overlayX:"end",overlayY:"center"}:("after"==i||"right"==i&&e||"left"==i&&!e)&&(r={overlayX:"start",overlayY:"center"});const{x:s,y:o}=this._invertPosition(r.overlayX,r.overlayY);return{main:r,fallback:{overlayX:s,overlayY:o}}}_updateTooltipMessage(){this._tooltipInstance&&(this._tooltipInstance.message=this.message,this._tooltipInstance._markForCheck(),this._ngZone.onMicrotaskEmpty.pipe(Ii(1),vn(this._destroyed)).subscribe(()=>{this._tooltipInstance&&this._overlayRef.updatePosition()}))}_setTooltipClass(e){this._tooltipInstance&&(this._tooltipInstance.tooltipClass=e,this._tooltipInstance._markForCheck())}_invertPosition(e,i){return"above"===this.position||"below"===this.position?"top"===i?i="bottom":"bottom"===i&&(i="top"):"end"===e?e="start":"start"===e&&(e="end"),{x:e,y:i}}_updateCurrentPositionClass(e){const{overlayY:i,originX:r,originY:s}=e;let o;if(o="center"===i?this._dir&&"rtl"===this._dir.value?"end"===r?"left":"right":"start"===r?"left":"right":"bottom"===i&&"top"===s?"above":"below",o!==this._currentPosition){const a=this._overlayRef;if(a){const l=`${this._cssClassPrefix}-${oP}-`;a.removePanelClass(l+this._currentPosition),a.addPanelClass(l+o)}this._currentPosition=o}}_setupPointerEnterEventsIfNeeded(){this._disabled||!this.message||!this._viewInitialized||this._passiveListeners.length||(this._platformSupportsMouseEvents()?this._passiveListeners.push(["mouseenter",()=>{this._setupPointerExitEventsIfNeeded(),this.show()}]):"off"!==this.touchGestures&&(this._disableNativeGesturesIfNecessary(),this._passiveListeners.push(["touchstart",()=>{this._setupPointerExitEventsIfNeeded(),clearTimeout(this._touchstartTimeout),this._touchstartTimeout=setTimeout(()=>this.show(),500)}])),this._addListeners(this._passiveListeners))}_setupPointerExitEventsIfNeeded(){if(this._pointerExitEventsInitialized)return;this._pointerExitEventsInitialized=!0;const e=[];if(this._platformSupportsMouseEvents())e.push(["mouseleave",i=>{var r;const s=i.relatedTarget;(!s||!(null===(r=this._overlayRef)||void 0===r?void 0:r.overlayElement.contains(s)))&&this.hide()}],["wheel",i=>this._wheelListener(i)]);else if("off"!==this.touchGestures){this._disableNativeGesturesIfNecessary();const i=()=>{clearTimeout(this._touchstartTimeout),this.hide(this._defaultOptions.touchendHideDelay)};e.push(["touchend",i],["touchcancel",i])}this._addListeners(e),this._passiveListeners.push(...e)}_addListeners(e){e.forEach(([i,r])=>{this._elementRef.nativeElement.addEventListener(i,r,aP)})}_platformSupportsMouseEvents(){return!this._platform.IOS&&!this._platform.ANDROID}_wheelListener(e){if(this._isTooltipVisible()){const i=this._document.elementFromPoint(e.clientX,e.clientY),r=this._elementRef.nativeElement;i!==r&&!r.contains(i)&&this.hide()}}_disableNativeGesturesIfNecessary(){const e=this.touchGestures;if("off"!==e){const i=this._elementRef.nativeElement,r=i.style;("on"===e||"INPUT"!==i.nodeName&&"TEXTAREA"!==i.nodeName)&&(r.userSelect=r.msUserSelect=r.webkitUserSelect=r.MozUserSelect="none"),("on"===e||!i.draggable)&&(r.webkitUserDrag="none"),r.touchAction="none",r.webkitTapHighlightColor="transparent"}}}return n.\u0275fac=function(e){Ja()},n.\u0275dir=rt({type:n,inputs:{position:["matTooltipPosition","position"],disabled:["matTooltipDisabled","disabled"],showDelay:["matTooltipShowDelay","showDelay"],hideDelay:["matTooltipHideDelay","hideDelay"],touchGestures:["matTooltipTouchGestures","touchGestures"],message:["matTooltip","message"],tooltipClass:["matTooltipClass","tooltipClass"]}}),n})(),gl=(()=>{class n extends RX{constructor(e,i,r,s,o,a,l,h,f,D,k,Y){super(e,i,r,s,o,a,l,h,f,D,k,Y),this._tooltipComponent=OX}}return n.\u0275fac=function(e){return new(e||n)(M(Ds),M(Zt),M(XR),M(Si),M(yn),M(zi),M(BR),M(Ns),M(lP),M(Hr,8),M(IX,8),M(Dn))},n.\u0275dir=rt({type:n,selectors:[["","matTooltip",""]],hostAttrs:[1,"mat-tooltip-trigger"],exportAs:["matTooltip"],features:[xt]}),n})(),LX=(()=>{class n{constructor(e,i){this._changeDetectorRef=e,this._visibility="initial",this._closeOnInteraction=!1,this._isVisible=!1,this._onHide=new K,this._animationsDisabled="NoopAnimations"===i}show(e){clearTimeout(this._hideTimeoutId),this._showTimeoutId=setTimeout(()=>{this._toggleVisibility(!0),this._showTimeoutId=void 0},e)}hide(e){clearTimeout(this._showTimeoutId),this._hideTimeoutId=setTimeout(()=>{this._toggleVisibility(!1),this._hideTimeoutId=void 0},e)}afterHidden(){return this._onHide}isVisible(){return this._isVisible}ngOnDestroy(){clearTimeout(this._showTimeoutId),clearTimeout(this._hideTimeoutId),this._onHide.complete(),this._triggerElement=null}_handleBodyInteraction(){this._closeOnInteraction&&this.hide(0)}_markForCheck(){this._changeDetectorRef.markForCheck()}_handleMouseLeave({relatedTarget:e}){(!e||!this._triggerElement.contains(e))&&this.hide(this._mouseLeaveHideDelay)}_onShow(){}_handleAnimationEnd({animationName:e}){(e===this._showAnimation||e===this._hideAnimation)&&this._finalizeAnimation(e===this._showAnimation)}_finalizeAnimation(e){e?this._closeOnInteraction=!0:this.isVisible()||this._onHide.next()}_toggleVisibility(e){const i=this._tooltip.nativeElement,r=this._showAnimation,s=this._hideAnimation;if(i.classList.remove(e?s:r),i.classList.add(e?r:s),this._isVisible=e,e&&!this._animationsDisabled&&"function"==typeof getComputedStyle){const o=getComputedStyle(i);("0s"===o.getPropertyValue("animation-duration")||"none"===o.getPropertyValue("animation-name"))&&(this._animationsDisabled=!0)}e&&this._onShow(),this._animationsDisabled&&(i.classList.add("_mat-animation-noopable"),this._finalizeAnimation(e))}}return n.\u0275fac=function(e){return new(e||n)(M(Gn),M(Zi,8))},n.\u0275dir=rt({type:n}),n})(),OX=(()=>{class n extends LX{constructor(e,i,r){super(e,r),this._breakpointObserver=i,this._isHandset=this._breakpointObserver.observe("(max-width: 599.98px) and (orientation: portrait), (max-width: 959.98px) and (orientation: landscape)"),this._showAnimation="mat-tooltip-show",this._hideAnimation="mat-tooltip-hide"}}return n.\u0275fac=function(e){return new(e||n)(M(Gn),M(_0),M(Zi,8))},n.\u0275cmp=It({type:n,selectors:[["mat-tooltip-component"]],viewQuery:function(e,i){if(1&e&&pn(CX,7),2&e){let r;Et(r=Ct())&&(i._tooltip=r.first)}},hostAttrs:["aria-hidden","true"],hostVars:2,hostBindings:function(e,i){1&e&&Je("mouseleave",function(s){return i._handleMouseLeave(s)}),2&e&&Fr("zoom",i.isVisible()?1:null)},features:[xt],decls:4,vars:6,consts:[[1,"mat-tooltip",3,"ngClass","animationend"],["tooltip",""]],template:function(e,i){if(1&e&&(x(0,"div",0,1),Je("animationend",function(s){return i._handleAnimationEnd(s)}),ls(2,"async"),De(3),O()),2&e){let r;Cn("mat-tooltip-handset",null==(r=cs(2,4,i._isHandset))?null:r.matches),H("ngClass",i.tooltipClass),B(3),vi(i.message)}},directives:[Hc],pipes:[rl],styles:[".mat-tooltip{color:#fff;border-radius:4px;margin:14px;max-width:250px;padding-left:8px;padding-right:8px;overflow:hidden;text-overflow:ellipsis;transform:scale(0)}.mat-tooltip._mat-animation-noopable{animation:none;transform:scale(1)}.cdk-high-contrast-active .mat-tooltip{outline:solid 1px}.mat-tooltip-handset{margin:24px;padding-left:16px;padding-right:16px}.mat-tooltip-panel-non-interactive{pointer-events:none}@keyframes mat-tooltip-show{0%{opacity:0;transform:scale(0)}50%{opacity:.5;transform:scale(0.99)}100%{opacity:1;transform:scale(1)}}@keyframes mat-tooltip-hide{0%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(1)}}.mat-tooltip-show{animation:mat-tooltip-show 200ms cubic-bezier(0, 0, 0.2, 1) forwards}.mat-tooltip-hide{animation:mat-tooltip-hide 100ms cubic-bezier(0, 0, 0.2, 1) forwards}\n"],encapsulation:2,changeDetection:0}),n})(),y0=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Yt({type:n}),n.\u0275inj=He({providers:[xX],imports:[[b_,di,oc,mn],mn,Ba]}),n})();function PX(n,t){if(1&n&&(x(0,"mat-option",19),De(1),O()),2&n){const e=t.$implicit;H("value",e),B(1),ln(" ",e," ")}}function FX(n,t){if(1&n){const e=an();x(0,"mat-form-field",16)(1,"mat-select",17),Je("selectionChange",function(r){return Ut(e),Te(2)._changePageSize(r.value)}),Ae(2,PX,2,2,"mat-option",18),O()()}if(2&n){const e=Te(2);H("appearance",e._formFieldAppearance)("color",e.color),B(1),H("value",e.pageSize)("disabled",e.disabled)("aria-label",e._intl.itemsPerPageLabel),B(1),H("ngForOf",e._displayedPageSizeOptions)}}function NX(n,t){if(1&n&&(x(0,"div",20),De(1),O()),2&n){const e=Te(2);B(1),vi(e.pageSize)}}function BX(n,t){if(1&n&&(x(0,"div",12)(1,"div",13),De(2),O(),Ae(3,FX,3,6,"mat-form-field",14),Ae(4,NX,2,1,"div",15),O()),2&n){const e=Te();B(2),ln(" ",e._intl.itemsPerPageLabel," "),B(1),H("ngIf",e._displayedPageSizeOptions.length>1),B(1),H("ngIf",e._displayedPageSizeOptions.length<=1)}}function jX(n,t){if(1&n){const e=an();x(0,"button",21),Je("click",function(){return Ut(e),Te().firstPage()}),Gs(),x(1,"svg",7),bt(2,"path",22),O()()}if(2&n){const e=Te();H("matTooltip",e._intl.firstPageLabel)("matTooltipDisabled",e._previousButtonsDisabled())("matTooltipPosition","above")("disabled",e._previousButtonsDisabled()),hn("aria-label",e._intl.firstPageLabel)}}function YX(n,t){if(1&n){const e=an();Gs(),Wa(),x(0,"button",23),Je("click",function(){return Ut(e),Te().lastPage()}),Gs(),x(1,"svg",7),bt(2,"path",24),O()()}if(2&n){const e=Te();H("matTooltip",e._intl.lastPageLabel)("matTooltipDisabled",e._nextButtonsDisabled())("matTooltipPosition","above")("disabled",e._nextButtonsDisabled()),hn("aria-label",e._intl.lastPageLabel)}}let sy=(()=>{class n{constructor(){this.changes=new K,this.itemsPerPageLabel="Items per page:",this.nextPageLabel="Next page",this.previousPageLabel="Previous page",this.firstPageLabel="First page",this.lastPageLabel="Last page",this.getRangeLabel=(e,i,r)=>{if(0==r||0==i)return`0 of ${r}`;const s=e*i;return`${s+1} \u2013 ${s<(r=Math.max(r,0))?Math.min(s+i,r):s+i} of ${r}`}}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=Ee({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const VX={provide:sy,deps:[[new yr,new mo,sy]],useFactory:function HX(n){return n||new sy}},UX=new ht("MAT_PAGINATOR_DEFAULT_OPTIONS"),zX=eo(TL(class{}));let GX=(()=>{class n extends zX{constructor(e,i,r){if(super(),this._intl=e,this._changeDetectorRef=i,this._pageIndex=0,this._length=0,this._pageSizeOptions=[],this._hidePageSize=!1,this._showFirstLastButtons=!1,this.page=new jt,this._intlChanges=e.changes.subscribe(()=>this._changeDetectorRef.markForCheck()),r){const{pageSize:s,pageSizeOptions:o,hidePageSize:a,showFirstLastButtons:l}=r;null!=s&&(this._pageSize=s),null!=o&&(this._pageSizeOptions=o),null!=a&&(this._hidePageSize=a),null!=l&&(this._showFirstLastButtons=l)}}get pageIndex(){return this._pageIndex}set pageIndex(e){this._pageIndex=Math.max(Ai(e),0),this._changeDetectorRef.markForCheck()}get length(){return this._length}set length(e){this._length=Ai(e),this._changeDetectorRef.markForCheck()}get pageSize(){return this._pageSize}set pageSize(e){this._pageSize=Math.max(Ai(e),0),this._updateDisplayedPageSizeOptions()}get pageSizeOptions(){return this._pageSizeOptions}set pageSizeOptions(e){this._pageSizeOptions=(e||[]).map(i=>Ai(i)),this._updateDisplayedPageSizeOptions()}get hidePageSize(){return this._hidePageSize}set hidePageSize(e){this._hidePageSize=rn(e)}get showFirstLastButtons(){return this._showFirstLastButtons}set showFirstLastButtons(e){this._showFirstLastButtons=rn(e)}ngOnInit(){this._initialized=!0,this._updateDisplayedPageSizeOptions(),this._markInitialized()}ngOnDestroy(){this._intlChanges.unsubscribe()}nextPage(){if(!this.hasNextPage())return;const e=this.pageIndex;this.pageIndex=this.pageIndex+1,this._emitPageEvent(e)}previousPage(){if(!this.hasPreviousPage())return;const e=this.pageIndex;this.pageIndex=this.pageIndex-1,this._emitPageEvent(e)}firstPage(){if(!this.hasPreviousPage())return;const e=this.pageIndex;this.pageIndex=0,this._emitPageEvent(e)}lastPage(){if(!this.hasNextPage())return;const e=this.pageIndex;this.pageIndex=this.getNumberOfPages()-1,this._emitPageEvent(e)}hasPreviousPage(){return this.pageIndex>=1&&0!=this.pageSize}hasNextPage(){const e=this.getNumberOfPages()-1;return this.pageIndexe-i),this._changeDetectorRef.markForCheck())}_emitPageEvent(e){this.page.emit({previousPageIndex:e,pageIndex:this.pageIndex,pageSize:this.pageSize,length:this.length})}}return n.\u0275fac=function(e){Ja()},n.\u0275dir=rt({type:n,inputs:{color:"color",pageIndex:"pageIndex",length:"length",pageSize:"pageSize",pageSizeOptions:"pageSizeOptions",hidePageSize:"hidePageSize",showFirstLastButtons:"showFirstLastButtons"},outputs:{page:"page"},features:[xt]}),n})(),v0=(()=>{class n extends GX{constructor(e,i,r){super(e,i,r),r&&null!=r.formFieldAppearance&&(this._formFieldAppearance=r.formFieldAppearance)}}return n.\u0275fac=function(e){return new(e||n)(M(sy),M(Gn),M(UX,8))},n.\u0275cmp=It({type:n,selectors:[["mat-paginator"]],hostAttrs:["role","group",1,"mat-paginator"],inputs:{disabled:"disabled"},exportAs:["matPaginator"],features:[xt],decls:14,vars:14,consts:[[1,"mat-paginator-outer-container"],[1,"mat-paginator-container"],["class","mat-paginator-page-size",4,"ngIf"],[1,"mat-paginator-range-actions"],[1,"mat-paginator-range-label"],["mat-icon-button","","type","button","class","mat-paginator-navigation-first",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click",4,"ngIf"],["mat-icon-button","","type","button",1,"mat-paginator-navigation-previous",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click"],["viewBox","0 0 24 24","focusable","false",1,"mat-paginator-icon"],["d","M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z"],["mat-icon-button","","type","button",1,"mat-paginator-navigation-next",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click"],["d","M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"],["mat-icon-button","","type","button","class","mat-paginator-navigation-last",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click",4,"ngIf"],[1,"mat-paginator-page-size"],[1,"mat-paginator-page-size-label"],["class","mat-paginator-page-size-select",3,"appearance","color",4,"ngIf"],["class","mat-paginator-page-size-value",4,"ngIf"],[1,"mat-paginator-page-size-select",3,"appearance","color"],[3,"value","disabled","aria-label","selectionChange"],[3,"value",4,"ngFor","ngForOf"],[3,"value"],[1,"mat-paginator-page-size-value"],["mat-icon-button","","type","button",1,"mat-paginator-navigation-first",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click"],["d","M18.41 16.59L13.82 12l4.59-4.59L17 6l-6 6 6 6zM6 6h2v12H6z"],["mat-icon-button","","type","button",1,"mat-paginator-navigation-last",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click"],["d","M5.59 7.41L10.18 12l-4.59 4.59L7 18l6-6-6-6zM16 6h2v12h-2z"]],template:function(e,i){1&e&&(x(0,"div",0)(1,"div",1),Ae(2,BX,5,3,"div",2),x(3,"div",3)(4,"div",4),De(5),O(),Ae(6,jX,3,5,"button",5),x(7,"button",6),Je("click",function(){return i.previousPage()}),Gs(),x(8,"svg",7),bt(9,"path",8),O()(),Wa(),x(10,"button",9),Je("click",function(){return i.nextPage()}),Gs(),x(11,"svg",7),bt(12,"path",10),O()(),Ae(13,YX,3,5,"button",11),O()()()),2&e&&(B(2),H("ngIf",!i.hidePageSize),B(3),ln(" ",i._intl.getRangeLabel(i.pageIndex,i.pageSize,i.length)," "),B(1),H("ngIf",i.showFirstLastButtons),B(1),H("matTooltip",i._intl.previousPageLabel)("matTooltipDisabled",i._previousButtonsDisabled())("matTooltipPosition","above")("disabled",i._previousButtonsDisabled()),hn("aria-label",i._intl.previousPageLabel),B(3),H("matTooltip",i._intl.nextPageLabel)("matTooltipDisabled",i._nextButtonsDisabled())("matTooltipPosition","above")("disabled",i._nextButtonsDisabled()),hn("aria-label",i._intl.nextPageLabel),B(3),H("ngIf",i.showFirstLastButtons))},directives:[Er,ko,sa,bi,ai,Br,gl],styles:[".mat-paginator{display:block}.mat-paginator-outer-container{display:flex}.mat-paginator-container{display:flex;align-items:center;justify-content:flex-end;padding:0 8px;flex-wrap:wrap-reverse;width:100%}.mat-paginator-page-size{display:flex;align-items:baseline;margin-right:8px}[dir=rtl] .mat-paginator-page-size{margin-right:0;margin-left:8px}.mat-paginator-page-size-label{margin:0 4px}.mat-paginator-page-size-select{margin:6px 4px 0 4px;width:56px}.mat-paginator-page-size-select.mat-form-field-appearance-outline{width:64px}.mat-paginator-page-size-select.mat-form-field-appearance-fill{width:64px}.mat-paginator-range-label{margin:0 32px 0 24px}.mat-paginator-range-actions{display:flex;align-items:center}.mat-paginator-icon{width:28px;fill:currentColor}[dir=rtl] .mat-paginator-icon{transform:rotate(180deg)}.cdk-high-contrast-active .mat-paginator-icon{fill:CanvasText}\n"],encapsulation:2,changeDetection:0}),n})(),$X=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Yt({type:n}),n.\u0275inj=He({providers:[VX],imports:[[di,jd,nP,y0,mn]]}),n})(),cP=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Yt({type:n}),n.\u0275inj=He({imports:[[di,mn],mn]}),n})();function QX(n,t){if(1&n&&(Gs(),bt(0,"circle",4)),2&n){const e=Te(),i=ki(1);Fr("animation-name","mat-progress-spinner-stroke-rotate-"+e._spinnerAnimationLabel)("stroke-dashoffset",e._getStrokeDashOffset(),"px")("stroke-dasharray",e._getStrokeCircumference(),"px")("stroke-width",e._getCircleStrokeWidth(),"%")("transform-origin",e._getCircleTransformOrigin(i)),hn("r",e._getCircleRadius())}}function KX(n,t){if(1&n&&(Gs(),bt(0,"circle",4)),2&n){const e=Te(),i=ki(1);Fr("stroke-dashoffset",e._getStrokeDashOffset(),"px")("stroke-dasharray",e._getStrokeCircumference(),"px")("stroke-width",e._getCircleStrokeWidth(),"%")("transform-origin",e._getCircleTransformOrigin(i)),hn("r",e._getCircleRadius())}}const XX=Ya(class{constructor(n){this._elementRef=n}},"primary"),JX=new ht("mat-progress-spinner-default-options",{providedIn:"root",factory:function eJ(){return{diameter:100}}});class Es extends XX{constructor(t,e,i,r,s,o,a,l){super(t),this._document=i,this._diameter=100,this._value=0,this._resizeSubscription=P.EMPTY,this.mode="determinate";const h=Es._diameters;this._spinnerAnimationLabel=this._getSpinnerAnimationLabel(),h.has(i.head)||h.set(i.head,new Set([100])),this._noopAnimations="NoopAnimations"===r&&!!s&&!s._forceAnimations,"mat-spinner"===t.nativeElement.nodeName.toLowerCase()&&(this.mode="indeterminate"),s&&(s.diameter&&(this.diameter=s.diameter),s.strokeWidth&&(this.strokeWidth=s.strokeWidth)),e.isBrowser&&e.SAFARI&&a&&o&&l&&(this._resizeSubscription=a.change(150).subscribe(()=>{"indeterminate"===this.mode&&l.run(()=>o.markForCheck())}))}get diameter(){return this._diameter}set diameter(t){this._diameter=Ai(t),this._spinnerAnimationLabel=this._getSpinnerAnimationLabel(),this._styleRoot&&this._attachStyleNode()}get strokeWidth(){return this._strokeWidth||this.diameter/10}set strokeWidth(t){this._strokeWidth=Ai(t)}get value(){return"determinate"===this.mode?this._value:0}set value(t){this._value=Math.max(0,Math.min(100,Ai(t)))}ngOnInit(){const t=this._elementRef.nativeElement;this._styleRoot=u_(t)||this._document.head,this._attachStyleNode(),t.classList.add("mat-progress-spinner-indeterminate-animation")}ngOnDestroy(){this._resizeSubscription.unsubscribe()}_getCircleRadius(){return(this.diameter-10)/2}_getViewBox(){const t=2*this._getCircleRadius()+this.strokeWidth;return`0 0 ${t} ${t}`}_getStrokeCircumference(){return 2*Math.PI*this._getCircleRadius()}_getStrokeDashOffset(){return"determinate"===this.mode?this._getStrokeCircumference()*(100-this._value)/100:null}_getCircleStrokeWidth(){return this.strokeWidth/this.diameter*100}_getCircleTransformOrigin(t){var e;const i=50*(null!==(e=t.currentScale)&&void 0!==e?e:1);return`${i}% ${i}%`}_attachStyleNode(){const t=this._styleRoot,e=this._diameter,i=Es._diameters;let r=i.get(t);if(!r||!r.has(e)){const s=this._document.createElement("style");s.setAttribute("mat-spinner-animation",this._spinnerAnimationLabel),s.textContent=this._getAnimationText(),t.appendChild(s),r||(r=new Set,i.set(t,r)),r.add(e)}}_getAnimationText(){const t=this._getStrokeCircumference();return"\n @keyframes mat-progress-spinner-stroke-rotate-DIAMETER {\n 0% { stroke-dashoffset: START_VALUE; transform: rotate(0); }\n 12.5% { stroke-dashoffset: END_VALUE; transform: rotate(0); }\n 12.5001% { stroke-dashoffset: END_VALUE; transform: rotateX(180deg) rotate(72.5deg); }\n 25% { stroke-dashoffset: START_VALUE; transform: rotateX(180deg) rotate(72.5deg); }\n\n 25.0001% { stroke-dashoffset: START_VALUE; transform: rotate(270deg); }\n 37.5% { stroke-dashoffset: END_VALUE; transform: rotate(270deg); }\n 37.5001% { stroke-dashoffset: END_VALUE; transform: rotateX(180deg) rotate(161.5deg); }\n 50% { stroke-dashoffset: START_VALUE; transform: rotateX(180deg) rotate(161.5deg); }\n\n 50.0001% { stroke-dashoffset: START_VALUE; transform: rotate(180deg); }\n 62.5% { stroke-dashoffset: END_VALUE; transform: rotate(180deg); }\n 62.5001% { stroke-dashoffset: END_VALUE; transform: rotateX(180deg) rotate(251.5deg); }\n 75% { stroke-dashoffset: START_VALUE; transform: rotateX(180deg) rotate(251.5deg); }\n\n 75.0001% { stroke-dashoffset: START_VALUE; transform: rotate(90deg); }\n 87.5% { stroke-dashoffset: END_VALUE; transform: rotate(90deg); }\n 87.5001% { stroke-dashoffset: END_VALUE; transform: rotateX(180deg) rotate(341.5deg); }\n 100% { stroke-dashoffset: START_VALUE; transform: rotateX(180deg) rotate(341.5deg); }\n }\n".replace(/START_VALUE/g,""+.95*t).replace(/END_VALUE/g,""+.2*t).replace(/DIAMETER/g,`${this._spinnerAnimationLabel}`)}_getSpinnerAnimationLabel(){return this.diameter.toString().replace(".","_")}}Es._diameters=new WeakMap,Es.\u0275fac=function(t){return new(t||Es)(M(Zt),M(zi),M(Dn,8),M(Zi,8),M(JX),M(Gn),M(So),M(yn))},Es.\u0275cmp=It({type:Es,selectors:[["mat-progress-spinner"],["mat-spinner"]],hostAttrs:["role","progressbar","tabindex","-1",1,"mat-progress-spinner","mat-spinner"],hostVars:10,hostBindings:function(t,e){2&t&&(hn("aria-valuemin","determinate"===e.mode?0:null)("aria-valuemax","determinate"===e.mode?100:null)("aria-valuenow","determinate"===e.mode?e.value:null)("mode",e.mode),Fr("width",e.diameter,"px")("height",e.diameter,"px"),Cn("_mat-animation-noopable",e._noopAnimations))},inputs:{color:"color",diameter:"diameter",strokeWidth:"strokeWidth",mode:"mode",value:"value"},exportAs:["matProgressSpinner"],features:[xt],decls:4,vars:8,consts:[["preserveAspectRatio","xMidYMid meet","focusable","false","aria-hidden","true",3,"ngSwitch"],["svg",""],["cx","50%","cy","50%",3,"animation-name","stroke-dashoffset","stroke-dasharray","stroke-width","transform-origin",4,"ngSwitchCase"],["cx","50%","cy","50%",3,"stroke-dashoffset","stroke-dasharray","stroke-width","transform-origin",4,"ngSwitchCase"],["cx","50%","cy","50%"]],template:function(t,e){1&t&&(Gs(),x(0,"svg",0,1),Ae(2,QX,1,11,"circle",2),Ae(3,KX,1,9,"circle",3),O()),2&t&&(Fr("width",e.diameter,"px")("height",e.diameter,"px"),H("ngSwitch","indeterminate"===e.mode),hn("viewBox",e._getViewBox()),B(2),H("ngSwitchCase",!0),B(1),H("ngSwitchCase",!1))},directives:[hd,Wf],styles:[".mat-progress-spinner{display:block;position:relative;overflow:hidden}.mat-progress-spinner svg{position:absolute;transform:rotate(-90deg);top:0;left:0;transform-origin:center;overflow:visible}.mat-progress-spinner circle{fill:transparent;transition:stroke-dashoffset 225ms linear}._mat-animation-noopable.mat-progress-spinner circle{transition:none;animation:none}.cdk-high-contrast-active .mat-progress-spinner circle{stroke:CanvasText}.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] svg{animation:mat-progress-spinner-linear-rotate 2000ms linear infinite}._mat-animation-noopable.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] svg{transition:none;animation:none}.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] circle{transition-property:stroke;animation-duration:4000ms;animation-timing-function:cubic-bezier(0.35, 0, 0.25, 1);animation-iteration-count:infinite}._mat-animation-noopable.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] circle{transition:none;animation:none}@keyframes mat-progress-spinner-linear-rotate{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes mat-progress-spinner-stroke-rotate-100{0%{stroke-dashoffset:268.606171575px;transform:rotate(0)}12.5%{stroke-dashoffset:56.5486677px;transform:rotate(0)}12.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(72.5deg)}25%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(72.5deg)}25.0001%{stroke-dashoffset:268.606171575px;transform:rotate(270deg)}37.5%{stroke-dashoffset:56.5486677px;transform:rotate(270deg)}37.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(161.5deg)}50%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(161.5deg)}50.0001%{stroke-dashoffset:268.606171575px;transform:rotate(180deg)}62.5%{stroke-dashoffset:56.5486677px;transform:rotate(180deg)}62.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(251.5deg)}75%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(251.5deg)}75.0001%{stroke-dashoffset:268.606171575px;transform:rotate(90deg)}87.5%{stroke-dashoffset:56.5486677px;transform:rotate(90deg)}87.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(341.5deg)}100%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(341.5deg)}}\n"],encapsulation:2,changeDetection:0});let uP=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Yt({type:n}),n.\u0275inj=He({imports:[[mn,di],mn]}),n})();const nJ=["input"],iJ=function(n){return{enterDuration:n}},rJ=["*"],sJ=new ht("mat-radio-default-options",{providedIn:"root",factory:function oJ(){return{color:"accent"}}});let dP=0;const aJ={provide:jr,useExisting:Mt(()=>mP),multi:!0};class hP{constructor(t,e){this.source=t,this.value=e}}const pP=new ht("MatRadioGroup");let lJ=(()=>{class n{constructor(e){this._changeDetector=e,this._value=null,this._name="mat-radio-group-"+dP++,this._selected=null,this._isInitialized=!1,this._labelPosition="after",this._disabled=!1,this._required=!1,this._controlValueAccessorChangeFn=()=>{},this.onTouched=()=>{},this.change=new jt}get name(){return this._name}set name(e){this._name=e,this._updateRadioButtonNames()}get labelPosition(){return this._labelPosition}set labelPosition(e){this._labelPosition="before"===e?"before":"after",this._markRadiosForCheck()}get value(){return this._value}set value(e){this._value!==e&&(this._value=e,this._updateSelectedRadioFromValue(),this._checkSelectedRadioButton())}_checkSelectedRadioButton(){this._selected&&!this._selected.checked&&(this._selected.checked=!0)}get selected(){return this._selected}set selected(e){this._selected=e,this.value=e?e.value:null,this._checkSelectedRadioButton()}get disabled(){return this._disabled}set disabled(e){this._disabled=rn(e),this._markRadiosForCheck()}get required(){return this._required}set required(e){this._required=rn(e),this._markRadiosForCheck()}ngAfterContentInit(){this._isInitialized=!0}_touch(){this.onTouched&&this.onTouched()}_updateRadioButtonNames(){this._radios&&this._radios.forEach(e=>{e.name=this.name,e._markForCheck()})}_updateSelectedRadioFromValue(){this._radios&&(null===this._selected||this._selected.value!==this._value)&&(this._selected=null,this._radios.forEach(i=>{i.checked=this.value===i.value,i.checked&&(this._selected=i)}))}_emitChangeEvent(){this._isInitialized&&this.change.emit(new hP(this._selected,this._value))}_markRadiosForCheck(){this._radios&&this._radios.forEach(e=>e._markForCheck())}writeValue(e){this.value=e,this._changeDetector.markForCheck()}registerOnChange(e){this._controlValueAccessorChangeFn=e}registerOnTouched(e){this.onTouched=e}setDisabledState(e){this.disabled=e,this._changeDetector.markForCheck()}}return n.\u0275fac=function(e){return new(e||n)(M(Gn))},n.\u0275dir=rt({type:n,inputs:{color:"color",name:"name",labelPosition:"labelPosition",value:"value",selected:"selected",disabled:"disabled",required:"required"},outputs:{change:"change"}}),n})(),mP=(()=>{class n extends lJ{}return n.\u0275fac=function(){let t;return function(i){return(t||(t=Hn(n)))(i||n)}}(),n.\u0275dir=rt({type:n,selectors:[["mat-radio-group"]],contentQueries:function(e,i,r){if(1&e&&Pn(r,fP,5),2&e){let s;Et(s=Ct())&&(i._radios=s)}},hostAttrs:["role","radiogroup",1,"mat-radio-group"],exportAs:["matRadioGroup"],features:[tn([aJ,{provide:pP,useExisting:n}]),xt]}),n})();class cJ{constructor(t){this._elementRef=t}}const uJ=to(nc(cJ));let dJ=(()=>{class n extends uJ{constructor(e,i,r,s,o,a,l,h){super(i),this._changeDetector=r,this._focusMonitor=s,this._radioDispatcher=o,this._providerOverride=l,this._uniqueId="mat-radio-"+ ++dP,this.id=this._uniqueId,this.change=new jt,this._checked=!1,this._value=null,this._removeUniqueSelectionListener=()=>{},this.radioGroup=e,this._noopAnimations="NoopAnimations"===a,h&&(this.tabIndex=Ai(h,0)),this._removeUniqueSelectionListener=o.listen((f,D)=>{f!==this.id&&D===this.name&&(this.checked=!1)})}get checked(){return this._checked}set checked(e){const i=rn(e);this._checked!==i&&(this._checked=i,i&&this.radioGroup&&this.radioGroup.value!==this.value?this.radioGroup.selected=this:!i&&this.radioGroup&&this.radioGroup.value===this.value&&(this.radioGroup.selected=null),i&&this._radioDispatcher.notify(this.id,this.name),this._changeDetector.markForCheck())}get value(){return this._value}set value(e){this._value!==e&&(this._value=e,null!==this.radioGroup&&(this.checked||(this.checked=this.radioGroup.value===e),this.checked&&(this.radioGroup.selected=this)))}get labelPosition(){return this._labelPosition||this.radioGroup&&this.radioGroup.labelPosition||"after"}set labelPosition(e){this._labelPosition=e}get disabled(){return this._disabled||null!==this.radioGroup&&this.radioGroup.disabled}set disabled(e){this._setDisabled(rn(e))}get required(){return this._required||this.radioGroup&&this.radioGroup.required}set required(e){this._required=rn(e)}get color(){return this._color||this.radioGroup&&this.radioGroup.color||this._providerOverride&&this._providerOverride.color||"accent"}set color(e){this._color=e}get inputId(){return`${this.id||this._uniqueId}-input`}focus(e,i){i?this._focusMonitor.focusVia(this._inputElement,i,e):this._inputElement.nativeElement.focus(e)}_markForCheck(){this._changeDetector.markForCheck()}ngOnInit(){this.radioGroup&&(this.checked=this.radioGroup.value===this._value,this.checked&&(this.radioGroup.selected=this),this.name=this.radioGroup.name)}ngDoCheck(){this._updateTabIndex()}ngAfterViewInit(){this._updateTabIndex(),this._focusMonitor.monitor(this._elementRef,!0).subscribe(e=>{!e&&this.radioGroup&&this.radioGroup._touch()})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._removeUniqueSelectionListener()}_emitChangeEvent(){this.change.emit(new hP(this,this._value))}_isRippleDisabled(){return this.disableRipple||this.disabled}_onInputClick(e){e.stopPropagation()}_onInputInteraction(e){if(e.stopPropagation(),!this.checked&&!this.disabled){const i=this.radioGroup&&this.value!==this.radioGroup.value;this.checked=!0,this._emitChangeEvent(),this.radioGroup&&(this.radioGroup._controlValueAccessorChangeFn(this.value),i&&this.radioGroup._emitChangeEvent())}}_setDisabled(e){this._disabled!==e&&(this._disabled=e,this._changeDetector.markForCheck())}_updateTabIndex(){var e;const i=this.radioGroup;let r;if(r=i&&i.selected&&!this.disabled?i.selected===this?this.tabIndex:-1:this.tabIndex,r!==this._previousTabIndex){const s=null===(e=this._inputElement)||void 0===e?void 0:e.nativeElement;s&&(s.setAttribute("tabindex",r+""),this._previousTabIndex=r)}}}return n.\u0275fac=function(e){Ja()},n.\u0275dir=rt({type:n,viewQuery:function(e,i){if(1&e&&pn(nJ,5),2&e){let r;Et(r=Ct())&&(i._inputElement=r.first)}},inputs:{id:"id",name:"name",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],ariaDescribedby:["aria-describedby","ariaDescribedby"],checked:"checked",value:"value",labelPosition:"labelPosition",disabled:"disabled",required:"required",color:"color"},outputs:{change:"change"},features:[xt]}),n})(),fP=(()=>{class n extends dJ{constructor(e,i,r,s,o,a,l,h){super(e,i,r,s,o,a,l,h)}}return n.\u0275fac=function(e){return new(e||n)(M(pP,8),M(Zt),M(Gn),M(Ns),M(RD),M(Zi,8),M(sJ,8),_r("tabindex"))},n.\u0275cmp=It({type:n,selectors:[["mat-radio-button"]],hostAttrs:[1,"mat-radio-button"],hostVars:17,hostBindings:function(e,i){1&e&&Je("focus",function(){return i._inputElement.nativeElement.focus()}),2&e&&(hn("tabindex",null)("id",i.id)("aria-label",null)("aria-labelledby",null)("aria-describedby",null),Cn("mat-radio-checked",i.checked)("mat-radio-disabled",i.disabled)("_mat-animation-noopable",i._noopAnimations)("mat-primary","primary"===i.color)("mat-accent","accent"===i.color)("mat-warn","warn"===i.color))},inputs:{disableRipple:"disableRipple",tabIndex:"tabIndex"},exportAs:["matRadioButton"],features:[xt],ngContentSelectors:rJ,decls:13,vars:19,consts:[[1,"mat-radio-label"],["label",""],[1,"mat-radio-container"],[1,"mat-radio-outer-circle"],[1,"mat-radio-inner-circle"],["type","radio",1,"mat-radio-input",3,"id","checked","disabled","required","change","click"],["input",""],["mat-ripple","",1,"mat-radio-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleCentered","matRippleRadius","matRippleAnimation"],[1,"mat-ripple-element","mat-radio-persistent-ripple"],[1,"mat-radio-label-content"],[2,"display","none"]],template:function(e,i){if(1&e&&(yi(),x(0,"label",0,1)(2,"span",2),bt(3,"span",3)(4,"span",4),x(5,"input",5,6),Je("change",function(s){return i._onInputInteraction(s)})("click",function(s){return i._onInputClick(s)}),O(),x(7,"span",7),bt(8,"span",8),O()(),x(9,"span",9)(10,"span",10),De(11,"\xa0"),O(),Sn(12),O()()),2&e){const r=ki(1);hn("for",i.inputId),B(5),H("id",i.inputId)("checked",i.checked)("disabled",i.disabled)("required",i.required),hn("name",i.name)("value",i.value)("aria-label",i.ariaLabel)("aria-labelledby",i.ariaLabelledby)("aria-describedby",i.ariaDescribedby),B(2),H("matRippleTrigger",r)("matRippleDisabled",i._isRippleDisabled())("matRippleCentered",!0)("matRippleRadius",20)("matRippleAnimation",$o(17,iJ,i._noopAnimations?0:150)),B(2),Cn("mat-radio-label-before","before"==i.labelPosition)}},directives:[no],styles:[".mat-radio-button{display:inline-block;-webkit-tap-highlight-color:transparent;outline:0}.mat-radio-label{-webkit-user-select:none;user-select:none;cursor:pointer;display:inline-flex;align-items:center;white-space:nowrap;vertical-align:middle;width:100%}.mat-radio-container{box-sizing:border-box;display:inline-block;position:relative;width:20px;height:20px;flex-shrink:0}.mat-radio-outer-circle{box-sizing:border-box;display:block;height:20px;left:0;position:absolute;top:0;transition:border-color ease 280ms;width:20px;border-width:2px;border-style:solid;border-radius:50%}._mat-animation-noopable .mat-radio-outer-circle{transition:none}.mat-radio-inner-circle{border-radius:50%;box-sizing:border-box;display:block;height:20px;left:0;position:absolute;top:0;opacity:0;transition:transform ease 280ms,background-color ease 280ms,opacity linear 1ms 280ms;width:20px;transform:scale(0.001);-webkit-print-color-adjust:exact;color-adjust:exact}.mat-radio-checked .mat-radio-inner-circle{transform:scale(0.5);opacity:1;transition:transform ease 280ms,background-color ease 280ms}.cdk-high-contrast-active .mat-radio-checked .mat-radio-inner-circle{border:solid 10px}._mat-animation-noopable .mat-radio-inner-circle{transition:none}.mat-radio-label-content{-webkit-user-select:auto;user-select:auto;display:inline-block;order:0;line-height:inherit;padding-left:8px;padding-right:0}[dir=rtl] .mat-radio-label-content{padding-right:8px;padding-left:0}.mat-radio-label-content.mat-radio-label-before{order:-1;padding-left:0;padding-right:8px}[dir=rtl] .mat-radio-label-content.mat-radio-label-before{padding-right:0;padding-left:8px}.mat-radio-disabled,.mat-radio-disabled .mat-radio-label{cursor:default}.mat-radio-button .mat-radio-ripple{position:absolute;left:calc(50% - 20px);top:calc(50% - 20px);height:40px;width:40px;z-index:1;pointer-events:none}.mat-radio-button .mat-radio-ripple .mat-ripple-element:not(.mat-radio-persistent-ripple){opacity:.16}.mat-radio-persistent-ripple{width:100%;height:100%;transform:none;top:0;left:0}.mat-radio-container:hover .mat-radio-persistent-ripple{opacity:.04}.mat-radio-button:not(.mat-radio-disabled).cdk-keyboard-focused .mat-radio-persistent-ripple,.mat-radio-button:not(.mat-radio-disabled).cdk-program-focused .mat-radio-persistent-ripple{opacity:.12}.mat-radio-persistent-ripple,.mat-radio-disabled .mat-radio-container:hover .mat-radio-persistent-ripple{opacity:0}@media(hover: none){.mat-radio-container:hover .mat-radio-persistent-ripple{display:none}}.mat-radio-input{opacity:0;position:absolute;top:0;left:0;margin:0;width:100%;height:100%;cursor:inherit;z-index:-1}.cdk-high-contrast-active .mat-radio-button:not(.mat-radio-disabled).cdk-keyboard-focused .mat-radio-ripple,.cdk-high-contrast-active .mat-radio-button:not(.mat-radio-disabled).cdk-program-focused .mat-radio-ripple{outline:solid 3px}.cdk-high-contrast-active .mat-radio-disabled{opacity:.5}\n"],encapsulation:2,changeDetection:0}),n})(),hJ=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Yt({type:n}),n.\u0275inj=He({imports:[[ra,mn],mn]}),n})(),mJ=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Yt({type:n}),n.\u0275inj=He({imports:[[di,mn,Ba],Ba,mn]}),n})(),CJ=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Yt({type:n}),n.\u0275inj=He({imports:[[di,mn],mn]}),n})();const TJ=["thumbContainer"],SJ=["toggleBar"],kJ=["input"],xJ=function(n){return{enterDuration:n}},IJ=["*"],AJ=new ht("mat-slide-toggle-default-options",{providedIn:"root",factory:()=>({disableToggleValue:!1})});let RJ=0;const LJ={provide:jr,useExisting:Mt(()=>M0),multi:!0};class OJ{constructor(t,e){this.source=t,this.checked=e}}const PJ=nc(Ya(to(eo(class{constructor(n){this._elementRef=n}}))));let M0=(()=>{class n extends PJ{constructor(e,i,r,s,o,a){super(e),this._focusMonitor=i,this._changeDetectorRef=r,this.defaults=o,this._onChange=l=>{},this._onTouched=()=>{},this._uniqueId="mat-slide-toggle-"+ ++RJ,this._required=!1,this._checked=!1,this.name=null,this.id=this._uniqueId,this.labelPosition="after",this.ariaLabel=null,this.ariaLabelledby=null,this.change=new jt,this.toggleChange=new jt,this.tabIndex=parseInt(s)||0,this.color=this.defaultColor=o.color||"accent",this._noopAnimations="NoopAnimations"===a}get required(){return this._required}set required(e){this._required=rn(e)}get checked(){return this._checked}set checked(e){this._checked=rn(e),this._changeDetectorRef.markForCheck()}get inputId(){return`${this.id||this._uniqueId}-input`}ngAfterContentInit(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(e=>{e||Promise.resolve().then(()=>this._onTouched())})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}_onChangeEvent(e){e.stopPropagation(),this.toggleChange.emit(),this.defaults.disableToggleValue?this._inputElement.nativeElement.checked=this.checked:(this.checked=this._inputElement.nativeElement.checked,this._emitChangeEvent())}_onInputClick(e){e.stopPropagation()}writeValue(e){this.checked=!!e}registerOnChange(e){this._onChange=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this.disabled=e,this._changeDetectorRef.markForCheck()}focus(e,i){i?this._focusMonitor.focusVia(this._inputElement,i,e):this._inputElement.nativeElement.focus(e)}toggle(){this.checked=!this.checked,this._onChange(this.checked)}_emitChangeEvent(){this._onChange(this.checked),this.change.emit(new OJ(this,this.checked))}_onLabelTextChange(){this._changeDetectorRef.detectChanges()}}return n.\u0275fac=function(e){return new(e||n)(M(Zt),M(Ns),M(Gn),_r("tabindex"),M(AJ),M(Zi,8))},n.\u0275cmp=It({type:n,selectors:[["mat-slide-toggle"]],viewQuery:function(e,i){if(1&e&&(pn(TJ,5),pn(SJ,5),pn(kJ,5)),2&e){let r;Et(r=Ct())&&(i._thumbEl=r.first),Et(r=Ct())&&(i._thumbBarEl=r.first),Et(r=Ct())&&(i._inputElement=r.first)}},hostAttrs:[1,"mat-slide-toggle"],hostVars:13,hostBindings:function(e,i){2&e&&(go("id",i.id),hn("tabindex",null)("aria-label",null)("aria-labelledby",null)("name",null),Cn("mat-checked",i.checked)("mat-disabled",i.disabled)("mat-slide-toggle-label-before","before"==i.labelPosition)("_mat-animation-noopable",i._noopAnimations))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex",name:"name",id:"id",labelPosition:"labelPosition",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],ariaDescribedby:["aria-describedby","ariaDescribedby"],required:"required",checked:"checked"},outputs:{change:"change",toggleChange:"toggleChange"},exportAs:["matSlideToggle"],features:[tn([LJ]),xt],ngContentSelectors:IJ,decls:16,vars:20,consts:[[1,"mat-slide-toggle-label"],["label",""],[1,"mat-slide-toggle-bar"],["toggleBar",""],["type","checkbox","role","switch",1,"mat-slide-toggle-input","cdk-visually-hidden",3,"id","required","tabIndex","checked","disabled","change","click"],["input",""],[1,"mat-slide-toggle-thumb-container"],["thumbContainer",""],[1,"mat-slide-toggle-thumb"],["mat-ripple","",1,"mat-slide-toggle-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleCentered","matRippleRadius","matRippleAnimation"],[1,"mat-ripple-element","mat-slide-toggle-persistent-ripple"],[1,"mat-slide-toggle-content",3,"cdkObserveContent"],["labelContent",""],[2,"display","none"]],template:function(e,i){if(1&e&&(yi(),x(0,"label",0,1)(2,"span",2,3)(4,"input",4,5),Je("change",function(s){return i._onChangeEvent(s)})("click",function(s){return i._onInputClick(s)}),O(),x(6,"span",6,7),bt(8,"span",8),x(9,"span",9),bt(10,"span",10),O()()(),x(11,"span",11,12),Je("cdkObserveContent",function(){return i._onLabelTextChange()}),x(13,"span",13),De(14,"\xa0"),O(),Sn(15),O()()),2&e){const r=ki(1),s=ki(12);hn("for",i.inputId),B(2),Cn("mat-slide-toggle-bar-no-side-margin",!s.textContent||!s.textContent.trim()),B(2),H("id",i.inputId)("required",i.required)("tabIndex",i.tabIndex)("checked",i.checked)("disabled",i.disabled),hn("name",i.name)("aria-checked",i.checked)("aria-label",i.ariaLabel)("aria-labelledby",i.ariaLabelledby)("aria-describedby",i.ariaDescribedby),B(5),H("matRippleTrigger",r)("matRippleDisabled",i.disableRipple||i.disabled)("matRippleCentered",!0)("matRippleRadius",20)("matRippleAnimation",$o(18,xJ,i._noopAnimations?0:150))}},directives:[no,m_],styles:[".mat-slide-toggle{display:inline-block;height:24px;max-width:100%;line-height:24px;white-space:nowrap;outline:none;-webkit-tap-highlight-color:transparent}.mat-slide-toggle.mat-checked .mat-slide-toggle-thumb-container{transform:translate3d(16px, 0, 0)}[dir=rtl] .mat-slide-toggle.mat-checked .mat-slide-toggle-thumb-container{transform:translate3d(-16px, 0, 0)}.mat-slide-toggle.mat-disabled{opacity:.38}.mat-slide-toggle.mat-disabled .mat-slide-toggle-label,.mat-slide-toggle.mat-disabled .mat-slide-toggle-thumb-container{cursor:default}.mat-slide-toggle-label{-webkit-user-select:none;user-select:none;display:flex;flex:1;flex-direction:row;align-items:center;height:inherit;cursor:pointer}.mat-slide-toggle-content{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mat-slide-toggle-label-before .mat-slide-toggle-label{order:1}.mat-slide-toggle-label-before .mat-slide-toggle-bar{order:2}[dir=rtl] .mat-slide-toggle-label-before .mat-slide-toggle-bar,.mat-slide-toggle-bar{margin-right:8px;margin-left:0}[dir=rtl] .mat-slide-toggle-bar,.mat-slide-toggle-label-before .mat-slide-toggle-bar{margin-left:8px;margin-right:0}.mat-slide-toggle-bar-no-side-margin{margin-left:0;margin-right:0}.mat-slide-toggle-thumb-container{position:absolute;z-index:1;width:20px;height:20px;top:-3px;left:0;transform:translate3d(0, 0, 0);transition:all 80ms linear;transition-property:transform}._mat-animation-noopable .mat-slide-toggle-thumb-container{transition:none}[dir=rtl] .mat-slide-toggle-thumb-container{left:auto;right:0}.mat-slide-toggle-thumb{height:20px;width:20px;border-radius:50%;display:block}.mat-slide-toggle-bar{position:relative;width:36px;height:14px;flex-shrink:0;border-radius:8px}.mat-slide-toggle-input{bottom:0;left:10px}[dir=rtl] .mat-slide-toggle-input{left:auto;right:10px}.mat-slide-toggle-bar,.mat-slide-toggle-thumb{transition:all 80ms linear;transition-property:background-color;transition-delay:50ms}._mat-animation-noopable .mat-slide-toggle-bar,._mat-animation-noopable .mat-slide-toggle-thumb{transition:none}.mat-slide-toggle .mat-slide-toggle-ripple{position:absolute;top:calc(50% - 20px);left:calc(50% - 20px);height:40px;width:40px;z-index:1;pointer-events:none}.mat-slide-toggle .mat-slide-toggle-ripple .mat-ripple-element:not(.mat-slide-toggle-persistent-ripple){opacity:.12}.mat-slide-toggle-persistent-ripple{width:100%;height:100%;transform:none}.mat-slide-toggle-bar:hover .mat-slide-toggle-persistent-ripple{opacity:.04}.mat-slide-toggle:not(.mat-disabled).cdk-keyboard-focused .mat-slide-toggle-persistent-ripple{opacity:.12}.mat-slide-toggle-persistent-ripple,.mat-slide-toggle.mat-disabled .mat-slide-toggle-bar:hover .mat-slide-toggle-persistent-ripple{opacity:0}@media(hover: none){.mat-slide-toggle-bar:hover .mat-slide-toggle-persistent-ripple{display:none}}.cdk-high-contrast-active .mat-slide-toggle-thumb,.cdk-high-contrast-active .mat-slide-toggle-bar{border:1px solid}.cdk-high-contrast-active .mat-slide-toggle.cdk-keyboard-focused .mat-slide-toggle-bar{outline:2px dotted;outline-offset:5px}\n"],encapsulation:2,changeDetection:0}),n})(),yP=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Yt({type:n}),n.\u0275inj=He({}),n})(),BJ=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Yt({type:n}),n.\u0275inj=He({imports:[[yP,ra,mn,jp],yP,mn]}),n})();function jJ(n,t){if(1&n){const e=an();x(0,"div",2)(1,"button",3),Je("click",function(){return Ut(e),Te().action()}),De(2),O()()}if(2&n){const e=Te();B(2),vi(e.data.action)}}function YJ(n,t){}const rm=new ht("MatSnackBarData");class oy{constructor(){this.politeness="assertive",this.announcementMessage="",this.duration=0,this.data=null,this.horizontalPosition="center",this.verticalPosition="bottom"}}const HJ=Math.pow(2,31)-1;class sm{constructor(t,e){this._overlayRef=e,this._afterDismissed=new K,this._afterOpened=new K,this._onAction=new K,this._dismissedByAction=!1,this.containerInstance=t,t._onExit.subscribe(()=>this._finishDismiss())}dismiss(){this._afterDismissed.closed||this.containerInstance.exit(),clearTimeout(this._durationTimeoutId)}dismissWithAction(){this._onAction.closed||(this._dismissedByAction=!0,this._onAction.next(),this._onAction.complete(),this.dismiss()),clearTimeout(this._durationTimeoutId)}closeWithAction(){this.dismissWithAction()}_dismissAfter(t){this._durationTimeoutId=setTimeout(()=>this.dismiss(),Math.min(t,HJ))}_open(){this._afterOpened.closed||(this._afterOpened.next(),this._afterOpened.complete())}_finishDismiss(){this._overlayRef.dispose(),this._onAction.closed||this._onAction.complete(),this._afterDismissed.next({dismissedByAction:this._dismissedByAction}),this._afterDismissed.complete(),this._dismissedByAction=!1}afterDismissed(){return this._afterDismissed}afterOpened(){return this.containerInstance._onEnter}onAction(){return this._onAction}}let VJ=(()=>{class n{constructor(e,i){this.snackBarRef=e,this.data=i}action(){this.snackBarRef.dismissWithAction()}get hasAction(){return!!this.data.action}}return n.\u0275fac=function(e){return new(e||n)(M(sm),M(rm))},n.\u0275cmp=It({type:n,selectors:[["simple-snack-bar"]],hostAttrs:[1,"mat-simple-snackbar"],decls:3,vars:2,consts:[[1,"mat-simple-snack-bar-content"],["class","mat-simple-snackbar-action",4,"ngIf"],[1,"mat-simple-snackbar-action"],["mat-button","",3,"click"]],template:function(e,i){1&e&&(x(0,"span",0),De(1),O(),Ae(2,jJ,3,1,"div",1)),2&e&&(B(1),vi(i.data.message),B(1),H("ngIf",i.hasAction))},directives:[bi,ai],styles:[".mat-simple-snackbar{display:flex;justify-content:space-between;align-items:center;line-height:20px;opacity:1}.mat-simple-snackbar-action{flex-shrink:0;margin:-8px -8px -8px 8px}.mat-simple-snackbar-action button{max-height:36px;min-width:0}[dir=rtl] .mat-simple-snackbar-action{margin-left:-8px;margin-right:8px}.mat-simple-snack-bar-content{overflow:hidden;text-overflow:ellipsis}\n"],encapsulation:2,changeDetection:0}),n})();const qJ={snackBarState:Ki("state",[qn("void, hidden",cn({transform:"scale(0.8)",opacity:0})),qn("visible",cn({transform:"scale(1)",opacity:1})),Zn("* => visible",ti("150ms cubic-bezier(0, 0, 0.2, 1)")),Zn("* => void, * => hidden",ti("75ms cubic-bezier(0.4, 0.0, 1, 1)",cn({opacity:0})))])};let UJ=(()=>{class n extends q_{constructor(e,i,r,s,o){super(),this._ngZone=e,this._elementRef=i,this._changeDetectorRef=r,this._platform=s,this.snackBarConfig=o,this._announceDelay=150,this._destroyed=!1,this._onAnnounce=new K,this._onExit=new K,this._onEnter=new K,this._animationState="void",this.attachDomPortal=a=>(this._assertNotAttached(),this._applySnackBarClasses(),this._portalOutlet.attachDomPortal(a)),this._live="assertive"!==o.politeness||o.announcementMessage?"off"===o.politeness?"off":"polite":"assertive",this._platform.FIREFOX&&("polite"===this._live&&(this._role="status"),"assertive"===this._live&&(this._role="alert"))}attachComponentPortal(e){return this._assertNotAttached(),this._applySnackBarClasses(),this._portalOutlet.attachComponentPortal(e)}attachTemplatePortal(e){return this._assertNotAttached(),this._applySnackBarClasses(),this._portalOutlet.attachTemplatePortal(e)}onAnimationEnd(e){const{fromState:i,toState:r}=e;if(("void"===r&&"void"!==i||"hidden"===r)&&this._completeExit(),"visible"===r){const s=this._onEnter;this._ngZone.run(()=>{s.next(),s.complete()})}}enter(){this._destroyed||(this._animationState="visible",this._changeDetectorRef.detectChanges(),this._screenReaderAnnounce())}exit(){return this._ngZone.run(()=>{this._animationState="hidden",this._elementRef.nativeElement.setAttribute("mat-exit",""),clearTimeout(this._announceTimeoutId)}),this._onExit}ngOnDestroy(){this._destroyed=!0,this._completeExit()}_completeExit(){this._ngZone.onMicrotaskEmpty.pipe(Ii(1)).subscribe(()=>{this._ngZone.run(()=>{this._onExit.next(),this._onExit.complete()})})}_applySnackBarClasses(){const e=this._elementRef.nativeElement,i=this.snackBarConfig.panelClass;i&&(Array.isArray(i)?i.forEach(r=>e.classList.add(r)):e.classList.add(i)),"center"===this.snackBarConfig.horizontalPosition&&e.classList.add("mat-snack-bar-center"),"top"===this.snackBarConfig.verticalPosition&&e.classList.add("mat-snack-bar-top")}_assertNotAttached(){this._portalOutlet.hasAttached()}_screenReaderAnnounce(){this._announceTimeoutId||this._ngZone.runOutsideAngular(()=>{this._announceTimeoutId=setTimeout(()=>{const e=this._elementRef.nativeElement.querySelector("[aria-hidden]"),i=this._elementRef.nativeElement.querySelector("[aria-live]");if(e&&i){let r=null;this._platform.isBrowser&&document.activeElement instanceof HTMLElement&&e.contains(document.activeElement)&&(r=document.activeElement),e.removeAttribute("aria-hidden"),i.appendChild(e),null==r||r.focus(),this._onAnnounce.next(),this._onAnnounce.complete()}},this._announceDelay)})}}return n.\u0275fac=function(e){return new(e||n)(M(yn),M(Zt),M(Gn),M(zi),M(oy))},n.\u0275cmp=It({type:n,selectors:[["snack-bar-container"]],viewQuery:function(e,i){if(1&e&&pn(rc,7),2&e){let r;Et(r=Ct())&&(i._portalOutlet=r.first)}},hostAttrs:[1,"mat-snack-bar-container"],hostVars:1,hostBindings:function(e,i){1&e&&vf("@state.done",function(s){return i.onAnimationEnd(s)}),2&e&&wf("@state",i._animationState)},features:[xt],decls:3,vars:2,consts:[["aria-hidden","true"],["cdkPortalOutlet",""]],template:function(e,i){1&e&&(x(0,"div",0),Ae(1,YJ,0,0,"ng-template",1),O(),bt(2,"div")),2&e&&(B(2),hn("aria-live",i._live)("role",i._role))},directives:[rc],styles:[".mat-snack-bar-container{border-radius:4px;box-sizing:border-box;display:block;margin:24px;max-width:33vw;min-width:344px;padding:14px 16px;min-height:48px;transform-origin:center}.cdk-high-contrast-active .mat-snack-bar-container{border:solid 1px}.mat-snack-bar-handset{width:100%}.mat-snack-bar-handset .mat-snack-bar-container{margin:8px;max-width:100%;min-width:0;width:100%}\n"],encapsulation:2,data:{animation:[qJ.snackBarState]}}),n})(),vP=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Yt({type:n}),n.\u0275inj=He({imports:[[oc,sc,di,jd,mn],mn]}),n})();const bP=new ht("mat-snack-bar-default-options",{providedIn:"root",factory:function zJ(){return new oy}});let GJ=(()=>{class n{constructor(e,i,r,s,o,a){this._overlay=e,this._live=i,this._injector=r,this._breakpointObserver=s,this._parentSnackBar=o,this._defaultConfig=a,this._snackBarRefAtThisLevel=null}get _openedSnackBarRef(){const e=this._parentSnackBar;return e?e._openedSnackBarRef:this._snackBarRefAtThisLevel}set _openedSnackBarRef(e){this._parentSnackBar?this._parentSnackBar._openedSnackBarRef=e:this._snackBarRefAtThisLevel=e}openFromComponent(e,i){return this._attach(e,i)}openFromTemplate(e,i){return this._attach(e,i)}open(e,i="",r){const s=Object.assign(Object.assign({},this._defaultConfig),r);return s.data={message:e,action:i},s.announcementMessage===e&&(s.announcementMessage=void 0),this.openFromComponent(this.simpleSnackBarComponent,s)}dismiss(){this._openedSnackBarRef&&this._openedSnackBarRef.dismiss()}ngOnDestroy(){this._snackBarRefAtThisLevel&&this._snackBarRefAtThisLevel.dismiss()}_attachSnackBarContainer(e,i){const s=qi.create({parent:i&&i.viewContainerRef&&i.viewContainerRef.injector||this._injector,providers:[{provide:oy,useValue:i}]}),o=new Nd(this.snackBarContainerComponent,i.viewContainerRef,s),a=e.attach(o);return a.instance.snackBarConfig=i,a.instance}_attach(e,i){const r=Object.assign(Object.assign(Object.assign({},new oy),this._defaultConfig),i),s=this._createOverlay(r),o=this._attachSnackBarContainer(s,r),a=new sm(o,s);if(e instanceof Wi){const l=new ic(e,null,{$implicit:r.data,snackBarRef:a});a.instance=o.attachTemplatePortal(l)}else{const l=this._createInjector(r,a),h=new Nd(e,void 0,l),f=o.attachComponentPortal(h);a.instance=f.instance}return this._breakpointObserver.observe("(max-width: 599.98px) and (orientation: portrait)").pipe(vn(s.detachments())).subscribe(l=>{s.overlayElement.classList.toggle(this.handsetCssClass,l.matches)}),r.announcementMessage&&o._onAnnounce.subscribe(()=>{this._live.announce(r.announcementMessage,r.politeness)}),this._animateSnackBar(a,r),this._openedSnackBarRef=a,this._openedSnackBarRef}_animateSnackBar(e,i){e.afterDismissed().subscribe(()=>{this._openedSnackBarRef==e&&(this._openedSnackBarRef=null),i.announcementMessage&&this._live.clear()}),this._openedSnackBarRef?(this._openedSnackBarRef.afterDismissed().subscribe(()=>{e.containerInstance.enter()}),this._openedSnackBarRef.dismiss()):e.containerInstance.enter(),i.duration&&i.duration>0&&e.afterOpened().subscribe(()=>e._dismissAfter(i.duration))}_createOverlay(e){const i=new Bd;i.direction=e.direction;let r=this._overlay.position().global();const s="rtl"===e.direction,o="left"===e.horizontalPosition||"start"===e.horizontalPosition&&!s||"end"===e.horizontalPosition&&s,a=!o&&"center"!==e.horizontalPosition;return o?r.left("0"):a?r.right("0"):r.centerHorizontally(),"top"===e.verticalPosition?r.top("0"):r.bottom("0"),i.positionStrategy=r,this._overlay.create(i)}_createInjector(e,i){return qi.create({parent:e&&e.viewContainerRef&&e.viewContainerRef.injector||this._injector,providers:[{provide:sm,useValue:i},{provide:rm,useValue:e.data}]})}}return n.\u0275fac=function(e){return new(e||n)(Se(Ds),Se(Hp),Se(qi),Se(_0),Se(n,12),Se(bP))},n.\u0275prov=Ee({token:n,factory:n.\u0275fac}),n})(),wP=(()=>{class n extends GJ{constructor(e,i,r,s,o,a){super(e,i,r,s,o,a),this.simpleSnackBarComponent=VJ,this.snackBarContainerComponent=UJ,this.handsetCssClass="mat-snack-bar-handset"}}return n.\u0275fac=function(e){return new(e||n)(Se(Ds),Se(Hp),Se(qi),Se(_0),Se(n,12),Se(bP))},n.\u0275prov=Ee({token:n,factory:n.\u0275fac,providedIn:vP}),n})();const $J=["mat-sort-header",""];function WJ(n,t){if(1&n){const e=an();x(0,"div",3),Je("@arrowPosition.start",function(){return Ut(e),Te()._disableViewStateAnimation=!0})("@arrowPosition.done",function(){return Ut(e),Te()._disableViewStateAnimation=!1}),bt(1,"div",4),x(2,"div",5),bt(3,"div",6)(4,"div",7)(5,"div",8),O()()}if(2&n){const e=Te();H("@arrowOpacity",e._getArrowViewState())("@arrowPosition",e._getArrowViewState())("@allowChildren",e._getArrowDirectionState()),B(2),H("@indicator",e._getArrowDirectionState()),B(1),H("@leftPointer",e._getArrowDirectionState()),B(1),H("@rightPointer",e._getArrowDirectionState())}}const QJ=["*"],cc=WD.ENTERING+" "+$D.STANDARD_CURVE,Ud={indicator:Ki("indicator",[qn("active-asc, asc",cn({transform:"translateY(0px)"})),qn("active-desc, desc",cn({transform:"translateY(10px)"})),Zn("active-asc <=> active-desc",ti(cc))]),leftPointer:Ki("leftPointer",[qn("active-asc, asc",cn({transform:"rotate(-45deg)"})),qn("active-desc, desc",cn({transform:"rotate(45deg)"})),Zn("active-asc <=> active-desc",ti(cc))]),rightPointer:Ki("rightPointer",[qn("active-asc, asc",cn({transform:"rotate(45deg)"})),qn("active-desc, desc",cn({transform:"rotate(-45deg)"})),Zn("active-asc <=> active-desc",ti(cc))]),arrowOpacity:Ki("arrowOpacity",[qn("desc-to-active, asc-to-active, active",cn({opacity:1})),qn("desc-to-hint, asc-to-hint, hint",cn({opacity:.54})),qn("hint-to-desc, active-to-desc, desc, hint-to-asc, active-to-asc, asc, void",cn({opacity:0})),Zn("* => asc, * => desc, * => active, * => hint, * => void",ti("0ms")),Zn("* <=> *",ti(cc))]),arrowPosition:Ki("arrowPosition",[Zn("* => desc-to-hint, * => desc-to-active",ti(cc,Vc([cn({transform:"translateY(-25%)"}),cn({transform:"translateY(0)"})]))),Zn("* => hint-to-desc, * => active-to-desc",ti(cc,Vc([cn({transform:"translateY(0)"}),cn({transform:"translateY(25%)"})]))),Zn("* => asc-to-hint, * => asc-to-active",ti(cc,Vc([cn({transform:"translateY(25%)"}),cn({transform:"translateY(0)"})]))),Zn("* => hint-to-asc, * => active-to-asc",ti(cc,Vc([cn({transform:"translateY(0)"}),cn({transform:"translateY(-25%)"})]))),qn("desc-to-hint, asc-to-hint, hint, desc-to-active, asc-to-active, active",cn({transform:"translateY(0)"})),qn("hint-to-desc, active-to-desc, desc",cn({transform:"translateY(-25%)"})),qn("hint-to-asc, active-to-asc, asc",cn({transform:"translateY(25%)"}))]),allowChildren:Ki("allowChildren",[Zn("* <=> *",[gd("@*",fd(),{optional:!0})])])};let ay=(()=>{class n{constructor(){this.changes=new K}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=Ee({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const ZJ={provide:ay,deps:[[new yr,new mo,ay]],useFactory:function KJ(n){return n||new ay}},XJ=new ht("MAT_SORT_DEFAULT_OPTIONS"),JJ=TL(eo(class{}));let D0=(()=>{class n extends JJ{constructor(e){super(),this._defaultOptions=e,this.sortables=new Map,this._stateChanges=new K,this.start="asc",this._direction="",this.sortChange=new jt}get direction(){return this._direction}set direction(e){this._direction=e}get disableClear(){return this._disableClear}set disableClear(e){this._disableClear=rn(e)}register(e){this.sortables.set(e.id,e)}deregister(e){this.sortables.delete(e.id)}sort(e){this.active!=e.id?(this.active=e.id,this.direction=e.start?e.start:this.start):this.direction=this.getNextSortDirection(e),this.sortChange.emit({active:this.active,direction:this.direction})}getNextSortDirection(e){var i,r,s;if(!e)return"";const o=null!==(r=null!==(i=null==e?void 0:e.disableClear)&&void 0!==i?i:this.disableClear)&&void 0!==r?r:!!(null===(s=this._defaultOptions)||void 0===s?void 0:s.disableClear);let a=function eee(n,t){let e=["asc","desc"];return"desc"==n&&e.reverse(),t||e.push(""),e}(e.start||this.start,o),l=a.indexOf(this.direction)+1;return l>=a.length&&(l=0),a[l]}ngOnInit(){this._markInitialized()}ngOnChanges(){this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete()}}return n.\u0275fac=function(e){return new(e||n)(M(XJ,8))},n.\u0275dir=rt({type:n,selectors:[["","matSort",""]],hostAttrs:[1,"mat-sort"],inputs:{disabled:["matSortDisabled","disabled"],active:["matSortActive","active"],start:["matSortStart","start"],direction:["matSortDirection","direction"],disableClear:["matSortDisableClear","disableClear"]},outputs:{sortChange:"matSortChange"},exportAs:["matSort"],features:[xt,Jn]}),n})();const tee=eo(class{});let nee=(()=>{class n extends tee{constructor(e,i,r,s,o,a,l){super(),this._intl=e,this._changeDetectorRef=i,this._sort=r,this._columnDef=s,this._focusMonitor=o,this._elementRef=a,this._ariaDescriber=l,this._showIndicatorHint=!1,this._viewState={},this._arrowDirection="",this._disableViewStateAnimation=!1,this.arrowPosition="after",this._sortActionDescription="Sort",this._handleStateChanges()}get sortActionDescription(){return this._sortActionDescription}set sortActionDescription(e){this._updateSortActionDescription(e)}get disableClear(){return this._disableClear}set disableClear(e){this._disableClear=rn(e)}ngOnInit(){!this.id&&this._columnDef&&(this.id=this._columnDef.name),this._updateArrowDirection(),this._setAnimationTransitionState({toState:this._isSorted()?"active":this._arrowDirection}),this._sort.register(this),this._sortButton=this._elementRef.nativeElement.querySelector(".mat-sort-header-container"),this._updateSortActionDescription(this._sortActionDescription)}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(e=>{const i=!!e;i!==this._showIndicatorHint&&(this._setIndicatorHintVisible(i),this._changeDetectorRef.markForCheck())})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._sort.deregister(this),this._rerenderSubscription.unsubscribe()}_setIndicatorHintVisible(e){this._isDisabled()&&e||(this._showIndicatorHint=e,this._isSorted()||(this._updateArrowDirection(),this._setAnimationTransitionState(this._showIndicatorHint?{fromState:this._arrowDirection,toState:"hint"}:{fromState:"hint",toState:this._arrowDirection})))}_setAnimationTransitionState(e){this._viewState=e||{},this._disableViewStateAnimation&&(this._viewState={toState:e.toState})}_toggleOnInteraction(){this._sort.sort(this),("hint"===this._viewState.toState||"active"===this._viewState.toState)&&(this._disableViewStateAnimation=!0)}_handleClick(){this._isDisabled()||this._sort.sort(this)}_handleKeydown(e){!this._isDisabled()&&(32===e.keyCode||13===e.keyCode)&&(e.preventDefault(),this._toggleOnInteraction())}_isSorted(){return this._sort.active==this.id&&("asc"===this._sort.direction||"desc"===this._sort.direction)}_getArrowDirectionState(){return`${this._isSorted()?"active-":""}${this._arrowDirection}`}_getArrowViewState(){const e=this._viewState.fromState;return(e?`${e}-to-`:"")+this._viewState.toState}_updateArrowDirection(){this._arrowDirection=this._isSorted()?this._sort.direction:this.start||this._sort.start}_isDisabled(){return this._sort.disabled||this.disabled}_getAriaSortAttribute(){return this._isSorted()?"asc"==this._sort.direction?"ascending":"descending":"none"}_renderArrow(){return!this._isDisabled()||this._isSorted()}_updateSortActionDescription(e){var i,r;this._sortButton&&(null===(i=this._ariaDescriber)||void 0===i||i.removeDescription(this._sortButton,this._sortActionDescription),null===(r=this._ariaDescriber)||void 0===r||r.describe(this._sortButton,e)),this._sortActionDescription=e}_handleStateChanges(){this._rerenderSubscription=at(this._sort.sortChange,this._sort._stateChanges,this._intl.changes).subscribe(()=>{this._isSorted()&&(this._updateArrowDirection(),("hint"===this._viewState.toState||"active"===this._viewState.toState)&&(this._disableViewStateAnimation=!0),this._setAnimationTransitionState({fromState:this._arrowDirection,toState:"active"}),this._showIndicatorHint=!1),!this._isSorted()&&this._viewState&&"active"===this._viewState.toState&&(this._disableViewStateAnimation=!1,this._setAnimationTransitionState({fromState:"active",toState:this._arrowDirection})),this._changeDetectorRef.markForCheck()})}}return n.\u0275fac=function(e){return new(e||n)(M(ay),M(Gn),M(D0,8),M("MAT_SORT_HEADER_COLUMN_DEF",8),M(Ns),M(Zt),M(BR,8))},n.\u0275cmp=It({type:n,selectors:[["","mat-sort-header",""]],hostAttrs:[1,"mat-sort-header"],hostVars:3,hostBindings:function(e,i){1&e&&Je("click",function(){return i._handleClick()})("keydown",function(s){return i._handleKeydown(s)})("mouseenter",function(){return i._setIndicatorHintVisible(!0)})("mouseleave",function(){return i._setIndicatorHintVisible(!1)}),2&e&&(hn("aria-sort",i._getAriaSortAttribute()),Cn("mat-sort-header-disabled",i._isDisabled()))},inputs:{disabled:"disabled",id:["mat-sort-header","id"],arrowPosition:"arrowPosition",start:"start",sortActionDescription:"sortActionDescription",disableClear:"disableClear"},exportAs:["matSortHeader"],features:[xt],attrs:$J,ngContentSelectors:QJ,decls:4,vars:7,consts:[[1,"mat-sort-header-container","mat-focus-indicator"],[1,"mat-sort-header-content"],["class","mat-sort-header-arrow",4,"ngIf"],[1,"mat-sort-header-arrow"],[1,"mat-sort-header-stem"],[1,"mat-sort-header-indicator"],[1,"mat-sort-header-pointer-left"],[1,"mat-sort-header-pointer-right"],[1,"mat-sort-header-pointer-middle"]],template:function(e,i){1&e&&(yi(),x(0,"div",0)(1,"div",1),Sn(2),O(),Ae(3,WJ,6,6,"div",2),O()),2&e&&(Cn("mat-sort-header-sorted",i._isSorted())("mat-sort-header-position-before","before"==i.arrowPosition),hn("tabindex",i._isDisabled()?null:0)("role",i._isDisabled()?null:"button"),B(3),H("ngIf",i._renderArrow()))},directives:[ai],styles:[".mat-sort-header-container{display:flex;cursor:pointer;align-items:center;letter-spacing:normal;outline:0}[mat-sort-header].cdk-keyboard-focused .mat-sort-header-container,[mat-sort-header].cdk-program-focused .mat-sort-header-container{border-bottom:solid 1px currentColor}.mat-sort-header-disabled .mat-sort-header-container{cursor:default}.mat-sort-header-content{text-align:center;display:flex;align-items:center}.mat-sort-header-position-before{flex-direction:row-reverse}.mat-sort-header-arrow{height:12px;width:12px;min-width:12px;position:relative;display:flex;opacity:0}.mat-sort-header-arrow,[dir=rtl] .mat-sort-header-position-before .mat-sort-header-arrow{margin:0 0 0 6px}.mat-sort-header-position-before .mat-sort-header-arrow,[dir=rtl] .mat-sort-header-arrow{margin:0 6px 0 0}.mat-sort-header-stem{background:currentColor;height:10px;width:2px;margin:auto;display:flex;align-items:center}.cdk-high-contrast-active .mat-sort-header-stem{width:0;border-left:solid 2px}.mat-sort-header-indicator{width:100%;height:2px;display:flex;align-items:center;position:absolute;top:0;left:0}.mat-sort-header-pointer-middle{margin:auto;height:2px;width:2px;background:currentColor;transform:rotate(45deg)}.cdk-high-contrast-active .mat-sort-header-pointer-middle{width:0;height:0;border-top:solid 2px;border-left:solid 2px}.mat-sort-header-pointer-left,.mat-sort-header-pointer-right{background:currentColor;width:6px;height:2px;position:absolute;top:0}.cdk-high-contrast-active .mat-sort-header-pointer-left,.cdk-high-contrast-active .mat-sort-header-pointer-right{width:0;height:0;border-left:solid 6px;border-top:solid 2px}.mat-sort-header-pointer-left{transform-origin:right;left:0}.mat-sort-header-pointer-right{transform-origin:left;right:0}\n"],encapsulation:2,data:{animation:[Ud.indicator,Ud.leftPointer,Ud.rightPointer,Ud.arrowOpacity,Ud.arrowPosition,Ud.allowChildren]},changeDetection:0}),n})(),iee=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Yt({type:n}),n.\u0275inj=He({providers:[ZJ],imports:[[di,mn]]}),n})();const ree=[[["caption"]],[["colgroup"],["col"]]],see=["caption","colgroup, col"];let MP=(()=>{class n extends F_{constructor(){super(...arguments),this.stickyCssClass="mat-table-sticky",this.needsPositionStickyOnElement=!1}}return n.\u0275fac=function(){let t;return function(i){return(t||(t=Hn(n)))(i||n)}}(),n.\u0275cmp=It({type:n,selectors:[["mat-table"],["table","mat-table",""]],hostAttrs:[1,"mat-table"],hostVars:2,hostBindings:function(e,i){2&e&&Cn("mat-table-fixed-layout",i.fixedLayout)},exportAs:["matTable"],features:[tn([{provide:Gp,useClass:fL},{provide:F_,useExisting:n},{provide:Ld,useExisting:n},{provide:BD,useClass:vL},{provide:qD,useValue:null}]),xt],ngContentSelectors:see,decls:6,vars:0,consts:[["headerRowOutlet",""],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(e,i){1&e&&(yi(ree),Sn(0),Sn(1,1),ys(2,0)(3,1)(4,2)(5,3))},directives:[L_,R_,P_,O_],styles:["mat-table{display:block}mat-header-row{min-height:56px}mat-row,mat-footer-row{min-height:48px}mat-row,mat-header-row,mat-footer-row{display:flex;border-width:0;border-bottom-width:1px;border-style:solid;align-items:center;box-sizing:border-box}mat-cell:first-of-type,mat-header-cell:first-of-type,mat-footer-cell:first-of-type{padding-left:24px}[dir=rtl] mat-cell:first-of-type:not(:only-of-type),[dir=rtl] mat-header-cell:first-of-type:not(:only-of-type),[dir=rtl] mat-footer-cell:first-of-type:not(:only-of-type){padding-left:0;padding-right:24px}mat-cell:last-of-type,mat-header-cell:last-of-type,mat-footer-cell:last-of-type{padding-right:24px}[dir=rtl] mat-cell:last-of-type:not(:only-of-type),[dir=rtl] mat-header-cell:last-of-type:not(:only-of-type),[dir=rtl] mat-footer-cell:last-of-type:not(:only-of-type){padding-right:0;padding-left:24px}mat-cell,mat-header-cell,mat-footer-cell{flex:1;display:flex;align-items:center;overflow:hidden;word-wrap:break-word;min-height:inherit}table.mat-table{border-spacing:0}tr.mat-header-row{height:56px}tr.mat-row,tr.mat-footer-row{height:48px}th.mat-header-cell{text-align:left}[dir=rtl] th.mat-header-cell{text-align:right}th.mat-header-cell,td.mat-cell,td.mat-footer-cell{padding:0;border-bottom-width:1px;border-bottom-style:solid}th.mat-header-cell:first-of-type,td.mat-cell:first-of-type,td.mat-footer-cell:first-of-type{padding-left:24px}[dir=rtl] th.mat-header-cell:first-of-type:not(:only-of-type),[dir=rtl] td.mat-cell:first-of-type:not(:only-of-type),[dir=rtl] td.mat-footer-cell:first-of-type:not(:only-of-type){padding-left:0;padding-right:24px}th.mat-header-cell:last-of-type,td.mat-cell:last-of-type,td.mat-footer-cell:last-of-type{padding-right:24px}[dir=rtl] th.mat-header-cell:last-of-type:not(:only-of-type),[dir=rtl] td.mat-cell:last-of-type:not(:only-of-type),[dir=rtl] td.mat-footer-cell:last-of-type:not(:only-of-type){padding-right:0;padding-left:24px}.mat-table-sticky{position:sticky !important}.mat-table-fixed-layout{table-layout:fixed}\n"],encapsulation:2}),n})(),E0=(()=>{class n extends Od{}return n.\u0275fac=function(){let t;return function(i){return(t||(t=Hn(n)))(i||n)}}(),n.\u0275dir=rt({type:n,selectors:[["","matCellDef",""]],features:[tn([{provide:Od,useExisting:n}]),xt]}),n})(),C0=(()=>{class n extends Pd{}return n.\u0275fac=function(){let t;return function(i){return(t||(t=Hn(n)))(i||n)}}(),n.\u0275dir=rt({type:n,selectors:[["","matHeaderCellDef",""]],features:[tn([{provide:Pd,useExisting:n}]),xt]}),n})(),T0=(()=>{class n extends hl{get name(){return this._name}set name(e){this._setNameInput(e)}_updateColumnCssClassName(){super._updateColumnCssClassName(),this._columnCssClassName.push(`mat-column-${this.cssClassFriendlyName}`)}}return n.\u0275fac=function(){let t;return function(i){return(t||(t=Hn(n)))(i||n)}}(),n.\u0275dir=rt({type:n,selectors:[["","matColumnDef",""]],inputs:{sticky:"sticky",name:["matColumnDef","name"]},features:[tn([{provide:hl,useExisting:n},{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:n}]),xt]}),n})(),S0=(()=>{class n extends FD{}return n.\u0275fac=function(){let t;return function(i){return(t||(t=Hn(n)))(i||n)}}(),n.\u0275dir=rt({type:n,selectors:[["mat-header-cell"],["th","mat-header-cell",""]],hostAttrs:["role","columnheader",1,"mat-header-cell"],features:[xt]}),n})(),k0=(()=>{class n extends ND{}return n.\u0275fac=function(){let t;return function(i){return(t||(t=Hn(n)))(i||n)}}(),n.\u0275dir=rt({type:n,selectors:[["mat-cell"],["td","mat-cell",""]],hostAttrs:["role","gridcell",1,"mat-cell"],features:[xt]}),n})(),DP=(()=>{class n extends $p{}return n.\u0275fac=function(){let t;return function(i){return(t||(t=Hn(n)))(i||n)}}(),n.\u0275dir=rt({type:n,selectors:[["","matHeaderRowDef",""]],inputs:{columns:["matHeaderRowDef","columns"],sticky:["matHeaderRowDefSticky","sticky"]},features:[tn([{provide:$p,useExisting:n}]),xt]}),n})(),EP=(()=>{class n extends I_{}return n.\u0275fac=function(){let t;return function(i){return(t||(t=Hn(n)))(i||n)}}(),n.\u0275dir=rt({type:n,selectors:[["","matRowDef",""]],inputs:{columns:["matRowDefColumns","columns"],when:["matRowDefWhen","when"]},features:[tn([{provide:I_,useExisting:n}]),xt]}),n})(),CP=(()=>{class n extends YD{}return n.\u0275fac=function(){let t;return function(i){return(t||(t=Hn(n)))(i||n)}}(),n.\u0275cmp=It({type:n,selectors:[["mat-header-row"],["tr","mat-header-row",""]],hostAttrs:["role","row",1,"mat-header-row"],exportAs:["matHeaderRow"],features:[tn([{provide:YD,useExisting:n}]),xt],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(e,i){1&e&&ys(0,0)},directives:[pl],encapsulation:2}),n})(),TP=(()=>{class n extends VD{}return n.\u0275fac=function(){let t;return function(i){return(t||(t=Hn(n)))(i||n)}}(),n.\u0275cmp=It({type:n,selectors:[["mat-row"],["tr","mat-row",""]],hostAttrs:["role","row",1,"mat-row"],exportAs:["matRow"],features:[tn([{provide:VD,useExisting:n}]),xt],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(e,i){1&e&&ys(0,0)},directives:[pl],encapsulation:2}),n})(),fee=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Yt({type:n}),n.\u0275inj=He({imports:[[ML,mn],mn]}),n})();function _ee(n,t){1&n&&Sn(0)}const SP=["*"];function yee(n,t){}const vee=function(n){return{animationDuration:n}},bee=function(n,t){return{value:n,params:t}},wee=["tabListContainer"],Mee=["tabList"],Dee=["tabListInner"],Eee=["nextPaginator"],Cee=["previousPaginator"],Tee=["tabBodyWrapper"],See=["tabHeader"];function kee(n,t){}function xee(n,t){1&n&&Ae(0,kee,0,0,"ng-template",10),2&n&&H("cdkPortalOutlet",Te().$implicit.templateLabel)}function Iee(n,t){1&n&&De(0),2&n&&vi(Te().$implicit.textLabel)}function Aee(n,t){if(1&n){const e=an();x(0,"div",6),Je("click",function(){const r=Ut(e),s=r.$implicit,o=r.index,a=Te(),l=ki(1);return a._handleClick(s,l,o)})("cdkFocusChange",function(r){const o=Ut(e).index;return Te()._tabFocusChanged(r,o)}),x(1,"div",7),Ae(2,xee,1,1,"ng-template",8),Ae(3,Iee,1,1,"ng-template",null,9,cd),O()()}if(2&n){const e=t.$implicit,i=t.index,r=ki(4),s=Te();Cn("mat-tab-label-active",s.selectedIndex===i),H("id",s._getTabLabelId(i))("ngClass",e.labelClass)("disabled",e.disabled)("matRippleDisabled",e.disabled||s.disableRipple),hn("tabIndex",s._getTabIndex(e,i))("aria-posinset",i+1)("aria-setsize",s._tabs.length)("aria-controls",s._getTabContentId(i))("aria-selected",s.selectedIndex===i)("aria-label",e.ariaLabel||null)("aria-labelledby",!e.ariaLabel&&e.ariaLabelledby?e.ariaLabelledby:null),B(2),H("ngIf",e.templateLabel)("ngIfElse",r)}}function Ree(n,t){if(1&n){const e=an();x(0,"mat-tab-body",11),Je("_onCentered",function(){return Ut(e),Te()._removeTabBodyWrapperHeight()})("_onCentering",function(r){return Ut(e),Te()._setTabBodyWrapperHeight(r)}),O()}if(2&n){const e=t.$implicit,i=t.index,r=Te();Cn("mat-tab-body-active",r.selectedIndex===i),H("id",r._getTabContentId(i))("ngClass",e.bodyClass)("content",e.content)("position",e.position)("origin",e.origin)("animationDuration",r.animationDuration),hn("tabindex",null!=r.contentTabIndex&&r.selectedIndex===i?r.contentTabIndex:null)("aria-labelledby",r._getTabLabelId(i))}}const Lee=new ht("MatInkBarPositioner",{providedIn:"root",factory:function Oee(){return t=>({left:t?(t.offsetLeft||0)+"px":"0",width:t?(t.offsetWidth||0)+"px":"0"})}});let kP=(()=>{class n{constructor(e,i,r,s){this._elementRef=e,this._ngZone=i,this._inkBarPositioner=r,this._animationMode=s}alignToElement(e){this.show(),this._ngZone.onStable.pipe(Ii(1)).subscribe(()=>{const i=this._inkBarPositioner(e),r=this._elementRef.nativeElement;r.style.left=i.left,r.style.width=i.width})}show(){this._elementRef.nativeElement.style.visibility="visible"}hide(){this._elementRef.nativeElement.style.visibility="hidden"}}return n.\u0275fac=function(e){return new(e||n)(M(Zt),M(yn),M(Lee),M(Zi,8))},n.\u0275dir=rt({type:n,selectors:[["mat-ink-bar"]],hostAttrs:[1,"mat-ink-bar"],hostVars:2,hostBindings:function(e,i){2&e&&Cn("_mat-animation-noopable","NoopAnimations"===i._animationMode)}}),n})();const Pee=new ht("MatTabContent"),Fee=new ht("MatTabLabel"),Nee=new ht("MAT_TAB"),Bee=eo(class{}),xP=new ht("MAT_TAB_GROUP");let om=(()=>{class n extends Bee{constructor(e,i){super(),this._viewContainerRef=e,this._closestTabGroup=i,this.textLabel="",this._contentPortal=null,this._stateChanges=new K,this.position=null,this.origin=null,this.isActive=!1}get templateLabel(){return this._templateLabel}set templateLabel(e){this._setTemplateLabelInput(e)}get content(){return this._contentPortal}ngOnChanges(e){(e.hasOwnProperty("textLabel")||e.hasOwnProperty("disabled"))&&this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete()}ngOnInit(){this._contentPortal=new ic(this._explicitContent||this._implicitContent,this._viewContainerRef)}_setTemplateLabelInput(e){e&&e._closestTab===this&&(this._templateLabel=e)}}return n.\u0275fac=function(e){return new(e||n)(M(Si),M(xP,8))},n.\u0275cmp=It({type:n,selectors:[["mat-tab"]],contentQueries:function(e,i,r){if(1&e&&(Pn(r,Fee,5),Pn(r,Pee,7,Wi)),2&e){let s;Et(s=Ct())&&(i.templateLabel=s.first),Et(s=Ct())&&(i._explicitContent=s.first)}},viewQuery:function(e,i){if(1&e&&pn(Wi,7),2&e){let r;Et(r=Ct())&&(i._implicitContent=r.first)}},inputs:{disabled:"disabled",textLabel:["label","textLabel"],ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],labelClass:"labelClass",bodyClass:"bodyClass"},exportAs:["matTab"],features:[tn([{provide:Nee,useExisting:n}]),xt,Jn],ngContentSelectors:SP,decls:1,vars:0,template:function(e,i){1&e&&(yi(),Ae(0,_ee,1,0,"ng-template"))},encapsulation:2}),n})();const jee={translateTab:Ki("translateTab",[qn("center, void, left-origin-center, right-origin-center",cn({transform:"none"})),qn("left",cn({transform:"translate3d(-100%, 0, 0)",minHeight:"1px"})),qn("right",cn({transform:"translate3d(100%, 0, 0)",minHeight:"1px"})),Zn("* => left, * => right, left => center, right => center",ti("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")),Zn("void => left-origin-center",[cn({transform:"translate3d(-100%, 0, 0)"}),ti("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")]),Zn("void => right-origin-center",[cn({transform:"translate3d(100%, 0, 0)"}),ti("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")])])};let Yee=(()=>{class n extends rc{constructor(e,i,r,s){super(e,i,s),this._host=r,this._centeringSub=P.EMPTY,this._leavingSub=P.EMPTY}ngOnInit(){super.ngOnInit(),this._centeringSub=this._host._beforeCentering.pipe(hr(this._host._isCenterPosition(this._host._position))).subscribe(e=>{e&&!this.hasAttached()&&this.attach(this._host._content)}),this._leavingSub=this._host._afterLeavingCenter.subscribe(()=>{this.detach()})}ngOnDestroy(){super.ngOnDestroy(),this._centeringSub.unsubscribe(),this._leavingSub.unsubscribe()}}return n.\u0275fac=function(e){return new(e||n)(M(Hl),M(Si),M(Mt(()=>IP)),M(Dn))},n.\u0275dir=rt({type:n,selectors:[["","matTabBodyHost",""]],features:[xt]}),n})(),Hee=(()=>{class n{constructor(e,i,r){this._elementRef=e,this._dir=i,this._dirChangeSubscription=P.EMPTY,this._translateTabComplete=new K,this._onCentering=new jt,this._beforeCentering=new jt,this._afterLeavingCenter=new jt,this._onCentered=new jt(!0),this.animationDuration="500ms",i&&(this._dirChangeSubscription=i.change.subscribe(s=>{this._computePositionAnimationState(s),r.markForCheck()})),this._translateTabComplete.pipe(p_((s,o)=>s.fromState===o.fromState&&s.toState===o.toState)).subscribe(s=>{this._isCenterPosition(s.toState)&&this._isCenterPosition(this._position)&&this._onCentered.emit(),this._isCenterPosition(s.fromState)&&!this._isCenterPosition(this._position)&&this._afterLeavingCenter.emit()})}set position(e){this._positionIndex=e,this._computePositionAnimationState()}ngOnInit(){"center"==this._position&&null!=this.origin&&(this._position=this._computePositionFromOrigin(this.origin))}ngOnDestroy(){this._dirChangeSubscription.unsubscribe(),this._translateTabComplete.complete()}_onTranslateTabStarted(e){const i=this._isCenterPosition(e.toState);this._beforeCentering.emit(i),i&&this._onCentering.emit(this._elementRef.nativeElement.clientHeight)}_getLayoutDirection(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}_isCenterPosition(e){return"center"==e||"left-origin-center"==e||"right-origin-center"==e}_computePositionAnimationState(e=this._getLayoutDirection()){this._position=this._positionIndex<0?"ltr"==e?"left":"right":this._positionIndex>0?"ltr"==e?"right":"left":"center"}_computePositionFromOrigin(e){const i=this._getLayoutDirection();return"ltr"==i&&e<=0||"rtl"==i&&e>0?"left-origin-center":"right-origin-center"}}return n.\u0275fac=function(e){return new(e||n)(M(Zt),M(Hr,8),M(Gn))},n.\u0275dir=rt({type:n,inputs:{_content:["content","_content"],origin:"origin",animationDuration:"animationDuration",position:"position"},outputs:{_onCentering:"_onCentering",_beforeCentering:"_beforeCentering",_afterLeavingCenter:"_afterLeavingCenter",_onCentered:"_onCentered"}}),n})(),IP=(()=>{class n extends Hee{constructor(e,i,r){super(e,i,r)}}return n.\u0275fac=function(e){return new(e||n)(M(Zt),M(Hr,8),M(Gn))},n.\u0275cmp=It({type:n,selectors:[["mat-tab-body"]],viewQuery:function(e,i){if(1&e&&pn(rc,5),2&e){let r;Et(r=Ct())&&(i._portalHost=r.first)}},hostAttrs:[1,"mat-tab-body"],features:[xt],decls:3,vars:6,consts:[["cdkScrollable","",1,"mat-tab-body-content"],["content",""],["matTabBodyHost",""]],template:function(e,i){1&e&&(x(0,"div",0,1),Je("@translateTab.start",function(s){return i._onTranslateTabStarted(s)})("@translateTab.done",function(s){return i._translateTabComplete.next(s)}),Ae(2,yee,0,0,"ng-template",2),O()),2&e&&H("@translateTab",$b(3,bee,i._position,$o(1,vee,i.animationDuration)))},directives:[Yee],styles:['.mat-tab-body-content{height:100%;overflow:auto}.mat-tab-group-dynamic-height .mat-tab-body-content{overflow:hidden}.mat-tab-body-content[style*="visibility: hidden"]{display:none}\n'],encapsulation:2,data:{animation:[jee.translateTab]}}),n})();const AP=new ht("MAT_TABS_CONFIG"),Vee=eo(class{});let RP=(()=>{class n extends Vee{constructor(e){super(),this.elementRef=e}focus(){this.elementRef.nativeElement.focus()}getOffsetLeft(){return this.elementRef.nativeElement.offsetLeft}getOffsetWidth(){return this.elementRef.nativeElement.offsetWidth}}return n.\u0275fac=function(e){return new(e||n)(M(Zt))},n.\u0275dir=rt({type:n,selectors:[["","matTabLabelWrapper",""]],hostVars:3,hostBindings:function(e,i){2&e&&(hn("aria-disabled",!!i.disabled),Cn("mat-tab-disabled",i.disabled))},inputs:{disabled:"disabled"},features:[xt]}),n})();const LP=na({passive:!0});let zee=(()=>{class n{constructor(e,i,r,s,o,a,l){this._elementRef=e,this._changeDetectorRef=i,this._viewportRuler=r,this._dir=s,this._ngZone=o,this._platform=a,this._animationMode=l,this._scrollDistance=0,this._selectedIndexChanged=!1,this._destroyed=new K,this._showPaginationControls=!1,this._disableScrollAfter=!0,this._disableScrollBefore=!0,this._stopScrolling=new K,this.disablePagination=!1,this._selectedIndex=0,this.selectFocusedIndex=new jt,this.indexFocused=new jt,o.runOutsideAngular(()=>{Na(e.nativeElement,"mouseleave").pipe(vn(this._destroyed)).subscribe(()=>{this._stopInterval()})})}get selectedIndex(){return this._selectedIndex}set selectedIndex(e){e=Ai(e),this._selectedIndex!=e&&(this._selectedIndexChanged=!0,this._selectedIndex=e,this._keyManager&&this._keyManager.updateActiveItem(e))}ngAfterViewInit(){Na(this._previousPaginator.nativeElement,"touchstart",LP).pipe(vn(this._destroyed)).subscribe(()=>{this._handlePaginatorPress("before")}),Na(this._nextPaginator.nativeElement,"touchstart",LP).pipe(vn(this._destroyed)).subscribe(()=>{this._handlePaginatorPress("after")})}ngAfterContentInit(){const e=this._dir?this._dir.change:Qt("ltr"),i=this._viewportRuler.change(150),r=()=>{this.updatePagination(),this._alignInkBarToSelectedTab()};this._keyManager=new Yp(this._items).withHorizontalOrientation(this._getLayoutDirection()).withHomeAndEnd().withWrap(),this._keyManager.updateActiveItem(this._selectedIndex),this._ngZone.onStable.pipe(Ii(1)).subscribe(r),at(e,i,this._items.changes,this._itemsResized()).pipe(vn(this._destroyed)).subscribe(()=>{this._ngZone.run(()=>{Promise.resolve().then(()=>{this._scrollDistance=Math.max(0,Math.min(this._getMaxScrollDistance(),this._scrollDistance)),r()})}),this._keyManager.withHorizontalOrientation(this._getLayoutDirection())}),this._keyManager.change.pipe(vn(this._destroyed)).subscribe(s=>{this.indexFocused.emit(s),this._setTabFocus(s)})}_itemsResized(){return"function"!=typeof ResizeObserver?xa:this._items.changes.pipe(hr(this._items),Jr(e=>new st(i=>this._ngZone.runOutsideAngular(()=>{const r=new ResizeObserver(()=>{i.next()});return e.forEach(s=>{r.observe(s.elementRef.nativeElement)}),()=>{r.disconnect()}}))),wD(1))}ngAfterContentChecked(){this._tabLabelCount!=this._items.length&&(this.updatePagination(),this._tabLabelCount=this._items.length,this._changeDetectorRef.markForCheck()),this._selectedIndexChanged&&(this._scrollToLabel(this._selectedIndex),this._checkScrollingControls(),this._alignInkBarToSelectedTab(),this._selectedIndexChanged=!1,this._changeDetectorRef.markForCheck()),this._scrollDistanceChanged&&(this._updateTabScrollPosition(),this._scrollDistanceChanged=!1,this._changeDetectorRef.markForCheck())}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete(),this._stopScrolling.complete()}_handleKeydown(e){if(!Qr(e))switch(e.keyCode){case 13:case 32:this.focusIndex!==this.selectedIndex&&(this.selectFocusedIndex.emit(this.focusIndex),this._itemSelected(e));break;default:this._keyManager.onKeydown(e)}}_onContentChanges(){const e=this._elementRef.nativeElement.textContent;e!==this._currentTextContent&&(this._currentTextContent=e||"",this._ngZone.run(()=>{this.updatePagination(),this._alignInkBarToSelectedTab(),this._changeDetectorRef.markForCheck()}))}updatePagination(){this._checkPaginationEnabled(),this._checkScrollingControls(),this._updateTabScrollPosition()}get focusIndex(){return this._keyManager?this._keyManager.activeItemIndex:0}set focusIndex(e){!this._isValidIndex(e)||this.focusIndex===e||!this._keyManager||this._keyManager.setActiveItem(e)}_isValidIndex(e){if(!this._items)return!0;const i=this._items?this._items.toArray()[e]:null;return!!i&&!i.disabled}_setTabFocus(e){if(this._showPaginationControls&&this._scrollToLabel(e),this._items&&this._items.length){this._items.toArray()[e].focus();const i=this._tabListContainer.nativeElement;i.scrollLeft="ltr"==this._getLayoutDirection()?0:i.scrollWidth-i.offsetWidth}}_getLayoutDirection(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}_updateTabScrollPosition(){if(this.disablePagination)return;const e=this.scrollDistance,i="ltr"===this._getLayoutDirection()?-e:e;this._tabList.nativeElement.style.transform=`translateX(${Math.round(i)}px)`,(this._platform.TRIDENT||this._platform.EDGE)&&(this._tabListContainer.nativeElement.scrollLeft=0)}get scrollDistance(){return this._scrollDistance}set scrollDistance(e){this._scrollTo(e)}_scrollHeader(e){return this._scrollTo(this._scrollDistance+("before"==e?-1:1)*this._tabListContainer.nativeElement.offsetWidth/3)}_handlePaginatorClick(e){this._stopInterval(),this._scrollHeader(e)}_scrollToLabel(e){if(this.disablePagination)return;const i=this._items?this._items.toArray()[e]:null;if(!i)return;const r=this._tabListContainer.nativeElement.offsetWidth,{offsetLeft:s,offsetWidth:o}=i.elementRef.nativeElement;let a,l;"ltr"==this._getLayoutDirection()?(a=s,l=a+o):(l=this._tabListInner.nativeElement.offsetWidth-s,a=l-o);const h=this.scrollDistance,f=this.scrollDistance+r;af&&(this.scrollDistance+=l-f+60)}_checkPaginationEnabled(){if(this.disablePagination)this._showPaginationControls=!1;else{const e=this._tabListInner.nativeElement.scrollWidth>this._elementRef.nativeElement.offsetWidth;e||(this.scrollDistance=0),e!==this._showPaginationControls&&this._changeDetectorRef.markForCheck(),this._showPaginationControls=e}}_checkScrollingControls(){this.disablePagination?this._disableScrollAfter=this._disableScrollBefore=!0:(this._disableScrollBefore=0==this.scrollDistance,this._disableScrollAfter=this.scrollDistance==this._getMaxScrollDistance(),this._changeDetectorRef.markForCheck())}_getMaxScrollDistance(){return this._tabListInner.nativeElement.scrollWidth-this._tabListContainer.nativeElement.offsetWidth||0}_alignInkBarToSelectedTab(){const e=this._items&&this._items.length?this._items.toArray()[this.selectedIndex]:null,i=e?e.elementRef.nativeElement:null;i?this._inkBar.alignToElement(i):this._inkBar.hide()}_stopInterval(){this._stopScrolling.next()}_handlePaginatorPress(e,i){i&&null!=i.button&&0!==i.button||(this._stopInterval(),M_(650,100).pipe(vn(at(this._stopScrolling,this._destroyed))).subscribe(()=>{const{maxScrollDistance:r,distance:s}=this._scrollHeader(e);(0===s||s>=r)&&this._stopInterval()}))}_scrollTo(e){if(this.disablePagination)return{maxScrollDistance:0,distance:0};const i=this._getMaxScrollDistance();return this._scrollDistance=Math.max(0,Math.min(i,e)),this._scrollDistanceChanged=!0,this._checkScrollingControls(),{maxScrollDistance:i,distance:this._scrollDistance}}}return n.\u0275fac=function(e){return new(e||n)(M(Zt),M(Gn),M(So),M(Hr,8),M(yn),M(zi),M(Zi,8))},n.\u0275dir=rt({type:n,inputs:{disablePagination:"disablePagination"}}),n})(),Gee=(()=>{class n extends zee{constructor(e,i,r,s,o,a,l){super(e,i,r,s,o,a,l),this._disableRipple=!1}get disableRipple(){return this._disableRipple}set disableRipple(e){this._disableRipple=rn(e)}_itemSelected(e){e.preventDefault()}}return n.\u0275fac=function(e){return new(e||n)(M(Zt),M(Gn),M(So),M(Hr,8),M(yn),M(zi),M(Zi,8))},n.\u0275dir=rt({type:n,inputs:{disableRipple:"disableRipple"},features:[xt]}),n})(),$ee=(()=>{class n extends Gee{constructor(e,i,r,s,o,a,l){super(e,i,r,s,o,a,l)}}return n.\u0275fac=function(e){return new(e||n)(M(Zt),M(Gn),M(So),M(Hr,8),M(yn),M(zi),M(Zi,8))},n.\u0275cmp=It({type:n,selectors:[["mat-tab-header"]],contentQueries:function(e,i,r){if(1&e&&Pn(r,RP,4),2&e){let s;Et(s=Ct())&&(i._items=s)}},viewQuery:function(e,i){if(1&e&&(pn(kP,7),pn(wee,7),pn(Mee,7),pn(Dee,7),pn(Eee,5),pn(Cee,5)),2&e){let r;Et(r=Ct())&&(i._inkBar=r.first),Et(r=Ct())&&(i._tabListContainer=r.first),Et(r=Ct())&&(i._tabList=r.first),Et(r=Ct())&&(i._tabListInner=r.first),Et(r=Ct())&&(i._nextPaginator=r.first),Et(r=Ct())&&(i._previousPaginator=r.first)}},hostAttrs:[1,"mat-tab-header"],hostVars:4,hostBindings:function(e,i){2&e&&Cn("mat-tab-header-pagination-controls-enabled",i._showPaginationControls)("mat-tab-header-rtl","rtl"==i._getLayoutDirection())},inputs:{selectedIndex:"selectedIndex"},outputs:{selectFocusedIndex:"selectFocusedIndex",indexFocused:"indexFocused"},features:[xt],ngContentSelectors:SP,decls:14,vars:10,consts:[["aria-hidden","true","type","button","mat-ripple","","tabindex","-1",1,"mat-tab-header-pagination","mat-tab-header-pagination-before","mat-elevation-z4",3,"matRippleDisabled","disabled","click","mousedown","touchend"],["previousPaginator",""],[1,"mat-tab-header-pagination-chevron"],[1,"mat-tab-label-container",3,"keydown"],["tabListContainer",""],["role","tablist",1,"mat-tab-list",3,"cdkObserveContent"],["tabList",""],[1,"mat-tab-labels"],["tabListInner",""],["aria-hidden","true","type","button","mat-ripple","","tabindex","-1",1,"mat-tab-header-pagination","mat-tab-header-pagination-after","mat-elevation-z4",3,"matRippleDisabled","disabled","mousedown","click","touchend"],["nextPaginator",""]],template:function(e,i){1&e&&(yi(),x(0,"button",0,1),Je("click",function(){return i._handlePaginatorClick("before")})("mousedown",function(s){return i._handlePaginatorPress("before",s)})("touchend",function(){return i._stopInterval()}),bt(2,"div",2),O(),x(3,"div",3,4),Je("keydown",function(s){return i._handleKeydown(s)}),x(5,"div",5,6),Je("cdkObserveContent",function(){return i._onContentChanges()}),x(7,"div",7,8),Sn(9),O(),bt(10,"mat-ink-bar"),O()(),x(11,"button",9,10),Je("mousedown",function(s){return i._handlePaginatorPress("after",s)})("click",function(){return i._handlePaginatorClick("after")})("touchend",function(){return i._stopInterval()}),bt(13,"div",2),O()),2&e&&(Cn("mat-tab-header-pagination-disabled",i._disableScrollBefore),H("matRippleDisabled",i._disableScrollBefore||i.disableRipple)("disabled",i._disableScrollBefore||null),B(5),Cn("_mat-animation-noopable","NoopAnimations"===i._animationMode),B(6),Cn("mat-tab-header-pagination-disabled",i._disableScrollAfter),H("matRippleDisabled",i._disableScrollAfter||i.disableRipple)("disabled",i._disableScrollAfter||null))},directives:[no,m_,kP],styles:[".mat-tab-header{display:flex;overflow:hidden;position:relative;flex-shrink:0}.mat-tab-header-pagination{-webkit-user-select:none;user-select:none;position:relative;display:none;justify-content:center;align-items:center;min-width:32px;cursor:pointer;z-index:2;-webkit-tap-highlight-color:transparent;touch-action:none;box-sizing:content-box;background:none;border:none;outline:0;padding:0}.mat-tab-header-pagination::-moz-focus-inner{border:0}.mat-tab-header-pagination-controls-enabled .mat-tab-header-pagination{display:flex}.mat-tab-header-pagination-before,.mat-tab-header-rtl .mat-tab-header-pagination-after{padding-left:4px}.mat-tab-header-pagination-before .mat-tab-header-pagination-chevron,.mat-tab-header-rtl .mat-tab-header-pagination-after .mat-tab-header-pagination-chevron{transform:rotate(-135deg)}.mat-tab-header-rtl .mat-tab-header-pagination-before,.mat-tab-header-pagination-after{padding-right:4px}.mat-tab-header-rtl .mat-tab-header-pagination-before .mat-tab-header-pagination-chevron,.mat-tab-header-pagination-after .mat-tab-header-pagination-chevron{transform:rotate(45deg)}.mat-tab-header-pagination-chevron{border-style:solid;border-width:2px 2px 0 0;height:8px;width:8px}.mat-tab-header-pagination-disabled{box-shadow:none;cursor:default}.mat-tab-list{flex-grow:1;position:relative;transition:transform 500ms cubic-bezier(0.35, 0, 0.25, 1)}.mat-ink-bar{position:absolute;bottom:0;height:2px;transition:500ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable.mat-ink-bar{transition:none;animation:none}.mat-tab-group-inverted-header .mat-ink-bar{bottom:auto;top:0}.cdk-high-contrast-active .mat-ink-bar{outline:solid 2px;height:0}.mat-tab-labels{display:flex}[mat-align-tabs=center]>.mat-tab-header .mat-tab-labels{justify-content:center}[mat-align-tabs=end]>.mat-tab-header .mat-tab-labels{justify-content:flex-end}.mat-tab-label-container{display:flex;flex-grow:1;overflow:hidden;z-index:1}._mat-animation-noopable.mat-tab-list{transition:none;animation:none}.mat-tab-label{height:48px;padding:0 24px;cursor:pointer;box-sizing:border-box;opacity:.6;min-width:160px;text-align:center;display:inline-flex;justify-content:center;align-items:center;white-space:nowrap;position:relative}.mat-tab-label:focus{outline:none}.mat-tab-label:focus:not(.mat-tab-disabled){opacity:1}.cdk-high-contrast-active .mat-tab-label:focus{outline:dotted 2px;outline-offset:-2px}.mat-tab-label.mat-tab-disabled{cursor:default}.cdk-high-contrast-active .mat-tab-label.mat-tab-disabled{opacity:.5}.mat-tab-label .mat-tab-label-content{display:inline-flex;justify-content:center;align-items:center;white-space:nowrap}.cdk-high-contrast-active .mat-tab-label{opacity:1}@media(max-width: 599px){.mat-tab-label{min-width:72px}}\n"],encapsulation:2}),n})(),Wee=0;class Qee{}const Kee=Ya(to(class{constructor(n){this._elementRef=n}}),"primary");let Zee=(()=>{class n extends Kee{constructor(e,i,r,s){var o;super(e),this._changeDetectorRef=i,this._animationMode=s,this._tabs=new Vl,this._indexToSelect=0,this._lastFocusedTabIndex=null,this._tabBodyWrapperHeight=0,this._tabsSubscription=P.EMPTY,this._tabLabelSubscription=P.EMPTY,this._selectedIndex=null,this.headerPosition="above",this.selectedIndexChange=new jt,this.focusChange=new jt,this.animationDone=new jt,this.selectedTabChange=new jt(!0),this._groupId=Wee++,this.animationDuration=r&&r.animationDuration?r.animationDuration:"500ms",this.disablePagination=!(!r||null==r.disablePagination)&&r.disablePagination,this.dynamicHeight=!(!r||null==r.dynamicHeight)&&r.dynamicHeight,this.contentTabIndex=null!==(o=null==r?void 0:r.contentTabIndex)&&void 0!==o?o:null}get dynamicHeight(){return this._dynamicHeight}set dynamicHeight(e){this._dynamicHeight=rn(e)}get selectedIndex(){return this._selectedIndex}set selectedIndex(e){this._indexToSelect=Ai(e,null)}get animationDuration(){return this._animationDuration}set animationDuration(e){this._animationDuration=/^\d+$/.test(e+"")?e+"ms":e}get contentTabIndex(){return this._contentTabIndex}set contentTabIndex(e){this._contentTabIndex=Ai(e,null)}get backgroundColor(){return this._backgroundColor}set backgroundColor(e){const i=this._elementRef.nativeElement;i.classList.remove(`mat-background-${this.backgroundColor}`),e&&i.classList.add(`mat-background-${e}`),this._backgroundColor=e}ngAfterContentChecked(){const e=this._indexToSelect=this._clampTabIndex(this._indexToSelect);if(this._selectedIndex!=e){const i=null==this._selectedIndex;if(!i){this.selectedTabChange.emit(this._createChangeEvent(e));const r=this._tabBodyWrapper.nativeElement;r.style.minHeight=r.clientHeight+"px"}Promise.resolve().then(()=>{this._tabs.forEach((r,s)=>r.isActive=s===e),i||(this.selectedIndexChange.emit(e),this._tabBodyWrapper.nativeElement.style.minHeight="")})}this._tabs.forEach((i,r)=>{i.position=r-e,null!=this._selectedIndex&&0==i.position&&!i.origin&&(i.origin=e-this._selectedIndex)}),this._selectedIndex!==e&&(this._selectedIndex=e,this._lastFocusedTabIndex=null,this._changeDetectorRef.markForCheck())}ngAfterContentInit(){this._subscribeToAllTabChanges(),this._subscribeToTabLabels(),this._tabsSubscription=this._tabs.changes.subscribe(()=>{const e=this._clampTabIndex(this._indexToSelect);if(e===this._selectedIndex){const i=this._tabs.toArray();let r;for(let s=0;s{i[e].isActive=!0,this.selectedTabChange.emit(this._createChangeEvent(e))})}this._changeDetectorRef.markForCheck()})}_subscribeToAllTabChanges(){this._allTabs.changes.pipe(hr(this._allTabs)).subscribe(e=>{this._tabs.reset(e.filter(i=>i._closestTabGroup===this||!i._closestTabGroup)),this._tabs.notifyOnChanges()})}ngOnDestroy(){this._tabs.destroy(),this._tabsSubscription.unsubscribe(),this._tabLabelSubscription.unsubscribe()}realignInkBar(){this._tabHeader&&this._tabHeader._alignInkBarToSelectedTab()}updatePagination(){this._tabHeader&&this._tabHeader.updatePagination()}focusTab(e){const i=this._tabHeader;i&&(i.focusIndex=e)}_focusChanged(e){this._lastFocusedTabIndex=e,this.focusChange.emit(this._createChangeEvent(e))}_createChangeEvent(e){const i=new Qee;return i.index=e,this._tabs&&this._tabs.length&&(i.tab=this._tabs.toArray()[e]),i}_subscribeToTabLabels(){this._tabLabelSubscription&&this._tabLabelSubscription.unsubscribe(),this._tabLabelSubscription=at(...this._tabs.map(e=>e._stateChanges)).subscribe(()=>this._changeDetectorRef.markForCheck())}_clampTabIndex(e){return Math.min(this._tabs.length-1,Math.max(e||0,0))}_getTabLabelId(e){return`mat-tab-label-${this._groupId}-${e}`}_getTabContentId(e){return`mat-tab-content-${this._groupId}-${e}`}_setTabBodyWrapperHeight(e){if(!this._dynamicHeight||!this._tabBodyWrapperHeight)return;const i=this._tabBodyWrapper.nativeElement;i.style.height=this._tabBodyWrapperHeight+"px",this._tabBodyWrapper.nativeElement.offsetHeight&&(i.style.height=e+"px")}_removeTabBodyWrapperHeight(){const e=this._tabBodyWrapper.nativeElement;this._tabBodyWrapperHeight=e.clientHeight,e.style.height="",this.animationDone.emit()}_handleClick(e,i,r){e.disabled||(this.selectedIndex=i.focusIndex=r)}_getTabIndex(e,i){var r;return e.disabled?null:i===(null!==(r=this._lastFocusedTabIndex)&&void 0!==r?r:this.selectedIndex)?0:-1}_tabFocusChanged(e,i){e&&"mouse"!==e&&"touch"!==e&&(this._tabHeader.focusIndex=i)}}return n.\u0275fac=function(e){return new(e||n)(M(Zt),M(Gn),M(AP,8),M(Zi,8))},n.\u0275dir=rt({type:n,inputs:{dynamicHeight:"dynamicHeight",selectedIndex:"selectedIndex",headerPosition:"headerPosition",animationDuration:"animationDuration",contentTabIndex:"contentTabIndex",disablePagination:"disablePagination",backgroundColor:"backgroundColor"},outputs:{selectedIndexChange:"selectedIndexChange",focusChange:"focusChange",animationDone:"animationDone",selectedTabChange:"selectedTabChange"},features:[xt]}),n})(),ly=(()=>{class n extends Zee{constructor(e,i,r,s){super(e,i,r,s)}}return n.\u0275fac=function(e){return new(e||n)(M(Zt),M(Gn),M(AP,8),M(Zi,8))},n.\u0275cmp=It({type:n,selectors:[["mat-tab-group"]],contentQueries:function(e,i,r){if(1&e&&Pn(r,om,5),2&e){let s;Et(s=Ct())&&(i._allTabs=s)}},viewQuery:function(e,i){if(1&e&&(pn(Tee,5),pn(See,5)),2&e){let r;Et(r=Ct())&&(i._tabBodyWrapper=r.first),Et(r=Ct())&&(i._tabHeader=r.first)}},hostAttrs:[1,"mat-tab-group"],hostVars:4,hostBindings:function(e,i){2&e&&Cn("mat-tab-group-dynamic-height",i.dynamicHeight)("mat-tab-group-inverted-header","below"===i.headerPosition)},inputs:{color:"color",disableRipple:"disableRipple"},exportAs:["matTabGroup"],features:[tn([{provide:xP,useExisting:n}]),xt],decls:6,vars:7,consts:[[3,"selectedIndex","disableRipple","disablePagination","indexFocused","selectFocusedIndex"],["tabHeader",""],["class","mat-tab-label mat-focus-indicator","role","tab","matTabLabelWrapper","","mat-ripple","","cdkMonitorElementFocus","",3,"id","mat-tab-label-active","ngClass","disabled","matRippleDisabled","click","cdkFocusChange",4,"ngFor","ngForOf"],[1,"mat-tab-body-wrapper"],["tabBodyWrapper",""],["role","tabpanel",3,"id","mat-tab-body-active","ngClass","content","position","origin","animationDuration","_onCentered","_onCentering",4,"ngFor","ngForOf"],["role","tab","matTabLabelWrapper","","mat-ripple","","cdkMonitorElementFocus","",1,"mat-tab-label","mat-focus-indicator",3,"id","ngClass","disabled","matRippleDisabled","click","cdkFocusChange"],[1,"mat-tab-label-content"],[3,"ngIf","ngIfElse"],["tabTextLabel",""],[3,"cdkPortalOutlet"],["role","tabpanel",3,"id","ngClass","content","position","origin","animationDuration","_onCentered","_onCentering"]],template:function(e,i){1&e&&(x(0,"mat-tab-header",0,1),Je("indexFocused",function(s){return i._focusChanged(s)})("selectFocusedIndex",function(s){return i.selectedIndex=s}),Ae(2,Aee,5,15,"div",2),O(),x(3,"div",3,4),Ae(5,Ree,1,10,"mat-tab-body",5),O()),2&e&&(H("selectedIndex",i.selectedIndex||0)("disableRipple",i.disableRipple)("disablePagination",i.disablePagination),B(2),H("ngForOf",i._tabs),B(1),Cn("_mat-animation-noopable","NoopAnimations"===i._animationMode),B(2),H("ngForOf",i._tabs))},directives:[$ee,IP,Br,RP,no,VW,Hc,ai,rc],styles:[".mat-tab-group{display:flex;flex-direction:column;max-width:100%}.mat-tab-group.mat-tab-group-inverted-header{flex-direction:column-reverse}.mat-tab-label{height:48px;padding:0 24px;cursor:pointer;box-sizing:border-box;opacity:.6;min-width:160px;text-align:center;display:inline-flex;justify-content:center;align-items:center;white-space:nowrap;position:relative}.mat-tab-label:focus{outline:none}.mat-tab-label:focus:not(.mat-tab-disabled){opacity:1}.cdk-high-contrast-active .mat-tab-label:focus{outline:dotted 2px;outline-offset:-2px}.mat-tab-label.mat-tab-disabled{cursor:default}.cdk-high-contrast-active .mat-tab-label.mat-tab-disabled{opacity:.5}.mat-tab-label .mat-tab-label-content{display:inline-flex;justify-content:center;align-items:center;white-space:nowrap}.cdk-high-contrast-active .mat-tab-label{opacity:1}@media(max-width: 599px){.mat-tab-label{padding:0 12px}}@media(max-width: 959px){.mat-tab-label{padding:0 12px}}.mat-tab-group[mat-stretch-tabs]>.mat-tab-header .mat-tab-label{flex-basis:0;flex-grow:1}.mat-tab-body-wrapper{position:relative;overflow:hidden;display:flex;transition:height 500ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable.mat-tab-body-wrapper{transition:none;animation:none}.mat-tab-body{top:0;left:0;right:0;bottom:0;position:absolute;display:block;overflow:hidden;outline:0;flex-basis:100%}.mat-tab-body.mat-tab-body-active{position:relative;overflow-x:hidden;overflow-y:auto;z-index:1;flex-grow:1}.mat-tab-group.mat-tab-group-dynamic-height .mat-tab-body.mat-tab-body-active{overflow-y:hidden}\n"],encapsulation:2}),n})(),Xee=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Yt({type:n}),n.\u0275inj=He({imports:[[di,mn,sc,ra,jp,b_],mn]}),n})();const Jee=["*",[["mat-toolbar-row"]]],ete=["*","mat-toolbar-row"],tte=Ya(class{constructor(n){this._elementRef=n}});let nte=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=rt({type:n,selectors:[["mat-toolbar-row"]],hostAttrs:[1,"mat-toolbar-row"],exportAs:["matToolbarRow"]}),n})(),ite=(()=>{class n extends tte{constructor(e,i,r){super(e),this._platform=i,this._document=r}ngAfterViewInit(){this._platform.isBrowser&&(this._checkToolbarMixedModes(),this._toolbarRows.changes.subscribe(()=>this._checkToolbarMixedModes()))}_checkToolbarMixedModes(){}}return n.\u0275fac=function(e){return new(e||n)(M(Zt),M(zi),M(Dn))},n.\u0275cmp=It({type:n,selectors:[["mat-toolbar"]],contentQueries:function(e,i,r){if(1&e&&Pn(r,nte,5),2&e){let s;Et(s=Ct())&&(i._toolbarRows=s)}},hostAttrs:[1,"mat-toolbar"],hostVars:4,hostBindings:function(e,i){2&e&&Cn("mat-toolbar-multiple-rows",i._toolbarRows.length>0)("mat-toolbar-single-row",0===i._toolbarRows.length)},inputs:{color:"color"},exportAs:["matToolbar"],features:[xt],ngContentSelectors:ete,decls:2,vars:0,template:function(e,i){1&e&&(yi(Jee),Sn(0),Sn(1,1))},styles:[".cdk-high-contrast-active .mat-toolbar{outline:solid 1px}.mat-toolbar-row,.mat-toolbar-single-row{display:flex;box-sizing:border-box;padding:0 16px;width:100%;flex-direction:row;align-items:center;white-space:nowrap}.mat-toolbar-multiple-rows{display:flex;box-sizing:border-box;flex-direction:column;width:100%}\n"],encapsulation:2,changeDetection:0}),n})(),rte=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Yt({type:n}),n.\u0275inj=He({imports:[[mn],mn]}),n})(),hte=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Yt({type:n}),n.\u0275inj=He({imports:[[DL,mn],mn]}),n})(),am=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Yt({type:n}),n.\u0275inj=He({imports:[ML,DL,w9,aQ,lQ,cQ,jd,wQ,xQ,uO,KQ,vK,qK,tZ,AO,wZ,IZ,l0,CK,$Z,rX,Z9,$X,cP,uP,hJ,ra,nP,mJ,CJ,BJ,vP,iee,fee,Xee,rte,y0,hte,D_]}),n})(),pte=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Yt({type:n}),n.\u0275inj=He({imports:[[di,am]]}),n})(),PP=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Yt({type:n}),n.\u0275inj=He({imports:[[di,am]]}),n})(),Bs=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Yt({type:n}),n.\u0275inj=He({imports:[[di,kR,l_,Ww,ws,am,PP],di,kR,l_,Ww,ws,am,PP,pte]}),n})();const FP={githubUrl:"https://github.com",accessTokenUrl:"https://catcher-auth.herokuapp.com/authenticate",clientDataUrl:"https://raw.githubusercontent.com/CATcher-org/client_data/master/profiles-dev.json"},mte=w(4147),_te={version:w(4147).version,production:!0,test:!1,clientId:"5e1ed08cff7f0de1d68d",githubUrl:"https://github.com",accessTokenUrl:FP.accessTokenUrl,clientDataUrl:"https://raw.githubusercontent.com/CATcher-org/client_data/master/profiles.json",origin:"https://catcher-org.github.io"},js=Object.assign(Object.assign({},_te),{clientId:"54b9dcc49069dc2f018e",origin:"https://catcher-org.github.io"});var NP="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||"undefined"!=typeof msCrypto&&"function"==typeof msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto),yte=new Uint8Array(16);function vte(){if(!NP)throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return NP(yte)}for(var BP=[],cy=0;cy<256;++cy)BP[cy]=(cy+256).toString(16).substr(1);const Dte=function Mte(n,t,e){var i=t&&e||0;"string"==typeof n&&(t="binary"===n?new Array(16):null,n=null);var r=(n=n||{}).random||(n.rng||vte)();if(r[6]=15&r[6]|64,r[8]=63&r[8]|128,t)for(var s=0;s<16;++s)t[i+s]=r[s];return t||function bte(n,t){var e=t||0;return[BP[n[e++]],BP[n[e++]],BP[n[e++]],BP[n[e++]],"-",BP[n[e++]],BP[n[e++]],"-",BP[n[e++]],BP[n[e++]],"-",BP[n[e++]],BP[n[e++]],"-",BP[n[e++]],BP[n[e++]],BP[n[e++]],BP[n[e++]],BP[n[e++]],BP[n[e++]]].join("")}(r)};function uy(){return Dte()}var lm=w(7582);function uu(n,t){return Lt(hi(e=>n(e)),vd(t))}class Ste{constructor(){this.issueLastModified=new Map}get(t){return this.issueLastModified.get(t)||""}set(t,e){this.issueLastModified.set(t,e)}clear(){this.issueLastModified.clear()}}class kte{constructor(){this.issuesCache=[]}getEtagFor(t){const e=this.get(t);let i="";return void 0!==e&&(i=e.headers.etag),i}get(t){return this.issuesCache[t-1]}set(t,e){e.isCached=!0,this.issuesCache[t-1]=e}clear(){this.issuesCache=[]}}function I0(n,t){return n.map(e=>t?t(e.node):e.node)}let Cs=(()=>{class n{constructor(e){Object.assign(this,e),this.isCategorical()?(this.category=this.name.split(".")[0],this.label=this.name.split(".")[1]):(this.category=this.name,this.label=this.name),Object.freeze(this)}getCategory(){return this.category}getValue(){return this.label}getDescription(){return this.description}isCategorical(){return/^[^.]+\.[^.]+$/.test(this.name)}}return n.LABEL_ORDER={severity:{Low:0,Medium:1,High:2},type:{DocumentationBug:0,FunctionalityBug:1}},n.LABELS={severity:"severity",type:"type",response:"response",duplicated:"duplicated",status:"status",unsure:"unsure",pending:"pending",team:"team",tutorial:"tutorial"},n})();class Ts{constructor(t){Object.assign(this,t),this.labels=[];for(const e of t.labels)this.labels.push(new Cs(e))}findLabel(t,e=!0){if(!e){const r=this.labels.find(s=>!s.isCategorical()&&s.name===t);return r?r.getValue():void 0}const i=this.labels.filter(r=>r.isCategorical()&&r.getCategory()===t);if(0!==i.length){if(1===i.length)return i[0].getValue();if(Cs.LABEL_ORDER[t]){const r=Cs.LABEL_ORDER[t];return i.reduce((s,o)=>r[o.getValue()]>r[s.getValue()]?o:s).getValue()}return i[0].getValue()}}findTeamId(){return`${this.findLabel("team")}.${this.findLabel("tutorial")}`}}class A0 extends Ts{constructor(t){super({id:t.id,number:t.number,body:t.body,created_at:String(t.createdAt),updated_at:String(t.updatedAt),url:String(t.url),title:t.title,state:t.state,user:{login:t.author.login,url:t.author.url,avatar_url:t.author.avatarUrl},assignees:I0(t.assignees.edges),labels:I0(t.labels.edges),comments:I0(t.comments.edges,e=>Object.assign(Object.assign({},e),{id:e.databaseId}))})}}const xte=["*"];let jP=(()=>{class n{constructor(e){this.snackBarRef=e}ngOnInit(){}}return n.\u0275fac=function(e){return new(e||n)(M(sm))},n.\u0275cmp=It({type:n,selectors:[["app-toaster"]],ngContentSelectors:xte,decls:6,vars:0,consts:[[1,"toaster"],[1,"message-container"],["mat-button","","color","accent",3,"click"]],template:function(e,i){1&e&&(yi(),x(0,"div",0)(1,"div",1)(2,"p"),Sn(3),O()(),x(4,"button",2),Je("click",function(){return i.snackBarRef.dismiss()}),De(5,"Close"),O()())},directives:[bi],styles:[".toaster[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between}.message-container[_ngcontent-%COMP%]{vertical-align:middle;flex-basis:80%;overflow-wrap:anywhere}.message-container[_ngcontent-%COMP%] > p[_ngcontent-%COMP%]{margin:auto 5px;text-align:center}button[_ngcontent-%COMP%]{vertical-align:middle;flex-basis:20%;margin:auto 5px;text-align:center}"]}),n})();function Ite(n,t){if(1&n&&(x(0,"div"),De(1," Validation Error: "),x(2,"ul")(3,"li"),De(4),O()()()),2&n){const e=t.$implicit;B(4),vi(e.code+" in "+e.field)}}function Ate(n,t){if(1&n&&(x(0,"div"),Ae(1,Ite,5,1,"div",2),O()),2&n){const e=Te();B(1),H("ngForOf",e.data.errors)}}function Rte(n,t){if(1&n&&De(0),2&n){const e=Te();ln(" ","Error code "+e.data.status+": "+e.data.message,"\n")}}let Lte=(()=>{class n{constructor(e){this.data=e}}return n.\u0275fac=function(e){return new(e||n)(M(rm))},n.\u0275cmp=It({type:n,selectors:[["app-form-error"]],decls:4,vars:2,consts:[[4,"ngIf","ngIfElse"],["generalMessage",""],[4,"ngFor","ngForOf"]],template:function(e,i){if(1&e&&(x(0,"app-toaster"),Ae(1,Ate,2,1,"div",0),O(),Ae(2,Rte,1,1,"ng-template",null,1,cd)),2&e){const r=ki(3);B(1),H("ngIf",i.data.errors)("ngIfElse",r)}},directives:[jP,ai,Br],encapsulation:2}),n})(),dy=(()=>{class n{constructor(e){this.data=e}}return n.\u0275fac=function(e){return new(e||n)(M(rm))},n.\u0275cmp=It({type:n,selectors:[["app-general-message-error"]],decls:2,vars:1,template:function(e,i){1&e&&(x(0,"app-toaster"),De(1),O()),2&e&&(B(1),ln(" ",i.data.message," "))},directives:[jP],encapsulation:2}),n})();let ts=(()=>{class n{constructor(){this.isInSession=!1,this.LOG_KEY="CATcher-Log",this.LOG_FILE_NAME="CATcher-log.txt",this.LOG_START_HEADER=`====== New CATcher v${js.version} Session Log ======`,this.LOG_COUNT_LIMIT=4,this.SESSION_LOG_SEPARATOR="\n".repeat(2),this.logger=console,this.startSession()}reset(){this.isInSession=!1}startSession(){window.opener&&window.opener!==window||this.isInSession||(this.isInSession=!0,this.initializeLogCache())}initializeLogCache(){this.setCachedLog(this.getTrimmedLogCache(this.getCachedLog(),this.LOG_COUNT_LIMIT))}getTrimmedLogCache(e,i){const r=(new Date).toLocaleString(),s=`${this.LOG_START_HEADER}\n${r}`,o=null==e?0:e.split("\n").filter(l=>l.includes(this.LOG_START_HEADER)).length;if(0===o)return s;if(o!!l).map(l=>`${this.LOG_START_HEADER}\n${l.trim()}`);return a.splice(0,a.length-i+1),a.push(`${s}`),a.join(this.SESSION_LOG_SEPARATOR)}getCachedLog(){return localStorage.getItem(this.LOG_KEY)}setCachedLog(e){localStorage.setItem(this.LOG_KEY,e)}updateLog(...e){this.setCachedLog(`${this.getCachedLog()}\n${e.toString()}`)}exportLogFile(){const e=this.getCachedLog();!function Ote(n,t){const e=new Blob([t],{type:"file/txt"}),i=window.URL.createObjectURL(e),r=function Pte(n,t){const e=document.createElement("a");return e.setAttribute("style","display: none;"),e.href=n,e.download=t,e}(i,n);(function Fte(n){document.body.appendChild(n),n.click()})(r),window.URL.revokeObjectURL(i),function Nte(n){document.body.removeChild(n),n.remove()}(r)}(this.LOG_FILE_NAME,e)}info(...e){this.updateLog(e),this.logger.info(e)}error(...e){this.updateLog(e),this.logger.error(e)}warn(...e){this.updateLog(e),this.logger.warn(e)}debug(...e){js.production||this.logger.debug(e)}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=Ee({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const Bte=["node_modules"];let Gi=(()=>{class n{constructor(e,i){this.snackBar=e,this.logger=i}handleError(e,i){this.logger.error("ErrorHandlingService: "+e),e instanceof Error&&this.logger.debug("ErrorHandlingService: "+this.cleanStack(e.stack)),e instanceof md||"RequestError"===e.constructor.name?this.handleHttpError(e,i):this.handleGeneralError("string"==typeof e?e:e.message||JSON.stringify(e))}cleanStack(e){return e.split("\n").filter(i=>!Bte.some(r=>i.includes(r))).join("\n")}handleHttpError(e,i){if(304!==e.status){if(!navigator.onLine)return void this.handleGeneralError("No Internet Connection");switch(e.status){case 500:case 400:case 401:case 404:this.snackBar.openFromComponent(dy,{data:e});break;case 422:this.snackBar.openFromComponent(Lte,{data:e});break;default:return void this.snackBar.openFromComponent(dy,{data:e})}}}handleGeneralError(e){this.snackBar.openFromComponent(dy,{data:{message:e}})}clearError(){this.snackBar.dismiss()}}return n.\u0275fac=function(e){return new(e||n)(Se(wP),Se(ts))},n.\u0275prov=Ee({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const{Octokit:YP}=w(8176);let pr="",py="",mr="",my="",sr=new YP,fr=(()=>{class n{constructor(e,i,r){this.errorHandlingService=e,this.apollo=i,this.logger=r,this.issuesCacheManager=new kte,this.issuesLastModifiedManager=new Ste,this.issueQueryRefs=new Map}storeOAuthAccessToken(e){sr=new YP({auth:()=>`Token ${e}`,log:{debug:(i,...r)=>this.logger.debug("GithubService: "+i,...r),info:(i,...r)=>/304 in \d+ms$/.test(i)?void 0:this.logger.info("GithubService: "+i,...r),warn:(i,...r)=>this.logger.warn("GithubService: "+i,...r),error:(i,...r)=>this.logger.error("GithubService: "+i,...r)}})}storeOrganizationDetails(e,i){py=e,my=i}storePhaseDetails(e,i){mr=i,pr=e}fetchIssuesGraphqlByTeam(e,i,r){const s=r.convertToGraphqlFilter();return this.toFetchIssues(r).pipe(hi(o=>o),ue(()=>this.fetchGraphqlList(e6,{owner:pr,name:mr,filter:Object.assign(Object.assign({},s),{labels:[...s.labels?s.labels:[],i]}),tutorial:e},o=>o.data.repository.label.issues.edges,A0)))}fetchIssuesGraphql(e){const i=e.convertToGraphqlFilter();return this.toFetchIssues(e).pipe(hi(r=>r),ue(()=>this.fetchGraphqlList(t6,{owner:pr,name:mr,filter:i},r=>r.data.repository.issues.edges,A0)))}toFetchIssues(e){let i;return this.getIssuesAPICall(e,1).pipe(ge(r=>(i=r,function Cte(n){let t=1;return n.headers.link&&(t=+function Tte(n){return n.split(",").map(t=>t.split(";").map((e,i)=>0===i?/[^_]page=(\d+)/.exec(e)[1]:1===i?/rel="(.+)"/.exec(e)[1]:void 0)).reduce((t,e)=>(t[e[1]]=e[0],t),{})}(n.headers.link).last||1),t}(r))),ue(r=>{const s=[];for(let o=2;o<=r;o++)s.push(this.getIssuesAPICall(e,o));return 0===s.length?Qt([]):Oa(s)}),ge(r=>{const s=[i,...r],o=s.reduce((a,l)=>a&&l.isCached,!0);return s.forEach((a,l)=>this.issuesCacheManager.set(l+1,a)),!o}))}isRepositoryPresent(e,i){return St(sr.repos.get({owner:e,repo:i,headers:n.IF_NONE_MATCH_EMPTY})).pipe(ge(r=>404!==r.status),Ni(r=>Qt(!1)),Ni(r=>Qi("Failed to fetch repo data.")))}createRepository(e){sr.repos.createForAuthenticatedUser({name:e})}createBranch(){return this.getDefaultBranch().pipe(ue(e=>this.getBranchHeadInfo(e)),ge(e=>e.data.object.sha),ue(e=>this.createBranchFromCommit(e)),ue(()=>this.isMainBranchPresent()),uu(e=>e,()=>new Error("Unable to create main branch.")))}createBranchFromCommit(e){return St(sr.git.createRef({owner:pr,repo:mr,ref:"refs/heads/main",sha:e}))}getDefaultBranch(){return St(sr.repos.get({owner:pr,repo:mr})).pipe(ge(e=>e.data.default_branch))}getBranchHeadInfo(e){return St(sr.git.getRef({owner:pr,repo:mr,ref:`heads/${e}`}))}isMainBranchPresent(){return St(sr.git.getRef({owner:pr,repo:mr,ref:"heads/main"})).pipe(ge(e=>404!==e.status),Ni(()=>Qt(!1)))}fetchIssueGraphql(e){if(void 0===this.issueQueryRefs.get(e)){const r=this.apollo.watchQuery({query:J8,variables:{owner:pr,name:mr,issueId:e}});this.issueQueryRefs.set(e,r)}const i=this.issueQueryRefs.get(e);return this.toFetchIssue(e).pipe(hi(r=>r),ue(()=>St(i.refetch())),ge(r=>new A0(r.data.repository.issue)),vd(()=>new md({status:304})))}toFetchIssue(e){return St(sr.issues.get({owner:pr,repo:mr,issue_number:e,headers:{"If-Modified-Since":this.issuesLastModifiedManager.get(e)}})).pipe(ge(i=>(this.issuesLastModifiedManager.set(e,i.headers["last-modified"]),!0)),Ni(i=>Qi("Failed to fetch issue.")))}fetchAllLabels(){return this.fetchGraphqlList(n6,{owner:pr,name:mr},i=>i.data.repository.labels.edges,Cs).pipe(Ni(i=>Qi("Failed to fetch labels.")))}createLabel(e,i){sr.issues.createLabel({owner:pr,repo:mr,name:e,color:i})}updateLabel(e,i){sr.issues.updateLabel({owner:pr,repo:mr,name:e,current_name:e,color:i})}closeIssue(e){return St(sr.issues.update({owner:pr,repo:mr,issue_number:e,state:"closed"})).pipe(ge(i=>(this.issuesLastModifiedManager.set(e,i.headers["last-modified"]),new Ts(i.data))))}reopenIssue(e){return St(sr.issues.update({owner:pr,repo:mr,issue_number:e,state:"open"})).pipe(ge(i=>(this.issuesLastModifiedManager.set(e,i.headers["last-modified"]),new Ts(i.data))))}createIssue(e,i,r){return St(sr.issues.create({owner:pr,repo:mr,title:e,body:i,labels:r})).pipe(ge(s=>new Ts(s.data)))}createIssueComment(e,i){return St(sr.issues.createComment({owner:pr,repo:mr,issue_number:e,body:i})).pipe(ge(r=>r.data))}updateIssue(e,i,r,s,o){return St(sr.issues.update({owner:pr,repo:mr,issue_number:e,title:i,body:r,labels:s,assignees:o})).pipe(ge(a=>(this.issuesLastModifiedManager.set(e,a.headers["last-modified"]),new Ts(a.data))),Ni(a=>Qi(a)))}updateIssueComment(e){return St(sr.issues.updateComment({owner:pr,repo:mr,comment_id:e.id,body:e.description})).pipe(ge(i=>i.data))}uploadFile(e,i){return St(sr.repos.createOrUpdateFile({owner:pr,repo:mr,branch:"main",path:`files/${e}`,message:"upload file",content:i}))}fetchEventsForRepo(){return St(sr.issues.listEventsForRepo({owner:pr,repo:mr,headers:n.IF_NONE_MATCH_EMPTY})).pipe(ge(e=>e.data),Ni(e=>Qi("Failed to fetch events for repo.")))}fetchDataFile(){return St(sr.repos.getContents({owner:py,repo:my,path:"data.csv",headers:n.IF_NONE_MATCH_EMPTY})).pipe(ge(e=>({data:atob(e.data.content)})),Ni(e=>Qi("Failed to fetch data file.")))}fetchLatestRelease(){return St(sr.repos.getLatestRelease({owner:"CATcher-org",repo:"CATcher",headers:n.IF_NONE_MATCH_EMPTY})).pipe(ge(e=>e.data),Ni(e=>Qi("Failed to fetch latest release.")))}fetchSettingsFromRawUrl(){return St(fetch(function qte(n,t){return`https://raw.githubusercontent.com/${n}/${t}/master/settings.json`}(py,my))).pipe(ue(e=>e.json()),Ni(e=>Qi("Failed to fetch settings file.")))}fetchSettingsFile(){return St(sr.repos.getContents({owner:py,repo:my,path:"settings.json",headers:n.IF_NONE_MATCH_EMPTY})).pipe(ge(e=>JSON.parse(atob(e.data.content))),Ni(e=>(this.logger.error("GithubService: Failed to fetch settings file via REST API. Trying to fetch using raw.githubusercontent.com: ",e),this.fetchSettingsFromRawUrl())))}fetchAuthenticatedUser(){return St(sr.users.getAuthenticated()).pipe(ge(e=>e.data),Ni(e=>Qi("Failed to fetch authenticated user.")))}getRepoURL(){return pr.concat("/").concat(mr)}viewIssueInBrowser(e,i){e?window.open("https://github.com/".concat(this.getRepoURL()).concat("/issues/").concat(String(e))):this.errorHandlingService.handleError(new Error("Unable to open this issue in Browser")),i.stopPropagation()}reset(){this.logger.info("GithubService: Resetting issues cache"),this.issuesCacheManager.clear(),this.issuesLastModifiedManager.clear(),this.issueQueryRefs.clear()}getProfilesData(){return fetch(js.clientDataUrl)}getIssuesAPICall(e,i){return St(sr.issues.listForRepo(Object.assign(Object.assign({},e),{owner:pr,repo:mr,sort:"created",direction:"desc",per_page:100,page:i,headers:{"If-None-Match":this.issuesCacheManager.getEtagFor(i)}}))).pipe(Ni(o=>Qt(this.issuesCacheManager.get(i))))}fetchGraphqlList(e,i,r,s){return St(this.withPagination(r)(e,i)).pipe(ge(o=>o.reduce((l,h)=>l.concat(r(h)),[]).map(l=>new s(l.node))),vd(()=>new md({status:304})))}withPagination(e){return(i,r={})=>(0,lm.mG)(this,void 0,void 0,function*(){const s=r.cursor||null;return this.apollo.watchQuery({query:i,variables:Object.assign(Object.assign({},r),{cursor:s})}).refetch().then(a=>(0,lm.mG)(this,void 0,void 0,function*(){const l=Array.isArray(a)?a:[a],h=e(a),f=0===h.length?null:h[h.length-1].cursor;if(h.length<100||!f)return l;const D=yield this.withPagination(e)(i,Object.assign(Object.assign({},r),{cursor:f}));return l.concat(D)}))})}}return n.IF_NONE_MATCH_EMPTY={"If-None-Match":""},n.\u0275fac=function(e){return new(e||n)(Se(Gi),Se(Hg),Se(ts))},n.\u0275prov=Ee({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();class zd{constructor(t){Object.assign(this,t)}get tutorialClassId(){const[t,e]=this.id.split("-");return`${t}-${e}`}get teamId(){return this.id.split("-")[2]}}var An=(()=>(function(n){n.Admin="Admin",n.Tutor="Tutor",n.Student="Student"}(An||(An={})),An))();let Li=(()=>{class n{constructor(e){this.githubService=e}getDataFile(){return this.githubService.fetchDataFile().pipe(ge(e=>this.constructData(e)),ge(e=>(this.dataFile={teamStructure:this.extractTeamStructure(e)},e)))}constructData(e){const i={},r=e.data;return i[n.ROLES]=this.parseRolesData(r),i[n.TEAM_STRUCTURE]=this.parseTeamStructureData(r),i[n.STUDENTS_ALLOCATION]=this.parseStudentAllocation(r),i[n.TUTORS_ALLOCATION]=this.parseTutorAllocation(r),i[n.ADMINS_ALLOCATION]=this.parseAdminAllocation(r),i}parseAdminAllocation(e){const i={};return this.parseUsersData(e).forEach(s=>{s[n.ROLE]===An.Admin.toLowerCase()&&(i[s[n.NAME].toLowerCase()]={})}),i}parseTutorAllocation(e){const i={};return this.parseUsersData(e).forEach(s=>{if(s[n.ROLE]!==An.Tutor.toLowerCase())return;const o=i[s[n.NAME].toLowerCase()]||{};o[s[n.TEAM]]="true",i[s[n.NAME].toLowerCase()]=o}),i}parseStudentAllocation(e){const i={};return this.parseUsersData(e).forEach(s=>{if(s[n.ROLE]!==An.Student.toLowerCase())return;const o={};o[n.TEAM_ID]=s[n.TEAM],i[s[n.NAME].toLowerCase()]=o}),i}parseTeamStructureData(e){const i={};return this.parseUsersData(e).forEach(s=>{if(s[n.ROLE]!==An.Student.toLowerCase())return;const o=i[s[n.TEAM]]||{};o[s[n.NAME].toLowerCase()]=s[n.NAME],i[s[n.TEAM]]=o}),i}parseRolesData(e){const i={},r={},s={},o={};return this.parseUsersData(e).forEach(l=>{l[n.ROLE]===An.Student.toLowerCase()?r[l[n.NAME].toLowerCase()]="true":l[n.ROLE]===An.Tutor.toLowerCase()?s[l[n.NAME].toLowerCase()]="true":l[n.ROLE]===An.Admin.toLowerCase()&&(o[l[n.NAME].toLowerCase()]="true")}),i[n.STUDENTS]=r,i[n.TUTORS]=s,i[n.ADMINS]=o,i}parseUsersData(e){const i=e.split("\n").filter(o=>o.trim()),r=i[0].split(",").map(o=>o.trim()),s=[];for(let o=1;of.trim()),h={};for(let f=0;f{const l=Object.values(r[o]).map(h=>({loginId:h,role:An.Student}));i.set(o,new zd({id:o,teamMembers:l}))}),i}reset(){this.dataFile=void 0}}return n.ROLES="roles",n.TEAM_STRUCTURE="team-structure",n.STUDENTS_ALLOCATION="students-allocation",n.TUTORS_ALLOCATION="tutors-allocation",n.ADMINS_ALLOCATION="admins-allocation",n.NAME="name",n.TEAM="team",n.ROLE="role",n.TEAM_ID="teamId",n.STUDENTS="students",n.TUTORS="tutors",n.ADMINS="admins",n.\u0275fac=function(e){return new(e||n)(Se(fr))},n.\u0275prov=Ee({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),Cr=(()=>{class n{constructor(e,i,r){this.githubService=e,this.dataService=i,this.logger=r}getAuthenticatedUser(){return this.githubService.fetchAuthenticatedUser().pipe(ge(e=>e))}createUserModel(e){return this.dataService.getDataFile().pipe(ge(i=>(this.currentUser=this.createUser(i,e),this.currentUser)),hi(i=>null!==i),vd(()=>new Error("Unauthorized user.")))}reset(){this.logger.info("UserService: Clearing current user"),this.currentUser=void 0}createUser(e,i){const r=i.toLowerCase(),s=this.parseUserRole(e,r);switch(s){case An.Student:return{loginId:i,role:s,team:this.createTeamModel(e[Li.TEAM_STRUCTURE],e[Li.STUDENTS_ALLOCATION][r][Li.TEAM_ID])};case An.Tutor:return{loginId:i,role:s,allocatedTeams:Object.keys(e[Li.TUTORS_ALLOCATION][r]).map(f=>this.createTeamModel(e[Li.TEAM_STRUCTURE],f))};case An.Admin:return{loginId:i,role:s,allocatedTeams:Object.keys(e[Li.ADMINS_ALLOCATION][r]).map(f=>this.createTeamModel(e[Li.TEAM_STRUCTURE],f))};default:return null}}createTeamModel(e,i){const r=Object.values(e[i]).map(s=>({loginId:s,role:An.Student}));return new zd({id:i,teamMembers:r})}parseUserRole(e,i){let r;return e[Li.ROLES][Li.STUDENTS]&&e[Li.ROLES][Li.STUDENTS][[i]]&&(r=An.Student),e[Li.ROLES][Li.TUTORS]&&e[Li.ROLES][Li.TUTORS][[i]]&&(r=An.Tutor),e[Li.ROLES][Li.ADMINS]&&e[Li.ROLES][Li.ADMINS][[i]]&&(r=An.Admin),r}}return n.\u0275fac=function(e){return new(e||n)(Se(fr),Se(Li),Se(ts))},n.\u0275prov=Ee({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();function L0(n,t){return t?e=>e.pipe(L0((i,r)=>St(n(i,r)).pipe(ge((s,o)=>t(i,s,r,o))))):e=>e.lift(new Ute(n))}class Ute{constructor(t){this.project=t}call(t,e){return e.subscribe(new zte(t,this.project))}}class zte extends Wt{constructor(t,e){super(t),this.project=e,this.hasSubscription=!1,this.hasCompleted=!1,this.index=0}_next(t){this.hasSubscription||this.tryNext(t)}tryNext(t){let e;const i=this.index++;try{e=this.project(t,i)}catch(r){return void this.destination.error(r)}this.hasSubscription=!0,this._innerSub(e)}_innerSub(t){const e=new Xt(this),i=this.destination;i.add(e);const r=xn(t,e);r!==e&&i.add(r)}_complete(){this.hasCompleted=!0,this.hasSubscription||this.destination.complete(),this.unsubscribe()}notifyNext(t){this.destination.next(t)}notifyError(t){this.destination.error(t)}notifyComplete(){this.hasSubscription=!1,this.hasCompleted&&this.destination.complete()}}class fy{constructor(t){Object.assign(this,t)}convertToGraphqlFilter(){return{assignee:this.assignee,createdBy:this.creator,labels:this.labels,mentioned:this.mentioned,milestone:this.milestone,since:this.since,states:["close"===this.state?Fs.Closed:Fs.Open]}}}let O0=(()=>{class n{constructor(e){this.data=new Map;const i=e.match(n.REGEX);if(this.originalStringWithoutHiddenData=e.replace(n.REGEX,"").trim(),null!==i)for(const r of i){let s=r.replace("\x3c!--","").trim();s=s.replace("--\x3e","").trim();const o=s.split(":").map(h=>h.trim());if(2!==o.length){this.originalStringWithoutHiddenData+=`\n${r}`;continue}const[a,l]=o;this.data.has(a)||this.data.set(a,l)}}static embedDataIntoString(e,i){let r=e;return i.forEach((s,o)=>{r+=`\n\x3c!--${o}: ${s}--\x3e`}),r}toString(){let e="";return this.data.forEach((i,r)=>{e+=`\x3c!--${r}: ${i}--\x3e`}),e}}return n.REGEX=//gm,n})();var Gte=w(5439),Mn=(()=>(function(n){n.phaseBugReporting="phaseBugReporting",n.phaseTeamResponse="phaseTeamResponse",n.phaseTesterResponse="phaseTesterResponse",n.phaseModeration="phaseModeration"}(Mn||(Mn={})),Mn))();class cm{constructor(t){this.parser=t}findConformingComment(t){let e,i;for(const r of t)if(i=this.parser.run(r.body),!i.isError){this.parseResult=i.result,e=r;break}return void 0===e&&(this.parseFailure=!0,i&&(this.parseError=i.error)),e}}const{endOfInput:$te,sequenceOf:Wte,startOfInput:Qte,str:Kte}=w(930),VP="Your response not required for this bug as the team has accepted the bug as it is.",Zte=Wte([Qte,Kte(VP),$te]);class Xte extends cm{constructor(t){super(Zte),this.findConformingComment(t),!this.parseFailure&&(this.teamAccepted=!0)}}const{char:Jte,choice:ene,coroutine:qP,everyCharUntil:tne,str:gy,whitespace:UP}=w(930);function P0(n){return qP(function*(){yield gy("# Team's Response"),yield UP;const t=yield tne(gy(n));return t.trim()?t.trim():"No details provided by team."})}function zP(n){return qP(function*(){yield gy("- [");const t=yield ene([Jte("x"),UP]);return yield gy("] "+n),"x"===t})}const{choice:rne,coroutine:GP,digits:sne,str:F0,whitespace:one}=w(930),$P="## Duplicate status (if any):",ane=P0($P),lne=GP(function*(){yield F0("Duplicate of #");const n=yield sne;return parseInt(n,10)}),cne=GP(function*(){const n=yield ane;return yield F0($P),yield one,{teamResponse:n,issueNumber:yield rne([lne,F0("--")]).map(i=>"--"===i?null:i)}});class une extends cm{constructor(t){super(cne);const e=this.findConformingComment(t);this.parseFailure||(this.comment=Object.assign(Object.assign({},e),{description:e.body,createdAt:e.created_at,updatedAt:e.updated_at}),this.teamResponse=this.parseResult.teamResponse,this.duplicateOf=this.parseResult.issueNumber)}}class N0{constructor(t,e){this.description=t,this.isChecked=e}setChecked(t){this.isChecked=t}toString(){return`- ${this.isChecked?"[x]":"[ ]"} ${this.description}`}}class dne{constructor(t,e,i,r,s){this.TITLE_PREFIX="## :question: ",this.DISAGREEMENT_PREFIX="**Reason for disagreement:** ",this.INITIAL_RESPONSE="[replace this with your explanation]",this.LINE_BREAK="
    \n",this.title=t,this.description=e,this.disagreeCheckbox=new N0(i,r),this.reasonForDisagreement=s}toString(){let t="";return t+=this.TITLE_PREFIX+this.title+"\n\n",t+=this.description+"\n\n",t+=this.disagreeCheckbox.toString()+"\n\n",t+=this.DISAGREEMENT_PREFIX+this.reasonForDisagreement+"\n\n",t+=this.LINE_BREAK,t}isDisagree(){return this.disagreeCheckbox.isChecked}compareTo(t){return this.isDisagree()===t.isDisagree()?this.reasonForDisagreement.localeCompare(t.reasonForDisagreement):this.isDisagree()?1:-1}getTitleInMarkDown(){return`## ${this.title}`}getDisagreementWithoutDefaultResponse(){return this.reasonForDisagreement.replace(this.INITIAL_RESPONSE," ")}setDisagree(t){this.disagreeCheckbox.setChecked(t)}setReasonForDisagreement(t){this.reasonForDisagreement=t}}const{between:hne,coroutine:B0,everyCharUntil:WP,letters:QP,lookAhead:pne,optionalWhitespace:j0,pipeParsers:KP,possibly:mne,str:za,whitespace:Gd}=w(930),ZP="
    ",XP="Team chose to mark this issue as a duplicate of another issue (as explained in the _**Team's response**_ above)",Y0=zP("I disagree");function JP(n){return hne(za("[`"+n+"."))(za("`]"))(QP)}const eF=B0(function*(){yield za("**Reason for disagreement:** ");const n=yield WP(za(ZP));return yield za(ZP),n.trim()}),Mne=B0(function*(){yield za("status"),yield Gd,yield za(XP),yield Gd;const n=yield Y0;return yield Gd,{disagreeCheckboxValue:n,reasonForDisagreement:yield eF}}),Dne=B0(function*(){yield za("## :question: Issue ");const n=yield QP;if(yield Gd,"duplicate"===n){const l=yield Mne;return yield j0,{title:n+" status",description:XP,teamChose:null,testerChose:null,disagreeCheckboxValue:l.disagreeCheckboxValue,reasonForDisagreement:l.reasonForDisagreement}}const t=yield pne(WP(Y0)),e=function bne(n){const t=JP(n);return KP([za("Team chose "),t])}(n),i=function wne(n){const t=JP(n);return KP([za("Originally "),t])}(n),r=yield e;yield Gd;const s=yield mne(i);yield j0;const o=yield Y0;yield Gd;const a=yield eF;return yield j0,{title:n,description:t.trim(),teamChose:r,testerChose:s,disagreeCheckboxValue:o,reasonForDisagreement:a}}),{coroutine:Ene,many1:Cne,str:tF,optionalWhitespace:Tne,possibly:Sne,whitespace:kne}=w(930),nF="# Items for the Tester to Verify",Ane=P0(nF),Rne=Ene(function*(){yield Sne(tF("[IMPORTANT!: Please do not edit or reply to this comment using the GitHub UI. You can respond to it using CATcher during the next phase of the PE]")),yield Tne;const n=yield Ane;yield tF(nF),yield kne;const t=yield Cne(Dne);let i,r,e=!1;const s=[];for(const a of t)a.disagreeCheckboxValue&&(e=!0),"severity"===a.title?i=a.teamChose:"type"===a.title&&(r=a.teamChose),s.push(new dne("Issue "+a.title,a.description,"I disagree",a.disagreeCheckboxValue,a.reasonForDisagreement));return{teamResponse:n,testerResponses:s,testerDisagree:e,teamChosenSeverity:i,teamChosenType:r}});class iF extends cm{constructor(t){super(Rne);const e=this.findConformingComment(t);this.parseFailure||(this.comment=Object.assign(Object.assign({},e),{description:e.body}),this.teamResponse=this.parseResult.teamResponse,this.testerResponses=this.parseResult.testerResponses,this.testerDisagree=this.parseResult.testerDisagree,this.teamChosenSeverity=this.parseResult.teamChosenSeverity,this.teamChosenType=this.parseResult.teamChosenType)}}class rF{constructor(t,e){this.TODO_DESCRIPTION="Done",this.INITIAL_RESPONSE="[replace this with your explanation]",this.TITLE_PREFIX="## :question: ",this.LINE_BREAK="
    \n",this.title=t,this.description=e,this.tutorResponse=this.INITIAL_RESPONSE,this.todo=new N0(this.TODO_DESCRIPTION,!1)}isDone(){return this.todo.isChecked}toTutorResponseString(){let t="";return t+=this.TITLE_PREFIX+this.title+"\n\n",t+=this.todo.toString()+"\n\n",t+=this.tutorResponse+"\n\n",t+=this.LINE_BREAK,t}compareTo(t){return this.isDone()===t.isDone()?this.tutorResponse.localeCompare(t.tutorResponse):this.isDone()?1:-1}toString(){let t="";return t+=this.TITLE_PREFIX+this.title+"\n\n",t+=this.description+"\n\n",t+=this.LINE_BREAK,t}setTutorResponse(t){this.tutorResponse=t}setIsDone(t){this.todo.setChecked(t)}}const{coroutine:Lne,everyCharUntil:sF,optionalWhitespace:One,str:_y}=w(930),oF="
    ",Nne=Lne(function*(){yield _y("## :question: ");const n=yield sF(_y("### Team says:")),t=yield sF(_y(oF));return yield _y(oF),yield One,new rF(n.trim(),t.trim())}),{coroutine:Bne,everyCharUntil:jne,many1:Yne,str:H0,whitespace:aF}=w(930),lF="# Disputes",qne=P0(lF),cF=Bne(function*(){yield H0("# Issue Description"),yield aF;const n=yield jne(H0("# Team's Response")),t=yield qne;yield H0(lF),yield aF;const e=yield Yne(Nne);return{description:n.trim(),teamResponse:t,issueDisputes:e}});class Une extends cm{constructor(t){super(cF);const e=cF.run(t.body);e.isError?this.parseFailure=!0:(this.parseResult=e.result,this.description=this.parseResult.description,this.teamResponse=this.parseResult.teamResponse,this.disputes=this.parseResult.issueDisputes)}}const{coroutine:zne,everyCharUntil:V0,lookAhead:Gne,optionalWhitespace:$ne,str:um,whitespace:Wne}=w(930),q0="
    ",Kne=zP("Done"),Zne=zne(function*(){yield um("## :question: ");const n=yield V0(um("- [")),t=yield Gne(V0(um(q0))),e=yield Kne;yield Wne;const i=yield V0(um(q0));yield um(q0),yield $ne;const r=new rF(n.trim(),t.trim());return r.todo=new N0("Done",e),r.tutorResponse=i.trim(),r}),{coroutine:Xne,many1:Jne,str:eie,whitespace:tie}=w(930),iie=Xne(function*(){return yield eie("# Tutor Moderation"),yield tie,{disputesToResolve:yield Jne(Zne)}});class dF extends cm{constructor(t){super(iie);const e=this.findConformingComment(t);this.parseFailure||(this.comment=Object.assign(Object.assign({},e),{description:e.body}),this.disputesToResolve=this.parseResult.disputesToResolve)}}class ji{constructor(t){this.globalId=t.id,this.id=+t.number,this.created_at=Gte(t.created_at).format("lll"),this.title=t.title,this.hiddenDataInDescription=new O0(t.body),this.description=ji.updateDescription(this.hiddenDataInDescription.originalStringWithoutHiddenData),this.githubIssue=t,this.severity=t.findLabel(Cs.LABELS.severity),this.type=t.findLabel(Cs.LABELS.type),this.response=t.findLabel(Cs.LABELS.response),this.duplicated=!!t.findLabel(Cs.LABELS.duplicated,!1),this.status=t.findLabel(Cs.LABELS.status),this.pending=t.findLabel(Cs.LABELS.pending)}static formatText(t){return null===t?null:void 0!==t?t.split(/[\n\r]/gi).filter(r=>""!==r.trim()).length>0?`${t}\n\n`:t:void 0}static updateDescription(t){return ji.orDefaultString(ji.formatText(t),"No details provided by bug reporter.")}static updateTeamResponse(t){return ji.orDefaultString(ji.formatText(t),"No details provided by team.")}static orDefaultString(t,e){return t&&0!==t.length?t:e}static createPhaseBugReportingIssue(t){return new ji(t)}static createPhaseTeamResponseIssue(t,e){const i=new ji(t),r=new une(t.comments);return i.githubComments=t.comments,i.teamAssigned=e,i.assignees=t.assignees.map(s=>s.login),i.teamResponseError=r.parseFailure,i.parseError=r.parseError,i.issueComment=r.comment,i.teamResponse=r.teamResponse,i.duplicateOf=r.duplicateOf,i.duplicated=null!=i.duplicateOf,i}static createPhaseTesterResponseIssue(t){const e=new ji(t),i=new iF(t.comments),r=new Xte(t.comments);return e.githubComments=t.comments,e.testerResponseError=i.parseFailure&&r.parseFailure,e.parseError=i.parseError,e.teamAccepted=r.teamAccepted,e.issueComment=i.comment,e.teamResponse=i.teamResponse,e.testerResponses=i.testerResponses,e.testerDisagree=i.testerDisagree,e.teamChosenSeverity=i.teamChosenSeverity||null,e.teamChosenType=i.teamChosenType||null,e}static createPhaseModerationIssue(t,e){const i=new ji(t),r=new Une(t),s=new dF(t.comments);return i.githubComments=t.comments,i.teamAssigned=e,i.description=r.description,i.teamResponse=r.teamResponse,i.issueDisputes=r.disputes,s.disputesToResolve&&s.comment&&(i.issueDisputes=s.disputesToResolve.map((o,a)=>(o.description=r.disputes[a].description,o)),i.issueComment=s.comment),i}clone(t){switch(t){case Mn.phaseBugReporting:return ji.createPhaseBugReportingIssue(this.githubIssue);case Mn.phaseTeamResponse:return ji.createPhaseTeamResponseIssue(this.githubIssue,this.teamAssigned);case Mn.phaseTesterResponse:return ji.createPhaseTesterResponseIssue(this.githubIssue);case Mn.phaseModeration:return ji.createPhaseModerationIssue(this.githubIssue,this.teamAssigned);default:return ji.createPhaseBugReportingIssue(this.githubIssue)}}retainResponses(t,e){switch(this.issueComment=e.issueComment,this.githubComments=e.githubComments,t){case Mn.phaseBugReporting:this.description=e.description;break;case Mn.phaseTeamResponse:this.teamResponse=e.teamResponse;break;case Mn.phaseTesterResponse:this.testerResponses=e.testerResponses,this.teamResponse=e.teamResponse;break;case Mn.phaseModeration:this.issueDisputes=e.issueDisputes}}updateTesterResponse(t){const e=new iF([t]);this.issueComment=e.comment,this.teamResponse=e.teamResponse,this.testerResponses=e.testerResponses}updateDispute(t){const e=new dF([t]);this.issueComment=e.comment,this.issueDisputes=e.disputesToResolve.map((i,r)=>(i.description=this.issueDisputes[r].description,i))}createGithubIssueDescription(){return`${this.description}\n${this.hiddenDataInDescription.toString()}`}createGithubTeamResponse(){return`# Team's Response\n${this.teamResponse}\n## Duplicate status (if any):\n${this.duplicateOf?`Duplicate of #${this.duplicateOf}`:"--"}`}createGithubTutorResponse(){let t="# Tutor Moderation\n\n";if(void 0!==this.issueDisputes)for(const e of this.issueDisputes)t+=e.toTutorResponseString();return t}createGithubTesterResponse(){return`# Team's Response\n${this.teamResponse}\n# Items for the Tester to Verify\n${this.getTesterResponsesString(this.testerResponses)}`}numOfUnresolvedDisputes(){return this.issueDisputes?this.issueDisputes.reduce((t,e)=>t+Number(!e.isDone()),0):0}getTesterResponsesString(t){let e="";for(const i of t)e+=i.toString();return e}}const hF={"-":0,VeryLow:1,Low:2,Medium:3,High:4},pF={"-":0,DocumentationBug:1,FeatureFlaw:2,FunctionalityBug:3};var Ys=(()=>(function(n){n.Incomplete="Incomplete",n.Done="Done"}(Ys||(Ys={})),Ys))(),Ji=(()=>(function(n){n.NoFilter="NoFilter",n.NoAccess="NoAccess",n.FilterByCreator="FilterByCreator",n.FilterByTeam="FilterByTeam",n.FilterByTeamAssigned="FilterByTeamAssigned"}(Ji||(Ji={})),Ji))();const U0={phaseBugReporting:{Student:Ji.FilterByCreator,Tutor:Ji.NoFilter,Admin:Ji.NoFilter},phaseTeamResponse:{Student:Ji.FilterByTeam,Tutor:Ji.FilterByTeamAssigned,Admin:Ji.NoFilter},phaseTesterResponse:{Student:Ji.NoFilter,Tutor:Ji.NoAccess,Admin:Ji.NoFilter},phaseModeration:{Student:Ji.NoAccess,Tutor:Ji.FilterByTeamAssigned,Admin:Ji.NoFilter}},mF=js.version;let rie=(()=>{class n{constructor(e){this.githubService=e,this.currentVersion=mF}isApplicationOutdated(){return this.latestVersion?Qt(this.isOutdatedVersion(this.latestVersion,this.currentVersion)):this.githubService.fetchLatestRelease().pipe(ge(e=>(this.latestVersion=e.tag_name.substring(1),this.latestReleaseUrl=e.html_url,this.isOutdatedVersion(this.latestVersion,this.currentVersion))))}isOutdatedVersion(e,i){return 1===this.compareVersions(e,i)}compareVersions(e,i){const r=e.split("."),s=i.split("."),o=Math.min(e.length,i.length),a=[],l=[];for(let h=0;hl[h])return 1;if(a[h]-1&&(this.count=i-1),e.subscribe(this._unsubscribeAndRecycle())}}}function fF(){return Lt(uu(n=>void 0!==n,()=>new Error("Session Data Unavailable")),uu(pie,()=>new Error("Session data does not define an 'openPhases' key")),uu(gie,()=>new Error("There are no accessible phases")),uu(mie,()=>new Error("Invalid Open Phases detected")),uu(fie,()=>new Error("Opened Phase has no repo defined")))}function pie(n){return null!=n.openPhases}function mie(n){return n.openPhases.reduce((t,e)=>t&&e in Mn,!0)}function fie(n){return n.openPhases.reduce((t,e)=>t&&!!n[e],!0)}function gie(n){return 0!==n.openPhases.length}class ps{constructor(t,e,i,r){this.labelValue=e,this.labelColor=i,this.labelCategory=t,this.labelDefinition=r}getFormattedName(){return void 0===this.labelCategory||""===this.labelCategory?this.labelValue:this.labelCategory.concat(".",this.labelValue)}equals(t){return this.labelValue===t.labelValue&&this.labelColor===t.labelColor&&this.labelCategory===t.labelCategory}}const z0="ffffff",dm={severity:{VeryLow:new ps("severity","VeryLow","ffe0e0","

    A flaw that is purely cosmetic and does not affect usage. For example,

    • typo issues
    • spacing issues
    • layout issues
    • color issues
    • font issues
    in the docs or the UI that doesn't affect usage.

    "),Low:new ps("severity","Low","ffcccc","

    A flaw that is unlikely to affect normal operations of the product. Appears only in very rare situations and causes a minor inconvenience only.

    "),Medium:new ps("severity","Medium","ff9999","

    A flaw that causes occasional inconvenience to some users but they can continue to use the product.

    "),High:new ps("severity","High","ff6666","

    A flaw that affects most users and causes major problems for users.i.e., makes the product almost unusable for most users.

    ")},type:{DocumentationBug:new ps("type","DocumentationBug","d966ff",'

    A flaw in the documentation e.g., a missing step, a wrong instruction, typos

    '),FeatureFlaw:new ps("type","FeatureFlaw","d966ff","

    Some functionality missing from a feature delivered in the current version in a way that the feature becomes less useful to the intended target user for normal usage. i.e., the feature is not 'complete'.\nIn other words, an acceptance-testing bug that falls within the scope of the current version features. These issues are counted against the product design aspect of the project.

    "),FunctionalityBug:new ps("type","FunctionalityBug","9900cc","

    A functionality does not work as specified/expected.

    ")},response:{Accepted:new ps("response","Accepted","00802b","

    You accept it as a bug.

    "),CannotReproduce:new ps("response","CannotReproduce","ffebcc","

    You are unable to reproduce the behavior reported in the bug after multiple tries.

    "),IssueUnclear:new ps("response","IssueUnclear","ffcc80","

    The issue description is not clear.

    "),NotInScope:new ps("response","NotInScope","ffcc80",'

    It is a valid issue but not something the team should be penalized for e.g., it was not related to features delivered in this version.

    '),Rejected:new ps("response","Rejected","ff9900","

    What tester treated as a bug is in fact the expected behavior (from the user's point of view), or the tester was mistaken in some other way.

    ")},status:{Done:new ps("status","Done","a6a6a6"),Incomplete:new ps("status","Incomplete","000000")},others:{duplicate:new ps(void 0,"duplicate","0066ff")}};class ei{constructor(t,e){this.githubService=t,this.logger=e}static getRequiredLabelsAsArray(t){let e=[];return Object.values(t?this.allLabelArrays:this.testerLabelArrays).map(r=>e=e.concat(r)),e}static updateRequiredLabelColor(t,e){const i=ei.allLabelArrays[e.labelCategory];i&&(i.find(s=>s.labelValue===e.labelValue).labelColor=t)}syncLabels(t){return Lt(ue(()=>this.synchronizeRemoteLabels(t)))}synchronizeRemoteLabels(t){return this.githubService.fetchAllLabels().pipe(ge(e=>e.map(this.toLabel)),ge(e=>(this.ensureRepoHasRequiredLabels(e,ei.getRequiredLabelsAsArray(t)),e)))}getLabelList(t){switch(t){case"severity":return ei.severityLabels;case"type":return ei.typeLabels;case"response":return ei.responseLabels}this.logger.info(`LabelService: Unfiltered Attribute ${t} in getLabelList`)}getLabelTitle(t){switch(t){case"severity":return"Severity";case"type":return"Bug Type";case"response":return"Response"}this.logger.info(`LabelService: Unfiltered Attribute ${t} in getLabelTitle`)}getColorOfLabel(t,e){if(""===e||!ei.allLabelArrays[t])return this.logger.info(`LabelService: Unfiltered Attribute, ${e}: ${t} in getColorOfLabel`),z0;const i=ei.allLabelArrays[t].find(r=>r.labelValue===e);return void 0===i||void 0===i.labelColor?z0:i.labelColor}getLabelDefinition(t,e){if(""===t||null===t||""===e||null===e)return null;const i=ei.getRequiredLabelsAsArray(!0).find(r=>r.labelValue===t&&r.labelCategory===e);return void 0===i||void 0===i.labelDefinition?null:i.labelDefinition}ensureRepoHasRequiredLabels(t,e){e.forEach(i=>{const r=t.filter(s=>s.getFormattedName()===i.getFormattedName());if(0===r.length)this.githubService.createLabel(i.getFormattedName(),i.labelColor);else{if(1!==r.length)throw new Error("Unexpected error: the repo has multiple labels with the same name "+i.getFormattedName());r[0].equals(i)||ei.updateRequiredLabelColor(r[0].labelColor,i)}})}toLabel(t){let e,i;const s=String(t.name);[e,i]=/\./g.test(s)?t.name.split("."):[void 0,s];const o=t.color,a=String(t.description);return new ps(e,i,o,a)}isDarkColor(t){const e="#"===t.charAt(0)?t.substring(1,7):t,a=[parseInt(e.substring(0,2),16)/255,parseInt(e.substring(2,4),16)/255,parseInt(e.substring(4,6),16)/255].map(h=>h<=.03928?h/12.92:Math.pow((h+.055)/1.055,2.4));return.2126*a[0]+.7152*a[1]+.0722*a[2]<.184}setLabelStyle(t,e="inline-flex"){let i;return i=this.isDarkColor(t)?z0:"000000",{"background-color":`#${t}`,"border-radius":"3px",cursor:"default",padding:"3px",color:`#${i}`,"font-weight":"410",display:e}}}ei.severityLabels=Object.values(dm.severity),ei.typeLabels=Object.values(dm.type),ei.responseLabels=Object.values(dm.response),ei.statusLabels=Object.values(dm.status),ei.otherLabels=Object.values(dm.others),ei.allLabelArrays={severity:ei.severityLabels,type:ei.typeLabels,response:ei.responseLabels,status:ei.statusLabels,others:ei.otherLabels},ei.testerLabelArrays={severity:ei.severityLabels,type:ei.typeLabels},ei.\u0275fac=function(t){return new(t||ei)(Se(fr),Se(ts))},ei.\u0275prov=Ee({token:ei,factory:ei.\u0275fac,providedIn:"root"});let Aie=(()=>{class n{constructor(e,i){this.dialogRef=e,this.data=i}ngOnInit(){}}return n.\u0275fac=function(e){return new(e||n)(M(Va),M(ou))},n.\u0275cmp=It({type:n,selectors:[["app-session-fix-confirmation"]],decls:12,vars:4,consts:[["mat-dialog-title",""],["mat-dialog-content",""],["mat-dialog-actions",""],["mat-button","","mat-raised-button","","color","warn",3,"mat-dialog-close"],["mat-button","","mat-raised-button","","color","primary","cdkFocusInitial","",3,"mat-dialog-close"]],template:function(e,i){1&e&&(x(0,"h1",0),De(1),O(),x(2,"div",1)(3,"p"),De(4),O(),x(5,"p"),De(6,"in your Github Account?"),O()(),x(7,"div",2)(8,"button",3),De(9,"No Thanks"),O(),x(10,"button",4),De(11,"Yes"),O()()),2&e&&(B(1),ln("Hi ",i.data.user,""),B(3),ln('Do you want CATcher to create a repository named "',i.data.repoName,'"'),B(4),H("mat-dialog-close",!1),B(2),H("mat-dialog-close",!0))},directives:[au,lu,J_,bi,xO],styles:[""]}),n})(),Pie=(()=>{class n{constructor(e,i,r){this.githubService=e,this.userService=i,this.repoCreationConfirmationDialog=r}requestRepoCreationPermissions(e,i){return Lt(ue(r=>r||e!==Mn.phaseBugReporting?Qt(null):this.openRepoCreationConfirmation(i)))}openRepoCreationConfirmation(e){return this.repoCreationConfirmationDialog.open(Aie,{data:{user:this.userService.currentUser.loginId,repoName:e}}).afterClosed()}verifyRepoCreationPermissions(e){return Lt(wr(i=>{if(null!==i){if(!1===i)throw new Error("You cannot proceed without the required repository.");if(e!==Mn.phaseBugReporting)throw new Error("Current Phase's Repository has not been opened.");if(this.userService.currentUser.role!==An.Student)throw new Error("'Bug-Reporting Phase's repository initialisation is only available to Students.'")}}))}attemptRepoCreation(e){return Lt(ue(i=>null===i?Qt(null):(this.githubService.createRepository(e),new st(r=>{setTimeout(()=>r.next(!0),1e3)}))))}verifyRepoCreation(e,i){return Lt(ue(r=>r?this.githubService.isRepositoryPresent(e,i):Qt(!0)))}}return n.\u0275fac=function(e){return new(e||n)(Se(fr),Se(Cr),Se(qa))},n.\u0275prov=Ee({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const Nie={[Mn.phaseBugReporting]:"Bug Reporting Phase",[Mn.phaseTeamResponse]:"Team's Response Phase",[Mn.phaseTesterResponse]:"Tester's Response Phase",[Mn.phaseModeration]:"Moderation Phase"};let er=(()=>{class n{constructor(e,i,r){this.githubService=e,this.labelService=i,this.repoCreatorService=r,this.phaseRepoOwners={phaseBugReporting:"",phaseTeamResponse:"",phaseTesterResponse:"",phaseModeration:""}}setPhaseOwners(e,i){this.orgName=e,this.phaseRepoOwners.phaseBugReporting=i,this.phaseRepoOwners.phaseTeamResponse=e,this.phaseRepoOwners.phaseTesterResponse=i,this.phaseRepoOwners.phaseModeration=e}getPhaseOwner(e){return this.phaseRepoOwners[e]}fetchSessionData(){return this.githubService.fetchSettingsFile().pipe(ge(e=>e))}storeSessionData(){return this.fetchSessionData().pipe(fF(),ge(e=>{localStorage.setItem("sessionData",JSON.stringify(e)),this.updateSessionParameters(e)}))}setSessionData(){const e=JSON.parse(localStorage.getItem("sessionData"));this.updateSessionParameters(e)}githubRepoPermissionLevel(){return this.sessionData.openPhases.includes(Mn.phaseModeration)?"repo":"public_repo"}verifySessionAvailability(e){return this.githubService.isRepositoryPresent(this.phaseRepoOwners[this.currentPhase],e[this.currentPhase])}updateSessionParameters(e){this.sessionData=e,this.currentPhase=Mn[e.openPhases[0]],this.repoName=e[e.openPhases[0]],this.githubService.storePhaseDetails(this.phaseRepoOwners[this.currentPhase],this.repoName)}sessionSetup(){let e=!1;return this.fetchSessionData().pipe(fF(),ue(r=>(this.updateSessionParameters(r),this.verifySessionAvailability(r))),this.repoCreatorService.requestRepoCreationPermissions(this.currentPhase,this.sessionData[this.currentPhase]),Lt(wr(r=>{e=r||!1})),this.repoCreatorService.verifyRepoCreationPermissions(this.currentPhase),this.repoCreatorService.attemptRepoCreation(this.sessionData[this.currentPhase]),this.repoCreatorService.verifyRepoCreation(this.getPhaseOwner(this.currentPhase),this.sessionData[this.currentPhase]),uu(r=>r,()=>new Error("Session Availability Fix failed.")),this.labelService.syncLabels(this.isTeamOrModerationPhase()),function sie(n=-1){return t=>t.lift(new oie(n,t))}(1))}isTeamOrModerationPhase(){return this.currentPhase===Mn.phaseTeamResponse||this.currentPhase===Mn.phaseModeration}getPhaseDetail(){return this.orgName.concat("/").concat(this.repoName)}isValidRoute(e){return e.startsWith("/"+this.currentPhase)}reset(){this.currentPhase=null}}return n.\u0275fac=function(e){return new(e||n)(Se(fr),Se(ei),Se(Pie))},n.\u0275prov=Ee({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),Di=(()=>{class n{constructor(e,i,r,s,o){this.githubService=e,this.userService=i,this.phaseService=r,this.dataService=s,this.logger=o,this.issueTeamFilter="All Teams",this.isLoading=new xi(!1),this.issues$=new xi(new Array)}startPollIssues(){void 0===this.issuesPollSubscription&&(0===this.issues$.getValue().length&&this.isLoading.next(!0),this.issuesPollSubscription=M_(0,n.POLL_INTERVAL).pipe(L0(()=>this.reloadAllIssues().pipe(Ni(()=>xa),Ia(()=>this.isLoading.next(!1))))).subscribe())}stopPollIssues(){this.issuesPollSubscription&&(this.issuesPollSubscription.unsubscribe(),this.issuesPollSubscription=void 0)}pollIssue(e){return M_(0,n.POLL_INTERVAL).pipe(L0(()=>this.githubService.fetchIssueGraphql(e).pipe(ge(i=>{const r=this.createIssueModel(i);return this.updateLocalStore(r),r}),Ni(i=>this.getIssue(e)))))}reloadAllIssues(){return this.initializeData()}getIssue(e){return void 0===this.issues?this.getLatestIssue(e):Qt(this.issues[e])}getLatestIssue(e){return this.githubService.fetchIssueGraphql(e).pipe(ge(i=>(this.createAndSaveIssueModel(i),this.issues[e])),Ni(i=>Qt(this.issues[e])))}createIssue(e,i,r,s){const o=[this.createLabel("severity",r),this.createLabel("type",s)],h=O0.embedDataIntoString(i,new Map([["session",this.sessionId],["Version",`Desktop v${mF}`]]));return this.githubService.createIssue(e,h,o).pipe(ge(f=>this.createIssueModel(f)))}updateIssue(e){return this.updateGithubIssue(e).pipe(ge(i=>(i.comments=e.githubComments,this.createIssueModel(i))))}updateGithubIssue(e){const i=this.phaseService.currentPhase===Mn.phaseModeration?[]:e.assignees;return this.githubService.updateIssue(e.id,e.title,this.createGithubIssueDescription(e),this.createLabelsForIssue(e),i).pipe(Ni(r=>this.parseUpdateIssueResponseError(r)))}updateIssueWithComment(e,i){return this.githubService.updateIssueComment(i).pipe(ue(r=>(e.githubComments=[r,...e.githubComments.filter(s=>s.id!==r.id)],this.updateIssue(e))))}updateTesterResponse(e,i){const s=this.issues[e.id].testerResponses?this.githubService.updateIssueComment(i):this.githubService.createIssueComment(e.id,i.description),o=e.clone(this.phaseService.currentPhase);return o.status=Ys.Done,Oa([s,this.updateIssue(o)]).pipe(ge(a=>{const[l,h]=a;return h.updateTesterResponse(l),h}))}updateTutorResponse(e,i){return Oa([this.githubService.updateIssueComment(i),this.updateIssue(e)]).pipe(ge(r=>{const[s,o]=r;return o.updateDispute(s),o}))}createTeamResponse(e){const i=e.createGithubTeamResponse();return this.updateGithubIssue(e).pipe(ue(r=>this.githubService.createIssueComment(e.id,i).pipe(ge(s=>(e.githubComments=[s,...e.githubComments.filter(o=>o.id!==s.id)],r.comments=e.githubComments,this.createIssueModel(r))))))}createTutorResponse(e,i){return Oa([this.githubService.createIssueComment(e.id,i),this.updateIssue(e)]).pipe(ge(r=>{const[s,o]=r;return o.updateDispute(s),o}))}createGithubIssueDescription(e){return this.phaseService.currentPhase===Mn.phaseModeration?`# Issue Description\n${e.createGithubIssueDescription()}\n# Team's Response\n${e.teamResponse}\n # Disputes\n\n${this.getIssueDisputeString(e.issueDisputes)}\n`:e.createGithubIssueDescription()}getIssueDisputeString(e){let i="";for(const r of e)i+=r.toString();return i}deleteIssue(e){return this.githubService.closeIssue(e).pipe(ge(i=>{const r=this.createIssueModel(i);return this.deleteFromLocalStore(r),r}))}undeleteIssue(e){return this.githubService.reopenIssue(e).pipe(ge(i=>{const r=this.createIssueModel(i);return this.updateLocalStore(r),r}))}deleteFromLocalStore(e){const r=e.id,o=(0,lm._T)(this.issues,["symbol"==typeof r?r:r+""]);this.issues=o,this.issues$.next(Object.values(this.issues))}updateLocalStore(e){this.issues=Object.assign(Object.assign({},this.issues),{[e.id]:e}),this.issues$.next(Object.values(this.issues))}hasTeamResponse(e){return!!this.issues[e].teamResponse}getDuplicateIssuesFor(e){return this.issues$.pipe(ge(i=>i.filter(r=>r.duplicateOf===e.id)))}reset(e){e&&(this.sessionId=void 0),this.issues=void 0,this.issues$.next(new Array),this.stopPollIssues(),this.isLoading.complete(),this.isLoading=new xi(!1)}initializeData(){const e=[];switch(U0[this.phaseService.currentPhase][this.userService.currentUser.role]){case Ji.FilterByCreator:e.push(this.githubService.fetchIssuesGraphql(new fy({creator:this.userService.currentUser.loginId})));break;case Ji.FilterByTeam:e.push(this.githubService.fetchIssuesGraphqlByTeam(this.createLabel("tutorial",this.userService.currentUser.team.tutorialClassId),this.createLabel("team",this.userService.currentUser.team.teamId),new fy({})));break;case Ji.FilterByTeamAssigned:this.userService.currentUser.allocatedTeams.forEach(r=>{e.push(this.githubService.fetchIssuesGraphqlByTeam(this.createLabel("tutorial",r.tutorialClassId),this.createLabel("team",r.teamId),new fy({})))});break;case Ji.NoFilter:e.push(this.githubService.fetchIssuesGraphql(new fy({})));break;default:return Qt([])}return Oa(e).pipe(ge(i=>{const r=[];for(const o of i)for(const a of o)r.push(this.createIssueModel(a).id),this.createAndSaveIssueModel(a);const s=this.getOutdatedIssueIds(r);return this.deleteIssuesFromLocalStore(s),Object.values(this.issues)}))}createAndSaveIssueModel(e){const i=this.createIssueModel(e);return this.updateLocalStore(i),!0}deleteIssuesFromLocalStore(e){e.forEach(i=>{this.getIssue(i).subscribe(r=>this.deleteFromLocalStore(r))})}getOutdatedIssueIds(e){if(void 0===this.issues||!e.length)return[];const i=new Set(e);return Object.keys(this.issues).map(s=>+s).filter(s=>!i.has(s))}createLabelsForIssue(e){const i=[];if(this.phaseService.currentPhase!==Mn.phaseBugReporting&&this.phaseService.currentPhase!==Mn.phaseTesterResponse){const r=e.teamAssigned.id.split("-");i.push(this.createLabel("tutorial",`${r[0]}-${r[1]}`),this.createLabel("team",r[2]))}return e.severity&&i.push(this.createLabel("severity",e.severity)),e.type&&i.push(this.createLabel("type",e.type)),e.response&&i.push(this.createLabel("response",e.response)),e.duplicated&&i.push("duplicate"),e.status&&i.push(this.createLabel("status",e.status)),e.pending&&+e.pending>0&&i.push(this.createLabel("pending",e.pending)),e.unsure&&i.push("unsure"),i}createLabel(e,i){return`${e}.${i}`}extractTeamIdFromGithubIssue(e){return e.findLabel(Cs.LABELS.tutorial).concat("-").concat(e.findLabel(Cs.LABELS.team))}createIssueModel(e){let i;switch(this.phaseService.currentPhase){case Mn.phaseBugReporting:i=ji.createPhaseBugReportingIssue(e);break;case Mn.phaseTeamResponse:i=ji.createPhaseTeamResponseIssue(e,this.dataService.getTeam(this.extractTeamIdFromGithubIssue(e)));break;case Mn.phaseTesterResponse:i=ji.createPhaseTesterResponseIssue(e);break;case Mn.phaseModeration:i=ji.createPhaseModerationIssue(e,this.dataService.getTeam(this.extractTeamIdFromGithubIssue(e)));break;default:return}return i.parseError&&this.logger.error("IssueService: "+i.parseError),i}parseUpdateIssueResponseError(e){if(this.logger.error("IssueService: ",e),422!==e.code||!e.hasOwnProperty("message"))return Qi(e.response.data.message);const s=e.message.substring("Validation Failed:".length),o=JSON.parse(s);return["field","code","value"].every(h=>o.hasOwnProperty(h))&&"assignees"===o.field&&"invalid"===o.code?Qi(`Assignee ${o.value} has not joined your organization yet. Please remove them from the assignees list.`):Qi(e.response.data.message)}setIssueTeamFilter(e){e&&(this.issueTeamFilter=e)}setSessionId(e){this.sessionId=e}getIssueTeamFilter(){return this.issueTeamFilter}}return n.POLL_INTERVAL=5e3,n.\u0275fac=function(e){return new(e||n)(Se(fr),Se(Cr),Se(er),Se(Li),Se(ts))},n.\u0275prov=Ee({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),hm=(()=>{class n{constructor(e,i){this.githubService=e,this.issueService=i}setLatestChangeEvent(){return this.githubService.fetchEventsForRepo().pipe(ge(e=>(0===e.length||(this.setLastModifiedTime(e[0].created_at),this.setLastModifiedCommentTime(e[0].issue.updated_at)),e)))}reloadPage(){return this.githubService.fetchEventsForRepo().pipe(ue(e=>{if(0===e.length)return Qt(!1);const i=e[0];return i.created_at!==this.lastModified||i.issue.updated_at!==this.lastModifiedComment?(this.setLastModifiedTime(i.created_at),this.setLastModifiedCommentTime(i.issue.updated_at),this.issueService.reloadAllIssues().pipe(ge(r=>!0))):Qt(!1)}))}setLastModifiedTime(e){this.lastModified=e}setLastModifiedCommentTime(e){this.lastModifiedComment=e}reset(){this.setLastModifiedTime(void 0),this.setLastModifiedCommentTime(void 0)}}return n.\u0275fac=function(e){return new(e||n)(Se(fr),Se(Di))},n.\u0275prov=Ee({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();var Vr=(()=>(function(n){n[n.NotAuthenticated=0]="NotAuthenticated",n[n.AwaitingAuthentication=1]="AwaitingAuthentication",n[n.ConfirmOAuthUser=2]="ConfirmOAuthUser",n[n.Authenticated=3]="Authenticated"}(Vr||(Vr={})),Vr))();let uc=(()=>{class n{constructor(e,i,r,s,o,a,l,h,f,D){this.router=e,this.ngZone=i,this.githubService=r,this.userService=s,this.issueService=o,this.phaseService=a,this.dataService=l,this.githubEventService=h,this.titleService=f,this.logger=D,this.authStateSource=new xi(Vr.NotAuthenticated),this.currentAuthState=this.authStateSource.asObservable(),this.accessToken=new xi(void 0),this.ENABLE_POPUP_MESSAGE="Please enable pop-ups in your browser"}storeNext(e){sessionStorage.setItem(n.SESSION_NEXT_KEY,e.url)}getNext(){return sessionStorage.getItem(n.SESSION_NEXT_KEY)}clearNext(){sessionStorage.removeItem(n.SESSION_NEXT_KEY)}storeOAuthAccessToken(e){this.githubService.storeOAuthAccessToken(e),this.accessToken.next(e)}reset(){this.logger.info("AuthService: Clearing access token and setting AuthState to NotAuthenticated."),this.accessToken.next(void 0),this.changeAuthState(Vr.NotAuthenticated),this.ngZone.run(()=>this.router.navigate([""]))}logOut(){this.githubService.reset(),this.userService.reset(),this.issueService.reset(!0),this.phaseService.reset(),this.dataService.reset(),this.githubEventService.reset(),this.logger.reset(),this.setLandingPageTitle(),this.issueService.setIssueTeamFilter("All Teams"),this.reset()}setTitleWithPhaseDetail(){const e=w(4147),i=`${e.name} ${e.version} - ${this.phaseService.getPhaseDetail()}`;this.logger.info(`AuthService: Setting Title as ${i}`),this.titleService.setTitle(i)}setLandingPageTitle(){const e=w(4147),i=`${e.name} ${e.version}`;this.logger.info(`AuthService: Setting LandingPageTitle as ${i}`),this.titleService.setTitle(i)}isAuthenticated(){return this.authStateSource.getValue()===Vr.Authenticated}changeAuthState(e){if(e===Vr.Authenticated){const i=function Ete(){return`${Date.now()}-${uy()}`}();this.issueService.setSessionId(i),this.logger.info(`AuthService: Successfully authenticated with session: ${i}`)}this.authStateSource.next(e)}generateStateString(){this.state=uy(),sessionStorage.setItem("state",this.state)}isReturnedStateSame(e){return e===sessionStorage.getItem("state")}startOAuthProcess(){this.logger.info("AuthService: Starting authentication");const e=this.phaseService.githubRepoPermissionLevel();this.changeAuthState(Vr.AwaitingAuthentication),this.generateStateString(),this.redirectToOAuthPage(encodeURI(`${js.githubUrl}/login/oauth/authorize?client_id=${js.clientId}&scope=${e},read:user&state=${this.state}`)),this.logger.info("AuthService: Redirecting for Github authentication")}redirectToOAuthPage(e){null!=e&&(window.location.href=e)}navigateToLandingPage(){const e=this.getNext();e&&this.phaseService.isValidRoute(e)?this.router.navigateByUrl(e):this.router.navigateByUrl(this.phaseService.currentPhase)}}return n.SESSION_NEXT_KEY="next",n.\u0275fac=function(e){return new(e||n)(Se(Xi),Se(yn),Se(fr),Se(Cr),Se(Di),Se(er),Se(Li),Se(hm),Se(eg),Se(ts))},n.\u0275prov=Ee({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const jie={profileName:{required:!0,validate:n=>!!n},repoName:{required:!0,validate:n=>!!n.match(/\w+\/\w+/g)}},AF=n=>((n,t)=>Object.entries(t).every(([e,i])=>!i.required||e in n&&i.validate(n[e])))(n,jie),RF=new Error("profiles.json is malformed");let Yie=(()=>{class n{constructor(e){this.githubService=e}fetchExternalProfiles(){return this.githubService.getProfilesData().then(e=>e.json()).then(e=>e.profiles||[]).then(e=>(this.validateProfiles(e),e))}validateProfiles(e){if(!e.every(AF))throw RF}}return n.\u0275fac=function(e){return new(e||n)(Se(fr))},n.\u0275prov=Ee({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),Hie=(()=>{class n{constructor(e){this.dialogRef=e}ngOnInit(){}onClick(){this.dialogRef.close()}}return n.\u0275fac=function(e){return new(e||n)(M(Va))},n.\u0275cmp=It({type:n,selectors:[["app-json-parse-error-dialog"]],decls:14,vars:0,consts:[["mat-dialog-title",""],["mat-dialog-content",""],["align","center",2,"max-width","390px"],["mat-dialog-actions","","align","center"],["mat-raised-button","","color","primary",3,"click"]],template:function(e,i){1&e&&(x(0,"h1",0),De(1,'Error in "profiles.json" format'),O(),x(2,"div",1)(3,"p",2),De(4,' The format of the "profiles.json" file is not as required. You might not have included '),x(5,"code"),De(6,"profileName"),O(),De(7," and "),x(8,"code"),De(9,"repoName"),O(),De(10," keys. Please refer to our User Guide for the correct format. "),O()(),x(11,"div",3)(12,"button",4),Je("click",function(){return i.onClick()}),De(13,"Ok"),O()())},directives:[au,lu,J_,bi],styles:[""]}),n})();function Vie(n,t){if(1&n){const e=an();x(0,"mat-option",7),Je("click",function(){const s=Ut(e).$implicit;return Te().selectProfile(s)}),De(1),O()}if(2&n){const e=t.$implicit;H("value",e.profileName),B(1),vi(e.profileName)}}let qie=(()=>{class n{constructor(e,i,r){this.errorDialog=e,this.profileService=i,this.errorHandlingService=r,this.ANIMATION_DURATION=250,this.profiles=[],this.blankProfile={profileName:"",repoName:""},this.animationActivated=!1,this.selectedProfile=this.blankProfile,this.selectedProfileEmitter=new jt,this.profilesData={isDirectoryMessageVisible:!1,fileName:null,fileDirectory:null}}ngOnInit(){this.initProfiles()}fileSelectorInitiation(e){this.animationActivated=!0,setTimeout(()=>{this.animationActivated=!1,e.click()},this.ANIMATION_DURATION)}fileSelected(e){const i=e.target,r=i.files[0],s=new FileReader;s.onload=()=>{if(!(s.result instanceof ArrayBuffer))try{const{profiles:o}=JSON.parse(s.result);this.profileService.validateProfiles(o),this.profiles=o.concat(this.profiles).filter(a=>!!a),i.value=""}catch(o){this.openErrorDialog()}},s.readAsText(r)}initProfiles(){this.profileService.fetchExternalProfiles().then(e=>{this.profiles=this.profiles.concat(e).filter(i=>!!i)}).then(()=>this.setUrlEncodedProfile(this.profiles)).catch(e=>{e===RF?this.openErrorDialog():this.errorHandlingService.handleError(e)})}openErrorDialog(){this.errorDialog.open(Hie)}selectProfile(e){e===this.blankProfile||AF(e)?this.selectedProfileEmitter.emit(e):this.openErrorDialog()}setUrlEncodedProfile(e){if(!this.urlEncodedSessionName)return;const i=e.find(r=>r.profileName===this.urlEncodedSessionName);i?(this.selectedProfile.profileName=this.urlEncodedSessionName,this.selectProfile(i)):this.errorHandlingService.handleError(new Error("Invalid URL provided session"))}}return n.\u0275fac=function(e){return new(e||n)(M(qa),M(Yie),M(Gi))},n.\u0275cmp=It({type:n,selectors:[["app-profiles"]],inputs:{urlEncodedSessionName:"urlEncodedSessionName"},outputs:{selectedProfileEmitter:"selectedProfileEmitter"},decls:12,vars:3,consts:[[1,"profile-field"],[3,"value"],[3,"click"],[3,"value","click",4,"ngFor","ngForOf"],["type","file","accept",".json",2,"display","none",3,"change"],["fileInput",""],["type","button","mat-icon-button","","disableRipple","true","matTooltip","Configure your custom settings",1,"profile-input",3,"click","mousedown","mouseleave"],[3,"value","click"]],template:function(e,i){if(1&e){const r=an();x(0,"mat-form-field",0)(1,"mat-label"),De(2,"Select Session"),O(),x(3,"mat-select",1)(4,"mat-option",2),Je("click",function(){return i.selectProfile(i.blankProfile)}),De(5,"None"),O(),Ae(6,Vie,2,2,"mat-option",3),O()(),x(7,"input",4,5),Je("change",function(o){return i.fileSelected(o)}),O(),x(9,"button",6),Je("click",function(){Ut(r);const o=ki(8);return i.fileSelectorInitiation(o)})("mousedown",function(){return i.animationActivated=!0})("mouseleave",function(){return i.animationActivated=!1}),x(10,"mat-icon"),De(11,"folder_open"),O()()}2&e&&(B(3),H("value",i.selectedProfile.profileName),B(3),H("ngForOf",i.profiles),B(4),H("@triggerFileInput",i.animationActivated?"pressed":"normal"))},directives:[Er,U_,ko,sa,Br,bi,gl,hs],styles:[".profile-field[_ngcontent-%COMP%]{width:90%}.profile-input[_ngcontent-%COMP%]{width:10%;text-align:right}"],data:{animation:[Ki("triggerFileInput",[qn("normal",cn({})),qn("pressed",cn({color:"orange"})),Zn("normal => pressed",[ti("0.25s ease")]),Zn("pressed => normal",[ti("0.25s ease")])])]}}),n})();function Uie(n,t){if(1&n&&(x(0,"button",9)(1,"div"),De(2,"Submit"),O()()),2&n){const e=Te();H("disabled",e.profileForm.invalid||e.isSettingUpSession)}}function zie(n,t){1&n&&(x(0,"div",10),bt(1,"mat-spinner",11),O()),2&n&&(B(1),H("diameter",47))}let Gie=(()=>{class n{constructor(e,i,r,s,o,a){this.formBuilder=e,this.logger=i,this.githubService=r,this.phaseService=s,this.authService=o,this.errorHandlingService=a,this.sessionEmitter=new jt}ngOnInit(){this.isSettingUpSession=!1,this.initProfileForm()}onProfileSelect(e){this.profileForm.get("session").setValue(e.repoName),this.sessionEmitter.emit(e.repoName)}setupSession(){if(this.profileForm.invalid)return;this.isSettingUpSession=!0;const e=this.profileForm.get("session").value,i=this.getOrgDetails(e),r=this.getDataRepoDetails(e);window.localStorage.setItem("org",i),window.localStorage.setItem("dataRepo",r),this.githubService.storeOrganizationDetails(i,r),this.logger.info(`SessionSelectionComponent: Selected Settings Repo: ${e}`),this.phaseService.storeSessionData().subscribe(()=>{try{this.authService.startOAuthProcess()}catch(s){this.errorHandlingService.handleError(s),this.authService.changeAuthState(Vr.NotAuthenticated)}},s=>{this.errorHandlingService.handleError(s),this.isSettingUpSession=!1},()=>this.isSettingUpSession=!1)}getOrgDetails(e){return e.split("/")[0]}getDataRepoDetails(e){return e.split("/")[1]}initProfileForm(){this.profileForm=this.formBuilder.group({session:["",Mr.required]})}}return n.\u0275fac=function(e){return new(e||n)(M(tc),M(ts),M(fr),M(er),M(uc),M(Gi))},n.\u0275cmp=It({type:n,selectors:[["app-session-selection"]],inputs:{urlEncodedSessionName:"urlEncodedSessionName"},outputs:{sessionEmitter:"sessionEmitter"},decls:12,vars:4,consts:[[1,"login-card"],[2,"margin-bottom","20px"],[1,"login-title"],[3,"formGroup","ngSubmit"],[1,"login-field",3,"urlEncodedSessionName","selectedProfileEmitter"],[1,"login-field"],["matInput","","placeholder","Settings Location (Org/Repo)","formControlName","session","required",""],["class","sign-in-button","type","submit","mat-stroked-button","","color","primary",3,"disabled",4,"ngIf"],["class","spinner-centralize",4,"ngIf"],["type","submit","mat-stroked-button","","color","primary",1,"sign-in-button",3,"disabled"],[1,"spinner-centralize"],[3,"diameter"]],template:function(e,i){1&e&&(x(0,"mat-card",0)(1,"mat-card-header",1)(2,"mat-card-title",2),De(3," Select Your Session "),O()(),x(4,"form",3),Je("ngSubmit",function(){return i.setupSession()}),x(5,"app-profiles",4),Je("selectedProfileEmitter",function(s){return i.onProfileSelect(s)}),O(),x(6,"mat-card-content")(7,"mat-form-field",5),bt(8,"input",6),O(),x(9,"mat-card-actions"),Ae(10,Uie,3,1,"button",7),Ae(11,zie,2,1,"div",8),O()()()()),2&e&&(B(4),H("formGroup",i.profileForm),B(1),H("urlEncodedSessionName",i.urlEncodedSessionName),B(5),H("ngIf",!i.isSettingUpSession),B(1),H("ngIf",i.isSettingUpSession))},directives:[a0,oO,sO,ta,Jo,ds,qie,TQ,Er,io,Xl,Co,Pa,tu,kQ,ai,bi,Es],styles:[".login-field[_ngcontent-%COMP%]{width:100%}.sign-in-button[_ngcontent-%COMP%]{background:#f7fcfe;line-height:45px;border:1px solid currentColor;width:100%}",".login-page[_ngcontent-%COMP%]{flex-direction:row;box-sizing:border-box;display:flex;place-content:center;align-items:center;height:100%;min-height:87.9vh} .mat-card-header-text{margin:0;width:100%;text-align:center}.login-title[_ngcontent-%COMP%]{font-size:30px}.login-card[_ngcontent-%COMP%]{text-align:center;padding:40px 70px 50px}.spinner-centralize[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center}.or-text[_ngcontent-%COMP%]{color:#9e9e9e;text-align:center;font-size:1.25rem;font-weight:500;line-height:1.6;letter-spacing:.0075em;margin:10px}.login-with-oauth-btn[_ngcontent-%COMP%]{width:100%}.hover-blue[_ngcontent-%COMP%]:hover{background:#f7fcfe}.secondary-header-title[_ngcontent-%COMP%]{font-size:25px;float:left;margin-bottom:15px}.link[_ngcontent-%COMP%]{color:#24292e;font-weight:400;font-size:14px}.link[_ngcontent-%COMP%]:hover{color:#3f51b5;cursor:pointer}.centralize[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center}.error-text[_ngcontent-%COMP%]{font-size:30px;font-weight:500;text-align:center}"]}),n})(),$ie=(()=>{class n{constructor(e,i,r,s,o,a,l){this.authService=e,this.phaseService=i,this.userService=r,this.errorHandlingService=s,this.githubEventService=o,this.logger=a,this.router=l}ngOnInit(){}onGithubWebsiteClicked(){window.open("https://github.com/","_blank"),window.location.reload()}logIntoAnotherAccount(){this.logger.info("ConfirmLoginComponent: Logging into another account"),this.authService.startOAuthProcess()}handleAuthSuccess(){this.authService.setTitleWithPhaseDetail(),this.authService.changeAuthState(Vr.Authenticated),this.authService.navigateToLandingPage()}completeLoginProcess(){this.authService.changeAuthState(Vr.AwaitingAuthentication),this.phaseService.setPhaseOwners(this.currentSessionOrg,this.username),this.userService.createUserModel(this.username).pipe(ue(()=>this.phaseService.sessionSetup()),ue(()=>this.githubEventService.setLatestChangeEvent())).subscribe(()=>{this.handleAuthSuccess()},e=>{this.authService.changeAuthState(Vr.NotAuthenticated),this.errorHandlingService.handleError(e),this.logger.info(`ConfirmLoginComponent: Completion of login process failed with an error: ${e}`)})}}return n.\u0275fac=function(e){return new(e||n)(M(uc),M(er),M(Cr),M(Gi),M(hm),M(ts),M(Xi))},n.\u0275cmp=It({type:n,selectors:[["app-auth-confirm-login"]],inputs:{username:"username",currentSessionOrg:"currentSessionOrg"},decls:10,vars:1,consts:[["mat-stroked-button","","color","primary",1,"sign-in-button",3,"click"],[1,"logo"],["src","./assets/images/github-logo.png","alt","github-logo",1,"github-logo"],[1,"mat-body-1",2,"margin-top","20px"],["href","https://github.com/",3,"click"]],template:function(e,i){1&e&&(x(0,"button",0),Je("click",function(){return i.completeLoginProcess()}),x(1,"span",1),bt(2,"img",2),O(),x(3,"span"),De(4),O()(),x(5,"div",3),De(6," To change account, please sign into the desired account from the "),x(7,"a",4),Je("click",function(){return i.onGithubWebsiteClicked()}),De(8,"official Github website"),O(),De(9,".\n"),O()),2&e&&(B(4),ln(" Continue as ",i.username," "))},directives:[bi],styles:[".sign-in-button[_ngcontent-%COMP%]{background:#f7fcfe;line-height:45px;border:1px solid currentColor;width:100%}.logo[_ngcontent-%COMP%]{align-items:center;display:inline-flex;margin:0 3px 3px}.github-logo[_ngcontent-%COMP%]{font-size:20px;width:20px;height:20px}"]}),n})();function Wie(n,t){if(1&n&&(x(0,"div",1),bt(1,"app-session-selection",2),O()),2&n){const e=Te();B(1),H("urlEncodedSessionName",e.urlEncodedSessionName)}}function Qie(n,t){if(1&n&&(x(0,"div"),bt(1,"app-auth-confirm-login",10),O()),2&n){const e=Te(2);B(1),H("username",e.currentUserName)("currentSessionOrg",e.currentSessionOrg)}}function Kie(n,t){1&n&&(x(0,"div",11),bt(1,"mat-spinner",12),O()),2&n&&(B(1),H("diameter",47))}function Zie(n,t){if(1&n){const e=an();x(0,"div",1)(1,"mat-card",3)(2,"mat-card-header",4)(3,"mat-card-title",5),De(4," Confirm Login Account "),O(),x(5,"mat-card-subtitle"),De(6),O()(),x(7,"div",6)(8,"button",7),Je("click",function(){return Ut(e),Te().goToSessionSelect()}),x(9,"mat-icon"),De(10,"arrow_back_ios"),O()()(),Ae(11,Qie,2,2,"div",8),Ae(12,Kie,2,1,"div",9),O()()}if(2&n){const e=Te();B(6),ln(" Session on ",e.currentSessionOrg," "),B(2),H("disabled",e.isUserAuthenticating()),B(3),H("ngIf",!e.isUserAuthenticating()),B(1),H("ngIf",e.isUserAuthenticating())}}const Jie=[{path:"",component:(()=>{class n{constructor(e,i,r,s,o,a,l,h,f,D){this.appService=e,this.githubService=i,this.authService=r,this.userService=s,this.errorHandlingService=o,this.router=a,this.phaseService=l,this.ngZone=h,this.activatedRoute=f,this.logger=D}ngOnInit(){this.logger.startSession();const e=this.activatedRoute.snapshot.queryParamMap.get("code"),i=this.activatedRoute.snapshot.queryParamMap.get("state");this.authService.isAuthenticated()?this.router.navigate([this.phaseService.currentPhase]):(this.initAccessTokenSubscription(),this.initAuthStateSubscription(),this.createProfileFromUrlQueryParams(),e&&(this.authService.changeAuthState(Vr.AwaitingAuthentication),this.restoreOrgDetailsFromLocalStorage(),this.logger.info("AuthComponent: Obtained authorisation code from Github"),this.fetchAccessToken(e,i)))}fetchAccessToken(e,i){this.authService.isReturnedStateSame(i)?(this.logger.info("AuthComponent: Retrieving access token from Github"),fetch(`${js.accessTokenUrl}/${e}/client_id/${js.clientId}`).then(s=>s.json()).then(s=>{if(s.error)throw new Error(s.error);this.authService.storeOAuthAccessToken(s.token),this.logger.info("AuthComponent: Sucessfully obtained access token")}).catch(s=>{this.logger.info(`AuthComponent: Error in data fetched from access token URL: ${s}`),this.errorHandlingService.handleError(s),this.authService.changeAuthState(Vr.NotAuthenticated)})):this.logger.info(`AuthComponent: Received incorrect state ${i}, continue waiting for correct state`)}ngOnDestroy(){this.authStateSubscription&&this.authStateSubscription.unsubscribe(),this.accessTokenSubscription&&this.accessTokenSubscription.unsubscribe()}checkAppIsOutdated(){return this.appService.isApplicationOutdated().pipe(ge(e=>{if(e)throw new Error("Please update to the latest version of CATcher.")}))}updateSession(e){this.sessionInformation=e}goToSessionSelect(){this.authService.changeAuthState(Vr.NotAuthenticated)}isUserNotAuthenticated(){return this.authState===Vr.NotAuthenticated}isUserAuthenticating(){return this.authState===Vr.AwaitingAuthentication}isAwaitingOAuthUserConfirm(){return this.authState===Vr.ConfirmOAuthUser}get currentSessionOrg(){return this.sessionInformation?this.getOrgDetails(this.sessionInformation):window.localStorage.getItem("org")}restoreOrgDetailsFromLocalStorage(){const e=window.localStorage.getItem("org"),i=window.localStorage.getItem("dataRepo");this.githubService.storeOrganizationDetails(e,i),this.phaseService.setSessionData()}getOrgDetails(e){return e.split("/")[0]}initAuthStateSubscription(){this.authStateSubscription=this.authService.currentAuthState.subscribe(e=>{this.ngZone.run(()=>{this.authState=e})})}initAccessTokenSubscription(){this.accessTokenSubscription=this.authService.accessToken.pipe(hi(e=>!!e),ue(()=>this.userService.getAuthenticatedUser())).subscribe(e=>{this.ngZone.run(()=>{this.currentUserName=e.login,this.authService.changeAuthState(Vr.ConfirmOAuthUser)})})}createProfileFromUrlQueryParams(){const e=this.activatedRoute.snapshot.queryParamMap;e.has("session")&&(this.urlEncodedSessionName=e.get("session"))}}return n.\u0275fac=function(e){return new(e||n)(M(rie),M(fr),M(uc),M(Cr),M(Gi),M(Xi),M(er),M(yn),M(Zo),M(ts))},n.\u0275cmp=It({type:n,selectors:[["app-auth"]],decls:2,vars:2,consts:[["class","login-page",4,"ngIf"],[1,"login-page"],[3,"urlEncodedSessionName"],[1,"login-card"],[2,"margin-bottom","20px"],[1,"login-title"],[2,"position","absolute","top","15px","left","15px"],["mat-icon-button","",1,"mat-primary",3,"disabled","click"],[4,"ngIf"],["class","spinner-centralize",4,"ngIf"],[3,"username","currentSessionOrg"],[1,"spinner-centralize"],[3,"diameter"]],template:function(e,i){1&e&&(Ae(0,Wie,2,1,"div",0),Ae(1,Zie,13,4,"div",0)),2&e&&(H("ngIf",i.isUserNotAuthenticated()),B(1),H("ngIf",i.isUserAuthenticating()||i.isAwaitingOAuthUserConfirm()))},directives:[ai,Gie,a0,oO,sO,SQ,bi,hs,$ie,Es],styles:[".login-page[_ngcontent-%COMP%]{flex-direction:row;box-sizing:border-box;display:flex;place-content:center;align-items:center;height:100%;min-height:87.9vh} .mat-card-header-text{margin:0;width:100%;text-align:center}.login-title[_ngcontent-%COMP%]{font-size:30px}.login-card[_ngcontent-%COMP%]{text-align:center;padding:40px 70px 50px}.spinner-centralize[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center}.or-text[_ngcontent-%COMP%]{color:#9e9e9e;text-align:center;font-size:1.25rem;font-weight:500;line-height:1.6;letter-spacing:.0075em;margin:10px}.login-with-oauth-btn[_ngcontent-%COMP%]{width:100%}.hover-blue[_ngcontent-%COMP%]:hover{background:#f7fcfe}.secondary-header-title[_ngcontent-%COMP%]{font-size:25px;float:left;margin-bottom:15px}.link[_ngcontent-%COMP%]{color:#24292e;font-weight:400;font-size:14px}.link[_ngcontent-%COMP%]:hover{color:#3f51b5;cursor:pointer}.centralize[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center}.error-text[_ngcontent-%COMP%]{font-size:30px;font-weight:500;text-align:center}"]}),n})()}];let ere=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Yt({type:n}),n.\u0275inj=He({imports:[[ws.forChild(Jie)],ws]}),n})(),LF=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Yt({type:n}),n.\u0275inj=He({imports:[[ere,Bs,di]]}),n})(),ro=(()=>{class n{constructor(e,i){this.auth=e,this.router=i}canActivate(e,i){return this.auth.isAuthenticated()?(this.auth.clearNext(),!0):(this.auth.storeNext(i),this.router.navigate([""]),!1)}canLoad(e,i){return!!this.auth.isAuthenticated()||(this.router.navigate([""]),!1)}}return n.\u0275fac=function(e){return new(e||n)(Se(uc),Se(Xi))},n.\u0275prov=Ee({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),_l=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Yt({type:n}),n.\u0275inj=He({imports:[[Bs,Do.forChild()]]}),n})(),yy=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Yt({type:n}),n.\u0275inj=He({imports:[[di,am,ws]]}),n})();function tr(n,t,e,i){var o,r=arguments.length,s=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,e):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(n,t,e,i);else for(var a=n.length-1;a>=0;a--)(o=n[a])&&(s=(r<3?o(s):r>3?o(t,e,s):o(t,e))||s);return r>3&&s&&Object.defineProperty(t,e,s),s}function pm(n,t){return function(e,i){t(e,i,n)}}const nre=["searchSelectInput"],ire=["innerSelectSearch"];function rre(n,t){if(1&n){const e=an();x(0,"mat-checkbox",9),Je("change",function(r){return Ut(e),Te()._emitSelectAllBooleanToParent(r.checked)}),O()}if(2&n){const e=Te();H("color",null==e.matFormField?null:e.matFormField.color)("checked",e.toggleAllCheckboxChecked)("indeterminate",e.toggleAllCheckboxIndeterminate)("matTooltip",e.toggleAllCheckboxTooltipMessage)("matTooltipPosition",e.toogleAllCheckboxTooltipPosition)}}function sre(n,t){1&n&&bt(0,"mat-spinner",10)}function ore(n,t){1&n&&Sn(0,1,["*ngIf","clearIcon; else defaultIcon"])}function are(n,t){1&n&&(x(0,"mat-icon"),De(1,"close"),O())}function lre(n,t){if(1&n){const e=an();x(0,"button",11),Je("click",function(){return Ut(e),Te()._reset(!0)}),Ae(1,ore,1,0,"ng-content",12),Ae(2,are,2,0,"ng-template",null,13,cd),O()}if(2&n){const e=ki(3),i=Te();B(1),H("ngIf",i.clearIcon)("ngIfElse",e)}}function cre(n,t){if(1&n&&(x(0,"div",14),De(1),O()),2&n){const e=Te();B(1),ln(" ",e.noEntriesFoundLabel,"\n")}}const ure=[[["",8,"mat-select-search-custom-header-content"]],[["","ngxMatSelectSearchClear",""]]],dre=function(n,t){return{"mat-select-search-inner-multiple":n,"mat-select-search-inner-toggle-all":t}};let FF=(()=>{let n=class{};return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=rt({type:n,selectors:[["","ngxMatSelectSearchClear",""]]}),n})();var $0;let wi=$0=class{constructor(t,e,i,r=null,s,o=null){this.matSelect=t,this.changeDetectorRef=e,this._viewportRuler=i,this.matOption=r,this.liveAnnouncer=s,this.matFormField=o,this.placeholderLabel="Suche",this.type="text",this.noEntriesFoundLabel="Keine Optionen gefunden",this.indexAndLengthScreenReaderText=" of ",this.clearSearchInput=!0,this.searching=!1,this.disableInitialFocus=!1,this.enableClearOnEscapePressed=!1,this.preventHomeEndKeyPropagation=!1,this.disableScrollToActiveOnOptionsChanged=!1,this.ariaLabel="dropdown search",this.showToggleAllCheckbox=!1,this.toggleAllCheckboxChecked=!1,this.toggleAllCheckboxIndeterminate=!1,this.toggleAllCheckboxTooltipMessage="",this.toogleAllCheckboxTooltipPosition="below",this.hideClearSearchButton=!1,this.alwaysRestoreSelectedOptionsMulti=!1,this.toggleAll=new jt,this.onTouched=a=>{},this._options$=new xi(null),this.optionsList$=this._options$.pipe(Jr(a=>a?a.changes.pipe(ge(l=>l.toArray()),hr(a.toArray())):Qt(null))),this.optionsLength$=this.optionsList$.pipe(ge(a=>a?a.length:0)),this._formControl=new ea(""),this._showNoEntriesFound$=bM([this._formControl.valueChanges,this.optionsLength$]).pipe(ge(([a,l])=>this.noEntriesFoundLabel&&a&&l===this.getOptionsLengthOffset())),this._onDestroy=new K}get isInsideMatOption(){return!!this.matOption}get value(){return this._formControl.value}set _options(t){this._options$.next(t)}get _options(){return this._options$.getValue()}ngOnInit(){const t="mat-select-search-panel";this.matSelect.panelClass?Array.isArray(this.matSelect.panelClass)?this.matSelect.panelClass.push(t):"string"==typeof this.matSelect.panelClass?this.matSelect.panelClass=[this.matSelect.panelClass,t]:"object"==typeof this.matSelect.panelClass&&(this.matSelect.panelClass[t]=!0):this.matSelect.panelClass=t,this.matOption?(this.matOption.disabled=!0,this.matOption._getHostElement().classList.add("contains-mat-select-search")):console.error(" must be placed inside a element"),this.matSelect.openedChange.pipe(z_(1),vn(this._onDestroy)).subscribe(e=>{e?(this.updateInputWidth(),this.disableInitialFocus||this._focus()):this.clearSearchInput&&this._reset()}),this.matSelect.openedChange.pipe(Ii(1)).pipe(vn(this._onDestroy)).subscribe(()=>{this.matSelect._keyManager?this.matSelect._keyManager.change.pipe(vn(this._onDestroy)).subscribe(()=>this.adjustScrollTopToFitActiveOptionIntoView()):console.log("_keyManager was not initialized."),this._options=this.matSelect.options;let e=this._options.toArray()[this.getOptionsLengthOffset()];this._options.changes.pipe(vn(this._onDestroy)).subscribe(()=>{setTimeout(()=>{const i=this._options.toArray(),r=i[this.getOptionsLengthOffset()],s=this.matSelect._keyManager;s&&this.matSelect.panelOpen&&((!this.matSelect.compareWith(e,r)||!s.activeItem||!i.find(a=>this.matSelect.compareWith(a,s.activeItem)))&&s.setFirstItemActive(),setTimeout(()=>{this.updateInputWidth()}),this.disableScrollToActiveOnOptionsChanged||this.adjustScrollTopToFitActiveOptionIntoView()),e=r})})}),this._showNoEntriesFound$.pipe(vn(this._onDestroy)).subscribe(e=>{this.matOption&&(e?this.matOption._getHostElement().classList.add("mat-select-search-no-entries-found"):this.matOption._getHostElement().classList.remove("mat-select-search-no-entries-found"))}),this._viewportRuler.change().pipe(vn(this._onDestroy)).subscribe(()=>{this.matSelect.panelOpen&&this.updateInputWidth()}),this.initMultipleHandling(),this.optionsList$.pipe(vn(this._onDestroy)).subscribe(()=>{this.changeDetectorRef.markForCheck()})}_emitSelectAllBooleanToParent(t){this.toggleAll.emit(t)}ngOnDestroy(){this._onDestroy.next(),this._onDestroy.complete()}_isToggleAllCheckboxVisible(){return this.matSelect.multiple&&this.showToggleAllCheckbox}_handleKeydown(t){(t.key&&1===t.key.length||t.keyCode>=65&&t.keyCode<=90||t.keyCode>=48&&t.keyCode<=57||32===t.keyCode||this.preventHomeEndKeyPropagation&&(36===t.keyCode||35===t.keyCode))&&t.stopPropagation(),this.matSelect.multiple&&t.key&&13===t.keyCode&&setTimeout(()=>this._focus()),!0===this.enableClearOnEscapePressed&&27===t.keyCode&&this.value&&(this._reset(!0),t.stopPropagation())}_handleKeyup(t){if(38===t.keyCode||40===t.keyCode){const e=this.matSelect._getAriaActiveDescendant(),i=this._options.toArray().findIndex(r=>r.id===e);if(-1!==i){const r=this._options.toArray()[i];this.liveAnnouncer.announce(r.viewValue+" "+this.getAriaIndex(i)+this.indexAndLengthScreenReaderText+this.getAriaLength())}}}getAriaIndex(t){return 0===this.getOptionsLengthOffset()?t+1:t}getAriaLength(){return this._options.toArray().length-this.getOptionsLengthOffset()}writeValue(t){this._lastExternalInputValue=t,this._formControl.setValue(t),this.changeDetectorRef.markForCheck()}onBlur(){this.onTouched()}registerOnChange(t){this._formControl.valueChanges.pipe(hi(e=>e!==this._lastExternalInputValue),wr(()=>this._lastExternalInputValue=void 0),vn(this._onDestroy)).subscribe(t)}registerOnTouched(t){this.onTouched=t}_focus(){if(!this.searchSelectInput||!this.matSelect.panel)return;const t=this.matSelect.panel.nativeElement,e=t.scrollTop;this.searchSelectInput.nativeElement.focus(),t.scrollTop=e}_reset(t){this._formControl.setValue(""),t&&this._focus()}initMultipleHandling(){this.matSelect.ngControl?(this.previousSelectedValues=this.matSelect.ngControl.value,this.matSelect.ngControl.valueChanges.pipe(vn(this._onDestroy)).subscribe(t=>{let e=!1;if(this.matSelect.multiple&&(this.alwaysRestoreSelectedOptionsMulti||this._formControl.value&&this._formControl.value.length)&&this.previousSelectedValues&&Array.isArray(this.previousSelectedValues)){(!t||!Array.isArray(t))&&(t=[]);const i=this.matSelect.options.map(r=>r.value);this.previousSelectedValues.forEach(r=>{!t.some(s=>this.matSelect.compareWith(s,r))&&!i.some(s=>this.matSelect.compareWith(s,r))&&(t.push(r),e=!0)})}this.previousSelectedValues=t,e&&this.matSelect._onChange(t)})):this.matSelect.multiple&&console.error("the mat-select containing ngx-mat-select-search must have a ngModel or formControl directive when multiple=true")}adjustScrollTopToFitActiveOptionIntoView(){if(this.matSelect.panel&&this.matSelect.options.length>0){const t=this.getMatOptionHeight(),e=this.matSelect._keyManager.activeItemIndex||0,i=H_(e,this.matSelect.options,this.matSelect.optionGroups),r=(this.matOption?-1:0)+i+e,s=this.matSelect.panel.nativeElement.scrollTop,o=this.innerSelectSearch.nativeElement.offsetHeight,a=Math.floor((256-o)/t),l=Math.round((s+o)/t)-1;l>=r?this.matSelect.panel.nativeElement.scrollTop=r*t:l+a<=r&&(this.matSelect.panel.nativeElement.scrollTop=(r+1)*t-(256-o))}}updateInputWidth(){if(!this.innerSelectSearch||!this.innerSelectSearch.nativeElement)return;let e,t=this.innerSelectSearch.nativeElement;for(;t=t.parentElement;)if(t.classList.contains("mat-select-panel")){e=t;break}e&&(this.innerSelectSearch.nativeElement.style.width=e.clientWidth+"px")}getMatOptionHeight(){return this.matSelect.options.length>0?this.matSelect.options.first._getHostElement().getBoundingClientRect().height:0}getOptionsLengthOffset(){return this.matOption?1:0}};wi.\u0275fac=function(t){return new(t||wi)(M(ko),M(Gn),M(So),M(sa,8),M(Hp),M(Er,8))},wi.\u0275cmp=It({type:wi,selectors:[["ngx-mat-select-search"]],contentQueries:function(t,e,i){if(1&t&&Pn(i,FF,5),2&t){let r;Et(r=Ct())&&(e.clearIcon=r.first)}},viewQuery:function(t,e){if(1&t&&(pn(nre,7,Zt),pn(ire,7,Zt)),2&t){let i;Et(i=Ct())&&(e.searchSelectInput=i.first),Et(i=Ct())&&(e.innerSelectSearch=i.first)}},hostVars:2,hostBindings:function(t,e){2&t&&Cn("mat-select-search-inside-mat-option",e.isInsideMatOption)},inputs:{placeholderLabel:"placeholderLabel",type:"type",noEntriesFoundLabel:"noEntriesFoundLabel",indexAndLengthScreenReaderText:"indexAndLengthScreenReaderText",clearSearchInput:"clearSearchInput",searching:"searching",disableInitialFocus:"disableInitialFocus",enableClearOnEscapePressed:"enableClearOnEscapePressed",preventHomeEndKeyPropagation:"preventHomeEndKeyPropagation",disableScrollToActiveOnOptionsChanged:"disableScrollToActiveOnOptionsChanged",ariaLabel:"ariaLabel",showToggleAllCheckbox:"showToggleAllCheckbox",toggleAllCheckboxChecked:"toggleAllCheckboxChecked",toggleAllCheckboxIndeterminate:"toggleAllCheckboxIndeterminate",toggleAllCheckboxTooltipMessage:"toggleAllCheckboxTooltipMessage",toogleAllCheckboxTooltipPosition:"toogleAllCheckboxTooltipPosition",hideClearSearchButton:"hideClearSearchButton",alwaysRestoreSelectedOptionsMulti:"alwaysRestoreSelectedOptionsMulti"},outputs:{toggleAll:"toggleAll"},features:[tn([{provide:jr,useExisting:Mt(()=>$0),multi:!0}])],ngContentSelectors:[".mat-select-search-custom-header-content","[ngxMatSelectSearchClear]"],decls:11,vars:14,consts:[["matInput","",1,"mat-select-search-input","mat-select-search-hidden"],[1,"mat-select-search-inner","mat-typography","mat-datepicker-content","mat-tab-header",3,"ngClass"],["innerSelectSearch",""],["class","mat-select-search-toggle-all-checkbox","matTooltipClass","ngx-mat-select-search-toggle-all-tooltip",3,"color","checked","indeterminate","matTooltip","matTooltipPosition","change",4,"ngIf"],["autocomplete","off",1,"mat-select-search-input","mat-input-element",3,"type","formControl","placeholder","keydown","keyup","blur"],["searchSelectInput",""],["class","mat-select-search-spinner","diameter","16",4,"ngIf"],["mat-button","","mat-icon-button","","aria-label","Clear","class","mat-select-search-clear",3,"click",4,"ngIf"],["class","mat-select-search-no-entries-found",4,"ngIf"],["matTooltipClass","ngx-mat-select-search-toggle-all-tooltip",1,"mat-select-search-toggle-all-checkbox",3,"color","checked","indeterminate","matTooltip","matTooltipPosition","change"],["diameter","16",1,"mat-select-search-spinner"],["mat-button","","mat-icon-button","","aria-label","Clear",1,"mat-select-search-clear",3,"click"],[4,"ngIf","ngIfElse"],["defaultIcon",""],[1,"mat-select-search-no-entries-found"]],template:function(t,e){1&t&&(yi(ure),bt(0,"input",0),x(1,"div",1,2),Ae(3,rre,1,5,"mat-checkbox",3),x(4,"input",4,5),Je("keydown",function(r){return e._handleKeydown(r)})("keyup",function(r){return e._handleKeyup(r)})("blur",function(){return e.onBlur()}),O(),Ae(6,sre,1,0,"mat-spinner",6),Ae(7,lre,4,2,"button",7),Sn(8),O(),Ae(9,cre,2,1,"div",8),ls(10,"async")),2&t&&(B(1),H("ngClass",$b(11,dre,e.matSelect.multiple,e._isToggleAllCheckboxVisible())),B(2),H("ngIf",e._isToggleAllCheckboxVisible()),B(1),H("type",e.type)("formControl",e._formControl)("placeholder",e.placeholderLabel),hn("aria-label",e.ariaLabel),B(2),H("ngIf",e.searching),B(1),H("ngIf",!e.hideClearSearchButton&&e.value&&!e.searching),B(2),H("ngIf",cs(10,9,e._showNoEntriesFound$)))},directives:[Hc,ai,ac,gl,Xl,Co,Op,Es,bi,hs],pipes:[rl],styles:[".mat-select-search-hidden[_ngcontent-%COMP%]{visibility:hidden}.mat-select-search-inner[_ngcontent-%COMP%]{position:absolute;top:0;width:100%;border-bottom-width:1px;border-bottom-style:solid;z-index:100;font-size:inherit;box-shadow:none;border-radius:4px 4px 0 0;-webkit-transform:translate3d(0,0,0)}.mat-select-search-inner.mat-select-search-inner-multiple[_ngcontent-%COMP%]{width:100%}.mat-select-search-inner.mat-select-search-inner-multiple.mat-select-search-inner-toggle-all[_ngcontent-%COMP%]{display:flex;align-items:center}.mat-select-search-inner[_ngcontent-%COMP%] .mat-input-element[_ngcontent-%COMP%]{flex-basis:auto}.mat-select-search-inner[_ngcontent-%COMP%] .mat-input-element[_ngcontent-%COMP%]:-ms-input-placeholder{-ms-user-select:text} .mat-select-search-panel{transform:none!important;overflow-x:hidden}.mat-select-search-input[_ngcontent-%COMP%]{padding:16px 44px 16px 16px;box-sizing:border-box;width:100%}[dir=rtl][_nghost-%COMP%] .mat-select-search-input[_ngcontent-%COMP%], [dir=rtl] [_nghost-%COMP%] .mat-select-search-input[_ngcontent-%COMP%]{padding-right:16px;padding-left:44px}.mat-select-search-no-entries-found[_ngcontent-%COMP%]{padding:16px}.mat-select-search-clear[_ngcontent-%COMP%]{position:absolute;right:4px;top:5px}[dir=rtl][_nghost-%COMP%] .mat-select-search-clear[_ngcontent-%COMP%], [dir=rtl] [_nghost-%COMP%] .mat-select-search-clear[_ngcontent-%COMP%]{right:auto;left:4px}.mat-select-search-spinner[_ngcontent-%COMP%]{position:absolute;right:16px;top:calc(50% - 8px)}[dir=rtl][_nghost-%COMP%] .mat-select-search-spinner[_ngcontent-%COMP%], [dir=rtl] [_nghost-%COMP%] .mat-select-search-spinner[_ngcontent-%COMP%]{right:auto;left:16px}.mat-select-search-inside-mat-option[_nghost-%COMP%] .mat-select-search-input[_ngcontent-%COMP%]{padding-top:0;padding-bottom:0;height:3em;line-height:3em}.mat-select-search-inside-mat-option[_nghost-%COMP%] .mat-select-search-clear[_ngcontent-%COMP%]{top:3px} .mat-option[aria-disabled=true].contains-mat-select-search{position:static;padding:0} .mat-option[aria-disabled=true].contains-mat-select-search .mat-icon{margin-right:0;margin-left:0} .mat-option[aria-disabled=true].contains-mat-select-search .mat-option-pseudo-checkbox{display:none} .mat-option[aria-disabled=true].contains-mat-select-search.mat-select-search-no-entries-found{height:6em}.mat-select-search-toggle-all-checkbox[_ngcontent-%COMP%]{padding-left:16px;padding-bottom:2px}[dir=rtl][_nghost-%COMP%] .mat-select-search-toggle-all-checkbox[_ngcontent-%COMP%], [dir=rtl] [_nghost-%COMP%] .mat-select-search-toggle-all-checkbox[_ngcontent-%COMP%]{padding-left:0;padding-right:16px}"],changeDetection:0}),wi.ctorParameters=()=>[{type:ko,decorators:[{type:_a,args:[ko]}]},{type:Gn},{type:So},{type:sa,decorators:[{type:yr},{type:_a,args:[sa]}]},{type:Hp},{type:Er,decorators:[{type:yr},{type:_a,args:[Er]}]}],tr([Wr()],wi.prototype,"placeholderLabel",void 0),tr([Wr()],wi.prototype,"type",void 0),tr([Wr()],wi.prototype,"noEntriesFoundLabel",void 0),tr([Wr()],wi.prototype,"indexAndLengthScreenReaderText",void 0),tr([Wr()],wi.prototype,"clearSearchInput",void 0),tr([Wr()],wi.prototype,"searching",void 0),tr([Wr()],wi.prototype,"disableInitialFocus",void 0),tr([Wr()],wi.prototype,"enableClearOnEscapePressed",void 0),tr([Wr()],wi.prototype,"preventHomeEndKeyPropagation",void 0),tr([Wr()],wi.prototype,"disableScrollToActiveOnOptionsChanged",void 0),tr([Wr()],wi.prototype,"ariaLabel",void 0),tr([Wr()],wi.prototype,"showToggleAllCheckbox",void 0),tr([Wr()],wi.prototype,"toggleAllCheckboxChecked",void 0),tr([Wr()],wi.prototype,"toggleAllCheckboxIndeterminate",void 0),tr([Wr()],wi.prototype,"toggleAllCheckboxTooltipMessage",void 0),tr([Wr()],wi.prototype,"toogleAllCheckboxTooltipPosition",void 0),tr([Wr()],wi.prototype,"hideClearSearchButton",void 0),tr([Wr()],wi.prototype,"alwaysRestoreSelectedOptionsMulti",void 0),tr([s3()],wi.prototype,"toggleAll",void 0),tr([Qa("searchSelectInput",{read:Zt,static:!0})],wi.prototype,"searchSelectInput",void 0),tr([Qa("innerSelectSearch",{read:Zt,static:!0})],wi.prototype,"innerSelectSearch",void 0),tr([Dv(FF,{static:!1})],wi.prototype,"clearIcon",void 0),tr([o3("class.mat-select-search-inside-mat-option")],wi.prototype,"isInsideMatOption",null),wi=$0=tr([pm(0,_a(ko)),pm(3,yr()),pm(3,_a(sa)),pm(5,yr()),pm(5,_a(Er))],wi);let BF=(()=>{let n=class{};return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Yt({type:n}),n.\u0275inj=He({imports:[[di,l_,jd,uO,l0,uP,y0]]}),n})(),dc=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Yt({type:n}),n.\u0275inj=He({imports:[[Bs,_l,cP,BF,Do.forChild()]]}),n})(),$d=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Yt({type:n}),n.\u0275inj=He({imports:[[di,Bs]]}),n})(),pre=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Yt({type:n}),n.\u0275inj=He({imports:[[di,_l,Bs,dc,$d,Do.forChild()]]}),n})(),mre=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Yt({type:n}),n.\u0275inj=He({imports:[[di,_l,Bs,dc,$d,Do.forChild(),BF]]}),n})(),fre=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Yt({type:n}),n.\u0275inj=He({imports:[[di]]}),n})(),gre=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Yt({type:n}),n.\u0275inj=He({imports:[[di]]}),n})(),_re=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Yt({type:n}),n.\u0275inj=He({imports:[[di,_l,Bs,dc,$d,Do.forChild()]]}),n})(),yre=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Yt({type:n}),n.\u0275inj=He({imports:[[di,_l,Bs,dc,$d,Do.forChild()]]}),n})();const jF={[Mn.phaseBugReporting]:{[An.Student]:{isIssueCreatable:!0,isIssueDeletable:!0,isIssueTitleEditable:!0,isIssueDescriptionEditable:!0,isIssueLabelsEditable:!0,isTeamResponseEditable:!1,isTesterResponseEditable:!1,isTutorResponseEditable:!1},[An.Tutor]:{isIssueCreatable:!1,isIssueDeletable:!1,isIssueTitleEditable:!1,isIssueDescriptionEditable:!1,isIssueLabelsEditable:!1,isTeamResponseEditable:!1,isTesterResponseEditable:!1,isTutorResponseEditable:!1},[An.Admin]:{isIssueCreatable:!0,isIssueDeletable:!0,isIssueTitleEditable:!0,isIssueDescriptionEditable:!0,isIssueLabelsEditable:!0,isTeamResponseEditable:!1,isTesterResponseEditable:!1,isTutorResponseEditable:!1}},[Mn.phaseTeamResponse]:{[An.Student]:{isIssueCreatable:!1,isIssueDeletable:!1,isIssueTitleEditable:!1,isIssueDescriptionEditable:!1,isIssueLabelsEditable:!0,isTeamResponseEditable:!0,isTesterResponseEditable:!1,isTutorResponseEditable:!1},[An.Tutor]:{isIssueCreatable:!1,isIssueDeletable:!1,isIssueTitleEditable:!1,isIssueDescriptionEditable:!1,isIssueLabelsEditable:!1,isTeamResponseEditable:!1,isTesterResponseEditable:!1,isTutorResponseEditable:!1},[An.Admin]:{isIssueCreatable:!1,isIssueDeletable:!1,isIssueTitleEditable:!1,isIssueDescriptionEditable:!0,isIssueLabelsEditable:!0,isTeamResponseEditable:!0,isTesterResponseEditable:!1,isTutorResponseEditable:!1}},[Mn.phaseTesterResponse]:{[An.Student]:{isIssueCreatable:!1,isIssueDeletable:!1,isIssueTitleEditable:!1,isIssueDescriptionEditable:!1,isIssueLabelsEditable:!1,isTeamResponseEditable:!1,isTesterResponseEditable:!0,isTutorResponseEditable:!1},[An.Tutor]:{isIssueCreatable:!1,isIssueDeletable:!1,isIssueTitleEditable:!1,isIssueDescriptionEditable:!1,isIssueLabelsEditable:!1,isTeamResponseEditable:!1,isTesterResponseEditable:!1,isTutorResponseEditable:!1},[An.Admin]:{isIssueCreatable:!1,isIssueDeletable:!1,isIssueTitleEditable:!1,isIssueDescriptionEditable:!0,isIssueLabelsEditable:!0,isTeamResponseEditable:!0,isTesterResponseEditable:!0,isTutorResponseEditable:!1}},[Mn.phaseModeration]:{[An.Student]:{isIssueCreatable:!1,isIssueDeletable:!1,isIssueTitleEditable:!1,isIssueDescriptionEditable:!1,isIssueLabelsEditable:!1,isTeamResponseEditable:!1,isTesterResponseEditable:!1,isTutorResponseEditable:!1},[An.Tutor]:{isIssueCreatable:!1,isIssueDeletable:!1,isIssueTitleEditable:!1,isIssueDescriptionEditable:!0,isIssueLabelsEditable:!0,isTeamResponseEditable:!1,isTesterResponseEditable:!1,isTutorResponseEditable:!0},[An.Admin]:{isIssueCreatable:!1,isIssueDeletable:!1,isIssueTitleEditable:!1,isIssueDescriptionEditable:!0,isIssueLabelsEditable:!0,isTeamResponseEditable:!1,isTesterResponseEditable:!1,isTutorResponseEditable:!0}}};let Hs=(()=>{class n{constructor(e,i){this.userService=e,this.phaseService=i}isIssueCreatable(){return this.askForPermission("User","isIssueCreatable")}isIssueDeletable(){return this.askForPermission("User","isIssueDeletable")}isIssueTitleEditable(){return this.askForPermission("User","isIssueTitleEditable")}isIssueDescriptionEditable(){return this.askForPermission("User","isIssueDescriptionEditable")}isIssueLabelsEditable(){return this.askForPermission("User","isIssueLabelsEditable")}isTesterResponseEditable(){return this.askForPermission("User","isTesterResponseEditable")}isTeamResponseEditable(){return this.askForPermission("User","isTeamResponseEditable")}isTutorResponseEditable(){return this.askForPermission("User","isTutorResponseEditable")}isIssueEditable(){return this.isIssueTitleEditable()||this.isIssueDescriptionEditable()||this.isIssueLabelsEditable()||this.isTeamResponseEditable()||this.isTesterResponseEditable()||this.isTutorResponseEditable()}askForPermission(e,i){switch(e){case"Phase":return jF[this.phaseService.currentPhase][i];case"User":return jF[this.phaseService.currentPhase][this.userService.currentUser.role][i];default:return!1}}}return n.\u0275fac=function(e){return new(e||n)(Se(Cr),Se(er))},n.\u0275prov=Ee({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();function vre(n,t){1&n&&(x(0,"div",2),bt(1,"mat-spinner",3),O()),2&n&&(B(1),H("diameter",47))}function bre(n,t){if(1&n){const e=an();x(0,"app-issue-description",13),Je("changeEditState",function(r){return Ut(e),Te(2).updateDescriptionEditState(r)})("issueUpdated",function(r){return Ut(e),Te(2).updateIssue(r)}),O()}if(2&n){const e=Te(2);H("isEditing",e.isIssueDescriptionEditing)("issue",e.issue)}}function wre(n,t){if(1&n){const e=an();x(0,"app-team-response",14),Je("updateEditState",function(r){return Ut(e),Te(2).updateTeamResponseEditState(r)})("issueUpdated",function(r){return Ut(e),Te(2).updateIssue(r)}),O()}if(2&n){const e=Te(2);H("issue",e.issue)("isEditing",e.isTeamResponseEditing)}}function Mre(n,t){if(1&n){const e=an();x(0,"app-new-team-response",4),Je("issueUpdated",function(r){return Ut(e),Te(2).updateIssue(r)}),O()}2&n&&H("issue",Te(2).issue)}function Dre(n,t){1&n&&bt(0,"app-parse-error",15),2&n&&H("phase","Team Response")}function Ere(n,t){if(1&n){const e=an();x(0,"app-tester-response",14),Je("updateEditState",function(r){return Ut(e),Te(2).updateTesterResponseEditState(r)})("issueUpdated",function(r){return Ut(e),Te(2).updateIssue(r)}),O()}if(2&n){const e=Te(2);H("issue",e.issue)("isEditing",e.isTesterResponseEditing)}}function Cre(n,t){1&n&&bt(0,"app-parse-error",15),2&n&&H("phase","Tester Response")}function Tre(n,t){1&n&&bt(0,"app-team-accepted")}function Sre(n,t){if(1&n){const e=an();x(0,"app-issue-dispute",16),Je("issueUpdated",function(r){return Ut(e),Te(2).updateIssue(r)})("updateEditState",function(r){return Ut(e),Te(2).updateTutorResponseEditState(r)}),O()}if(2&n){const e=Te(2);H("issue",e.issue)("isEditing",e.isTutorResponseEditing)}}function kre(n,t){if(1&n){const e=an();x(0,"app-issue-label",19),Je("issueUpdated",function(r){return Ut(e),Te(3).updateIssue(r)}),O()}2&n&&H("issue",Te(3).issue)}function xre(n,t){if(1&n){const e=an();x(0,"div"),bt(1,"mat-divider"),x(2,"app-issue-label",20),Je("issueUpdated",function(r){return Ut(e),Te(3).updateIssue(r)}),O()()}if(2&n){const e=Te(3);B(2),H("issue",e.issue)}}function Ire(n,t){if(1&n){const e=an();x(0,"div"),bt(1,"mat-divider"),x(2,"app-issue-label",21),Je("issueUpdated",function(r){return Ut(e),Te(3).updateIssue(r)}),O()()}if(2&n){const e=Te(3);B(2),H("issue",e.issue)}}function Are(n,t){if(1&n){const e=an();x(0,"div"),bt(1,"mat-divider"),x(2,"app-assignee-component",22),Je("issueUpdated",function(r){return Ut(e),Te(3).updateIssue(r)}),O()()}if(2&n){const e=Te(3);B(2),H("issue",e.issue)("team",e.issue.teamAssigned)}}function Rre(n,t){if(1&n&&(x(0,"div"),bt(1,"mat-divider")(2,"app-duplicated-issues-component",23)(3,"br"),O()),2&n){const e=Te(3);B(2),H("issue",e.issue)}}function Lre(n,t){if(1&n){const e=an();x(0,"div"),bt(1,"mat-divider"),x(2,"app-duplicate-of-component",4),Je("issueUpdated",function(r){return Ut(e),Te(3).updateIssue(r)}),O()()}if(2&n){const e=Te(3);B(2),H("issue",e.issue)}}function Ore(n,t){1&n&&(x(0,"div",24),De(1," * Need your resolution. An issue cannot have both duplicated issues and duplicated status. "),O())}function Pre(n,t){if(1&n){const e=an();x(0,"div"),bt(1,"mat-divider"),x(2,"app-unsure-checkbox",4),Je("issueUpdated",function(r){return Ut(e),Te(3).updateIssue(r)}),O()()}if(2&n){const e=Te(3);B(2),H("issue",e.issue)}}function Fre(n,t){if(1&n&&(x(0,"div"),Ae(1,kre,1,1,"app-issue-label",17),Ae(2,xre,3,1,"div",1),Ae(3,Ire,3,1,"div",1),Ae(4,Are,3,2,"div",1),Ae(5,Rre,4,1,"div",1),ls(6,"async"),Ae(7,Lre,3,1,"div",1),ls(8,"async"),Ae(9,Ore,2,0,"div",18),ls(10,"async"),ls(11,"async"),Ae(12,Pre,3,1,"div",1),O()),2&n){const e=Te(2);B(1),H("ngIf",e.isComponentVisible(e.issueComponentsEnum.SEVERITY_LABEL)),B(1),H("ngIf",e.isComponentVisible(e.issueComponentsEnum.TYPE_LABEL)),B(1),H("ngIf",e.isComponentVisible(e.issueComponentsEnum.RESPONSE_LABEL)),B(1),H("ngIf",e.isComponentVisible(e.issueComponentsEnum.ASSIGNEE)),B(1),H("ngIf",e.isComponentVisible(e.issueComponentsEnum.DUPLICATE)&&0!==cs(6,8,e.issueService.getDuplicateIssuesFor(e.issue)).length),B(2),H("ngIf",e.isComponentVisible(e.issueComponentsEnum.DUPLICATE)&&(e.issue.duplicateOf||0===cs(8,10,e.issueService.getDuplicateIssuesFor(e.issue)).length)),B(2),H("ngIf",e.isComponentVisible(e.issueComponentsEnum.DUPLICATE)&&0!==cs(10,12,e.issueService.getDuplicateIssuesFor(e.issue)).length&&(e.issue.duplicateOf||0===cs(11,14,e.issueService.getDuplicateIssuesFor(e.issue)).length)),B(3),H("ngIf",e.isComponentVisible(e.issueComponentsEnum.UNSURE_CHECKBOX))}}function Nre(n,t){if(1&n){const e=an();x(0,"div")(1,"app-issue-title",4),Je("issueUpdated",function(r){return Ut(e),Te().updateIssue(r)}),O(),bt(2,"mat-divider"),x(3,"div",5)(4,"div",6),Ae(5,bre,1,2,"app-issue-description",7),Ae(6,wre,1,2,"app-team-response",8),Ae(7,Mre,1,1,"app-new-team-response",9),Ae(8,Dre,1,1,"app-parse-error",10),Ae(9,Ere,1,2,"app-tester-response",8),Ae(10,Cre,1,1,"app-parse-error",10),Ae(11,Tre,1,0,"app-team-accepted",1),Ae(12,Sre,1,2,"app-issue-dispute",11),O(),x(13,"div",12),Ae(14,Fre,13,16,"div",1),O()()()}if(2&n){const e=Te();B(1),H("issue",e.issue),B(4),H("ngIf",e.isComponentVisible(e.issueComponentsEnum.TESTER_POST)),B(1),H("ngIf",e.isComponentVisible(e.issueComponentsEnum.TEAM_RESPONSE)&&e.issue.teamResponse),B(1),H("ngIf",e.hasNoTeamResponse()),B(1),H("ngIf",e.hasTeamResponseParseError()),B(1),H("ngIf",e.isComponentVisible(e.issueComponentsEnum.TESTER_RESPONSE)&&e.issue.testerResponses&&0!==e.issue.testerResponses.length),B(1),H("ngIf",e.isComponentVisible(e.issueComponentsEnum.TESTER_RESPONSE)&&e.issue.testerResponseError),B(1),H("ngIf",e.isComponentVisible(e.issueComponentsEnum.TESTER_RESPONSE)&&e.issue.teamAccepted),B(1),H("ngIf",e.isComponentVisible(e.issueComponentsEnum.ISSUE_DISPUTE)),B(2),H("ngIf",e.isComponentVisible(e.issueComponentsEnum.NEW_TEAM_RESPONSE)&&e.issue.teamResponse||e.isComponentVisible(e.issueComponentsEnum.TESTER_RESPONSE)&&e.userService.currentUser.role===e.userRole.Student||e.isComponentVisible(e.issueComponentsEnum.ISSUE_DISPUTE)||!e.isComponentVisible(e.issueComponentsEnum.TEAM_RESPONSE))}}var Oi=(()=>(function(n){n[n.TESTER_POST=0]="TESTER_POST",n[n.TEAM_RESPONSE=1]="TEAM_RESPONSE",n[n.NEW_TEAM_RESPONSE=2]="NEW_TEAM_RESPONSE",n[n.TESTER_RESPONSE=3]="TESTER_RESPONSE",n[n.ISSUE_DISPUTE=4]="ISSUE_DISPUTE",n[n.SEVERITY_LABEL=5]="SEVERITY_LABEL",n[n.TYPE_LABEL=6]="TYPE_LABEL",n[n.RESPONSE_LABEL=7]="RESPONSE_LABEL",n[n.ASSIGNEE=8]="ASSIGNEE",n[n.DUPLICATE=9]="DUPLICATE",n[n.UNSURE_CHECKBOX=10]="UNSURE_CHECKBOX"}(Oi||(Oi={})),Oi))();let yl=(()=>{class n{constructor(e,i,r,s,o,a){this.errorHandlingService=e,this.permissions=i,this.userService=r,this.issueService=s,this.phaseService=o,this.router=a,this.isIssueLoading=!0,this.isTutorResponseEditing=!1,this.isIssueDescriptionEditing=!1,this.isTeamResponseEditing=!1,this.isTesterResponseEditing=!1,this.issueComponentsEnum=Oi,this.userRole=An}ngOnInit(){this.getAndPollIssue(this.issueId)}ngOnChanges(e){e.issueId.firstChange||(this.stopPolling(),this.isIssueLoading=!0,this.getAndPollIssue(e.issueId.currentValue))}ngOnDestroy(){this.stopPolling()}isComponentVisible(e){return this.issueComponents.includes(e)}isEditing(){return this.isIssueDescriptionEditing||this.isTutorResponseEditing||this.isTeamResponseEditing}updateIssue(e){this.issue=e,this.issueService.updateLocalStore(e)}updateDescriptionEditState(e){this.isIssueDescriptionEditing=e}updateTeamResponseEditState(e){this.isTeamResponseEditing=e}updateTesterResponseEditState(e){this.isTesterResponseEditing=e}updateTutorResponseEditState(e){this.isTutorResponseEditing=e}hasNoTeamResponse(){return this.isComponentVisible(this.issueComponentsEnum.NEW_TEAM_RESPONSE)&&this.permissions.isTeamResponseEditable()&&!this.issue.teamResponse&&!this.issue.status}hasTeamResponseParseError(){return this.isComponentVisible(this.issueComponentsEnum.NEW_TEAM_RESPONSE)&&this.permissions.isTeamResponseEditable()&&this.issue.teamResponseError&&!!this.issue.status}getAndPollIssue(e){this.issueService.getIssue(e).subscribe(i=>{this.isIssueLoading=!1,this.issue=i,this.pollIssue(e)},i=>{this.router.navigateByUrl(this.phaseService.currentPhase).then(()=>{this.errorHandlingService.handleError(new Error("Invalid URL provided!"))})})}pollIssue(e){this.issueSubscription=this.issueService.pollIssue(e).subscribe(i=>{const r=i.clone(this.phaseService.currentPhase);this.isIssueLoading||(this.isIssueDescriptionEditing||this.isTeamResponseEditing||!this.issue.teamResponse&&r.teamResponse||this.isTesterResponseEditing||this.isTutorResponseEditing)&&r.retainResponses(this.phaseService.currentPhase,this.issue),this.issue=r,this.isIssueLoading=!1},i=>{this.errorHandlingService.handleError(i,()=>this.pollIssue(e))})}stopPolling(){this.issueSubscription&&this.issueSubscription.unsubscribe()}}return n.\u0275fac=function(e){return new(e||n)(M(Gi),M(Hs),M(Cr),M(Di),M(er),M(Xi))},n.\u0275cmp=It({type:n,selectors:[["app-view-issue"]],inputs:{issueId:"issueId",issueComponents:"issueComponents"},features:[Jn],decls:2,vars:2,consts:[["class","centralize",4,"ngIf"],[4,"ngIf"],[1,"centralize"],[3,"diameter"],[3,"issue","issueUpdated"],[1,"row"],[1,"column","left"],["descriptionTitle","Description of Issue",3,"isEditing","issue","changeEditState","issueUpdated",4,"ngIf"],[3,"issue","isEditing","updateEditState","issueUpdated",4,"ngIf"],[3,"issue","issueUpdated",4,"ngIf"],[3,"phase",4,"ngIf"],[3,"issue","isEditing","issueUpdated","updateEditState",4,"ngIf"],[1,"column","right"],["descriptionTitle","Description of Issue",3,"isEditing","issue","changeEditState","issueUpdated"],[3,"issue","isEditing","updateEditState","issueUpdated"],[3,"phase"],[3,"issue","isEditing","issueUpdated","updateEditState"],["attributeName","severity",3,"issue","issueUpdated",4,"ngIf"],["style","margin-top: 15px; color: red",4,"ngIf"],["attributeName","severity",3,"issue","issueUpdated"],["attributeName","type",3,"issue","issueUpdated"],["attributeName","response",3,"issue","issueUpdated"],[3,"issue","team","issueUpdated"],[3,"issue"],[2,"margin-top","15px","color","red"]],template:function(e,i){1&e&&(Ae(0,vre,2,1,"div",0),Ae(1,Nre,15,10,"div",1)),2&e&&(H("ngIf",i.isIssueLoading),B(1),H("ngIf",!i.isIssueLoading))},styles:[".row[_ngcontent-%COMP%]{display:flex}.column[_ngcontent-%COMP%]{padding:10px;height:100%}.left[_ngcontent-%COMP%]{width:85%}.right[_ngcontent-%COMP%]{width:15%}"]}),n})();function YF(){return n=>n.lift(new Bre)}class Bre{call(t,e){return e.subscribe(new jre(t))}}class jre extends F{constructor(t){super(t),this.hasPrev=!1}_next(t){let e;this.hasPrev?e=[this.prev,t]:this.hasPrev=!0,this.prev=t,e&&this.destination.next(e)}}let Wd=(()=>{class n{constructor(e,i,r){this.spinnerContainerRef=e,this.injector=i,this.document=r,this.isLoading=new xi(!1),this.spinnerComponentRef=null,this.animationMode="indeterminate",this.spinnerTheme="primary",this.classList=[],this.isLoading.pipe(YF()).subscribe(([s,o])=>this.onIsLoadingChange(s,o))}ngOnDestroy(){this.isLoading.complete(),this.detachSpinnerFromDom(),this.spinnerContainerRef=null}addAnimationMode(e){return this.animationMode=e,this}addSpinnerOptions(e){return this.options=e,this}addViewContainerRef(e){return void 0===e||(this.spinnerContainerRef=e),this}addTheme(e){return this.spinnerTheme=e,this}addCssClasses(e){return this.classList=[],this.classList.push(...e),this}showLoader(){this.isLoading.next(!0)}hideLoader(){this.isLoading.next(!1)}onIsLoadingChange(e,i){if(e!==i)return i?this.attachSpinnerToDom():this.detachSpinnerFromDom()}attachSpinnerToDom(){if(null!==this.spinnerComponentRef)return;const e=this.getInjector(),i=this.createSpinner(e);this.isAttachableToDocument()?i.location.nativeElement instanceof Node&&this.document.body.appendChild(i.location.nativeElement):this.spinnerContainerRef.insert(i.hostView),i.changeDetectorRef.detectChanges(),this.spinnerComponentRef=i}detachSpinnerFromDom(){null!==this.spinnerComponentRef&&(this.isAttachableToDocument()?this.spinnerComponentRef.location.nativeElement instanceof Node&&this.document.body.removeChild(this.spinnerComponentRef.location.nativeElement):this.spinnerContainerRef.remove(),this.spinnerComponentRef.destroy(),this.spinnerComponentRef=null)}getInjector(){return this.isAttachableToDocument()?this.injector:this.spinnerContainerRef.injector}isAttachableToDocument(){return null===this.spinnerContainerRef}createSpinner(e){const i=this.spinnerContainerRef.createComponent(Es,{injector:e});this.options&&(i.instance.diameter=this.options.diameter,i.instance.strokeWidth=this.options.strokeWidth),i.instance.mode=this.animationMode,i.instance.color=this.spinnerTheme;const r=i.injector.get(Ta);for(const s of this.classList)r.addClass(i.location.nativeElement,s);return i}}return n.\u0275fac=function(e){return new(e||n)(Se(Si),Se(qi),Se(Dn))},n.\u0275prov=Ee({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),Yre=(()=>{class n{constructor(e,i,r){this.dialogRef=e,this.data=i,this._sanitizer=r,this.labelName=i.header,this.labelDefinitionHtmlTemplate=r.bypassSecurityTrustHtml(i.body)}onNoClick(){this.dialogRef.close(!1)}}return n.\u0275fac=function(e){return new(e||n)(M(Va),M(ou),M(sl))},n.\u0275cmp=It({type:n,selectors:[["app-label-definition-popup"]],decls:8,vars:2,consts:[[1,"modalPopup"],["mat-dialog-title",""],["mat-dialog-content",""],[3,"innerHTML"],["mat-dialog-actions",""],["mat-raised-button","","color","primary",3,"click"]],template:function(e,i){1&e&&(x(0,"div",0)(1,"h1",1),De(2),O(),x(3,"div",2),bt(4,"div",3),O(),x(5,"div",4)(6,"button",5),Je("click",function(){return i.onNoClick()}),De(7,"Close"),O()()()),2&e&&(B(2),vi(i.labelName),B(2),H("innerHTML",i.labelDefinitionHtmlTemplate,Lc))},directives:[au,lu,J_,bi],styles:[".modalPopup[_ngcontent-%COMP%]{min-width:800px}"]}),n})();function Hre(n,t){if(1&n&&(x(0,"p"),De(1),O()),2&n){const e=t.$implicit;B(1),ln(" ",e," ")}}let Vre=(()=>{class n{constructor(e,i){this.dialogRef=e,this.data=i}ngOnInit(){}onNoClick(){this.dialogRef.close(!1)}}return n.\u0275fac=function(e){return new(e||n)(M(Va),M(ou))},n.\u0275cmp=It({type:n,selectors:[["app-user-confirmation"]],decls:9,vars:4,consts:[["mat-dialog-title",""],["mat-dialog-content",""],[4,"ngFor","ngForOf"],["mat-dialog-actions",""],["mat-raised-button","","color","primary",3,"click"],["mat-raised-button","","color","warn",3,"mat-dialog-close"]],template:function(e,i){1&e&&(x(0,"h1",0),De(1,"Warning"),O(),x(2,"div",1),Ae(3,Hre,2,1,"p",2),O(),x(4,"div",3)(5,"button",4),Je("click",function(){return i.onNoClick()}),De(6),O(),x(7,"button",5),De(8),O()()),2&e&&(B(3),H("ngForOf",i.data.messages),B(3),vi(i.data.noMessage),B(1),H("mat-dialog-close",!0),B(1),vi(i.data.yesMessage))},directives:[au,lu,Br,J_,bi,xO],styles:[""]}),n})(),vl=(()=>{class n{constructor(e){this.dialog=e}openUserConfirmationModal(e,i,r){return this.dialog.open(Vre,{data:{messages:e,yesMessage:i,noMessage:r}})}openLabelDefinitionDialog(e,i){return this.dialog.open(Yre,{data:{header:e,body:i}})}checkIfFieldIsModified(e,i,r,s){const o=s[i]||"";return e.get(r).value!==o}performActionIfModified(e,i,r){e?i():r()}}return n.\u0275fac=function(e){return new(e||n)(Se(qa))},n.\u0275prov=Ee({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const qre=["loadingSpinnerContainer"];function Ure(n,t){if(1&n){const e=an();x(0,"button",7),Je("click",function(){return Ut(e),Te(2).changeToEditMode()}),De(1," Edit "),O()}}function zre(n,t){1&n&&(x(0,"button",8),De(1," New Issue "),O()),2&n&&H("routerLink","/"+Te(2).phaseService.currentPhase+"/issues/new")}function Gre(n,t){if(1&n&&(x(0,"div",2)(1,"h1",3),De(2),x(3,"span",4),De(4),O()(),x(5,"div",2),Ae(6,Ure,2,0,"button",5),Ae(7,zre,2,1,"button",6),O()()),2&n){const e=Te();B(2),ln(" ",e.issue.title," "),B(2),ln("#",e.issue.id,""),B(2),H("ngIf",e.permissions.isIssueTitleEditable()),B(1),H("ngIf",e.permissions.isIssueCreatable())}}function $re(n,t){1&n&&(x(0,"mat-error"),De(1," Title is required. "),O())}function Wre(n,t){1&n&&(x(0,"mat-error"),De(1," Title cannot exceed 256 characters. "),O())}function Qre(n,t){if(1&n&&(x(0,"mat-hint"),De(1),O()),2&n){const e=Te(2);B(1),ln(" ",256-(null==e.issueTitleForm.get("title").value?null:e.issueTitleForm.get("title").value.length)," characters remaining. ")}}function Kre(n,t){if(1&n){const e=an();x(0,"div")(1,"form",9,10),Je("ngSubmit",function(){Ut(e);const r=ki(2);return Te().updateTitle(r)}),x(3,"mat-form-field",11),bt(4,"input",12),Ae(5,$re,2,0,"mat-error",1),Ae(6,Wre,2,0,"mat-error",1),Ae(7,Qre,2,1,"mat-hint",1),O(),x(8,"button",13),De(9," Save "),ys(10,null,14),O(),x(12,"button",15),Je("click",function(){return Ut(e),Te().openCancelDialogIfModified()}),De(13," Cancel "),O()()()}if(2&n){const e=Te();B(1),H("formGroup",e.issueTitleForm),B(4),H("ngIf",e.issueTitleForm.get("title").hasError("required")),B(1),H("ngIf",e.issueTitleForm.get("title").hasError("maxlength")),B(1),H("ngIf",(null==e.issueTitleForm.get("title").value?null:e.issueTitleForm.get("title").value.length)>=206),B(1),H("disabled",e.issueTitleForm.invalid||e.isSavePending),B(4),H("disabled",e.isSavePending)}}let Zre=(()=>{class n{constructor(e,i,r,s,o,a,l){this.issueService=e,this.formBuilder=i,this.errorHandlingService=r,this.permissions=s,this.phaseService=o,this.dialogService=a,this.loadingService=l,this.isEditing=!1,this.isSavePending=!1,this.issueUpdated=new jt,this.cancelEditModalMessages=["Do you wish to cancel?","Your changes will be discarded."],this.yesButtonModalMessage="Cancel",this.noButtonModalMessage="Continue editing"}ngOnInit(){this.issueTitleForm=this.formBuilder.group({title:new ea("",[Mr.required,Mr.maxLength(256)])}),this.loadingService.addAnimationMode("indeterminate").addSpinnerOptions({diameter:15,strokeWidth:2}).addCssClasses(["mat-progress-spinner"])}changeToEditMode(){this.isEditing=!0,this.issueTitleForm.setValue({title:this.issue.title||""})}cancelEditMode(){this.isEditing=!1}updateTitle(e){if(this.issueTitleForm.invalid)return;this.showSpinner();const i=this.issue.clone(this.phaseService.currentPhase);i.title=this.issueTitleForm.get("title").value,this.issueService.updateIssue(i).pipe(Ia(()=>{this.isEditing=!1})).subscribe(r=>{this.issueUpdated.emit(r),e.resetForm(),this.hideSpinner()},r=>{this.errorHandlingService.handleError(r),this.hideSpinner()})}openCancelDialogIfModified(){const e=this.dialogService.checkIfFieldIsModified(this.issueTitleForm,"title","title",this.issue);this.dialogService.performActionIfModified(e,()=>this.openCancelDialog(),()=>this.cancelEditMode())}openCancelDialog(){this.dialogService.openUserConfirmationModal(this.cancelEditModalMessages,this.yesButtonModalMessage,this.noButtonModalMessage).afterClosed().subscribe(i=>{i&&this.cancelEditMode()})}showSpinner(){this.loadingService.addViewContainerRef(this.loadingSpinnerContainer).showLoader(),this.isSavePending=!0}hideSpinner(){this.loadingService.hideLoader(),this.isSavePending=!1}}return n.\u0275fac=function(e){return new(e||n)(M(Di),M(tc),M(Gi),M(Hs),M(er),M(vl),M(Wd))},n.\u0275cmp=It({type:n,selectors:[["app-issue-title"]],viewQuery:function(e,i){if(1&e&&pn(qre,5,Si),2&e){let r;Et(r=Ct())&&(i.loadingSpinnerContainer=r.first)}},inputs:{issue:"issue"},outputs:{issueUpdated:"issueUpdated"},features:[tn([Wd])],decls:2,vars:2,consts:[["class","row",4,"ngIf"],[4,"ngIf"],[1,"row"],[1,"mat-display-1","title"],[2,"color","#a3aab1"],["mat-stroked-button","","color","primary","class","title-button",3,"click",4,"ngIf"],["mat-stroked-button","","color","primary","class","title-button",3,"routerLink",4,"ngIf"],["mat-stroked-button","","color","primary",1,"title-button",3,"click"],["mat-stroked-button","","color","primary",1,"title-button",3,"routerLink"],[3,"formGroup","ngSubmit"],["myForm","ngForm"],[2,"width","80%"],["id","title","formControlName","title","matInput","","placeholder","Title","required","","maxlength","256"],["type","submit","mat-stroked-button","","color","primary",1,"title-button",3,"disabled"],["loadingSpinnerContainer",""],["type","button","mat-stroked-button","","color","warn",1,"title-button",3,"disabled","click"]],template:function(e,i){1&e&&(Ae(0,Gre,8,4,"div",0),Ae(1,Kre,14,6,"div",1)),2&e&&(H("ngIf",!i.isEditing),B(1),H("ngIf",i.isEditing))},directives:[ai,bi,Dd,ta,Jo,ds,Er,Xl,io,Co,Pa,tu,Pp,Zp,r0],styles:[".row[_ngcontent-%COMP%]{display:flex;flex-direction:row;justify-content:space-between;align-items:flex-start}.title[_ngcontent-%COMP%]{margin:0 0 16px;overflow-wrap:anywhere}.title-button[_ngcontent-%COMP%]{display:flex;flex-direction:row;align-items:center;margin:5px;float:right}[_nghost-%COMP%] .mat-progress-spinner{color:#00000080;display:inline-block;vertical-align:middle;margin-left:5px}"]}),n})();var Xre=w(3969);function W0(n){return n.replace(/&/g,"&").replace(//g,">").replace(/"/g,""").replace(/'/g,"'")}function Q0(n){return n.replace(/\n/g,"
    ")}class K0{getHtmlString(){return`<${this.TAG} style="${this.STYLES.join(";")}">${W0(this.content)}`}}class Jre extends K0{constructor(t){super(),this.TYPE="ADDITION",this.TAG="ins",this.STYLES=["background: #d4fcbc","text-decoration: none"],this.content=t}}class ese extends K0{constructor(t){super(),this.TYPE="NO_CHANGE",this.TAG="span",this.STYLES=[],this.content=t}}class tse extends K0{constructor(t){super(),this.TYPE="REMOVAL",this.TAG="del",this.STYLES=["background: #fbb"],this.content=t}}class by{constructor(t,e){this.changes=[],this.outdatedContent=t,this.updatedContent=e;const i=new Xre.diff_match_patch,r=i.diff_main(t,e);i.diff_cleanupSemantic(r);for(const s of r)this.changes.push(-1===s[0]?new tse(s[1]):1===s[0]?new Jre(s[1]):new ese(s[1]))}getHtmlDiffString(){let t="";for(const e of this.changes)t+=e.getHtmlString();return Q0(t)}getHtmlUpdatedString(){return Q0(W0(this.updatedContent))}}function nse(n,t){if(1&n){const e=an();x(0,"mat-slide-toggle",11),Je("change",function(){return Ut(e),Te().handleChangeShowDiff()}),De(1," Show Difference "),O()}2&n&&H("checked",Te().showDiff)}function ise(n,t){1&n&&bt(0,"div",13),2&n&&H("innerHTML",Te(2).diffHtml,Lc)}function rse(n,t){1&n&&bt(0,"div",13),2&n&&H("innerHTML",Te(2).updatedHtml,Lc)}function sse(n,t){if(1&n&&(x(0,"div",10),Ae(1,ise,1,1,"div",12),Ae(2,rse,1,1,"div",12),O()),2&n){const e=Te();B(1),H("ngIf",e.showDiff),B(1),H("ngIf",!e.showDiff)}}let HF=(()=>{class n{constructor(e,i,r,s,o){this.dialogRef=e,this.data=i,this.sanitizer=r,this.labelService=s,this.issueService=o,this.isOnPreview=!1,this.isReady=!1,this.showDiff=!0,this.diffHtml=this.sanitizer.bypassSecurityTrustHtml(i.getHtmlDiffString()),this.updatedHtml=this.sanitizer.bypassSecurityTrustHtml(i.getHtmlUpdatedString()),this.isReady=!0}close(){this.dialogRef.close()}handleChangeShowDiff(){this.showDiff=!this.showDiff}handleTabChange(e){this.isOnPreview=1===e.index}}return n.\u0275fac=function(e){return new(e||n)(M(Va),M(ou),M(sl),M(ei),M(Di))},n.\u0275cmp=It({type:n,selectors:[["app-conflict-dialog"]],decls:16,vars:4,consts:[[2,"display","flex","margin-bottom","20px","align-items","center"],["mat-dialog-title","",2,"margin","0"],["style","display: inline-block; margin-left: 50px","color","primary",3,"checked","change",4,"ngIf"],["mat-icon-button","","color","default",2,"margin","0 0 0 auto",3,"click"],["mat-dialog-content","",2,"display","flex"],[1,"full-width"],["animationDuration","0ms",1,"mat-elevation-z1",3,"selectedTabChange"],["label","Markdown Text"],["class","tab-content",4,"ngIf"],["label","Preview Updated Content"],[1,"tab-content"],["color","primary",2,"display","inline-block","margin-left","50px",3,"checked","change"],[3,"innerHTML",4,"ngIf"],[3,"innerHTML"]],template:function(e,i){1&e&&(x(0,"div",0)(1,"h1",1),De(2),O(),Ae(3,nse,2,1,"mat-slide-toggle",2),x(4,"button",3),Je("click",function(){return i.close()}),x(5,"mat-icon"),De(6,"close"),O()()(),x(7,"div",4)(8,"div",5)(9,"mat-tab-group",6),Je("selectedTabChange",function(s){return i.handleTabChange(s)}),x(10,"mat-tab",7),Ae(11,sse,3,2,"div",8),O(),x(12,"mat-tab",9)(13,"div",10)(14,"markdown"),De(15),O()()()()()()),2&e&&(B(2),vi("The content you are editing has changed"),B(1),H("ngIf",!i.isOnPreview),B(8),H("ngIf",i.isReady),B(4),vi(i.data.updatedContent))},directives:[au,ai,M0,bi,hs,lu,ly,om,cl],styles:[".tab-content[_ngcontent-%COMP%]{padding:10px;min-height:300px;max-height:55vh}.full-width[_ngcontent-%COMP%]{min-width:80vh;width:100%}"]}),n})();class Z0 extends Error{constructor(){super("Invalid link!"),Object.setPrototypeOf(this,Z0.prototype)}}let Qd=(()=>{class n{constructor(e){this.errorHandlingService=e}onClick(e){const i=e.target;i instanceof HTMLAnchorElement&&i.href.startsWith(i.baseURI)&&(this.errorHandlingService.handleError(new Z0),e.preventDefault(),e.stopPropagation())}}return n.\u0275fac=function(e){return new(e||n)(M(Gi))},n.\u0275dir=rt({type:n,selectors:[["","disableInternalLink",""]],hostBindings:function(e,i){1&e&&Je("click",function(s){return i.onClick(s)})}}),n})();class X0{constructor(t,e,i=0){this.historyArray=new Array(t),this.firstEntryIndex=0,this.lastEntryIndex=-1,this.currIndex=-1,this.getState=e,this.isSaved=!1,this.saveRunning=!1,this.intervalTime=i}static isUndo(t){return 0===navigator.platform.indexOf("Mac")?t.metaKey&&"KeyZ"===t.code&&!t.shiftKey:t.ctrlKey&&"KeyZ"===t.code&&!t.shiftKey}static isRedo(t){return 0===navigator.platform.indexOf("Mac")?t.metaKey&&t.shiftKey&&"KeyZ"===t.code:t.ctrlKey&&t.shiftKey&&"KeyZ"===t.code||t.ctrlKey&&"KeyY"===t.code}updateBeforeChange(t){if(-1===this.currIndex)return this.addEntry(null!=t?t:this.getState(),!1);this.createDelayedSave()}createDelayedSave(){this.saveRunning||(this.isSaved=!1,this.saveRunning=!0,this.timeout=setTimeout(()=>{this.addEntry(this.getState(),!!this.intervalTime)},this.intervalTime))}addEntry(t,e=!0){this.isSaved=e;const i=this.incrementIndex(this.currIndex);i===this.firstEntryIndex&&-1!==this.currIndex&&(this.firstEntryIndex=this.incrementIndex(this.firstEntryIndex)),this.lastEntryIndex=i,this.currIndex=i,this.historyArray[this.currIndex]=t,this.saveRunning=!1}incrementIndex(t){return(t+1)%this.historyArray.length}decrementIndex(t){return(t-1+this.historyArray.length)%this.historyArray.length}forceSave(t,e=!1,i=!0){clearTimeout(this.timeout),(!e||!this.isSaved)&&this.addEntry(null!=t?t:this.getState(),i),this.isSaved=i}wrapSave(t,e=!0){clearTimeout(this.timeout),(!e||!this.isSaved)&&this.addEntry(this.getState(),!1),t(),this.addEntry(this.getState(),!0)}undo(){return this.forceSave(void 0,!0),this.currIndex===this.firstEntryIndex||-1===this.currIndex?null:(this.currIndex=this.decrementIndex(this.currIndex),this.historyArray[this.currIndex])}redo(){return this.forceSave(void 0,!0),this.currIndex===this.lastEntryIndex?null:(this.currIndex=this.incrementIndex(this.currIndex),this.historyArray[this.currIndex])}}const VF=["mp4","mov"],wy=["gif","jpeg","jpg","png","docx","gz","log","pdf","pptx","txt","xlsx","zip",...VF],qF="We don't support that file type. Try again with "+wy.join(", ")+".",UF=(n,t)=>`Oops, ${n} is too big. Keep it under ${t}MiB.`;let ose=(()=>{class n{constructor(e){this.githubService=e}uploadFile(e,i){let r;r=e instanceof ArrayBuffer?String.fromCharCode.apply(null,new Uint16Array(e)):e;const s=this.getFileExtension(i);if(wy.includes(s.toLowerCase())){r=r.split(",")[1];const o=uy(),a=()=>this.githubService.uploadFile(`${o}.${s}`,r);return a().pipe(Ni(l=>404!==l.status?Qi(l):Qt(!1)),ue(l=>l?Qt(l):this.githubService.createBranch().pipe(ue(a))))}return Qi(qF)}getFileExtension(e){return e.split(".").pop()}isVideoFile(e){const i=this.getFileExtension(e);return VF.includes(i.toLowerCase())}isSupportedFileType(e){const i=this.getFileExtension(e);return wy.includes(i.toLowerCase())}}return n.\u0275fac=function(e){return new(e||n)(Se(fr))},n.\u0275prov=Ee({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const ase=["gif","jpeg","jpg","png"];function zF(n,t,e,i){const r=i.nativeElement.selectionEnd,s=`[Uploading ${n}...]`,o=e.value.indexOf(s),a=o+s.length,l=o+t.length,f=r>o-1&&r<=a?l:r ",multiline:!0,surroundWithNewlines:!0},code:{prefix:"`",suffix:"`",blockPrefix:"```",blockSuffix:"```"},link:{prefix:"[",suffix:"](url)",replaceNext:"url",scanFor:"https?://"},image:{prefix:"![",suffix:"](url)",replaceNext:"url",scanFor:"https?://"},"unordered-list":{prefix:"- ",multiline:!0,unorderedList:!0},"ordered-list":{prefix:"1. ",multiline:!0,orderedList:!0},"task-list":{prefix:"- [ ] ",multiline:!0,surroundWithNewlines:!0},mention:{prefix:"@",prefixSpace:!0},ref:{prefix:"#",prefixSpace:!0},strikethrough:{prefix:"~~",suffix:"~~",trimFirst:!0}};class so extends HTMLElement{constructor(){super();const t=e=>{const i=Ss.get(this);!i||(e.preventDefault(),iE(this,i))};this.addEventListener("keydown",WF(t)),this.addEventListener("click",t)}connectedCallback(){this.hasAttribute("role")||this.setAttribute("role","button")}click(){const t=Ss.get(this);!t||iE(this,t)}}class QF extends so{constructor(){super(...arguments),My.add(this)}connectedCallback(){const t=parseInt(this.getAttribute("level")||"3",10);GF(this,My,"m",J0).call(this,t)}static get observedAttributes(){return["level"]}attributeChangedCallback(t,e,i){if("level"!==t)return;const r=parseInt(i||"3",10);GF(this,My,"m",J0).call(this,r)}}My=new WeakSet,J0=function(t){if(t<1||t>6)return;const e=`${"#".repeat(t)} `;Ss.set(this,{prefix:e})},window.customElements.get("md-header")||(window.MarkdownHeaderButtonElement=QF,window.customElements.define("md-header",QF));class KF extends so{connectedCallback(){Ss.set(this,{prefix:"**",suffix:"**",trimFirst:!0})}}window.customElements.get("md-bold")||(window.MarkdownBoldButtonElement=KF,window.customElements.define("md-bold",KF));class ZF extends so{connectedCallback(){Ss.set(this,{prefix:"_",suffix:"_",trimFirst:!0})}}window.customElements.get("md-italic")||(window.MarkdownItalicButtonElement=ZF,window.customElements.define("md-italic",ZF));class XF extends so{connectedCallback(){Ss.set(this,{prefix:"> ",multiline:!0,surroundWithNewlines:!0})}}window.customElements.get("md-quote")||(window.MarkdownQuoteButtonElement=XF,window.customElements.define("md-quote",XF));class JF extends so{connectedCallback(){Ss.set(this,{prefix:"`",suffix:"`",blockPrefix:"```",blockSuffix:"```"})}}window.customElements.get("md-code")||(window.MarkdownCodeButtonElement=JF,window.customElements.define("md-code",JF));class eN extends so{connectedCallback(){Ss.set(this,{prefix:"[",suffix:"](url)",replaceNext:"url",scanFor:"https?://"})}}window.customElements.get("md-link")||(window.MarkdownLinkButtonElement=eN,window.customElements.define("md-link",eN));class tN extends so{connectedCallback(){Ss.set(this,{prefix:"![",suffix:"](url)",replaceNext:"url",scanFor:"https?://"})}}window.customElements.get("md-image")||(window.MarkdownImageButtonElement=tN,window.customElements.define("md-image",tN));class nN extends so{connectedCallback(){Ss.set(this,{prefix:"- ",multiline:!0,unorderedList:!0})}}window.customElements.get("md-unordered-list")||(window.MarkdownUnorderedListButtonElement=nN,window.customElements.define("md-unordered-list",nN));class iN extends so{connectedCallback(){Ss.set(this,{prefix:"1. ",multiline:!0,orderedList:!0})}}window.customElements.get("md-ordered-list")||(window.MarkdownOrderedListButtonElement=iN,window.customElements.define("md-ordered-list",iN));class rN extends so{connectedCallback(){Ss.set(this,{prefix:"- [ ] ",multiline:!0,surroundWithNewlines:!0})}}window.customElements.get("md-task-list")||(window.MarkdownTaskListButtonElement=rN,window.customElements.define("md-task-list",rN));class sN extends so{connectedCallback(){Ss.set(this,{prefix:"@",prefixSpace:!0})}}window.customElements.get("md-mention")||(window.MarkdownMentionButtonElement=sN,window.customElements.define("md-mention",sN));class oN extends so{connectedCallback(){Ss.set(this,{prefix:"#",prefixSpace:!0})}}window.customElements.get("md-ref")||(window.MarkdownRefButtonElement=oN,window.customElements.define("md-ref",oN));class aN extends so{connectedCallback(){Ss.set(this,{prefix:"~~",suffix:"~~",trimFirst:!0})}}function lN(n){const{target:t,currentTarget:e}=n;if(!(t instanceof Element))return;const i=t.closest("[data-md-button]");if(!i||i.closest("markdown-toolbar")!==e)return;const r=i.getAttribute("data-md-button"),s=hse[r];!s||(n.preventDefault(),iE(t,s))}function cN(n){n.addEventListener("keydown",hN),n.setAttribute("tabindex","0"),n.addEventListener("focus",dN,{once:!0})}function uN(n){n.removeEventListener("keydown",hN),n.removeAttribute("tabindex"),n.removeEventListener("focus",dN)}window.customElements.get("md-strikethrough")||(window.MarkdownStrikethroughButtonElement=aN,window.customElements.define("md-strikethrough",aN));let eE=(()=>{class n extends HTMLElement{connectedCallback(){this.hasAttribute("role")||this.setAttribute("role","toolbar"),this.hasAttribute("data-no-focus")||cN(this),this.addEventListener("keydown",WF(lN)),this.addEventListener("click",lN)}attributeChangedCallback(e,i,r){"data-no-focus"===e&&(null===r?cN(this):uN(this))}disconnectedCallback(){uN(this)}get field(){const e=this.getAttribute("for");if(!e)return null;const i="getRootNode"in this?this.getRootNode():document;let r;return(i instanceof Document||i instanceof ShadowRoot)&&(r=i.getElementById(e)),r instanceof HTMLTextAreaElement?r:null}}return n.observedAttributes=["data-no-focus"],n})();function dN({target:n}){if(!(n instanceof Element))return;n.removeAttribute("tabindex");let t="0";for(const e of $F(n))e.setAttribute("tabindex",t),"0"===t&&(e.focus(),t="-1")}function hN(n){const t=n.key;if("ArrowRight"!==t&&"ArrowLeft"!==t&&"Home"!==t&&"End"!==t)return;const e=n.currentTarget;if(!(e instanceof HTMLElement))return;const i=$F(e),r=i.indexOf(n.target),s=i.length;if(-1===r)return;let o=0;"ArrowLeft"===t&&(o=r-1),"ArrowRight"===t&&(o=r+1),"End"===t&&(o=s-1),o<0&&(o=s-1),o>s-1&&(o=0);for(let a=0;a1}function pN(n,t){return Array(t+1).join(n)}window.customElements.get("markdown-toolbar")||(window.MarkdownToolbarElement=eE,window.customElements.define("markdown-toolbar",eE));let du=null;function nE(n){const t=n.value.slice(0,n.selectionStart),e=n.value.slice(n.selectionEnd),i=t.match(/\n*$/),r=e.match(/^\n*/),s=i?i[0].length:0,o=r?r[0].length:0;let a,l;return t.match(/\S/)&&s<2&&(a=pN("\n",2-s)),e.match(/\S/)&&o<2&&(l=pN("\n",2-o)),null==a&&(a=""),null==l&&(l=""),{newlinesToAppend:a,newlinesToPrepend:l}}function mN(n){const t=n.split("\n"),e=/^\d+\.\s+/,i=t.every(s=>e.test(s));let r=t;return i&&(r=t.map(s=>s.replace(e,""))),{text:r.join("\n"),processed:i}}function fN(n){const t=n.split("\n"),i=t.every(s=>s.startsWith("- "));let r=t;return i&&(r=t.map(s=>s.slice("- ".length,s.length))),{text:r.join("\n"),processed:i}}function mm(n,t){return t?"- ":`${n+1}. `}function iE(n,t){const e=n.closest("markdown-toolbar");if(!(e instanceof eE))return;const r=Object.assign(Object.assign({},{prefix:"",suffix:"",blockPrefix:"",blockSuffix:"",multiline:!1,replaceNext:"",prefixSpace:!1,scanFor:"",surroundWithNewlines:!1,orderedList:!1,unorderedList:!1,trimFirst:!1}),t),s=e.field;s&&(s.focus(),function gse(n,t){const e=n.value.slice(n.selectionStart,n.selectionEnd);let i;i=t.orderedList||t.unorderedList?function Mse(n,t){const e=n.selectionStart===n.selectionEnd;let i=n.selectionStart,r=n.selectionEnd;!function _se(n){const t=n.value.split("\n");let e=0;for(let i=0;i=e&&n.selectionStart=e&&n.selectionEnd`${mm($e,t.unorderedList)}${Ne}`),f=h.reduce((Ne,$e,it)=>Ne+mm(it,t.unorderedList).length,0),D=h.reduce((Ne,$e,it)=>Ne+mm(it,!t.unorderedList).length,0);if(o.processed)return e?(i=Math.max(i-mm(0,t.unorderedList).length,0),r=i):(i=n.selectionStart,r=n.selectionEnd-f),{text:l,selectionStart:i,selectionEnd:r};const{newlinesToAppend:k,newlinesToPrepend:Y}=nE(n),oe=k+h.join("\n")+Y;return e?(i=Math.max(i+mm(0,t.unorderedList).length+k.length,0),r=i):a.processed?(i=Math.max(n.selectionStart+k.length,0),r=n.selectionEnd+k.length+f-D):(i=Math.max(n.selectionStart+k.length,0),r=n.selectionEnd+k.length+f),{text:oe,selectionStart:i,selectionEnd:r}}(n,t):t.multiline&&tE(e)?function bse(n,t){const{prefix:e,suffix:i,surroundWithNewlines:r}=t;let s=n.value.slice(n.selectionStart,n.selectionEnd),o=n.selectionStart,a=n.selectionEnd;const l=s.split("\n");if(l.every(f=>f.startsWith(e)&&f.endsWith(i)))s=l.map(f=>f.slice(e.length,f.length-i.length)).join("\n"),a=o+s.length;else if(s=l.map(f=>e+f+i).join("\n"),r){const{newlinesToAppend:f,newlinesToPrepend:D}=nE(n);o+=f.length,a=o+s.length,s=f+s+D}return{text:s,selectionStart:o,selectionEnd:a}}(n,t):function vse(n,t){let e,i;const{prefix:r,suffix:s,blockPrefix:o,blockSuffix:a,replaceNext:l,prefixSpace:h,scanFor:f,surroundWithNewlines:D}=t,k=n.selectionStart,Y=n.selectionEnd;let oe=n.value.slice(n.selectionStart,n.selectionEnd),Ne=tE(oe)&&o.length>0?`${o}\n`:r,$e=tE(oe)&&a.length>0?`\n${a}`:s;if(h){const Gt=n.value[n.selectionStart-1];0!==n.selectionStart&&null!=Gt&&!Gt.match(/\s/)&&(Ne=` ${Ne}`)}oe=function yse(n,t,e,i=!1){if(n.selectionStart===n.selectionEnd)n.selectionStart=function pse(n,t){let e=t;for(;n[e]&&null!=n[e-1]&&!n[e-1].match(/\s/);)e--;return e}(n.value,n.selectionStart),n.selectionEnd=function mse(n,t,e){let i=t;const r=e?/\n/:/\s/;for(;n[i]&&!n[i].match(r);)i++;return i}(n.value,n.selectionEnd,i);else{const r=n.selectionStart-t.length,s=n.selectionEnd+e.length,o=n.value.slice(r,n.selectionStart)===t,a=n.value.slice(n.selectionEnd,s)===e;o&&a&&(n.selectionStart=r,n.selectionEnd=s)}return n.value.slice(n.selectionStart,n.selectionEnd)}(n,Ne,$e,t.multiline);let it=n.selectionStart,qe=n.selectionEnd;const Rt=l.length>0&&$e.indexOf(l)>-1&&oe.length>0;if(D){const Gt=nE(n);e=Gt.newlinesToAppend,i=Gt.newlinesToPrepend,Ne=e+r,$e+=i}if(oe.startsWith(Ne)&&oe.endsWith($e)){const Gt=oe.slice(Ne.length,oe.length-$e.length);if(k===Y){let wn=k-Ne.length;wn=Math.max(wn,it),wn=Math.min(wn,it+Gt.length),it=qe=wn}else qe=it+Gt.length;return{text:Gt,selectionStart:it,selectionEnd:qe}}if(Rt){if(f.length>0&&oe.match(f))return $e=$e.replace(l,oe),it=qe=it+Ne.length,{text:Ne+$e,selectionStart:it,selectionEnd:qe};{const Gt=Ne+oe+$e;return it=it+Ne.length+oe.length+$e.indexOf(l),qe=it+l.length,{text:Gt,selectionStart:it,selectionEnd:qe}}}{let Gt=Ne+oe+$e;it=k+Ne.length,qe=Y+Ne.length;const wn=oe.match(/^\s*|\s*$/g);if(t.trimFirst&&wn){const ii=wn[0]||"",Mi=wn[1]||"";Gt=ii+Ne+oe.trim()+$e+Mi,it+=ii.length,qe-=Mi.length}return{text:Gt,selectionStart:it,selectionEnd:qe}}}(n,t),function fse(n,{text:t,selectionStart:e,selectionEnd:i}){const r=n.selectionStart,s=n.value.slice(0,r),o=n.value.slice(n.selectionEnd);if(null===du||!0===du){n.contentEditable="true";try{du=document.execCommand("insertText",!1,t)}catch(a){du=!1}n.contentEditable="false"}if(du&&!n.value.slice(0,n.selectionStart).endsWith(t)&&(du=!1),!du){try{document.execCommand("ms-beginUndoUnit")}catch(a){}n.value=s+t+o;try{document.execCommand("ms-endUndoUnit")}catch(a){}n.dispatchEvent(new CustomEvent("input",{bubbles:!0,cancelable:!0}))}null!=e&&null!=i?n.setSelectionRange(e,i):n.setSelectionRange(r,n.selectionEnd)}(n,i)}(s,r))}let Dse=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=It({type:n,selectors:[["app-markdown-toolbar"]],inputs:{forTextAreaId:"forTextAreaId"},decls:42,vars:1,consts:[["matTooltip","Add bold text","mat-icon-button","","color","accent"],["matTooltip","Add italic text","mat-icon-button","","color","accent"],["matTooltip","Add heading text","mat-icon-button","","color","accent"],["matTooltip","Add a quote","mat-icon-button","","color","accent"],["matTooltip","Add code","mat-icon-button","","color","accent"],["matTooltip","Add a link","mat-icon-button","","color","accent"],["matTooltip","Add a image via link","mat-icon-button","","color","accent"],["matTooltip","Add a bulleted list","mat-icon-button","","color","accent"],["matTooltip","Add a numbered list","mat-icon-button","","color","accent"],["matTooltip","Add a task list","mat-icon-button","","color","accent"]],template:function(e,i){1&e&&(x(0,"markdown-toolbar")(1,"md-bold")(2,"button",0)(3,"mat-icon"),De(4,"format_bold"),O()()(),x(5,"md-italic")(6,"button",1)(7,"mat-icon"),De(8,"format_italic"),O()()(),x(9,"md-header")(10,"button",2)(11,"mat-icon"),De(12,"title"),O()()(),x(13,"md-quote")(14,"button",3)(15,"mat-icon"),De(16,"format_quote"),O()()(),x(17,"md-code")(18,"button",4)(19,"mat-icon"),De(20,"code"),O()()(),x(21,"md-link")(22,"button",5)(23,"mat-icon"),De(24,"link"),O()()(),x(25,"md-image")(26,"button",6)(27,"mat-icon"),De(28,"image"),O()()(),x(29,"md-unordered-list")(30,"button",7)(31,"mat-icon"),De(32,"format_list_bulleted"),O()()(),x(33,"md-ordered-list")(34,"button",8)(35,"mat-icon"),De(36,"format_list_numbered"),O()()(),x(37,"md-task-list")(38,"md-header")(39,"button",9)(40,"mat-icon"),De(41,"task"),O()()()()()),2&e&&hn("for",i.forTextAreaId)},directives:[bi,gl,hs],styles:[""]}),n})();const Ese=["dropArea"],Cse=["commentTextArea"],Tse=["markdownArea"];function Sse(n,t){1&n&&(x(0,"mat-error"),De(1," Description required. "),O())}function kse(n,t){if(1&n&&(x(0,"mat-error"),De(1),O()),2&n){const e=Te();B(1),ln(" Description cannot exceed ",e.maxLength," characters. ")}}function xse(n,t){if(1&n&&(x(0,"mat-hint"),De(1),O()),2&n){const e=Te();B(1),ln(" ",e.maxLength-(null==e.commentField.value?null:e.commentField.value.length)," character(s) remaining. ")}}function Ise(n,t){1&n&&(x(0,"span"),De(1," Attach files by dragging & dropping or select them by clicking here. "),O())}function Ase(n,t){if(1&n&&(x(0,"span",17),De(1),O()),2&n){const e=Te();B(1),ln(" ",e.uploadErrorMessage," ")}}function Rse(n,t){1&n&&bt(0,"markdown",18,19),2&n&&H("data",Te().commentField.value)}function Lse(n,t){1&n&&(x(0,"div"),De(1,"Nothing to preview."),O())}let hc=(()=>{class n{constructor(e,i,r){this.uploadService=e,this.errorHandlingService=i,this.logger=r,this.SUPPORTED_FILE_TYPES=wy,this.placeholderText="No details provided.",this.isFormPendingChange=new jt,this.submitButtonTextChange=new jt,this.dragActiveCounter=0,this.maxLength=4e4}formatFileUploadingButtonText(e){return e+" (Waiting for File Upload to finish...)"}ngOnInit(){if(void 0!==this.initialDescription&&this.commentField.setValue(this.initialDescription),void 0===this.commentField||void 0===this.commentForm||void 0===this.id)throw new Error("Comment Editor's compulsory properties are not defined.");this.initialSubmitButtonText=this.submitButtonText,this.commentField.setValidators([Mr.maxLength(this.maxLength)]),this.history=new X0(75,()=>({text:this.commentTextArea.nativeElement.value,selectStart:this.commentTextArea.nativeElement.selectionStart,selectEnd:this.commentTextArea.nativeElement.selectionEnd}),500)}onKeyPress(e){if(X0.isUndo(e))return e.preventDefault(),void this.undo();if(X0.isRedo(e))return this.redo(),void e.preventDefault();if(this.isControlKeyPressed(e)&&!e.shiftKey)switch(e.code){case"KeyB":e.preventDefault(),this.history.wrapSave(()=>this.insertOrRemoveCharsFromHighlightedText("**"));break;case"KeyI":e.preventDefault(),this.history.wrapSave(()=>this.insertOrRemoveCharsFromHighlightedText("_"));break;default:return}}onDragEnter(e){e.preventDefault(),e.stopPropagation(),this.dragActiveCounter++,this.dropArea.nativeElement.classList.add(this.commentField.disabled?"highlight-drag-box-disabled":"highlight-drag-box")}disableCaretMovement(e){e.preventDefault()}enableFileDrop(e){e.preventDefault()}onDrop(e){if(e.preventDefault(),e.stopPropagation(),this.removeHighlightBorderStyle(),this.commentField.disabled)return;const i=e.dataTransfer.files;if(!(void 0===i||i.length<=0)){this.commentTextArea.nativeElement.focus();for(let r=0;r{this.logger.info(`CommentEditorComponent: File ${r+1} of ${i.length}. Begin uploading ${i[r].name}.`),this.readAndUploadFile(i[r])},250*r)}}onDragExit(e){e.preventDefault(),e.stopPropagation(),this.removeHighlightBorderStyle()}onFileInputUpload(e,i){e.preventDefault(),e.stopPropagation();const r=i.files;r.length>0&&(this.readAndUploadFile(r[0]),i.value="")}updateParentFormsSubmittability(e,i){this.isFormPendingChange.emit(e),this.submitButtonTextChange.emit(i)}readAndUploadFile(e){this.uploadErrorMessage=null;const i=new FileReader,r=e.name,s=function lse(n,t,e){const i=t.value,r=n.split(".").pop();let s;s=ase.includes(r.toLowerCase())?`![Uploading ${n}...]\n`:`[Uploading ${n}...]\n`;const o=e.nativeElement.selectionEnd,a=i.indexOf("\n",o),l=o+s.length;if(-1===a)t.setValue(""===t.value?s:`${t.value}\n${s}`);else{const h=i.slice(0,a+1),f=i.slice(a);t.setValue(`${h+s+f}`)}return e.nativeElement.setSelectionRange(l,l),s}(r,this.commentField,this.commentTextArea);if(e.size>=11534336)return void this.handleUploadError(UF("file",10),s);if(this.uploadService.isVideoFile(r)&&e.size>=6291456)return void this.handleUploadError(UF("video",5),s);if(!this.uploadService.isSupportedFileType(r))return void this.handleUploadError(qF,s);this.lastUploadingTime=(new Date).getTime().toString();const o=this.lastUploadingTime;this.updateParentFormsSubmittability(!0,this.formatFileUploadingButtonText(this.initialSubmitButtonText)),i.onload=()=>{this.uploadService.uploadFile(i.result,r).subscribe(a=>{this.uploadService.isVideoFile(r)?function cse(n,t,e,i){zF(n,`
    video:${t}
    `,e,i)}(r,a.data.content.download_url,this.commentField,this.commentTextArea):function use(n,t,e,i){zF(n,`[${n}](${t})`,e,i)}(r,a.data.content.download_url,this.commentField,this.commentTextArea),this.history.forceSave()},a=>{this.handleUploadError(a,s),o===this.lastUploadingTime&&this.updateParentFormsSubmittability(!1,this.initialSubmitButtonText)},()=>{o===this.lastUploadingTime&&this.updateParentFormsSubmittability(!1,this.initialSubmitButtonText)})},i.readAsDataURL(e)}onPaste(e){this.history.forceSave(null,!0,!1);const i=e.clipboardData.items;let r=null;for(const s of i)if(0===s.type.indexOf("image")){r=s.getAsFile(),e.stopPropagation();break}r&&this.readAndUploadFile(r)}handleBeforeInputChange(e){switch(e.inputType){case"historyUndo":case"historyRedo":e.preventDefault();break;case"insertFromPaste":break;default:this.history.updateBeforeChange()}}handleInputChange(e){switch(e.inputType){case"historyUndo":case"historyRedo":e.preventDefault();break;case"insertFromPaste":break;default:this.history.createDelayedSave()}}undo(){const e=this.history.undo();null!==e&&(this.commentField.setValue(e.text),this.commentTextArea.nativeElement.setSelectionRange(e.selectStart,e.selectEnd))}redo(){const e=this.history.redo();null!==e&&(this.commentTextArea.nativeElement.value=e.text,this.commentTextArea.nativeElement.setSelectionRange(e.selectStart,e.selectEnd))}get isInErrorState(){return!!this.uploadErrorMessage}handleUploadError(e,i){e instanceof md?(this.errorHandlingService.handleError(e),this.uploadErrorMessage="Something went wrong while uploading your file. Please try again."):this.uploadErrorMessage=e,this.commentField.setValue(this.commentField.value.replace(i,"")),this.history.forceSave()}removeHighlightBorderStyle(){this.dragActiveCounter--,0===this.dragActiveCounter&&(this.dropArea.nativeElement.classList.remove("highlight-drag-box"),this.dropArea.nativeElement.classList.remove("highlight-drag-box-disabled"))}isControlKeyPressed(e){return 0===navigator.platform.indexOf("Mac")?e.metaKey:e.ctrlKey}insertOrRemoveCharsFromHighlightedText(e){const i=this.commentTextArea.nativeElement.selectionStart,r=this.commentTextArea.nativeElement.selectionEnd,s=this.commentTextArea.nativeElement.value,o=s.slice(i,r),a=o.trim(),l=o.trimRight().length-a.length,h=o.trimLeft().length-a.length;this.hasCharsBeforeAndAfterHighlight(i,r,s,e)?this.removeCharsBeforeAndAfterHighlightedText(i,r,s,o,e):this.hasCharsInTrimmedHighlight(o,e)?this.removeCharsFromHighlightedText(i,r,s,a,e,l,h):this.insertCharsToHighlightedText(i,r,s,a,e,l,h)}hasCharsBeforeAndAfterHighlight(e,i,r,s){const o=r.slice(e-s.length,e)===s,a=r.slice(i,i+s.length)===s;return o&&a}hasCharsInTrimmedHighlight(e,i){const r=e.trim(),s=r.slice(0,i.length)===i,o=r.slice(-i.length)===i;return s&&o}removeCharsBeforeAndAfterHighlightedText(e,i,r,s,o){this.commentField.setValue(r.slice(0,e-o.length)+s+r.slice(i+o.length)),this.commentTextArea.nativeElement.setSelectionRange(e-o.length,i-o.length)}removeCharsFromHighlightedText(e,i,r,s,o,a,l){this.commentField.setValue(r.slice(0,e)+" ".repeat(a)+s.slice(o.length,-o.length)+" ".repeat(l)+r.slice(i)),this.commentTextArea.nativeElement.setSelectionRange(e+a,i-2*o.length-l)}insertCharsToHighlightedText(e,i,r,s,o,a,l){this.commentField.setValue(r.slice(0,e)+" ".repeat(a)+o+s+o+" ".repeat(l)+r.slice(i)),this.commentTextArea.nativeElement.setSelectionRange(e+o.length+a,i+o.length-l)}}return n.\u0275fac=function(e){return new(e||n)(M(ose),M(Gi),M(ts))},n.\u0275cmp=It({type:n,selectors:[["app-comment-editor"]],viewQuery:function(e,i){if(1&e&&(pn(Ese,7),pn(Cse,7),pn(Tse,5)),2&e){let r;Et(r=Ct())&&(i.dropArea=r.first),Et(r=Ct())&&(i.commentTextArea=r.first),Et(r=Ct())&&(i.markdownArea=r.first)}},inputs:{commentField:"commentField",commentForm:"commentForm",id:"id",initialDescription:"initialDescription",isFormPending:"isFormPending",submitButtonText:"submitButtonText"},outputs:{isFormPendingChange:"isFormPendingChange",submitButtonTextChange:"submitButtonTextChange"},decls:23,vars:15,consts:[[2,"min-height","350px",3,"formGroup"],["animationDuration","0ms",1,"mat-elevation-z1",3,"selectedTabChange"],["label","Write"],[1,"tab-content",3,"dragleave","dragenter","drop","dragover"],["dropArea",""],[3,"forTextAreaId"],["appearance","outline",2,"width","100%"],["matInput","","cdkTextareaAutosize","","cdkAutosizeMinRows","10","cdkAutosizeMaxRows","20",1,"text-input-area",3,"id","formControlName","placeholder","maxlength","paste","keydown","beforeinput","input","dragover"],["commentTextArea","","autosize","cdkTextareaAutosize"],[4,"ngIf"],[1,"drag-and-drop"],["class","error",4,"ngIf"],["type","file",1,"file",3,"disabled","accept","change"],["fileInput",""],["label","Preview"],[1,"tab-content",2,"min-height","228px"],["disableInternalLink","",3,"data",4,"ngIf"],[1,"error"],["disableInternalLink","",3,"data"],["markdownArea",""]],template:function(e,i){if(1&e){const r=an();x(0,"form",0)(1,"mat-tab-group",1),Je("selectedTabChange",function(){Ut(r);const o=ki(9);return i.commentField.setValue(o.value)}),x(2,"mat-tab",2)(3,"div",3,4),Je("dragleave",function(o){return i.onDragExit(o)})("dragenter",function(o){return i.onDragEnter(o)})("drop",function(o){return i.onDrop(o)})("dragover",function(o){return i.enableFileDrop(o)}),bt(5,"app-markdown-toolbar",5),x(6,"mat-form-field",6),bt(7,"mat-label"),x(8,"textarea",7,8),Je("paste",function(o){return i.onPaste(o)})("keydown",function(o){return i.onKeyPress(o)})("beforeinput",function(o){return i.handleBeforeInputChange(o)})("input",function(o){return i.handleInputChange(o)})("dragover",function(o){return i.disableCaretMovement(o)}),O(),Ae(11,Sse,2,0,"mat-error",9),Ae(12,kse,2,1,"mat-error",9),Ae(13,xse,2,1,"mat-hint",9),x(14,"div",10),Ae(15,Ise,2,0,"span",9),Ae(16,Ase,2,1,"span",11),x(17,"input",12,13),Je("change",function(o){Ut(r);const a=ki(18);return i.onFileInputUpload(o,a)}),O()()()()(),x(19,"mat-tab",14)(20,"div",15),Ae(21,Rse,2,1,"markdown",16),Ae(22,Lse,2,0,"div",9),O()()()()}2&e&&(H("formGroup",i.commentForm),B(5),H("forTextAreaId",i.id),B(3),Da("id",i.id),Da("formControlName",i.id),Da("placeholder",i.placeholderText),Da("maxlength",i.maxLength),B(3),H("ngIf",i.commentField.errors&&i.commentField.errors.required&&i.commentField.touched),B(1),H("ngIf",i.commentField.errors&&i.commentField.errors.maxLength),B(1),H("ngIf",(null==i.commentField.value?null:i.commentField.value.length)>=i.maxLength-50),B(2),H("ngIf",!i.isInErrorState),B(1),H("ngIf",i.isInErrorState),B(1),H("disabled",i.commentField.disabled)("accept",i.SUPPORTED_FILE_TYPES),B(4),H("ngIf",""!==i.commentField.value),B(1),H("ngIf",""===i.commentField.value))},directives:[ta,Jo,ds,ly,om,Dse,Er,U_,io,wK,Xl,Co,Pa,Pp,ai,Zp,r0,cl,Qd],styles:[".tab-content[_ngcontent-%COMP%]{padding:10px}.highlight-drag-box[_ngcontent-%COMP%]{border-style:dashed;border-color:#98fb98;border-width:2px}.highlight-drag-box-disabled[_ngcontent-%COMP%]{border-style:dashed;border-color:#fb2a5c;border-width:2px}.drag-and-drop[_ngcontent-%COMP%]{color:#586069;font-size:13px;line-height:16px;position:relative;border-top-style:dashed;border-top-color:#3f51b5;border-top-width:2px;margin-top:5px;padding-top:5px}.error[_ngcontent-%COMP%]{color:#b22222}.file[_ngcontent-%COMP%]{position:absolute;top:0;left:0;opacity:0;width:100%;height:100%;cursor:pointer}"]}),n})();const Bse=["loadingSpinnerContainer"];function jse(n,t){if(1&n){const e=an();x(0,"button",8),Je("click",function(){return Ut(e),Te().changeToEditMode()}),De(1," Edit "),O()}}function Yse(n,t){if(1&n&&(x(0,"div",9),bt(1,"markdown",10),O()),2&n){const e=Te();B(1),H("data",e.issue.description)}}function Hse(n,t){if(1&n){const e=an();x(0,"button",17),Je("click",function(){return Ut(e),Te(2).viewChanges()}),De(1," View Updated Description "),O()}2&n&&H("disabled",Te(2).isSavePending)}function Vse(n,t){if(1&n&&(x(0,"button",18),De(1),O()),2&n){const e=Te(2);H("disabled",e.issueDescriptionForm.invalid||e.isSavePending),B(1),ln(" ",e.submitButtonText," ")}}function qse(n,t){if(1&n&&(x(0,"button",19)(1,"mat-button-content"),De(2),ys(3,null,20),O()()),2&n){const e=Te(2);H("disabled",e.issueDescriptionForm.invalid||e.isSavePending),B(2),ln(" ",e.submitButtonText," ")}}function Use(n,t){if(1&n){const e=an();x(0,"div")(1,"app-comment-editor",11),Je("isFormPendingChange",function(r){return Ut(e),Te().isSavePending=r})("submitButtonTextChange",function(r){return Ut(e),Te().submitButtonText=r}),O(),x(2,"div",12),Ae(3,Hse,2,1,"button",13),x(4,"button",14),Je("click",function(){return Ut(e),Te().openCancelDialogIfModified()}),De(5," Cancel "),O(),Ae(6,Vse,2,2,"button",15),Ae(7,qse,5,2,"button",16),O()()}if(2&n){const e=Te();B(1),H("id","description")("commentField",e.issueDescriptionForm.get("description"))("commentForm",e.issueDescriptionForm)("isFormPending",e.isSavePending)("submitButtonText",e.submitButtonText),B(2),H("ngIf",e.conflict),B(1),H("disabled",e.isSavePending),B(2),H("ngIf",e.conflict),B(1),H("ngIf",!e.conflict)}}let zse=(()=>{class n{constructor(e,i,r,s,o,a,l,h){this.issueService=e,this.formBuilder=i,this.errorHandlingService=r,this.dialog=s,this.phaseService=o,this.permissions=a,this.dialogService=l,this.loadingService=h,this.isSavePending=!1,this.issueUpdated=new jt,this.changeEditState=new jt,this.cancelEditModalMessages=["Do you wish to cancel?","Your changes will be discarded."],this.yesButtonModalMessage="Cancel",this.noButtonModalMessage="Continue editing"}showSpinner(){this.loadingService.addViewContainerRef(this.loadingSpinnerContainer).showLoader(),this.isSavePending=!0}hideSpinner(){this.loadingService.hideLoader(),this.isSavePending=!1}ngOnInit(){this.issueDescriptionForm=this.formBuilder.group({description:[""]}),this.submitButtonText="Save",this.loadingService.addAnimationMode("indeterminate").addSpinnerOptions({diameter:15,strokeWidth:2}).addTheme("warn").addCssClasses(["mat-progress-spinner"])}changeToEditMode(){this.changeEditState.emit(!0),this.issueDescriptionForm.setValue({description:this.issue.description||""})}updateDescription(e){this.issueDescriptionForm.invalid||(this.showSpinner(),this.issueService.getLatestIssue(this.issue.id).pipe(ge(i=>i.description===this.issue.description),ue(i=>i||"Overwrite"===this.submitButtonText?this.issueService.updateIssue(this.getUpdatedIssue()):(this.conflict=new by(this.issue.description,this.issueService.issues[this.issue.id].description),this.submitButtonText="Overwrite",this.viewChanges(),Qi("The content you are editing has changed. Please verify the changes and try again.")))).subscribe(i=>{this.issueUpdated.emit(i),this.resetToDefault(),e.resetForm(),this.hideSpinner()},i=>{this.errorHandlingService.handleError(i),this.hideSpinner()}))}viewChanges(){this.dialog.open(HF,{data:this.conflict,autoFocus:!1})}resetToDefault(){this.submitButtonText="Save",this.conflict=void 0,this.changeEditState.emit(!1)}cancelEditMode(){this.issueService.getIssue(this.issue.id).subscribe(e=>{this.issueUpdated.emit(e),this.resetToDefault()})}openCancelDialogIfModified(){const e=this.dialogService.checkIfFieldIsModified(this.issueDescriptionForm,"description","description",this.issue);this.dialogService.performActionIfModified(e,()=>this.openCancelDialog(),()=>this.cancelEditMode())}openCancelDialog(){this.dialogService.openUserConfirmationModal(this.cancelEditModalMessages,this.yesButtonModalMessage,this.noButtonModalMessage).afterClosed().subscribe(i=>{i&&this.cancelEditMode()})}getUpdatedIssue(){const e=this.issue.clone(this.phaseService.currentPhase);return e.description=ji.updateDescription(this.issueDescriptionForm.get("description").value),e}}return n.\u0275fac=function(e){return new(e||n)(M(Di),M(tc),M(Gi),M(qa),M(er),M(Hs),M(vl),M(Wd))},n.\u0275cmp=It({type:n,selectors:[["app-issue-description"]],viewQuery:function(e,i){if(1&e&&pn(Bse,5,Si),2&e){let r;Et(r=Ct())&&(i.loadingSpinnerContainer=r.first)}},inputs:{issue:"issue",descriptionTitle:"descriptionTitle",isEditing:"isEditing"},outputs:{issueUpdated:"issueUpdated",changeEditState:"changeEditState"},features:[tn([Wd])],decls:13,vars:6,consts:[[1,"mat-title"],[3,"formGroup","ngSubmit"],["myForm","ngForm"],[1,"timeline-comment"],[1,"timeline-header"],["style","float: right","mat-button","",3,"click",4,"ngIf"],["class","comment",4,"ngIf"],[4,"ngIf"],["mat-button","",2,"float","right",3,"click"],[1,"comment"],["disableInternalLink","",3,"data"],[3,"id","commentField","commentForm","isFormPending","submitButtonText","isFormPendingChange","submitButtonTextChange"],[1,"editor-actions"],["class","editor-action","type","button","mat-raised-button","","color","primary",3,"disabled","click",4,"ngIf"],["type","button","mat-stroked-button","","color","warn",1,"editor-action",3,"disabled","click"],["class","editor-action","type","submit","mat-raised-button","","color","warn",3,"disabled",4,"ngIf"],["class","editor-action additional-editor-style","type","submit","mat-stroked-button","","color","primary",3,"disabled",4,"ngIf"],["type","button","mat-raised-button","","color","primary",1,"editor-action",3,"disabled","click"],["type","submit","mat-raised-button","","color","warn",1,"editor-action",3,"disabled"],["type","submit","mat-stroked-button","","color","primary",1,"editor-action","additional-editor-style",3,"disabled"],["loadingSpinnerContainer",""]],template:function(e,i){if(1&e){const r=an();x(0,"h3",0),De(1),O(),x(2,"form",1,2),Je("ngSubmit",function(){Ut(r);const o=ki(3);return i.updateDescription(o)}),x(4,"div",3)(5,"div",4)(6,"span")(7,"strong"),De(8," Tester "),O(),De(9),O(),Ae(10,jse,2,0,"button",5),O(),Ae(11,Yse,2,1,"div",6),Ae(12,Use,8,9,"div",7),O()()}2&e&&(B(1),vi(i.descriptionTitle),B(1),H("formGroup",i.issueDescriptionForm),B(7),ln(" posted on ",i.issue.created_at,". "),B(1),H("ngIf",i.permissions.isIssueDescriptionEditable()&&!i.isEditing),B(1),H("ngIf",!i.isEditing),B(1),H("ngIf",i.isEditing))},directives:[ta,Jo,ds,ai,bi,cl,Qd,hc],styles:["span[_ngcontent-%COMP%]{vertical-align:middle;margin-left:5px}[_nghost-%COMP%] .mat-progress-spinner{color:#00000080;display:inline-block;vertical-align:middle;margin-left:5px}"]}),n})();function Gse(n,t){if(1&n){const e=an();x(0,"button",8),Je("click",function(){return Ut(e),Te().changeToEditMode()}),De(1,"Edit"),O()}}function $se(n,t){if(1&n&&(x(0,"div",9),bt(1,"markdown",10),O()),2&n){const e=Te();B(1),H("data",e.issue.teamResponse)}}function Wse(n,t){if(1&n){const e=an();x(0,"button",17),Je("click",function(){return Ut(e),Te(2).viewChanges()}),De(1," View Updated Response "),O()}2&n&&H("disabled",Te(2).isSavePending)}function Qse(n,t){if(1&n&&(x(0,"button",18),De(1),O()),2&n){const e=Te(2);H("disabled",e.responseForm.invalid||e.isSavePending),B(1),ln(" ",e.submitButtonText," ")}}function Kse(n,t){if(1&n&&(x(0,"button",19),De(1),O()),2&n){const e=Te(2);H("disabled",e.responseForm.invalid||e.isSavePending),B(1),ln(" ",e.submitButtonText," ")}}function Zse(n,t){if(1&n){const e=an();x(0,"div")(1,"app-comment-editor",11),Je("isFormPendingChange",function(r){return Ut(e),Te().isSavePending=r})("submitButtonTextChange",function(r){return Ut(e),Te().submitButtonText=r}),O(),x(2,"div",12),Ae(3,Wse,2,1,"button",13),Ae(4,Qse,2,2,"button",14),Ae(5,Kse,2,2,"button",15),x(6,"button",16),Je("click",function(){return Ut(e),Te().openCancelDialogIfModified()}),De(7," Cancel "),O()()()}if(2&n){const e=Te();B(1),H("id","description")("commentField",e.responseForm.get("description"))("commentForm",e.responseForm)("isFormPending",e.isSavePending)("submitButtonText",e.submitButtonText),B(2),H("ngIf",e.conflict),B(1),H("ngIf",e.conflict),B(1),H("ngIf",!e.conflict),B(1),H("disabled",e.isSavePending)}}let Xse=(()=>{class n{constructor(e,i,r,s,o,a,l){this.issueService=e,this.formBuilder=i,this.errorHandlingService=r,this.permissions=s,this.dialog=o,this.phaseService=a,this.dialogService=l,this.isSavePending=!1,this.issueUpdated=new jt,this.updateEditState=new jt,this.cancelEditModalMessages=["Do you wish to cancel?","Your changes will be discarded."],this.yesButtonModalMessage="Cancel",this.noButtonModalMessage="Continue editing"}ngOnInit(){this.responseForm=this.formBuilder.group({description:[""]}),this.submitButtonText="Save"}changeToEditMode(){this.updateEditState.emit(!0),this.responseForm.setValue({description:this.issue.teamResponse||""})}updateResponse(e){if(this.responseForm.invalid)return;this.isSavePending=!0;const i=this.getUpdatedIssue(),r=Object.assign(Object.assign({},i.issueComment),{description:i.createGithubTeamResponse()});this.isSafeToUpdate().pipe(ue(s=>s||"Overwrite"===this.submitButtonText?this.issueService.updateIssueWithComment(i,r):this.isUpdatingDeletedResponse()?this.issueService.createTeamResponse(i):(this.conflict=new by(this.issue.teamResponse,this.issueService.issues[this.issue.id].teamResponse),this.submitButtonText="Overwrite",this.viewChanges(),Qi("The content you are editing has changed. Please verify the changes and try again."))),Ia(()=>this.isSavePending=!1)).subscribe(s=>{this.issueUpdated.emit(s),this.resetToDefault(),e.resetForm()},s=>{this.errorHandlingService.handleError(s)})}isSafeToUpdate(){return this.issueService.getLatestIssue(this.issue.id).pipe(ge(e=>e.teamResponse===this.issue.teamResponse))}isUpdatingDeletedResponse(){return this.issue.teamResponse&&!this.issueService.issues[this.issue.id].teamResponse}canEditIssue(){return this.permissions.isTeamResponseEditable()}resetToDefault(){this.submitButtonText="Save",this.conflict=void 0,this.updateEditState.emit(!1)}viewChanges(){this.dialog.open(HF,{data:this.conflict,autoFocus:!1})}cancelEditMode(){this.issueService.getIssue(this.issue.id).subscribe(e=>{this.issueUpdated.emit(e),this.resetToDefault()})}openCancelDialogIfModified(){const e=this.dialogService.checkIfFieldIsModified(this.responseForm,"teamResponse","description",this.issue);this.dialogService.performActionIfModified(e,()=>this.openCancelDialog(),()=>this.cancelEditMode())}openCancelDialog(){this.dialogService.openUserConfirmationModal(this.cancelEditModalMessages,this.yesButtonModalMessage,this.noButtonModalMessage).afterClosed().subscribe(i=>{i&&this.cancelEditMode()})}getUpdatedIssue(){const e=this.issue.clone(this.phaseService.currentPhase);return e.teamResponse=ji.updateTeamResponse(this.responseForm.get("description").value),e.status||(e.status=""===e.teamResponse?Ys.Incomplete:Ys.Done),e}}return n.\u0275fac=function(e){return new(e||n)(M(Di),M(tc),M(Gi),M(Hs),M(qa),M(er),M(vl))},n.\u0275cmp=It({type:n,selectors:[["app-team-response"]],inputs:{issue:"issue",isEditing:"isEditing"},outputs:{issueUpdated:"issueUpdated",updateEditState:"updateEditState"},decls:13,vars:4,consts:[[1,"mat-title"],[3,"formGroup","ngSubmit"],["myForm","ngForm"],[1,"timeline-comment"],[1,"timeline-header"],["style","float: right","mat-button","",3,"click",4,"ngIf"],["class","comment",4,"ngIf"],[4,"ngIf"],["mat-button","",2,"float","right",3,"click"],[1,"comment"],["disableInternalLink","",3,"data"],[3,"id","commentField","commentForm","isFormPending","submitButtonText","isFormPendingChange","submitButtonTextChange"],[1,"editor-actions"],["class","editor-action","type","button","mat-raised-button","","color","primary",3,"disabled","click",4,"ngIf"],["class","editor-action","type","submit","mat-raised-button","","color","warn",3,"disabled",4,"ngIf"],["class","editor-action","type","submit","mat-stroked-button","","color","primary",3,"disabled",4,"ngIf"],["type","button","mat-stroked-button","","color","warn",1,"editor-action",3,"disabled","click"],["type","button","mat-raised-button","","color","primary",1,"editor-action",3,"disabled","click"],["type","submit","mat-raised-button","","color","warn",1,"editor-action",3,"disabled"],["type","submit","mat-stroked-button","","color","primary",1,"editor-action",3,"disabled"]],template:function(e,i){if(1&e){const r=an();x(0,"h3",0),De(1,"Team's Response"),O(),x(2,"form",1,2),Je("ngSubmit",function(){Ut(r);const o=ki(3);return i.updateResponse(o)}),x(4,"div",3)(5,"div",4)(6,"span")(7,"strong"),De(8," Team "),O(),De(9," responded. "),O(),Ae(10,Gse,2,0,"button",5),O(),Ae(11,$se,2,1,"div",6),Ae(12,Zse,8,9,"div",7),O()()}2&e&&(B(2),H("formGroup",i.responseForm),B(8),H("ngIf",i.canEditIssue()&&!i.isEditing),B(1),H("ngIf",!i.isEditing),B(1),H("ngIf",i.isEditing))},directives:[ta,Jo,ds,ai,bi,cl,Qd,hc],styles:["span[_ngcontent-%COMP%]{vertical-align:middle;margin-left:5px}"]}),n})();class vN extends K{constructor(t=Number.POSITIVE_INFINITY,e=Number.POSITIVE_INFINITY,i){super(),this.scheduler=i,this._events=[],this._infiniteTimeWindow=!1,this._bufferSize=t<1?1:t,this._windowTime=e<1?1:e,e===Number.POSITIVE_INFINITY?(this._infiniteTimeWindow=!0,this.next=this.nextInfiniteTimeWindow):this.next=this.nextTimeWindow}nextInfiniteTimeWindow(t){if(!this.isStopped){const e=this._events;e.push(t),e.length>this._bufferSize&&e.shift()}super.next(t)}nextTimeWindow(t){this.isStopped||(this._events.push(new Jse(this._getNow(),t)),this._trimBufferThenGetEvents()),super.next(t)}_subscribe(t){const e=this._infiniteTimeWindow,i=e?this._events:this._trimBufferThenGetEvents(),r=this.scheduler,s=i.length;let o;if(this.closed)throw new E;if(this.isStopped||this.hasError?o=P.EMPTY:(this.observers.push(t),o=new G(this,t)),r&&t.add(t=new Yg(t,r)),e)for(let a=0;ae&&(o=Math.max(o,s-e)),o>0&&r.splice(0,o),r}}class Jse{constructor(t,e){this.time=t,this.value=e}}var Kt=(()=>(function(n){n.ID="id",n.TITLE="title",n.TEAM_ASSIGNED="teamAssigned",n.TYPE="type",n.SEVERITY="severity",n.RESPONSE="response",n.TESTER_DISAGREE="testerDisagree",n.ASSIGNEE="assignees",n.DUPLICATED_ISSUES="duplicatedIssues",n.TODO="Todo Remaining",n.ACTIONS="actions"}(Kt||(Kt={})),Kt))();function rE(n,t,e,i){const r=n.toLowerCase();return i.slice().filter(o=>{for(const a of t)switch(a){case Kt.ASSIGNEE:if(toe(o.assignees,r))return!0;break;case Kt.DUPLICATED_ISSUES:if(noe(e,o.id,r))return!0;break;default:if(ioe(o,a,r))return!0}return!1})}function bN(n,t){return-1!==n.indexOf(t)}function toe(n,t){return n.some(e=>bN(e.toLowerCase(),t))}function noe(n,t,e){return function eoe(n,t){return 0!==n.filter(e=>`#${String(e.id)}`.includes(t)).length}(n.issues$.getValue().filter(r=>r.duplicateOf===t),e)}function ioe(n,t,e){return bN(String(n[t]).toLowerCase(),e)}function roe(n,t){if(1&n){const e=an();x(0,"button",6),Je("click",function(){return Ut(e),Te().openSelector()}),x(1,"mat-icon",7),De(2," edit "),O()()}}function soe(n,t){if(1&n&&(x(0,"mat-option",8),De(1),O()),2&n){const e=t.$implicit;H("value",e),B(1),vi(e)}}function ooe(n,t){1&n&&(x(0,"p",9),De(1,"-"),O())}function aoe(n,t){if(1&n&&(x(0,"mat-list-item",12),De(1),O()),2&n){const e=t.$implicit;B(1),vi(e)}}function loe(n,t){if(1&n&&(x(0,"mat-list",10),Ae(1,aoe,2,1,"mat-list-item",11),O()),2&n){const e=Te();B(1),H("ngForOf",e.issue.assignees)}}let wN=(()=>{class n{constructor(e,i,r,s){this.issueService=e,this.errorHandlingService=i,this.phaseService=r,this.permissions=s,this.isInEditMode=!1,this.isEditable=!0,this.issueUpdated=new jt}ngOnInit(){this.teamMembers=this.team.teamMembers.map(e=>e.loginId),this.assignees=this.issue.assignees.map(e=>e)}openSelector(){this.isInEditMode=!0,this.assigneeSelection.open()}handleEditMode(e){e||(this.isInEditMode=!1)}updateAssignee(){const e=this.issue.clone(this.phaseService.currentPhase),i=e.assignees;e.assignees=this.assignees,this.issueService.updateIssue(e).subscribe(r=>{this.issueUpdated.emit(r),this.issueService.getDuplicateIssuesFor(this.issue).pipe(Js()).subscribe(s=>{s.forEach(o=>{const a=o.clone(this.phaseService.currentPhase);a.assignees=this.assignees,this.issueService.updateIssue(a)})})},r=>{this.errorHandlingService.handleError(r),this.assignees=i})}}return n.\u0275fac=function(e){return new(e||n)(M(Di),M(Gi),M(er),M(Hs))},n.\u0275cmp=It({type:n,selectors:[["app-assignee-component"]],viewQuery:function(e,i){if(1&e&&pn(ko,7),2&e){let r;Et(r=Ct())&&(i.assigneeSelection=r.first)}},inputs:{issue:"issue",team:"team",isEditable:"isEditable"},outputs:{issueUpdated:"issueUpdated"},decls:9,vars:7,consts:[[1,"mat-title"],["style","float: right","mat-icon-button","",3,"click",4,"ngIf"],["placeholder","-","multiple","",1,"no-arrow",3,"ngModel","openedChange","closed","ngModelChange"],[3,"value",4,"ngFor","ngForOf"],["style","margin-top: 5px",4,"ngIf"],["style","padding-top: 0","dense","",4,"ngIf"],["mat-icon-button","",2,"float","right",3,"click"],[2,"font-size","20px","margin-bottom","7px","color","#586069"],[3,"value"],[2,"margin-top","5px"],["dense","",2,"padding-top","0"],["style","font-size: 1em",4,"ngFor","ngForOf"],[2,"font-size","1em"]],template:function(e,i){1&e&&(x(0,"div")(1,"span",0),De(2," Assignees "),O(),Ae(3,roe,3,0,"button",1),x(4,"mat-select",2),Je("openedChange",function(s){return i.handleEditMode(s)})("closed",function(){return i.updateAssignee()})("ngModelChange",function(s){return i.assignees=s}),bt(5,"mat-select-trigger"),Ae(6,soe,2,2,"mat-option",3),O(),Ae(7,ooe,2,0,"p",4),Ae(8,loe,2,1,"mat-list",5),O()),2&e&&(B(3),H("ngIf",i.permissions.isIssueLabelsEditable()&&i.isEditable&&!i.issue.duplicateOf),B(1),Fr("display",i.isInEditMode?"block":"none"),H("ngModel",i.assignees),B(2),H("ngForOf",i.teamMembers),B(1),H("ngIf",0===i.issue.assignees.length),B(1),H("ngIf",i.issue.assignees.length>0))},directives:[ai,bi,hs,ko,Co,oD,g0,Br,sa,YZ,HZ],styles:[".no-arrow .mat-select-arrow{visibility:hidden}mat-list-item div.mat-list-item-content{padding-left:0}\n"],encapsulation:2}),n})();function coe(n,t){if(1&n&&(x(0,"div",9),bt(1,"div",12),O()),2&n){const e=Te();B(1),H("innerHTML",e.updatedHtml,Lc)}}function uoe(n,t){if(1&n&&(x(0,"div"),bt(1,"mat-divider"),x(2,"span",13),De(3," Type "),O(),x(4,"p",14),De(5),O()()),2&n){const e=Te();B(4),H("ngStyle",e.labelService.setLabelStyle(e.labelService.getColorOfLabel(e.data.type))),B(1),ln(" ",e.data.type||"-"," ")}}function doe(n,t){if(1&n&&(x(0,"div"),bt(1,"mat-divider"),x(2,"span",13),De(3," Severity "),O(),x(4,"p",14),De(5),O()()),2&n){const e=Te();B(4),H("ngStyle",e.labelService.setLabelStyle(e.labelService.getColorOfLabel(e.data.severity))),B(1),ln(" ",e.data.severity||"-"," ")}}function hoe(n,t){if(1&n&&(x(0,"div"),bt(1,"mat-divider"),x(2,"span",13),De(3," Response "),O(),x(4,"p",14),De(5),O()()),2&n){const e=Te();B(4),H("ngStyle",e.labelService.setLabelStyle(e.labelService.getColorOfLabel(e.data.response))),B(1),ln(" ",e.data.response||"-"," ")}}function poe(n,t){if(1&n&&(x(0,"div"),bt(1,"mat-divider")(2,"app-assignee-component",15),O()),2&n){const e=Te();B(2),H("issue",e.data)("team",e.data.teamAssigned)("isEditable",!1)}}function moe(n,t){if(1&n&&(x(0,"div"),bt(1,"mat-divider"),x(2,"div")(3,"span",13),De(4,"A Duplicate Of:"),O(),x(5,"p",16),De(6),ls(7,"async"),O()()()),2&n){const e=Te();B(6),ln(" ","#"+e.data.duplicateOf+": "+cs(7,1,e.issueService.getIssue(e.data.duplicateOf)).title," ")}}let foe=(()=>{class n{constructor(e,i,r,s,o){this.dialogRef=e,this.data=i,this.sanitizer=r,this.labelService=s,this.issueService=o,this.isOnPreview=!1,this.isReady=!1,this.updatedHtml=this.sanitizer.bypassSecurityTrustHtml(Q0(W0(i.teamResponse))),this.isReady=!0}close(){this.dialogRef.close()}handleTabChange(e){this.isOnPreview=1===e.index}}return n.\u0275fac=function(e){return new(e||n)(M(Va),M(ou),M(sl),M(ei),M(Di))},n.\u0275cmp=It({type:n,selectors:[["app-conflict-dialog"]],decls:21,vars:8,consts:[[2,"display","flex","margin-bottom","20px","align-items","center"],["mat-dialog-title","",2,"margin","0"],["mat-icon-button","","color","default",2,"margin","0 0 0 auto",3,"click"],["mat-dialog-content","",2,"display","flex"],[1,"column","left"],["animationDuration","0ms",1,"mat-elevation-z1",3,"selectedTabChange"],["label","Updated Markdown Text"],["class","tab-content",4,"ngIf"],["label","Preview"],[1,"tab-content"],[1,"column","right"],[4,"ngIf"],[3,"innerHTML"],[1,"mat-title"],[3,"ngStyle"],[3,"issue","team","isEditable"],[2,"margin-top","5px"]],template:function(e,i){1&e&&(x(0,"div",0)(1,"h1",1),De(2),O(),x(3,"button",2),Je("click",function(){return i.close()}),x(4,"mat-icon"),De(5,"close"),O()()(),x(6,"div",3)(7,"div",4)(8,"mat-tab-group",5),Je("selectedTabChange",function(s){return i.handleTabChange(s)}),x(9,"mat-tab",6),Ae(10,coe,2,1,"div",7),O(),x(11,"mat-tab",8)(12,"div",9)(13,"markdown"),De(14),O()()()()(),x(15,"div",10),Ae(16,uoe,6,2,"div",11),Ae(17,doe,6,2,"div",11),Ae(18,hoe,6,2,"div",11),Ae(19,poe,3,3,"div",11),Ae(20,moe,8,3,"div",11),O()()),2&e&&(B(2),vi("A new response was submitted by another user"),B(8),H("ngIf",i.isReady),B(4),vi(i.data.teamResponse),B(2),H("ngIf",i.data.type),B(1),H("ngIf",i.data.severity),B(1),H("ngIf",i.data.response),B(1),H("ngIf",i.data.assignees),B(1),H("ngIf",i.data.duplicateOf))},directives:[au,bi,hs,lu,ly,om,ai,cl,ey,ql,wN],pipes:[rl],styles:[".tab-content[_ngcontent-%COMP%]{padding:10px;min-height:300px;max-height:55vh}.column.left[_ngcontent-%COMP%]{min-width:60vh;width:100%}.column.right[_ngcontent-%COMP%]{max-width:15%;min-width:20vh;width:100%}.column[_ngcontent-%COMP%]{padding:10px}"]}),n})();function goe(n,t){1&n&&(x(0,"mat-icon",5),De(1,"cancel"),O())}const _oe=function(n){return[n]};function yoe(n,t){if(1&n){const e=an();x(0,"mat-chip",2),Je("removed",function(){const s=Ut(e).$implicit;return Te().removeDuplicateStatus(s)}),x(1,"a",3),De(2),O(),Ae(3,goe,2,0,"mat-icon",4),O()}if(2&n){const e=t.$implicit,i=Te();H("matTooltip",e.title),B(1),H("routerLink",$o(4,_oe,"../"+e.id)),B(1),ln(" #",e.id," "),B(1),H("ngIf",i.permissions.isTeamResponseEditable()||i.permissions.isTutorResponseEditable())}}let MN=(()=>{class n{constructor(e,i,r,s){this.issueService=e,this.errorHandlingService=i,this.phaseService=r,this.permissions=s}ngOnInit(){this.duplicatedIssues=this.issueService.getDuplicateIssuesFor(this.issue)}removeDuplicateStatus(e){const i=this.getUpdatedIssueWithRemovedDuplicate(e);this.issueService.updateIssueWithComment(i,i.issueComment).subscribe(r=>this.issueService.updateLocalStore(r),r=>this.errorHandlingService.handleError(r))}getUpdatedIssueWithRemovedDuplicate(e){const i=e.clone(this.phaseService.currentPhase);return i.duplicated=!1,i.duplicateOf=null,i.issueComment.description=i.createGithubTeamResponse(),i}}return n.\u0275fac=function(e){return new(e||n)(M(Di),M(Gi),M(er),M(Hs))},n.\u0275cmp=It({type:n,selectors:[["app-duplicated-issues-component"]],inputs:{issue:"issue"},decls:6,vars:3,consts:[[1,"mat-title"],["style","cursor: pointer","matTooltipPosition","above",3,"matTooltip","removed",4,"ngFor","ngForOf"],["matTooltipPosition","above",2,"cursor","pointer",3,"matTooltip","removed"],[1,"no-underline","link-grey-dark",3,"routerLink"],["matChipRemove","",4,"ngIf"],["matChipRemove",""]],template:function(e,i){1&e&&(x(0,"div")(1,"span",0),De(2," Duplicated Issues "),O(),x(3,"mat-chip-list"),Ae(4,yoe,4,6,"mat-chip",1),ls(5,"async"),O()()),2&e&&(B(4),H("ngForOf",cs(5,1,i.duplicatedIssues)))},directives:[G_,Br,Yd,gl,Ed,ai,hs,mO],pipes:[rl],styles:[""],encapsulation:2}),n})();function voe(n,t){if(1&n){const e=an();x(0,"button",9),Je("click",function(){Ut(e);const r=Te().$implicit;return Te().openModalPopup(r)}),x(1,"mat-icon",10),De(2,"info"),O()()}}const boe=function(){return{background:"transparent"}},woe=function(n){return{color:n}};function Moe(n,t){if(1&n&&(x(0,"div",5)(1,"mat-option",6)(2,"mat-icon",7),De(3,"stop"),O(),x(4,"span"),De(5),O()(),Ae(6,voe,3,0,"button",8),O()),2&n){const e=t.$implicit,i=Te();B(1),H("value",e.labelValue)("ngStyle",kf(5,boe)),B(1),H("ngStyle",$o(6,woe,"#"+e.labelColor)),B(3),ln(" ",e.labelValue,""),B(1),H("ngIf",i.hasLabelDefinition(e))}}function Doe(n,t){if(1&n&&(x(0,"mat-error"),De(1),O()),2&n){const e=Te();B(1),ln(" ",e.labelService.getLabelTitle(e.attributeName)," required. ")}}let DN=(()=>{class n{constructor(e,i){this.labelService=e,this.dialogService=i}ngOnInit(){this.selectedColor=this.labelService.getColorOfLabel(this.attributeName,this.initialValue),this.labelList=this.labelService.getLabelList(this.attributeName),this.dropdownControl=this.dropdownForm.get(this.attributeName)}setSelectedLabelColor(e,i){this.selectedColor=this.labelService.getColorOfLabel(e,i)}openModalPopup(e){this.dialogService.openLabelDefinitionDialog(e.getFormattedName(),this.labelService.getLabelDefinition(e.labelValue,e.labelCategory))}hasLabelDefinition(e){return null!==this.labelService.getLabelDefinition(e.labelValue,e.labelCategory)}get dropdownTextColor(){return this.labelService.isDarkColor(this.selectedColor)?"white-text":"black-text"}}return n.\u0275fac=function(e){return new(e||n)(M(ei),M(vl))},n.\u0275cmp=It({type:n,selectors:[["app-label-dropdown"]],inputs:{attributeName:"attributeName",initialValue:"initialValue",dropdownForm:"dropdownForm"},decls:7,vars:8,consts:[[3,"formGroup"],[2,"width","100%"],["required","","disableOptionCentering","",3,"ngClass","formControlName","placeholder","ngStyle","selectionChange"],["mat-menu-item","","class","labelLine",4,"ngFor","ngForOf"],[4,"ngIf"],["mat-menu-item","",1,"labelLine"],[3,"value","ngStyle"],[3,"ngStyle"],["class","infoPopup",3,"click",4,"ngIf"],[1,"infoPopup",3,"click"],[2,"font-size","20px"]],template:function(e,i){1&e&&(x(0,"form",0)(1,"mat-form-field",1)(2,"mat-select",2),Je("selectionChange",function(s){return i.setSelectedLabelColor(i.attributeName,s.value)}),x(3,"mat-select-trigger"),De(4),O(),Ae(5,Moe,7,8,"div",3),O(),Ae(6,Doe,2,1,"mat-error",4),O()()),2&e&&(H("formGroup",i.dropdownForm),B(2),Da("formControlName",i.attributeName),Da("placeholder",i.labelService.getLabelTitle(i.attributeName)),H("ngClass",i.dropdownTextColor)("ngStyle",i.labelService.setLabelStyle(i.selectedColor,"inline-block")),B(2),ln(" ",i.dropdownControl.value," "),B(1),H("ngForOf",i.labelList),B(1),H("ngIf",i.dropdownControl.errors&&i.dropdownControl.errors.required&&i.dropdownControl.touched))},directives:[ta,Jo,ds,Er,ko,tu,Hc,Co,Pa,ql,g0,Br,lc,sa,hs,ai,Zp],styles:[".white-text .mat-select-value-text{color:#fff!important} .black-text .mat-select-value-text{color:#000!important}.infoPopup[_ngcontent-%COMP%]{background:transparent;border:none;outline:none;text-align:center}.labelLine[_ngcontent-%COMP%]{display:grid;grid-template-columns:auto 20%}"]}),n})();function Toe(n,t){if(1&n&&(x(0,"span",30),De(1),O()),2&n){const e=Te().$implicit,i=Te(2);B(1),ln(" (",i.getDisabledDupOptionErrorText(e),") ")}}function Soe(n,t){if(1&n&&(x(0,"mat-option",26)(1,"span",27),De(2),O(),x(3,"span",28),De(4),O(),Ae(5,Toe,2,1,"span",29),O()),2&n){const e=t.$implicit,i=Te(2);H("disabled",i.dupIssueOptionIsDisabled(e))("value",e.id),B(2),ln(" #",e.id,": "),B(2),vi(e.title),B(1),H("ngIf",i.dupIssueOptionIsDisabled(e))}}function koe(n,t){1&n&&(x(0,"mat-error"),De(1," Need to specify the duplicated issue. "),O())}function xoe(n,t){if(1&n){const e=an();x(0,"div",6)(1,"div")(2,"mat-checkbox",21),Je("change",function(r){return Ut(e),Te().handleChangeOfDuplicateCheckbox(r)}),De(3," A Duplicate Of: "),O(),x(4,"mat-form-field",22)(5,"mat-select",23)(6,"mat-option"),bt(7,"ngx-mat-select-search",24),O(),Ae(8,Soe,6,5,"mat-option",25),ls(9,"async"),O(),Ae(10,koe,2,0,"mat-error",13),O()()()}if(2&n){const e=Te();B(4),Fr("visibility",e.duplicated.value?"visible":"hidden"),B(3),H("formControl",e.searchFilterCtrl),B(1),H("ngForOf",cs(9,5,e.filteredDuplicateIssueList)),B(2),H("ngIf",e.duplicateOf.errors&&e.duplicateOf.errors.required&&e.duplicateOf.touched)}}function Ioe(n,t){if(1&n&&(x(0,"div",6),bt(1,"app-duplicated-issues-component",31),O()),2&n){const e=Te();B(1),H("issue",e.issue)}}function Aoe(n,t){if(1&n&&(x(0,"mat-option",32),De(1),O()),2&n){const e=t.$implicit;H("value",e),B(1),vi(e)}}function Roe(n,t){1&n&&(x(0,"mat-error"),De(1," Assignee(s) required. "),O())}function Loe(n,t){if(1&n){const e=an();x(0,"button",33),Je("click",function(){return Ut(e),Te().viewUpdatedResponse()}),De(1," View Updated Response "),O()}2&n&&H("disabled",Te().isFormPending)}function Ooe(n,t){if(1&n&&(x(0,"button",34),De(1),O()),2&n){const e=Te();H("disabled",e.newTeamResponseForm.invalid||e.isFormPending),B(1),ln(" ",e.submitButtonText," ")}}function Poe(n,t){if(1&n&&(x(0,"button",35),De(1),O()),2&n){const e=Te();H("disabled",e.newTeamResponseForm.invalid||e.isFormPending),B(1),ln(" ",e.submitButtonText," ")}}function Foe(n,t){if(1&n){const e=an();x(0,"button",36),Je("click",function(){return Ut(e),Te().refresh()}),De(1," Cancel "),O()}2&n&&H("disabled",Te().isFormPending)}let Noe=(()=>{class n{constructor(e,i,r,s,o,a){this.issueService=e,this.formBuilder=i,this.labelService=r,this.errorHandlingService=s,this.dialog=o,this.phaseService=a,this.searchFilterCtrl=new ea,this.filteredDuplicateIssueList=new vN(1),this.isFormPending=!1,this.issueUpdated=new jt,this._onDestroy=new K}ngOnInit(){this.teamMembers=this.issue.teamAssigned.teamMembers.map(e=>e.loginId),this.duplicatedIssueList=this.getDupIssueList(),this.duplicatedIssueList.pipe(Js()).subscribe(e=>this.filteredDuplicateIssueList.next(e)),this.searchFilterCtrl.valueChanges.pipe(vn(this._onDestroy)).subscribe(e=>this.filterIssues()),this.newTeamResponseForm=this.formBuilder.group({description:[""],severity:[this.issue.severity,Mr.required],type:[this.issue.type,Mr.required],response:[this.issue.response,Mr.required],assignees:[this.issue.assignees.map(e=>e.toLowerCase())],duplicated:[!1],duplicateOf:[""]}),this.duplicated.valueChanges.subscribe(e=>{e?(this.duplicateOf.setValidators(Mr.required),this.responseTag.setValidators(null)):(this.duplicateOf.setValidators(null),this.responseTag.setValidators(Mr.required)),this.duplicateOf.updateValueAndValidity(),this.responseTag.updateValueAndValidity()}),this.submitButtonText="Submit"}filterIssues(){this.changeFilter(this.duplicatedIssueList,this.searchFilterCtrl.value).subscribe(e=>this.filteredDuplicateIssueList.next(e))}changeFilter(e,i){return e.pipe(Js(),ge(r=>rE(i,[Kt.ID,Kt.TITLE],this.issueService,r)))}ngOnDestroy(){this._onDestroy.next(),this._onDestroy.complete()}submitNewTeamResponse(e){if(this.newTeamResponseForm.invalid)return;this.isFormPending=!0;const i=this.getUpdatedIssue();this.isSafeToSubmit().pipe(ue(r=>{const s=i.createGithubTeamResponse();return r?this.issueService.createTeamResponse(i):"Overwrite"===this.submitButtonText?this.issueService.updateIssueWithComment(i,{id:this.issueService.issues[this.issue.id].issueComment.id,description:s}):(this.conflict=new by(" ",this.issueService.issues[this.issue.id].teamResponse),this.submitButtonText="Overwrite",this.viewUpdatedResponse(),Qi("A response has been submitted. Please verify the changes and try again."))}),Ia(()=>this.isFormPending=!1)).subscribe(r=>{this.issueUpdated.emit(r),e.resetForm()},r=>{this.errorHandlingService.handleError(r)})}isSafeToSubmit(){return this.issueService.getLatestIssue(this.issue.id).pipe(ge(e=>!e.teamResponse))}getUpdatedIssue(){const e=this.issue.clone(this.phaseService.currentPhase);if(e.duplicated=this.duplicated.value,e.duplicateOf=this.duplicateOf.value,e.duplicated){const i=this.issueService.issues[e.duplicateOf];e.severity=i.severity,e.type=i.type,e.assignees=i.assignees,e.response=i.response}else e.severity=this.severity.value,e.type=this.type.value,e.assignees=this.assignees.value,e.response=this.responseTag.value;return e.status=Ys.Done,e.teamResponse=ji.updateTeamResponse(this.description.value),e}dupIssueOptionIsDisabled(e){return e.duplicated||!!e.duplicateOf}getDisabledDupOptionErrorText(e){return this.dupIssueOptionIsDisabled(e)?"Duplicate of #"+e.duplicateOf:""}handleChangeOfDuplicateCheckbox(e){e.checked?(this.responseTag.setValue(""),this.assignees.setValue([]),this.responseTag.markAsUntouched()):(this.duplicateOf.setValue(""),this.duplicateOf.markAsUntouched())}viewUpdatedResponse(){this.dialog.open(foe,{data:this.issueService.issues[this.issue.id],autoFocus:!1})}refresh(){this.issueUpdated.emit(this.issueService.issues[this.issue.id])}getDupIssueList(){return this.issueService.issues$.pipe(ge(e=>e.filter(i=>this.issue.id!==i.id)))}get description(){return this.newTeamResponseForm.get("description")}get severity(){return this.newTeamResponseForm.get("severity")}get type(){return this.newTeamResponseForm.get("type")}get assignees(){return this.newTeamResponseForm.get("assignees")}get responseTag(){return this.newTeamResponseForm.get("response")}get duplicated(){return this.newTeamResponseForm.get("duplicated")}get duplicateOf(){return this.newTeamResponseForm.get("duplicateOf")}}return n.\u0275fac=function(e){return new(e||n)(M(Di),M(tc),M(ei),M(Gi),M(qa),M(er))},n.\u0275cmp=It({type:n,selectors:[["app-new-team-response"]],inputs:{issue:"issue"},outputs:{issueUpdated:"issueUpdated"},decls:29,vars:26,consts:[[3,"formGroup","ngSubmit"],["myForm","ngForm"],[1,"timeline-comment"],[1,"timeline-header"],["class","container",4,"ngIf","ngIfElse"],["displayDuplicates",""],[1,"container"],[1,"left-half"],["attributeName","severity",3,"initialValue","dropdownForm"],[1,"right-half"],["attributeName","type",3,"initialValue","dropdownForm"],["placeholder","Assignees","formControlName","assignees","multiple",""],[3,"value",4,"ngFor","ngForOf"],[4,"ngIf"],["attributeName","response",3,"initialValue","dropdownForm"],[3,"id","commentField","commentForm","isFormPending","submitButtonText","isFormPendingChange","submitButtonTextChange"],[1,"editor-actions"],["class","editor-action","type","button","mat-raised-button","","color","primary",3,"disabled","click",4,"ngIf"],["class","editor-action","type","submit","mat-raised-button","","color","warn",3,"disabled",4,"ngIf"],["type","submit","class","editor-action","mat-stroked-button","","color","primary",3,"disabled",4,"ngIf"],["class","editor-action","type","button","mat-stroked-button","","color","warn","matTooltip","Updated response will overwrite your changes",3,"disabled","click",4,"ngIf"],["formControlName","duplicated",2,"display","inline-block","width","20%",3,"change"],[2,"display","inline-block","width","50%"],["formControlName","duplicateOf","placeholder","Duplicate of"],["placeholderLabel","Search issues","noEntriesFoundLabel","No issues found",3,"formControl"],[3,"disabled","value",4,"ngFor","ngForOf"],[3,"disabled","value"],[1,"mat-body-strong"],[1,"mat-body"],["class","mat-caption","style","color: #f44336",4,"ngIf"],[1,"mat-caption",2,"color","#f44336"],[3,"issue"],[3,"value"],["type","button","mat-raised-button","","color","primary",1,"editor-action",3,"disabled","click"],["type","submit","mat-raised-button","","color","warn",1,"editor-action",3,"disabled"],["type","submit","mat-stroked-button","","color","primary",1,"editor-action",3,"disabled"],["type","button","mat-stroked-button","","color","warn","matTooltip","Updated response will overwrite your changes",1,"editor-action",3,"disabled","click"]],template:function(e,i){if(1&e){const r=an();x(0,"form",0,1),Je("ngSubmit",function(){Ut(r);const o=ki(1);return i.submitNewTeamResponse(o)}),x(2,"div",2)(3,"div",3)(4,"span"),De(5," Post your team's response here. "),O()(),x(6,"div"),Ae(7,xoe,11,7,"div",4),ls(8,"async"),Ae(9,Ioe,2,1,"ng-template",null,5,cd),x(11,"div",6)(12,"div",7),bt(13,"app-label-dropdown",8),O(),x(14,"div",9),bt(15,"app-label-dropdown",10),O()(),x(16,"div",6)(17,"mat-form-field",7)(18,"mat-select",11),Ae(19,Aoe,2,2,"mat-option",12),O(),Ae(20,Roe,2,0,"mat-error",13),O(),x(21,"div",9),bt(22,"app-label-dropdown",14),O()(),x(23,"app-comment-editor",15),Je("isFormPendingChange",function(o){return i.isFormPending=o})("submitButtonTextChange",function(o){return i.submitButtonText=o}),O(),x(24,"div",16),Ae(25,Loe,2,1,"button",17),Ae(26,Ooe,2,2,"button",18),Ae(27,Poe,2,2,"button",19),Ae(28,Foe,2,1,"button",20),O()()()()}if(2&e){const r=ki(10);H("formGroup",i.newTeamResponseForm),B(7),H("ngIf",0===cs(8,24,i.issueService.getDuplicateIssuesFor(i.issue)).length)("ngIfElse",r),B(4),Fr("display",i.duplicated.value?"none":"grid"),B(2),H("initialValue",i.issue.severity)("dropdownForm",i.newTeamResponseForm),B(2),H("initialValue",i.issue.type)("dropdownForm",i.newTeamResponseForm),B(1),Fr("display",i.duplicated.value?"none":"grid"),B(3),H("ngForOf",i.teamMembers),B(1),H("ngIf",i.assignees.errors&&i.assignees.errors.required&&i.assignees.touched),B(2),H("initialValue",i.issue.response)("dropdownForm",i.newTeamResponseForm),B(1),H("id","description")("commentField",i.newTeamResponseForm.get("description"))("commentForm",i.newTeamResponseForm)("isFormPending",i.isFormPending)("submitButtonText",i.submitButtonText),B(2),H("ngIf",i.conflict),B(1),H("ngIf",i.conflict),B(1),H("ngIf",!i.conflict),B(1),H("ngIf",i.conflict)}},directives:[ta,Jo,ds,ai,ac,Co,Pa,Er,ko,sa,wi,Op,Br,Zp,MN,DN,hc,bi,gl],pipes:[rl],styles:[".left-half[_ngcontent-%COMP%]{grid-column:1;padding-right:5px}.right-half[_ngcontent-%COMP%]{grid-column:2;padding-left:5px}.container[_ngcontent-%COMP%]{padding:10px 20px 0;display:grid}"]}),n})(),Boe=(()=>{class n{constructor(){}ngOnInit(){}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=It({type:n,selectors:[["app-parse-error"]],inputs:{phase:"phase"},decls:7,vars:2,consts:[[1,"timeline-comment"],[1,"timeline-header"],[1,"comment"]],template:function(e,i){1&e&&(x(0,"div",0)(1,"div",1)(2,"span")(3,"strong"),De(4),O()()(),x(5,"div",2),De(6),O()()),2&e&&(B(4),ln("Error in parsing ",i.phase,""),B(2),ln("No valid ",i.phase," was found. Please contact the teaching team for assistance."))},styles:[".timeline-header[_ngcontent-%COMP%]{background-color:#f7d2d2;border-bottom:1px solid #ebc0c0;border-top-left-radius:3px;border-top-right-radius:3px;color:#586069;height:35px;padding:5px 10px;display:flex;align-items:center;justify-content:space-between}.timeline-comment[_ngcontent-%COMP%]{overflow:auto;border:1px solid #ebc0c0;background-color:#fff;border-radius:3px;margin-bottom:30px;white-space:pre-line}.comment[_ngcontent-%COMP%]{padding:15px}"]}),n})();function joe(n,t){1&n&&(x(0,"mat-chip",19),De(1," No Changes "),O())}function Yoe(n,t){if(1&n&&(x(0,"div",20)(1,"mat-checkbox",21),De(2," I disagree "),O()()),2&n){const e=Te().index,i=Te();B(1),H("disabled",!0)("checked",i.data.updatedResponses[e].isDisagree())}}function Hoe(n,t){1&n&&(x(0,"div",22)(1,"i",23),De(2,"add_box"),O(),x(3,"ins",24),De(4," I disagree "),O()())}function Voe(n,t){1&n&&(x(0,"div",22)(1,"i",25),De(2,"indeterminate_check_box"),O(),x(3,"del",26),De(4,"I disagree"),O()())}function qoe(n,t){if(1&n&&bt(0,"div",28),2&n){const e=Te(2).index;H("innerHTML",Te().diffHtmls[e],Lc)}}function Uoe(n,t){if(1&n&&bt(0,"div",28),2&n){const e=Te(2).index;H("innerHTML",Te().updatedHtmls[e],Lc)}}function zoe(n,t){if(1&n&&(x(0,"div",18),Ae(1,qoe,1,1,"div",27),Ae(2,Uoe,1,1,"div",27),O()),2&n){const e=Te(2);B(1),H("ngIf",e.showDiff),B(1),H("ngIf",!e.showDiff)}}function Goe(n,t){if(1&n&&(x(0,"mat-expansion-panel",7)(1,"mat-expansion-panel-header")(2,"mat-panel-title",8)(3,"div",9),De(4,"?"),O(),bt(5,"markdown",10),O(),x(6,"mat-panel-description")(7,"mat-chip-list"),Ae(8,joe,2,0,"mat-chip",11),O()()(),bt(9,"br")(10,"markdown",10)(11,"br"),Ae(12,Yoe,3,2,"div",12),Ae(13,Hoe,5,0,"div",13),Ae(14,Voe,5,0,"div",13),x(15,"mat-tab-group",14)(16,"mat-tab",15),Ae(17,zoe,3,2,"div",16),O(),x(18,"mat-tab",17)(19,"div",18)(20,"markdown"),De(21),O()()()()()),2&n){const e=t.$implicit,i=t.index,r=Te();H("expanded",r.panelOpenStates[i]),B(5),H("data",r.data.updatedResponses[i].getTitleInMarkDown()),B(3),H("ngIf",0===r.data.outdatedResponses[i].compareTo(r.data.updatedResponses[i])),B(2),H("data",r.data.updatedResponses[i].description),B(2),H("ngIf",r.data.updatedResponses[i].isDisagree()===r.data.outdatedResponses[i].isDisagree()||!r.showDiff),B(1),H("ngIf",!r.data.outdatedResponses[i].isDisagree()&&r.data.updatedResponses[i].isDisagree()&&r.showDiff),B(1),H("ngIf",r.data.outdatedResponses[i].isDisagree()&&!r.data.updatedResponses[i].isDisagree()&&r.showDiff),B(3),H("ngIf",r.isReady),B(4),vi(e.updatedContent)}}let $oe=(()=>{class n{constructor(e,i,r,s,o){this.dialogRef=e,this.data=i,this.sanitizer=r,this.labelService=s,this.issueService=o,this.isReady=!1,this.showDiff=!0,this.conflicts=[],this.diffHtmls=[],this.updatedHtmls=[],this.panelOpenStates=[];for(let a=0;a{class n{constructor(e){this.ngControl=e}set disableControl(e){var i,r;e?null===(i=this.ngControl.control)||void 0===i||i.disable():null===(r=this.ngControl.control)||void 0===r||r.enable()}}return n.\u0275fac=function(e){return new(e||n)(M(Eo))},n.\u0275dir=rt({type:n,selectors:[["","disableControl",""]],inputs:{disableControl:"disableControl"}}),n})();function Woe(n,t){1&n&&(x(0,"span"),De(1," Please verify the following item(s). "),O())}function Qoe(n,t){1&n&&(x(0,"span")(1,"strong"),De(2,"Tester"),O(),De(3," responded. "),O())}function Koe(n,t){if(1&n){const e=an();x(0,"button",8),Je("click",function(){return Ut(e),Te().changeToEditMode()}),De(1,"Edit"),O()}}function Zoe(n,t){1&n&&bt(0,"markdown",12),2&n&&H("data",Te(2).$implicit.reasonForDisagreement)}function Xoe(n,t){if(1&n){const e=an();x(0,"div")(1,"app-comment-editor",18),Je("isFormPendingChange",function(r){return Ut(e),Te(3).isFormPending=r})("submitButtonTextChange",function(r){return Ut(e),Te(3).submitButtonText=r}),O()()}if(2&n){const e=Te(2).index,i=Te();B(1),H("commentField",i.testerResponseForm.get(i.getTesterResponseFormId(e)))("id",i.getTesterResponseFormId(e))("commentForm",i.testerResponseForm)("isFormPending",i.isFormPending)("submitButtonText",i.submitButtonText)}}function Joe(n,t){if(1&n&&(x(0,"div")(1,"div")(2,"p",16),De(3,"Reason for Disagreement:"),O(),Ae(4,Zoe,1,1,"markdown",17),O(),Ae(5,Xoe,2,5,"div",4),O()),2&n){const e=Te(2);B(4),H("ngIf",!e.isEditing),B(1),H("ngIf",e.isEditing)}}function eae(n,t){if(1&n){const e=an();x(0,"div",9)(1,"div",10)(2,"div",11),De(3,"?"),O(),bt(4,"markdown",12),O(),bt(5,"br")(6,"markdown",12)(7,"br"),x(8,"div")(9,"mat-radio-group",13),Je("change",function(r){const o=Ut(e).index;return Te().handleChangeOfDisagreeRadioButton(r,o)}),x(10,"mat-radio-button",14),De(11," I Agree "),O(),x(12,"mat-radio-button",14),De(13," I Disagree "),O()()(),Ae(14,Joe,6,2,"div",4),bt(15,"br")(16,"markdown",15)(17,"br"),O()}if(2&n){const e=t.$implicit,i=t.index,r=Te();B(4),H("data",e.getTitleInMarkDown()),B(2),H("data",e.description),B(3),H("disableControl",!r.isEditing)("id",r.getDisagreeRadioFormId(i))("formControlName",r.getDisagreeRadioFormId(i)),B(1),H("value",!1),B(2),H("value",!0),B(2),H("ngIf",r.testerResponseForm.get(r.getDisagreeRadioFormId(i)).value)}}function tae(n,t){if(1&n){const e=an();x(0,"button",24),Je("click",function(){return Ut(e),Te(2).viewChanges()}),De(1," View Updated Response "),O()}2&n&&H("disabled",Te(2).isFormPending)}function nae(n,t){if(1&n&&(x(0,"button",25),De(1),O()),2&n){const e=Te(2);H("disabled",e.testerResponseForm.invalid||e.isFormPending),B(1),ln(" ",e.submitButtonText," ")}}function iae(n,t){if(1&n&&(x(0,"button",26),De(1),O()),2&n){const e=Te(2);H("disabled",e.testerResponseForm.invalid||e.isFormPending),B(1),ln(" ",e.submitButtonText," ")}}function rae(n,t){if(1&n){const e=an();x(0,"button",27),Je("click",function(){return Ut(e),Te(2).openCancelDialogIfModified()}),De(1," Cancel "),O()}2&n&&H("disabled",Te(2).isFormPending)}function sae(n,t){if(1&n&&(x(0,"div",19),Ae(1,tae,2,1,"button",20),Ae(2,nae,2,2,"button",21),Ae(3,iae,2,2,"button",22),Ae(4,rae,2,1,"button",23),O()),2&n){const e=Te();B(1),H("ngIf",e.conflict),B(1),H("ngIf",!e.conflict),B(1),H("ngIf",e.conflict),B(1),H("ngIf",!e.isNewResponse())}}let oae=(()=>{class n{constructor(e,i,r,s,o,a,l){this.formBuilder=e,this.issueService=i,this.userService=r,this.errorHandlingService=s,this.dialog=o,this.phaseService=a,this.dialogService=l,this.isFormPending=!1,this.issueUpdated=new jt,this.updateEditState=new jt,this.cancelEditModalMessages=["Do you wish to cancel?","Your changes will be discarded."],this.yesButtonModalMessage="Cancel",this.noButtonModalMessage="Continue editing",this.responseRadioIdentifier="response-radio",this.responseTextIdentifier="tester-response"}ngOnInit(){this.resetForm(),this.submitButtonText=this.isNewResponse()?"Submit":"Save",setTimeout(()=>{this.updateEditState.emit(this.isNewResponse())})}ngOnChanges(e){!this.isEditing&&e.issue&&e.issue.previousValue!==e.issue.currentValue&&this.resetForm()}submitTesterResponseForm(){this.testerResponseForm.invalid||(this.isFormPending=!0,this.isSafeToSubmit().pipe(ue(e=>e||this.isUpdatingDeletedResponse()||"Overwrite"===this.submitButtonText?this.issueService.updateTesterResponse(this.issue,Object.assign(Object.assign({},this.issue.issueComment),{description:this.getTesterResponseFromForm()})):(this.submitButtonText="Overwrite",this.viewChanges(),Qi("The content you are editing has changed. Please verify the changes and try again."))),Ia(()=>this.isFormPending=!1)).subscribe(e=>{this.issueUpdated.emit(e),this.resetToDefault()},e=>{this.errorHandlingService.handleError(e)}))}isSafeToSubmit(){return this.issueService.getLatestIssue(this.issue.id).pipe(ge(e=>!!e.testerResponses&&e.testerResponses.reduce((i,r,s)=>i&&0===r.compareTo(this.issue.testerResponses[s]),!0)))}isUpdatingDeletedResponse(){return this.issue.testerResponses&&!this.issueService.issues[this.issue.id].testerResponses}viewChanges(){this.dialog.open($oe,{data:{outdatedResponses:this.issue.testerResponses,updatedResponses:this.issueService.issues[this.issue.id].testerResponses},autoFocus:!1})}changeToEditMode(){this.updateEditState.emit(!0)}openCancelDialogIfModified(){const e=this.issue.testerResponses.filter((s,o)=>this.isResponseDisagreed(o)).map((s,o)=>this.getTesterResponseText(o)!==(s.reasonForDisagreement||"")).reduce((s,o)=>s||o,!1),i=this.issue.testerResponses.map((s,o)=>this.isResponseDisagreed(o)!==s.isDisagree()).reduce((s,o)=>s||o,!1);this.dialogService.performActionIfModified(e||i,()=>this.openCancelDialog(),()=>this.cancelEditMode())}openCancelDialog(){this.dialogService.openUserConfirmationModal(this.cancelEditModalMessages,this.yesButtonModalMessage,this.noButtonModalMessage).afterClosed().subscribe(i=>{i&&this.cancelEditMode()})}cancelEditMode(){this.issueService.getIssue(this.issue.id).subscribe(e=>{this.issueUpdated.emit(e),this.resetToDefault()})}resetToDefault(){this.submitButtonText="Save",this.updateEditState.emit(!1),this.resetForm()}handleChangeOfDisagreeRadioButton(e,i){const r=this.testerResponseForm.get(this.getTesterResponseFormId(i));this.isResponseDisagreed(i)?r.enable():r.disable()}trackDisagreeList(e,i){return i[e]}isNewResponse(){return!this.issue.status&&this.userService.currentUser.role===An.Student}createFormGroup(){const e={};for(let i=0;i{const s=this.isResponseDisagreed(r),o=s?this.getTesterResponseText(r)||i.reasonForDisagreement:i.INITIAL_RESPONSE;return i.setDisagree(s),i.setReasonForDisagreement(o),i}),e.createGithubTesterResponse()}getTesterResponseFormId(e){return`${this.responseTextIdentifier}-${e}`}getTesterResponseText(e){return this.testerResponseForm.get(this.getTesterResponseFormId(e)).value}getDisagreeRadioFormId(e){return`${this.responseRadioIdentifier}-${e}`}isResponseDisagreed(e){return this.testerResponseForm.get(this.getDisagreeRadioFormId(e)).value}get conflict(){return"Overwrite"===this.submitButtonText}}return n.\u0275fac=function(e){return new(e||n)(M(tc),M(Di),M(Cr),M(Gi),M(qa),M(er),M(vl))},n.\u0275cmp=It({type:n,selectors:[["app-tester-response"]],viewQuery:function(e,i){if(1&e&&pn(hc,5),2&e){let r;Et(r=Ct())&&(i.commentEditor=r.first)}},inputs:{issue:"issue",isEditing:"isEditing"},outputs:{issueUpdated:"issueUpdated",updateEditState:"updateEditState"},features:[Jn],decls:12,vars:7,consts:[[1,"mat-title"],[3,"formGroup","ngSubmit"],[1,"timeline-comment"],[1,"timeline-header"],[4,"ngIf"],["mat-button","","style","float: right",3,"click",4,"ngIf"],["class","container",4,"ngFor","ngForOf","ngForTrackBy"],["class","editor-actions",4,"ngIf"],["mat-button","",2,"float","right",3,"click"],[1,"container"],[2,"display","flex","align-items","center"],[1,"question-mark"],["disableInternalLink","",3,"data"],["aria-label","Select Agree or Disagree to Team's Response",2,"display","inline-block","width","20%",3,"disableControl","id","formControlName","change"],[3,"value"],["data","-------------------"],[2,"font-weight","500"],["disableInternalLink","",3,"data",4,"ngIf"],[3,"commentField","id","commentForm","isFormPending","submitButtonText","isFormPendingChange","submitButtonTextChange"],[1,"editor-actions"],["class","editor-action","type","button","mat-raised-button","","color","primary",3,"disabled","click",4,"ngIf"],["type","submit","mat-stroked-button","","color","primary",3,"disabled",4,"ngIf"],["class","editor-action","type","submit","mat-raised-button","","color","warn",3,"disabled",4,"ngIf"],["class","editor-action","type","button","mat-stroked-button","","color","warn",3,"disabled","click",4,"ngIf"],["type","button","mat-raised-button","","color","primary",1,"editor-action",3,"disabled","click"],["type","submit","mat-stroked-button","","color","primary",3,"disabled"],["type","submit","mat-raised-button","","color","warn",1,"editor-action",3,"disabled"],["type","button","mat-stroked-button","","color","warn",1,"editor-action",3,"disabled","click"]],template:function(e,i){1&e&&(x(0,"h3",0),De(1,"Tester's Response"),O(),x(2,"form",1),Je("ngSubmit",function(){return i.submitTesterResponseForm()}),x(3,"div",2)(4,"div",3),Ae(5,Woe,2,0,"span",4),Ae(6,Qoe,4,0,"span",4),Ae(7,Koe,2,0,"button",5),O(),x(8,"div"),Ae(9,eae,18,8,"div",6),bt(10,"mat-divider"),Ae(11,sae,5,4,"div",7),O()()()),2&e&&(B(2),H("formGroup",i.testerResponseForm),B(3),H("ngIf",i.isNewResponse()),B(1),H("ngIf",!i.isNewResponse()),B(1),H("ngIf",!i.isEditing),B(2),H("ngForOf",i.issue.testerResponses)("ngForTrackBy",i.trackDisagreeList),B(2),H("ngIf",i.isEditing))},directives:[ta,Jo,ds,ai,bi,Br,cl,Qd,mP,EN,Co,Pa,fP,hc,ey],styles:[".container[_ngcontent-%COMP%]{padding:10px 20px 0;display:grid}.mat-radio-button[_ngcontent-%COMP%] ~ .mat-radio-button[_ngcontent-%COMP%]{margin-left:16px}"]}),n})(),aae=(()=>{class n{constructor(){}ngOnInit(){this.message=VP}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=It({type:n,selectors:[["app-team-accepted"]],decls:8,vars:1,consts:[[1,"timeline-comment"],[1,"timeline-header"],[1,"comment"]],template:function(e,i){1&e&&(x(0,"div",0)(1,"div",1)(2,"span")(3,"strong"),De(4,"Team"),O(),De(5," responded"),O()(),x(6,"div",2),De(7),O()()),2&e&&(B(7),vi(i.message))},styles:[""]}),n})();function lae(n,t){if(1&n){const e=an();x(0,"button",8),Je("click",function(){return Ut(e),Te().changeToEditMode()}),De(1,"Edit"),O()}}function cae(n,t){1&n&&bt(0,"markdown",12),2&n&&H("data",Te().$implicit.tutorResponse)}function uae(n,t){if(1&n){const e=an();x(0,"div")(1,"app-comment-editor",18),Je("isFormPendingChange",function(r){return Ut(e),Te(2).isFormPending=r})("submitButtonTextChange",function(r){return Ut(e),Te(2).submitButtonText=r}),O()()}if(2&n){const e=Te().index,i=Te();B(1),H("commentField",i.tutorResponseForm.get(i.getTutorResponseFormId(e)))("commentForm",i.tutorResponseForm)("id",i.getTutorResponseFormId(e))("isFormPending",i.isFormPending)("submitButtonText",i.submitButtonText)}}function dae(n,t){if(1&n&&(x(0,"div",9)(1,"div",10)(2,"div",11),De(3,"?"),O(),bt(4,"markdown",12),O(),bt(5,"br")(6,"markdown",12)(7,"br"),x(8,"div")(9,"mat-checkbox",13),De(10," Done "),O()(),bt(11,"br"),x(12,"div"),bt(13,"markdown",14),Ae(14,cae,1,1,"markdown",15),O(),Ae(15,uae,2,5,"div",16),bt(16,"br")(17,"markdown",17)(18,"br"),O()),2&n){const e=t.$implicit,i=t.index,r=Te();B(4),H("data",r.getItemTitleText(e.title)),B(2),H("data",e.description),B(3),H("id",r.getTodoFormId(i))("formControlName",r.getTodoFormId(i))("disableControl",!r.isEditing),B(5),H("ngIf",!r.isEditing),B(1),H("ngIf",r.isEditing)}}function hae(n,t){if(1&n){const e=an();x(0,"button",24),Je("click",function(){return Ut(e),Te(2).viewInGithub()}),De(1," View Updated Response On Github "),O()}2&n&&H("disabled",Te(2).isFormPending)}function pae(n,t){if(1&n&&(x(0,"button",25),De(1),O()),2&n){const e=Te(2);H("disabled",e.tutorResponseForm.invalid||e.isFormPending),B(1),ln(" ",e.submitButtonText," ")}}function mae(n,t){if(1&n&&(x(0,"button",26),De(1),O()),2&n){const e=Te(2);H("disabled",e.tutorResponseForm.invalid||e.isFormPending),B(1),ln(" ",e.submitButtonText," ")}}function fae(n,t){if(1&n){const e=an();x(0,"button",27),Je("click",function(){return Ut(e),Te(2).cancelEditMode()}),De(1," Cancel "),O()}2&n&&H("disabled",Te(2).isFormPending)}function gae(n,t){if(1&n&&(x(0,"div",19),Ae(1,hae,2,1,"button",20),Ae(2,pae,2,2,"button",21),Ae(3,mae,2,2,"button",22),Ae(4,fae,2,1,"button",23),O()),2&n){const e=Te();B(1),H("ngIf",e.conflict),B(1),H("ngIf",!e.conflict),B(1),H("ngIf",e.conflict),B(1),H("ngIf",!e.isNewResponse())}}let _ae=(()=>{class n{constructor(e,i,r,s,o,a){this.formBuilder=e,this.issueService=i,this.userService=r,this.errorHandlingService=s,this.githubService=o,this.phaseService=a,this.isFormPending=!1,this.issueUpdated=new jt,this.updateEditState=new jt}ngOnInit(){this.resetForm(),this.submitButtonText=this.isNewResponse()?"Submit":"Save",setTimeout(()=>{this.updateEditState.emit(this.isNewResponse())})}ngOnChanges(e){!this.isEditing&&e.issue&&e.issue.previousValue!==e.issue.currentValue&&this.resetForm()}submitTutorResponseForm(e){this.tutorResponseForm.invalid||(this.isFormPending=!0,this.issue.pending=""+this.getNumOfPending(),this.isSafeToSubmitTutorResponse().pipe(ue(i=>i||this.isUpdatingDeletedResponse()?this.issue.issueComment&&!this.isUpdatingDeletedResponse()?this.updateTutorResponse():this.createTutorResponse():(this.submitButtonText="Overwrite",Qi("The content you are editing has changed. Please verify the changes and try again."))),Ia(()=>this.isFormPending=!1)).subscribe(i=>{this.issueUpdated.emit(i),this.resetToDefault()},i=>{this.errorHandlingService.handleError(i)}))}updateTutorResponse(){return this.issueService.updateTutorResponse(this.issue,Object.assign(Object.assign({},this.issue.issueComment),{description:this.getTutorResponseFromForm()}))}createTutorResponse(){const e=this.getTutorResponseFromForm();return this.issueService.createTutorResponse(this.issue,e)}isSafeToSubmitTutorResponse(){return this.issueService.getLatestIssue(this.issue.id).pipe(ge(e=>{if(e.issueComment&&!!e.issueComment==!!this.issue.issueComment){for(let i=0;i{this.issueUpdated.emit(e),this.resetToDefault()})}trackDisputeList(e,i){return i[e]}isNewResponse(){return!this.issue.issueComment}resetForm(){this.tutorResponseForm=this.formBuilder.group(this.createFormGroup())}getItemTitleText(e){return"## "+e}getNumOfPending(){let e=this.issue.issueDisputes.length;for(const i of this.issue.issueDisputes)i.isDone()&&e--;return e}createFormGroup(){const e={};for(let i=0;i{class n{constructor(e,i,r,s,o,a,l){this.issueService=e,this.errorHandlingService=i,this.phaseService=r,this.labelService=s,this.permissions=o,this.dialogService=a,this.loadingService=l,this.issueUpdated=new jt}showSpinner(){this.loadingService.addViewContainerRef(this.loadingSpinnerContainer).showLoader(),this.isSavePending=!0}hideSpinner(){this.loadingService.hideLoader(),this.isSavePending=!1}ngOnInit(){this.labelValues=this.labelService.getLabelList(this.attributeName),this.loadingService.addAnimationMode("indeterminate").addSpinnerOptions({diameter:15,strokeWidth:2}).addCssClasses(["mat-progress-spinner"])}ngOnChanges(){this.labelColor=this.labelService.getColorOfLabel(this.attributeName,this.issue[this.attributeName])}updateLabel(e){this.showSpinner();const i=this.issue.clone(this.phaseService.currentPhase);i[this.attributeName]=e,this.issueService.updateIssue(i).subscribe(r=>{this.issueUpdated.emit(r),this.labelColor=this.labelService.getColorOfLabel(this.attributeName,r[this.attributeName]),this.hideSpinner()},r=>{this.errorHandlingService.handleError(r),this.hideSpinner()}),this.issueService.getDuplicateIssuesFor(this.issue).pipe(Js()).subscribe(r=>{r.forEach(s=>{const o=s.clone(this.phaseService.currentPhase);o[this.attributeName]=e,this.issueService.updateIssue(o)})})}openDefinitionPage(e){this.labelDefinition=this.labelService.getLabelDefinition(e.labelValue,e.labelCategory),this.dialogService.openLabelDefinitionDialog(e.getFormattedName(),this.labelDefinition)}hasLabelDefinition(e){return null!==this.labelService.getLabelDefinition(e.labelValue,e.labelCategory)}}return n.\u0275fac=function(e){return new(e||n)(M(Di),M(Gi),M(er),M(ei),M(Hs),M(vl),M(Wd))},n.\u0275cmp=It({type:n,selectors:[["app-issue-label"]],viewQuery:function(e,i){if(1&e&&pn(yae,5,Si),2&e){let r;Et(r=Ct())&&(i.loadingSpinnerContainer=r.first)}},inputs:{issue:"issue",attributeName:"attributeName"},outputs:{issueUpdated:"issueUpdated"},features:[tn([Wd]),Jn],decls:8,vars:5,consts:[[1,"mat-title"],["style","float: right","mat-icon-button","",3,"matMenuTriggerFor",4,"ngIf"],["labelList",""],["mat-menu-item","","class","labelLine",3,"ngStyle",4,"ngFor","ngForOf"],[3,"ngStyle"],["mat-icon-button","",2,"float","right",3,"matMenuTriggerFor"],["style","font-size: 20px; margin-bottom: 7px; color: #586069",4,"ngIf"],["loadingSpinnerContainer",""],[2,"font-size","20px","margin-bottom","7px","color","#586069"],["mat-menu-item","",1,"labelLine",3,"ngStyle"],[1,"labelInfo","option",3,"disabled","click"],["class","infoPopup",3,"click",4,"ngIf"],[1,"infoPopup",3,"click"],[2,"font-size","20px"]],template:function(e,i){1&e&&(x(0,"span",0),De(1),O(),Ae(2,bae,4,2,"button",1),x(3,"mat-menu",null,2),Ae(5,Eae,7,8,"div",3),O(),x(6,"p",4),De(7),O()),2&e&&(B(1),ln(" ",i.labelService.getLabelTitle(i.attributeName)," "),B(1),H("ngIf",i.permissions.isIssueLabelsEditable()&&!i.issue.duplicateOf),B(3),H("ngForOf",i.labelValues),B(1),H("ngStyle",i.labelService.setLabelStyle(i.labelColor)),B(1),vi(i.issue[i.attributeName]||"-"))},directives:[ai,bi,iy,hs,ny,Br,lc,ql],styles:[".no-arrow[_ngcontent-%COMP%] .mat-select-arrow[_ngcontent-%COMP%]{visibility:hidden}[_nghost-%COMP%] .mat-progress-spinner{color:#00000080;display:inline-block;vertical-align:middle}.option[_ngcontent-%COMP%]{background-color:Transparent;border:none;outline:none;margin-right:30px}.infoPopup[_ngcontent-%COMP%]{background:transparent;border:none;outline:none;text-align:center}.labelLine[_ngcontent-%COMP%]{display:grid;grid-template-columns:3fr 1fr}.labelInfo[_ngcontent-%COMP%]{font-size:1em;text-align:left}"]}),n})();function Tae(n,t){if(1&n){const e=an();x(0,"button",7),Je("click",function(){return Ut(e),Te().openSelection()}),x(1,"mat-icon",8),De(2," edit "),O()()}2&n&&Fr("visibility",Te().issue.duplicated?"inherit":"hidden")}function Sae(n,t){if(1&n&&(x(0,"span",14),De(1),O()),2&n){const e=Te().$implicit,i=Te();B(1),ln(" (",i.getDisabledDupOptionErrorText(e),") ")}}const kae=function(n){return{width:n}};function xae(n,t){if(1&n&&(x(0,"mat-option",9)(1,"div",10)(2,"span",11),De(3),O(),x(4,"span",12),De(5),O()(),Ae(6,Sae,2,1,"span",13),O()),2&n){const e=t.$implicit,i=Te();H("matTooltip",e.title)("matTooltipDisabled",!i.isTooltipNecessary(e))("matTooltipPosition","left")("disabled",i.dupIssueOptionIsDisabled(e))("value",e.id),B(1),H("ngStyle",$o(9,kae,i.dupIssueOptionIsDisabled(e)?"150px":"auto")),B(2),ln(" #",e.id,": "),B(2),vi(e.title),B(1),H("ngIf",i.dupIssueOptionIsDisabled(e))}}function Iae(n,t){if(1&n&&(x(0,"span",15),De(1),ls(2,"async"),O()),2&n){const e=Te();B(1),ln(" ",e.issue.duplicateOf?"#"+e.issue.duplicateOf+": "+cs(2,1,e.issueService.getIssue(e.issue.duplicateOf)).title:"Not specified"," ")}}function Aae(n,t){1&n&&(x(0,"span",15),De(1," - "),O())}let Rae=(()=>{class n{constructor(e,i,r,s){this.issueService=e,this.permissions=i,this.errorHandlingService=r,this.phaseService=s,this.isEditing=!1,this.searchFilterCtrl=new ea,this.filteredDuplicateIssueList=new vN(1),this.issueUpdated=new jt,this._onDestroy=new K,this.MAX_TITLE_LENGTH_FOR_DUPLICATE_ISSUE=17,this.MAX_TITLE_LENGTH_FOR_NON_DUPLICATE_ISSUE=37}isTooltipNecessary(e){let i;return i=e.duplicated?this.MAX_TITLE_LENGTH_FOR_DUPLICATE_ISSUE:this.MAX_TITLE_LENGTH_FOR_NON_DUPLICATE_ISSUE,e.title.length>i}ngOnDestroy(){this._onDestroy.next(),this._onDestroy.complete()}ngOnInit(){this.duplicatedIssueList=this.getDupIssueList(),this.duplicatedIssueList.pipe(Js()).subscribe(e=>this.filteredDuplicateIssueList.next(e)),this.searchFilterCtrl.valueChanges.pipe(vn(this._onDestroy)).subscribe(e=>this.filterIssues())}filterIssues(){this.changeFilter(this.duplicatedIssueList,this.searchFilterCtrl.value).subscribe(e=>this.filteredDuplicateIssueList.next(e))}updateDuplicateStatus(e){const i=this.getUpdatedIssue(e);this.issueService.updateIssueWithComment(i,i.issueComment).subscribe(r=>this.issueUpdated.emit(r),r=>this.errorHandlingService.handleError(r))}dupIssueOptionIsDisabled(e){return e.duplicated||!!e.duplicateOf}getDisabledDupOptionErrorText(e){return this.dupIssueOptionIsDisabled(e)?"Duplicate of #"+e.duplicateOf:""}handleCheckboxChange(e){e.checked?this.openSelection():(this.isEditing=!1,this.duplicateOfSelection.close(),this.duplicateOfSelection.value=null,this.updateDuplicateStatus(null))}openSelection(){this.isEditing=!0,this.duplicateOfSelection.open()}handleSelectionOpenChange(e){e||(this.isEditing=!1,this.duplicatedCheckbox.checked=this.duplicateOfSelection.value)}getUpdatedIssue(e){const i=this.issue.clone(this.phaseService.currentPhase);if(i.duplicated=!!e,i.duplicateOf=e?e.value:null,e){const r=this.issueService.issues[i.duplicateOf];i.severity=r.severity,i.type=r.type,i.assignees=r.assignees,i.response=r.response}return i.issueComment.description=i.createGithubTeamResponse(),i}changeFilter(e,i){return e.pipe(Js(),ge(r=>rE(i,[Kt.ID,Kt.TITLE],this.issueService,r)))}getDupIssueList(){return this.issueService.issues$.pipe(ge(e=>e.filter(i=>this.issue.id!==i.id&&this.issue.teamAssigned.id===i.teamAssigned.id)))}}return n.\u0275fac=function(e){return new(e||n)(M(Di),M(Hs),M(Gi),M(er))},n.\u0275cmp=It({type:n,selectors:[["app-duplicate-of-component"]],viewQuery:function(e,i){if(1&e&&(pn(ko,7),pn(ac,7)),2&e){let r;Et(r=Ct())&&(i.duplicateOfSelection=r.first),Et(r=Ct())&&(i.duplicatedCheckbox=r.first)}},inputs:{issue:"issue"},outputs:{issueUpdated:"issueUpdated"},decls:14,vars:12,consts:[["labelPosition","after",3,"disabled","checked","change"],[1,"mat-title"],["style","float: right","mat-icon-button","",3,"visibility","click",4,"ngIf"],["placeholder","-",1,"no-arrow",2,"width","100%",3,"value","selectionChange","openedChange"],["placeholderLabel","Search issues","noEntriesFoundLabel","No issues found",3,"formControl"],[3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","value",4,"ngFor","ngForOf"],["style","margin-top: 5px",4,"ngIf"],["mat-icon-button","",2,"float","right",3,"click"],[2,"font-size","20px","margin-bottom","7px","color","#586069"],[3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","value"],[1,"duplicate-dropdown-issuedetails",3,"ngStyle"],[1,"mat-body-strong"],[1,"mat-body"],["class","mat-caption","style","display: inline-block; color: #f44336",4,"ngIf"],[1,"mat-caption",2,"display","inline-block","color","#f44336"],[2,"margin-top","5px"]],template:function(e,i){1&e&&(x(0,"div")(1,"mat-checkbox",0),Je("change",function(s){return i.handleCheckboxChange(s)}),x(2,"span",1),De(3,"A Duplicate Of:"),O()(),Ae(4,Tae,3,2,"button",2),x(5,"mat-select",3),Je("selectionChange",function(s){return i.updateDuplicateStatus(s)})("openedChange",function(s){return i.handleSelectionOpenChange(s)}),x(6,"mat-option"),bt(7,"ngx-mat-select-search",4),O(),bt(8,"mat-select-trigger"),Ae(9,xae,7,11,"mat-option",5),ls(10,"async"),O(),x(11,"div"),Ae(12,Iae,3,3,"span",6),Ae(13,Aae,2,0,"span",6),O()()),2&e&&(B(1),H("disabled",!i.permissions.isTeamResponseEditable()&&!i.permissions.isTutorResponseEditable())("checked",i.issue.duplicated),B(3),H("ngIf",i.permissions.isIssueLabelsEditable()),B(1),Fr("display",i.isEditing?"block":"none"),H("value",i.issue.duplicateOf),B(2),H("formControl",i.searchFilterCtrl),B(2),H("ngForOf",cs(10,10,i.filteredDuplicateIssueList)),B(3),H("ngIf",i.issue.duplicated),B(1),H("ngIf",!i.issue.duplicated))},directives:[ac,ai,bi,hs,ko,sa,wi,Co,Op,g0,Br,gl,ql],pipes:[rl],styles:[".mat-checkbox-disabled .mat-checkbox-label{color:#000}.duplicate-dropdown-issuedetails{display:inline-block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;vertical-align:bottom!important}\n"],encapsulation:2}),n})(),Lae=(()=>{class n{constructor(e,i,r){this.issueService=e,this.errorHandlingService=i,this.phaseService=r,this.issueUpdated=new jt}ngOnInit(){}handleChangeOfUnsureCheckbox(e){let i=!1;e.checked&&(i=!0);const r=this.issue.clone(this.phaseService.currentPhase);r.unsure=i,this.issueService.updateIssue(r).subscribe(s=>{this.issueUpdated.emit(s)},s=>{this.errorHandlingService.handleError(s)})}}return n.\u0275fac=function(e){return new(e||n)(M(Di),M(Gi),M(er))},n.\u0275cmp=It({type:n,selectors:[["app-unsure-checkbox"]],inputs:{issue:"issue"},outputs:{issueUpdated:"issueUpdated"},decls:3,vars:1,consts:[["labelPosition","before",3,"checked","change"],[1,"mat-title"]],template:function(e,i){1&e&&(x(0,"mat-checkbox",0),Je("change",function(s){return i.handleChangeOfUnsureCheckbox(s)}),x(1,"span",1),De(2," Unsure "),O()()),2&e&&H("checked",i.issue.unsure)},directives:[ac],styles:[".mat-checkbox-disabled[_ngcontent-%COMP%] .mat-checkbox-label[_ngcontent-%COMP%]{color:#000}"]}),n})(),Ey=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Yt({type:n}),n.\u0275inj=He({imports:[[di,_l,mre,_re,fre,pre,yre,Bs,dc,$d,Do.forChild(),gre]]}),n})();!function bm(n,t,e){const i=n.\u0275cmp;i.directiveDefs=()=>t.map(wm),i.pipeDefs=()=>e.map(Mm)}(yl,[ai,Es,Zre,ey,zse,Xse,Noe,Boe,oae,aae,_ae,Cae,wN,MN,Rae,Lae],[rl]);let fm=(()=>{class n{constructor(e,i,r){this.location=e,this.router=i,this.dialogService=r,this.modalDialogMessages=["Do you wish to leave the page?","You have unsaved changes that will be discarded."],this.yesButtonDialogMessage="Yes, I wish to leave",this.noButtonDialogMessage="No, I don't wish to leave"}openDialog(){return this.dialogService.openUserConfirmationModal(this.modalDialogMessages,this.yesButtonDialogMessage,this.noButtonDialogMessage).afterClosed()}canDeactivate(e,i,r,s){if(e.canDeactivate&&!e.canDeactivate()&&"/"!==s.url){const a=this.router.createUrlTree([],i).toString();return this.location.go(a),this.openDialog()}return Qt(!0)}}return n.\u0275fac=function(e){return new(e||n)(Se(Yc),Se(Xi),Se(vl))},n.\u0275prov=Ee({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),Oae=(()=>{class n{constructor(e){this.route=e,this.issueComponents=[Oi.TESTER_POST,Oi.SEVERITY_LABEL,Oi.TYPE_LABEL]}ngOnInit(){this.route.params.subscribe(e=>{this.issueId=+e.issue_id})}canDeactivate(){return!this.viewIssue.isEditing()}}return n.\u0275fac=function(e){return new(e||n)(M(Zo))},n.\u0275cmp=It({type:n,selectors:[["app-issue"]],viewQuery:function(e,i){if(1&e&&pn(yl,7),2&e){let r;Et(r=Ct())&&(i.viewIssue=r.first)}},decls:2,vars:2,consts:[[3,"issueId","issueComponents"]],template:function(e,i){1&e&&(x(0,"div"),bt(1,"app-view-issue",0),O()),2&e&&(B(1),H("issueId",i.issueId)("issueComponents",i.issueComponents))},directives:[yl],styles:[".row[_ngcontent-%COMP%]{display:flex}.column[_ngcontent-%COMP%]{padding:10px;height:100%}.left[_ngcontent-%COMP%]{width:85%}.right[_ngcontent-%COMP%]{width:15%}"]}),n})();function Fae(n,t){1&n&&(x(0,"mat-error"),De(1," Title required. "),O())}function Nae(n,t){1&n&&(x(0,"mat-error"),De(1," Title cannot contain only whitespaces. "),O())}function Bae(n,t){1&n&&(x(0,"mat-error"),De(1," Title cannot exceed 256 characters. "),O())}function jae(n,t){if(1&n&&(x(0,"mat-hint"),De(1),O()),2&n){const e=Te();B(1),ln(" ",256-(null==e.title.value?null:e.title.value.length)," characters remaining. ")}}let Yae=(()=>{class n{constructor(e,i,r,s,o){this.issueService=e,this.formBuilder=i,this.errorHandlingService=r,this.labelService=s,this.router=o,this.isFormPending=!1}ngOnInit(){this.newIssueForm=this.formBuilder.group({title:["",[Mr.required,Mr.maxLength(256),n=>n.value&&""===n.value.trim()?{whitespace:!0}:null]],description:[""],severity:["",Mr.required],type:["",Mr.required]}),this.submitButtonText="Submit"}submitNewIssue(e){this.newIssueForm.invalid||(this.isFormPending=!0,this.issueService.createIssue(this.title.value,ji.updateDescription(this.description.value),this.severity.value,this.type.value).pipe(Ia(()=>this.isFormPending=!1)).subscribe(i=>{this.issueService.updateLocalStore(i),this.router.navigateByUrl(`phaseBugReporting/issues/${i.id}`),e.resetForm()},i=>{this.errorHandlingService.handleError(i)}))}canDeactivate(){return!(this.isAttributeEditing(this.title)||this.isAttributeEditing(this.description)||this.isAttributeEditing(this.severity)||this.isAttributeEditing(this.type))}isAttributeEditing(e){return null!==e.value&&""!==e.value}get title(){return this.newIssueForm.get("title")}get description(){return this.newIssueForm.get("description")}get severity(){return this.newIssueForm.get("severity")}get type(){return this.newIssueForm.get("type")}}return n.\u0275fac=function(e){return new(e||n)(M(Di),M(tc),M(Gi),M(ei),M(Xi))},n.\u0275cmp=It({type:n,selectors:[["app-new-issue"]],decls:22,vars:14,consts:[[1,"mat-display-1","title"],[3,"formGroup","ngSubmit"],["myForm","ngForm"],[1,"form"],[1,"row"],[1,"column","left"],["id","title","formControlName","title","matInput","","placeholder","Title","required","","maxlength","256"],[4,"ngIf"],[2,"margin","10px 0 10px 0"],[3,"id","commentField","commentForm","isFormPending","submitButtonText","isFormPendingChange","submitButtonTextChange"],["type","submit","mat-stroked-button","","color","primary",1,"submit-new-bug-report",2,"float","right",3,"disabled"],[1,"column","right"],[1,"severity-dropdown"],["initialValue","","attributeName","severity",3,"dropdownForm"],[1,"bug-dropdown"],["initialValue","","attributeName","type",3,"dropdownForm"]],template:function(e,i){if(1&e){const r=an();x(0,"h1",0),De(1,"New Issue"),O(),x(2,"form",1,2),Je("ngSubmit",function(){Ut(r);const o=ki(3);return i.submitNewIssue(o)}),x(4,"div",3)(5,"div",4)(6,"div",5)(7,"mat-form-field"),bt(8,"input",6),Ae(9,Fae,2,0,"mat-error",7),Ae(10,Nae,2,0,"mat-error",7),Ae(11,Bae,2,0,"mat-error",7),Ae(12,jae,2,1,"mat-hint",7),O(),x(13,"div",8)(14,"app-comment-editor",9),Je("isFormPendingChange",function(o){return i.isFormPending=o})("submitButtonTextChange",function(o){return i.submitButtonText=o}),O()(),x(15,"button",10),De(16),O()(),x(17,"div",11)(18,"div",12),bt(19,"app-label-dropdown",13),O(),x(20,"div",14),bt(21,"app-label-dropdown",15),O()()()()()}2&e&&(B(2),H("formGroup",i.newIssueForm),B(7),H("ngIf",i.title.errors&&i.title.errors.required&&(i.title.touched||i.title.dirty)),B(1),H("ngIf",i.title.errors&&i.title.errors.whitespace),B(1),H("ngIf",i.title.errors&&i.title.errors.maxlength),B(1),H("ngIf",(null==i.title.value?null:i.title.value.length)>=206),B(2),H("id","description")("commentField",i.description)("commentForm",i.newIssueForm)("isFormPending",i.isFormPending)("submitButtonText",i.submitButtonText),B(1),H("disabled",!i.newIssueForm.valid||i.isFormPending),B(1),ln(" ",i.submitButtonText," "),B(3),H("dropdownForm",i.newIssueForm),B(2),H("dropdownForm",i.newIssueForm))},directives:[ta,Jo,ds,Er,Xl,io,Co,Pa,tu,Pp,ai,Zp,r0,hc,bi,DN],styles:[".form[_ngcontent-%COMP%]{width:80%;margin:0 auto}mat-form-field[_ngcontent-%COMP%]{width:100%}.row[_ngcontent-%COMP%]{display:flex}.column[_ngcontent-%COMP%]{padding:10px;height:100%}.left[_ngcontent-%COMP%]{width:75%}.right[_ngcontent-%COMP%]{width:25%}"]}),n})(),Hae=(()=>{class n{constructor(e,i){this.snackBarRef=e,this.data=i}}return n.\u0275fac=function(e){return new(e||n)(M(sm),M(rm))},n.\u0275cmp=It({type:n,selectors:[["app-undo-action"]],decls:4,vars:1,consts:[[2,"display","inline-block","max-width","300px"],["mat-button","","color","accent",2,"float","right","margin-top","8px",3,"click"]],template:function(e,i){1&e&&(x(0,"p",0),De(1),O(),x(2,"button",1),Je("click",function(){return i.snackBarRef.dismissWithAction()}),De(3," Undo "),O()),2&e&&(B(1),ln(" ",i.data.message," "))},directives:[bi],encapsulation:2}),n})();function CN(n,t,e){return e.splice(n*t,t)}function sE(n,t){return String(n||"").toUpperCase(){let e=Object.values(this.issueService.issues$.getValue()).reverse();return this.defaultFilter&&(e=e.filter(this.defaultFilter)),e=function qae(n,t){if(!n.active)return t;const e="asc"===n.direction?1:-1;return t.sort((i,r)=>{switch(n.active){case"type":return e*function zae(n,t){return Cy(pF[n],pF[t])}(i.type,r.type);case"severity":return e*function Uae(n,t){return Cy(hF[n],hF[t])}(i.severity,r.severity);case"assignees":return e*sE(i.assignees.join(", "),r.assignees.join(", "));case"teamAssigned":return e*sE(i.teamAssigned.id,r.teamAssigned.id);case"Todo Remaining":return-e*Cy(i.numOfUnresolvedDisputes(),r.numOfUnresolvedDisputes());case"id":return e*Cy(i.id,r.id);default:return e*sE(i[n.active],r[n.active])}})}(this.sort,e),e=this.getFilteredTeamData(e),e=rE(this.filter,this.displayedColumn,this.issueService,e),e=function Vae(n,t){n.length=t.length;let e=CN(n.pageIndex,n.pageSize,t);return 0===e.length&&(n.pageIndex=n.pageIndex-1,e=CN(n.pageIndex,n.pageSize,t)),e}(this.paginator,e),e})).subscribe(e=>{this.issuesSubject.next(e)})}get filter(){return this.filterChange.value}set filter(t){this.filterChange.next(t)}get teamFilter(){return this.teamFilterChange.value}set teamFilter(t){this.teamFilterChange.next(t),this.issueService.setIssueTeamFilter(this.teamFilterChange.value)}getFilteredTeamData(t){return t.filter(e=>!this.teamFilter||"All Teams"===this.teamFilter||e.teamAssigned.id===this.teamFilter)}}class $ae{constructor(){this.sortActiveId="",this.sortDirection="",this.pageSize=20,this.pageIndex=0}}let TN=(()=>{class n{constructor(){this._tableSettingsMap={}}getTableSettings(e){return this._tableSettingsMap[e]||new $ae}setTableSettings(e,i){this._tableSettingsMap[e]=i}clearTableSettings(){this._tableSettingsMap={}}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=Ee({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),Wae=(()=>{class n{constructor(e){this.el=e,this.element=e}get pageSize(){const e=sessionStorage.getItem(this.key)||this.element.pageSize;return Number(e)}set pageSize(e){const i=String(e);sessionStorage.setItem(this.key,i)}ngOnInit(){this.key=this.paginatorLocalStorage+"-PageSize",this.element.pageSize=this.pageSize,this.element.page.subscribe(e=>{this.pageSize=e.pageSize})}}return n.\u0275fac=function(e){return new(e||n)(M(v0))},n.\u0275dir=rt({type:n,selectors:[["","paginatorLocalStorage",""]],inputs:{paginatorLocalStorage:"paginatorLocalStorage"}}),n})();function Qae(n,t){1&n&&(x(0,"mat-header-cell",20),De(1," ID "),O())}function Kae(n,t){if(1&n&&(x(0,"mat-cell")(1,"span",21),Je("click",function(i){return i.stopPropagation()}),De(2),O()()),2&n){const e=t.$implicit;B(2),vi(e.id)}}function Zae(n,t){1&n&&(x(0,"mat-header-cell",20),De(1," Title "),O())}function Xae(n,t){if(1&n&&(x(0,"mat-cell")(1,"a",22),De(2),O()()),2&n){const e=t.$implicit;B(1),H("routerLink","issues/"+e.id),B(1),ln(" ",e.title," ")}}function Jae(n,t){1&n&&(x(0,"mat-header-cell",20),De(1," Team "),O())}function ele(n,t){if(1&n&&(x(0,"mat-cell"),De(1),O()),2&n){const e=t.$implicit;B(1),ln(" ",e.teamAssigned&&e.teamAssigned.id||"-"," ")}}function tle(n,t){1&n&&(Gr(0,23),Ae(1,Jae,2,0,"mat-header-cell",2),Ae(2,ele,2,1,"mat-cell",3),$r())}function nle(n,t){1&n&&(x(0,"mat-header-cell",20),De(1," Type "),O())}function ile(n,t){1&n&&(x(0,"span",27),Je("click",function(i){return i.stopPropagation()}),x(1,"mat-icon",28),De(2,"arrow_right_alt"),O()())}function rle(n,t){if(1&n&&(x(0,"span",24),Je("click",function(i){return i.stopPropagation()}),De(1),O()),2&n){const e=Te().$implicit,i=Te();H("ngStyle",i.labelService.setLabelStyle(i.labelService.getColorOfLabel("type",e.teamChosenType))),B(1),ln(" ",e.teamChosenType," ")}}function sle(n,t){if(1&n&&(x(0,"mat-cell")(1,"span",24),Je("click",function(i){return i.stopPropagation()}),De(2),O(),Ae(3,ile,3,0,"span",25),Ae(4,rle,2,2,"span",26),O()),2&n){const e=t.$implicit,i=Te();B(1),H("ngStyle",i.labelService.setLabelStyle(i.labelService.getColorOfLabel("type",e.type))),B(1),ln(" ",e.type||"-"," "),B(1),H("ngIf",e.teamChosenType&&e.teamChosenType!=e.type),B(1),H("ngIf",e.teamChosenType&&e.teamChosenType!=e.type)}}function ole(n,t){1&n&&(x(0,"mat-header-cell",20),De(1," Severity "),O())}function ale(n,t){1&n&&(x(0,"span",30),Je("click",function(i){return i.stopPropagation()}),x(1,"mat-icon",28),De(2,"arrow_right_alt"),O()())}function lle(n,t){if(1&n&&(x(0,"span",24),Je("click",function(i){return i.stopPropagation()}),De(1),O()),2&n){const e=Te().$implicit,i=Te();H("ngStyle",i.labelService.setLabelStyle(i.labelService.getColorOfLabel("severity",e.teamChosenSeverity))),B(1),ln(" ",e.teamChosenSeverity," ")}}function cle(n,t){if(1&n&&(x(0,"mat-cell")(1,"span",24),Je("click",function(i){return i.stopPropagation()}),De(2),O(),Ae(3,ale,3,0,"span",29),Ae(4,lle,2,2,"span",26),O()),2&n){const e=t.$implicit,i=Te();B(1),H("ngStyle",i.labelService.setLabelStyle(i.labelService.getColorOfLabel("severity",e.severity))),B(1),ln(" ",e.severity||"-"," "),B(1),H("ngIf",e.teamChosenSeverity&&e.teamChosenSeverity!=e.severity),B(1),H("ngIf",e.teamChosenSeverity&&e.teamChosenSeverity!=e.severity)}}function ule(n,t){1&n&&(x(0,"mat-header-cell",20),De(1," Response "),O())}function dle(n,t){if(1&n&&(x(0,"span",24),Je("click",function(i){return i.stopPropagation()}),De(1),O()),2&n){const e=Te().$implicit,i=Te();H("ngStyle",i.labelService.setLabelStyle(i.labelService.getColorOfLabel("response",e.response))),B(1),ln(" ",e.response," ")}}function hle(n,t){1&n&&(x(0,"span",32)(1,"mat-icon",33),De(2,"warning"),O()())}function ple(n,t){if(1&n&&(x(0,"mat-cell"),Ae(1,dle,2,2,"span",26),Ae(2,hle,3,0,"span",31),O()),2&n){const e=t.$implicit;B(1),H("ngIf",e.response),B(1),H("ngIf",!e.response)}}function mle(n,t){1&n&&(x(0,"mat-header-cell",34),De(1," Assignees "),O())}function fle(n,t){if(1&n&&(x(0,"span",21),Je("click",function(i){return i.stopPropagation()}),De(1),O()),2&n){const e=Te().$implicit;B(1),ln(" ",e.assignees.join(", ")," ")}}function gle(n,t){1&n&&(x(0,"span",37)(1,"mat-icon",38),De(2," warning "),O()())}function _le(n,t){if(1&n&&(x(0,"mat-cell"),Ae(1,fle,2,1,"span",35),Ae(2,gle,3,0,"span",36),O()),2&n){const e=t.$implicit;B(1),H("ngIf",0!==e.assignees.length),B(1),H("ngIf",0===e.assignees.length)}}function yle(n,t){1&n&&(x(0,"mat-header-cell"),De(1," Duplicates "),O())}function vle(n,t){1&n&&(x(0,"div"),De(1,"-"),O())}const ble=function(n){return[n]};function wle(n,t){if(1&n&&(x(0,"mat-chip-list",41)(1,"mat-chip",42),De(2),O()()),2&n){const e=t.$implicit;B(1),H("routerLink",$o(3,ble,"issues/"+e.id))("matTooltip",e.title),B(1),ln(" #",e.id," ")}}function Mle(n,t){if(1&n&&(x(0,"mat-cell"),Ae(1,vle,2,0,"div",39),ls(2,"async"),Ae(3,wle,3,5,"mat-chip-list",40),ls(4,"async"),O()),2&n){const e=t.$implicit,i=Te();B(1),H("ngIf",0===cs(2,2,i.issueService.getDuplicateIssuesFor(e)).length),B(2),H("ngForOf",cs(4,4,i.issueService.getDuplicateIssuesFor(e)))}}function Dle(n,t){1&n&&(x(0,"mat-header-cell",20),De(1," Todo Remaining "),O())}function Ele(n,t){1&n&&(x(0,"span")(1,"font",44),De(2,"All tasks are completed"),O()())}function Cle(n,t){if(1&n&&(x(0,"span")(1,"font",45),De(2),O()()),2&n){const e=Te().$implicit,i=Te();B(2),Nb("",e.issueDisputes.length-i.todoFinished(e),"/",e.issueDisputes.length," tasks pending.")}}function Tle(n,t){if(1&n&&bt(0,"progress",46),2&n){const e=Te().$implicit;Da("value",Te().todoFinished(e)),Da("max",e.issueDisputes.length)}}function Sle(n,t){1&n&&(x(0,"span"),De(1," No Todo List for this issue "),O())}function kle(n,t){if(1&n&&(x(0,"mat-cell"),Ae(1,Ele,3,0,"span",39),Ae(2,Cle,3,2,"span",39),Ae(3,Tle,1,2,"progress",43),Ae(4,Sle,2,0,"span",39),O()),2&n){const e=t.$implicit,i=Te();B(1),H("ngIf",i.isTodoListChecked(e)&&e.issueDisputes.length>0),B(1),H("ngIf",!i.isTodoListChecked(e)),B(1),H("ngIf",e.issueDisputes.length>0),B(1),H("ngIf",0===e.issueDisputes.length)}}function xle(n,t){1&n&&(x(0,"mat-header-cell",34),De(1,"Response"),O())}function Ile(n,t){if(1&n&&(x(0,"span",24),Je("click",function(i){return i.stopPropagation()}),De(1," Disagree "),O()),2&n){const e=Te(2);H("ngStyle",e.labelService.setLabelStyle(e.labelService.getColorOfLabel("response","Rejected")))}}function Ale(n,t){if(1&n&&(x(0,"span",24),Je("click",function(i){return i.stopPropagation()}),De(1," Agree "),O()),2&n){const e=Te(2);H("ngStyle",e.labelService.setLabelStyle(e.labelService.getColorOfLabel("response","Accepted")))}}function Rle(n,t){if(1&n&&(x(0,"mat-cell"),Ae(1,Ile,2,1,"span",26),Ae(2,Ale,2,1,"span",26),O()),2&n){const e=t.$implicit;B(1),H("ngIf",e.testerDisagree),B(1),H("ngIf",!e.testerDisagree)}}function Lle(n,t){1&n&&(x(0,"mat-header-cell"),De(1," Actions "),O())}function Ole(n,t){if(1&n){const e=an();x(0,"button",54),Je("click",function(r){Ut(e);const s=Te().$implicit;return Te().viewIssueInBrowser(s.id,r)}),x(1,"mat-icon"),De(2,"open_in_new"),O()()}}function Ple(n,t){if(1&n){const e=an();x(0,"button",55),Je("click",function(){Ut(e);const r=Te().$implicit;return Te().logIssueRespondRouting(r.id)}),x(1,"mat-icon"),De(2,"feedback"),O()()}2&n&&H("routerLink","issues/"+Te().$implicit.id)}function Fle(n,t){1&n&&(x(0,"button",57)(1,"mat-icon"),De(2,"edit"),O()())}function Nle(n,t){if(1&n&&Ae(0,Fle,3,0,"button",56),2&n){const e=Te(2);H("ngIf",e.permissions.isIssueEditable()&&e.isActionVisible(e.action_buttons.FIX_ISSUE))}}function Ble(n,t){if(1&n){const e=an();x(0,"button",58),Je("click",function(r){Ut(e);const s=Te().$implicit;return Te().markAsResponded(s,r)}),x(1,"mat-icon"),De(2,"check_circle"),O()()}}function jle(n,t){if(1&n){const e=an();x(0,"button",59),Je("click",function(r){Ut(e);const s=Te().$implicit;return Te().markAsPending(s,r)}),x(1,"mat-icon"),De(2,"cancel"),O()()}}function Yle(n,t){if(1&n){const e=an();x(0,"button",60),Je("click",function(r){Ut(e);const s=Te().$implicit;return Te().openDeleteDialog(s.id,r),r.stopPropagation()}),x(1,"mat-icon"),De(2,"delete_outline"),O()()}}function Hle(n,t){1&n&&bt(0,"mat-spinner",61),2&n&&H("diameter",25)}function Vle(n,t){if(1&n&&(x(0,"mat-cell"),Ae(1,Ole,3,0,"button",47),Ae(2,Ple,3,1,"button",48),Ae(3,Nle,1,1,"ng-template",null,49,cd),Ae(5,Ble,3,0,"button",50),Ae(6,jle,3,0,"button",51),Ae(7,Yle,3,0,"button",52),Ae(8,Hle,1,1,"mat-spinner",53),O()),2&n){const e=t.$implicit,i=ki(4),r=Te();B(1),H("ngIf",r.isActionVisible(r.action_buttons.VIEW_IN_WEB)),B(1),H("ngIf",r.isResponseEditable()&&!e.status&&r.isActionVisible(r.action_buttons.RESPOND_TO_ISSUE))("ngIfElse",i),B(3),H("ngIf",r.isResponseEditable()&&e.status&&r.isActionVisible(r.action_buttons.MARK_AS_RESPONDED)),B(1),H("ngIf",("Student"===r.userService.currentUser.role||"Admin"===r.userService.currentUser.role)&&r.isActionVisible(r.action_buttons.MARK_AS_PENDING)),B(1),H("ngIf",r.permissions.isIssueDeletable()&&!r.issuesPendingDeletion[e.id]&&r.isActionVisible(r.action_buttons.DELETE_ISSUE)),B(1),H("ngIf",r.issuesPendingDeletion[e.id]&&r.isActionVisible(r.action_buttons.DELETE_ISSUE))}}function qle(n,t){1&n&&bt(0,"mat-header-row")}function Ule(n,t){if(1&n){const e=an();x(0,"mat-row",62),Je("click",function(){const s=Ut(e).$implicit;return Te().logIssueEditRouting(s.id)}),O()}2&n&&H("routerLink","issues/"+t.$implicit.id)}function zle(n,t){1&n&&(x(0,"mat-card",63),bt(1,"mat-progress-spinner",64),O())}const Gle=function(){return[10,20,50]};var Pi=(()=>(function(n){n[n.VIEW_IN_WEB=0]="VIEW_IN_WEB",n[n.MARK_AS_RESPONDED=1]="MARK_AS_RESPONDED",n[n.MARK_AS_PENDING=2]="MARK_AS_PENDING",n[n.RESPOND_TO_ISSUE=3]="RESPOND_TO_ISSUE",n[n.FIX_ISSUE=4]="FIX_ISSUE",n[n.DELETE_ISSUE=5]="DELETE_ISSUE"}(Pi||(Pi={})),Pi))();let Kr=(()=>{class n{constructor(e,i,r,s,o,a,l,h,f,D,k=null){this.userService=e,this.permissions=i,this.labelService=r,this.githubService=s,this.issueService=o,this.issueTableSettingsService=a,this.phaseService=l,this.errorHandlingService=h,this.logger=f,this.dialogService=D,this.snackBar=k,this.snackBarAutoCloseTime=3e3,this.filters=void 0,this.action_buttons=Pi,this.deleteIssueModalMessages=["Do you wish to delete this issue?","This action is irreversible!"],this.yesButtonModalMessage="Yes, I wish to delete this issue",this.noButtonModalMessage="No, I don't wish to delete this issue"}ngOnInit(){this.issues=new Gae(this.issueService,this.sort,this.paginator,this.headers,this.filters),this.issuesPendingDeletion={},this.tableSettings=this.issueTableSettingsService.getTableSettings(this.table_name)}ngAfterViewInit(){setTimeout(()=>{this.issues.loadIssues()})}sortChange(e){this.tableSettings.sortActiveId=e.active,this.tableSettings.sortDirection=e.direction,this.issueTableSettingsService.setTableSettings(this.table_name,this.tableSettings)}pageChange(e){this.tableSettings.pageSize=e.pageSize,this.tableSettings.pageIndex=e.pageIndex,this.issueTableSettingsService.setTableSettings(this.table_name,this.tableSettings)}isActionVisible(e){return this.actions.includes(e)}markAsResponded(e,i){this.logger.info(`IssueTablesComponent: Marking Issue ${e.id} as Responded`);const r=e.clone(this.phaseService.currentPhase);r.status=Ys.Done,this.issueService.updateIssue(r).subscribe(s=>{this.issueService.updateLocalStore(s)},s=>{this.errorHandlingService.handleError(s)}),i.stopPropagation()}isResponseEditable(){return this.permissions.isTeamResponseEditable()||this.permissions.isTesterResponseEditable()}markAsPending(e,i){this.logger.info(`IssueTablesComponent: Marking Issue ${e.id} as Pending`);const r=e.clone(this.phaseService.currentPhase);r.status=Ys.Incomplete,this.issueService.updateIssue(r).subscribe(s=>{this.issueService.updateLocalStore(s)},s=>{this.errorHandlingService.handleError(s)}),i.stopPropagation()}logIssueRespondRouting(e){this.logger.info(`IssueTablesComponent: Proceeding to Respond to Issue ${e}`)}logIssueEditRouting(e){this.logger.info(`IssueTablesComponent: Proceeding to Edit Issue ${e}`)}todoFinished(e){return e.issueDisputes.length-e.numOfUnresolvedDisputes()}isTodoListChecked(e){return e.issueDisputes&&0===e.numOfUnresolvedDisputes()}viewIssueInBrowser(e,i){this.logger.info(`IssueTablesComponent: Opening Issue ${e} on Github`),this.githubService.viewIssueInBrowser(e,i)}deleteIssue(e,i){this.logger.info(`IssueTablesComponent: Deleting Issue ${e}`),this.issuesPendingDeletion=Object.assign(Object.assign({},this.issuesPendingDeletion),{[e]:!0}),this.issueService.deleteIssue(e).pipe(Ia(()=>{const l=(0,lm._T)(this.issuesPendingDeletion,["symbol"==typeof e?e:e+""]);this.issuesPendingDeletion=l})).subscribe(s=>{},s=>{this.errorHandlingService.handleError(s)}),i.stopPropagation();let r=null;r=this.snackBar.openFromComponent(Hae,{data:{message:`Deleted issue ${e}`},duration:this.snackBarAutoCloseTime}),r.onAction().subscribe(()=>{this.undeleteIssue(e,i)})}undeleteIssue(e,i){this.logger.info(`IssueTablesComponent: Undeleting Issue ${e}`),this.issueService.undeleteIssue(e).subscribe(r=>{},r=>{this.errorHandlingService.handleError(r)}),i.stopPropagation(),this.snackBar.open(`Restored issue ${e}`,"",{duration:this.snackBarAutoCloseTime})}openDeleteDialog(e,i){this.dialogService.openUserConfirmationModal(this.deleteIssueModalMessages,this.yesButtonModalMessage,this.noButtonModalMessage).afterClosed().subscribe(s=>{s&&(this.logger.info(`IssueTablesComponent: Deleting issue ${e}`),this.deleteIssue(e,i))})}}return n.\u0275fac=function(e){return new(e||n)(M(Cr),M(Hs),M(ei),M(fr),M(Di),M(TN),M(er),M(Gi),M(ts),M(vl),M(wP))},n.\u0275cmp=It({type:n,selectors:[["app-issue-tables"]],viewQuery:function(e,i){if(1&e&&(pn(D0,7),pn(v0,7)),2&e){let r;Et(r=Ct())&&(i.sort=r.first),Et(r=Ct())&&(i.paginator=r.first)}},inputs:{headers:"headers",actions:"actions",filters:"filters",table_name:"table_name"},decls:38,vars:14,consts:[["matSort","",1,"mat-elevation-z8",3,"dataSource","matSortActive","matSortDirection","matSortChange"],["matColumnDef","id"],["mat-sort-header","",4,"matHeaderCellDef"],[4,"matCellDef"],["matColumnDef","title"],["matColumnDef","teamAssigned",4,"ngIf"],["matColumnDef","type"],["matColumnDef","severity"],["matColumnDef","response"],["matColumnDef","assignees"],["mat-header-cell","","mat-sort-header","",4,"matHeaderCellDef"],["matColumnDef","duplicatedIssues"],[4,"matHeaderCellDef"],["matColumnDef","Todo Remaining"],["matColumnDef","testerDisagree"],["matColumnDef","actions"],[4,"matHeaderRowDef"],["style","cursor: pointer",3,"routerLink","click",4,"matRowDef","matRowDefColumns"],["style","display: flex; justify-content: center; align-items: center",4,"ngIf"],[3,"paginatorLocalStorage","pageSize","pageSizeOptions","pageIndex","page"],["mat-sort-header",""],[2,"cursor","default",3,"click"],[1,"no-underline","link-grey-dark","title-wrap",3,"routerLink"],["matColumnDef","teamAssigned"],[3,"ngStyle","click"],["style","display: inline; padding: 1px 2px",3,"click",4,"ngIf"],[3,"ngStyle","click",4,"ngIf"],[2,"display","inline","padding","1px 2px",3,"click"],[1,"arrow-right"],["style","display: inline; margin: 3px",3,"click",4,"ngIf"],[2,"display","inline","margin","3px",3,"click"],["style","margin-left: 10%",4,"ngIf"],[2,"margin-left","10%"],["matTooltip","Should not be empty","matTooltipPosition","above","color","warn"],["mat-header-cell","","mat-sort-header",""],["style","cursor: default",3,"click",4,"ngIf"],["style","margin-left: 5%",4,"ngIf"],[2,"margin-left","5%"],["matTooltip","We strongly recommend assigning all issues to someone","matTooltipPosition","above",2,"color","#ffab40"],[4,"ngIf"],["style","display: inline-block; margin-left: 5px",4,"ngFor","ngForOf"],[2,"display","inline-block","margin-left","5px"],["matTooltipPosition","above",2,"font-size","12px","cursor","pointer",3,"routerLink","matTooltip"],["role","progressbar","style","width: 100%","aria-valuenow","100","aria-valuemin","0","aria-valuemax","100",3,"value","max",4,"ngIf"],["color","green"],["color","red"],["role","progressbar","aria-valuenow","100","aria-valuemin","0","aria-valuemax","100",2,"width","100%",3,"value","max"],["mat-button","","matTooltip","View this issue on GitHub","style","transform: scale(0.8)",3,"click",4,"ngIf"],["mat-button","","color","accent","style","transform: scale(0.8)","matTooltip","Respond to this issue",3,"routerLink","click",4,"ngIf","ngIfElse"],["tryEditIssue",""],["mat-button","","color","primary","style","transform: scale(0.8)","matTooltip","Mark this issue as Responded",3,"click",4,"ngIf"],["color","primary","matTooltip","Mark this issue as Pending","mat-button","","style","transform: scale(0.8)",3,"click",4,"ngIf"],["mat-button","","color","warn","matTooltip","Delete this issue","style","transform: scale(0.8)",3,"click",4,"ngIf"],["color","warn","style","display: inline; padding-right: 30px; margin-left: 5px",3,"diameter",4,"ngIf"],["mat-button","","matTooltip","View this issue on GitHub",2,"transform","scale(0.8)",3,"click"],["mat-button","","color","accent","matTooltip","Respond to this issue",2,"transform","scale(0.8)",3,"routerLink","click"],["mat-button","","color","accent","style","transform: scale(0.8)","matTooltip","Edit this issue",4,"ngIf"],["mat-button","","color","accent","matTooltip","Edit this issue",2,"transform","scale(0.8)"],["mat-button","","color","primary","matTooltip","Mark this issue as Responded",2,"transform","scale(0.8)",3,"click"],["color","primary","matTooltip","Mark this issue as Pending","mat-button","",2,"transform","scale(0.8)",3,"click"],["mat-button","","color","warn","matTooltip","Delete this issue",2,"transform","scale(0.8)",3,"click"],["color","warn",2,"display","inline","padding-right","30px","margin-left","5px",3,"diameter"],[2,"cursor","pointer",3,"routerLink","click"],[2,"display","flex","justify-content","center","align-items","center"],["color","primary","mode","indeterminate","diameter","50","strokeWidth","5"]],template:function(e,i){1&e&&(x(0,"mat-table",0),Je("matSortChange",function(s){return i.sortChange(s)}),Gr(1,1),Ae(2,Qae,2,0,"mat-header-cell",2),Ae(3,Kae,3,1,"mat-cell",3),$r(),Gr(4,4),Ae(5,Zae,2,0,"mat-header-cell",2),Ae(6,Xae,3,2,"mat-cell",3),$r(),Ae(7,tle,3,0,"ng-container",5),Gr(8,6),Ae(9,nle,2,0,"mat-header-cell",2),Ae(10,sle,5,4,"mat-cell",3),$r(),Gr(11,7),Ae(12,ole,2,0,"mat-header-cell",2),Ae(13,cle,5,4,"mat-cell",3),$r(),Gr(14,8),Ae(15,ule,2,0,"mat-header-cell",2),Ae(16,ple,3,2,"mat-cell",3),$r(),Gr(17,9),Ae(18,mle,2,0,"mat-header-cell",10),Ae(19,_le,3,2,"mat-cell",3),$r(),Gr(20,11),Ae(21,yle,2,0,"mat-header-cell",12),Ae(22,Mle,5,6,"mat-cell",3),$r(),Gr(23,13),Ae(24,Dle,2,0,"mat-header-cell",2),Ae(25,kle,5,4,"mat-cell",3),$r(),Gr(26,14),Ae(27,xle,2,0,"mat-header-cell",10),Ae(28,Rle,3,2,"mat-cell",3),$r(),Gr(29,15),Ae(30,Lle,2,0,"mat-header-cell",12),Ae(31,Vle,9,7,"mat-cell",3),$r(),Ae(32,qle,1,0,"mat-header-row",16),De(33,"> "),Ae(34,Ule,1,1,"mat-row",17),O(),Ae(35,zle,2,0,"mat-card",18),ls(36,"async"),x(37,"mat-paginator",19),Je("page",function(s){return i.pageChange(s)}),O()),2&e&&(H("dataSource",i.issues)("matSortActive",i.tableSettings.sortActiveId)("matSortDirection",i.tableSettings.sortDirection),B(7),H("ngIf","Student"!==i.userService.currentUser.role),B(25),H("matHeaderRowDef",i.headers),B(2),H("matRowDefColumns",i.headers),B(1),H("ngIf",cs(36,11,i.issues.isLoading$)),B(2),H("paginatorLocalStorage",i.table_name)("pageSize",i.tableSettings.pageSize)("pageSizeOptions",kf(13,Gle))("pageIndex",i.tableSettings.pageIndex))},directives:[MP,D0,T0,C0,S0,nee,E0,k0,Ed,ai,ql,hs,gl,Br,G_,Yd,Dd,bi,Es,DP,CP,EP,TP,a0,v0,Wae],pipes:[rl],styles:[".mat-table[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;min-width:1000px}.mat-paginator[_ngcontent-%COMP%]{min-width:1000px}.mat-column-id[_ngcontent-%COMP%]{flex:0 1 5%}.mat-column-type[_ngcontent-%COMP%], .mat-column-responseTag[_ngcontent-%COMP%], .mat-column-duplicatedIssues[_ngcontent-%COMP%]{overflow-x:auto}.mat-column-assignees[_ngcontent-%COMP%]{word-wrap:normal}.mat-column-actions[_ngcontent-%COMP%]{overflow-x:auto;text-align:center!important}.mat-header-row[_ngcontent-%COMP%], .mat-row[_ngcontent-%COMP%]{-moz-column-gap:10px;column-gap:10px;min-width:100%}.mat-icon.arrow-right[_ngcontent-%COMP%]{cursor:default;vertical-align:middle}.mat-cell.mat-column-type[_ngcontent-%COMP%]{flex-wrap:wrap}.mat-cell.mat-column-actions[_ngcontent-%COMP%] > button[_ngcontent-%COMP%]{min-width:32px}.mat-column-type[_ngcontent-%COMP%]{flex-basis:12px}.title-wrap[_ngcontent-%COMP%]{overflow-wrap:anywhere}"]}),n})();function $le(n,t){1&n&&(x(0,"button",8),De(1," New Issue "),O())}const Wle=[{path:"phaseBugReporting",component:(()=>{class n{constructor(e,i){this.permissions=e,this.userService=i,this.displayedColumns=[Kt.ID,Kt.TITLE,Kt.TYPE,Kt.SEVERITY,Kt.ACTIONS],this.actionButtons=[Pi.VIEW_IN_WEB,Pi.DELETE_ISSUE,Pi.FIX_ISSUE]}ngOnInit(){}applyFilter(e){this.table.issues.filter=e}}return n.\u0275fac=function(e){return new(e||n)(M(Hs),M(Cr))},n.\u0275cmp=It({type:n,selectors:[["app-phase-bug-reporting"]],viewQuery:function(e,i){if(1&e&&pn(Kr,7),2&e){let r;Et(r=Ct())&&(i.table=r.first)}},decls:13,vars:4,consts:[["cols","3","rowHeight","80px"],[1,"grid-flush-left"],[1,"mat-headline",2,"margin","0px"],[1,"full-grid-width"],["matInput","","placeholder","Search",3,"keyup"],[1,"grid-flush-right"],["mat-stroked-button","","class","create-new-bug-report-button","color","primary","routerLink","issues/new",4,"ngIf"],["table_name","tableBugReporting",3,"headers","actions"],["mat-stroked-button","","color","primary","routerLink","issues/new",1,"create-new-bug-report-button"]],template:function(e,i){1&e&&(x(0,"div")(1,"mat-grid-list",0)(2,"mat-grid-tile")(3,"div",1)(4,"h1",2),De(5),O()()(),x(6,"mat-grid-tile")(7,"mat-form-field",3)(8,"input",4),Je("keyup",function(s){return i.applyFilter(s.target.value)}),O()()(),x(9,"mat-grid-tile")(10,"div",5),Ae(11,$le,2,0,"button",6),O()()(),bt(12,"app-issue-tables",7),O()),2&e&&(B(5),ln(" ","Student"===i.userService.currentUser.role?"Issues you posted":"All Issues"," "),B(6),H("ngIf",i.permissions.isIssueCreatable()),B(1),H("headers",i.displayedColumns)("actions",i.actionButtons))},directives:[fl,Ua,Er,io,ai,bi,Dd,Kr],styles:[".container[_ngcontent-%COMP%]{display:block;align-items:center;justify-content:center;text-align:center}.title[_ngcontent-%COMP%]{color:#000;margin:0;padding:30px 20px}.mat-column-actions[_ngcontent-%COMP%]{width:20%;text-align:center}.mat-column-id[_ngcontent-%COMP%]{width:10%}.mat-column-title[_ngcontent-%COMP%]{width:35%}.mat-column-type[_ngcontent-%COMP%]{width:25%}.mat-column-severity[_ngcontent-%COMP%]{width:23%}"]}),n})(),canActivate:[ro]},{path:"phaseBugReporting/issues/new",component:Yae,canActivate:[ro],canDeactivate:[fm]},{path:"phaseBugReporting/issues/:issue_id",component:Oae,canActivate:[ro],canDeactivate:[fm]}];let Qle=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Yt({type:n}),n.\u0275inj=He({imports:[[ws.forChild(Wle)],ws]}),n})(),SN=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Yt({type:n}),n.\u0275inj=He({imports:[[Qle,Bs,dc,_l,Ey,Do.forChild(),yy,$d]]}),n})(),Kle=(()=>{class n{constructor(e,i,r,s){this.route=e,this.userService=i,this.permissions=r,this.issueService=s,this.issueComponents=[Oi.TESTER_POST,Oi.TEAM_RESPONSE,Oi.ISSUE_DISPUTE,Oi.SEVERITY_LABEL,Oi.TYPE_LABEL,Oi.RESPONSE_LABEL,Oi.DUPLICATE,Oi.UNSURE_CHECKBOX]}ngOnInit(){this.route.params.subscribe(e=>{this.issueId=+e.issue_id})}canDeactivate(){return!this.viewIssue.isEditing()}}return n.\u0275fac=function(e){return new(e||n)(M(Zo),M(Cr),M(Hs),M(Di))},n.\u0275cmp=It({type:n,selectors:[["app-issue"]],viewQuery:function(e,i){if(1&e&&pn(yl,7),2&e){let r;Et(r=Ct())&&(i.viewIssue=r.first)}},decls:2,vars:2,consts:[[3,"issueId","issueComponents"]],template:function(e,i){1&e&&(x(0,"div"),bt(1,"app-view-issue",0),O()),2&e&&(B(1),H("issueId",i.issueId)("issueComponents",i.issueComponents))},directives:[yl],styles:[".row[_ngcontent-%COMP%]{display:flex}.column[_ngcontent-%COMP%]{padding:10px;height:100%}.left[_ngcontent-%COMP%]{width:85%}.right[_ngcontent-%COMP%]{width:15%}"]}),n})();function Zle(n,t){1&n&&(x(0,"button",11)(1,"mat-icon",12),De(2," settings "),O()()),2&n&&(Te(),H("matMenuTriggerFor",ki(6)))}function Xle(n,t){if(1&n){const e=an();x(0,"button",13),Je("click",function(){const s=Ut(e).$implicit;return Te().updateDisplayedTeam(s)}),x(1,"span"),De(2),O()()}if(2&n){const e=t.$implicit;H("disabled",e===Te().teamFilter),B(2),ln(" ",e," ")}}const Jle=[{path:"phaseModeration",component:(()=>{class n{constructor(e,i,r){this.issueService=e,this.userService=i,this.dataService=r,this.displayedColumns=[Kt.ID,Kt.TITLE,Kt.TYPE,Kt.SEVERITY,Kt.TODO,Kt.ACTIONS],this.teamFilter="All Teams",this.actionButtons=[Pi.VIEW_IN_WEB,Pi.FIX_ISSUE]}ngOnInit(){this.issueService.setIssueTeamFilter(this.teamFilter)}applyFilter(e){this.table.issues.filter=e}get teamList(){const e=this.dataService.getTeams();switch(U0[Mn.phaseModeration][this.userService.currentUser.role]){case Ji.FilterByTeamAssigned:return["All Teams",...this.userService.currentUser.allocatedTeams.map(i=>i.id)];case Ji.NoFilter:return["All Teams",...e]}}updateDisplayedTeam(e){this.teamFilter=e,this.table.issues.teamFilter=this.teamFilter}}return n.\u0275fac=function(e){return new(e||n)(M(Di),M(Cr),M(Li))},n.\u0275cmp=It({type:n,selectors:[["app-phase-moderation"]],viewQuery:function(e,i){if(1&e&&pn(Kr,7),2&e){let r;Et(r=Ct())&&(i.table=r.first)}},decls:18,vars:5,consts:[[2,"text-align","center","margin-bottom","20px"],[1,"mat-display-1"],["mat-icon-button","",3,"matMenuTriggerFor",4,"ngIf"],["teamMenu",""],["mat-menu-item","",3,"disabled","click",4,"ngFor","ngForOf"],["cols","3","rowHeight","80px"],[1,"grid-flush-left"],[1,"mat-headline",2,"margin","0px"],[1,"full-grid-width"],["matInput","","placeholder","Search",3,"keyup"],["table_name","tableModeration",3,"headers","actions"],["mat-icon-button","",3,"matMenuTriggerFor"],[2,"font-size","20px","margin-bottom","7px","color","#586069"],["mat-menu-item","",3,"disabled","click"]],template:function(e,i){1&e&&(x(0,"div")(1,"div",0)(2,"span",1),De(3),O(),Ae(4,Zle,3,1,"button",2),x(5,"mat-menu",null,3),Ae(7,Xle,3,2,"button",4),O()(),x(8,"mat-grid-list",5)(9,"mat-grid-tile")(10,"div",6)(11,"h1",7),De(12,"Issues Submitted by Students"),O()()(),bt(13,"br"),x(14,"mat-grid-tile")(15,"mat-form-field",8)(16,"input",9),Je("keyup",function(s){return i.applyFilter(s.target.value)}),O()()()(),bt(17,"app-issue-tables",10),O()),2&e&&(B(3),ln(" ",i.teamList?i.teamFilter:i.userService.currentUser.team.id," "),B(1),H("ngIf",i.teamList),B(3),H("ngForOf",i.teamList),B(10),H("headers",i.displayedColumns)("actions",i.actionButtons))},directives:[ai,bi,iy,hs,ny,Br,lc,fl,Ua,Er,io,Kr],styles:[".mat-column-id[_ngcontent-%COMP%]{width:10%}.mat-column-title[_ngcontent-%COMP%]{width:20%}.mat-column-type[_ngcontent-%COMP%]{width:15%}.mat-column-severity[_ngcontent-%COMP%]{width:10%}.mat-column-Todo-Remaining[_ngcontent-%COMP%]{width:20%}.mat-column-actions[_ngcontent-%COMP%]{width:10%;text-align:center}"]}),n})(),canActivate:[ro]},{path:"phaseModeration/issues/:issue_id",component:Kle,canActivate:[ro],canDeactivate:[fm]}];let ece=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Yt({type:n}),n.\u0275inj=He({imports:[[ws.forChild(Jle)],ws]}),n})(),kN=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Yt({type:n}),n.\u0275inj=He({imports:[[ece,Bs,dc,_l,Ey,Do.forChild(),yy]]}),n})(),tce=(()=>{class n{constructor(e,i,r){this.issueService=e,this.route=i,this.permissions=r,this.issueComponents=[Oi.TESTER_POST,Oi.TEAM_RESPONSE,Oi.NEW_TEAM_RESPONSE,Oi.SEVERITY_LABEL,Oi.TYPE_LABEL,Oi.RESPONSE_LABEL,Oi.ASSIGNEE,Oi.DUPLICATE]}ngOnInit(){this.route.params.subscribe(e=>{this.issueId=+e.issue_id})}canDeactivate(){return!this.viewIssue.isEditing()}}return n.\u0275fac=function(e){return new(e||n)(M(Di),M(Zo),M(Hs))},n.\u0275cmp=It({type:n,selectors:[["app-issue"]],viewQuery:function(e,i){if(1&e&&pn(yl,7),2&e){let r;Et(r=Ct())&&(i.viewIssue=r.first)}},decls:2,vars:2,consts:[[3,"issueId","issueComponents"]],template:function(e,i){1&e&&(x(0,"div"),bt(1,"app-view-issue",0),O()),2&e&&(B(1),H("issueId",i.issueId)("issueComponents",i.issueComponents))},directives:[yl],styles:[".row[_ngcontent-%COMP%]{display:flex}.column[_ngcontent-%COMP%]{padding:10px;height:100%}.left[_ngcontent-%COMP%]{width:85%}.right[_ngcontent-%COMP%]{width:15%}"]}),n})(),nce=(()=>{class n{constructor(e,i,r){this.issueService=e,this.permissions=i,this.userService=r,this.actionButtons=[Pi.VIEW_IN_WEB,Pi.RESPOND_TO_ISSUE,Pi.MARK_AS_RESPONDED,Pi.FIX_ISSUE],this.displayedColumns=r.currentUser.role!==An.Student?[Kt.ID,Kt.TITLE,Kt.TEAM_ASSIGNED,Kt.TYPE,Kt.SEVERITY,Kt.DUPLICATED_ISSUES,Kt.ACTIONS]:[Kt.ID,Kt.TITLE,Kt.TYPE,Kt.SEVERITY,Kt.DUPLICATED_ISSUES,Kt.ACTIONS]}ngOnChanges(e){e.teamFilter.isFirstChange()||(this.table.issues.teamFilter=e.teamFilter.currentValue)}ngOnInit(){const i=s=>!this.issueService.hasTeamResponse(s.id)||!s.status||s.status===Ys.Incomplete;this.filter=s=>i(s)&&(s=>!s.duplicateOf)(s)&&(s=>!s.status||!s.teamResponseError)(s)}applyFilter(e){this.table.issues.filter=e}}return n.\u0275fac=function(e){return new(e||n)(M(Di),M(Hs),M(Cr))},n.\u0275cmp=It({type:n,selectors:[["app-issues-pending"]],viewQuery:function(e,i){if(1&e&&pn(Kr,7),2&e){let r;Et(r=Ct())&&(i.table=r.first)}},inputs:{teamFilter:"teamFilter"},features:[Jn],decls:10,vars:3,consts:[["cols","3","rowHeight","80px"],[1,"grid-flush-left"],[1,"mat-headline",2,"margin","0"],[1,"full-grid-width"],["matInput","","placeholder","Search",3,"keyup"],["table_name","tableTeamResponsePending",3,"headers","actions","filters"]],template:function(e,i){1&e&&(x(0,"div")(1,"mat-grid-list",0)(2,"mat-grid-tile")(3,"div",1)(4,"h1",2),De(5,"Issues Pending Response"),O()()(),x(6,"mat-grid-tile")(7,"mat-form-field",3)(8,"input",4),Je("keyup",function(s){return i.applyFilter(s.target.value)}),O()()()(),bt(9,"app-issue-tables",5),O()),2&e&&(B(9),H("headers",i.displayedColumns)("actions",i.actionButtons)("filters",i.filter))},directives:[fl,Ua,Er,io,Kr],styles:[".container[_ngcontent-%COMP%]{display:block;align-items:center;justify-content:center;text-align:center}.title[_ngcontent-%COMP%]{color:#000;margin:0;padding:30px 20px}.mat-column-actions[_ngcontent-%COMP%]{width:13%;text-align:center}.mat-column-id[_ngcontent-%COMP%]{width:10%}.mat-column-title[_ngcontent-%COMP%]{width:26%}.mat-column-teamAssigned[_ngcontent-%COMP%]{width:10%}.mat-column-type[_ngcontent-%COMP%]{width:12%}.mat-column-severity[_ngcontent-%COMP%]{width:10%}.mat-column-duplicateOf[_ngcontent-%COMP%]{width:12%}"]}),n})(),ice=(()=>{class n{constructor(e,i){this.issueService=e,this.userService=i,this.actionButtons=[Pi.VIEW_IN_WEB,Pi.MARK_AS_PENDING,Pi.FIX_ISSUE],this.displayedColumns=i.currentUser.role===An.Student?[Kt.ID,Kt.TITLE,Kt.TYPE,Kt.SEVERITY,Kt.RESPONSE,Kt.ASSIGNEE,Kt.DUPLICATED_ISSUES,Kt.ACTIONS]:[Kt.ID,Kt.TITLE,Kt.TEAM_ASSIGNED,Kt.TYPE,Kt.SEVERITY,Kt.RESPONSE,Kt.ASSIGNEE,Kt.DUPLICATED_ISSUES,Kt.ACTIONS]}ngOnChanges(e){e.teamFilter.isFirstChange()||(this.table.issues.teamFilter=e.teamFilter.currentValue)}ngOnInit(){this.filter=e=>(o=>this.issueService.hasTeamResponse(o.id))(e)&&!e.duplicateOf&&e.status===Ys.Done}applyFilter(e){this.table.issues.filter=e}}return n.\u0275fac=function(e){return new(e||n)(M(Di),M(Cr))},n.\u0275cmp=It({type:n,selectors:[["app-issues-responded"]],viewQuery:function(e,i){if(1&e&&pn(Kr,7),2&e){let r;Et(r=Ct())&&(i.table=r.first)}},inputs:{teamFilter:"teamFilter"},features:[Jn],decls:10,vars:3,consts:[["cols","3","rowHeight","80px"],[1,"grid-flush-left"],[1,"mat-headline",2,"margin","0px"],[1,"full-grid-width"],["matInput","","placeholder","Search",3,"keyup"],["table_name","tableTeamResponseResponded",3,"headers","actions","filters"]],template:function(e,i){1&e&&(x(0,"div")(1,"mat-grid-list",0)(2,"mat-grid-tile")(3,"div",1)(4,"h1",2),De(5,"Issues Responded"),O()()(),x(6,"mat-grid-tile")(7,"mat-form-field",3)(8,"input",4),Je("keyup",function(s){return i.applyFilter(s.target.value)}),O()()()(),bt(9,"app-issue-tables",5),O()),2&e&&(B(9),H("headers",i.displayedColumns)("actions",i.actionButtons)("filters",i.filter))},directives:[fl,Ua,Er,io,Kr],styles:[".container[_ngcontent-%COMP%]{display:block;align-items:center;justify-content:center;text-align:center}.title[_ngcontent-%COMP%]{color:#000;margin:0;padding:30px 20px}.mat-column-id[_ngcontent-%COMP%]{width:5%}.mat-column-title[_ngcontent-%COMP%]{width:20%}.mat-column-type[_ngcontent-%COMP%]{width:11%}.mat-column-severity[_ngcontent-%COMP%]{width:6%}.mat-column-responseTag[_ngcontent-%COMP%], .mat-column-assignees[_ngcontent-%COMP%]{width:10%}.mat-column-teamAssigned[_ngcontent-%COMP%]{width:6%}.mat-column-duplicatedIssues[_ngcontent-%COMP%]{width:10%}.mat-column-actions[_ngcontent-%COMP%]{width:13%;text-align:center}.grid-flush-right[_ngcontent-%COMP%]{position:absolute;right:5px}"]}),n})(),rce=(()=>{class n{constructor(e,i,r){this.issueService=e,this.userService=i,this.permissions=r,this.actionButtons=[Pi.VIEW_IN_WEB,Pi.FIX_ISSUE],this.displayedColumns=i.currentUser.role===An.Student?[Kt.ID,Kt.TITLE,Kt.TYPE,Kt.SEVERITY,Kt.RESPONSE,Kt.ASSIGNEE,Kt.DUPLICATED_ISSUES,Kt.ACTIONS]:[Kt.ID,Kt.TITLE,Kt.TEAM_ASSIGNED,Kt.TYPE,Kt.SEVERITY,Kt.RESPONSE,Kt.ASSIGNEE,Kt.DUPLICATED_ISSUES,Kt.ACTIONS]}ngOnChanges(e){e.teamFilter.isFirstChange()||(this.table.issues.teamFilter=e.teamFilter.currentValue)}ngOnInit(){this.filter=e=>{const o=(f=>this.issueService.hasTeamResponse(f.id))(e)&&!!e.duplicateOf&&(f=>!!this.issueService.issues$.getValue().filter(D=>D.duplicateOf===f.id).length)(e),h=!!e.status&&(f=>!!f.teamResponseError)(e);return o||h}}applyFilter(e){this.table.issues.filter=e}}return n.\u0275fac=function(e){return new(e||n)(M(Di),M(Cr),M(Hs))},n.\u0275cmp=It({type:n,selectors:[["app-issues-faulty"]],viewQuery:function(e,i){if(1&e&&pn(Kr,7),2&e){let r;Et(r=Ct())&&(i.table=r.first)}},inputs:{teamFilter:"teamFilter"},features:[Jn],decls:10,vars:3,consts:[["cols","3","rowHeight","80px"],[1,"grid-flush-left"],[1,"mat-headline",2,"margin","0px"],[1,"full-grid-width"],["matInput","","placeholder","Search",3,"keyup"],["table_name","tableTeamResponseFaulty",3,"headers","actions","filters"]],template:function(e,i){1&e&&(x(0,"div")(1,"mat-grid-list",0)(2,"mat-grid-tile")(3,"div",1)(4,"h1",2),De(5,"Faulty Issues"),O()()(),x(6,"mat-grid-tile")(7,"mat-form-field",3)(8,"input",4),Je("keyup",function(s){return i.applyFilter(s.target.value)}),O()()()(),bt(9,"app-issue-tables",5),O()),2&e&&(B(9),H("headers",i.displayedColumns)("actions",i.actionButtons)("filters",i.filter))},directives:[fl,Ua,Er,io,Kr],styles:[".container[_ngcontent-%COMP%]{display:block;align-items:center;justify-content:center;text-align:center}.title[_ngcontent-%COMP%]{color:#000;margin:0;padding:30px 20px}.mat-column-id[_ngcontent-%COMP%]{width:5%}.mat-column-title[_ngcontent-%COMP%]{width:20%}.mat-column-type[_ngcontent-%COMP%]{width:15%}.mat-column-severity[_ngcontent-%COMP%], .mat-column-responseTag[_ngcontent-%COMP%], .mat-column-assignees[_ngcontent-%COMP%]{width:10%}.mat-column-teamAssigned[_ngcontent-%COMP%]{width:7%}.mat-column-duplicatedIssues[_ngcontent-%COMP%]{width:10%}.mat-column-actions[_ngcontent-%COMP%]{width:15%;text-align:center}"]}),n})();function sce(n,t){1&n&&(x(0,"button",6)(1,"mat-icon",7),De(2," settings "),O()()),2&n&&(Te(),H("matMenuTriggerFor",ki(6)))}function oce(n,t){if(1&n){const e=an();x(0,"button",8),Je("click",function(){const s=Ut(e).$implicit;return Te().updateDisplayedTeam(s)}),x(1,"span"),De(2),O()()}if(2&n){const e=t.$implicit;H("disabled",e===Te().teamFilter),B(2),ln(" ",e," ")}}const ace=[{path:"phaseTeamResponse",component:(()=>{class n{constructor(e,i,r){this.userService=e,this.dataService=i,this.issueService=r,this.teamFilter="All Teams"}ngOnInit(){this.issueService.setIssueTeamFilter(this.teamFilter)}get teamList(){const e=this.dataService.getTeams();switch(U0[Mn.phaseTeamResponse][this.userService.currentUser.role]){case Ji.FilterByTeamAssigned:return["All Teams",...this.userService.currentUser.allocatedTeams.map(i=>i.id)];case Ji.NoFilter:return["All Teams",...e]}}updateDisplayedTeam(e){this.teamFilter=e}}return n.\u0275fac=function(e){return new(e||n)(M(Cr),M(Li),M(Di))},n.\u0275cmp=It({type:n,selectors:[["app-phase-team-response"]],decls:11,vars:6,consts:[[2,"text-align","center","margin-bottom","20px"],[1,"mat-display-1"],["mat-icon-button","",3,"matMenuTriggerFor",4,"ngIf"],["teamMenu",""],["mat-menu-item","",3,"disabled","click",4,"ngFor","ngForOf"],[3,"teamFilter"],["mat-icon-button","",3,"matMenuTriggerFor"],[2,"font-size","20px","margin-bottom","7px","color","#586069"],["mat-menu-item","",3,"disabled","click"]],template:function(e,i){1&e&&(x(0,"div")(1,"div",0)(2,"span",1),De(3),O(),Ae(4,sce,3,1,"button",2),x(5,"mat-menu",null,3),Ae(7,oce,3,2,"button",4),O()(),bt(8,"app-issues-pending",5)(9,"app-issues-responded",5)(10,"app-issues-faulty",5),O()),2&e&&(B(3),ln(" ",i.teamList?i.teamFilter:i.userService.currentUser.team.id," "),B(1),H("ngIf",i.teamList),B(3),H("ngForOf",i.teamList),B(1),H("teamFilter",i.teamFilter),B(1),H("teamFilter",i.teamFilter),B(1),H("teamFilter",i.teamFilter))},directives:[ai,bi,iy,hs,ny,Br,lc,nce,ice,rce],styles:[".container[_ngcontent-%COMP%]{display:block;align-items:center;justify-content:center;text-align:center}.title[_ngcontent-%COMP%]{color:#000;margin:0;padding:30px 20px}.mat-column-actions[_ngcontent-%COMP%]{width:80px;text-align:center}.mat-column-id[_ngcontent-%COMP%]{width:10%}.mat-column-title[_ngcontent-%COMP%]{width:40%}.mat-column-type[_ngcontent-%COMP%]{width:30%}.mat-column-severity[_ngcontent-%COMP%]{width:12%}"]}),n})(),canActivate:[ro]},{path:"phaseTeamResponse/issues/:issue_id",component:tce,canActivate:[ro],canDeactivate:[fm]}];let lce=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Yt({type:n}),n.\u0275inj=He({imports:[[ws.forChild(ace)],ws]}),n})(),xN=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Yt({type:n}),n.\u0275inj=He({imports:[[lce,Bs,dc,_l,Ey,Do.forChild(),yy]]}),n})(),cce=(()=>{class n{constructor(e){this.route=e,this.issueComponents=[Oi.TESTER_POST,Oi.SEVERITY_LABEL,Oi.TYPE_LABEL,Oi.TEAM_RESPONSE,Oi.TESTER_RESPONSE]}ngOnInit(){this.route.params.subscribe(e=>{this.issueId=+e.issue_id})}canDeactivate(){return!this.viewIssue.isEditing()}}return n.\u0275fac=function(e){return new(e||n)(M(Zo))},n.\u0275cmp=It({type:n,selectors:[["app-issue"]],viewQuery:function(e,i){if(1&e&&pn(yl,7),2&e){let r;Et(r=Ct())&&(i.viewIssue=r.first)}},decls:2,vars:2,consts:[[3,"issueId","issueComponents"]],template:function(e,i){1&e&&(x(0,"div"),bt(1,"app-view-issue",0),O()),2&e&&(B(1),H("issueId",i.issueId)("issueComponents",i.issueComponents))},directives:[yl],styles:[""]}),n})(),uce=(()=>{class n{constructor(){this.displayedColumns=[Kt.ID,Kt.TITLE,Kt.TYPE,Kt.SEVERITY,Kt.ACTIONS],this.actionButtons=[Pi.VIEW_IN_WEB,Pi.RESPOND_TO_ISSUE,Pi.MARK_AS_RESPONDED,Pi.FIX_ISSUE]}ngOnInit(){this.filter=r=>(r=>!r.status||r.status===Ys.Incomplete)(r)&&(r=>!!r.issueComment)(r)}applyFilter(e){this.table.issues.filter=e}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=It({type:n,selectors:[["app-issue-pending"]],viewQuery:function(e,i){if(1&e&&pn(Kr,7),2&e){let r;Et(r=Ct())&&(i.table=r.first)}},decls:10,vars:3,consts:[["cols","3","rowHeight","80px"],[1,"grid-flush-left"],[1,"mat-headline",2,"margin","0"],[1,"full-grid-width"],["matInput","","placeholder","Search",3,"keyup"],["table_name","tableTesterResponsePending",3,"headers","actions","filters"]],template:function(e,i){1&e&&(x(0,"div")(1,"mat-grid-list",0)(2,"mat-grid-tile")(3,"div",1)(4,"h1",2),De(5,"Issues Pending Response"),O()()(),x(6,"mat-grid-tile")(7,"mat-form-field",3)(8,"input",4),Je("keyup",function(s){return i.applyFilter(s.target.value)}),O()()()(),bt(9,"app-issue-tables",5),O()),2&e&&(B(9),H("headers",i.displayedColumns)("actions",i.actionButtons)("filters",i.filter))},directives:[fl,Ua,Er,io,Kr],styles:[""]}),n})(),dce=(()=>{class n{constructor(){this.displayedColumns=[Kt.ID,Kt.TITLE,Kt.TYPE,Kt.SEVERITY,Kt.TESTER_DISAGREE,Kt.ACTIONS],this.actionButtons=[Pi.VIEW_IN_WEB,Pi.MARK_AS_PENDING,Pi.FIX_ISSUE]}ngOnInit(){this.filter=r=>(r=>r.status===Ys.Done)(r)&&(r=>!!r.issueComment)(r)}applyFilter(e){this.table.issues.filter=e}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=It({type:n,selectors:[["app-issue-responded"]],viewQuery:function(e,i){if(1&e&&pn(Kr,7),2&e){let r;Et(r=Ct())&&(i.table=r.first)}},decls:10,vars:3,consts:[["cols","3","rowHeight","80px"],[1,"grid-flush-left"],[1,"mat-headline",2,"margin","0"],[1,"full-grid-width"],["matInput","","placeholder","Search",3,"keyup"],["table_name","tableTesterResponseResponded",3,"headers","actions","filters"]],template:function(e,i){1&e&&(x(0,"div")(1,"mat-grid-list",0)(2,"mat-grid-tile")(3,"div",1)(4,"h1",2),De(5,"Issues Responded"),O()()(),x(6,"mat-grid-tile")(7,"mat-form-field",3)(8,"input",4),Je("keyup",function(s){return i.applyFilter(s.target.value)}),O()()()(),bt(9,"app-issue-tables",5),O()),2&e&&(B(9),H("headers",i.displayedColumns)("actions",i.actionButtons)("filters",i.filter))},directives:[fl,Ua,Er,io,Kr],styles:[""]}),n})(),hce=(()=>{class n{constructor(){this.displayedColumns=[Kt.ID,Kt.TITLE,Kt.TYPE,Kt.SEVERITY,Kt.ACTIONS],this.actionButtons=[Pi.VIEW_IN_WEB,Pi.FIX_ISSUE]}ngOnInit(){this.filter=e=>e.testerResponseError}applyFilter(e){this.table.issues.filter=e}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=It({type:n,selectors:[["app-issue-faulty"]],viewQuery:function(e,i){if(1&e&&pn(Kr,7),2&e){let r;Et(r=Ct())&&(i.table=r.first)}},decls:10,vars:3,consts:[["cols","3","rowHeight","80px"],[1,"grid-flush-left"],[1,"mat-headline",2,"margin","0px"],[1,"full-grid-width"],["matInput","","placeholder","Search",3,"keyup"],["table_name","tableTesterResponseFaulty",3,"headers","actions","filters"]],template:function(e,i){1&e&&(x(0,"div")(1,"mat-grid-list",0)(2,"mat-grid-tile")(3,"div",1)(4,"h1",2),De(5,"Faulty Issues"),O()()(),x(6,"mat-grid-tile")(7,"mat-form-field",3)(8,"input",4),Je("keyup",function(s){return i.applyFilter(s.target.value)}),O()()()(),bt(9,"app-issue-tables",5),O()),2&e&&(B(9),H("headers",i.displayedColumns)("actions",i.actionButtons)("filters",i.filter))},directives:[fl,Ua,Er,io,Kr],styles:[""]}),n})(),pce=(()=>{class n{constructor(){this.displayedColumns=[Kt.ID,Kt.TITLE,Kt.TYPE,Kt.SEVERITY,Kt.ACTIONS],this.actionButtons=[Pi.VIEW_IN_WEB]}ngOnInit(){this.filter=e=>e.teamAccepted}applyFilter(e){this.table.issues.filter=e}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=It({type:n,selectors:[["app-issue-accepted"]],viewQuery:function(e,i){if(1&e&&pn(Kr,7),2&e){let r;Et(r=Ct())&&(i.table=r.first)}},decls:10,vars:3,consts:[["cols","3","rowHeight","80px"],[1,"grid-flush-left"],[1,"mat-headline",2,"margin","0"],[1,"full-grid-width"],["matInput","","placeholder","Search",3,"keyup"],["table_name","tableTesterResponseAccepted",3,"headers","actions","filters"]],template:function(e,i){1&e&&(x(0,"div")(1,"mat-grid-list",0)(2,"mat-grid-tile")(3,"div",1)(4,"h1",2),De(5,"Accepted by Dev Team (No Action Required)"),O()()(),x(6,"mat-grid-tile")(7,"mat-form-field",3)(8,"input",4),Je("keyup",function(s){return i.applyFilter(s.target.value)}),O()()()(),bt(9,"app-issue-tables",5),O()),2&e&&(B(9),H("headers",i.displayedColumns)("actions",i.actionButtons)("filters",i.filter))},directives:[fl,Ua,Er,io,Kr],styles:[""]}),n})();const mce=[{path:"phaseTesterResponse",component:(()=>{class n{constructor(){}ngOnInit(){}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=It({type:n,selectors:[["app-phase-tester-response"]],decls:5,vars:0,template:function(e,i){1&e&&(x(0,"div"),bt(1,"app-issue-pending")(2,"app-issue-responded")(3,"app-issue-faulty")(4,"app-issue-accepted"),O())},directives:[uce,dce,hce,pce],styles:[""]}),n})(),canActivate:[ro]},{path:"phaseTesterResponse/issues/:issue_id",component:cce,canActivate:[ro],canDeactivate:[fm]}];let fce=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Yt({type:n}),n.\u0275inj=He({imports:[[ws.forChild(mce)],ws]}),n})(),IN=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Yt({type:n}),n.\u0275inj=He({imports:[[di,fce,Bs,Ey,yy,Do.forChild()]]}),n})();const gce=[{path:"",loadChildren:()=>LF},{path:"phaseBugReporting",loadChildren:()=>SN,canLoad:[ro]},{path:"phaseTeamResponse",loadChildren:()=>xN,canLoad:[ro]},{path:"phaseTesterResponse",loadChildren:()=>IN,canLoad:[ro]},{path:"phaseModeration",loadChildren:()=>kN,canLoad:[ro]},{path:"**",redirectTo:""}];let _ce=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Yt({type:n}),n.\u0275inj=He({imports:[[ws.forRoot(gce)],ws]}),n})();function yce(n,t){if(1&n){const e=an();x(0,"button",12),Je("click",function(){return Ut(e),Te().goBack()}),x(1,"mat-icon"),De(2,"arrow_back_ios"),O()()}}function vce(n,t){if(1&n&&(x(0,"span",13),De(1),O()),2&n){const e=Te();B(1),ln(" (",e.getPhaseDescription(e.phaseService.currentPhase),") ")}}const bce=function(n){return{color:"green",visibility:n}};function wce(n,t){if(1&n){const e=an();x(0,"button",18),Je("click",function(){const s=Ut(e).$implicit;return Te(2).routeToSelectedPhase(s)}),x(1,"span")(2,"mat-icon",19),De(3,"done"),O(),De(4),O()()}if(2&n){const e=t.$implicit,i=Te(2);B(2),H("ngStyle",$o(2,bce,i.phaseService.currentPhase===e?"visible":"hidden")),B(2),ln(" ",i.getPhaseDescription(e)," ")}}function Mce(n,t){if(1&n&&(x(0,"div")(1,"button",14)(2,"mat-icon",15),De(3,"expand_more"),O()(),x(4,"mat-menu",null,16),Ae(6,wce,5,4,"button",17),O()()),2&n){const e=ki(5),i=Te();B(1),H("matMenuTriggerFor",e),B(5),H("ngForOf",i.phaseService.sessionData.openPhases)}}function Dce(n,t){if(1&n){const e=an();x(0,"button",20),Je("click",function(){return Ut(e),Te().viewBrowser()}),x(1,"mat-icon"),De(2,"open_in_new"),O()()}}function Ece(n,t){if(1&n){const e=an();x(0,"button",21),Je("click",function(){return Ut(e),Te().reload()}),De(1," Sync "),x(2,"mat-icon"),De(3,"refresh"),O()()}}function Cce(n,t){1&n&&(x(0,"div",22)(1,"span",23),De(2,"Sync"),O(),bt(3,"mat-spinner",24),O()),2&n&&(B(3),H("diameter",20))}function Tce(n,t){if(1&n){const e=an();x(0,"button",25),Je("click",function(r){return Ut(e),Te().openLogOutDialog(),r.stopPropagation()}),De(1),x(2,"mat-icon",26),De(3,"exit_to_app"),O()()}if(2&n){const e=Te();B(1),ln(" (",e.userService.currentUser.loginId,") ")}}let kce=(()=>{class n{constructor(e,i,r,s,o,a,l,h,f,D,k,Y){this.router=e,this.auth=i,this.phaseService=r,this.userService=s,this.logger=o,this.location=a,this.githubEventService=l,this.issueService=h,this.errorHandlingService=f,this.githubService=D,this.dialogService=k,this.issueTableSettingsService=Y,this.isReloadButtonDisabled=!1,this.ISSUE_FILTER="/issues?q=is:issue+is:open",this.TUTORIAL_LABEL="+label:tutorial.",this.TEAM_LABEL="+label:team.",this.EXCLUDE_DUPLICATE="+-label:duplicate",this.logOutDialogMessages=["Do you wish to log out?"],this.yesButtonDialogMessage="Yes, I wish to log out",this.noButtonDialogMessage="No, I don't wish to log out",e.events.pipe(hi(oe=>oe instanceof iI),YF()).subscribe(oe=>{this.prevUrl=oe[0].urlAfterRedirects})}ngOnInit(){}routeToSelectedPhase(e){this.phaseService.currentPhase!==Mn[e]&&(this.phaseService.currentPhase=Mn[e],this.githubService.storePhaseDetails(this.phaseService.getPhaseOwner(this.phaseService.currentPhase),this.phaseService.sessionData[e]),this.githubService.reset(),this.issueService.reset(!1),this.reload(),this.issueTableSettingsService.clearTableSettings(),this.router.navigateByUrl(this.phaseService.currentPhase))}isBackButtonShown(){return`/${this.phaseService.currentPhase}`!==this.router.url&&"/"!==this.router.url&&!this.router.url.startsWith("/?code")}isReloadButtonShown(){return"/phaseBugReporting/issues/new"!==this.router.url}isOpenUrlButtonShown(){return this.phaseService.currentPhase===Mn.phaseBugReporting||this.userService.currentUser.role===An.Student||"All Teams"!==this.issueService.getIssueTeamFilter()||this.router.url.includes("/issues")}getVersion(){return js.version}getPhaseDescription(e){return Nie[e]}goBack(){this.prevUrl===`/${this.phaseService.currentPhase}/issues/new`?this.router.navigate(["/phaseBugReporting"]):this.location.back()}viewBrowser(){const e=this.router.url.substring(1),i=e.indexOf("/");let r;r=i<0?this.ISSUE_FILTER.concat(this.getTeamFilterString()):e.substring(i),window.open("https://github.com/".concat(this.githubService.getRepoURL()).concat(r))}openIssueTracker(){window.open("https://github.com/CATcher-org/CATcher/issues")}getTeamFilterString(){if(this.phaseService.currentPhase===Mn.phaseBugReporting||this.phaseService.currentPhase===Mn.phaseTesterResponse)return"";this.userService.currentUser.team&&this.issueService.setIssueTeamFilter(this.userService.currentUser.team.id);const e=this.issueService.getIssueTeamFilter().split("-"),i=this.TUTORIAL_LABEL.concat(`${e[0]}-${e[1]}`).concat(this.TEAM_LABEL).concat(e[2]);return this.phaseService.currentPhase===Mn.phaseModeration?i:this.EXCLUDE_DUPLICATE.concat(i)}reload(){this.isReloadButtonDisabled=!0,this.githubEventService.reloadPage().subscribe(e=>e,e=>{this.errorHandlingService.handleError(e,()=>this.githubEventService.reloadPage())}),setTimeout(()=>{this.isReloadButtonDisabled=!1},3e3)}logOut(){this.auth.logOut()}openLogOutDialog(){this.dialogService.openUserConfirmationModal(this.logOutDialogMessages,this.yesButtonDialogMessage,this.noButtonDialogMessage).afterClosed().subscribe(i=>{i&&(this.logger.info(`HeaderComponent: Logging out from ${this.userService.currentUser.loginId}`),this.logOut())})}exportLogFile(){this.logger.exportLogFile()}}return n.\u0275fac=function(e){return new(e||n)(M(Xi),M(uc),M(er),M(Cr),M(ts),M(Yc),M(hm),M(Di),M(Gi),M(fr),M(vl),M(TN))},n.\u0275cmp=It({type:n,selectors:[["app-layout-header"]],decls:17,vars:9,consts:[["color","primary",2,"position","sticky","position","-webkit-sticky","top","0","z-index","1000"],["mat-icon-button","","class","mat-toolbar mat-primary back-button","style","transform: scale(0.9)",3,"click",4,"ngIf"],[1,"mat-toolbar","mat-primary",2,"text-decoration","none",3,"routerLink"],["id","phase-descriptor","style","margin-left: 10px",4,"ngIf"],[4,"ngIf"],[2,"flex","1 1 auto"],["mat-button","","matTooltip","Download CATcher Log",3,"click"],["mat-button","","matTooltip","Give feedback about CATcher",3,"click"],["mat-button","","matTooltip","View current page on GitHub",3,"click",4,"ngIf"],["mat-button","","matTooltip","Synchronize with Github data",3,"click",4,"ngIf"],["class","sync-spinner",4,"ngIf"],["mat-button","","matTooltip","Log out",3,"click",4,"ngIf"],["mat-icon-button","",1,"mat-toolbar","mat-primary","back-button",2,"transform","scale(0.9)",3,"click"],["id","phase-descriptor",2,"margin-left","10px"],["mat-button","",3,"matMenuTriggerFor"],[2,"color","white"],["menu","matMenu"],["mat-menu-item","",3,"click",4,"ngFor","ngForOf"],["mat-menu-item","",3,"click"],[3,"ngStyle"],["mat-button","","matTooltip","View current page on GitHub",3,"click"],["mat-button","","matTooltip","Synchronize with Github data",3,"click"],[1,"sync-spinner"],[2,"font-size","14px","margin-right","7px"],[1,"white-spinner",3,"diameter"],["mat-button","","matTooltip","Log out",3,"click"],[2,"margin-left","2px"]],template:function(e,i){1&e&&(x(0,"mat-toolbar",0),Ae(1,yce,3,0,"button",1),x(2,"a",2),De(3),O(),Ae(4,vce,2,1,"span",3),Ae(5,Mce,7,2,"div",4),bt(6,"span",5),x(7,"button",6),Je("click",function(){return i.exportLogFile()}),x(8,"mat-icon"),De(9,"receipt"),O()(),x(10,"button",7),Je("click",function(){return i.openIssueTracker()}),x(11,"mat-icon"),De(12,"mail"),O()(),Ae(13,Dce,3,0,"button",8),Ae(14,Ece,4,0,"button",9),Ae(15,Cce,4,1,"div",10),Ae(16,Tce,4,1,"button",11),O()),2&e&&(B(1),H("ngIf",i.isBackButtonShown()),B(1),H("routerLink",i.phaseService.currentPhase),B(1),ln("CATcher v",i.getVersion(),""),B(1),H("ngIf",i.auth.isAuthenticated()),B(1),H("ngIf",i.auth.isAuthenticated()&&i.phaseService.sessionData.openPhases.length>1),B(8),H("ngIf",i.auth.isAuthenticated()&&i.isOpenUrlButtonShown()),B(1),H("ngIf",i.auth.isAuthenticated()&&i.isReloadButtonShown()&&!i.isReloadButtonDisabled),B(1),H("ngIf",i.auth.isAuthenticated()&&i.isReloadButtonShown()&&i.isReloadButtonDisabled),B(1),H("ngIf",i.auth.isAuthenticated()))},directives:[ite,ai,bi,hs,Ed,iy,ny,Br,lc,ql,gl,Es],encapsulation:2}),n})(),xce=(()=>{class n{constructor(e,i){this.errorHandlingService=i,this.NOT_CONNECTED_ERROR=new Error("You are not connected to the internet."),e.info("AppComponent: AppConfig",js),e.info("AppComponent: Mode web")}ngAfterViewInit(){this.addListenerForNetworkOffline()}addListenerForNetworkOffline(){window.addEventListener("offline",e=>{this.errorHandlingService.handleError(this.NOT_CONNECTED_ERROR)},!1)}}return n.\u0275fac=function(e){return new(e||n)(M(ts),M(Gi))},n.\u0275cmp=It({type:n,selectors:[["app-root"]],decls:3,vars:0,consts:[[1,"container"]],template:function(e,i){1&e&&(bt(0,"app-layout-header"),x(1,"div",0),bt(2,"router-outlet"),O())},directives:[kce,OM],styles:[".container[_ngcontent-%COMP%]{padding:30px;min-height:87.9vh}"]}),n})();var hu=(()=>(function(n){n[n.NotAuthenticated=0]="NotAuthenticated",n[n.AwaitingAuthentication=1]="AwaitingAuthentication",n[n.ConfirmOAuthUser=2]="ConfirmOAuthUser",n[n.Authenticated=3]="Authenticated"}(hu||(hu={})),hu))();let Ice=(()=>{class n{constructor(e,i,r,s,o,a,l,h,f,D){this.router=e,this.ngZone=i,this.githubService=r,this.userService=s,this.issueService=o,this.phaseService=a,this.dataService=l,this.githubEventService=h,this.titleService=f,this.logger=D,this.authStateSource=new xi(hu.NotAuthenticated),this.currentAuthState=this.authStateSource.asObservable(),this.accessToken=new xi(void 0)}storeOAuthAccessToken(e){this.githubService.storeOAuthAccessToken(e),this.accessToken.next(e)}reset(){this.accessToken.next(void 0),this.changeAuthState(hu.NotAuthenticated),this.ngZone.run(()=>this.router.navigate([""]))}logOut(){this.githubService.reset(),this.userService.reset(),this.issueService.reset(!0),this.phaseService.reset(),this.dataService.reset(),this.githubEventService.reset(),this.logger.reset(),this.setLandingPageTitle(),this.issueService.setIssueTeamFilter("All Teams"),this.reset()}isAuthenticated(){return this.authStateSource.getValue()===hu.Authenticated}changeAuthState(e){if(e===hu.Authenticated){const i=`${Date.now()}-${uy()}`;this.issueService.setSessionId(i),this.logger.info(`MockAuthService: Successfully authenticated with session: ${i}`)}this.authStateSource.next(e)}setTitleWithPhaseDetail(){const e=w(4147),i=`${e.name} ${e.version} - ${this.phaseService.getPhaseDetail()}`;this.titleService.setTitle(i)}setLandingPageTitle(){const e=w(4147);this.titleService.setTitle(`${e.name} ${e.version}`)}startOAuthProcess(){this.accessToken.next("FabricatedToken")}navigateToLandingPage(){this.router.navigateByUrl(this.phaseService.currentPhase)}clearNext(){}getNext(){}storeNext(e){}}return n.\u0275fac=function(e){return new(e||n)(Se(Xi),Se(yn),Se(fr),Se(Cr),Se(Di),Se(er),Se(Li),Se(hm),Se(eg),Se(ts))},n.\u0275prov=Ee({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();function Ace(n,t,e,i,r,s,o,a,l,h){return js.test?new Ice(n,t,e,i,r,s,o,a,l,h):(console.log(h),new uc(n,t,e,i,r,s,o,a,l,h))}const gm=Object.assign({},function gte(){return Object.assign(Object.assign({},function fte(){return Object.assign(Object.assign({},FP),{version:mte.version,production:!1,test:!1,clientId:"0cbc5e651d8b01e36687",origin:"http://localhost:4200"})}()),{test:!0,role:"student",username:"CAT-Tester",team:"CS2103T-W12-3"})}()),{Octokit:AN}=w(8176);let Rce="",Lce="",Oce="",Pce="",Fce=new AN,Nce=(()=>{class n{constructor(){this.numIssuesCreated=0}storeOAuthAccessToken(e){Fce=new AN({auth:()=>`Token ${e}`})}storeOrganizationDetails(e,i){Lce=e,Pce=i}storePhaseDetails(e,i){Oce=i,Rce=e}isRepositoryPresent(e,i){return Qt(!0)}createIssue(e,i,r){const s=r.map(a=>new Cs({name:a})),o={number:this.numIssuesCreated,title:e,body:i,labels:s};return this.numIssuesCreated++,Qt(new Ts(o))}fetchAllLabels(){return Qt(ei.getRequiredLabelsAsArray(!0).map(e=>({name:e.labelCategory?`${e.labelCategory}.${e.labelValue}`:`${e.labelValue}`,color:`${e.labelColor}`})))}fetchEventsForRepo(){return Qt([])}fetchDataFile(){return Qt({data:`role,name,team\n${gm.role},${gm.username},${gm.team}\n`})}fetchLatestRelease(){const e=w(4147);return Qt({html_url:`www.github.com/CATcher-org/releases/v${e.version}`,tag_name:`v${e.version}`})}fetchSettingsFile(){return Qt({openPhases:[Mn.phaseBugReporting,Mn.phaseTeamResponse,Mn.phaseTesterResponse,Mn.phaseModeration],[Mn.phaseBugReporting]:"undefined",[Mn.phaseTeamResponse]:"undefined",[Mn.phaseTesterResponse]:"undefined",[Mn.phaseModeration]:"undefined"})}fetchAuthenticatedUser(){return Qt({login:gm.username,name:gm.username})}getProfilesData(){const e=[{profileName:"CATcher",repoName:"CATcher-org/public_data"}],i={json:()=>Promise.resolve({profiles:e})};return Promise.resolve(i)}reset(){}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=Ee({token:n,factory:n.\u0275fac}),n})();function Bce(n,t,e){return js.test?new Nce:new fr(n,t,e)}new zd({id:"CS2103T-W12-3",teamMembers:[{loginId:"JunWei96",role:An.Student},{loginId:"003-samuel",role:An.Student},{loginId:"damithc",role:An.Student},{loginId:"ptvrajsk",role:An.Student}]}),new zd({id:"CS2103T-W12-4",teamMembers:[{loginId:"RonakLakhotia",role:An.Student}]});const Hce=(new zd({id:"CS2103T-W12-3",teamMembers:[{loginId:"JunWei96",role:An.Student},{loginId:"003-samuel",role:An.Student},{loginId:"damithc",role:An.Student},{loginId:"ptvrajsk",role:An.Student}]}),new zd({id:"CS2103T-W12-4",teamMembers:[{loginId:"RonakLakhotia",role:An.Student}]}),{body:"# Team's Response\n\n ## Duplicate status (if any):\n--",created_at:"2020-02-16T18:31:38Z",id:586737495,issue_url:"https://api.github.com/repos/CATcher-org/pe-results/issues/91",updated_at:"2020-03-02T12:50:02Z",url:"https://api.github.com/repos/CATcher-org/pe-results/issues/comments/586737495",user:{login:"testathorStudent",id:46639862,avatar_url:"https://avatars3.githubusercontent.com/u/46639862?v=4",url:"https://api.github.com/users/testathorStudent"}}),oE={body:"# Tutor Moderation\n\n## :question: Issue Type\n\n- [x] Done\n\ntest\n\n
    \n## :question: Issue Severity\n\n- [ ] Done\n\n[replace this with your explanation]\n\n
    \n## :question: Not Related Question\n\n- [ ] Done\n\n[replace this with your explanation]\n\n
    \n",created_at:"2020-08-15T06:39:24Z",id:674357972,issue_url:"https://api.github.com/repos/CATcher-org/pe-evaluation/issues/26",updated_at:"2020-08-15T06:39:40Z",url:"https://api.github.com/repos/CATcher-org/pe-evaluation/issues/comments/674357972",user:{login:"testathorTutor",id:46640218,avatar_url:"https://avatars2.githubusercontent.com/u/46640218?v=4",url:"https://api.github.com/users/testathorTutor"}},Ty={color:"9900cc",name:"type.FunctionalityBug",id:1226647550,url:"https://api.github.com/repos/CATcher-org/pe-results/labels/type.FunctionalityBug"},aE={id:1462485994,url:"https://api.github.com/repos/CATcher-org/pe-results/labels/type.FeatureFlaw",name:"type.FeatureFlaw",color:"d966ff"},Sy={id:1226647431,url:"https://api.github.com/repos/CATcher-org/pe-results/labels/type.DocumentationBug",name:"type.DocumentationBug",color:"d966ff"},lE={id:1226646828,url:"https://api.github.com/repos/CATcher-org/pe-results/labels/severity.Low",name:"severity.Low",color:"ffcccc"},ky={id:1226646649,url:"https://api.github.com/repos/CATcher-org/pe-results/labels/severity.High",name:"severity.High",color:"ff6666"},xy={color:"ff9999",name:"severity.Medium",id:1226647149,url:"https://api.github.com/repos/CATcher-org/pe-results/labels/severity.Medium"},bl={url:"https://api.github.com/repos/CATcher-org/pe-results/labels/tutorial.CS2103T-W12",name:"tutorial.CS2103T-W12",color:"c2e0c6",id:1226649736},wl={id:1226649835,url:"https://api.github.com/repos/CATcher-org/pe-results/labels/team.3",name:"team.3",color:"d4c5f9"},Kd={login:"anubh-v",avatar_url:"https://avatars1.githubusercontent.com/u/35621759?v=4",url:"https://api.github.com/users/anubh-v"},zce={login:"anubh-v",id:35621759,url:"https://api.github.com/users/anubh-v"},cE={login:"geshuming",avatar_url:"https://avatars0.githubusercontent.com/u/43642522?v=4",url:"https://api.github.com/users/geshuming"},Iy={login:"geshuming",id:43642522,url:"https://api.github.com/users/geshuming"},uE="# Issue Description\n{original issue description}\n# Team's Response\n{team's response}\n # Disputes\n\n## :question: Issue Type\n\n### Team says:\r\n{the team's action that is being disputed}\r\n\r\n### Tester says:\r\n{tester's objection}\n\n
    \n## :question: Issue Severity\n\n### Team says:\r\n{the team's action that is being disputed}\r\n\r\n### Tester says:\r\n{tester's objection}\n\n
    \n## :question: Not Related Question\n\n### Team says:\r\n{the team's action that is being disputed}\r\n\r\n### Tester says:\r\n{tester's objection}\n\n
    \n\n",Gce=(new Ts({id:"574085971",number:92,assignees:[],comments:[],body:"",created_at:"2020-03-02T16:19:02Z",labels:[wl,bl,Ty,xy],state:Fs.Open,title:"App starts to lag when given large amount of input",updated_at:"2020-03-13T13:37:32Z",url:"https://api.github.com/repos/CATcher-org/pe-results/issues/92",user:Kd}),new Ts({id:"384830567",number:130,assignees:[],comments:[],body:"",created_at:"2020-03-02T16:19:02Z",labels:[wl,bl,aE,lE],state:Fs.Open,title:"App is sometimes slow",updated_at:"2020-03-13T13:37:32Z",url:"https://api.github.com/repos/CATcher-org/pe-results/issues/130",user:Kd}),new Ts({id:"573957398",number:32,assignees:[],comments:[],body:"",created_at:"2010-03-12T19:12:02Z",labels:[wl,bl,Sy,ky],state:Fs.Open,title:"Too many typos",updated_at:"2012-03-12T19:12:02Z",url:"https://api.github.com/repos/CATcher-org/pe-results/issues/130",user:Kd}),new Ts({id:"573957399",number:33,assignees:[],comments:[],body:"",created_at:"2010-04-12T19:12:02Z",labels:[wl,bl,Sy,ky],state:Fs.Open,title:"Too many typos 2",updated_at:"2012-04-12T19:12:02Z",url:"https://api.github.com/repos/CATcher-org/pe-results/issues/130",user:Kd}),new Ts({id:"551732011",number:91,assignees:[zce,Iy],body:"Screen freezes every few minutes",created_at:"2020-01-18T07:01:45Z",labels:[wl,bl,Ty,xy],state:Fs.Open,title:"Screen freezes",updated_at:"2020-03-02T12:50:02Z",url:"https://api.github.com/repos/CATcher-org/pe-results/issues/91",user:Kd,comments:[Hce]}),()=>{const n=((n=new Date(2020,1,1),t=new Date)=>new Date(n.getTime()+Math.random()*(n.getTime()-t.getTime())).toISOString())(),t=Math.round(1e3*Math.random()),e=[lE,xy,ky],i=[Ty,aE,Sy];return new Ts({id:Math.floor(1e9*Math.random()).toString(),number:t,assignees:[],comments:[],body:`Issue No.: ${t}\nSample Content.`,created_at:n,labels:[wl,bl,i[t%3],e[t%3]],state:Fs.Open,title:`Random Issue: ${t}`,updated_at:n,url:`https://api.github.com/repos/CATcher-org/pe-results/issues/${t}`,user:Kd})});new Ts({id:"574674360",number:26,assignees:[Iy],body:uE,created_at:"2020-03-03T13:38:32Z",labels:[wl,bl,Ty,xy],state:Fs.Open,title:"Basic Issue, Three Disputes, Unsure",updated_at:"2020-08-15T06:39:40Z",url:"https://api.github.com/repos/CATcher-org/pe-results/issues/26",user:cE,comments:[oE]}),new Ts({id:"239538360",number:93,assignees:[Iy],body:uE,created_at:"2020-10-14T10:28:32Z",labels:[wl,bl,aE,ky],state:Fs.Open,title:"Redundant buggy feature",updated_at:"2020-11-25T13:19:40Z",url:"https://api.github.com/repos/CATcher-org/pe-results/issues/26",user:cE,comments:[oE]}),new Ts({id:"384756360",number:6,assignees:[Iy],body:uE,created_at:"2020-03-26T09:08:12Z",labels:[wl,bl,Sy,lE],state:Fs.Open,title:"Documentation bug, too many typos",updated_at:"2020-11-10T16:59:40Z",url:"https://api.github.com/repos/CATcher-org/pe-results/issues/26",user:cE,comments:[oE]});let $ce=(()=>{class n{constructor(e,i,r){this.githubService=e,this.phaseService=i,this.dataService=r,this.issueTeamFilter="All Teams",this.isLoading=new xi(!1),this.issues$=new xi(new Array)}startPollIssues(){void 0===this.issuesPollSubscription&&(0===this.issues$.getValue().length&&this.isLoading.next(!0),this.issuesPollSubscription=Qt(this.reloadAllIssues()).subscribe(e=>this.isLoading.next(!1)))}stopPollIssues(){this.issuesPollSubscription&&(this.issuesPollSubscription.unsubscribe(),this.issuesPollSubscription=void 0)}pollIssue(e){return Qt(this.issues[e])}reloadAllIssues(){return this.initializeData()}getIssue(e){return void 0===this.issues?this.getLatestIssue(e):Qt(this.issues[e])}getLatestIssue(e){return this.githubService.fetchIssueGraphql(e).pipe(ge(i=>(this.createAndSaveIssueModel(i),this.issues[e])),Ni(i=>Qt(this.issues[e])))}createIssue(e,i,r,s){const o=[this.createLabel("severity",r),this.createLabel("type",s)],l=O0.embedDataIntoString(i,new Map([["session",this.sessionId]]));return this.githubService.createIssue(e,l,o).pipe(ge(h=>this.createIssueModel(h)))}updateIssue(e){const i=this.phaseService.currentPhase===Mn.phaseModeration?[]:e.assignees;return this.githubService.updateIssue(e.id,e.title,this.createGithubIssueDescription(e),this.createLabelsForIssue(e),i).pipe(ge(r=>(r.comments=e.githubComments,this.createIssueModel(r))))}updateIssueWithComment(e,i){return this.githubService.updateIssueComment(i).pipe(ue(r=>(e.githubComments=[r,...e.githubComments.filter(s=>s.id!==r.id)],this.updateIssue(e))))}updateTesterResponse(e,i){const s=this.issues[e.id].testerResponses?this.githubService.updateIssueComment(i):this.githubService.createIssueComment(e.id,i.description),o=e.clone(this.phaseService.currentPhase);return o.status=Ys.Done,Oa([s,this.updateIssue(o)]).pipe(ge(a=>{const[l,h]=a;return h.updateTesterResponse(l),h}))}updateTutorResponse(e,i){return Oa([this.githubService.updateIssueComment(i),this.updateIssue(e)]).pipe(ge(r=>{const[s,o]=r;return o.updateDispute(s),o}))}createTeamResponse(e){const i=e.createGithubTeamResponse();return this.githubService.createIssueComment(e.id,i).pipe(ue(r=>(e.githubComments=[r,...e.githubComments.filter(s=>s.id!==r.id)],this.updateIssue(e))))}createTutorResponse(e,i){return Oa([this.githubService.createIssueComment(e.id,i),this.updateIssue(e)]).pipe(ge(r=>{const[s,o]=r;return o.updateDispute(s),o}))}createGithubIssueDescription(e){return this.phaseService.currentPhase===Mn.phaseModeration?`# Issue Description\n${e.createGithubIssueDescription()}\n# Team's Response\n${e.teamResponse}\n # Disputes\n\n${this.getIssueDisputeString(e.issueDisputes)}\n`:e.createGithubIssueDescription()}getIssueDisputeString(e){let i="";for(const r of e)i+=r.toString();return i}deleteIssue(e){return this.githubService.closeIssue(e).pipe(ge(i=>{const r=this.createIssueModel(i);return this.deleteFromLocalStore(r),r}))}deleteFromLocalStore(e){const r=e.id,o=(0,lm._T)(this.issues,["symbol"==typeof r?r:r+""]);this.issues=o,this.issues$.next(Object.values(this.issues))}updateLocalStore(e){this.issues=Object.assign(Object.assign({},this.issues),{[e.id]:e}),this.issues$.next(Object.values(this.issues))}hasTeamResponse(e){return!!this.issues[e].teamResponse}getDuplicateIssuesFor(e){return this.issues$.pipe(ge(i=>i.filter(r=>r.duplicateOf===e.id)))}reset(){this.issues=void 0,this.sessionId=void 0,this.issues$.next(new Array),this.stopPollIssues(),this.isLoading.complete(),this.isLoading=new xi(!1)}initializeData(){if(null!=this.issues)return Qt(Object.values(this.issues));const i=[];if(this.phaseService.currentPhase===Mn.phaseBugReporting)for(let r=0;r<10;r++)i.push(Gce());for(const r of i)this.createAndSaveIssueModel(r);return Qt(Object.values(this.issues))}createAndSaveIssueModel(e){const i=this.createIssueModel(e);return this.updateLocalStore(i),!0}createLabelsForIssue(e){const i=[];if(this.phaseService.currentPhase!==Mn.phaseBugReporting&&this.phaseService.currentPhase!==Mn.phaseTesterResponse){const r=e.teamAssigned.id.split("-");i.push(this.createLabel("tutorial",`${r[0]}-${r[1]}`),this.createLabel("team",r[2]))}return e.severity&&i.push(this.createLabel("severity",e.severity)),e.type&&i.push(this.createLabel("type",e.type)),e.response&&i.push(this.createLabel("response",e.response)),e.duplicated&&i.push("duplicate"),e.status&&i.push(this.createLabel("status",e.status)),e.pending&&+e.pending>0&&i.push(this.createLabel("pending",e.pending)),e.unsure&&i.push("unsure"),i}createLabel(e,i){return`${e}.${i}`}extractTeamIdFromGithubIssue(e){return e.findLabel(Cs.LABELS.tutorial).concat("-").concat(e.findLabel(Cs.LABELS.team))}createIssueModel(e){switch(this.phaseService.currentPhase){case Mn.phaseBugReporting:return ji.createPhaseBugReportingIssue(e);case Mn.phaseTeamResponse:return ji.createPhaseTeamResponseIssue(e,this.dataService.getTeam(this.extractTeamIdFromGithubIssue(e)));case Mn.phaseTesterResponse:return ji.createPhaseTesterResponseIssue(e);case Mn.phaseModeration:return ji.createPhaseModerationIssue(e,this.dataService.getTeam(this.extractTeamIdFromGithubIssue(e)));default:return}}setIssueTeamFilter(e){e&&(this.issueTeamFilter=e)}setSessionId(e){this.sessionId=e}getIssueTeamFilter(){return this.issueTeamFilter}}return n.POLL_INTERVAL=5e3,n.\u0275fac=function(e){return new(e||n)(Se(fr),Se(er),Se(Li))},n.\u0275prov=Ee({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();function Wce(n,t,e,i,r){return js.test?new $ce(n,e,i):new Di(n,t,e,i,r)}function Qce(){const n=new Sp,t=n.link;return n.link=(e,i,r)=>t.call(n,e,i,r).replace(/^
    e?' ':' ',{renderer:n,gfm:!0,breaks:!0,pedantic:!1,smartLists:!0,smartypants:!1}}var Kce=w(4989),Zce=function(){function n(t){var e=t.batchInterval,i=t.batchMax,r=t.batchHandler,s=t.batchKey;this.queuedRequests=new Map,this.batchInterval=e,this.batchMax=i||0,this.batchHandler=r,this.batchKey=s||function(){return""}}return n.prototype.enqueueRequest=function(t){var e=this,i=(0,HM.pi)({},t),r=!1,s=this.batchKey(t.operation);return i.observable||(i.observable=new VM.y$(function(o){e.queuedRequests.has(s)||e.queuedRequests.set(s,[]),r||(e.queuedRequests.get(s).push(i),r=!0),i.next=i.next||[],o.next&&i.next.push(o.next.bind(o)),i.error=i.error||[],o.error&&i.error.push(o.error.bind(o)),i.complete=i.complete||[],o.complete&&i.complete.push(o.complete.bind(o)),1===e.queuedRequests.get(s).length&&e.scheduleQueueConsumption(s),e.queuedRequests.get(s).length===e.batchMax&&e.consumeQueue(s)})),i.observable},n.prototype.consumeQueue=function(t){var e=t||"",i=this.queuedRequests.get(e);if(i){this.queuedRequests.delete(e);var r=i.map(function(k){return k.operation}),s=i.map(function(k){return k.forward}),o=[],a=[],l=[],h=[];i.forEach(function(k,Y){o.push(k.observable),a.push(k.next),l.push(k.error),h.push(k.complete)});var f=this.batchHandler(r,s)||VM.y$.of(),D=function(k){l.forEach(function(Y){Y&&Y.forEach(function(oe){return oe(k)})})};return f.subscribe({next:function(k){if(Array.isArray(k)||(k=[k]),a.length!==k.length){var Y=new Error("server returned results with length "+k.length+", expected length of "+a.length);return Y.result=k,D(Y)}k.forEach(function(oe,Ne){a[Ne]&&a[Ne].forEach(function($e){return $e(oe)})})},error:D,complete:function(){h.forEach(function(k){k&&k.forEach(function(Y){return Y()})})}}),o}},n.prototype.scheduleQueueConsumption=function(t){var e=this,i=t||"";setTimeout(function(){e.queuedRequests.get(i)&&e.queuedRequests.get(i).length&&e.consumeQueue(i)},this.batchInterval)},n}();!function(n){function t(e){var i=n.call(this)||this,r=e||{},s=r.batchInterval,a=r.batchMax,h=r.batchHandler,D=r.batchKey;return i.batcher=new Zce({batchInterval:void 0===s?10:s,batchMax:void 0===a?0:a,batchHandler:void 0===h?function(){return null}:h,batchKey:void 0===D?function(){return""}:D}),e.batchHandler.length<=1&&(i.request=function(Y){return i.batcher.enqueueRequest({operation:Y})}),i}(0,HM.ZT)(t,n),t.prototype.request=function(e,i){return this.batcher.enqueueRequest({operation:e,forward:i})}}(iA.ApolloLink);class Xce extends Zc.ApolloLink{constructor(t,e){super(),this.httpClient=t,this.options=e,this.print=Kce.S,this.options.operationPrinter&&(this.print=this.options.operationPrinter),this.requester=i=>new Zc.Observable(r=>{const s=i.getContext(),o=(qe,Rt)=>function pu(...n){const t=n.find(e=>void 0!==e);return void 0===t?n[n.length-1]:t}(s[qe],this.options[qe],Rt);let a=o("method","POST");const l=o("includeQuery",!0),h=o("includeExtensions",!1),f=o("uri","graphql"),D=o("withCredentials"),k=o("useMultipart"),Y=!0===this.options.useGETForQueries,oe=i.query.definitions.some(qe=>"OperationDefinition"===qe.kind&&"query"===qe.operation);Y&&oe&&(a="GET");const Ne={method:a,url:"function"==typeof f?f(i):f,body:{operationName:i.operationName,variables:i.variables},options:{withCredentials:D,useMultipart:k,headers:this.options.headers}};h&&(Ne.body.extensions=i.extensions),l&&(Ne.body.query=this.print(i.query));const $e=function FN(n){let t=n.headers&&n.headers instanceof Ko?n.headers:new Ko(n.headers);if(n.clientAwareness){const{name:e,version:i}=n.clientAwareness;e&&!t.has("apollographql-client-name")&&(t=t.set("apollographql-client-name",e)),i&&!t.has("apollographql-client-version")&&(t=t.set("apollographql-client-version",i))}return t}(s);Ne.options.headers=((n,t)=>n&&t?t.keys().reduce((i,r)=>i.set(r,t.getAll(r)),n):t||n)(Ne.options.headers,$e);const it=((n,t,e)=>{const i=-1!==["POST","PUT","PATCH"].indexOf(n.method.toUpperCase()),s=n.body.length;let a,o=n.options&&n.options.useMultipart;if(o){if(s)return new st(h=>h.error(new Error("File upload is not available when combined with Batching")));if(!i)return new st(h=>h.error(new Error("File upload is not available when GET is used")));if(!e)return new st(h=>h.error(new Error('To use File upload you need to pass "extractFiles" function from "extract-files" library to HttpLink\'s options')));a=e(n.body),o=!!a.files.size}let l={};if(s){if(!i)return new st(h=>h.error(new Error("Batching is not available for GET requests")));l={body:n.body}}else{const h=o?a.clone:n.body;l=i?{body:h}:{params:Object.keys(n.body).reduce((D,k)=>{const Y=n.body[k];return D[k]=(h=>-1!==["variables","extensions"].indexOf(h.toLowerCase()))(k)?JSON.stringify(Y):Y,D},{})}}if(o&&i){const h=new FormData;h.append("operations",JSON.stringify(l.body));const f={},D=a.files;let k=0;D.forEach(Y=>{f[++k]=Y}),h.append("map",JSON.stringify(f)),k=0,D.forEach((Y,oe)=>{h.append(++k+"",oe,oe.name)}),l.body=h}return t.request(n.method,n.url,Object.assign(Object.assign({observe:"response",responseType:"json",reportProgress:!1},l),n.options))})(Ne,this.httpClient,this.options.extractFiles).subscribe({next:qe=>{i.setContext({response:qe}),r.next(qe.body)},error:qe=>r.error(qe),complete:()=>r.complete()});return()=>{it.closed||it.unsubscribe()}})}request(t){return this.requester(t)}}let Jce=(()=>{class n{constructor(e){this.httpClient=e}create(e){return new Xce(this.httpClient,e)}}return n.\u0275fac=function(e){return new(e||n)(Se(hp))},n.\u0275prov=Ee({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),eue=(()=>{class n{constructor(e,i,r,s,o){this.apollo=e,this.httpLink=i,this.authService=r,this.router=s,this.errorHandlingService=o;const l=rA(()=>({headers:{Accept:"charset=utf-8"}})),h=rA(()=>({headers:{Authorization:`Token ${this.authService.accessToken.getValue()}`}})),f=Zc.ApolloLink.from([l,h,this.httpLink.create({uri:"https://api.github.com/graphql"})]),D=new Zc.InMemoryCache({possibleTypes:i6.possibleTypes});this.apollo.create({link:f,cache:D}),this.router.events.subscribe(k=>{k instanceof bd&&this.errorHandlingService.clearError()})}}return n.\u0275fac=function(e){return new(e||n)(Se(Hg),Se(Jce),Se(uc),Se(Xi),Se(Gi))},n.\u0275mod=Yt({type:n,bootstrap:[xce]}),n.\u0275inj=He({providers:[{provide:fr,useFactory:Bce,deps:[Gi,Hg,ts]},{provide:uc,useFactory:Ace,deps:[Xi,yn,fr,Cr,Di,er,Li,hm,eg,ts]},{provide:Di,useFactory:Wce,deps:[fr,Cr,er,Li,ts]},{provide:Ka,useClass:Gi}],imports:[[Qx,IN,Pz,LF,SN,xN,kN,Bs,Ww,Do.forRoot({markedOptions:{provide:CA,useFactory:Qce}}),x8,_ce]]}),n})();js.production&&function x3(){nx=!1}(),u4().bootstrapModule(eue,{preserveWhitespaces:!1}).catch(n=>console.error(n))},8955:(se,q,w)=>{"use strict";const v="undefined"!=typeof globalThis&&globalThis,m="undefined"!=typeof window&&window,d="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,p=v||"undefined"!=typeof global&&global||m||d,g=function(N,...R){if(g.translate){const F=g.translate(N,R);N=F[0],R=F[1]}let j=b(N[0],N.raw[0]);for(let F=1;F{"use strict";w.r(q),w.d(q,{paginateRest:()=>y});const m=[/^\/search\//,/^\/repos\/[^/]+\/[^/]+\/commits\/[^/]+\/(check-runs|check-suites)([^/]|$)/,/^\/installation\/repositories([^/]|$)/,/^\/user\/installations([^/]|$)/,/^\/repos\/[^/]+\/[^/]+\/actions\/secrets([^/]|$)/,/^\/repos\/[^/]+\/[^/]+\/actions\/workflows(\/[^/]+\/runs)?([^/]|$)/,/^\/repos\/[^/]+\/[^/]+\/actions\/runs(\/[^/]+\/(artifacts|jobs))?([^/]|$)/];function u(b,C,P){const N=b.request.endpoint(C,P),R=N.method,j=N.headers;let F=N.url;return{[Symbol.asyncIterator]:()=>({next:()=>F?b.request({method:R,url:F,headers:j}).then(L=>(function d(b,C,P){const N=C.replace(b.request.endpoint.DEFAULTS.baseUrl,"");if(!m.find(ct=>ct.test(N)))return;const j=P.data.incomplete_results,F=P.data.repository_selection,L=P.data.total_count;delete P.data.incomplete_results,delete P.data.repository_selection,delete P.data.total_count;const ne=Object.keys(P.data)[0],Ge=P.data[ne];P.data=Ge,void 0!==j&&(P.data.incomplete_results=j),void 0!==F&&(P.data.repository_selection=F),P.data.total_count=L,Object.defineProperty(P.data,ne,{get:()=>(b.log.warn(`[@octokit/paginate-rest] "response.data.${ne}" is deprecated for "GET ${N}". Get the results directly from "response.data"`),Array.from(Ge))})}(b,F,L),F=((L.headers.link||"").match(/<([^>]+)>;\s*rel="next"/)||[])[1],{value:L})):Promise.resolve({done:!0})})}}function p(b,C,P,N){return"function"==typeof P&&(N=P,P=void 0),g(b,[],u(b,C,P)[Symbol.asyncIterator](),N)}function g(b,C,P,N){return P.next().then(R=>{if(R.done)return C;let j=!1;return C=C.concat(N?N(R.value,function F(){j=!0}):R.value.data),j?C:g(b,C,P,N)})}function y(b){return{paginate:Object.assign(p.bind(null,b),{iterator:u.bind(null,b)})}}y.VERSION="1.1.2"},1243:(se,q,w)=>{"use strict";function m(d){d.hook.wrap("request",(u,p)=>{d.log.debug("request",p);const g=Date.now(),y=d.request.endpoint.parse(p),b=y.url.replace(p.baseUrl,"");return u(p).then(C=>(d.log.info(`${y.method} ${b} - ${C.status} in ${Date.now()-g}ms`),C)).catch(C=>{throw d.log.info(`${y.method} ${b} - ${C.status} in ${Date.now()-g}ms`),C})})}w.r(q),w.d(q,{requestLog:()=>m}),m.VERSION="1.0.4"},7985:(se,q,w)=>{"use strict";w.r(q),w.d(q,{restEndpointMethods:()=>g});var v=w(505),m={actions:{cancelWorkflowRun:{method:"POST",params:{owner:{required:!0,type:"string"},repo:{required:!0,type:"string"},run_id:{required:!0,type:"integer"}},url:"/repos/:owner/:repo/actions/runs/:run_id/cancel"},createOrUpdateSecretForRepo:{method:"PUT",params:{encrypted_value:{type:"string"},key_id:{type:"string"},name:{required:!0,type:"string"},owner:{required:!0,type:"string"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/actions/secrets/:name"},createRegistrationToken:{method:"POST",params:{owner:{required:!0,type:"string"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/actions/runners/registration-token"},createRemoveToken:{method:"POST",params:{owner:{required:!0,type:"string"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/actions/runners/remove-token"},deleteArtifact:{method:"DELETE",params:{artifact_id:{required:!0,type:"integer"},owner:{required:!0,type:"string"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/actions/artifacts/:artifact_id"},deleteSecretFromRepo:{method:"DELETE",params:{name:{required:!0,type:"string"},owner:{required:!0,type:"string"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/actions/secrets/:name"},downloadArtifact:{method:"GET",params:{archive_format:{required:!0,type:"string"},artifact_id:{required:!0,type:"integer"},owner:{required:!0,type:"string"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/actions/artifacts/:artifact_id/:archive_format"},getArtifact:{method:"GET",params:{artifact_id:{required:!0,type:"integer"},owner:{required:!0,type:"string"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/actions/artifacts/:artifact_id"},getPublicKey:{method:"GET",params:{owner:{required:!0,type:"string"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/actions/secrets/public-key"},getSecret:{method:"GET",params:{name:{required:!0,type:"string"},owner:{required:!0,type:"string"},page:{type:"integer"},per_page:{type:"integer"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/actions/secrets/:name"},getSelfHostedRunner:{method:"GET",params:{owner:{required:!0,type:"string"},repo:{required:!0,type:"string"},runner_id:{required:!0,type:"integer"}},url:"/repos/:owner/:repo/actions/runners/:runner_id"},getWorkflow:{method:"GET",params:{owner:{required:!0,type:"string"},repo:{required:!0,type:"string"},workflow_id:{required:!0,type:"integer"}},url:"/repos/:owner/:repo/actions/workflows/:workflow_id"},getWorkflowJob:{method:"GET",params:{job_id:{required:!0,type:"integer"},owner:{required:!0,type:"string"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/actions/jobs/:job_id"},getWorkflowRun:{method:"GET",params:{owner:{required:!0,type:"string"},repo:{required:!0,type:"string"},run_id:{required:!0,type:"integer"}},url:"/repos/:owner/:repo/actions/runs/:run_id"},listDownloadsForSelfHostedRunnerApplication:{method:"GET",params:{owner:{required:!0,type:"string"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/actions/runners/downloads"},listJobsForWorkflowRun:{method:"GET",params:{owner:{required:!0,type:"string"},page:{type:"integer"},per_page:{type:"integer"},repo:{required:!0,type:"string"},run_id:{required:!0,type:"integer"}},url:"/repos/:owner/:repo/actions/runs/:run_id/jobs"},listRepoWorkflowRuns:{method:"GET",params:{actor:{type:"string"},branch:{type:"string"},event:{type:"string"},owner:{required:!0,type:"string"},page:{type:"integer"},per_page:{type:"integer"},repo:{required:!0,type:"string"},status:{enum:["completed","status","conclusion"],type:"string"}},url:"/repos/:owner/:repo/actions/runs"},listRepoWorkflows:{method:"GET",params:{owner:{required:!0,type:"string"},page:{type:"integer"},per_page:{type:"integer"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/actions/workflows"},listSecretsForRepo:{method:"GET",params:{owner:{required:!0,type:"string"},page:{type:"integer"},per_page:{type:"integer"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/actions/secrets"},listSelfHostedRunnersForRepo:{method:"GET",params:{owner:{required:!0,type:"string"},page:{type:"integer"},per_page:{type:"integer"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/actions/runners"},listWorkflowJobLogs:{method:"GET",params:{job_id:{required:!0,type:"integer"},owner:{required:!0,type:"string"},page:{type:"integer"},per_page:{type:"integer"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/actions/jobs/:job_id/logs"},listWorkflowRunArtifacts:{method:"GET",params:{owner:{required:!0,type:"string"},page:{type:"integer"},per_page:{type:"integer"},repo:{required:!0,type:"string"},run_id:{required:!0,type:"integer"}},url:"/repos/:owner/:repo/actions/runs/:run_id/artifacts"},listWorkflowRunLogs:{method:"GET",params:{owner:{required:!0,type:"string"},page:{type:"integer"},per_page:{type:"integer"},repo:{required:!0,type:"string"},run_id:{required:!0,type:"integer"}},url:"/repos/:owner/:repo/actions/runs/:run_id/logs"},listWorkflowRuns:{method:"GET",params:{actor:{type:"string"},branch:{type:"string"},event:{type:"string"},owner:{required:!0,type:"string"},page:{type:"integer"},per_page:{type:"integer"},repo:{required:!0,type:"string"},status:{enum:["completed","status","conclusion"],type:"string"},workflow_id:{required:!0,type:"integer"}},url:"/repos/:owner/:repo/actions/workflows/:workflow_id/runs"},reRunWorkflow:{method:"POST",params:{owner:{required:!0,type:"string"},repo:{required:!0,type:"string"},run_id:{required:!0,type:"integer"}},url:"/repos/:owner/:repo/actions/runs/:run_id/rerun"},removeSelfHostedRunner:{method:"DELETE",params:{owner:{required:!0,type:"string"},repo:{required:!0,type:"string"},runner_id:{required:!0,type:"integer"}},url:"/repos/:owner/:repo/actions/runners/:runner_id"}},activity:{checkStarringRepo:{method:"GET",params:{owner:{required:!0,type:"string"},repo:{required:!0,type:"string"}},url:"/user/starred/:owner/:repo"},deleteRepoSubscription:{method:"DELETE",params:{owner:{required:!0,type:"string"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/subscription"},deleteThreadSubscription:{method:"DELETE",params:{thread_id:{required:!0,type:"integer"}},url:"/notifications/threads/:thread_id/subscription"},getRepoSubscription:{method:"GET",params:{owner:{required:!0,type:"string"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/subscription"},getThread:{method:"GET",params:{thread_id:{required:!0,type:"integer"}},url:"/notifications/threads/:thread_id"},getThreadSubscription:{method:"GET",params:{thread_id:{required:!0,type:"integer"}},url:"/notifications/threads/:thread_id/subscription"},listEventsForOrg:{method:"GET",params:{org:{required:!0,type:"string"},page:{type:"integer"},per_page:{type:"integer"},username:{required:!0,type:"string"}},url:"/users/:username/events/orgs/:org"},listEventsForUser:{method:"GET",params:{page:{type:"integer"},per_page:{type:"integer"},username:{required:!0,type:"string"}},url:"/users/:username/events"},listFeeds:{method:"GET",params:{},url:"/feeds"},listNotifications:{method:"GET",params:{all:{type:"boolean"},before:{type:"string"},page:{type:"integer"},participating:{type:"boolean"},per_page:{type:"integer"},since:{type:"string"}},url:"/notifications"},listNotificationsForRepo:{method:"GET",params:{all:{type:"boolean"},before:{type:"string"},owner:{required:!0,type:"string"},page:{type:"integer"},participating:{type:"boolean"},per_page:{type:"integer"},repo:{required:!0,type:"string"},since:{type:"string"}},url:"/repos/:owner/:repo/notifications"},listPublicEvents:{method:"GET",params:{page:{type:"integer"},per_page:{type:"integer"}},url:"/events"},listPublicEventsForOrg:{method:"GET",params:{org:{required:!0,type:"string"},page:{type:"integer"},per_page:{type:"integer"}},url:"/orgs/:org/events"},listPublicEventsForRepoNetwork:{method:"GET",params:{owner:{required:!0,type:"string"},page:{type:"integer"},per_page:{type:"integer"},repo:{required:!0,type:"string"}},url:"/networks/:owner/:repo/events"},listPublicEventsForUser:{method:"GET",params:{page:{type:"integer"},per_page:{type:"integer"},username:{required:!0,type:"string"}},url:"/users/:username/events/public"},listReceivedEventsForUser:{method:"GET",params:{page:{type:"integer"},per_page:{type:"integer"},username:{required:!0,type:"string"}},url:"/users/:username/received_events"},listReceivedPublicEventsForUser:{method:"GET",params:{page:{type:"integer"},per_page:{type:"integer"},username:{required:!0,type:"string"}},url:"/users/:username/received_events/public"},listRepoEvents:{method:"GET",params:{owner:{required:!0,type:"string"},page:{type:"integer"},per_page:{type:"integer"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/events"},listReposStarredByAuthenticatedUser:{method:"GET",params:{direction:{enum:["asc","desc"],type:"string"},page:{type:"integer"},per_page:{type:"integer"},sort:{enum:["created","updated"],type:"string"}},url:"/user/starred"},listReposStarredByUser:{method:"GET",params:{direction:{enum:["asc","desc"],type:"string"},page:{type:"integer"},per_page:{type:"integer"},sort:{enum:["created","updated"],type:"string"},username:{required:!0,type:"string"}},url:"/users/:username/starred"},listReposWatchedByUser:{method:"GET",params:{page:{type:"integer"},per_page:{type:"integer"},username:{required:!0,type:"string"}},url:"/users/:username/subscriptions"},listStargazersForRepo:{method:"GET",params:{owner:{required:!0,type:"string"},page:{type:"integer"},per_page:{type:"integer"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/stargazers"},listWatchedReposForAuthenticatedUser:{method:"GET",params:{page:{type:"integer"},per_page:{type:"integer"}},url:"/user/subscriptions"},listWatchersForRepo:{method:"GET",params:{owner:{required:!0,type:"string"},page:{type:"integer"},per_page:{type:"integer"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/subscribers"},markAsRead:{method:"PUT",params:{last_read_at:{type:"string"}},url:"/notifications"},markNotificationsAsReadForRepo:{method:"PUT",params:{last_read_at:{type:"string"},owner:{required:!0,type:"string"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/notifications"},markThreadAsRead:{method:"PATCH",params:{thread_id:{required:!0,type:"integer"}},url:"/notifications/threads/:thread_id"},setRepoSubscription:{method:"PUT",params:{ignored:{type:"boolean"},owner:{required:!0,type:"string"},repo:{required:!0,type:"string"},subscribed:{type:"boolean"}},url:"/repos/:owner/:repo/subscription"},setThreadSubscription:{method:"PUT",params:{ignored:{type:"boolean"},thread_id:{required:!0,type:"integer"}},url:"/notifications/threads/:thread_id/subscription"},starRepo:{method:"PUT",params:{owner:{required:!0,type:"string"},repo:{required:!0,type:"string"}},url:"/user/starred/:owner/:repo"},unstarRepo:{method:"DELETE",params:{owner:{required:!0,type:"string"},repo:{required:!0,type:"string"}},url:"/user/starred/:owner/:repo"}},apps:{addRepoToInstallation:{headers:{accept:"application/vnd.github.machine-man-preview+json"},method:"PUT",params:{installation_id:{required:!0,type:"integer"},repository_id:{required:!0,type:"integer"}},url:"/user/installations/:installation_id/repositories/:repository_id"},checkAccountIsAssociatedWithAny:{method:"GET",params:{account_id:{required:!0,type:"integer"}},url:"/marketplace_listing/accounts/:account_id"},checkAccountIsAssociatedWithAnyStubbed:{method:"GET",params:{account_id:{required:!0,type:"integer"}},url:"/marketplace_listing/stubbed/accounts/:account_id"},checkAuthorization:{deprecated:"octokit.apps.checkAuthorization() is deprecated, see https://developer.github.com/v3/apps/oauth_applications/#check-an-authorization",method:"GET",params:{access_token:{required:!0,type:"string"},client_id:{required:!0,type:"string"}},url:"/applications/:client_id/tokens/:access_token"},checkToken:{headers:{accept:"application/vnd.github.doctor-strange-preview+json"},method:"POST",params:{access_token:{type:"string"},client_id:{required:!0,type:"string"}},url:"/applications/:client_id/token"},createContentAttachment:{headers:{accept:"application/vnd.github.corsair-preview+json"},method:"POST",params:{body:{required:!0,type:"string"},content_reference_id:{required:!0,type:"integer"},title:{required:!0,type:"string"}},url:"/content_references/:content_reference_id/attachments"},createFromManifest:{headers:{accept:"application/vnd.github.fury-preview+json"},method:"POST",params:{code:{required:!0,type:"string"}},url:"/app-manifests/:code/conversions"},createInstallationToken:{headers:{accept:"application/vnd.github.machine-man-preview+json"},method:"POST",params:{installation_id:{required:!0,type:"integer"},permissions:{type:"object"},repository_ids:{type:"integer[]"}},url:"/app/installations/:installation_id/access_tokens"},deleteAuthorization:{headers:{accept:"application/vnd.github.doctor-strange-preview+json"},method:"DELETE",params:{access_token:{type:"string"},client_id:{required:!0,type:"string"}},url:"/applications/:client_id/grant"},deleteInstallation:{headers:{accept:"application/vnd.github.gambit-preview+json,application/vnd.github.machine-man-preview+json"},method:"DELETE",params:{installation_id:{required:!0,type:"integer"}},url:"/app/installations/:installation_id"},deleteToken:{headers:{accept:"application/vnd.github.doctor-strange-preview+json"},method:"DELETE",params:{access_token:{type:"string"},client_id:{required:!0,type:"string"}},url:"/applications/:client_id/token"},findOrgInstallation:{deprecated:"octokit.apps.findOrgInstallation() has been renamed to octokit.apps.getOrgInstallation() (2019-04-10)",headers:{accept:"application/vnd.github.machine-man-preview+json"},method:"GET",params:{org:{required:!0,type:"string"}},url:"/orgs/:org/installation"},findRepoInstallation:{deprecated:"octokit.apps.findRepoInstallation() has been renamed to octokit.apps.getRepoInstallation() (2019-04-10)",headers:{accept:"application/vnd.github.machine-man-preview+json"},method:"GET",params:{owner:{required:!0,type:"string"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/installation"},findUserInstallation:{deprecated:"octokit.apps.findUserInstallation() has been renamed to octokit.apps.getUserInstallation() (2019-04-10)",headers:{accept:"application/vnd.github.machine-man-preview+json"},method:"GET",params:{username:{required:!0,type:"string"}},url:"/users/:username/installation"},getAuthenticated:{headers:{accept:"application/vnd.github.machine-man-preview+json"},method:"GET",params:{},url:"/app"},getBySlug:{headers:{accept:"application/vnd.github.machine-man-preview+json"},method:"GET",params:{app_slug:{required:!0,type:"string"}},url:"/apps/:app_slug"},getInstallation:{headers:{accept:"application/vnd.github.machine-man-preview+json"},method:"GET",params:{installation_id:{required:!0,type:"integer"}},url:"/app/installations/:installation_id"},getOrgInstallation:{headers:{accept:"application/vnd.github.machine-man-preview+json"},method:"GET",params:{org:{required:!0,type:"string"}},url:"/orgs/:org/installation"},getRepoInstallation:{headers:{accept:"application/vnd.github.machine-man-preview+json"},method:"GET",params:{owner:{required:!0,type:"string"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/installation"},getUserInstallation:{headers:{accept:"application/vnd.github.machine-man-preview+json"},method:"GET",params:{username:{required:!0,type:"string"}},url:"/users/:username/installation"},listAccountsUserOrOrgOnPlan:{method:"GET",params:{direction:{enum:["asc","desc"],type:"string"},page:{type:"integer"},per_page:{type:"integer"},plan_id:{required:!0,type:"integer"},sort:{enum:["created","updated"],type:"string"}},url:"/marketplace_listing/plans/:plan_id/accounts"},listAccountsUserOrOrgOnPlanStubbed:{method:"GET",params:{direction:{enum:["asc","desc"],type:"string"},page:{type:"integer"},per_page:{type:"integer"},plan_id:{required:!0,type:"integer"},sort:{enum:["created","updated"],type:"string"}},url:"/marketplace_listing/stubbed/plans/:plan_id/accounts"},listInstallationReposForAuthenticatedUser:{headers:{accept:"application/vnd.github.machine-man-preview+json"},method:"GET",params:{installation_id:{required:!0,type:"integer"},page:{type:"integer"},per_page:{type:"integer"}},url:"/user/installations/:installation_id/repositories"},listInstallations:{headers:{accept:"application/vnd.github.machine-man-preview+json"},method:"GET",params:{page:{type:"integer"},per_page:{type:"integer"}},url:"/app/installations"},listInstallationsForAuthenticatedUser:{headers:{accept:"application/vnd.github.machine-man-preview+json"},method:"GET",params:{page:{type:"integer"},per_page:{type:"integer"}},url:"/user/installations"},listMarketplacePurchasesForAuthenticatedUser:{method:"GET",params:{page:{type:"integer"},per_page:{type:"integer"}},url:"/user/marketplace_purchases"},listMarketplacePurchasesForAuthenticatedUserStubbed:{method:"GET",params:{page:{type:"integer"},per_page:{type:"integer"}},url:"/user/marketplace_purchases/stubbed"},listPlans:{method:"GET",params:{page:{type:"integer"},per_page:{type:"integer"}},url:"/marketplace_listing/plans"},listPlansStubbed:{method:"GET",params:{page:{type:"integer"},per_page:{type:"integer"}},url:"/marketplace_listing/stubbed/plans"},listRepos:{headers:{accept:"application/vnd.github.machine-man-preview+json"},method:"GET",params:{page:{type:"integer"},per_page:{type:"integer"}},url:"/installation/repositories"},removeRepoFromInstallation:{headers:{accept:"application/vnd.github.machine-man-preview+json"},method:"DELETE",params:{installation_id:{required:!0,type:"integer"},repository_id:{required:!0,type:"integer"}},url:"/user/installations/:installation_id/repositories/:repository_id"},resetAuthorization:{deprecated:"octokit.apps.resetAuthorization() is deprecated, see https://developer.github.com/v3/apps/oauth_applications/#reset-an-authorization",method:"POST",params:{access_token:{required:!0,type:"string"},client_id:{required:!0,type:"string"}},url:"/applications/:client_id/tokens/:access_token"},resetToken:{headers:{accept:"application/vnd.github.doctor-strange-preview+json"},method:"PATCH",params:{access_token:{type:"string"},client_id:{required:!0,type:"string"}},url:"/applications/:client_id/token"},revokeAuthorizationForApplication:{deprecated:"octokit.apps.revokeAuthorizationForApplication() is deprecated, see https://developer.github.com/v3/apps/oauth_applications/#revoke-an-authorization-for-an-application",method:"DELETE",params:{access_token:{required:!0,type:"string"},client_id:{required:!0,type:"string"}},url:"/applications/:client_id/tokens/:access_token"},revokeGrantForApplication:{deprecated:"octokit.apps.revokeGrantForApplication() is deprecated, see https://developer.github.com/v3/apps/oauth_applications/#revoke-a-grant-for-an-application",method:"DELETE",params:{access_token:{required:!0,type:"string"},client_id:{required:!0,type:"string"}},url:"/applications/:client_id/grants/:access_token"},revokeInstallationToken:{headers:{accept:"application/vnd.github.gambit-preview+json"},method:"DELETE",params:{},url:"/installation/token"}},checks:{create:{headers:{accept:"application/vnd.github.antiope-preview+json"},method:"POST",params:{actions:{type:"object[]"},"actions[].description":{required:!0,type:"string"},"actions[].identifier":{required:!0,type:"string"},"actions[].label":{required:!0,type:"string"},completed_at:{type:"string"},conclusion:{enum:["success","failure","neutral","cancelled","timed_out","action_required"],type:"string"},details_url:{type:"string"},external_id:{type:"string"},head_sha:{required:!0,type:"string"},name:{required:!0,type:"string"},output:{type:"object"},"output.annotations":{type:"object[]"},"output.annotations[].annotation_level":{enum:["notice","warning","failure"],required:!0,type:"string"},"output.annotations[].end_column":{type:"integer"},"output.annotations[].end_line":{required:!0,type:"integer"},"output.annotations[].message":{required:!0,type:"string"},"output.annotations[].path":{required:!0,type:"string"},"output.annotations[].raw_details":{type:"string"},"output.annotations[].start_column":{type:"integer"},"output.annotations[].start_line":{required:!0,type:"integer"},"output.annotations[].title":{type:"string"},"output.images":{type:"object[]"},"output.images[].alt":{required:!0,type:"string"},"output.images[].caption":{type:"string"},"output.images[].image_url":{required:!0,type:"string"},"output.summary":{required:!0,type:"string"},"output.text":{type:"string"},"output.title":{required:!0,type:"string"},owner:{required:!0,type:"string"},repo:{required:!0,type:"string"},started_at:{type:"string"},status:{enum:["queued","in_progress","completed"],type:"string"}},url:"/repos/:owner/:repo/check-runs"},createSuite:{headers:{accept:"application/vnd.github.antiope-preview+json"},method:"POST",params:{head_sha:{required:!0,type:"string"},owner:{required:!0,type:"string"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/check-suites"},get:{headers:{accept:"application/vnd.github.antiope-preview+json"},method:"GET",params:{check_run_id:{required:!0,type:"integer"},owner:{required:!0,type:"string"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/check-runs/:check_run_id"},getSuite:{headers:{accept:"application/vnd.github.antiope-preview+json"},method:"GET",params:{check_suite_id:{required:!0,type:"integer"},owner:{required:!0,type:"string"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/check-suites/:check_suite_id"},listAnnotations:{headers:{accept:"application/vnd.github.antiope-preview+json"},method:"GET",params:{check_run_id:{required:!0,type:"integer"},owner:{required:!0,type:"string"},page:{type:"integer"},per_page:{type:"integer"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/check-runs/:check_run_id/annotations"},listForRef:{headers:{accept:"application/vnd.github.antiope-preview+json"},method:"GET",params:{check_name:{type:"string"},filter:{enum:["latest","all"],type:"string"},owner:{required:!0,type:"string"},page:{type:"integer"},per_page:{type:"integer"},ref:{required:!0,type:"string"},repo:{required:!0,type:"string"},status:{enum:["queued","in_progress","completed"],type:"string"}},url:"/repos/:owner/:repo/commits/:ref/check-runs"},listForSuite:{headers:{accept:"application/vnd.github.antiope-preview+json"},method:"GET",params:{check_name:{type:"string"},check_suite_id:{required:!0,type:"integer"},filter:{enum:["latest","all"],type:"string"},owner:{required:!0,type:"string"},page:{type:"integer"},per_page:{type:"integer"},repo:{required:!0,type:"string"},status:{enum:["queued","in_progress","completed"],type:"string"}},url:"/repos/:owner/:repo/check-suites/:check_suite_id/check-runs"},listSuitesForRef:{headers:{accept:"application/vnd.github.antiope-preview+json"},method:"GET",params:{app_id:{type:"integer"},check_name:{type:"string"},owner:{required:!0,type:"string"},page:{type:"integer"},per_page:{type:"integer"},ref:{required:!0,type:"string"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/commits/:ref/check-suites"},rerequestSuite:{headers:{accept:"application/vnd.github.antiope-preview+json"},method:"POST",params:{check_suite_id:{required:!0,type:"integer"},owner:{required:!0,type:"string"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/check-suites/:check_suite_id/rerequest"},setSuitesPreferences:{headers:{accept:"application/vnd.github.antiope-preview+json"},method:"PATCH",params:{auto_trigger_checks:{type:"object[]"},"auto_trigger_checks[].app_id":{required:!0,type:"integer"},"auto_trigger_checks[].setting":{required:!0,type:"boolean"},owner:{required:!0,type:"string"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/check-suites/preferences"},update:{headers:{accept:"application/vnd.github.antiope-preview+json"},method:"PATCH",params:{actions:{type:"object[]"},"actions[].description":{required:!0,type:"string"},"actions[].identifier":{required:!0,type:"string"},"actions[].label":{required:!0,type:"string"},check_run_id:{required:!0,type:"integer"},completed_at:{type:"string"},conclusion:{enum:["success","failure","neutral","cancelled","timed_out","action_required"],type:"string"},details_url:{type:"string"},external_id:{type:"string"},name:{type:"string"},output:{type:"object"},"output.annotations":{type:"object[]"},"output.annotations[].annotation_level":{enum:["notice","warning","failure"],required:!0,type:"string"},"output.annotations[].end_column":{type:"integer"},"output.annotations[].end_line":{required:!0,type:"integer"},"output.annotations[].message":{required:!0,type:"string"},"output.annotations[].path":{required:!0,type:"string"},"output.annotations[].raw_details":{type:"string"},"output.annotations[].start_column":{type:"integer"},"output.annotations[].start_line":{required:!0,type:"integer"},"output.annotations[].title":{type:"string"},"output.images":{type:"object[]"},"output.images[].alt":{required:!0,type:"string"},"output.images[].caption":{type:"string"},"output.images[].image_url":{required:!0,type:"string"},"output.summary":{required:!0,type:"string"},"output.text":{type:"string"},"output.title":{type:"string"},owner:{required:!0,type:"string"},repo:{required:!0,type:"string"},started_at:{type:"string"},status:{enum:["queued","in_progress","completed"],type:"string"}},url:"/repos/:owner/:repo/check-runs/:check_run_id"}},codesOfConduct:{getConductCode:{headers:{accept:"application/vnd.github.scarlet-witch-preview+json"},method:"GET",params:{key:{required:!0,type:"string"}},url:"/codes_of_conduct/:key"},getForRepo:{headers:{accept:"application/vnd.github.scarlet-witch-preview+json"},method:"GET",params:{owner:{required:!0,type:"string"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/community/code_of_conduct"},listConductCodes:{headers:{accept:"application/vnd.github.scarlet-witch-preview+json"},method:"GET",params:{},url:"/codes_of_conduct"}},emojis:{get:{method:"GET",params:{},url:"/emojis"}},gists:{checkIsStarred:{method:"GET",params:{gist_id:{required:!0,type:"string"}},url:"/gists/:gist_id/star"},create:{method:"POST",params:{description:{type:"string"},files:{required:!0,type:"object"},"files.content":{type:"string"},public:{type:"boolean"}},url:"/gists"},createComment:{method:"POST",params:{body:{required:!0,type:"string"},gist_id:{required:!0,type:"string"}},url:"/gists/:gist_id/comments"},delete:{method:"DELETE",params:{gist_id:{required:!0,type:"string"}},url:"/gists/:gist_id"},deleteComment:{method:"DELETE",params:{comment_id:{required:!0,type:"integer"},gist_id:{required:!0,type:"string"}},url:"/gists/:gist_id/comments/:comment_id"},fork:{method:"POST",params:{gist_id:{required:!0,type:"string"}},url:"/gists/:gist_id/forks"},get:{method:"GET",params:{gist_id:{required:!0,type:"string"}},url:"/gists/:gist_id"},getComment:{method:"GET",params:{comment_id:{required:!0,type:"integer"},gist_id:{required:!0,type:"string"}},url:"/gists/:gist_id/comments/:comment_id"},getRevision:{method:"GET",params:{gist_id:{required:!0,type:"string"},sha:{required:!0,type:"string"}},url:"/gists/:gist_id/:sha"},list:{method:"GET",params:{page:{type:"integer"},per_page:{type:"integer"},since:{type:"string"}},url:"/gists"},listComments:{method:"GET",params:{gist_id:{required:!0,type:"string"},page:{type:"integer"},per_page:{type:"integer"}},url:"/gists/:gist_id/comments"},listCommits:{method:"GET",params:{gist_id:{required:!0,type:"string"},page:{type:"integer"},per_page:{type:"integer"}},url:"/gists/:gist_id/commits"},listForks:{method:"GET",params:{gist_id:{required:!0,type:"string"},page:{type:"integer"},per_page:{type:"integer"}},url:"/gists/:gist_id/forks"},listPublic:{method:"GET",params:{page:{type:"integer"},per_page:{type:"integer"},since:{type:"string"}},url:"/gists/public"},listPublicForUser:{method:"GET",params:{page:{type:"integer"},per_page:{type:"integer"},since:{type:"string"},username:{required:!0,type:"string"}},url:"/users/:username/gists"},listStarred:{method:"GET",params:{page:{type:"integer"},per_page:{type:"integer"},since:{type:"string"}},url:"/gists/starred"},star:{method:"PUT",params:{gist_id:{required:!0,type:"string"}},url:"/gists/:gist_id/star"},unstar:{method:"DELETE",params:{gist_id:{required:!0,type:"string"}},url:"/gists/:gist_id/star"},update:{method:"PATCH",params:{description:{type:"string"},files:{type:"object"},"files.content":{type:"string"},"files.filename":{type:"string"},gist_id:{required:!0,type:"string"}},url:"/gists/:gist_id"},updateComment:{method:"PATCH",params:{body:{required:!0,type:"string"},comment_id:{required:!0,type:"integer"},gist_id:{required:!0,type:"string"}},url:"/gists/:gist_id/comments/:comment_id"}},git:{createBlob:{method:"POST",params:{content:{required:!0,type:"string"},encoding:{type:"string"},owner:{required:!0,type:"string"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/git/blobs"},createCommit:{method:"POST",params:{author:{type:"object"},"author.date":{type:"string"},"author.email":{type:"string"},"author.name":{type:"string"},committer:{type:"object"},"committer.date":{type:"string"},"committer.email":{type:"string"},"committer.name":{type:"string"},message:{required:!0,type:"string"},owner:{required:!0,type:"string"},parents:{required:!0,type:"string[]"},repo:{required:!0,type:"string"},signature:{type:"string"},tree:{required:!0,type:"string"}},url:"/repos/:owner/:repo/git/commits"},createRef:{method:"POST",params:{owner:{required:!0,type:"string"},ref:{required:!0,type:"string"},repo:{required:!0,type:"string"},sha:{required:!0,type:"string"}},url:"/repos/:owner/:repo/git/refs"},createTag:{method:"POST",params:{message:{required:!0,type:"string"},object:{required:!0,type:"string"},owner:{required:!0,type:"string"},repo:{required:!0,type:"string"},tag:{required:!0,type:"string"},tagger:{type:"object"},"tagger.date":{type:"string"},"tagger.email":{type:"string"},"tagger.name":{type:"string"},type:{enum:["commit","tree","blob"],required:!0,type:"string"}},url:"/repos/:owner/:repo/git/tags"},createTree:{method:"POST",params:{base_tree:{type:"string"},owner:{required:!0,type:"string"},repo:{required:!0,type:"string"},tree:{required:!0,type:"object[]"},"tree[].content":{type:"string"},"tree[].mode":{enum:["100644","100755","040000","160000","120000"],type:"string"},"tree[].path":{type:"string"},"tree[].sha":{allowNull:!0,type:"string"},"tree[].type":{enum:["blob","tree","commit"],type:"string"}},url:"/repos/:owner/:repo/git/trees"},deleteRef:{method:"DELETE",params:{owner:{required:!0,type:"string"},ref:{required:!0,type:"string"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/git/refs/:ref"},getBlob:{method:"GET",params:{file_sha:{required:!0,type:"string"},owner:{required:!0,type:"string"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/git/blobs/:file_sha"},getCommit:{method:"GET",params:{commit_sha:{required:!0,type:"string"},owner:{required:!0,type:"string"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/git/commits/:commit_sha"},getRef:{method:"GET",params:{owner:{required:!0,type:"string"},ref:{required:!0,type:"string"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/git/ref/:ref"},getTag:{method:"GET",params:{owner:{required:!0,type:"string"},repo:{required:!0,type:"string"},tag_sha:{required:!0,type:"string"}},url:"/repos/:owner/:repo/git/tags/:tag_sha"},getTree:{method:"GET",params:{owner:{required:!0,type:"string"},recursive:{enum:["1"],type:"integer"},repo:{required:!0,type:"string"},tree_sha:{required:!0,type:"string"}},url:"/repos/:owner/:repo/git/trees/:tree_sha"},listMatchingRefs:{method:"GET",params:{owner:{required:!0,type:"string"},page:{type:"integer"},per_page:{type:"integer"},ref:{required:!0,type:"string"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/git/matching-refs/:ref"},listRefs:{method:"GET",params:{namespace:{type:"string"},owner:{required:!0,type:"string"},page:{type:"integer"},per_page:{type:"integer"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/git/refs/:namespace"},updateRef:{method:"PATCH",params:{force:{type:"boolean"},owner:{required:!0,type:"string"},ref:{required:!0,type:"string"},repo:{required:!0,type:"string"},sha:{required:!0,type:"string"}},url:"/repos/:owner/:repo/git/refs/:ref"}},gitignore:{getTemplate:{method:"GET",params:{name:{required:!0,type:"string"}},url:"/gitignore/templates/:name"},listTemplates:{method:"GET",params:{},url:"/gitignore/templates"}},interactions:{addOrUpdateRestrictionsForOrg:{headers:{accept:"application/vnd.github.sombra-preview+json"},method:"PUT",params:{limit:{enum:["existing_users","contributors_only","collaborators_only"],required:!0,type:"string"},org:{required:!0,type:"string"}},url:"/orgs/:org/interaction-limits"},addOrUpdateRestrictionsForRepo:{headers:{accept:"application/vnd.github.sombra-preview+json"},method:"PUT",params:{limit:{enum:["existing_users","contributors_only","collaborators_only"],required:!0,type:"string"},owner:{required:!0,type:"string"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/interaction-limits"},getRestrictionsForOrg:{headers:{accept:"application/vnd.github.sombra-preview+json"},method:"GET",params:{org:{required:!0,type:"string"}},url:"/orgs/:org/interaction-limits"},getRestrictionsForRepo:{headers:{accept:"application/vnd.github.sombra-preview+json"},method:"GET",params:{owner:{required:!0,type:"string"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/interaction-limits"},removeRestrictionsForOrg:{headers:{accept:"application/vnd.github.sombra-preview+json"},method:"DELETE",params:{org:{required:!0,type:"string"}},url:"/orgs/:org/interaction-limits"},removeRestrictionsForRepo:{headers:{accept:"application/vnd.github.sombra-preview+json"},method:"DELETE",params:{owner:{required:!0,type:"string"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/interaction-limits"}},issues:{addAssignees:{method:"POST",params:{assignees:{type:"string[]"},issue_number:{required:!0,type:"integer"},number:{alias:"issue_number",deprecated:!0,type:"integer"},owner:{required:!0,type:"string"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/issues/:issue_number/assignees"},addLabels:{method:"POST",params:{issue_number:{required:!0,type:"integer"},labels:{required:!0,type:"string[]"},number:{alias:"issue_number",deprecated:!0,type:"integer"},owner:{required:!0,type:"string"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/issues/:issue_number/labels"},checkAssignee:{method:"GET",params:{assignee:{required:!0,type:"string"},owner:{required:!0,type:"string"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/assignees/:assignee"},create:{method:"POST",params:{assignee:{type:"string"},assignees:{type:"string[]"},body:{type:"string"},labels:{type:"string[]"},milestone:{type:"integer"},owner:{required:!0,type:"string"},repo:{required:!0,type:"string"},title:{required:!0,type:"string"}},url:"/repos/:owner/:repo/issues"},createComment:{method:"POST",params:{body:{required:!0,type:"string"},issue_number:{required:!0,type:"integer"},number:{alias:"issue_number",deprecated:!0,type:"integer"},owner:{required:!0,type:"string"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/issues/:issue_number/comments"},createLabel:{method:"POST",params:{color:{required:!0,type:"string"},description:{type:"string"},name:{required:!0,type:"string"},owner:{required:!0,type:"string"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/labels"},createMilestone:{method:"POST",params:{description:{type:"string"},due_on:{type:"string"},owner:{required:!0,type:"string"},repo:{required:!0,type:"string"},state:{enum:["open","closed"],type:"string"},title:{required:!0,type:"string"}},url:"/repos/:owner/:repo/milestones"},deleteComment:{method:"DELETE",params:{comment_id:{required:!0,type:"integer"},owner:{required:!0,type:"string"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/issues/comments/:comment_id"},deleteLabel:{method:"DELETE",params:{name:{required:!0,type:"string"},owner:{required:!0,type:"string"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/labels/:name"},deleteMilestone:{method:"DELETE",params:{milestone_number:{required:!0,type:"integer"},number:{alias:"milestone_number",deprecated:!0,type:"integer"},owner:{required:!0,type:"string"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/milestones/:milestone_number"},get:{method:"GET",params:{issue_number:{required:!0,type:"integer"},number:{alias:"issue_number",deprecated:!0,type:"integer"},owner:{required:!0,type:"string"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/issues/:issue_number"},getComment:{method:"GET",params:{comment_id:{required:!0,type:"integer"},owner:{required:!0,type:"string"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/issues/comments/:comment_id"},getEvent:{method:"GET",params:{event_id:{required:!0,type:"integer"},owner:{required:!0,type:"string"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/issues/events/:event_id"},getLabel:{method:"GET",params:{name:{required:!0,type:"string"},owner:{required:!0,type:"string"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/labels/:name"},getMilestone:{method:"GET",params:{milestone_number:{required:!0,type:"integer"},number:{alias:"milestone_number",deprecated:!0,type:"integer"},owner:{required:!0,type:"string"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/milestones/:milestone_number"},list:{method:"GET",params:{direction:{enum:["asc","desc"],type:"string"},filter:{enum:["assigned","created","mentioned","subscribed","all"],type:"string"},labels:{type:"string"},page:{type:"integer"},per_page:{type:"integer"},since:{type:"string"},sort:{enum:["created","updated","comments"],type:"string"},state:{enum:["open","closed","all"],type:"string"}},url:"/issues"},listAssignees:{method:"GET",params:{owner:{required:!0,type:"string"},page:{type:"integer"},per_page:{type:"integer"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/assignees"},listComments:{method:"GET",params:{issue_number:{required:!0,type:"integer"},number:{alias:"issue_number",deprecated:!0,type:"integer"},owner:{required:!0,type:"string"},page:{type:"integer"},per_page:{type:"integer"},repo:{required:!0,type:"string"},since:{type:"string"}},url:"/repos/:owner/:repo/issues/:issue_number/comments"},listCommentsForRepo:{method:"GET",params:{direction:{enum:["asc","desc"],type:"string"},owner:{required:!0,type:"string"},repo:{required:!0,type:"string"},since:{type:"string"},sort:{enum:["created","updated"],type:"string"}},url:"/repos/:owner/:repo/issues/comments"},listEvents:{method:"GET",params:{issue_number:{required:!0,type:"integer"},number:{alias:"issue_number",deprecated:!0,type:"integer"},owner:{required:!0,type:"string"},page:{type:"integer"},per_page:{type:"integer"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/issues/:issue_number/events"},listEventsForRepo:{method:"GET",params:{owner:{required:!0,type:"string"},page:{type:"integer"},per_page:{type:"integer"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/issues/events"},listEventsForTimeline:{headers:{accept:"application/vnd.github.mockingbird-preview+json"},method:"GET",params:{issue_number:{required:!0,type:"integer"},number:{alias:"issue_number",deprecated:!0,type:"integer"},owner:{required:!0,type:"string"},page:{type:"integer"},per_page:{type:"integer"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/issues/:issue_number/timeline"},listForAuthenticatedUser:{method:"GET",params:{direction:{enum:["asc","desc"],type:"string"},filter:{enum:["assigned","created","mentioned","subscribed","all"],type:"string"},labels:{type:"string"},page:{type:"integer"},per_page:{type:"integer"},since:{type:"string"},sort:{enum:["created","updated","comments"],type:"string"},state:{enum:["open","closed","all"],type:"string"}},url:"/user/issues"},listForOrg:{method:"GET",params:{direction:{enum:["asc","desc"],type:"string"},filter:{enum:["assigned","created","mentioned","subscribed","all"],type:"string"},labels:{type:"string"},org:{required:!0,type:"string"},page:{type:"integer"},per_page:{type:"integer"},since:{type:"string"},sort:{enum:["created","updated","comments"],type:"string"},state:{enum:["open","closed","all"],type:"string"}},url:"/orgs/:org/issues"},listForRepo:{method:"GET",params:{assignee:{type:"string"},creator:{type:"string"},direction:{enum:["asc","desc"],type:"string"},labels:{type:"string"},mentioned:{type:"string"},milestone:{type:"string"},owner:{required:!0,type:"string"},page:{type:"integer"},per_page:{type:"integer"},repo:{required:!0,type:"string"},since:{type:"string"},sort:{enum:["created","updated","comments"],type:"string"},state:{enum:["open","closed","all"],type:"string"}},url:"/repos/:owner/:repo/issues"},listLabelsForMilestone:{method:"GET",params:{milestone_number:{required:!0,type:"integer"},number:{alias:"milestone_number",deprecated:!0,type:"integer"},owner:{required:!0,type:"string"},page:{type:"integer"},per_page:{type:"integer"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/milestones/:milestone_number/labels"},listLabelsForRepo:{method:"GET",params:{owner:{required:!0,type:"string"},page:{type:"integer"},per_page:{type:"integer"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/labels"},listLabelsOnIssue:{method:"GET",params:{issue_number:{required:!0,type:"integer"},number:{alias:"issue_number",deprecated:!0,type:"integer"},owner:{required:!0,type:"string"},page:{type:"integer"},per_page:{type:"integer"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/issues/:issue_number/labels"},listMilestonesForRepo:{method:"GET",params:{direction:{enum:["asc","desc"],type:"string"},owner:{required:!0,type:"string"},page:{type:"integer"},per_page:{type:"integer"},repo:{required:!0,type:"string"},sort:{enum:["due_on","completeness"],type:"string"},state:{enum:["open","closed","all"],type:"string"}},url:"/repos/:owner/:repo/milestones"},lock:{method:"PUT",params:{issue_number:{required:!0,type:"integer"},lock_reason:{enum:["off-topic","too heated","resolved","spam"],type:"string"},number:{alias:"issue_number",deprecated:!0,type:"integer"},owner:{required:!0,type:"string"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/issues/:issue_number/lock"},removeAssignees:{method:"DELETE",params:{assignees:{type:"string[]"},issue_number:{required:!0,type:"integer"},number:{alias:"issue_number",deprecated:!0,type:"integer"},owner:{required:!0,type:"string"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/issues/:issue_number/assignees"},removeLabel:{method:"DELETE",params:{issue_number:{required:!0,type:"integer"},name:{required:!0,type:"string"},number:{alias:"issue_number",deprecated:!0,type:"integer"},owner:{required:!0,type:"string"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/issues/:issue_number/labels/:name"},removeLabels:{method:"DELETE",params:{issue_number:{required:!0,type:"integer"},number:{alias:"issue_number",deprecated:!0,type:"integer"},owner:{required:!0,type:"string"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/issues/:issue_number/labels"},replaceLabels:{method:"PUT",params:{issue_number:{required:!0,type:"integer"},labels:{type:"string[]"},number:{alias:"issue_number",deprecated:!0,type:"integer"},owner:{required:!0,type:"string"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/issues/:issue_number/labels"},unlock:{method:"DELETE",params:{issue_number:{required:!0,type:"integer"},number:{alias:"issue_number",deprecated:!0,type:"integer"},owner:{required:!0,type:"string"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/issues/:issue_number/lock"},update:{method:"PATCH",params:{assignee:{type:"string"},assignees:{type:"string[]"},body:{type:"string"},issue_number:{required:!0,type:"integer"},labels:{type:"string[]"},milestone:{allowNull:!0,type:"integer"},number:{alias:"issue_number",deprecated:!0,type:"integer"},owner:{required:!0,type:"string"},repo:{required:!0,type:"string"},state:{enum:["open","closed"],type:"string"},title:{type:"string"}},url:"/repos/:owner/:repo/issues/:issue_number"},updateComment:{method:"PATCH",params:{body:{required:!0,type:"string"},comment_id:{required:!0,type:"integer"},owner:{required:!0,type:"string"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/issues/comments/:comment_id"},updateLabel:{method:"PATCH",params:{color:{type:"string"},current_name:{required:!0,type:"string"},description:{type:"string"},name:{type:"string"},owner:{required:!0,type:"string"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/labels/:current_name"},updateMilestone:{method:"PATCH",params:{description:{type:"string"},due_on:{type:"string"},milestone_number:{required:!0,type:"integer"},number:{alias:"milestone_number",deprecated:!0,type:"integer"},owner:{required:!0,type:"string"},repo:{required:!0,type:"string"},state:{enum:["open","closed"],type:"string"},title:{type:"string"}},url:"/repos/:owner/:repo/milestones/:milestone_number"}},licenses:{get:{method:"GET",params:{license:{required:!0,type:"string"}},url:"/licenses/:license"},getForRepo:{method:"GET",params:{owner:{required:!0,type:"string"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/license"},list:{deprecated:"octokit.licenses.list() has been renamed to octokit.licenses.listCommonlyUsed() (2019-03-05)",method:"GET",params:{},url:"/licenses"},listCommonlyUsed:{method:"GET",params:{},url:"/licenses"}},markdown:{render:{method:"POST",params:{context:{type:"string"},mode:{enum:["markdown","gfm"],type:"string"},text:{required:!0,type:"string"}},url:"/markdown"},renderRaw:{headers:{"content-type":"text/plain; charset=utf-8"},method:"POST",params:{data:{mapTo:"data",required:!0,type:"string"}},url:"/markdown/raw"}},meta:{get:{method:"GET",params:{},url:"/meta"}},migrations:{cancelImport:{method:"DELETE",params:{owner:{required:!0,type:"string"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/import"},deleteArchiveForAuthenticatedUser:{headers:{accept:"application/vnd.github.wyandotte-preview+json"},method:"DELETE",params:{migration_id:{required:!0,type:"integer"}},url:"/user/migrations/:migration_id/archive"},deleteArchiveForOrg:{headers:{accept:"application/vnd.github.wyandotte-preview+json"},method:"DELETE",params:{migration_id:{required:!0,type:"integer"},org:{required:!0,type:"string"}},url:"/orgs/:org/migrations/:migration_id/archive"},downloadArchiveForOrg:{headers:{accept:"application/vnd.github.wyandotte-preview+json"},method:"GET",params:{migration_id:{required:!0,type:"integer"},org:{required:!0,type:"string"}},url:"/orgs/:org/migrations/:migration_id/archive"},getArchiveForAuthenticatedUser:{headers:{accept:"application/vnd.github.wyandotte-preview+json"},method:"GET",params:{migration_id:{required:!0,type:"integer"}},url:"/user/migrations/:migration_id/archive"},getArchiveForOrg:{deprecated:"octokit.migrations.getArchiveForOrg() has been renamed to octokit.migrations.downloadArchiveForOrg() (2020-01-27)",headers:{accept:"application/vnd.github.wyandotte-preview+json"},method:"GET",params:{migration_id:{required:!0,type:"integer"},org:{required:!0,type:"string"}},url:"/orgs/:org/migrations/:migration_id/archive"},getCommitAuthors:{method:"GET",params:{owner:{required:!0,type:"string"},repo:{required:!0,type:"string"},since:{type:"string"}},url:"/repos/:owner/:repo/import/authors"},getImportProgress:{method:"GET",params:{owner:{required:!0,type:"string"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/import"},getLargeFiles:{method:"GET",params:{owner:{required:!0,type:"string"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/import/large_files"},getStatusForAuthenticatedUser:{headers:{accept:"application/vnd.github.wyandotte-preview+json"},method:"GET",params:{migration_id:{required:!0,type:"integer"}},url:"/user/migrations/:migration_id"},getStatusForOrg:{headers:{accept:"application/vnd.github.wyandotte-preview+json"},method:"GET",params:{migration_id:{required:!0,type:"integer"},org:{required:!0,type:"string"}},url:"/orgs/:org/migrations/:migration_id"},listForAuthenticatedUser:{headers:{accept:"application/vnd.github.wyandotte-preview+json"},method:"GET",params:{page:{type:"integer"},per_page:{type:"integer"}},url:"/user/migrations"},listForOrg:{headers:{accept:"application/vnd.github.wyandotte-preview+json"},method:"GET",params:{org:{required:!0,type:"string"},page:{type:"integer"},per_page:{type:"integer"}},url:"/orgs/:org/migrations"},listReposForOrg:{headers:{accept:"application/vnd.github.wyandotte-preview+json"},method:"GET",params:{migration_id:{required:!0,type:"integer"},org:{required:!0,type:"string"},page:{type:"integer"},per_page:{type:"integer"}},url:"/orgs/:org/migrations/:migration_id/repositories"},listReposForUser:{headers:{accept:"application/vnd.github.wyandotte-preview+json"},method:"GET",params:{migration_id:{required:!0,type:"integer"},page:{type:"integer"},per_page:{type:"integer"}},url:"/user/:migration_id/repositories"},mapCommitAuthor:{method:"PATCH",params:{author_id:{required:!0,type:"integer"},email:{type:"string"},name:{type:"string"},owner:{required:!0,type:"string"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/import/authors/:author_id"},setLfsPreference:{method:"PATCH",params:{owner:{required:!0,type:"string"},repo:{required:!0,type:"string"},use_lfs:{enum:["opt_in","opt_out"],required:!0,type:"string"}},url:"/repos/:owner/:repo/import/lfs"},startForAuthenticatedUser:{method:"POST",params:{exclude_attachments:{type:"boolean"},lock_repositories:{type:"boolean"},repositories:{required:!0,type:"string[]"}},url:"/user/migrations"},startForOrg:{method:"POST",params:{exclude_attachments:{type:"boolean"},lock_repositories:{type:"boolean"},org:{required:!0,type:"string"},repositories:{required:!0,type:"string[]"}},url:"/orgs/:org/migrations"},startImport:{method:"PUT",params:{owner:{required:!0,type:"string"},repo:{required:!0,type:"string"},tfvc_project:{type:"string"},vcs:{enum:["subversion","git","mercurial","tfvc"],type:"string"},vcs_password:{type:"string"},vcs_url:{required:!0,type:"string"},vcs_username:{type:"string"}},url:"/repos/:owner/:repo/import"},unlockRepoForAuthenticatedUser:{headers:{accept:"application/vnd.github.wyandotte-preview+json"},method:"DELETE",params:{migration_id:{required:!0,type:"integer"},repo_name:{required:!0,type:"string"}},url:"/user/migrations/:migration_id/repos/:repo_name/lock"},unlockRepoForOrg:{headers:{accept:"application/vnd.github.wyandotte-preview+json"},method:"DELETE",params:{migration_id:{required:!0,type:"integer"},org:{required:!0,type:"string"},repo_name:{required:!0,type:"string"}},url:"/orgs/:org/migrations/:migration_id/repos/:repo_name/lock"},updateImport:{method:"PATCH",params:{owner:{required:!0,type:"string"},repo:{required:!0,type:"string"},vcs_password:{type:"string"},vcs_username:{type:"string"}},url:"/repos/:owner/:repo/import"}},oauthAuthorizations:{checkAuthorization:{deprecated:"octokit.oauthAuthorizations.checkAuthorization() has been renamed to octokit.apps.checkAuthorization() (2019-11-05)",method:"GET",params:{access_token:{required:!0,type:"string"},client_id:{required:!0,type:"string"}},url:"/applications/:client_id/tokens/:access_token"},createAuthorization:{deprecated:"octokit.oauthAuthorizations.createAuthorization() is deprecated, see https://developer.github.com/v3/oauth_authorizations/#create-a-new-authorization",method:"POST",params:{client_id:{type:"string"},client_secret:{type:"string"},fingerprint:{type:"string"},note:{required:!0,type:"string"},note_url:{type:"string"},scopes:{type:"string[]"}},url:"/authorizations"},deleteAuthorization:{deprecated:"octokit.oauthAuthorizations.deleteAuthorization() is deprecated, see https://developer.github.com/v3/oauth_authorizations/#delete-an-authorization",method:"DELETE",params:{authorization_id:{required:!0,type:"integer"}},url:"/authorizations/:authorization_id"},deleteGrant:{deprecated:"octokit.oauthAuthorizations.deleteGrant() is deprecated, see https://developer.github.com/v3/oauth_authorizations/#delete-a-grant",method:"DELETE",params:{grant_id:{required:!0,type:"integer"}},url:"/applications/grants/:grant_id"},getAuthorization:{deprecated:"octokit.oauthAuthorizations.getAuthorization() is deprecated, see https://developer.github.com/v3/oauth_authorizations/#get-a-single-authorization",method:"GET",params:{authorization_id:{required:!0,type:"integer"}},url:"/authorizations/:authorization_id"},getGrant:{deprecated:"octokit.oauthAuthorizations.getGrant() is deprecated, see https://developer.github.com/v3/oauth_authorizations/#get-a-single-grant",method:"GET",params:{grant_id:{required:!0,type:"integer"}},url:"/applications/grants/:grant_id"},getOrCreateAuthorizationForApp:{deprecated:"octokit.oauthAuthorizations.getOrCreateAuthorizationForApp() is deprecated, see https://developer.github.com/v3/oauth_authorizations/#get-or-create-an-authorization-for-a-specific-app",method:"PUT",params:{client_id:{required:!0,type:"string"},client_secret:{required:!0,type:"string"},fingerprint:{type:"string"},note:{type:"string"},note_url:{type:"string"},scopes:{type:"string[]"}},url:"/authorizations/clients/:client_id"},getOrCreateAuthorizationForAppAndFingerprint:{deprecated:"octokit.oauthAuthorizations.getOrCreateAuthorizationForAppAndFingerprint() is deprecated, see https://developer.github.com/v3/oauth_authorizations/#get-or-create-an-authorization-for-a-specific-app-and-fingerprint",method:"PUT",params:{client_id:{required:!0,type:"string"},client_secret:{required:!0,type:"string"},fingerprint:{required:!0,type:"string"},note:{type:"string"},note_url:{type:"string"},scopes:{type:"string[]"}},url:"/authorizations/clients/:client_id/:fingerprint"},getOrCreateAuthorizationForAppFingerprint:{deprecated:"octokit.oauthAuthorizations.getOrCreateAuthorizationForAppFingerprint() has been renamed to octokit.oauthAuthorizations.getOrCreateAuthorizationForAppAndFingerprint() (2018-12-27)",method:"PUT",params:{client_id:{required:!0,type:"string"},client_secret:{required:!0,type:"string"},fingerprint:{required:!0,type:"string"},note:{type:"string"},note_url:{type:"string"},scopes:{type:"string[]"}},url:"/authorizations/clients/:client_id/:fingerprint"},listAuthorizations:{deprecated:"octokit.oauthAuthorizations.listAuthorizations() is deprecated, see https://developer.github.com/v3/oauth_authorizations/#list-your-authorizations",method:"GET",params:{page:{type:"integer"},per_page:{type:"integer"}},url:"/authorizations"},listGrants:{deprecated:"octokit.oauthAuthorizations.listGrants() is deprecated, see https://developer.github.com/v3/oauth_authorizations/#list-your-grants",method:"GET",params:{page:{type:"integer"},per_page:{type:"integer"}},url:"/applications/grants"},resetAuthorization:{deprecated:"octokit.oauthAuthorizations.resetAuthorization() has been renamed to octokit.apps.resetAuthorization() (2019-11-05)",method:"POST",params:{access_token:{required:!0,type:"string"},client_id:{required:!0,type:"string"}},url:"/applications/:client_id/tokens/:access_token"},revokeAuthorizationForApplication:{deprecated:"octokit.oauthAuthorizations.revokeAuthorizationForApplication() has been renamed to octokit.apps.revokeAuthorizationForApplication() (2019-11-05)",method:"DELETE",params:{access_token:{required:!0,type:"string"},client_id:{required:!0,type:"string"}},url:"/applications/:client_id/tokens/:access_token"},revokeGrantForApplication:{deprecated:"octokit.oauthAuthorizations.revokeGrantForApplication() has been renamed to octokit.apps.revokeGrantForApplication() (2019-11-05)",method:"DELETE",params:{access_token:{required:!0,type:"string"},client_id:{required:!0,type:"string"}},url:"/applications/:client_id/grants/:access_token"},updateAuthorization:{deprecated:"octokit.oauthAuthorizations.updateAuthorization() is deprecated, see https://developer.github.com/v3/oauth_authorizations/#update-an-existing-authorization",method:"PATCH",params:{add_scopes:{type:"string[]"},authorization_id:{required:!0,type:"integer"},fingerprint:{type:"string"},note:{type:"string"},note_url:{type:"string"},remove_scopes:{type:"string[]"},scopes:{type:"string[]"}},url:"/authorizations/:authorization_id"}},orgs:{addOrUpdateMembership:{method:"PUT",params:{org:{required:!0,type:"string"},role:{enum:["admin","member"],type:"string"},username:{required:!0,type:"string"}},url:"/orgs/:org/memberships/:username"},blockUser:{method:"PUT",params:{org:{required:!0,type:"string"},username:{required:!0,type:"string"}},url:"/orgs/:org/blocks/:username"},checkBlockedUser:{method:"GET",params:{org:{required:!0,type:"string"},username:{required:!0,type:"string"}},url:"/orgs/:org/blocks/:username"},checkMembership:{method:"GET",params:{org:{required:!0,type:"string"},username:{required:!0,type:"string"}},url:"/orgs/:org/members/:username"},checkPublicMembership:{method:"GET",params:{org:{required:!0,type:"string"},username:{required:!0,type:"string"}},url:"/orgs/:org/public_members/:username"},concealMembership:{method:"DELETE",params:{org:{required:!0,type:"string"},username:{required:!0,type:"string"}},url:"/orgs/:org/public_members/:username"},convertMemberToOutsideCollaborator:{method:"PUT",params:{org:{required:!0,type:"string"},username:{required:!0,type:"string"}},url:"/orgs/:org/outside_collaborators/:username"},createHook:{method:"POST",params:{active:{type:"boolean"},config:{required:!0,type:"object"},"config.content_type":{type:"string"},"config.insecure_ssl":{type:"string"},"config.secret":{type:"string"},"config.url":{required:!0,type:"string"},events:{type:"string[]"},name:{required:!0,type:"string"},org:{required:!0,type:"string"}},url:"/orgs/:org/hooks"},createInvitation:{method:"POST",params:{email:{type:"string"},invitee_id:{type:"integer"},org:{required:!0,type:"string"},role:{enum:["admin","direct_member","billing_manager"],type:"string"},team_ids:{type:"integer[]"}},url:"/orgs/:org/invitations"},deleteHook:{method:"DELETE",params:{hook_id:{required:!0,type:"integer"},org:{required:!0,type:"string"}},url:"/orgs/:org/hooks/:hook_id"},get:{method:"GET",params:{org:{required:!0,type:"string"}},url:"/orgs/:org"},getHook:{method:"GET",params:{hook_id:{required:!0,type:"integer"},org:{required:!0,type:"string"}},url:"/orgs/:org/hooks/:hook_id"},getMembership:{method:"GET",params:{org:{required:!0,type:"string"},username:{required:!0,type:"string"}},url:"/orgs/:org/memberships/:username"},getMembershipForAuthenticatedUser:{method:"GET",params:{org:{required:!0,type:"string"}},url:"/user/memberships/orgs/:org"},list:{method:"GET",params:{page:{type:"integer"},per_page:{type:"integer"},since:{type:"integer"}},url:"/organizations"},listBlockedUsers:{method:"GET",params:{org:{required:!0,type:"string"}},url:"/orgs/:org/blocks"},listForAuthenticatedUser:{method:"GET",params:{page:{type:"integer"},per_page:{type:"integer"}},url:"/user/orgs"},listForUser:{method:"GET",params:{page:{type:"integer"},per_page:{type:"integer"},username:{required:!0,type:"string"}},url:"/users/:username/orgs"},listHooks:{method:"GET",params:{org:{required:!0,type:"string"},page:{type:"integer"},per_page:{type:"integer"}},url:"/orgs/:org/hooks"},listInstallations:{headers:{accept:"application/vnd.github.machine-man-preview+json"},method:"GET",params:{org:{required:!0,type:"string"},page:{type:"integer"},per_page:{type:"integer"}},url:"/orgs/:org/installations"},listInvitationTeams:{method:"GET",params:{invitation_id:{required:!0,type:"integer"},org:{required:!0,type:"string"},page:{type:"integer"},per_page:{type:"integer"}},url:"/orgs/:org/invitations/:invitation_id/teams"},listMembers:{method:"GET",params:{filter:{enum:["2fa_disabled","all"],type:"string"},org:{required:!0,type:"string"},page:{type:"integer"},per_page:{type:"integer"},role:{enum:["all","admin","member"],type:"string"}},url:"/orgs/:org/members"},listMemberships:{method:"GET",params:{page:{type:"integer"},per_page:{type:"integer"},state:{enum:["active","pending"],type:"string"}},url:"/user/memberships/orgs"},listOutsideCollaborators:{method:"GET",params:{filter:{enum:["2fa_disabled","all"],type:"string"},org:{required:!0,type:"string"},page:{type:"integer"},per_page:{type:"integer"}},url:"/orgs/:org/outside_collaborators"},listPendingInvitations:{method:"GET",params:{org:{required:!0,type:"string"},page:{type:"integer"},per_page:{type:"integer"}},url:"/orgs/:org/invitations"},listPublicMembers:{method:"GET",params:{org:{required:!0,type:"string"},page:{type:"integer"},per_page:{type:"integer"}},url:"/orgs/:org/public_members"},pingHook:{method:"POST",params:{hook_id:{required:!0,type:"integer"},org:{required:!0,type:"string"}},url:"/orgs/:org/hooks/:hook_id/pings"},publicizeMembership:{method:"PUT",params:{org:{required:!0,type:"string"},username:{required:!0,type:"string"}},url:"/orgs/:org/public_members/:username"},removeMember:{method:"DELETE",params:{org:{required:!0,type:"string"},username:{required:!0,type:"string"}},url:"/orgs/:org/members/:username"},removeMembership:{method:"DELETE",params:{org:{required:!0,type:"string"},username:{required:!0,type:"string"}},url:"/orgs/:org/memberships/:username"},removeOutsideCollaborator:{method:"DELETE",params:{org:{required:!0,type:"string"},username:{required:!0,type:"string"}},url:"/orgs/:org/outside_collaborators/:username"},unblockUser:{method:"DELETE",params:{org:{required:!0,type:"string"},username:{required:!0,type:"string"}},url:"/orgs/:org/blocks/:username"},update:{method:"PATCH",params:{billing_email:{type:"string"},company:{type:"string"},default_repository_permission:{enum:["read","write","admin","none"],type:"string"},description:{type:"string"},email:{type:"string"},has_organization_projects:{type:"boolean"},has_repository_projects:{type:"boolean"},location:{type:"string"},members_allowed_repository_creation_type:{enum:["all","private","none"],type:"string"},members_can_create_internal_repositories:{type:"boolean"},members_can_create_private_repositories:{type:"boolean"},members_can_create_public_repositories:{type:"boolean"},members_can_create_repositories:{type:"boolean"},name:{type:"string"},org:{required:!0,type:"string"}},url:"/orgs/:org"},updateHook:{method:"PATCH",params:{active:{type:"boolean"},config:{type:"object"},"config.content_type":{type:"string"},"config.insecure_ssl":{type:"string"},"config.secret":{type:"string"},"config.url":{required:!0,type:"string"},events:{type:"string[]"},hook_id:{required:!0,type:"integer"},org:{required:!0,type:"string"}},url:"/orgs/:org/hooks/:hook_id"},updateMembership:{method:"PATCH",params:{org:{required:!0,type:"string"},state:{enum:["active"],required:!0,type:"string"}},url:"/user/memberships/orgs/:org"}},projects:{addCollaborator:{headers:{accept:"application/vnd.github.inertia-preview+json"},method:"PUT",params:{permission:{enum:["read","write","admin"],type:"string"},project_id:{required:!0,type:"integer"},username:{required:!0,type:"string"}},url:"/projects/:project_id/collaborators/:username"},createCard:{headers:{accept:"application/vnd.github.inertia-preview+json"},method:"POST",params:{column_id:{required:!0,type:"integer"},content_id:{type:"integer"},content_type:{type:"string"},note:{type:"string"}},url:"/projects/columns/:column_id/cards"},createColumn:{headers:{accept:"application/vnd.github.inertia-preview+json"},method:"POST",params:{name:{required:!0,type:"string"},project_id:{required:!0,type:"integer"}},url:"/projects/:project_id/columns"},createForAuthenticatedUser:{headers:{accept:"application/vnd.github.inertia-preview+json"},method:"POST",params:{body:{type:"string"},name:{required:!0,type:"string"}},url:"/user/projects"},createForOrg:{headers:{accept:"application/vnd.github.inertia-preview+json"},method:"POST",params:{body:{type:"string"},name:{required:!0,type:"string"},org:{required:!0,type:"string"}},url:"/orgs/:org/projects"},createForRepo:{headers:{accept:"application/vnd.github.inertia-preview+json"},method:"POST",params:{body:{type:"string"},name:{required:!0,type:"string"},owner:{required:!0,type:"string"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/projects"},delete:{headers:{accept:"application/vnd.github.inertia-preview+json"},method:"DELETE",params:{project_id:{required:!0,type:"integer"}},url:"/projects/:project_id"},deleteCard:{headers:{accept:"application/vnd.github.inertia-preview+json"},method:"DELETE",params:{card_id:{required:!0,type:"integer"}},url:"/projects/columns/cards/:card_id"},deleteColumn:{headers:{accept:"application/vnd.github.inertia-preview+json"},method:"DELETE",params:{column_id:{required:!0,type:"integer"}},url:"/projects/columns/:column_id"},get:{headers:{accept:"application/vnd.github.inertia-preview+json"},method:"GET",params:{project_id:{required:!0,type:"integer"}},url:"/projects/:project_id"},getCard:{headers:{accept:"application/vnd.github.inertia-preview+json"},method:"GET",params:{card_id:{required:!0,type:"integer"}},url:"/projects/columns/cards/:card_id"},getColumn:{headers:{accept:"application/vnd.github.inertia-preview+json"},method:"GET",params:{column_id:{required:!0,type:"integer"}},url:"/projects/columns/:column_id"},listCards:{headers:{accept:"application/vnd.github.inertia-preview+json"},method:"GET",params:{archived_state:{enum:["all","archived","not_archived"],type:"string"},column_id:{required:!0,type:"integer"},page:{type:"integer"},per_page:{type:"integer"}},url:"/projects/columns/:column_id/cards"},listCollaborators:{headers:{accept:"application/vnd.github.inertia-preview+json"},method:"GET",params:{affiliation:{enum:["outside","direct","all"],type:"string"},page:{type:"integer"},per_page:{type:"integer"},project_id:{required:!0,type:"integer"}},url:"/projects/:project_id/collaborators"},listColumns:{headers:{accept:"application/vnd.github.inertia-preview+json"},method:"GET",params:{page:{type:"integer"},per_page:{type:"integer"},project_id:{required:!0,type:"integer"}},url:"/projects/:project_id/columns"},listForOrg:{headers:{accept:"application/vnd.github.inertia-preview+json"},method:"GET",params:{org:{required:!0,type:"string"},page:{type:"integer"},per_page:{type:"integer"},state:{enum:["open","closed","all"],type:"string"}},url:"/orgs/:org/projects"},listForRepo:{headers:{accept:"application/vnd.github.inertia-preview+json"},method:"GET",params:{owner:{required:!0,type:"string"},page:{type:"integer"},per_page:{type:"integer"},repo:{required:!0,type:"string"},state:{enum:["open","closed","all"],type:"string"}},url:"/repos/:owner/:repo/projects"},listForUser:{headers:{accept:"application/vnd.github.inertia-preview+json"},method:"GET",params:{page:{type:"integer"},per_page:{type:"integer"},state:{enum:["open","closed","all"],type:"string"},username:{required:!0,type:"string"}},url:"/users/:username/projects"},moveCard:{headers:{accept:"application/vnd.github.inertia-preview+json"},method:"POST",params:{card_id:{required:!0,type:"integer"},column_id:{type:"integer"},position:{required:!0,type:"string",validation:"^(top|bottom|after:\\d+)$"}},url:"/projects/columns/cards/:card_id/moves"},moveColumn:{headers:{accept:"application/vnd.github.inertia-preview+json"},method:"POST",params:{column_id:{required:!0,type:"integer"},position:{required:!0,type:"string",validation:"^(first|last|after:\\d+)$"}},url:"/projects/columns/:column_id/moves"},removeCollaborator:{headers:{accept:"application/vnd.github.inertia-preview+json"},method:"DELETE",params:{project_id:{required:!0,type:"integer"},username:{required:!0,type:"string"}},url:"/projects/:project_id/collaborators/:username"},reviewUserPermissionLevel:{headers:{accept:"application/vnd.github.inertia-preview+json"},method:"GET",params:{project_id:{required:!0,type:"integer"},username:{required:!0,type:"string"}},url:"/projects/:project_id/collaborators/:username/permission"},update:{headers:{accept:"application/vnd.github.inertia-preview+json"},method:"PATCH",params:{body:{type:"string"},name:{type:"string"},organization_permission:{type:"string"},private:{type:"boolean"},project_id:{required:!0,type:"integer"},state:{enum:["open","closed"],type:"string"}},url:"/projects/:project_id"},updateCard:{headers:{accept:"application/vnd.github.inertia-preview+json"},method:"PATCH",params:{archived:{type:"boolean"},card_id:{required:!0,type:"integer"},note:{type:"string"}},url:"/projects/columns/cards/:card_id"},updateColumn:{headers:{accept:"application/vnd.github.inertia-preview+json"},method:"PATCH",params:{column_id:{required:!0,type:"integer"},name:{required:!0,type:"string"}},url:"/projects/columns/:column_id"}},pulls:{checkIfMerged:{method:"GET",params:{number:{alias:"pull_number",deprecated:!0,type:"integer"},owner:{required:!0,type:"string"},pull_number:{required:!0,type:"integer"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/pulls/:pull_number/merge"},create:{method:"POST",params:{base:{required:!0,type:"string"},body:{type:"string"},draft:{type:"boolean"},head:{required:!0,type:"string"},maintainer_can_modify:{type:"boolean"},owner:{required:!0,type:"string"},repo:{required:!0,type:"string"},title:{required:!0,type:"string"}},url:"/repos/:owner/:repo/pulls"},createComment:{method:"POST",params:{body:{required:!0,type:"string"},commit_id:{required:!0,type:"string"},in_reply_to:{deprecated:!0,description:"The comment ID to reply to. **Note**: This must be the ID of a top-level comment, not a reply to that comment. Replies to replies are not supported.",type:"integer"},line:{type:"integer"},number:{alias:"pull_number",deprecated:!0,type:"integer"},owner:{required:!0,type:"string"},path:{required:!0,type:"string"},position:{type:"integer"},pull_number:{required:!0,type:"integer"},repo:{required:!0,type:"string"},side:{enum:["LEFT","RIGHT"],type:"string"},start_line:{type:"integer"},start_side:{enum:["LEFT","RIGHT","side"],type:"string"}},url:"/repos/:owner/:repo/pulls/:pull_number/comments"},createCommentReply:{deprecated:"octokit.pulls.createCommentReply() has been renamed to octokit.pulls.createComment() (2019-09-09)",method:"POST",params:{body:{required:!0,type:"string"},commit_id:{required:!0,type:"string"},in_reply_to:{deprecated:!0,description:"The comment ID to reply to. **Note**: This must be the ID of a top-level comment, not a reply to that comment. Replies to replies are not supported.",type:"integer"},line:{type:"integer"},number:{alias:"pull_number",deprecated:!0,type:"integer"},owner:{required:!0,type:"string"},path:{required:!0,type:"string"},position:{type:"integer"},pull_number:{required:!0,type:"integer"},repo:{required:!0,type:"string"},side:{enum:["LEFT","RIGHT"],type:"string"},start_line:{type:"integer"},start_side:{enum:["LEFT","RIGHT","side"],type:"string"}},url:"/repos/:owner/:repo/pulls/:pull_number/comments"},createFromIssue:{deprecated:"octokit.pulls.createFromIssue() is deprecated, see https://developer.github.com/v3/pulls/#create-a-pull-request",method:"POST",params:{base:{required:!0,type:"string"},draft:{type:"boolean"},head:{required:!0,type:"string"},issue:{required:!0,type:"integer"},maintainer_can_modify:{type:"boolean"},owner:{required:!0,type:"string"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/pulls"},createReview:{method:"POST",params:{body:{type:"string"},comments:{type:"object[]"},"comments[].body":{required:!0,type:"string"},"comments[].path":{required:!0,type:"string"},"comments[].position":{required:!0,type:"integer"},commit_id:{type:"string"},event:{enum:["APPROVE","REQUEST_CHANGES","COMMENT"],type:"string"},number:{alias:"pull_number",deprecated:!0,type:"integer"},owner:{required:!0,type:"string"},pull_number:{required:!0,type:"integer"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/pulls/:pull_number/reviews"},createReviewCommentReply:{method:"POST",params:{body:{required:!0,type:"string"},comment_id:{required:!0,type:"integer"},owner:{required:!0,type:"string"},pull_number:{required:!0,type:"integer"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/pulls/:pull_number/comments/:comment_id/replies"},createReviewRequest:{method:"POST",params:{number:{alias:"pull_number",deprecated:!0,type:"integer"},owner:{required:!0,type:"string"},pull_number:{required:!0,type:"integer"},repo:{required:!0,type:"string"},reviewers:{type:"string[]"},team_reviewers:{type:"string[]"}},url:"/repos/:owner/:repo/pulls/:pull_number/requested_reviewers"},deleteComment:{method:"DELETE",params:{comment_id:{required:!0,type:"integer"},owner:{required:!0,type:"string"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/pulls/comments/:comment_id"},deletePendingReview:{method:"DELETE",params:{number:{alias:"pull_number",deprecated:!0,type:"integer"},owner:{required:!0,type:"string"},pull_number:{required:!0,type:"integer"},repo:{required:!0,type:"string"},review_id:{required:!0,type:"integer"}},url:"/repos/:owner/:repo/pulls/:pull_number/reviews/:review_id"},deleteReviewRequest:{method:"DELETE",params:{number:{alias:"pull_number",deprecated:!0,type:"integer"},owner:{required:!0,type:"string"},pull_number:{required:!0,type:"integer"},repo:{required:!0,type:"string"},reviewers:{type:"string[]"},team_reviewers:{type:"string[]"}},url:"/repos/:owner/:repo/pulls/:pull_number/requested_reviewers"},dismissReview:{method:"PUT",params:{message:{required:!0,type:"string"},number:{alias:"pull_number",deprecated:!0,type:"integer"},owner:{required:!0,type:"string"},pull_number:{required:!0,type:"integer"},repo:{required:!0,type:"string"},review_id:{required:!0,type:"integer"}},url:"/repos/:owner/:repo/pulls/:pull_number/reviews/:review_id/dismissals"},get:{method:"GET",params:{number:{alias:"pull_number",deprecated:!0,type:"integer"},owner:{required:!0,type:"string"},pull_number:{required:!0,type:"integer"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/pulls/:pull_number"},getComment:{method:"GET",params:{comment_id:{required:!0,type:"integer"},owner:{required:!0,type:"string"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/pulls/comments/:comment_id"},getCommentsForReview:{method:"GET",params:{number:{alias:"pull_number",deprecated:!0,type:"integer"},owner:{required:!0,type:"string"},page:{type:"integer"},per_page:{type:"integer"},pull_number:{required:!0,type:"integer"},repo:{required:!0,type:"string"},review_id:{required:!0,type:"integer"}},url:"/repos/:owner/:repo/pulls/:pull_number/reviews/:review_id/comments"},getReview:{method:"GET",params:{number:{alias:"pull_number",deprecated:!0,type:"integer"},owner:{required:!0,type:"string"},pull_number:{required:!0,type:"integer"},repo:{required:!0,type:"string"},review_id:{required:!0,type:"integer"}},url:"/repos/:owner/:repo/pulls/:pull_number/reviews/:review_id"},list:{method:"GET",params:{base:{type:"string"},direction:{enum:["asc","desc"],type:"string"},head:{type:"string"},owner:{required:!0,type:"string"},page:{type:"integer"},per_page:{type:"integer"},repo:{required:!0,type:"string"},sort:{enum:["created","updated","popularity","long-running"],type:"string"},state:{enum:["open","closed","all"],type:"string"}},url:"/repos/:owner/:repo/pulls"},listComments:{method:"GET",params:{direction:{enum:["asc","desc"],type:"string"},number:{alias:"pull_number",deprecated:!0,type:"integer"},owner:{required:!0,type:"string"},page:{type:"integer"},per_page:{type:"integer"},pull_number:{required:!0,type:"integer"},repo:{required:!0,type:"string"},since:{type:"string"},sort:{enum:["created","updated"],type:"string"}},url:"/repos/:owner/:repo/pulls/:pull_number/comments"},listCommentsForRepo:{method:"GET",params:{direction:{enum:["asc","desc"],type:"string"},owner:{required:!0,type:"string"},page:{type:"integer"},per_page:{type:"integer"},repo:{required:!0,type:"string"},since:{type:"string"},sort:{enum:["created","updated"],type:"string"}},url:"/repos/:owner/:repo/pulls/comments"},listCommits:{method:"GET",params:{number:{alias:"pull_number",deprecated:!0,type:"integer"},owner:{required:!0,type:"string"},page:{type:"integer"},per_page:{type:"integer"},pull_number:{required:!0,type:"integer"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/pulls/:pull_number/commits"},listFiles:{method:"GET",params:{number:{alias:"pull_number",deprecated:!0,type:"integer"},owner:{required:!0,type:"string"},page:{type:"integer"},per_page:{type:"integer"},pull_number:{required:!0,type:"integer"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/pulls/:pull_number/files"},listReviewRequests:{method:"GET",params:{number:{alias:"pull_number",deprecated:!0,type:"integer"},owner:{required:!0,type:"string"},page:{type:"integer"},per_page:{type:"integer"},pull_number:{required:!0,type:"integer"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/pulls/:pull_number/requested_reviewers"},listReviews:{method:"GET",params:{number:{alias:"pull_number",deprecated:!0,type:"integer"},owner:{required:!0,type:"string"},page:{type:"integer"},per_page:{type:"integer"},pull_number:{required:!0,type:"integer"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/pulls/:pull_number/reviews"},merge:{method:"PUT",params:{commit_message:{type:"string"},commit_title:{type:"string"},merge_method:{enum:["merge","squash","rebase"],type:"string"},number:{alias:"pull_number",deprecated:!0,type:"integer"},owner:{required:!0,type:"string"},pull_number:{required:!0,type:"integer"},repo:{required:!0,type:"string"},sha:{type:"string"}},url:"/repos/:owner/:repo/pulls/:pull_number/merge"},submitReview:{method:"POST",params:{body:{type:"string"},event:{enum:["APPROVE","REQUEST_CHANGES","COMMENT"],required:!0,type:"string"},number:{alias:"pull_number",deprecated:!0,type:"integer"},owner:{required:!0,type:"string"},pull_number:{required:!0,type:"integer"},repo:{required:!0,type:"string"},review_id:{required:!0,type:"integer"}},url:"/repos/:owner/:repo/pulls/:pull_number/reviews/:review_id/events"},update:{method:"PATCH",params:{base:{type:"string"},body:{type:"string"},maintainer_can_modify:{type:"boolean"},number:{alias:"pull_number",deprecated:!0,type:"integer"},owner:{required:!0,type:"string"},pull_number:{required:!0,type:"integer"},repo:{required:!0,type:"string"},state:{enum:["open","closed"],type:"string"},title:{type:"string"}},url:"/repos/:owner/:repo/pulls/:pull_number"},updateBranch:{headers:{accept:"application/vnd.github.lydian-preview+json"},method:"PUT",params:{expected_head_sha:{type:"string"},owner:{required:!0,type:"string"},pull_number:{required:!0,type:"integer"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/pulls/:pull_number/update-branch"},updateComment:{method:"PATCH",params:{body:{required:!0,type:"string"},comment_id:{required:!0,type:"integer"},owner:{required:!0,type:"string"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/pulls/comments/:comment_id"},updateReview:{method:"PUT",params:{body:{required:!0,type:"string"},number:{alias:"pull_number",deprecated:!0,type:"integer"},owner:{required:!0,type:"string"},pull_number:{required:!0,type:"integer"},repo:{required:!0,type:"string"},review_id:{required:!0,type:"integer"}},url:"/repos/:owner/:repo/pulls/:pull_number/reviews/:review_id"}},rateLimit:{get:{method:"GET",params:{},url:"/rate_limit"}},reactions:{createForCommitComment:{headers:{accept:"application/vnd.github.squirrel-girl-preview+json"},method:"POST",params:{comment_id:{required:!0,type:"integer"},content:{enum:["+1","-1","laugh","confused","heart","hooray","rocket","eyes"],required:!0,type:"string"},owner:{required:!0,type:"string"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/comments/:comment_id/reactions"},createForIssue:{headers:{accept:"application/vnd.github.squirrel-girl-preview+json"},method:"POST",params:{content:{enum:["+1","-1","laugh","confused","heart","hooray","rocket","eyes"],required:!0,type:"string"},issue_number:{required:!0,type:"integer"},number:{alias:"issue_number",deprecated:!0,type:"integer"},owner:{required:!0,type:"string"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/issues/:issue_number/reactions"},createForIssueComment:{headers:{accept:"application/vnd.github.squirrel-girl-preview+json"},method:"POST",params:{comment_id:{required:!0,type:"integer"},content:{enum:["+1","-1","laugh","confused","heart","hooray","rocket","eyes"],required:!0,type:"string"},owner:{required:!0,type:"string"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/issues/comments/:comment_id/reactions"},createForPullRequestReviewComment:{headers:{accept:"application/vnd.github.squirrel-girl-preview+json"},method:"POST",params:{comment_id:{required:!0,type:"integer"},content:{enum:["+1","-1","laugh","confused","heart","hooray","rocket","eyes"],required:!0,type:"string"},owner:{required:!0,type:"string"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/pulls/comments/:comment_id/reactions"},createForTeamDiscussion:{deprecated:"octokit.reactions.createForTeamDiscussion() has been renamed to octokit.reactions.createForTeamDiscussionLegacy() (2020-01-16)",headers:{accept:"application/vnd.github.squirrel-girl-preview+json"},method:"POST",params:{content:{enum:["+1","-1","laugh","confused","heart","hooray","rocket","eyes"],required:!0,type:"string"},discussion_number:{required:!0,type:"integer"},team_id:{required:!0,type:"integer"}},url:"/teams/:team_id/discussions/:discussion_number/reactions"},createForTeamDiscussionComment:{deprecated:"octokit.reactions.createForTeamDiscussionComment() has been renamed to octokit.reactions.createForTeamDiscussionCommentLegacy() (2020-01-16)",headers:{accept:"application/vnd.github.squirrel-girl-preview+json"},method:"POST",params:{comment_number:{required:!0,type:"integer"},content:{enum:["+1","-1","laugh","confused","heart","hooray","rocket","eyes"],required:!0,type:"string"},discussion_number:{required:!0,type:"integer"},team_id:{required:!0,type:"integer"}},url:"/teams/:team_id/discussions/:discussion_number/comments/:comment_number/reactions"},createForTeamDiscussionCommentInOrg:{headers:{accept:"application/vnd.github.squirrel-girl-preview+json"},method:"POST",params:{comment_number:{required:!0,type:"integer"},content:{enum:["+1","-1","laugh","confused","heart","hooray","rocket","eyes"],required:!0,type:"string"},discussion_number:{required:!0,type:"integer"},org:{required:!0,type:"string"},team_slug:{required:!0,type:"string"}},url:"/orgs/:org/teams/:team_slug/discussions/:discussion_number/comments/:comment_number/reactions"},createForTeamDiscussionCommentLegacy:{deprecated:"octokit.reactions.createForTeamDiscussionCommentLegacy() is deprecated, see https://developer.github.com/v3/reactions/#create-reaction-for-a-team-discussion-comment-legacy",headers:{accept:"application/vnd.github.squirrel-girl-preview+json"},method:"POST",params:{comment_number:{required:!0,type:"integer"},content:{enum:["+1","-1","laugh","confused","heart","hooray","rocket","eyes"],required:!0,type:"string"},discussion_number:{required:!0,type:"integer"},team_id:{required:!0,type:"integer"}},url:"/teams/:team_id/discussions/:discussion_number/comments/:comment_number/reactions"},createForTeamDiscussionInOrg:{headers:{accept:"application/vnd.github.squirrel-girl-preview+json"},method:"POST",params:{content:{enum:["+1","-1","laugh","confused","heart","hooray","rocket","eyes"],required:!0,type:"string"},discussion_number:{required:!0,type:"integer"},org:{required:!0,type:"string"},team_slug:{required:!0,type:"string"}},url:"/orgs/:org/teams/:team_slug/discussions/:discussion_number/reactions"},createForTeamDiscussionLegacy:{deprecated:"octokit.reactions.createForTeamDiscussionLegacy() is deprecated, see https://developer.github.com/v3/reactions/#create-reaction-for-a-team-discussion-legacy",headers:{accept:"application/vnd.github.squirrel-girl-preview+json"},method:"POST",params:{content:{enum:["+1","-1","laugh","confused","heart","hooray","rocket","eyes"],required:!0,type:"string"},discussion_number:{required:!0,type:"integer"},team_id:{required:!0,type:"integer"}},url:"/teams/:team_id/discussions/:discussion_number/reactions"},delete:{headers:{accept:"application/vnd.github.squirrel-girl-preview+json"},method:"DELETE",params:{reaction_id:{required:!0,type:"integer"}},url:"/reactions/:reaction_id"},listForCommitComment:{headers:{accept:"application/vnd.github.squirrel-girl-preview+json"},method:"GET",params:{comment_id:{required:!0,type:"integer"},content:{enum:["+1","-1","laugh","confused","heart","hooray","rocket","eyes"],type:"string"},owner:{required:!0,type:"string"},page:{type:"integer"},per_page:{type:"integer"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/comments/:comment_id/reactions"},listForIssue:{headers:{accept:"application/vnd.github.squirrel-girl-preview+json"},method:"GET",params:{content:{enum:["+1","-1","laugh","confused","heart","hooray","rocket","eyes"],type:"string"},issue_number:{required:!0,type:"integer"},number:{alias:"issue_number",deprecated:!0,type:"integer"},owner:{required:!0,type:"string"},page:{type:"integer"},per_page:{type:"integer"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/issues/:issue_number/reactions"},listForIssueComment:{headers:{accept:"application/vnd.github.squirrel-girl-preview+json"},method:"GET",params:{comment_id:{required:!0,type:"integer"},content:{enum:["+1","-1","laugh","confused","heart","hooray","rocket","eyes"],type:"string"},owner:{required:!0,type:"string"},page:{type:"integer"},per_page:{type:"integer"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/issues/comments/:comment_id/reactions"},listForPullRequestReviewComment:{headers:{accept:"application/vnd.github.squirrel-girl-preview+json"},method:"GET",params:{comment_id:{required:!0,type:"integer"},content:{enum:["+1","-1","laugh","confused","heart","hooray","rocket","eyes"],type:"string"},owner:{required:!0,type:"string"},page:{type:"integer"},per_page:{type:"integer"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/pulls/comments/:comment_id/reactions"},listForTeamDiscussion:{deprecated:"octokit.reactions.listForTeamDiscussion() has been renamed to octokit.reactions.listForTeamDiscussionLegacy() (2020-01-16)",headers:{accept:"application/vnd.github.squirrel-girl-preview+json"},method:"GET",params:{content:{enum:["+1","-1","laugh","confused","heart","hooray","rocket","eyes"],type:"string"},discussion_number:{required:!0,type:"integer"},page:{type:"integer"},per_page:{type:"integer"},team_id:{required:!0,type:"integer"}},url:"/teams/:team_id/discussions/:discussion_number/reactions"},listForTeamDiscussionComment:{deprecated:"octokit.reactions.listForTeamDiscussionComment() has been renamed to octokit.reactions.listForTeamDiscussionCommentLegacy() (2020-01-16)",headers:{accept:"application/vnd.github.squirrel-girl-preview+json"},method:"GET",params:{comment_number:{required:!0,type:"integer"},content:{enum:["+1","-1","laugh","confused","heart","hooray","rocket","eyes"],type:"string"},discussion_number:{required:!0,type:"integer"},page:{type:"integer"},per_page:{type:"integer"},team_id:{required:!0,type:"integer"}},url:"/teams/:team_id/discussions/:discussion_number/comments/:comment_number/reactions"},listForTeamDiscussionCommentInOrg:{headers:{accept:"application/vnd.github.squirrel-girl-preview+json"},method:"GET",params:{comment_number:{required:!0,type:"integer"},content:{enum:["+1","-1","laugh","confused","heart","hooray","rocket","eyes"],type:"string"},discussion_number:{required:!0,type:"integer"},org:{required:!0,type:"string"},page:{type:"integer"},per_page:{type:"integer"},team_slug:{required:!0,type:"string"}},url:"/orgs/:org/teams/:team_slug/discussions/:discussion_number/comments/:comment_number/reactions"},listForTeamDiscussionCommentLegacy:{deprecated:"octokit.reactions.listForTeamDiscussionCommentLegacy() is deprecated, see https://developer.github.com/v3/reactions/#list-reactions-for-a-team-discussion-comment-legacy",headers:{accept:"application/vnd.github.squirrel-girl-preview+json"},method:"GET",params:{comment_number:{required:!0,type:"integer"},content:{enum:["+1","-1","laugh","confused","heart","hooray","rocket","eyes"],type:"string"},discussion_number:{required:!0,type:"integer"},page:{type:"integer"},per_page:{type:"integer"},team_id:{required:!0,type:"integer"}},url:"/teams/:team_id/discussions/:discussion_number/comments/:comment_number/reactions"},listForTeamDiscussionInOrg:{headers:{accept:"application/vnd.github.squirrel-girl-preview+json"},method:"GET",params:{content:{enum:["+1","-1","laugh","confused","heart","hooray","rocket","eyes"],type:"string"},discussion_number:{required:!0,type:"integer"},org:{required:!0,type:"string"},page:{type:"integer"},per_page:{type:"integer"},team_slug:{required:!0,type:"string"}},url:"/orgs/:org/teams/:team_slug/discussions/:discussion_number/reactions"},listForTeamDiscussionLegacy:{deprecated:"octokit.reactions.listForTeamDiscussionLegacy() is deprecated, see https://developer.github.com/v3/reactions/#list-reactions-for-a-team-discussion-legacy",headers:{accept:"application/vnd.github.squirrel-girl-preview+json"},method:"GET",params:{content:{enum:["+1","-1","laugh","confused","heart","hooray","rocket","eyes"],type:"string"},discussion_number:{required:!0,type:"integer"},page:{type:"integer"},per_page:{type:"integer"},team_id:{required:!0,type:"integer"}},url:"/teams/:team_id/discussions/:discussion_number/reactions"}},repos:{acceptInvitation:{method:"PATCH",params:{invitation_id:{required:!0,type:"integer"}},url:"/user/repository_invitations/:invitation_id"},addCollaborator:{method:"PUT",params:{owner:{required:!0,type:"string"},permission:{enum:["pull","push","admin"],type:"string"},repo:{required:!0,type:"string"},username:{required:!0,type:"string"}},url:"/repos/:owner/:repo/collaborators/:username"},addDeployKey:{method:"POST",params:{key:{required:!0,type:"string"},owner:{required:!0,type:"string"},read_only:{type:"boolean"},repo:{required:!0,type:"string"},title:{type:"string"}},url:"/repos/:owner/:repo/keys"},addProtectedBranchAdminEnforcement:{method:"POST",params:{branch:{required:!0,type:"string"},owner:{required:!0,type:"string"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/branches/:branch/protection/enforce_admins"},addProtectedBranchAppRestrictions:{method:"POST",params:{apps:{mapTo:"data",required:!0,type:"string[]"},branch:{required:!0,type:"string"},owner:{required:!0,type:"string"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/branches/:branch/protection/restrictions/apps"},addProtectedBranchRequiredSignatures:{headers:{accept:"application/vnd.github.zzzax-preview+json"},method:"POST",params:{branch:{required:!0,type:"string"},owner:{required:!0,type:"string"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/branches/:branch/protection/required_signatures"},addProtectedBranchRequiredStatusChecksContexts:{method:"POST",params:{branch:{required:!0,type:"string"},contexts:{mapTo:"data",required:!0,type:"string[]"},owner:{required:!0,type:"string"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/branches/:branch/protection/required_status_checks/contexts"},addProtectedBranchTeamRestrictions:{method:"POST",params:{branch:{required:!0,type:"string"},owner:{required:!0,type:"string"},repo:{required:!0,type:"string"},teams:{mapTo:"data",required:!0,type:"string[]"}},url:"/repos/:owner/:repo/branches/:branch/protection/restrictions/teams"},addProtectedBranchUserRestrictions:{method:"POST",params:{branch:{required:!0,type:"string"},owner:{required:!0,type:"string"},repo:{required:!0,type:"string"},users:{mapTo:"data",required:!0,type:"string[]"}},url:"/repos/:owner/:repo/branches/:branch/protection/restrictions/users"},checkCollaborator:{method:"GET",params:{owner:{required:!0,type:"string"},repo:{required:!0,type:"string"},username:{required:!0,type:"string"}},url:"/repos/:owner/:repo/collaborators/:username"},checkVulnerabilityAlerts:{headers:{accept:"application/vnd.github.dorian-preview+json"},method:"GET",params:{owner:{required:!0,type:"string"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/vulnerability-alerts"},compareCommits:{method:"GET",params:{base:{required:!0,type:"string"},head:{required:!0,type:"string"},owner:{required:!0,type:"string"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/compare/:base...:head"},createCommitComment:{method:"POST",params:{body:{required:!0,type:"string"},commit_sha:{required:!0,type:"string"},line:{type:"integer"},owner:{required:!0,type:"string"},path:{type:"string"},position:{type:"integer"},repo:{required:!0,type:"string"},sha:{alias:"commit_sha",deprecated:!0,type:"string"}},url:"/repos/:owner/:repo/commits/:commit_sha/comments"},createDeployment:{method:"POST",params:{auto_merge:{type:"boolean"},description:{type:"string"},environment:{type:"string"},owner:{required:!0,type:"string"},payload:{type:"string"},production_environment:{type:"boolean"},ref:{required:!0,type:"string"},repo:{required:!0,type:"string"},required_contexts:{type:"string[]"},task:{type:"string"},transient_environment:{type:"boolean"}},url:"/repos/:owner/:repo/deployments"},createDeploymentStatus:{method:"POST",params:{auto_inactive:{type:"boolean"},deployment_id:{required:!0,type:"integer"},description:{type:"string"},environment:{enum:["production","staging","qa"],type:"string"},environment_url:{type:"string"},log_url:{type:"string"},owner:{required:!0,type:"string"},repo:{required:!0,type:"string"},state:{enum:["error","failure","inactive","in_progress","queued","pending","success"],required:!0,type:"string"},target_url:{type:"string"}},url:"/repos/:owner/:repo/deployments/:deployment_id/statuses"},createDispatchEvent:{method:"POST",params:{client_payload:{type:"object"},event_type:{type:"string"},owner:{required:!0,type:"string"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/dispatches"},createFile:{deprecated:"octokit.repos.createFile() has been renamed to octokit.repos.createOrUpdateFile() (2019-06-07)",method:"PUT",params:{author:{type:"object"},"author.email":{required:!0,type:"string"},"author.name":{required:!0,type:"string"},branch:{type:"string"},committer:{type:"object"},"committer.email":{required:!0,type:"string"},"committer.name":{required:!0,type:"string"},content:{required:!0,type:"string"},message:{required:!0,type:"string"},owner:{required:!0,type:"string"},path:{required:!0,type:"string"},repo:{required:!0,type:"string"},sha:{type:"string"}},url:"/repos/:owner/:repo/contents/:path"},createForAuthenticatedUser:{method:"POST",params:{allow_merge_commit:{type:"boolean"},allow_rebase_merge:{type:"boolean"},allow_squash_merge:{type:"boolean"},auto_init:{type:"boolean"},delete_branch_on_merge:{type:"boolean"},description:{type:"string"},gitignore_template:{type:"string"},has_issues:{type:"boolean"},has_projects:{type:"boolean"},has_wiki:{type:"boolean"},homepage:{type:"string"},is_template:{type:"boolean"},license_template:{type:"string"},name:{required:!0,type:"string"},private:{type:"boolean"},team_id:{type:"integer"},visibility:{enum:["public","private","visibility","internal"],type:"string"}},url:"/user/repos"},createFork:{method:"POST",params:{organization:{type:"string"},owner:{required:!0,type:"string"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/forks"},createHook:{method:"POST",params:{active:{type:"boolean"},config:{required:!0,type:"object"},"config.content_type":{type:"string"},"config.insecure_ssl":{type:"string"},"config.secret":{type:"string"},"config.url":{required:!0,type:"string"},events:{type:"string[]"},name:{type:"string"},owner:{required:!0,type:"string"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/hooks"},createInOrg:{method:"POST",params:{allow_merge_commit:{type:"boolean"},allow_rebase_merge:{type:"boolean"},allow_squash_merge:{type:"boolean"},auto_init:{type:"boolean"},delete_branch_on_merge:{type:"boolean"},description:{type:"string"},gitignore_template:{type:"string"},has_issues:{type:"boolean"},has_projects:{type:"boolean"},has_wiki:{type:"boolean"},homepage:{type:"string"},is_template:{type:"boolean"},license_template:{type:"string"},name:{required:!0,type:"string"},org:{required:!0,type:"string"},private:{type:"boolean"},team_id:{type:"integer"},visibility:{enum:["public","private","visibility","internal"],type:"string"}},url:"/orgs/:org/repos"},createOrUpdateFile:{method:"PUT",params:{author:{type:"object"},"author.email":{required:!0,type:"string"},"author.name":{required:!0,type:"string"},branch:{type:"string"},committer:{type:"object"},"committer.email":{required:!0,type:"string"},"committer.name":{required:!0,type:"string"},content:{required:!0,type:"string"},message:{required:!0,type:"string"},owner:{required:!0,type:"string"},path:{required:!0,type:"string"},repo:{required:!0,type:"string"},sha:{type:"string"}},url:"/repos/:owner/:repo/contents/:path"},createRelease:{method:"POST",params:{body:{type:"string"},draft:{type:"boolean"},name:{type:"string"},owner:{required:!0,type:"string"},prerelease:{type:"boolean"},repo:{required:!0,type:"string"},tag_name:{required:!0,type:"string"},target_commitish:{type:"string"}},url:"/repos/:owner/:repo/releases"},createStatus:{method:"POST",params:{context:{type:"string"},description:{type:"string"},owner:{required:!0,type:"string"},repo:{required:!0,type:"string"},sha:{required:!0,type:"string"},state:{enum:["error","failure","pending","success"],required:!0,type:"string"},target_url:{type:"string"}},url:"/repos/:owner/:repo/statuses/:sha"},createUsingTemplate:{headers:{accept:"application/vnd.github.baptiste-preview+json"},method:"POST",params:{description:{type:"string"},name:{required:!0,type:"string"},owner:{type:"string"},private:{type:"boolean"},template_owner:{required:!0,type:"string"},template_repo:{required:!0,type:"string"}},url:"/repos/:template_owner/:template_repo/generate"},declineInvitation:{method:"DELETE",params:{invitation_id:{required:!0,type:"integer"}},url:"/user/repository_invitations/:invitation_id"},delete:{method:"DELETE",params:{owner:{required:!0,type:"string"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo"},deleteCommitComment:{method:"DELETE",params:{comment_id:{required:!0,type:"integer"},owner:{required:!0,type:"string"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/comments/:comment_id"},deleteDownload:{method:"DELETE",params:{download_id:{required:!0,type:"integer"},owner:{required:!0,type:"string"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/downloads/:download_id"},deleteFile:{method:"DELETE",params:{author:{type:"object"},"author.email":{type:"string"},"author.name":{type:"string"},branch:{type:"string"},committer:{type:"object"},"committer.email":{type:"string"},"committer.name":{type:"string"},message:{required:!0,type:"string"},owner:{required:!0,type:"string"},path:{required:!0,type:"string"},repo:{required:!0,type:"string"},sha:{required:!0,type:"string"}},url:"/repos/:owner/:repo/contents/:path"},deleteHook:{method:"DELETE",params:{hook_id:{required:!0,type:"integer"},owner:{required:!0,type:"string"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/hooks/:hook_id"},deleteInvitation:{method:"DELETE",params:{invitation_id:{required:!0,type:"integer"},owner:{required:!0,type:"string"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/invitations/:invitation_id"},deleteRelease:{method:"DELETE",params:{owner:{required:!0,type:"string"},release_id:{required:!0,type:"integer"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/releases/:release_id"},deleteReleaseAsset:{method:"DELETE",params:{asset_id:{required:!0,type:"integer"},owner:{required:!0,type:"string"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/releases/assets/:asset_id"},disableAutomatedSecurityFixes:{headers:{accept:"application/vnd.github.london-preview+json"},method:"DELETE",params:{owner:{required:!0,type:"string"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/automated-security-fixes"},disablePagesSite:{headers:{accept:"application/vnd.github.switcheroo-preview+json"},method:"DELETE",params:{owner:{required:!0,type:"string"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/pages"},disableVulnerabilityAlerts:{headers:{accept:"application/vnd.github.dorian-preview+json"},method:"DELETE",params:{owner:{required:!0,type:"string"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/vulnerability-alerts"},enableAutomatedSecurityFixes:{headers:{accept:"application/vnd.github.london-preview+json"},method:"PUT",params:{owner:{required:!0,type:"string"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/automated-security-fixes"},enablePagesSite:{headers:{accept:"application/vnd.github.switcheroo-preview+json"},method:"POST",params:{owner:{required:!0,type:"string"},repo:{required:!0,type:"string"},source:{type:"object"},"source.branch":{enum:["master","gh-pages"],type:"string"},"source.path":{type:"string"}},url:"/repos/:owner/:repo/pages"},enableVulnerabilityAlerts:{headers:{accept:"application/vnd.github.dorian-preview+json"},method:"PUT",params:{owner:{required:!0,type:"string"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/vulnerability-alerts"},get:{method:"GET",params:{owner:{required:!0,type:"string"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo"},getAppsWithAccessToProtectedBranch:{method:"GET",params:{branch:{required:!0,type:"string"},owner:{required:!0,type:"string"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/branches/:branch/protection/restrictions/apps"},getArchiveLink:{method:"GET",params:{archive_format:{required:!0,type:"string"},owner:{required:!0,type:"string"},ref:{required:!0,type:"string"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/:archive_format/:ref"},getBranch:{method:"GET",params:{branch:{required:!0,type:"string"},owner:{required:!0,type:"string"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/branches/:branch"},getBranchProtection:{method:"GET",params:{branch:{required:!0,type:"string"},owner:{required:!0,type:"string"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/branches/:branch/protection"},getClones:{method:"GET",params:{owner:{required:!0,type:"string"},per:{enum:["day","week"],type:"string"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/traffic/clones"},getCodeFrequencyStats:{method:"GET",params:{owner:{required:!0,type:"string"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/stats/code_frequency"},getCollaboratorPermissionLevel:{method:"GET",params:{owner:{required:!0,type:"string"},repo:{required:!0,type:"string"},username:{required:!0,type:"string"}},url:"/repos/:owner/:repo/collaborators/:username/permission"},getCombinedStatusForRef:{method:"GET",params:{owner:{required:!0,type:"string"},ref:{required:!0,type:"string"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/commits/:ref/status"},getCommit:{method:"GET",params:{commit_sha:{alias:"ref",deprecated:!0,type:"string"},owner:{required:!0,type:"string"},ref:{required:!0,type:"string"},repo:{required:!0,type:"string"},sha:{alias:"ref",deprecated:!0,type:"string"}},url:"/repos/:owner/:repo/commits/:ref"},getCommitActivityStats:{method:"GET",params:{owner:{required:!0,type:"string"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/stats/commit_activity"},getCommitComment:{method:"GET",params:{comment_id:{required:!0,type:"integer"},owner:{required:!0,type:"string"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/comments/:comment_id"},getCommitRefSha:{deprecated:"octokit.repos.getCommitRefSha() is deprecated, see https://developer.github.com/v3/repos/commits/#get-a-single-commit",headers:{accept:"application/vnd.github.v3.sha"},method:"GET",params:{owner:{required:!0,type:"string"},ref:{required:!0,type:"string"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/commits/:ref"},getContents:{method:"GET",params:{owner:{required:!0,type:"string"},path:{required:!0,type:"string"},ref:{type:"string"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/contents/:path"},getContributorsStats:{method:"GET",params:{owner:{required:!0,type:"string"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/stats/contributors"},getDeployKey:{method:"GET",params:{key_id:{required:!0,type:"integer"},owner:{required:!0,type:"string"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/keys/:key_id"},getDeployment:{method:"GET",params:{deployment_id:{required:!0,type:"integer"},owner:{required:!0,type:"string"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/deployments/:deployment_id"},getDeploymentStatus:{method:"GET",params:{deployment_id:{required:!0,type:"integer"},owner:{required:!0,type:"string"},repo:{required:!0,type:"string"},status_id:{required:!0,type:"integer"}},url:"/repos/:owner/:repo/deployments/:deployment_id/statuses/:status_id"},getDownload:{method:"GET",params:{download_id:{required:!0,type:"integer"},owner:{required:!0,type:"string"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/downloads/:download_id"},getHook:{method:"GET",params:{hook_id:{required:!0,type:"integer"},owner:{required:!0,type:"string"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/hooks/:hook_id"},getLatestPagesBuild:{method:"GET",params:{owner:{required:!0,type:"string"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/pages/builds/latest"},getLatestRelease:{method:"GET",params:{owner:{required:!0,type:"string"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/releases/latest"},getPages:{method:"GET",params:{owner:{required:!0,type:"string"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/pages"},getPagesBuild:{method:"GET",params:{build_id:{required:!0,type:"integer"},owner:{required:!0,type:"string"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/pages/builds/:build_id"},getParticipationStats:{method:"GET",params:{owner:{required:!0,type:"string"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/stats/participation"},getProtectedBranchAdminEnforcement:{method:"GET",params:{branch:{required:!0,type:"string"},owner:{required:!0,type:"string"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/branches/:branch/protection/enforce_admins"},getProtectedBranchPullRequestReviewEnforcement:{method:"GET",params:{branch:{required:!0,type:"string"},owner:{required:!0,type:"string"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/branches/:branch/protection/required_pull_request_reviews"},getProtectedBranchRequiredSignatures:{headers:{accept:"application/vnd.github.zzzax-preview+json"},method:"GET",params:{branch:{required:!0,type:"string"},owner:{required:!0,type:"string"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/branches/:branch/protection/required_signatures"},getProtectedBranchRequiredStatusChecks:{method:"GET",params:{branch:{required:!0,type:"string"},owner:{required:!0,type:"string"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/branches/:branch/protection/required_status_checks"},getProtectedBranchRestrictions:{method:"GET",params:{branch:{required:!0,type:"string"},owner:{required:!0,type:"string"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/branches/:branch/protection/restrictions"},getPunchCardStats:{method:"GET",params:{owner:{required:!0,type:"string"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/stats/punch_card"},getReadme:{method:"GET",params:{owner:{required:!0,type:"string"},ref:{type:"string"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/readme"},getRelease:{method:"GET",params:{owner:{required:!0,type:"string"},release_id:{required:!0,type:"integer"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/releases/:release_id"},getReleaseAsset:{method:"GET",params:{asset_id:{required:!0,type:"integer"},owner:{required:!0,type:"string"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/releases/assets/:asset_id"},getReleaseByTag:{method:"GET",params:{owner:{required:!0,type:"string"},repo:{required:!0,type:"string"},tag:{required:!0,type:"string"}},url:"/repos/:owner/:repo/releases/tags/:tag"},getTeamsWithAccessToProtectedBranch:{method:"GET",params:{branch:{required:!0,type:"string"},owner:{required:!0,type:"string"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/branches/:branch/protection/restrictions/teams"},getTopPaths:{method:"GET",params:{owner:{required:!0,type:"string"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/traffic/popular/paths"},getTopReferrers:{method:"GET",params:{owner:{required:!0,type:"string"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/traffic/popular/referrers"},getUsersWithAccessToProtectedBranch:{method:"GET",params:{branch:{required:!0,type:"string"},owner:{required:!0,type:"string"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/branches/:branch/protection/restrictions/users"},getViews:{method:"GET",params:{owner:{required:!0,type:"string"},per:{enum:["day","week"],type:"string"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/traffic/views"},list:{method:"GET",params:{affiliation:{type:"string"},direction:{enum:["asc","desc"],type:"string"},page:{type:"integer"},per_page:{type:"integer"},sort:{enum:["created","updated","pushed","full_name"],type:"string"},type:{enum:["all","owner","public","private","member"],type:"string"},visibility:{enum:["all","public","private"],type:"string"}},url:"/user/repos"},listAppsWithAccessToProtectedBranch:{deprecated:"octokit.repos.listAppsWithAccessToProtectedBranch() has been renamed to octokit.repos.getAppsWithAccessToProtectedBranch() (2019-09-13)",method:"GET",params:{branch:{required:!0,type:"string"},owner:{required:!0,type:"string"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/branches/:branch/protection/restrictions/apps"},listAssetsForRelease:{method:"GET",params:{owner:{required:!0,type:"string"},page:{type:"integer"},per_page:{type:"integer"},release_id:{required:!0,type:"integer"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/releases/:release_id/assets"},listBranches:{method:"GET",params:{owner:{required:!0,type:"string"},page:{type:"integer"},per_page:{type:"integer"},protected:{type:"boolean"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/branches"},listBranchesForHeadCommit:{headers:{accept:"application/vnd.github.groot-preview+json"},method:"GET",params:{commit_sha:{required:!0,type:"string"},owner:{required:!0,type:"string"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/commits/:commit_sha/branches-where-head"},listCollaborators:{method:"GET",params:{affiliation:{enum:["outside","direct","all"],type:"string"},owner:{required:!0,type:"string"},page:{type:"integer"},per_page:{type:"integer"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/collaborators"},listCommentsForCommit:{method:"GET",params:{commit_sha:{required:!0,type:"string"},owner:{required:!0,type:"string"},page:{type:"integer"},per_page:{type:"integer"},ref:{alias:"commit_sha",deprecated:!0,type:"string"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/commits/:commit_sha/comments"},listCommitComments:{method:"GET",params:{owner:{required:!0,type:"string"},page:{type:"integer"},per_page:{type:"integer"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/comments"},listCommits:{method:"GET",params:{author:{type:"string"},owner:{required:!0,type:"string"},page:{type:"integer"},path:{type:"string"},per_page:{type:"integer"},repo:{required:!0,type:"string"},sha:{type:"string"},since:{type:"string"},until:{type:"string"}},url:"/repos/:owner/:repo/commits"},listContributors:{method:"GET",params:{anon:{type:"string"},owner:{required:!0,type:"string"},page:{type:"integer"},per_page:{type:"integer"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/contributors"},listDeployKeys:{method:"GET",params:{owner:{required:!0,type:"string"},page:{type:"integer"},per_page:{type:"integer"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/keys"},listDeploymentStatuses:{method:"GET",params:{deployment_id:{required:!0,type:"integer"},owner:{required:!0,type:"string"},page:{type:"integer"},per_page:{type:"integer"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/deployments/:deployment_id/statuses"},listDeployments:{method:"GET",params:{environment:{type:"string"},owner:{required:!0,type:"string"},page:{type:"integer"},per_page:{type:"integer"},ref:{type:"string"},repo:{required:!0,type:"string"},sha:{type:"string"},task:{type:"string"}},url:"/repos/:owner/:repo/deployments"},listDownloads:{method:"GET",params:{owner:{required:!0,type:"string"},page:{type:"integer"},per_page:{type:"integer"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/downloads"},listForOrg:{method:"GET",params:{direction:{enum:["asc","desc"],type:"string"},org:{required:!0,type:"string"},page:{type:"integer"},per_page:{type:"integer"},sort:{enum:["created","updated","pushed","full_name"],type:"string"},type:{enum:["all","public","private","forks","sources","member","internal"],type:"string"}},url:"/orgs/:org/repos"},listForUser:{method:"GET",params:{direction:{enum:["asc","desc"],type:"string"},page:{type:"integer"},per_page:{type:"integer"},sort:{enum:["created","updated","pushed","full_name"],type:"string"},type:{enum:["all","owner","member"],type:"string"},username:{required:!0,type:"string"}},url:"/users/:username/repos"},listForks:{method:"GET",params:{owner:{required:!0,type:"string"},page:{type:"integer"},per_page:{type:"integer"},repo:{required:!0,type:"string"},sort:{enum:["newest","oldest","stargazers"],type:"string"}},url:"/repos/:owner/:repo/forks"},listHooks:{method:"GET",params:{owner:{required:!0,type:"string"},page:{type:"integer"},per_page:{type:"integer"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/hooks"},listInvitations:{method:"GET",params:{owner:{required:!0,type:"string"},page:{type:"integer"},per_page:{type:"integer"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/invitations"},listInvitationsForAuthenticatedUser:{method:"GET",params:{page:{type:"integer"},per_page:{type:"integer"}},url:"/user/repository_invitations"},listLanguages:{method:"GET",params:{owner:{required:!0,type:"string"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/languages"},listPagesBuilds:{method:"GET",params:{owner:{required:!0,type:"string"},page:{type:"integer"},per_page:{type:"integer"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/pages/builds"},listProtectedBranchRequiredStatusChecksContexts:{method:"GET",params:{branch:{required:!0,type:"string"},owner:{required:!0,type:"string"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/branches/:branch/protection/required_status_checks/contexts"},listProtectedBranchTeamRestrictions:{deprecated:"octokit.repos.listProtectedBranchTeamRestrictions() has been renamed to octokit.repos.getTeamsWithAccessToProtectedBranch() (2019-09-09)",method:"GET",params:{branch:{required:!0,type:"string"},owner:{required:!0,type:"string"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/branches/:branch/protection/restrictions/teams"},listProtectedBranchUserRestrictions:{deprecated:"octokit.repos.listProtectedBranchUserRestrictions() has been renamed to octokit.repos.getUsersWithAccessToProtectedBranch() (2019-09-09)",method:"GET",params:{branch:{required:!0,type:"string"},owner:{required:!0,type:"string"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/branches/:branch/protection/restrictions/users"},listPublic:{method:"GET",params:{page:{type:"integer"},per_page:{type:"integer"},since:{type:"integer"}},url:"/repositories"},listPullRequestsAssociatedWithCommit:{headers:{accept:"application/vnd.github.groot-preview+json"},method:"GET",params:{commit_sha:{required:!0,type:"string"},owner:{required:!0,type:"string"},page:{type:"integer"},per_page:{type:"integer"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/commits/:commit_sha/pulls"},listReleases:{method:"GET",params:{owner:{required:!0,type:"string"},page:{type:"integer"},per_page:{type:"integer"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/releases"},listStatusesForRef:{method:"GET",params:{owner:{required:!0,type:"string"},page:{type:"integer"},per_page:{type:"integer"},ref:{required:!0,type:"string"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/commits/:ref/statuses"},listTags:{method:"GET",params:{owner:{required:!0,type:"string"},page:{type:"integer"},per_page:{type:"integer"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/tags"},listTeams:{method:"GET",params:{owner:{required:!0,type:"string"},page:{type:"integer"},per_page:{type:"integer"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/teams"},listTeamsWithAccessToProtectedBranch:{deprecated:"octokit.repos.listTeamsWithAccessToProtectedBranch() has been renamed to octokit.repos.getTeamsWithAccessToProtectedBranch() (2019-09-13)",method:"GET",params:{branch:{required:!0,type:"string"},owner:{required:!0,type:"string"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/branches/:branch/protection/restrictions/teams"},listTopics:{headers:{accept:"application/vnd.github.mercy-preview+json"},method:"GET",params:{owner:{required:!0,type:"string"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/topics"},listUsersWithAccessToProtectedBranch:{deprecated:"octokit.repos.listUsersWithAccessToProtectedBranch() has been renamed to octokit.repos.getUsersWithAccessToProtectedBranch() (2019-09-13)",method:"GET",params:{branch:{required:!0,type:"string"},owner:{required:!0,type:"string"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/branches/:branch/protection/restrictions/users"},merge:{method:"POST",params:{base:{required:!0,type:"string"},commit_message:{type:"string"},head:{required:!0,type:"string"},owner:{required:!0,type:"string"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/merges"},pingHook:{method:"POST",params:{hook_id:{required:!0,type:"integer"},owner:{required:!0,type:"string"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/hooks/:hook_id/pings"},removeBranchProtection:{method:"DELETE",params:{branch:{required:!0,type:"string"},owner:{required:!0,type:"string"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/branches/:branch/protection"},removeCollaborator:{method:"DELETE",params:{owner:{required:!0,type:"string"},repo:{required:!0,type:"string"},username:{required:!0,type:"string"}},url:"/repos/:owner/:repo/collaborators/:username"},removeDeployKey:{method:"DELETE",params:{key_id:{required:!0,type:"integer"},owner:{required:!0,type:"string"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/keys/:key_id"},removeProtectedBranchAdminEnforcement:{method:"DELETE",params:{branch:{required:!0,type:"string"},owner:{required:!0,type:"string"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/branches/:branch/protection/enforce_admins"},removeProtectedBranchAppRestrictions:{method:"DELETE",params:{apps:{mapTo:"data",required:!0,type:"string[]"},branch:{required:!0,type:"string"},owner:{required:!0,type:"string"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/branches/:branch/protection/restrictions/apps"},removeProtectedBranchPullRequestReviewEnforcement:{method:"DELETE",params:{branch:{required:!0,type:"string"},owner:{required:!0,type:"string"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/branches/:branch/protection/required_pull_request_reviews"},removeProtectedBranchRequiredSignatures:{headers:{accept:"application/vnd.github.zzzax-preview+json"},method:"DELETE",params:{branch:{required:!0,type:"string"},owner:{required:!0,type:"string"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/branches/:branch/protection/required_signatures"},removeProtectedBranchRequiredStatusChecks:{method:"DELETE",params:{branch:{required:!0,type:"string"},owner:{required:!0,type:"string"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/branches/:branch/protection/required_status_checks"},removeProtectedBranchRequiredStatusChecksContexts:{method:"DELETE",params:{branch:{required:!0,type:"string"},contexts:{mapTo:"data",required:!0,type:"string[]"},owner:{required:!0,type:"string"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/branches/:branch/protection/required_status_checks/contexts"},removeProtectedBranchRestrictions:{method:"DELETE",params:{branch:{required:!0,type:"string"},owner:{required:!0,type:"string"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/branches/:branch/protection/restrictions"},removeProtectedBranchTeamRestrictions:{method:"DELETE",params:{branch:{required:!0,type:"string"},owner:{required:!0,type:"string"},repo:{required:!0,type:"string"},teams:{mapTo:"data",required:!0,type:"string[]"}},url:"/repos/:owner/:repo/branches/:branch/protection/restrictions/teams"},removeProtectedBranchUserRestrictions:{method:"DELETE",params:{branch:{required:!0,type:"string"},owner:{required:!0,type:"string"},repo:{required:!0,type:"string"},users:{mapTo:"data",required:!0,type:"string[]"}},url:"/repos/:owner/:repo/branches/:branch/protection/restrictions/users"},replaceProtectedBranchAppRestrictions:{method:"PUT",params:{apps:{mapTo:"data",required:!0,type:"string[]"},branch:{required:!0,type:"string"},owner:{required:!0,type:"string"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/branches/:branch/protection/restrictions/apps"},replaceProtectedBranchRequiredStatusChecksContexts:{method:"PUT",params:{branch:{required:!0,type:"string"},contexts:{mapTo:"data",required:!0,type:"string[]"},owner:{required:!0,type:"string"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/branches/:branch/protection/required_status_checks/contexts"},replaceProtectedBranchTeamRestrictions:{method:"PUT",params:{branch:{required:!0,type:"string"},owner:{required:!0,type:"string"},repo:{required:!0,type:"string"},teams:{mapTo:"data",required:!0,type:"string[]"}},url:"/repos/:owner/:repo/branches/:branch/protection/restrictions/teams"},replaceProtectedBranchUserRestrictions:{method:"PUT",params:{branch:{required:!0,type:"string"},owner:{required:!0,type:"string"},repo:{required:!0,type:"string"},users:{mapTo:"data",required:!0,type:"string[]"}},url:"/repos/:owner/:repo/branches/:branch/protection/restrictions/users"},replaceTopics:{headers:{accept:"application/vnd.github.mercy-preview+json"},method:"PUT",params:{names:{required:!0,type:"string[]"},owner:{required:!0,type:"string"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/topics"},requestPageBuild:{method:"POST",params:{owner:{required:!0,type:"string"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/pages/builds"},retrieveCommunityProfileMetrics:{method:"GET",params:{owner:{required:!0,type:"string"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/community/profile"},testPushHook:{method:"POST",params:{hook_id:{required:!0,type:"integer"},owner:{required:!0,type:"string"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/hooks/:hook_id/tests"},transfer:{method:"POST",params:{new_owner:{type:"string"},owner:{required:!0,type:"string"},repo:{required:!0,type:"string"},team_ids:{type:"integer[]"}},url:"/repos/:owner/:repo/transfer"},update:{method:"PATCH",params:{allow_merge_commit:{type:"boolean"},allow_rebase_merge:{type:"boolean"},allow_squash_merge:{type:"boolean"},archived:{type:"boolean"},default_branch:{type:"string"},delete_branch_on_merge:{type:"boolean"},description:{type:"string"},has_issues:{type:"boolean"},has_projects:{type:"boolean"},has_wiki:{type:"boolean"},homepage:{type:"string"},is_template:{type:"boolean"},name:{type:"string"},owner:{required:!0,type:"string"},private:{type:"boolean"},repo:{required:!0,type:"string"},visibility:{enum:["public","private","visibility","internal"],type:"string"}},url:"/repos/:owner/:repo"},updateBranchProtection:{method:"PUT",params:{allow_deletions:{type:"boolean"},allow_force_pushes:{allowNull:!0,type:"boolean"},branch:{required:!0,type:"string"},enforce_admins:{allowNull:!0,required:!0,type:"boolean"},owner:{required:!0,type:"string"},repo:{required:!0,type:"string"},required_linear_history:{type:"boolean"},required_pull_request_reviews:{allowNull:!0,required:!0,type:"object"},"required_pull_request_reviews.dismiss_stale_reviews":{type:"boolean"},"required_pull_request_reviews.dismissal_restrictions":{type:"object"},"required_pull_request_reviews.dismissal_restrictions.teams":{type:"string[]"},"required_pull_request_reviews.dismissal_restrictions.users":{type:"string[]"},"required_pull_request_reviews.require_code_owner_reviews":{type:"boolean"},"required_pull_request_reviews.required_approving_review_count":{type:"integer"},required_status_checks:{allowNull:!0,required:!0,type:"object"},"required_status_checks.contexts":{required:!0,type:"string[]"},"required_status_checks.strict":{required:!0,type:"boolean"},restrictions:{allowNull:!0,required:!0,type:"object"},"restrictions.apps":{type:"string[]"},"restrictions.teams":{required:!0,type:"string[]"},"restrictions.users":{required:!0,type:"string[]"}},url:"/repos/:owner/:repo/branches/:branch/protection"},updateCommitComment:{method:"PATCH",params:{body:{required:!0,type:"string"},comment_id:{required:!0,type:"integer"},owner:{required:!0,type:"string"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/comments/:comment_id"},updateFile:{deprecated:"octokit.repos.updateFile() has been renamed to octokit.repos.createOrUpdateFile() (2019-06-07)",method:"PUT",params:{author:{type:"object"},"author.email":{required:!0,type:"string"},"author.name":{required:!0,type:"string"},branch:{type:"string"},committer:{type:"object"},"committer.email":{required:!0,type:"string"},"committer.name":{required:!0,type:"string"},content:{required:!0,type:"string"},message:{required:!0,type:"string"},owner:{required:!0,type:"string"},path:{required:!0,type:"string"},repo:{required:!0,type:"string"},sha:{type:"string"}},url:"/repos/:owner/:repo/contents/:path"},updateHook:{method:"PATCH",params:{active:{type:"boolean"},add_events:{type:"string[]"},config:{type:"object"},"config.content_type":{type:"string"},"config.insecure_ssl":{type:"string"},"config.secret":{type:"string"},"config.url":{required:!0,type:"string"},events:{type:"string[]"},hook_id:{required:!0,type:"integer"},owner:{required:!0,type:"string"},remove_events:{type:"string[]"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/hooks/:hook_id"},updateInformationAboutPagesSite:{method:"PUT",params:{cname:{type:"string"},owner:{required:!0,type:"string"},repo:{required:!0,type:"string"},source:{enum:['"gh-pages"','"master"','"master /docs"'],type:"string"}},url:"/repos/:owner/:repo/pages"},updateInvitation:{method:"PATCH",params:{invitation_id:{required:!0,type:"integer"},owner:{required:!0,type:"string"},permissions:{enum:["read","write","admin"],type:"string"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/invitations/:invitation_id"},updateProtectedBranchPullRequestReviewEnforcement:{method:"PATCH",params:{branch:{required:!0,type:"string"},dismiss_stale_reviews:{type:"boolean"},dismissal_restrictions:{type:"object"},"dismissal_restrictions.teams":{type:"string[]"},"dismissal_restrictions.users":{type:"string[]"},owner:{required:!0,type:"string"},repo:{required:!0,type:"string"},require_code_owner_reviews:{type:"boolean"},required_approving_review_count:{type:"integer"}},url:"/repos/:owner/:repo/branches/:branch/protection/required_pull_request_reviews"},updateProtectedBranchRequiredStatusChecks:{method:"PATCH",params:{branch:{required:!0,type:"string"},contexts:{type:"string[]"},owner:{required:!0,type:"string"},repo:{required:!0,type:"string"},strict:{type:"boolean"}},url:"/repos/:owner/:repo/branches/:branch/protection/required_status_checks"},updateRelease:{method:"PATCH",params:{body:{type:"string"},draft:{type:"boolean"},name:{type:"string"},owner:{required:!0,type:"string"},prerelease:{type:"boolean"},release_id:{required:!0,type:"integer"},repo:{required:!0,type:"string"},tag_name:{type:"string"},target_commitish:{type:"string"}},url:"/repos/:owner/:repo/releases/:release_id"},updateReleaseAsset:{method:"PATCH",params:{asset_id:{required:!0,type:"integer"},label:{type:"string"},name:{type:"string"},owner:{required:!0,type:"string"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/releases/assets/:asset_id"},uploadReleaseAsset:{method:"POST",params:{data:{mapTo:"data",required:!0,type:"string | object"},file:{alias:"data",deprecated:!0,type:"string | object"},headers:{required:!0,type:"object"},"headers.content-length":{required:!0,type:"integer"},"headers.content-type":{required:!0,type:"string"},label:{type:"string"},name:{required:!0,type:"string"},url:{required:!0,type:"string"}},url:":url"}},search:{code:{method:"GET",params:{order:{enum:["desc","asc"],type:"string"},page:{type:"integer"},per_page:{type:"integer"},q:{required:!0,type:"string"},sort:{enum:["indexed"],type:"string"}},url:"/search/code"},commits:{headers:{accept:"application/vnd.github.cloak-preview+json"},method:"GET",params:{order:{enum:["desc","asc"],type:"string"},page:{type:"integer"},per_page:{type:"integer"},q:{required:!0,type:"string"},sort:{enum:["author-date","committer-date"],type:"string"}},url:"/search/commits"},issues:{deprecated:"octokit.search.issues() has been renamed to octokit.search.issuesAndPullRequests() (2018-12-27)",method:"GET",params:{order:{enum:["desc","asc"],type:"string"},page:{type:"integer"},per_page:{type:"integer"},q:{required:!0,type:"string"},sort:{enum:["comments","reactions","reactions-+1","reactions--1","reactions-smile","reactions-thinking_face","reactions-heart","reactions-tada","interactions","created","updated"],type:"string"}},url:"/search/issues"},issuesAndPullRequests:{method:"GET",params:{order:{enum:["desc","asc"],type:"string"},page:{type:"integer"},per_page:{type:"integer"},q:{required:!0,type:"string"},sort:{enum:["comments","reactions","reactions-+1","reactions--1","reactions-smile","reactions-thinking_face","reactions-heart","reactions-tada","interactions","created","updated"],type:"string"}},url:"/search/issues"},labels:{method:"GET",params:{order:{enum:["desc","asc"],type:"string"},q:{required:!0,type:"string"},repository_id:{required:!0,type:"integer"},sort:{enum:["created","updated"],type:"string"}},url:"/search/labels"},repos:{method:"GET",params:{order:{enum:["desc","asc"],type:"string"},page:{type:"integer"},per_page:{type:"integer"},q:{required:!0,type:"string"},sort:{enum:["stars","forks","help-wanted-issues","updated"],type:"string"}},url:"/search/repositories"},topics:{method:"GET",params:{q:{required:!0,type:"string"}},url:"/search/topics"},users:{method:"GET",params:{order:{enum:["desc","asc"],type:"string"},page:{type:"integer"},per_page:{type:"integer"},q:{required:!0,type:"string"},sort:{enum:["followers","repositories","joined"],type:"string"}},url:"/search/users"}},teams:{addMember:{deprecated:"octokit.teams.addMember() has been renamed to octokit.teams.addMemberLegacy() (2020-01-16)",method:"PUT",params:{team_id:{required:!0,type:"integer"},username:{required:!0,type:"string"}},url:"/teams/:team_id/members/:username"},addMemberLegacy:{deprecated:"octokit.teams.addMemberLegacy() is deprecated, see https://developer.github.com/v3/teams/members/#add-team-member-legacy",method:"PUT",params:{team_id:{required:!0,type:"integer"},username:{required:!0,type:"string"}},url:"/teams/:team_id/members/:username"},addOrUpdateMembership:{deprecated:"octokit.teams.addOrUpdateMembership() has been renamed to octokit.teams.addOrUpdateMembershipLegacy() (2020-01-16)",method:"PUT",params:{role:{enum:["member","maintainer"],type:"string"},team_id:{required:!0,type:"integer"},username:{required:!0,type:"string"}},url:"/teams/:team_id/memberships/:username"},addOrUpdateMembershipInOrg:{method:"PUT",params:{org:{required:!0,type:"string"},role:{enum:["member","maintainer"],type:"string"},team_slug:{required:!0,type:"string"},username:{required:!0,type:"string"}},url:"/orgs/:org/teams/:team_slug/memberships/:username"},addOrUpdateMembershipLegacy:{deprecated:"octokit.teams.addOrUpdateMembershipLegacy() is deprecated, see https://developer.github.com/v3/teams/members/#add-or-update-team-membership-legacy",method:"PUT",params:{role:{enum:["member","maintainer"],type:"string"},team_id:{required:!0,type:"integer"},username:{required:!0,type:"string"}},url:"/teams/:team_id/memberships/:username"},addOrUpdateProject:{deprecated:"octokit.teams.addOrUpdateProject() has been renamed to octokit.teams.addOrUpdateProjectLegacy() (2020-01-16)",headers:{accept:"application/vnd.github.inertia-preview+json"},method:"PUT",params:{permission:{enum:["read","write","admin"],type:"string"},project_id:{required:!0,type:"integer"},team_id:{required:!0,type:"integer"}},url:"/teams/:team_id/projects/:project_id"},addOrUpdateProjectInOrg:{headers:{accept:"application/vnd.github.inertia-preview+json"},method:"PUT",params:{org:{required:!0,type:"string"},permission:{enum:["read","write","admin"],type:"string"},project_id:{required:!0,type:"integer"},team_slug:{required:!0,type:"string"}},url:"/orgs/:org/teams/:team_slug/projects/:project_id"},addOrUpdateProjectLegacy:{deprecated:"octokit.teams.addOrUpdateProjectLegacy() is deprecated, see https://developer.github.com/v3/teams/#add-or-update-team-project-legacy",headers:{accept:"application/vnd.github.inertia-preview+json"},method:"PUT",params:{permission:{enum:["read","write","admin"],type:"string"},project_id:{required:!0,type:"integer"},team_id:{required:!0,type:"integer"}},url:"/teams/:team_id/projects/:project_id"},addOrUpdateRepo:{deprecated:"octokit.teams.addOrUpdateRepo() has been renamed to octokit.teams.addOrUpdateRepoLegacy() (2020-01-16)",method:"PUT",params:{owner:{required:!0,type:"string"},permission:{enum:["pull","push","admin"],type:"string"},repo:{required:!0,type:"string"},team_id:{required:!0,type:"integer"}},url:"/teams/:team_id/repos/:owner/:repo"},addOrUpdateRepoInOrg:{method:"PUT",params:{org:{required:!0,type:"string"},owner:{required:!0,type:"string"},permission:{enum:["pull","push","admin"],type:"string"},repo:{required:!0,type:"string"},team_slug:{required:!0,type:"string"}},url:"/orgs/:org/teams/:team_slug/repos/:owner/:repo"},addOrUpdateRepoLegacy:{deprecated:"octokit.teams.addOrUpdateRepoLegacy() is deprecated, see https://developer.github.com/v3/teams/#add-or-update-team-repository-legacy",method:"PUT",params:{owner:{required:!0,type:"string"},permission:{enum:["pull","push","admin"],type:"string"},repo:{required:!0,type:"string"},team_id:{required:!0,type:"integer"}},url:"/teams/:team_id/repos/:owner/:repo"},checkManagesRepo:{deprecated:"octokit.teams.checkManagesRepo() has been renamed to octokit.teams.checkManagesRepoLegacy() (2020-01-16)",method:"GET",params:{owner:{required:!0,type:"string"},repo:{required:!0,type:"string"},team_id:{required:!0,type:"integer"}},url:"/teams/:team_id/repos/:owner/:repo"},checkManagesRepoInOrg:{method:"GET",params:{org:{required:!0,type:"string"},owner:{required:!0,type:"string"},repo:{required:!0,type:"string"},team_slug:{required:!0,type:"string"}},url:"/orgs/:org/teams/:team_slug/repos/:owner/:repo"},checkManagesRepoLegacy:{deprecated:"octokit.teams.checkManagesRepoLegacy() is deprecated, see https://developer.github.com/v3/teams/#check-if-a-team-manages-a-repository-legacy",method:"GET",params:{owner:{required:!0,type:"string"},repo:{required:!0,type:"string"},team_id:{required:!0,type:"integer"}},url:"/teams/:team_id/repos/:owner/:repo"},create:{method:"POST",params:{description:{type:"string"},maintainers:{type:"string[]"},name:{required:!0,type:"string"},org:{required:!0,type:"string"},parent_team_id:{type:"integer"},permission:{enum:["pull","push","admin"],type:"string"},privacy:{enum:["secret","closed"],type:"string"},repo_names:{type:"string[]"}},url:"/orgs/:org/teams"},createDiscussion:{deprecated:"octokit.teams.createDiscussion() has been renamed to octokit.teams.createDiscussionLegacy() (2020-01-16)",method:"POST",params:{body:{required:!0,type:"string"},private:{type:"boolean"},team_id:{required:!0,type:"integer"},title:{required:!0,type:"string"}},url:"/teams/:team_id/discussions"},createDiscussionComment:{deprecated:"octokit.teams.createDiscussionComment() has been renamed to octokit.teams.createDiscussionCommentLegacy() (2020-01-16)",method:"POST",params:{body:{required:!0,type:"string"},discussion_number:{required:!0,type:"integer"},team_id:{required:!0,type:"integer"}},url:"/teams/:team_id/discussions/:discussion_number/comments"},createDiscussionCommentInOrg:{method:"POST",params:{body:{required:!0,type:"string"},discussion_number:{required:!0,type:"integer"},org:{required:!0,type:"string"},team_slug:{required:!0,type:"string"}},url:"/orgs/:org/teams/:team_slug/discussions/:discussion_number/comments"},createDiscussionCommentLegacy:{deprecated:"octokit.teams.createDiscussionCommentLegacy() is deprecated, see https://developer.github.com/v3/teams/discussion_comments/#create-a-comment-legacy",method:"POST",params:{body:{required:!0,type:"string"},discussion_number:{required:!0,type:"integer"},team_id:{required:!0,type:"integer"}},url:"/teams/:team_id/discussions/:discussion_number/comments"},createDiscussionInOrg:{method:"POST",params:{body:{required:!0,type:"string"},org:{required:!0,type:"string"},private:{type:"boolean"},team_slug:{required:!0,type:"string"},title:{required:!0,type:"string"}},url:"/orgs/:org/teams/:team_slug/discussions"},createDiscussionLegacy:{deprecated:"octokit.teams.createDiscussionLegacy() is deprecated, see https://developer.github.com/v3/teams/discussions/#create-a-discussion-legacy",method:"POST",params:{body:{required:!0,type:"string"},private:{type:"boolean"},team_id:{required:!0,type:"integer"},title:{required:!0,type:"string"}},url:"/teams/:team_id/discussions"},delete:{deprecated:"octokit.teams.delete() has been renamed to octokit.teams.deleteLegacy() (2020-01-16)",method:"DELETE",params:{team_id:{required:!0,type:"integer"}},url:"/teams/:team_id"},deleteDiscussion:{deprecated:"octokit.teams.deleteDiscussion() has been renamed to octokit.teams.deleteDiscussionLegacy() (2020-01-16)",method:"DELETE",params:{discussion_number:{required:!0,type:"integer"},team_id:{required:!0,type:"integer"}},url:"/teams/:team_id/discussions/:discussion_number"},deleteDiscussionComment:{deprecated:"octokit.teams.deleteDiscussionComment() has been renamed to octokit.teams.deleteDiscussionCommentLegacy() (2020-01-16)",method:"DELETE",params:{comment_number:{required:!0,type:"integer"},discussion_number:{required:!0,type:"integer"},team_id:{required:!0,type:"integer"}},url:"/teams/:team_id/discussions/:discussion_number/comments/:comment_number"},deleteDiscussionCommentInOrg:{method:"DELETE",params:{comment_number:{required:!0,type:"integer"},discussion_number:{required:!0,type:"integer"},org:{required:!0,type:"string"},team_slug:{required:!0,type:"string"}},url:"/orgs/:org/teams/:team_slug/discussions/:discussion_number/comments/:comment_number"},deleteDiscussionCommentLegacy:{deprecated:"octokit.teams.deleteDiscussionCommentLegacy() is deprecated, see https://developer.github.com/v3/teams/discussion_comments/#delete-a-comment-legacy",method:"DELETE",params:{comment_number:{required:!0,type:"integer"},discussion_number:{required:!0,type:"integer"},team_id:{required:!0,type:"integer"}},url:"/teams/:team_id/discussions/:discussion_number/comments/:comment_number"},deleteDiscussionInOrg:{method:"DELETE",params:{discussion_number:{required:!0,type:"integer"},org:{required:!0,type:"string"},team_slug:{required:!0,type:"string"}},url:"/orgs/:org/teams/:team_slug/discussions/:discussion_number"},deleteDiscussionLegacy:{deprecated:"octokit.teams.deleteDiscussionLegacy() is deprecated, see https://developer.github.com/v3/teams/discussions/#delete-a-discussion-legacy",method:"DELETE",params:{discussion_number:{required:!0,type:"integer"},team_id:{required:!0,type:"integer"}},url:"/teams/:team_id/discussions/:discussion_number"},deleteInOrg:{method:"DELETE",params:{org:{required:!0,type:"string"},team_slug:{required:!0,type:"string"}},url:"/orgs/:org/teams/:team_slug"},deleteLegacy:{deprecated:"octokit.teams.deleteLegacy() is deprecated, see https://developer.github.com/v3/teams/#delete-team-legacy",method:"DELETE",params:{team_id:{required:!0,type:"integer"}},url:"/teams/:team_id"},get:{deprecated:"octokit.teams.get() has been renamed to octokit.teams.getLegacy() (2020-01-16)",method:"GET",params:{team_id:{required:!0,type:"integer"}},url:"/teams/:team_id"},getByName:{method:"GET",params:{org:{required:!0,type:"string"},team_slug:{required:!0,type:"string"}},url:"/orgs/:org/teams/:team_slug"},getDiscussion:{deprecated:"octokit.teams.getDiscussion() has been renamed to octokit.teams.getDiscussionLegacy() (2020-01-16)",method:"GET",params:{discussion_number:{required:!0,type:"integer"},team_id:{required:!0,type:"integer"}},url:"/teams/:team_id/discussions/:discussion_number"},getDiscussionComment:{deprecated:"octokit.teams.getDiscussionComment() has been renamed to octokit.teams.getDiscussionCommentLegacy() (2020-01-16)",method:"GET",params:{comment_number:{required:!0,type:"integer"},discussion_number:{required:!0,type:"integer"},team_id:{required:!0,type:"integer"}},url:"/teams/:team_id/discussions/:discussion_number/comments/:comment_number"},getDiscussionCommentInOrg:{method:"GET",params:{comment_number:{required:!0,type:"integer"},discussion_number:{required:!0,type:"integer"},org:{required:!0,type:"string"},team_slug:{required:!0,type:"string"}},url:"/orgs/:org/teams/:team_slug/discussions/:discussion_number/comments/:comment_number"},getDiscussionCommentLegacy:{deprecated:"octokit.teams.getDiscussionCommentLegacy() is deprecated, see https://developer.github.com/v3/teams/discussion_comments/#get-a-single-comment-legacy",method:"GET",params:{comment_number:{required:!0,type:"integer"},discussion_number:{required:!0,type:"integer"},team_id:{required:!0,type:"integer"}},url:"/teams/:team_id/discussions/:discussion_number/comments/:comment_number"},getDiscussionInOrg:{method:"GET",params:{discussion_number:{required:!0,type:"integer"},org:{required:!0,type:"string"},team_slug:{required:!0,type:"string"}},url:"/orgs/:org/teams/:team_slug/discussions/:discussion_number"},getDiscussionLegacy:{deprecated:"octokit.teams.getDiscussionLegacy() is deprecated, see https://developer.github.com/v3/teams/discussions/#get-a-single-discussion-legacy",method:"GET",params:{discussion_number:{required:!0,type:"integer"},team_id:{required:!0,type:"integer"}},url:"/teams/:team_id/discussions/:discussion_number"},getLegacy:{deprecated:"octokit.teams.getLegacy() is deprecated, see https://developer.github.com/v3/teams/#get-team-legacy",method:"GET",params:{team_id:{required:!0,type:"integer"}},url:"/teams/:team_id"},getMember:{deprecated:"octokit.teams.getMember() has been renamed to octokit.teams.getMemberLegacy() (2020-01-16)",method:"GET",params:{team_id:{required:!0,type:"integer"},username:{required:!0,type:"string"}},url:"/teams/:team_id/members/:username"},getMemberLegacy:{deprecated:"octokit.teams.getMemberLegacy() is deprecated, see https://developer.github.com/v3/teams/members/#get-team-member-legacy",method:"GET",params:{team_id:{required:!0,type:"integer"},username:{required:!0,type:"string"}},url:"/teams/:team_id/members/:username"},getMembership:{deprecated:"octokit.teams.getMembership() has been renamed to octokit.teams.getMembershipLegacy() (2020-01-16)",method:"GET",params:{team_id:{required:!0,type:"integer"},username:{required:!0,type:"string"}},url:"/teams/:team_id/memberships/:username"},getMembershipInOrg:{method:"GET",params:{org:{required:!0,type:"string"},team_slug:{required:!0,type:"string"},username:{required:!0,type:"string"}},url:"/orgs/:org/teams/:team_slug/memberships/:username"},getMembershipLegacy:{deprecated:"octokit.teams.getMembershipLegacy() is deprecated, see https://developer.github.com/v3/teams/members/#get-team-membership-legacy",method:"GET",params:{team_id:{required:!0,type:"integer"},username:{required:!0,type:"string"}},url:"/teams/:team_id/memberships/:username"},list:{method:"GET",params:{org:{required:!0,type:"string"},page:{type:"integer"},per_page:{type:"integer"}},url:"/orgs/:org/teams"},listChild:{deprecated:"octokit.teams.listChild() has been renamed to octokit.teams.listChildLegacy() (2020-01-16)",method:"GET",params:{page:{type:"integer"},per_page:{type:"integer"},team_id:{required:!0,type:"integer"}},url:"/teams/:team_id/teams"},listChildInOrg:{method:"GET",params:{org:{required:!0,type:"string"},page:{type:"integer"},per_page:{type:"integer"},team_slug:{required:!0,type:"string"}},url:"/orgs/:org/teams/:team_slug/teams"},listChildLegacy:{deprecated:"octokit.teams.listChildLegacy() is deprecated, see https://developer.github.com/v3/teams/#list-child-teams-legacy",method:"GET",params:{page:{type:"integer"},per_page:{type:"integer"},team_id:{required:!0,type:"integer"}},url:"/teams/:team_id/teams"},listDiscussionComments:{deprecated:"octokit.teams.listDiscussionComments() has been renamed to octokit.teams.listDiscussionCommentsLegacy() (2020-01-16)",method:"GET",params:{direction:{enum:["asc","desc"],type:"string"},discussion_number:{required:!0,type:"integer"},page:{type:"integer"},per_page:{type:"integer"},team_id:{required:!0,type:"integer"}},url:"/teams/:team_id/discussions/:discussion_number/comments"},listDiscussionCommentsInOrg:{method:"GET",params:{direction:{enum:["asc","desc"],type:"string"},discussion_number:{required:!0,type:"integer"},org:{required:!0,type:"string"},page:{type:"integer"},per_page:{type:"integer"},team_slug:{required:!0,type:"string"}},url:"/orgs/:org/teams/:team_slug/discussions/:discussion_number/comments"},listDiscussionCommentsLegacy:{deprecated:"octokit.teams.listDiscussionCommentsLegacy() is deprecated, see https://developer.github.com/v3/teams/discussion_comments/#list-comments-legacy",method:"GET",params:{direction:{enum:["asc","desc"],type:"string"},discussion_number:{required:!0,type:"integer"},page:{type:"integer"},per_page:{type:"integer"},team_id:{required:!0,type:"integer"}},url:"/teams/:team_id/discussions/:discussion_number/comments"},listDiscussions:{deprecated:"octokit.teams.listDiscussions() has been renamed to octokit.teams.listDiscussionsLegacy() (2020-01-16)",method:"GET",params:{direction:{enum:["asc","desc"],type:"string"},page:{type:"integer"},per_page:{type:"integer"},team_id:{required:!0,type:"integer"}},url:"/teams/:team_id/discussions"},listDiscussionsInOrg:{method:"GET",params:{direction:{enum:["asc","desc"],type:"string"},org:{required:!0,type:"string"},page:{type:"integer"},per_page:{type:"integer"},team_slug:{required:!0,type:"string"}},url:"/orgs/:org/teams/:team_slug/discussions"},listDiscussionsLegacy:{deprecated:"octokit.teams.listDiscussionsLegacy() is deprecated, see https://developer.github.com/v3/teams/discussions/#list-discussions-legacy",method:"GET",params:{direction:{enum:["asc","desc"],type:"string"},page:{type:"integer"},per_page:{type:"integer"},team_id:{required:!0,type:"integer"}},url:"/teams/:team_id/discussions"},listForAuthenticatedUser:{method:"GET",params:{page:{type:"integer"},per_page:{type:"integer"}},url:"/user/teams"},listMembers:{deprecated:"octokit.teams.listMembers() has been renamed to octokit.teams.listMembersLegacy() (2020-01-16)",method:"GET",params:{page:{type:"integer"},per_page:{type:"integer"},role:{enum:["member","maintainer","all"],type:"string"},team_id:{required:!0,type:"integer"}},url:"/teams/:team_id/members"},listMembersInOrg:{method:"GET",params:{org:{required:!0,type:"string"},page:{type:"integer"},per_page:{type:"integer"},role:{enum:["member","maintainer","all"],type:"string"},team_slug:{required:!0,type:"string"}},url:"/orgs/:org/teams/:team_slug/members"},listMembersLegacy:{deprecated:"octokit.teams.listMembersLegacy() is deprecated, see https://developer.github.com/v3/teams/members/#list-team-members-legacy",method:"GET",params:{page:{type:"integer"},per_page:{type:"integer"},role:{enum:["member","maintainer","all"],type:"string"},team_id:{required:!0,type:"integer"}},url:"/teams/:team_id/members"},listPendingInvitations:{deprecated:"octokit.teams.listPendingInvitations() has been renamed to octokit.teams.listPendingInvitationsLegacy() (2020-01-16)",method:"GET",params:{page:{type:"integer"},per_page:{type:"integer"},team_id:{required:!0,type:"integer"}},url:"/teams/:team_id/invitations"},listPendingInvitationsInOrg:{method:"GET",params:{org:{required:!0,type:"string"},page:{type:"integer"},per_page:{type:"integer"},team_slug:{required:!0,type:"string"}},url:"/orgs/:org/teams/:team_slug/invitations"},listPendingInvitationsLegacy:{deprecated:"octokit.teams.listPendingInvitationsLegacy() is deprecated, see https://developer.github.com/v3/teams/members/#list-pending-team-invitations-legacy",method:"GET",params:{page:{type:"integer"},per_page:{type:"integer"},team_id:{required:!0,type:"integer"}},url:"/teams/:team_id/invitations"},listProjects:{deprecated:"octokit.teams.listProjects() has been renamed to octokit.teams.listProjectsLegacy() (2020-01-16)",headers:{accept:"application/vnd.github.inertia-preview+json"},method:"GET",params:{page:{type:"integer"},per_page:{type:"integer"},team_id:{required:!0,type:"integer"}},url:"/teams/:team_id/projects"},listProjectsInOrg:{headers:{accept:"application/vnd.github.inertia-preview+json"},method:"GET",params:{org:{required:!0,type:"string"},page:{type:"integer"},per_page:{type:"integer"},team_slug:{required:!0,type:"string"}},url:"/orgs/:org/teams/:team_slug/projects"},listProjectsLegacy:{deprecated:"octokit.teams.listProjectsLegacy() is deprecated, see https://developer.github.com/v3/teams/#list-team-projects-legacy",headers:{accept:"application/vnd.github.inertia-preview+json"},method:"GET",params:{page:{type:"integer"},per_page:{type:"integer"},team_id:{required:!0,type:"integer"}},url:"/teams/:team_id/projects"},listRepos:{deprecated:"octokit.teams.listRepos() has been renamed to octokit.teams.listReposLegacy() (2020-01-16)",method:"GET",params:{page:{type:"integer"},per_page:{type:"integer"},team_id:{required:!0,type:"integer"}},url:"/teams/:team_id/repos"},listReposInOrg:{method:"GET",params:{org:{required:!0,type:"string"},page:{type:"integer"},per_page:{type:"integer"},team_slug:{required:!0,type:"string"}},url:"/orgs/:org/teams/:team_slug/repos"},listReposLegacy:{deprecated:"octokit.teams.listReposLegacy() is deprecated, see https://developer.github.com/v3/teams/#list-team-repos-legacy",method:"GET",params:{page:{type:"integer"},per_page:{type:"integer"},team_id:{required:!0,type:"integer"}},url:"/teams/:team_id/repos"},removeMember:{deprecated:"octokit.teams.removeMember() has been renamed to octokit.teams.removeMemberLegacy() (2020-01-16)",method:"DELETE",params:{team_id:{required:!0,type:"integer"},username:{required:!0,type:"string"}},url:"/teams/:team_id/members/:username"},removeMemberLegacy:{deprecated:"octokit.teams.removeMemberLegacy() is deprecated, see https://developer.github.com/v3/teams/members/#remove-team-member-legacy",method:"DELETE",params:{team_id:{required:!0,type:"integer"},username:{required:!0,type:"string"}},url:"/teams/:team_id/members/:username"},removeMembership:{deprecated:"octokit.teams.removeMembership() has been renamed to octokit.teams.removeMembershipLegacy() (2020-01-16)",method:"DELETE",params:{team_id:{required:!0,type:"integer"},username:{required:!0,type:"string"}},url:"/teams/:team_id/memberships/:username"},removeMembershipInOrg:{method:"DELETE",params:{org:{required:!0,type:"string"},team_slug:{required:!0,type:"string"},username:{required:!0,type:"string"}},url:"/orgs/:org/teams/:team_slug/memberships/:username"},removeMembershipLegacy:{deprecated:"octokit.teams.removeMembershipLegacy() is deprecated, see https://developer.github.com/v3/teams/members/#remove-team-membership-legacy",method:"DELETE",params:{team_id:{required:!0,type:"integer"},username:{required:!0,type:"string"}},url:"/teams/:team_id/memberships/:username"},removeProject:{deprecated:"octokit.teams.removeProject() has been renamed to octokit.teams.removeProjectLegacy() (2020-01-16)",method:"DELETE",params:{project_id:{required:!0,type:"integer"},team_id:{required:!0,type:"integer"}},url:"/teams/:team_id/projects/:project_id"},removeProjectInOrg:{method:"DELETE",params:{org:{required:!0,type:"string"},project_id:{required:!0,type:"integer"},team_slug:{required:!0,type:"string"}},url:"/orgs/:org/teams/:team_slug/projects/:project_id"},removeProjectLegacy:{deprecated:"octokit.teams.removeProjectLegacy() is deprecated, see https://developer.github.com/v3/teams/#remove-team-project-legacy",method:"DELETE",params:{project_id:{required:!0,type:"integer"},team_id:{required:!0,type:"integer"}},url:"/teams/:team_id/projects/:project_id"},removeRepo:{deprecated:"octokit.teams.removeRepo() has been renamed to octokit.teams.removeRepoLegacy() (2020-01-16)",method:"DELETE",params:{owner:{required:!0,type:"string"},repo:{required:!0,type:"string"},team_id:{required:!0,type:"integer"}},url:"/teams/:team_id/repos/:owner/:repo"},removeRepoInOrg:{method:"DELETE",params:{org:{required:!0,type:"string"},owner:{required:!0,type:"string"},repo:{required:!0,type:"string"},team_slug:{required:!0,type:"string"}},url:"/orgs/:org/teams/:team_slug/repos/:owner/:repo"},removeRepoLegacy:{deprecated:"octokit.teams.removeRepoLegacy() is deprecated, see https://developer.github.com/v3/teams/#remove-team-repository-legacy",method:"DELETE",params:{owner:{required:!0,type:"string"},repo:{required:!0,type:"string"},team_id:{required:!0,type:"integer"}},url:"/teams/:team_id/repos/:owner/:repo"},reviewProject:{deprecated:"octokit.teams.reviewProject() has been renamed to octokit.teams.reviewProjectLegacy() (2020-01-16)",headers:{accept:"application/vnd.github.inertia-preview+json"},method:"GET",params:{project_id:{required:!0,type:"integer"},team_id:{required:!0,type:"integer"}},url:"/teams/:team_id/projects/:project_id"},reviewProjectInOrg:{headers:{accept:"application/vnd.github.inertia-preview+json"},method:"GET",params:{org:{required:!0,type:"string"},project_id:{required:!0,type:"integer"},team_slug:{required:!0,type:"string"}},url:"/orgs/:org/teams/:team_slug/projects/:project_id"},reviewProjectLegacy:{deprecated:"octokit.teams.reviewProjectLegacy() is deprecated, see https://developer.github.com/v3/teams/#review-a-team-project-legacy",headers:{accept:"application/vnd.github.inertia-preview+json"},method:"GET",params:{project_id:{required:!0,type:"integer"},team_id:{required:!0,type:"integer"}},url:"/teams/:team_id/projects/:project_id"},update:{deprecated:"octokit.teams.update() has been renamed to octokit.teams.updateLegacy() (2020-01-16)",method:"PATCH",params:{description:{type:"string"},name:{required:!0,type:"string"},parent_team_id:{type:"integer"},permission:{enum:["pull","push","admin"],type:"string"},privacy:{enum:["secret","closed"],type:"string"},team_id:{required:!0,type:"integer"}},url:"/teams/:team_id"},updateDiscussion:{deprecated:"octokit.teams.updateDiscussion() has been renamed to octokit.teams.updateDiscussionLegacy() (2020-01-16)",method:"PATCH",params:{body:{type:"string"},discussion_number:{required:!0,type:"integer"},team_id:{required:!0,type:"integer"},title:{type:"string"}},url:"/teams/:team_id/discussions/:discussion_number"},updateDiscussionComment:{deprecated:"octokit.teams.updateDiscussionComment() has been renamed to octokit.teams.updateDiscussionCommentLegacy() (2020-01-16)",method:"PATCH",params:{body:{required:!0,type:"string"},comment_number:{required:!0,type:"integer"},discussion_number:{required:!0,type:"integer"},team_id:{required:!0,type:"integer"}},url:"/teams/:team_id/discussions/:discussion_number/comments/:comment_number"},updateDiscussionCommentInOrg:{method:"PATCH",params:{body:{required:!0,type:"string"},comment_number:{required:!0,type:"integer"},discussion_number:{required:!0,type:"integer"},org:{required:!0,type:"string"},team_slug:{required:!0,type:"string"}},url:"/orgs/:org/teams/:team_slug/discussions/:discussion_number/comments/:comment_number"},updateDiscussionCommentLegacy:{deprecated:"octokit.teams.updateDiscussionCommentLegacy() is deprecated, see https://developer.github.com/v3/teams/discussion_comments/#edit-a-comment-legacy",method:"PATCH",params:{body:{required:!0,type:"string"},comment_number:{required:!0,type:"integer"},discussion_number:{required:!0,type:"integer"},team_id:{required:!0,type:"integer"}},url:"/teams/:team_id/discussions/:discussion_number/comments/:comment_number"},updateDiscussionInOrg:{method:"PATCH",params:{body:{type:"string"},discussion_number:{required:!0,type:"integer"},org:{required:!0,type:"string"},team_slug:{required:!0,type:"string"},title:{type:"string"}},url:"/orgs/:org/teams/:team_slug/discussions/:discussion_number"},updateDiscussionLegacy:{deprecated:"octokit.teams.updateDiscussionLegacy() is deprecated, see https://developer.github.com/v3/teams/discussions/#edit-a-discussion-legacy",method:"PATCH",params:{body:{type:"string"},discussion_number:{required:!0,type:"integer"},team_id:{required:!0,type:"integer"},title:{type:"string"}},url:"/teams/:team_id/discussions/:discussion_number"},updateInOrg:{method:"PATCH",params:{description:{type:"string"},name:{required:!0,type:"string"},org:{required:!0,type:"string"},parent_team_id:{type:"integer"},permission:{enum:["pull","push","admin"],type:"string"},privacy:{enum:["secret","closed"],type:"string"},team_slug:{required:!0,type:"string"}},url:"/orgs/:org/teams/:team_slug"},updateLegacy:{deprecated:"octokit.teams.updateLegacy() is deprecated, see https://developer.github.com/v3/teams/#edit-team-legacy",method:"PATCH",params:{description:{type:"string"},name:{required:!0,type:"string"},parent_team_id:{type:"integer"},permission:{enum:["pull","push","admin"],type:"string"},privacy:{enum:["secret","closed"],type:"string"},team_id:{required:!0,type:"integer"}},url:"/teams/:team_id"}},users:{addEmails:{method:"POST",params:{emails:{required:!0,type:"string[]"}},url:"/user/emails"},block:{method:"PUT",params:{username:{required:!0,type:"string"}},url:"/user/blocks/:username"},checkBlocked:{method:"GET",params:{username:{required:!0,type:"string"}},url:"/user/blocks/:username"},checkFollowing:{method:"GET",params:{username:{required:!0,type:"string"}},url:"/user/following/:username"},checkFollowingForUser:{method:"GET",params:{target_user:{required:!0,type:"string"},username:{required:!0,type:"string"}},url:"/users/:username/following/:target_user"},createGpgKey:{method:"POST",params:{armored_public_key:{type:"string"}},url:"/user/gpg_keys"},createPublicKey:{method:"POST",params:{key:{type:"string"},title:{type:"string"}},url:"/user/keys"},deleteEmails:{method:"DELETE",params:{emails:{required:!0,type:"string[]"}},url:"/user/emails"},deleteGpgKey:{method:"DELETE",params:{gpg_key_id:{required:!0,type:"integer"}},url:"/user/gpg_keys/:gpg_key_id"},deletePublicKey:{method:"DELETE",params:{key_id:{required:!0,type:"integer"}},url:"/user/keys/:key_id"},follow:{method:"PUT",params:{username:{required:!0,type:"string"}},url:"/user/following/:username"},getAuthenticated:{method:"GET",params:{},url:"/user"},getByUsername:{method:"GET",params:{username:{required:!0,type:"string"}},url:"/users/:username"},getContextForUser:{method:"GET",params:{subject_id:{type:"string"},subject_type:{enum:["organization","repository","issue","pull_request"],type:"string"},username:{required:!0,type:"string"}},url:"/users/:username/hovercard"},getGpgKey:{method:"GET",params:{gpg_key_id:{required:!0,type:"integer"}},url:"/user/gpg_keys/:gpg_key_id"},getPublicKey:{method:"GET",params:{key_id:{required:!0,type:"integer"}},url:"/user/keys/:key_id"},list:{method:"GET",params:{page:{type:"integer"},per_page:{type:"integer"},since:{type:"string"}},url:"/users"},listBlocked:{method:"GET",params:{},url:"/user/blocks"},listEmails:{method:"GET",params:{page:{type:"integer"},per_page:{type:"integer"}},url:"/user/emails"},listFollowersForAuthenticatedUser:{method:"GET",params:{page:{type:"integer"},per_page:{type:"integer"}},url:"/user/followers"},listFollowersForUser:{method:"GET",params:{page:{type:"integer"},per_page:{type:"integer"},username:{required:!0,type:"string"}},url:"/users/:username/followers"},listFollowingForAuthenticatedUser:{method:"GET",params:{page:{type:"integer"},per_page:{type:"integer"}},url:"/user/following"},listFollowingForUser:{method:"GET",params:{page:{type:"integer"},per_page:{type:"integer"},username:{required:!0,type:"string"}},url:"/users/:username/following"},listGpgKeys:{method:"GET",params:{page:{type:"integer"},per_page:{type:"integer"}},url:"/user/gpg_keys"},listGpgKeysForUser:{method:"GET",params:{page:{type:"integer"},per_page:{type:"integer"},username:{required:!0,type:"string"}},url:"/users/:username/gpg_keys"},listPublicEmails:{method:"GET",params:{page:{type:"integer"},per_page:{type:"integer"}},url:"/user/public_emails"},listPublicKeys:{method:"GET",params:{page:{type:"integer"},per_page:{type:"integer"}},url:"/user/keys"},listPublicKeysForUser:{method:"GET",params:{page:{type:"integer"},per_page:{type:"integer"},username:{required:!0,type:"string"}},url:"/users/:username/keys"},togglePrimaryEmailVisibility:{method:"PATCH",params:{email:{required:!0,type:"string"},visibility:{required:!0,type:"string"}},url:"/user/email/visibility"},unblock:{method:"DELETE",params:{username:{required:!0,type:"string"}},url:"/user/blocks/:username"},unfollow:{method:"DELETE",params:{username:{required:!0,type:"string"}},url:"/user/following/:username"},updateAuthenticated:{method:"PATCH",params:{bio:{type:"string"},blog:{type:"string"},company:{type:"string"},email:{type:"string"},hireable:{type:"boolean"},location:{type:"string"},name:{type:"string"}},url:"/user"}}};function u(y,b){Object.keys(b).forEach(C=>{y[C]||(y[C]={}),Object.keys(b[C]).forEach(P=>{const N=b[C][P],R=["method","url","headers"].reduce((L,ne)=>(void 0!==N[ne]&&(L[ne]=N[ne]),L),{});R.request={validate:N.params};let j=y.request.defaults(R);if(Object.keys(N.params||{}).find(L=>N.params[L].deprecated)){const L=p.bind(null,y,N);j=L(y.request.defaults(R),`.${C}.${P}()`),j.endpoint=L(j.endpoint,`.${C}.${P}.endpoint()`),j.endpoint.merge=L(j.endpoint.merge,`.${C}.${P}.endpoint.merge()`)}y[C][P]=N.deprecated?Object.assign(function(){return y.log.warn(new v.Deprecation(`[@octokit/rest] ${N.deprecated}`)),y[C][P]=j,j.apply(null,arguments)},j):j})})}function p(y,b,C,P){const N=R=>(R=Object.assign({},R),Object.keys(R).forEach(j=>{if(b.params[j]&&b.params[j].deprecated){const F=b.params[j].alias;y.log.warn(new v.Deprecation(`[@octokit/rest] "${j}" parameter is deprecated for "${P}". Use "${F}" instead`)),F in R||(R[F]=R[j]),delete R[j]}}),C(R));return Object.keys(C).forEach(R=>{N[R]=C[R]}),N}function g(y){return y.registerEndpoints=u.bind(null,y),u(y,m),[["gitdata","git"],["authorization","oauthAuthorizations"],["pullRequests","pulls"]].forEach(([b,C])=>{Object.defineProperty(y,b,{get:()=>(y.log.warn(new v.Deprecation(`[@octokit/plugin-rest-endpoint-methods] "octokit.${b}.*" methods are deprecated, use "octokit.${C}.*" instead`)),y[C])})}),{}}g.VERSION="2.4.0"},8176:(se,q,w)=>{const{requestLog:v}=w(1243),{restEndpointMethods:m}=w(7985),d=w(4855),u=[w(2259),w(1688),v,w(4360),m,w(6650),w(6051)],p=d.plugin(u),y=Object.assign(function g(b){return(b&&b.log&&b.log.warn?b.log.warn:console.warn)('[@octokit/rest] `const Octokit = require("@octokit/rest")` is deprecated. Use `const { Octokit } = require("@octokit/rest")` instead'),new p(b)},{Octokit:p});Object.keys(p).forEach(b=>{p.hasOwnProperty(b)&&(y[b]=p[b])}),se.exports=y},7257:(se,q,w)=>{se.exports=function u(p,g){g=g||{};const y=new m.Collection,b=Object.assign({debug:()=>{},info:()=>{},warn:console.warn,error:console.error},g&&g.log),C={hook:y,log:b,request:v.defaults(d(g,b,y))};return p.forEach(P=>P(C,g)),C};const{request:v}=w(4222),m=w(4833),d=w(7973)},4855:(se,q,w)=>{const v=w(8466);se.exports=v()},8466:(se,q,w)=>{se.exports=function d(u){const p=v.bind(null,u||[]);return p.plugin=m.bind(null,u||[]),p};const v=w(7257),m=w(2850)},7973:(se,q,w)=>{se.exports=function b(C,P,N){C.headers&&(C.headers=Object.keys(C.headers).reduce((L,ne)=>(L[ne.toLowerCase()]=C.headers[ne],L),{}));const R={headers:C.headers||{},request:C.request||{},mediaType:{previews:[],format:""}};C.baseUrl&&(R.baseUrl=C.baseUrl),C.userAgent&&(R.headers["user-agent"]=C.userAgent),C.previews&&(R.mediaType.previews=C.previews),C.timeZone&&(R.headers["time-zone"]=C.timeZone),C.timeout&&(p(P,new v("[@octokit/rest] new Octokit({timeout}) is deprecated. Use {request: {timeout}} instead. See https://github.com/octokit/request.js#request")),R.request.timeout=C.timeout),C.agent&&(g(P,new v("[@octokit/rest] new Octokit({agent}) is deprecated. Use {request: {agent}} instead. See https://github.com/octokit/request.js#request")),R.request.agent=C.agent),C.headers&&y(P,new v("[@octokit/rest] new Octokit({headers}) is deprecated. Use {userAgent, previews} instead. See https://github.com/octokit/request.js#request"));const j=R.headers["user-agent"],F=`octokit.js/${u.version} ${m()}`;return R.headers["user-agent"]=[j,F].filter(Boolean).join(" "),R.request.hook=N.bind(null,"request"),R};const{Deprecation:v}=w(505),{getUserAgent:m}=w(1183),d=w(6389),u=w(1322),p=d((C,P)=>C.warn(P)),g=d((C,P)=>C.warn(P)),y=d((C,P)=>C.warn(P))},2850:(se,q,w)=>{se.exports=function m(d,u){return v(d.includes(u)?d:d.concat(u))};const v=w(8466)},7868:(se,q,w)=>{"use strict";w.r(q),w.d(q,{createTokenAuth:()=>P});var v=w(5861);const m=/^v1\./,d=/^ghs_/,u=/^ghu_/;function p(N){return g.apply(this,arguments)}function g(){return(g=(0,v.Z)(function*(N){const R=3===N.split(/\./).length,j=m.test(N)||d.test(N),F=u.test(N);return{type:"token",token:N,tokenType:R?"app":j?"installation":F?"user-to-server":"oauth"}})).apply(this,arguments)}function y(N){return 3===N.split(/\./).length?`bearer ${N}`:`token ${N}`}function b(N,R,j,F){return C.apply(this,arguments)}function C(){return(C=(0,v.Z)(function*(N,R,j,F){const L=R.endpoint.merge(j,F);return L.headers.authorization=y(N),R(L)})).apply(this,arguments)}const P=function(R){if(!R)throw new Error("[@octokit/auth-token] No token passed to createTokenAuth");if("string"!=typeof R)throw new Error("[@octokit/auth-token] Token passed to createTokenAuth is not a string");return R=R.replace(/^(token|bearer) +/i,""),Object.assign(p.bind(null,R),{hook:b.bind(null,R)})}},7217:(se,q,w)=>{"use strict";w.r(q),w.d(q,{RequestError:()=>p});var v=w(505),m=w(6389);const u=w.n(m)()(g=>console.warn(g));class p extends Error{constructor(y,b,C){super(y),Error.captureStackTrace&&Error.captureStackTrace(this,this.constructor),this.name="HttpError",this.status=b,Object.defineProperty(this,"code",{get:()=>(u(new v.Deprecation("[@octokit/request-error] `error.code` is deprecated, use `error.status`.")),b)}),this.headers=C.headers||{};const P=Object.assign({},C.request);C.request.headers.authorization&&(P.headers=Object.assign({},C.request.headers,{authorization:C.request.headers.authorization.replace(/ .*$/," [REDACTED]")})),P.url=P.url.replace(/\bclient_secret=\w+/g,"client_secret=[REDACTED]").replace(/\baccess_token=\w+/g,"access_token=[REDACTED]"),this.request=P}}},4222:(se,q,w)=>{"use strict";w.r(q),w.d(q,{request:()=>zt});var v=w(5861);function m(Fe){return"[object Object]"===Object.prototype.toString.call(Fe)}function d(Fe){var ut,gt;return!1!==m(Fe)&&(void 0===(ut=Fe.constructor)||!(!1===m(gt=ut.prototype)||!1===gt.hasOwnProperty("isPrototypeOf")))}function g(Fe,ut){const gt=Object.assign({},Fe);return Object.keys(ut).forEach(lt=>{d(ut[lt])?lt in Fe?gt[lt]=g(Fe[lt],ut[lt]):Object.assign(gt,{[lt]:ut[lt]}):Object.assign(gt,{[lt]:ut[lt]})}),gt}function y(Fe){for(const ut in Fe)void 0===Fe[ut]&&delete Fe[ut];return Fe}function b(Fe,ut,gt){if("string"==typeof ut){let[tt,St]=ut.split(" ");gt=Object.assign(St?{method:tt,url:St}:{url:tt},gt)}else gt=Object.assign({},ut);gt.headers=function p(Fe){return Fe?Object.keys(Fe).reduce((ut,gt)=>(ut[gt.toLowerCase()]=Fe[gt],ut),{}):{}}(gt.headers),y(gt),y(gt.headers);const lt=g(Fe||{},gt);return Fe&&Fe.mediaType.previews.length&&(lt.mediaType.previews=Fe.mediaType.previews.filter(tt=>!lt.mediaType.previews.includes(tt)).concat(lt.mediaType.previews)),lt.mediaType.previews=lt.mediaType.previews.map(tt=>tt.replace(/-preview/,"")),lt}const P=/\{[^}]+\}/g;function N(Fe){return Fe.replace(/^\W+|\W+$/g,"").split(/,/)}function j(Fe,ut){return Object.keys(Fe).filter(gt=>!ut.includes(gt)).reduce((gt,lt)=>(gt[lt]=Fe[lt],gt),{})}function F(Fe){return Fe.split(/(%[0-9A-Fa-f]{2})/g).map(function(ut){return/%[0-9A-Fa-f]/.test(ut)||(ut=encodeURI(ut).replace(/%5B/g,"[").replace(/%5D/g,"]")),ut}).join("")}function L(Fe){return encodeURIComponent(Fe).replace(/[!'()*]/g,function(ut){return"%"+ut.charCodeAt(0).toString(16).toUpperCase()})}function ne(Fe,ut,gt){return ut="+"===Fe||"#"===Fe?F(ut):L(ut),gt?L(gt)+"="+ut:ut}function Ge(Fe){return null!=Fe}function ct(Fe){return";"===Fe||"&"===Fe||"?"===Fe}function Tt(Fe,ut){var gt=["+","#",".","/",";","?","&"];return Fe.replace(/\{([^\{\}]+)\}|([^\{\}]+)/g,function(lt,tt,St){if(tt){let nn="";const Wt=[];if(-1!==gt.indexOf(tt.charAt(0))&&(nn=tt.charAt(0),tt=tt.substr(1)),tt.split(/,/g).forEach(function(jn){var xn=/([^:\*]*)(?::(\d+)|(\*))?/.exec(jn);Wt.push(function Nt(Fe,ut,gt,lt){var tt=Fe[gt],St=[];if(Ge(tt)&&""!==tt)if("string"==typeof tt||"number"==typeof tt||"boolean"==typeof tt)tt=tt.toString(),lt&&"*"!==lt&&(tt=tt.substring(0,parseInt(lt,10))),St.push(ne(ut,tt,ct(ut)?gt:""));else if("*"===lt)Array.isArray(tt)?tt.filter(Ge).forEach(function(Xt){St.push(ne(ut,Xt,ct(ut)?gt:""))}):Object.keys(tt).forEach(function(Xt){Ge(tt[Xt])&&St.push(ne(ut,tt[Xt],Xt))});else{const Xt=[];Array.isArray(tt)?tt.filter(Ge).forEach(function(nn){Xt.push(ne(ut,nn))}):Object.keys(tt).forEach(function(nn){Ge(tt[nn])&&(Xt.push(L(nn)),Xt.push(ne(ut,tt[nn].toString())))}),ct(ut)?St.push(L(gt)+"="+Xt.join(",")):0!==Xt.length&&St.push(Xt.join(","))}else";"===ut?Ge(tt)&&St.push(L(gt)):""!==tt||"&"!==ut&&"?"!==ut?""===tt&&St.push(""):St.push(L(gt)+"=");return St}(ut,nn,xn[1],xn[2]||xn[3]))}),nn&&"+"!==nn){var Xt=",";return"?"===nn?Xt="&":"#"!==nn&&(Xt=nn),(0!==Wt.length?nn:"")+Wt.join(Xt)}return Wt.join(",")}return F(St)})}function st(Fe){let tt,ut=Fe.method.toUpperCase(),gt=(Fe.url||"/").replace(/:([a-z]\w+)/g,"{$1}"),lt=Object.assign({},Fe.headers),St=j(Fe,["method","baseUrl","url","headers","request","mediaType"]);const Xt=function R(Fe){const ut=Fe.match(P);return ut?ut.map(N).reduce((gt,lt)=>gt.concat(lt),[]):[]}(gt);gt=function Lt(Fe){return{expand:Tt.bind(null,Fe)}}(gt).expand(St),/^http/.test(gt)||(gt=Fe.baseUrl+gt);const Wt=j(St,Object.keys(Fe).filter(xn=>Xt.includes(xn)).concat("baseUrl"));if(!/application\/octet-stream/i.test(lt.accept)&&(Fe.mediaType.format&&(lt.accept=lt.accept.split(/,/).map(xn=>xn.replace(/application\/vnd(\.\w+)(\.v3)?(\.\w+)?(\+json)?$/,`application/vnd$1$2.${Fe.mediaType.format}`)).join(",")),Fe.mediaType.previews.length)){const xn=lt.accept.match(/[\w-]+(?=-preview)/g)||[];lt.accept=xn.concat(Fe.mediaType.previews).map(ue=>`application/vnd.github.${ue}-preview${Fe.mediaType.format?`.${Fe.mediaType.format}`:"+json"}`).join(",")}return["GET","HEAD"].includes(ut)?gt=function C(Fe,ut){const gt=/\?/.test(Fe)?"&":"?",lt=Object.keys(ut);return 0===lt.length?Fe:Fe+gt+lt.map(tt=>"q"===tt?"q="+ut.q.split("+").map(encodeURIComponent).join("+"):`${tt}=${encodeURIComponent(ut[tt])}`).join("&")}(gt,Wt):"data"in Wt?tt=Wt.data:Object.keys(Wt).length?tt=Wt:lt["content-length"]=0,!lt["content-type"]&&void 0!==tt&&(lt["content-type"]="application/json; charset=utf-8"),["PATCH","PUT"].includes(ut)&&void 0===tt&&(tt=""),Object.assign({method:ut,url:gt,headers:lt},void 0!==tt?{body:tt}:null,Fe.request?{request:Fe.request}:null)}function Ze(Fe,ut,gt){return st(b(Fe,ut,gt))}const K=function Ce(Fe,ut){const gt=b(Fe,ut),lt=Ze.bind(null,gt);return Object.assign(lt,{DEFAULTS:gt,defaults:Ce.bind(null,gt),merge:b.bind(null,gt),parse:st})}(null,{method:"GET",baseUrl:"https://api.github.com",headers:{accept:"application/vnd.github.v3+json","user-agent":`octokit-endpoint.js/6.0.12 ${function u(){return"object"==typeof navigator&&"userAgent"in navigator?navigator.userAgent:"object"==typeof process&&void 0!==process.version?`Node.js/${process.version.substr(1)} (${process.platform}; ${process.arch})`:""}()}`},mediaType:{format:"",previews:[]}});var Be=w(9637),ge=w.n(Be),ot=w(505),yt=w(6389),We=w.n(yt);const vt=We()(Fe=>console.warn(Fe)),Q=We()(Fe=>console.warn(Fe));class X extends Error{constructor(ut,gt,lt){let tt;super(ut),Error.captureStackTrace&&Error.captureStackTrace(this,this.constructor),this.name="HttpError",this.status=gt,"headers"in lt&&void 0!==lt.headers&&(tt=lt.headers),"response"in lt&&(this.response=lt.response,tt=lt.response.headers);const St=Object.assign({},lt.request);lt.request.headers.authorization&&(St.headers=Object.assign({},lt.request.headers,{authorization:lt.request.headers.authorization.replace(/ .*$/," [REDACTED]")})),St.url=St.url.replace(/\bclient_secret=\w+/g,"client_secret=[REDACTED]").replace(/\baccess_token=\w+/g,"access_token=[REDACTED]"),this.request=St,Object.defineProperty(this,"code",{get:()=>(vt(new ot.Deprecation("[@octokit/request-error] `error.code` is deprecated, use `error.status`.")),gt)}),Object.defineProperty(this,"headers",{get:()=>(Q(new ot.Deprecation("[@octokit/request-error] `error.headers` is deprecated, use `error.response.headers`.")),tt||{})})}}function ae(Fe){return Fe.arrayBuffer()}function be(Fe){const ut=Fe.request&&Fe.request.log?Fe.request.log:console;(d(Fe.body)||Array.isArray(Fe.body))&&(Fe.body=JSON.stringify(Fe.body));let lt,tt,gt={};return(Fe.request&&Fe.request.fetch||ge())(Fe.url,Object.assign({method:Fe.method,body:Fe.body,headers:Fe.headers,redirect:Fe.redirect},Fe.request)).then(function(){var Xt=(0,v.Z)(function*(nn){tt=nn.url,lt=nn.status;for(const Wt of nn.headers)gt[Wt[0]]=Wt[1];if("deprecation"in gt){const Wt=gt.link&>.link.match(/<([^>]+)>; rel="deprecation"/),jn=Wt&&Wt.pop();ut.warn(`[@octokit/request] "${Fe.method} ${Fe.url}" is deprecated. It is scheduled to be removed on ${gt.sunset}${jn?`. See ${jn}`:""}`)}if(204!==lt&&205!==lt){if("HEAD"===Fe.method){if(lt<400)return;throw new X(nn.statusText,lt,{response:{url:tt,status:lt,headers:gt,data:void 0},request:Fe})}if(304===lt)throw new X("Not modified",lt,{response:{url:tt,status:lt,headers:gt,data:yield Ve(nn)},request:Fe});if(lt>=400){const Wt=yield Ve(nn);throw new X(function Dt(Fe){return"string"==typeof Fe?Fe:"message"in Fe?Array.isArray(Fe.errors)?`${Fe.message}: ${Fe.errors.map(JSON.stringify).join(", ")}`:Fe.message:`Unknown error: ${JSON.stringify(Fe)}`}(Wt),lt,{response:{url:tt,status:lt,headers:gt,data:Wt},request:Fe})}return Ve(nn)}});return function(nn){return Xt.apply(this,arguments)}}()).then(Xt=>({status:lt,url:tt,headers:gt,data:Xt})).catch(Xt=>{throw Xt instanceof X?Xt:new X(Xt.message,500,{request:Fe})})}function Ve(Fe){return nt.apply(this,arguments)}function nt(){return(nt=(0,v.Z)(function*(Fe){const ut=Fe.headers.get("content-type");return/application\/json/.test(ut)?Fe.json():!ut||/^text\/|charset=utf-8$/.test(ut)?Fe.text():ae(Fe)})).apply(this,arguments)}const zt=function Ht(Fe,ut){const gt=Fe.defaults(ut);return Object.assign(function(tt,St){const Xt=gt.merge(tt,St);if(!Xt.request||!Xt.request.hook)return be(gt.parse(Xt));const nn=(Wt,jn)=>be(gt.parse(gt.merge(Wt,jn)));return Object.assign(nn,{endpoint:gt,defaults:Ht.bind(null,gt)}),Xt.request.hook(nn,Xt)},{endpoint:gt,defaults:Ht.bind(null,gt)})}(K,{headers:{"user-agent":`octokit-request.js/5.6.3 ${function Pe(){return"object"==typeof navigator&&"userAgent"in navigator?navigator.userAgent:"object"==typeof process&&void 0!==process.version?`Node.js/${process.version.substr(1)} (${process.platform}; ${process.arch})`:""}()}`}})},1183:(se,q,w)=>{"use strict";function v(){try{return navigator.userAgent}catch(m){return""}}w.r(q),w.d(q,{getUserAgent:()=>v})},6237:(se,q,w)=>{se.exports=function u(p,g){if(d(p.octokit.log,new v('[@octokit/rest] octokit.authenticate() is deprecated. Use "auth" constructor option instead.')),g){switch(g.type){case"basic":if(!g.username||!g.password)throw new Error("Basic authentication requires both a username and password to be set");break;case"oauth":if(!(g.token||g.key&&g.secret))throw new Error("OAuth2 authentication requires a token or key & secret to be set");break;case"token":case"app":if(!g.token)throw new Error("Token authentication requires a token to be set");break;default:throw new Error("Invalid authentication type, must be 'basic', 'oauth', 'token' or 'app'")}p.auth=g}else p.auth=!1};const{Deprecation:v}=w(505),d=w(6389)((p,g)=>p.warn(g))},2859:(se,q,w)=>{se.exports=function d(u,p){if(!u.auth.type)return;if("basic"===u.auth.type){const b=v(`${u.auth.username}:${u.auth.password}`);return void(p.headers.authorization=`Basic ${b}`)}if("token"===u.auth.type)return void(p.headers.authorization=`token ${u.auth.token}`);if("app"===u.auth.type){p.headers.authorization=`Bearer ${u.auth.token}`;const b=p.headers.accept.split(",").concat("application/vnd.github.machine-man-preview+json");return void(p.headers.accept=m(b).filter(Boolean).join(","))}if(p.url+=-1===p.url.indexOf("?")?"?":"&",u.auth.token)return void(p.url+=`access_token=${encodeURIComponent(u.auth.token)}`);const g=encodeURIComponent(u.auth.key),y=encodeURIComponent(u.auth.secret);p.url+=`client_id=${g}&client_secret=${y}`};const v=w(7972),m=w(6915)},1688:(se,q,w)=>{se.exports=function y(b,C){if(C.auth)return void(b.authenticate=()=>{d(b.log,new v('[@octokit/rest] octokit.authenticate() is deprecated and has no effect when "auth" option is set on Octokit constructor'))});const P={octokit:b,auth:!1};b.authenticate=u.bind(null,P),b.hook.before("request",p.bind(null,P)),b.hook.error("request",g.bind(null,P))};const{Deprecation:v}=w(505),d=w(6389)((b,C)=>b.warn(C)),u=w(6237),p=w(2859),g=w(8296)},8296:(se,q,w)=>{se.exports=function m(d,u,p){if(!u.headers)throw u;const g=/required/.test(u.headers["x-github-otp"]||"");if(401!==u.status||!g)throw u;if(401===u.status&&g&&u.request&&u.request.headers["x-github-otp"])throw new v("Invalid one-time password for two-factor authentication",401,{headers:u.headers,request:p});if("function"!=typeof d.auth.on2fa)throw new v("2FA required, but options.on2fa is not a function. See https://github.com/octokit/rest.js#authentication",401,{headers:u.headers,request:p});return Promise.resolve().then(()=>d.auth.on2fa()).then(y=>{const b=Object.assign(p,{headers:Object.assign({"x-github-otp":y},p.headers)});return d.octokit.request(b)})};const{RequestError:v}=w(7217)},4245:(se,q,w)=>{se.exports=function d(u,p){if("string"!=typeof u.auth){if(u.auth.username){const g=v(`${u.auth.username}:${u.auth.password}`);return p.headers.authorization=`Basic ${g}`,void(u.otp&&(p.headers["x-github-otp"]=u.otp))}if(u.auth.clientId){if(/\/applications\/:?[\w_]+\/tokens\/:?[\w_]+($|\?)/.test(p.url)){const g=v(`${u.auth.clientId}:${u.auth.clientSecret}`);return void(p.headers.authorization=`Basic ${g}`)}return p.url+=-1===p.url.indexOf("?")?"?":"&",void(p.url+=`client_id=${u.auth.clientId}&client_secret=${u.auth.clientSecret}`)}return Promise.resolve().then(()=>u.auth()).then(g=>{p.headers.authorization=m(g)})}p.headers.authorization=m(u.auth)};const v=w(7972),m=w(8240)},2259:(se,q,w)=>{se.exports=function P(N,R){if(R.authStrategy){const Ge=R.authStrategy(R.auth);return N.hook.wrap("request",Ge.hook),void(N.auth=Ge)}if(!R.auth)return void(N.auth=()=>Promise.resolve({type:"unauthenticated"}));const j="string"==typeof R.auth&&/^basic/.test(y(R.auth));if("string"==typeof R.auth&&!j){const Ge=v(R.auth);return N.hook.wrap("request",Ge.hook),void(N.auth=Ge)}const[F,L]=j?[b,'Setting the "new Octokit({ auth })" option to a Basic Auth string is deprecated. Use https://github.com/octokit/auth-basic.js instead. See (https://octokit.github.io/rest.js/#authentication)']:[C,'Setting the "new Octokit({ auth })" option to an object without also setting the "authStrategy" option is deprecated and will be removed in v17. See (https://octokit.github.io/rest.js/#authentication)'];F(N.log,new m("[@octokit/rest] "+L)),N.auth=()=>Promise.resolve({type:"deprecated",message:L}),g(R.auth);const ne={octokit:N,auth:R.auth};N.hook.before("request",u.bind(null,ne)),N.hook.error("request",p.bind(null,ne))};const{createTokenAuth:v}=w(7868),{Deprecation:m}=w(505),d=w(6389),u=w(4245),p=w(1367),g=w(5663),y=w(8240),b=d((N,R)=>N.warn(R)),C=d((N,R)=>N.warn(R))},1367:(se,q,w)=>{se.exports=function m(d,u,p){if(!u.headers)throw u;const g=/required/.test(u.headers["x-github-otp"]||"");if(401!==u.status||!g)throw u;if(401===u.status&&g&&u.request&&u.request.headers["x-github-otp"]){if(!d.otp)throw new v("Invalid one-time password for two-factor authentication",401,{headers:u.headers,request:p});delete d.otp}if("function"!=typeof d.auth.on2fa)throw new v("2FA required, but options.on2fa is not a function. See https://github.com/octokit/rest.js#authentication",401,{headers:u.headers,request:p});return Promise.resolve().then(()=>d.auth.on2fa()).then(y=>{const b=Object.assign(p,{headers:Object.assign(p.headers,{"x-github-otp":y})});return d.octokit.request(b).then(C=>(d.otp=y,C))})};const{RequestError:v}=w(7217)},5663:se=>{se.exports=function q(w){if(!("string"==typeof w||"function"==typeof w||w.username&&w.password||w.clientId&&w.clientSecret))throw new Error(`Invalid "auth" option: ${JSON.stringify(w)}`)}},8240:(se,q,w)=>{se.exports=function d(u){if(/^(basic|bearer|token) /i.test(u))return u;try{if(m.test(v(u)))return`basic ${u}`}catch(p){}return 3===u.split(/\./).length?`bearer ${u}`:`token ${u}`};const v=w(2131),m=/^[\w-]+:/},4360:(se,q,w)=>{se.exports=function m(d){Object.assign(d,v(d))};const{paginateRest:v}=w(931)},6650:(se,q,w)=>{se.exports=function m(d){d.hook.before("request",v.bind(null,d))};const v=w(2643)},2643:(se,q,w)=>{"use strict";se.exports=function u(p,g){if(!g.request.validate)return;const{validate:y}=g.request;return Object.keys(y).forEach(b=>{const C=m(y,b),P=C.type;let N,R,j=!0,F=!1;/\./.test(b)&&(N=b.replace(/\.[^.]+$/,""),F="[]"===N.slice(-2),F&&(N=N.slice(0,-2)),R=m(g,N),j="headers"===N||"object"==typeof R&&null!==R),(F?(m(g,N)||[]).map(ne=>ne[b.split(/\./).pop()]):[m(g,b)]).forEach((ne,Ge)=>{const ct=void 0!==ne,Nt=null===ne,Lt=F?b.replace(/\[\]/,`[${Ge}]`):b;if((C.required||ct)&&j&&(!C.allowNull||!Nt)){if(!C.allowNull&&Nt)throw new v(`'${Lt}' cannot be null`,400,{request:g});if(C.required&&!ct)throw new v(`Empty value for parameter '${Lt}': ${JSON.stringify(ne)}`,400,{request:g});if("integer"===P){const Tt=ne;if(ne=parseInt(ne,10),isNaN(ne))throw new v(`Invalid value for parameter '${Lt}': ${JSON.stringify(Tt)} is NaN`,400,{request:g})}if(C.enum&&-1===C.enum.indexOf(String(ne)))throw new v(`Invalid value for parameter '${Lt}': ${JSON.stringify(ne)}`,400,{request:g});if(C.validation&&!new RegExp(C.validation).test(ne))throw new v(`Invalid value for parameter '${Lt}': ${JSON.stringify(ne)}`,400,{request:g});if("object"===P&&"string"==typeof ne)try{ne=JSON.parse(ne)}catch(Tt){throw new v(`JSON parse error of value for parameter '${Lt}': ${JSON.stringify(ne)}`,400,{request:g})}d(g,C.mapTo||Lt,ne)}})}),g};const{RequestError:v}=w(7217),m=w(4947),d=w(2718)},7883:(se,q,w)=>{"use strict";w.d(q,{D:()=>g});var v=Object.prototype,m=v.toString,d=v.hasOwnProperty,u=Function.prototype.toString,p=new Map;function g(F,L){try{return y(F,L)}finally{p.clear()}}function y(F,L){if(F===L)return!0;var ne=m.call(F);if(ne!==m.call(L))return!1;switch(ne){case"[object Array]":if(F.length!==L.length)return!1;case"[object Object]":if(R(F,L))return!0;var ct=b(F),Nt=b(L),Lt=ct.length;if(Lt!==Nt.length)return!1;for(var Tt=0;Tt=0&&F.indexOf(L,ne)===ne}(Pe,P)}return!1}function b(F){return Object.keys(F).filter(C,F)}function C(F){return void 0!==this[F]}var P="{ [native code] }";function R(F,L){var ne=p.get(F);if(ne){if(ne.has(L))return!0}else p.set(F,ne=new Set);return ne.add(L),!1}},2131:se=>{se.exports=function(w){return atob(w)}},4833:(se,q,w)=>{var v=w(6805),m=w(5051),d=w(241),u=Function.bind,p=u.bind(u);function g(N,R,j){var F=p(d,null).apply(null,j?[R,j]:[R]);N.api={remove:F},N.remove=F,["before","error","after","wrap"].forEach(function(L){var ne=j?[R,L,j]:[R,L];N[L]=N.api[L]=p(m,null).apply(null,ne)})}function b(){var N={registry:{}},R=v.bind(null,N);return g(R,N),R}var C=!1;function P(){return C||(console.warn('[before-after-hook]: "Hook()" repurposing warning, use "Hook.Collection()". Read more: https://git.io/upgrade-before-after-hook-to-1.4'),C=!0),b()}P.Singular=function y(){var R={registry:{}},j=v.bind(null,R,"h");return g(j,R,"h"),j}.bind(),P.Collection=b.bind(),se.exports=P,se.exports.Hook=P,se.exports.Singular=P.Singular,se.exports.Collection=P.Collection},5051:se=>{se.exports=function q(w,v,m,d){var u=d;w.registry[m]||(w.registry[m]=[]),"before"===v&&(d=function(p,g){return Promise.resolve().then(u.bind(null,g)).then(p.bind(null,g))}),"after"===v&&(d=function(p,g){var y;return Promise.resolve().then(p.bind(null,g)).then(function(b){return u(y=b,g)}).then(function(){return y})}),"error"===v&&(d=function(p,g){return Promise.resolve().then(p.bind(null,g)).catch(function(y){return u(y,g)})}),w.registry[m].push({hook:d,orig:u})}},6805:se=>{se.exports=function q(w,v,m,d){if("function"!=typeof m)throw new Error("method for before hook must be a function");return d||(d={}),Array.isArray(v)?v.reverse().reduce(function(u,p){return q.bind(null,w,p,u,d)},m)():Promise.resolve().then(function(){return w.registry[v]?w.registry[v].reduce(function(u,p){return p.hook.bind(null,u,d)},m)():m(d)})}},241:se=>{se.exports=function q(w,v,m){if(w.registry[v]){var d=w.registry[v].map(function(u){return u.orig}).indexOf(m);-1!==d&&w.registry[v].splice(d,1)}}},7972:se=>{se.exports=function(w){return btoa(w)}},505:(se,q,w)=>{"use strict";w.r(q),w.d(q,{Deprecation:()=>v});class v extends Error{constructor(d){super(d),Error.captureStackTrace&&Error.captureStackTrace(this,this.constructor),this.name="Deprecation"}}},3969:se=>{var q=function(){this.Diff_Timeout=1,this.Diff_EditCost=4,this.Match_Threshold=.5,this.Match_Distance=1e3,this.Patch_DeleteThreshold=.5,this.Patch_Margin=4,this.Match_MaxBits=32},w=-1;q.Diff=function(d,u){return[d,u]},q.prototype.diff_main=function(d,u,p,g){void 0===g&&(g=this.Diff_Timeout<=0?Number.MAX_VALUE:(new Date).getTime()+1e3*this.Diff_Timeout);var y=g;if(null==d||null==u)throw new Error("Null input. (diff_main)");if(d==u)return d?[new q.Diff(0,d)]:[];void 0===p&&(p=!0);var b=p,C=this.diff_commonPrefix(d,u),P=d.substring(0,C);d=d.substring(C),u=u.substring(C),C=this.diff_commonSuffix(d,u);var N=d.substring(d.length-C);d=d.substring(0,d.length-C),u=u.substring(0,u.length-C);var R=this.diff_compute_(d,u,b,y);return P&&R.unshift(new q.Diff(0,P)),N&&R.push(new q.Diff(0,N)),this.diff_cleanupMerge(R),R},q.prototype.diff_compute_=function(d,u,p,g){var y;if(!d)return[new q.Diff(1,u)];if(!u)return[new q.Diff(w,d)];var b=d.length>u.length?d:u,C=d.length>u.length?u:d,P=b.indexOf(C);if(-1!=P)return y=[new q.Diff(1,b.substring(0,P)),new q.Diff(0,C),new q.Diff(1,b.substring(P+C.length))],d.length>u.length&&(y[0][0]=y[2][0]=w),y;if(1==C.length)return[new q.Diff(w,d),new q.Diff(1,u)];var N=this.diff_halfMatch_(d,u);if(N){var j=N[1],L=N[3],ne=N[4],Ge=this.diff_main(N[0],N[2],p,g),ct=this.diff_main(j,L,p,g);return Ge.concat([new q.Diff(0,ne)],ct)}return p&&d.length>100&&u.length>100?this.diff_lineMode_(d,u,g):this.diff_bisect_(d,u,g)},q.prototype.diff_lineMode_=function(d,u,p){var g=this.diff_linesToChars_(d,u),y=g.lineArray,b=this.diff_main(d=g.chars1,u=g.chars2,!1,p);this.diff_charsToLines_(b,y),this.diff_cleanupSemantic(b),b.push(new q.Diff(0,""));for(var C=0,P=0,N=0,R="",j="";C=1&&N>=1){b.splice(C-P-N,P+N),C=C-P-N;for(var F=this.diff_main(R,j,!1,p),L=F.length-1;L>=0;L--)b.splice(C,0,F[L]);C+=F.length}N=0,P=0,R="",j=""}C++}return b.pop(),b},q.prototype.diff_bisect_=function(d,u,p){for(var g=d.length,y=u.length,b=Math.ceil((g+y)/2),C=b,P=2*b,N=new Array(P),R=new Array(P),j=0;jp);Lt++){for(var Tt=-Lt+ne;Tt<=Lt-Ge;Tt+=2){for(var st=C+Tt,Ce=(Ze=Tt==-Lt||Tt!=Lt&&N[st-1]g)Ge+=2;else if(Ce>y)ne+=2;else if(L&&(E=C+F-Tt)>=0&&E=(G=g-R[E]))return this.diff_bisectSplit_(d,u,Ze,Ce,p)}for(var re=-Lt+ct;re<=Lt-Nt;re+=2){for(var G,E=C+re,K=(G=re==-Lt||re!=Lt&&R[E-1]g)Nt+=2;else if(K>y)ct+=2;else if(!L){var Ze;if((st=C+F-re)>=0&&st=(G=g-G))return this.diff_bisectSplit_(d,u,Ze,Ce,p)}}}return[new q.Diff(w,d),new q.Diff(1,u)]},q.prototype.diff_bisectSplit_=function(d,u,p,g,y){var b=d.substring(0,p),C=u.substring(0,g),P=d.substring(p),N=u.substring(g),R=this.diff_main(b,C,!1,y),j=this.diff_main(P,N,!1,y);return R.concat(j)},q.prototype.diff_linesToChars_=function(d,u){var p=[],g={};function y(N){for(var R="",j=0,F=-1,L=p.length;Fg?d=d.substring(p-g):pu.length?d:u,g=d.length>u.length?u:d;if(p.length<4||2*g.length=Ge.length?[Ze,Ce,E,G,st]:null}var N,R,j,F,L,C=b(p,g,Math.ceil(p.length/4)),P=b(p,g,Math.ceil(p.length/2));return C||P?(N=P?C&&C[4].length>P[4].length?C:P:C,d.length>u.length?(R=N[0],j=N[1],F=N[2],L=N[3]):(F=N[0],L=N[1],R=N[2],j=N[3]),[R,j,F,L,N[4]]):null},q.prototype.diff_cleanupSemantic=function(d){for(var u=!1,p=[],g=0,y=null,b=0,C=0,P=0,N=0,R=0;b0?p[g-1]:-1,C=0,P=0,N=0,R=0,y=null,u=!0)),b++;for(u&&this.diff_cleanupMerge(d),this.diff_cleanupSemanticLossless(d),b=1;b=ne?(L>=j.length/2||L>=F.length/2)&&(d.splice(b,0,new q.Diff(0,F.substring(0,L))),d[b-1][1]=j.substring(0,j.length-L),d[b+1][1]=F.substring(L),b++):(ne>=j.length/2||ne>=F.length/2)&&(d.splice(b,0,new q.Diff(0,j.substring(0,ne))),d[b-1][0]=1,d[b-1][1]=F.substring(0,F.length-ne),d[b+1][0]=w,d[b+1][1]=j.substring(ne),b++),b++}b++}},q.prototype.diff_cleanupSemanticLossless=function(d){function u(ne,Ge){if(!ne||!Ge)return 6;var ct=ne.charAt(ne.length-1),Nt=Ge.charAt(0),Lt=ct.match(q.nonAlphaNumericRegex_),Tt=Nt.match(q.nonAlphaNumericRegex_),st=Lt&&ct.match(q.whitespaceRegex_),Ze=Tt&&Nt.match(q.whitespaceRegex_),Ce=st&&ct.match(q.linebreakRegex_),E=Ze&&Nt.match(q.linebreakRegex_),G=Ce&&ne.match(q.blanklineEndRegex_),re=E&&Ge.match(q.blanklineStartRegex_);return G||re?5:Ce||E?4:Lt&&!st&&Ze?3:st||Ze?2:Lt||Tt?1:0}for(var p=1;p=F&&(F=L,N=g,R=y,j=b)}d[p-1][1]!=N&&(N?d[p-1][1]=N:(d.splice(p-1,1),p--),d[p][1]=R,j?d[p+1][1]=j:(d.splice(p+1,1),p--))}p++}},q.nonAlphaNumericRegex_=/[^a-zA-Z0-9]/,q.whitespaceRegex_=/\s/,q.linebreakRegex_=/[\r\n]/,q.blanklineEndRegex_=/\n\r?\n$/,q.blanklineStartRegex_=/^\r?\n\r?\n/,q.prototype.diff_cleanupEfficiency=function(d){for(var u=!1,p=[],g=0,y=null,b=0,C=!1,P=!1,N=!1,R=!1;b0?p[g-1]:-1,N=R=!1),u=!0)),b++;u&&this.diff_cleanupMerge(d)},q.prototype.diff_cleanupMerge=function(d){d.push(new q.Diff(0,""));for(var C,u=0,p=0,g=0,y="",b="";u1?(0!==p&&0!==g&&(0!==(C=this.diff_commonPrefix(b,y))&&(u-p-g>0&&0==d[u-p-g-1][0]?d[u-p-g-1][1]+=b.substring(0,C):(d.splice(0,0,new q.Diff(0,b.substring(0,C))),u++),b=b.substring(C),y=y.substring(C)),0!==(C=this.diff_commonSuffix(b,y))&&(d[u][1]=b.substring(b.length-C)+d[u][1],b=b.substring(0,b.length-C),y=y.substring(0,y.length-C))),d.splice(u-=p+g,p+g),y.length&&(d.splice(u,0,new q.Diff(w,y)),u++),b.length&&(d.splice(u,0,new q.Diff(1,b)),u++),u++):0!==u&&0==d[u-1][0]?(d[u-1][1]+=d[u][1],d.splice(u,1)):u++,g=0,p=0,y="",b=""}""===d[d.length-1][1]&&d.pop();var P=!1;for(u=1;uu));C++)y=p,b=g;return d.length!=C&&d[C][0]===w?b:b+(u-y)},q.prototype.diff_prettyHtml=function(d){for(var u=[],p=/&/g,g=//g,b=/\n/g,C=0;C");switch(P){case 1:u[C]=''+R+"";break;case w:u[C]=''+R+"";break;case 0:u[C]=""+R+""}}return u.join("")},q.prototype.diff_text1=function(d){for(var u=[],p=0;pthis.Match_MaxBits)throw new Error("Pattern too long for this browser.");var g=this.match_alphabet_(u),y=this;function b(Ze,Ce){var E=Ze/u.length,G=Math.abs(p-Ce);return y.Match_Distance?E+G/y.Match_Distance:G?1:E}var C=this.Match_Threshold,P=d.indexOf(u,p);-1!=P&&(C=Math.min(b(0,P),C),-1!=(P=d.lastIndexOf(u,p+u.length))&&(C=Math.min(b(0,P),C)));var N=1<=Ge;Lt--){var Tt=g[d.charAt(Lt-1)];if(Nt[Lt]=0===ne?(Nt[Lt+1]<<1|1)&Tt:(Nt[Lt+1]<<1|1)&Tt|(L[Lt+1]|L[Lt])<<1|1|L[Lt+1],Nt[Lt]&N){var st=b(ne,Lt-1);if(st<=C){if(C=st,!((P=Lt-1)>p))break;Ge=Math.max(1,2*p-P)}}}if(b(ne+1,p)>C)break;L=Nt}return P},q.prototype.match_alphabet_=function(d){for(var u={},p=0;p2&&(this.diff_cleanupSemantic(y),this.diff_cleanupEfficiency(y));else if(d&&"object"==typeof d&&void 0===u&&void 0===p)g=this.diff_text1(y=d);else if("string"==typeof d&&u&&"object"==typeof u&&void 0===p)g=d,y=u;else{if("string"!=typeof d||"string"!=typeof u||!p||"object"!=typeof p)throw new Error("Unknown call format to patch_make.");g=d,y=p}if(0===y.length)return[];for(var b=[],C=new q.patch_obj,P=0,N=0,R=0,j=g,F=g,L=0;L=2*this.Patch_Margin&&P&&(this.patch_addContext_(C,j),b.push(C),C=new q.patch_obj,P=0,j=F,N=R)}1!==ne&&(N+=Ge.length),ne!==w&&(R+=Ge.length)}return P&&(this.patch_addContext_(C,j),b.push(C)),b},q.prototype.patch_deepCopy=function(d){for(var u=[],p=0;pthis.Match_MaxBits?-1!=(N=this.match_main(u,P.substring(0,this.Match_MaxBits),C))&&(-1==(R=this.match_main(u,P.substring(P.length-this.Match_MaxBits),C+P.length-this.Match_MaxBits))||N>=R)&&(N=-1):N=this.match_main(u,P,C),-1==N)y[b]=!1,g-=d[b].length2-d[b].length1;else if(y[b]=!0,g=N-C,P==(j=u.substring(N,-1==R?N+P.length:R+this.Match_MaxBits)))u=u.substring(0,N)+this.diff_text2(d[b].diffs)+u.substring(N+P.length);else{var F=this.diff_main(P,j,!1);if(P.length>this.Match_MaxBits&&this.diff_levenshtein(F)/P.length>this.Patch_DeleteThreshold)y[b]=!1;else{this.diff_cleanupSemanticLossless(F);for(var ne,L=0,Ge=0;Geb[0][1].length){var C=u-b[0][1].length;b[0][1]=p.substring(b[0][1].length)+b[0][1],y.start1-=C,y.start2-=C,y.length1+=C,y.length2+=C}return 0==(b=(y=d[d.length-1]).diffs).length||0!=b[b.length-1][0]?(b.push(new q.Diff(0,p)),y.length1+=u,y.length2+=u):u>b[b.length-1][1].length&&(b[b.length-1][1]+=p.substring(0,C=u-b[b.length-1][1].length),y.length1+=C,y.length2+=C),p},q.prototype.patch_splitMax=function(d){for(var u=this.Match_MaxBits,p=0;p2*u?(P.length1+=j.length,y+=j.length,N=!1,P.diffs.push(new q.Diff(R,j)),g.diffs.shift()):(j=j.substring(0,u-P.length1-this.Patch_Margin),P.length1+=j.length,y+=j.length,0===R?(P.length2+=j.length,b+=j.length):N=!1,P.diffs.push(new q.Diff(R,j)),j==g.diffs[0][1]?g.diffs.shift():g.diffs[0][1]=g.diffs[0][1].substring(j.length))}C=(C=this.diff_text2(P.diffs)).substring(C.length-this.Patch_Margin);var F=this.diff_text1(g.diffs).substring(0,this.Patch_Margin);""!==F&&(P.length1+=F.length,P.length2+=F.length,0!==P.diffs.length&&0===P.diffs[P.diffs.length-1][0]?P.diffs[P.diffs.length-1][1]+=F:P.diffs.push(new q.Diff(0,F))),N||d.splice(++p,0,P)}}},q.prototype.patch_toText=function(d){for(var u=[],p=0;p{"use strict";se.exports=function(q,w){w||(w={}),"function"==typeof w&&(w={cmp:w});var u,v="boolean"==typeof w.cycles&&w.cycles,m=w.cmp&&(u=w.cmp,function(p){return function(g,y){return u({key:g,value:p[g]},{key:y,value:p[y]})}}),d=[];return function u(p){if(p&&p.toJSON&&"function"==typeof p.toJSON&&(p=p.toJSON()),void 0!==p){if("number"==typeof p)return isFinite(p)?""+p:"null";if("object"!=typeof p)return JSON.stringify(p);var g,y;if(Array.isArray(p)){for(y="[",g=0;g{"use strict";w.d(q,{ZP:()=>en});var v=w(7582);function m(ie){return(m="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(W){return typeof W}:function(W){return W&&"function"==typeof Symbol&&W.constructor===Symbol&&W!==Symbol.prototype?"symbol":typeof W})(ie)}"function"==typeof Symbol&&null!=Symbol.iterator&&Symbol,"function"==typeof Symbol&&null!=Symbol.asyncIterator&&Symbol;var g="function"==typeof Symbol&&null!=Symbol.toStringTag?Symbol.toStringTag:"@@toStringTag";function y(ie,me){for(var Oe,W=/\r\n|[\n\r]/g,ce=1,_e=me+1;(Oe=W.exec(ie.body))&&Oe.index120){for(var de=Math.floor(te/80),ke=te%80,Pt=[],sn=0;sn0},name:{enumerable:!1},nodes:{enumerable:!1},source:{enumerable:!1},positions:{enumerable:!1},originalError:{enumerable:!1}}),null!=te&&te.stack?(Object.defineProperty(Ze(ke),"stack",{value:te.stack,writable:!0,configurable:!0}),st(ke)):(Error.captureStackTrace?Error.captureStackTrace(Ze(ke),W):Object.defineProperty(Ze(ke),"stack",{value:Error().stack,writable:!0,configurable:!0}),ke)}return function Nt(ie,me,W){me&&ct(ie.prototype,me),W&&ct(ie,W)}(W,[{key:"toString",value:function(){return function ot(ie){var me=ie.message;if(ie.nodes)for(var W=0,ce=ie.nodes;W",EOF:"",BANG:"!",DOLLAR:"$",AMP:"&",PAREN_L:"(",PAREN_R:")",SPREAD:"...",COLON:":",EQUALS:"=",AT:"@",BRACKET_L:"[",BRACKET_R:"]",BRACE_L:"{",PIPE:"|",BRACE_R:"}",NAME:"Name",INT:"Int",FLOAT:"Float",STRING:"String",BLOCK_STRING:"BlockString",COMMENT:"Comment"}),X=w(744);function ve(ie,me){if(!Boolean(ie))throw new Error(me)}function Ve(ie,me){for(var W=0;W1&&void 0!==arguments[1]?arguments[1]:"GraphQL request",ce=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{line:1,column:1};"string"==typeof me||ve(0,"Body must be a string. Received: ".concat((0,X.Z)(me),".")),this.body=me,this.name=W,this.locationOffset=ce,this.locationOffset.line>0||ve(0,"line in locationOffset is 1-indexed and must be positive."),this.locationOffset.column>0||ve(0,"column in locationOffset is 1-indexed and must be positive.")}return function nt(ie,me,W){me&&Ve(ie.prototype,me),W&&Ve(ie,W)}(ie,[{key:g,get:function(){return"Source"}}]),ie}(),zt=Object.freeze({QUERY:"QUERY",MUTATION:"MUTATION",SUBSCRIPTION:"SUBSCRIPTION",FIELD:"FIELD",FRAGMENT_DEFINITION:"FRAGMENT_DEFINITION",FRAGMENT_SPREAD:"FRAGMENT_SPREAD",INLINE_FRAGMENT:"INLINE_FRAGMENT",VARIABLE_DEFINITION:"VARIABLE_DEFINITION",SCHEMA:"SCHEMA",SCALAR:"SCALAR",OBJECT:"OBJECT",FIELD_DEFINITION:"FIELD_DEFINITION",ARGUMENT_DEFINITION:"ARGUMENT_DEFINITION",INTERFACE:"INTERFACE",UNION:"UNION",ENUM:"ENUM",ENUM_VALUE:"ENUM_VALUE",INPUT_OBJECT:"INPUT_OBJECT",INPUT_FIELD_DEFINITION:"INPUT_FIELD_DEFINITION"}),Fe=w(2032),ut=function(){function ie(W){var ce=new vt.WU(Q.SOF,0,0,0,0,null);this.source=W,this.lastToken=ce,this.token=ce,this.line=1,this.lineStart=0}var me=ie.prototype;return me.advance=function(){return this.lastToken=this.token,this.token=this.lookahead()},me.lookahead=function(){var ce=this.token;if(ce.kind!==Q.EOF)do{var _e;ce=null!==(_e=ce.next)&&void 0!==_e?_e:ce.next=tt(this,ce)}while(ce.kind===Q.COMMENT);return ce},ie}();function lt(ie){return isNaN(ie)?Q.EOF:ie<127?JSON.stringify(String.fromCharCode(ie)):'"\\u'.concat(("00"+ie.toString(16).toUpperCase()).slice(-4),'"')}function tt(ie,me){for(var W=ie.source,ce=W.body,_e=ce.length,Oe=me.end;Oe<_e;){var U=ce.charCodeAt(Oe),ee=ie.line,te=1+Oe-ie.lineStart;switch(U){case 65279:case 9:case 32:case 44:++Oe;continue;case 10:++Oe,++ie.line,ie.lineStart=Oe;continue;case 13:10===ce.charCodeAt(Oe+1)?Oe+=2:++Oe,++ie.line,ie.lineStart=Oe;continue;case 33:return new vt.WU(Q.BANG,Oe,Oe+1,ee,te,me);case 35:return Xt(W,Oe,ee,te,me);case 36:return new vt.WU(Q.DOLLAR,Oe,Oe+1,ee,te,me);case 38:return new vt.WU(Q.AMP,Oe,Oe+1,ee,te,me);case 40:return new vt.WU(Q.PAREN_L,Oe,Oe+1,ee,te,me);case 41:return new vt.WU(Q.PAREN_R,Oe,Oe+1,ee,te,me);case 46:if(46===ce.charCodeAt(Oe+1)&&46===ce.charCodeAt(Oe+2))return new vt.WU(Q.SPREAD,Oe,Oe+3,ee,te,me);break;case 58:return new vt.WU(Q.COLON,Oe,Oe+1,ee,te,me);case 61:return new vt.WU(Q.EQUALS,Oe,Oe+1,ee,te,me);case 64:return new vt.WU(Q.AT,Oe,Oe+1,ee,te,me);case 91:return new vt.WU(Q.BRACKET_L,Oe,Oe+1,ee,te,me);case 93:return new vt.WU(Q.BRACKET_R,Oe,Oe+1,ee,te,me);case 123:return new vt.WU(Q.BRACE_L,Oe,Oe+1,ee,te,me);case 124:return new vt.WU(Q.PIPE,Oe,Oe+1,ee,te,me);case 125:return new vt.WU(Q.BRACE_R,Oe,Oe+1,ee,te,me);case 34:return 34===ce.charCodeAt(Oe+1)&&34===ce.charCodeAt(Oe+2)?xn(W,Oe,ee,te,me,ie):jn(W,Oe,ee,te,me);case 45:case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return nn(W,Oe,U,ee,te,me);case 65:case 66:case 67:case 68:case 69:case 70:case 71:case 72:case 73:case 74:case 75:case 76:case 77:case 78:case 79:case 80:case 81:case 82:case 83:case 84:case 85:case 86:case 87:case 88:case 89:case 90:case 95:case 97:case 98:case 99:case 100:case 101:case 102:case 103:case 104:case 105:case 106:case 107:case 108:case 109:case 110:case 111:case 112:case 113:case 114:case 115:case 116:case 117:case 118:case 119:case 120:case 121:case 122:return le(W,Oe,ee,te,me)}throw yt(W,Oe,St(U))}return new vt.WU(Q.EOF,_e,_e,ie.line,1+Oe-ie.lineStart,me)}function St(ie){return ie<32&&9!==ie&&10!==ie&&13!==ie?"Cannot contain the invalid character ".concat(lt(ie),"."):39===ie?"Unexpected single quote character ('), did you mean to use a double quote (\")?":"Cannot parse the unexpected character ".concat(lt(ie),".")}function Xt(ie,me,W,ce,_e){var U,Oe=ie.body,ee=me;do{U=Oe.charCodeAt(++ee)}while(!isNaN(U)&&(U>31||9===U));return new vt.WU(Q.COMMENT,me,ee,W,ce,_e,Oe.slice(me+1,ee))}function nn(ie,me,W,ce,_e,Oe){var U=ie.body,ee=W,te=me,Re=!1;if(45===ee&&(ee=U.charCodeAt(++te)),48===ee){if((ee=U.charCodeAt(++te))>=48&&ee<=57)throw yt(ie,te,"Invalid number, unexpected digit after 0: ".concat(lt(ee),"."))}else te=Wt(ie,te,ee),ee=U.charCodeAt(te);if(46===ee&&(Re=!0,ee=U.charCodeAt(++te),te=Wt(ie,te,ee),ee=U.charCodeAt(te)),(69===ee||101===ee)&&(Re=!0,(43===(ee=U.charCodeAt(++te))||45===ee)&&(ee=U.charCodeAt(++te)),te=Wt(ie,te,ee),ee=U.charCodeAt(te)),46===ee||function Me(ie){return 95===ie||ie>=65&&ie<=90||ie>=97&&ie<=122}(ee))throw yt(ie,te,"Invalid number, expected digit but got: ".concat(lt(ee),"."));return new vt.WU(Re?Q.FLOAT:Q.INT,me,te,ce,_e,Oe,U.slice(me,te))}function Wt(ie,me,W){var ce=ie.body,_e=me,Oe=W;if(Oe>=48&&Oe<=57){do{Oe=ce.charCodeAt(++_e)}while(Oe>=48&&Oe<=57);return _e}throw yt(ie,_e,"Invalid number, expected digit but got: ".concat(lt(Oe),"."))}function jn(ie,me,W,ce,_e){for(var Oe=ie.body,U=me+1,ee=U,te=0,Re="";U=48&&ie<=57?ie-48:ie>=65&&ie<=70?ie-55:ie>=97&&ie<=102?ie-87:-1}function le(ie,me,W,ce,_e){for(var Oe=ie.body,U=Oe.length,ee=me+1,te=0;ee!==U&&!isNaN(te=Oe.charCodeAt(ee))&&(95===te||te>=48&&te<=57||te>=65&&te<=90||te>=97&&te<=122);)++ee;return new vt.WU(Q.NAME,me,ee,W,ce,_e,Oe.slice(me,ee))}var Ot=function(){function ie(W,ce){var _e=function Ht(ie){return ie instanceof Dt}(W)?W:new Dt(W);this._lexer=new ut(_e),this._options=ce}var me=ie.prototype;return me.parseName=function(){var ce=this.expectToken(Q.NAME);return{kind:We.NAME,value:ce.value,loc:this.loc(ce)}},me.parseDocument=function(){var ce=this._lexer.token;return{kind:We.DOCUMENT,definitions:this.many(Q.SOF,this.parseDefinition,Q.EOF),loc:this.loc(ce)}},me.parseDefinition=function(){if(this.peek(Q.NAME))switch(this._lexer.token.value){case"query":case"mutation":case"subscription":return this.parseOperationDefinition();case"fragment":return this.parseFragmentDefinition();case"schema":case"scalar":case"type":case"interface":case"union":case"enum":case"input":case"directive":return this.parseTypeSystemDefinition();case"extend":return this.parseTypeSystemExtension()}else{if(this.peek(Q.BRACE_L))return this.parseOperationDefinition();if(this.peekDescription())return this.parseTypeSystemDefinition()}throw this.unexpected()},me.parseOperationDefinition=function(){var ce=this._lexer.token;if(this.peek(Q.BRACE_L))return{kind:We.OPERATION_DEFINITION,operation:"query",name:void 0,variableDefinitions:[],directives:[],selectionSet:this.parseSelectionSet(),loc:this.loc(ce)};var Oe,_e=this.parseOperationType();return this.peek(Q.NAME)&&(Oe=this.parseName()),{kind:We.OPERATION_DEFINITION,operation:_e,name:Oe,variableDefinitions:this.parseVariableDefinitions(),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet(),loc:this.loc(ce)}},me.parseOperationType=function(){var ce=this.expectToken(Q.NAME);switch(ce.value){case"query":return"query";case"mutation":return"mutation";case"subscription":return"subscription"}throw this.unexpected(ce)},me.parseVariableDefinitions=function(){return this.optionalMany(Q.PAREN_L,this.parseVariableDefinition,Q.PAREN_R)},me.parseVariableDefinition=function(){var ce=this._lexer.token;return{kind:We.VARIABLE_DEFINITION,variable:this.parseVariable(),type:(this.expectToken(Q.COLON),this.parseTypeReference()),defaultValue:this.expectOptionalToken(Q.EQUALS)?this.parseValueLiteral(!0):void 0,directives:this.parseDirectives(!0),loc:this.loc(ce)}},me.parseVariable=function(){var ce=this._lexer.token;return this.expectToken(Q.DOLLAR),{kind:We.VARIABLE,name:this.parseName(),loc:this.loc(ce)}},me.parseSelectionSet=function(){var ce=this._lexer.token;return{kind:We.SELECTION_SET,selections:this.many(Q.BRACE_L,this.parseSelection,Q.BRACE_R),loc:this.loc(ce)}},me.parseSelection=function(){return this.peek(Q.SPREAD)?this.parseFragment():this.parseField()},me.parseField=function(){var Oe,U,ce=this._lexer.token,_e=this.parseName();return this.expectOptionalToken(Q.COLON)?(Oe=_e,U=this.parseName()):U=_e,{kind:We.FIELD,alias:Oe,name:U,arguments:this.parseArguments(!1),directives:this.parseDirectives(!1),selectionSet:this.peek(Q.BRACE_L)?this.parseSelectionSet():void 0,loc:this.loc(ce)}},me.parseArguments=function(ce){return this.optionalMany(Q.PAREN_L,ce?this.parseConstArgument:this.parseArgument,Q.PAREN_R)},me.parseArgument=function(){var ce=this._lexer.token,_e=this.parseName();return this.expectToken(Q.COLON),{kind:We.ARGUMENT,name:_e,value:this.parseValueLiteral(!1),loc:this.loc(ce)}},me.parseConstArgument=function(){var ce=this._lexer.token;return{kind:We.ARGUMENT,name:this.parseName(),value:(this.expectToken(Q.COLON),this.parseValueLiteral(!0)),loc:this.loc(ce)}},me.parseFragment=function(){var ce=this._lexer.token;this.expectToken(Q.SPREAD);var _e=this.expectOptionalKeyword("on");return!_e&&this.peek(Q.NAME)?{kind:We.FRAGMENT_SPREAD,name:this.parseFragmentName(),directives:this.parseDirectives(!1),loc:this.loc(ce)}:{kind:We.INLINE_FRAGMENT,typeCondition:_e?this.parseNamedType():void 0,directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet(),loc:this.loc(ce)}},me.parseFragmentDefinition=function(){var ce,_e=this._lexer.token;return this.expectKeyword("fragment"),!0===(null===(ce=this._options)||void 0===ce?void 0:ce.experimentalFragmentVariables)?{kind:We.FRAGMENT_DEFINITION,name:this.parseFragmentName(),variableDefinitions:this.parseVariableDefinitions(),typeCondition:(this.expectKeyword("on"),this.parseNamedType()),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet(),loc:this.loc(_e)}:{kind:We.FRAGMENT_DEFINITION,name:this.parseFragmentName(),typeCondition:(this.expectKeyword("on"),this.parseNamedType()),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet(),loc:this.loc(_e)}},me.parseFragmentName=function(){if("on"===this._lexer.token.value)throw this.unexpected();return this.parseName()},me.parseValueLiteral=function(ce){var _e=this._lexer.token;switch(_e.kind){case Q.BRACKET_L:return this.parseList(ce);case Q.BRACE_L:return this.parseObject(ce);case Q.INT:return this._lexer.advance(),{kind:We.INT,value:_e.value,loc:this.loc(_e)};case Q.FLOAT:return this._lexer.advance(),{kind:We.FLOAT,value:_e.value,loc:this.loc(_e)};case Q.STRING:case Q.BLOCK_STRING:return this.parseStringLiteral();case Q.NAME:switch(this._lexer.advance(),_e.value){case"true":return{kind:We.BOOLEAN,value:!0,loc:this.loc(_e)};case"false":return{kind:We.BOOLEAN,value:!1,loc:this.loc(_e)};case"null":return{kind:We.NULL,loc:this.loc(_e)};default:return{kind:We.ENUM,value:_e.value,loc:this.loc(_e)}}case Q.DOLLAR:if(!ce)return this.parseVariable()}throw this.unexpected()},me.parseStringLiteral=function(){var ce=this._lexer.token;return this._lexer.advance(),{kind:We.STRING,value:ce.value,block:ce.kind===Q.BLOCK_STRING,loc:this.loc(ce)}},me.parseList=function(ce){var _e=this,Oe=this._lexer.token;return{kind:We.LIST,values:this.any(Q.BRACKET_L,function(){return _e.parseValueLiteral(ce)},Q.BRACKET_R),loc:this.loc(Oe)}},me.parseObject=function(ce){var _e=this,Oe=this._lexer.token;return{kind:We.OBJECT,fields:this.any(Q.BRACE_L,function(){return _e.parseObjectField(ce)},Q.BRACE_R),loc:this.loc(Oe)}},me.parseObjectField=function(ce){var _e=this._lexer.token,Oe=this.parseName();return this.expectToken(Q.COLON),{kind:We.OBJECT_FIELD,name:Oe,value:this.parseValueLiteral(ce),loc:this.loc(_e)}},me.parseDirectives=function(ce){for(var _e=[];this.peek(Q.AT);)_e.push(this.parseDirective(ce));return _e},me.parseDirective=function(ce){var _e=this._lexer.token;return this.expectToken(Q.AT),{kind:We.DIRECTIVE,name:this.parseName(),arguments:this.parseArguments(ce),loc:this.loc(_e)}},me.parseTypeReference=function(){var _e,ce=this._lexer.token;return this.expectOptionalToken(Q.BRACKET_L)?(_e=this.parseTypeReference(),this.expectToken(Q.BRACKET_R),_e={kind:We.LIST_TYPE,type:_e,loc:this.loc(ce)}):_e=this.parseNamedType(),this.expectOptionalToken(Q.BANG)?{kind:We.NON_NULL_TYPE,type:_e,loc:this.loc(ce)}:_e},me.parseNamedType=function(){var ce=this._lexer.token;return{kind:We.NAMED_TYPE,name:this.parseName(),loc:this.loc(ce)}},me.parseTypeSystemDefinition=function(){var ce=this.peekDescription()?this._lexer.lookahead():this._lexer.token;if(ce.kind===Q.NAME)switch(ce.value){case"schema":return this.parseSchemaDefinition();case"scalar":return this.parseScalarTypeDefinition();case"type":return this.parseObjectTypeDefinition();case"interface":return this.parseInterfaceTypeDefinition();case"union":return this.parseUnionTypeDefinition();case"enum":return this.parseEnumTypeDefinition();case"input":return this.parseInputObjectTypeDefinition();case"directive":return this.parseDirectiveDefinition()}throw this.unexpected(ce)},me.peekDescription=function(){return this.peek(Q.STRING)||this.peek(Q.BLOCK_STRING)},me.parseDescription=function(){if(this.peekDescription())return this.parseStringLiteral()},me.parseSchemaDefinition=function(){var ce=this._lexer.token,_e=this.parseDescription();this.expectKeyword("schema");var Oe=this.parseDirectives(!0),U=this.many(Q.BRACE_L,this.parseOperationTypeDefinition,Q.BRACE_R);return{kind:We.SCHEMA_DEFINITION,description:_e,directives:Oe,operationTypes:U,loc:this.loc(ce)}},me.parseOperationTypeDefinition=function(){var ce=this._lexer.token,_e=this.parseOperationType();this.expectToken(Q.COLON);var Oe=this.parseNamedType();return{kind:We.OPERATION_TYPE_DEFINITION,operation:_e,type:Oe,loc:this.loc(ce)}},me.parseScalarTypeDefinition=function(){var ce=this._lexer.token,_e=this.parseDescription();this.expectKeyword("scalar");var Oe=this.parseName(),U=this.parseDirectives(!0);return{kind:We.SCALAR_TYPE_DEFINITION,description:_e,name:Oe,directives:U,loc:this.loc(ce)}},me.parseObjectTypeDefinition=function(){var ce=this._lexer.token,_e=this.parseDescription();this.expectKeyword("type");var Oe=this.parseName(),U=this.parseImplementsInterfaces(),ee=this.parseDirectives(!0),te=this.parseFieldsDefinition();return{kind:We.OBJECT_TYPE_DEFINITION,description:_e,name:Oe,interfaces:U,directives:ee,fields:te,loc:this.loc(ce)}},me.parseImplementsInterfaces=function(){var ce;if(!this.expectOptionalKeyword("implements"))return[];if(!0===(null===(ce=this._options)||void 0===ce?void 0:ce.allowLegacySDLImplementsInterfaces)){var _e=[];this.expectOptionalToken(Q.AMP);do{_e.push(this.parseNamedType())}while(this.expectOptionalToken(Q.AMP)||this.peek(Q.NAME));return _e}return this.delimitedMany(Q.AMP,this.parseNamedType)},me.parseFieldsDefinition=function(){var ce;return!0===(null===(ce=this._options)||void 0===ce?void 0:ce.allowLegacySDLEmptyFields)&&this.peek(Q.BRACE_L)&&this._lexer.lookahead().kind===Q.BRACE_R?(this._lexer.advance(),this._lexer.advance(),[]):this.optionalMany(Q.BRACE_L,this.parseFieldDefinition,Q.BRACE_R)},me.parseFieldDefinition=function(){var ce=this._lexer.token,_e=this.parseDescription(),Oe=this.parseName(),U=this.parseArgumentDefs();this.expectToken(Q.COLON);var ee=this.parseTypeReference(),te=this.parseDirectives(!0);return{kind:We.FIELD_DEFINITION,description:_e,name:Oe,arguments:U,type:ee,directives:te,loc:this.loc(ce)}},me.parseArgumentDefs=function(){return this.optionalMany(Q.PAREN_L,this.parseInputValueDef,Q.PAREN_R)},me.parseInputValueDef=function(){var ce=this._lexer.token,_e=this.parseDescription(),Oe=this.parseName();this.expectToken(Q.COLON);var ee,U=this.parseTypeReference();this.expectOptionalToken(Q.EQUALS)&&(ee=this.parseValueLiteral(!0));var te=this.parseDirectives(!0);return{kind:We.INPUT_VALUE_DEFINITION,description:_e,name:Oe,type:U,defaultValue:ee,directives:te,loc:this.loc(ce)}},me.parseInterfaceTypeDefinition=function(){var ce=this._lexer.token,_e=this.parseDescription();this.expectKeyword("interface");var Oe=this.parseName(),U=this.parseImplementsInterfaces(),ee=this.parseDirectives(!0),te=this.parseFieldsDefinition();return{kind:We.INTERFACE_TYPE_DEFINITION,description:_e,name:Oe,interfaces:U,directives:ee,fields:te,loc:this.loc(ce)}},me.parseUnionTypeDefinition=function(){var ce=this._lexer.token,_e=this.parseDescription();this.expectKeyword("union");var Oe=this.parseName(),U=this.parseDirectives(!0),ee=this.parseUnionMemberTypes();return{kind:We.UNION_TYPE_DEFINITION,description:_e,name:Oe,directives:U,types:ee,loc:this.loc(ce)}},me.parseUnionMemberTypes=function(){return this.expectOptionalToken(Q.EQUALS)?this.delimitedMany(Q.PIPE,this.parseNamedType):[]},me.parseEnumTypeDefinition=function(){var ce=this._lexer.token,_e=this.parseDescription();this.expectKeyword("enum");var Oe=this.parseName(),U=this.parseDirectives(!0),ee=this.parseEnumValuesDefinition();return{kind:We.ENUM_TYPE_DEFINITION,description:_e,name:Oe,directives:U,values:ee,loc:this.loc(ce)}},me.parseEnumValuesDefinition=function(){return this.optionalMany(Q.BRACE_L,this.parseEnumValueDefinition,Q.BRACE_R)},me.parseEnumValueDefinition=function(){var ce=this._lexer.token,_e=this.parseDescription(),Oe=this.parseName(),U=this.parseDirectives(!0);return{kind:We.ENUM_VALUE_DEFINITION,description:_e,name:Oe,directives:U,loc:this.loc(ce)}},me.parseInputObjectTypeDefinition=function(){var ce=this._lexer.token,_e=this.parseDescription();this.expectKeyword("input");var Oe=this.parseName(),U=this.parseDirectives(!0),ee=this.parseInputFieldsDefinition();return{kind:We.INPUT_OBJECT_TYPE_DEFINITION,description:_e,name:Oe,directives:U,fields:ee,loc:this.loc(ce)}},me.parseInputFieldsDefinition=function(){return this.optionalMany(Q.BRACE_L,this.parseInputValueDef,Q.BRACE_R)},me.parseTypeSystemExtension=function(){var ce=this._lexer.lookahead();if(ce.kind===Q.NAME)switch(ce.value){case"schema":return this.parseSchemaExtension();case"scalar":return this.parseScalarTypeExtension();case"type":return this.parseObjectTypeExtension();case"interface":return this.parseInterfaceTypeExtension();case"union":return this.parseUnionTypeExtension();case"enum":return this.parseEnumTypeExtension();case"input":return this.parseInputObjectTypeExtension()}throw this.unexpected(ce)},me.parseSchemaExtension=function(){var ce=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("schema");var _e=this.parseDirectives(!0),Oe=this.optionalMany(Q.BRACE_L,this.parseOperationTypeDefinition,Q.BRACE_R);if(0===_e.length&&0===Oe.length)throw this.unexpected();return{kind:We.SCHEMA_EXTENSION,directives:_e,operationTypes:Oe,loc:this.loc(ce)}},me.parseScalarTypeExtension=function(){var ce=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("scalar");var _e=this.parseName(),Oe=this.parseDirectives(!0);if(0===Oe.length)throw this.unexpected();return{kind:We.SCALAR_TYPE_EXTENSION,name:_e,directives:Oe,loc:this.loc(ce)}},me.parseObjectTypeExtension=function(){var ce=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("type");var _e=this.parseName(),Oe=this.parseImplementsInterfaces(),U=this.parseDirectives(!0),ee=this.parseFieldsDefinition();if(0===Oe.length&&0===U.length&&0===ee.length)throw this.unexpected();return{kind:We.OBJECT_TYPE_EXTENSION,name:_e,interfaces:Oe,directives:U,fields:ee,loc:this.loc(ce)}},me.parseInterfaceTypeExtension=function(){var ce=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("interface");var _e=this.parseName(),Oe=this.parseImplementsInterfaces(),U=this.parseDirectives(!0),ee=this.parseFieldsDefinition();if(0===Oe.length&&0===U.length&&0===ee.length)throw this.unexpected();return{kind:We.INTERFACE_TYPE_EXTENSION,name:_e,interfaces:Oe,directives:U,fields:ee,loc:this.loc(ce)}},me.parseUnionTypeExtension=function(){var ce=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("union");var _e=this.parseName(),Oe=this.parseDirectives(!0),U=this.parseUnionMemberTypes();if(0===Oe.length&&0===U.length)throw this.unexpected();return{kind:We.UNION_TYPE_EXTENSION,name:_e,directives:Oe,types:U,loc:this.loc(ce)}},me.parseEnumTypeExtension=function(){var ce=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("enum");var _e=this.parseName(),Oe=this.parseDirectives(!0),U=this.parseEnumValuesDefinition();if(0===Oe.length&&0===U.length)throw this.unexpected();return{kind:We.ENUM_TYPE_EXTENSION,name:_e,directives:Oe,values:U,loc:this.loc(ce)}},me.parseInputObjectTypeExtension=function(){var ce=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("input");var _e=this.parseName(),Oe=this.parseDirectives(!0),U=this.parseInputFieldsDefinition();if(0===Oe.length&&0===U.length)throw this.unexpected();return{kind:We.INPUT_OBJECT_TYPE_EXTENSION,name:_e,directives:Oe,fields:U,loc:this.loc(ce)}},me.parseDirectiveDefinition=function(){var ce=this._lexer.token,_e=this.parseDescription();this.expectKeyword("directive"),this.expectToken(Q.AT);var Oe=this.parseName(),U=this.parseArgumentDefs(),ee=this.expectOptionalKeyword("repeatable");this.expectKeyword("on");var te=this.parseDirectiveLocations();return{kind:We.DIRECTIVE_DEFINITION,description:_e,name:Oe,arguments:U,repeatable:ee,locations:te,loc:this.loc(ce)}},me.parseDirectiveLocations=function(){return this.delimitedMany(Q.PIPE,this.parseDirectiveLocation)},me.parseDirectiveLocation=function(){var ce=this._lexer.token,_e=this.parseName();if(void 0!==zt[_e.value])return _e;throw this.unexpected(ce)},me.loc=function(ce){var _e;if(!0!==(null===(_e=this._options)||void 0===_e?void 0:_e.noLocation))return new vt.Ye(ce,this._lexer.lastToken,this._lexer.source)},me.peek=function(ce){return this._lexer.token.kind===ce},me.expectToken=function(ce){var _e=this._lexer.token;if(_e.kind===ce)return this._lexer.advance(),_e;throw yt(this._lexer.source,_e.start,"Expected ".concat(Le(ce),", found ").concat(ft(_e),"."))},me.expectOptionalToken=function(ce){var _e=this._lexer.token;if(_e.kind===ce)return this._lexer.advance(),_e},me.expectKeyword=function(ce){var _e=this._lexer.token;if(_e.kind!==Q.NAME||_e.value!==ce)throw yt(this._lexer.source,_e.start,'Expected "'.concat(ce,'", found ').concat(ft(_e),"."));this._lexer.advance()},me.expectOptionalKeyword=function(ce){var _e=this._lexer.token;return _e.kind===Q.NAME&&_e.value===ce&&(this._lexer.advance(),!0)},me.unexpected=function(ce){var _e=null!=ce?ce:this._lexer.token;return yt(this._lexer.source,_e.start,"Unexpected ".concat(ft(_e),"."))},me.any=function(ce,_e,Oe){this.expectToken(ce);for(var U=[];!this.expectOptionalToken(Oe);)U.push(_e.call(this));return U},me.optionalMany=function(ce,_e,Oe){if(this.expectOptionalToken(ce)){var U=[];do{U.push(_e.call(this))}while(!this.expectOptionalToken(Oe));return U}return[]},me.many=function(ce,_e,Oe){this.expectToken(ce);var U=[];do{U.push(_e.call(this))}while(!this.expectOptionalToken(Oe));return U},me.delimitedMany=function(ce,_e){this.expectOptionalToken(ce);var Oe=[];do{Oe.push(_e.call(this))}while(this.expectOptionalToken(ce));return Oe},ie}();function ft(ie){var me=ie.value;return Le(ie.kind)+(null!=me?' "'.concat(me,'"'):"")}function Le(ie){return function gt(ie){return ie===Q.BANG||ie===Q.DOLLAR||ie===Q.AMP||ie===Q.PAREN_L||ie===Q.PAREN_R||ie===Q.SPREAD||ie===Q.COLON||ie===Q.EQUALS||ie===Q.AT||ie===Q.BRACKET_L||ie===Q.BRACKET_R||ie===Q.BRACE_L||ie===Q.PIPE||ie===Q.BRACE_R}(ie)?'"'.concat(ie,'"'):ie}var Ye=new Map,mt=new Map,wt=!0,Jt=!1;function bn(ie){return ie.replace(/[\s,]+/g," ").trim()}function Ie(ie){var me=bn(ie);if(!Ye.has(me)){var W=function xe(ie,me){return new Ot(ie,me).parseDocument()}(ie,{experimentalFragmentVariables:Jt,allowLegacyFragmentVariables:Jt});if(!W||"Document"!==W.kind)throw new Error("Not a valid GraphQL document.");Ye.set(me,function we(ie){var me=new Set(ie.definitions);me.forEach(function(ce){ce.loc&&delete ce.loc,Object.keys(ce).forEach(function(_e){var Oe=ce[_e];Oe&&"object"==typeof Oe&&me.add(Oe)})});var W=ie.loc;return W&&(delete W.startToken,delete W.endToken),ie}(function fe(ie){var me=new Set,W=[];return ie.definitions.forEach(function(ce){if("FragmentDefinition"===ce.kind){var _e=ce.name.value,Oe=function J(ie){return bn(ie.source.body.substring(ie.start,ie.end))}(ce.loc),U=mt.get(_e);U&&!U.has(Oe)?wt&&console.warn("Warning: fragment with name "+_e+" already exists.\ngraphql-tag enforces all fragment names across your application to be unique; read more about\nthis in the docs: http://dev.apollodata.com/core/fragments.html#unique-names"):U||mt.set(_e,U=new Set),U.add(Oe),me.has(Oe)||(me.add(Oe),W.push(ce))}else W.push(ce)}),(0,v.pi)((0,v.pi)({},ie),{definitions:W})}(W)))}return Ye.get(me)}function $(ie){for(var me=[],W=1;W{var J,w="__lodash_hash_undefined__",v=1/0,p=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,g=/^\w*$/,y=/^\./,b=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,P=/\\(\\)?/g,N=/^\[object .+?Constructor\]$/,R="object"==typeof global&&global&&global.Object===Object&&global,j="object"==typeof self&&self&&self.Object===Object&&self,F=R||j||Function("return this")(),Ge=Array.prototype,ct=Function.prototype,Nt=Object.prototype,Lt=F["__core-js_shared__"],Tt=(J=/[^.]+$/.exec(Lt&&Lt.keys&&Lt.keys.IE_PROTO||""))?"Symbol(src)_1."+J:"",st=ct.toString,Ze=Nt.hasOwnProperty,Ce=Nt.toString,E=RegExp("^"+st.call(Ze).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),G=F.Symbol,re=Ge.splice,K=xn(F,"Map"),Pe=xn(Object,"create"),Be=G?G.prototype:void 0,ge=Be?Be.toString:void 0;function ot(J){var fe=-1,we=J?J.length:0;for(this.clear();++fe-1},ve.prototype.set=function Dt(J,fe){var we=this.__data__,Ie=tt(we,J);return Ie<0?we.push([J,fe]):we[Ie][1]=fe,this},Ht.prototype.clear=function zt(){this.__data__={hash:new ot,map:new(K||ve),string:new ot}},Ht.prototype.delete=function Fe(J){return jn(this,J).delete(J)},Ht.prototype.get=function ut(J){return jn(this,J).get(J)},Ht.prototype.has=function gt(J){return jn(this,J).has(J)},Ht.prototype.set=function lt(J,fe){return jn(this,J).set(J,fe),this};var Me=at(function(J){J=function Jt(J){return null==J?"":function nn(J){if("string"==typeof J)return J;if(wt(J))return ge?ge.call(J):"";var fe=J+"";return"0"==fe&&1/J==-v?"-0":fe}(J)}(J);var fe=[];return y.test(J)&&fe.push(""),J.replace(b,function(we,Ie,$,he){fe.push($?he.replace(P,"$1"):Ie||we)}),fe});function xe(J){if("string"==typeof J||wt(J))return J;var fe=J+"";return"0"==fe&&1/J==-v?"-0":fe}function at(J,fe){if("function"!=typeof J||fe&&"function"!=typeof fe)throw new TypeError("Expected a function");var we=function(){var Ie=arguments,$=fe?fe.apply(this,Ie):Ie[0],he=we.cache;if(he.has($))return he.get($);var Qe=J.apply(this,Ie);return we.cache=he.set($,Qe),Qe};return we.cache=new(at.Cache||Ht),we}function Ot(J,fe){return J===fe||J!=J&&fe!=fe}at.Cache=Ht;var ft=Array.isArray;function Ye(J){var fe=typeof J;return!!J&&("object"==fe||"function"==fe)}function wt(J){return"symbol"==typeof J||function mt(J){return!!J&&"object"==typeof J}(J)&&"[object Symbol]"==Ce.call(J)}se.exports=function bn(J,fe,we){var Ie=null==J?void 0:function St(J,fe){fe=function ue(J,fe){if(ft(J))return!1;var we=typeof J;return!("number"!=we&&"symbol"!=we&&"boolean"!=we&&null!=J&&!wt(J))||g.test(J)||!p.test(J)||null!=fe&&J in Object(fe)}(fe,J)?[fe]:function Wt(J){return ft(J)?J:Me(J)}(fe);for(var we=0,Ie=fe.length;null!=J&&we{var $,w="__lodash_hash_undefined__",v=1/0,g=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,y=/^\w*$/,b=/^\./,C=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,N=/\\(\\)?/g,R=/^\[object .+?Constructor\]$/,j=/^(?:0|[1-9]\d*)$/,F="object"==typeof global&&global&&global.Object===Object&&global,L="object"==typeof self&&self&&self.Object===Object&&self,ne=F||L||Function("return this")(),Nt=Array.prototype,Lt=Function.prototype,Tt=Object.prototype,st=ne["__core-js_shared__"],Ze=($=/[^.]+$/.exec(st&&st.keys&&st.keys.IE_PROTO||""))?"Symbol(src)_1."+$:"",Ce=Lt.toString,E=Tt.hasOwnProperty,G=Tt.toString,re=RegExp("^"+Ce.call(E).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),K=ne.Symbol,Pe=Nt.splice,Be=le(ne,"Map"),ge=le(Object,"create"),ot=K?K.prototype:void 0,yt=ot?ot.toString:void 0;function We($){var he=-1,Qe=$?$.length:0;for(this.clear();++he-1&&$%1==0&&$-1},be.prototype.set=function zt($,he){var Qe=this.__data__,Bt=nn(Qe,$);return Bt<0?Qe.push([$,he]):Qe[Bt][1]=he,this},Fe.prototype.clear=function ut(){this.__data__={hash:new We,map:new(Be||be),string:new We}},Fe.prototype.delete=function gt($){return Xe(this,$).delete($)},Fe.prototype.get=function lt($){return Xe(this,$).get($)},Fe.prototype.has=function tt($){return Xe(this,$).has($)},Fe.prototype.set=function St($,he){return Xe(this,$).set($,he),this};var Ot=Ye(function($){$=function we($){return null==$?"":function xn($){if("string"==typeof $)return $;if(fe($))return yt?yt.call($):"";var he=$+"";return"0"==he&&1/$==-v?"-0":he}($)}($);var he=[];return b.test($)&&he.push(""),$.replace(C,function(Qe,Bt,_t,Mt){he.push(_t?Mt.replace(N,"$1"):Bt||Qe)}),he});function ft($){if("string"==typeof $||fe($))return $;var he=$+"";return"0"==he&&1/$==-v?"-0":he}function Ye($,he){if("function"!=typeof $||he&&"function"!=typeof he)throw new TypeError("Expected a function");var Qe=function(){var Bt=arguments,_t=he?he.apply(this,Bt):Bt[0],Mt=Qe.cache;if(Mt.has(_t))return Mt.get(_t);var en=$.apply(this,Bt);return Qe.cache=Mt.set(_t,en),en};return Qe.cache=new(Ye.Cache||Fe),Qe}function mt($,he){return $===he||$!=$&&he!=he}Ye.Cache=Fe;var wt=Array.isArray;function bn($){var he=typeof $;return!!$&&("object"==he||"function"==he)}function fe($){return"symbol"==typeof $||function J($){return!!$&&"object"==typeof $}($)&&"[object Symbol]"==G.call($)}se.exports=function Ie($,he,Qe){return null==$?$:function jn($,he,Qe,Bt){if(!bn($))return $;he=function xe($,he){if(wt($))return!1;var Qe=typeof $;return!("number"!=Qe&&"symbol"!=Qe&&"boolean"!=Qe&&null!=$&&!fe($))||y.test($)||!g.test($)||null!=he&&$ in Object(he)}(he,$)?[he]:function ue($){return wt($)?$:Ot($)}(he);for(var _t=-1,Mt=he.length,en=Mt-1,ie=$;null!=ie&&++_t{var w="__lodash_hash_undefined__",p=/^\[object .+?Constructor\]$/,g="object"==typeof global&&global&&global.Object===Object&&global,y="object"==typeof self&&self&&self.Object===Object&&self,b=g||y||Function("return this")();function C(Le,Ye){return!(!Le||!Le.length)&&function R(Le,Ye,mt){if(Ye!=Ye)return function N(Le,Ye,mt,wt){for(var Jt=Le.length,bn=mt+(wt?1:-1);wt?bn--:++bn-1}function P(Le,Ye,mt){for(var wt=-1,Jt=Le?Le.length:0;++wt-1},X.prototype.set=function nt(Le,Ye){var mt=this.__data__,wt=Xt(mt,Le);return wt<0?mt.push([Le,Ye]):mt[wt][1]=Ye,this},Dt.prototype.clear=function Ht(){this.__data__={hash:new ge,map:new(K||X),string:new ge}},Dt.prototype.delete=function zt(Le){return xn(this,Le).delete(Le)},Dt.prototype.get=function Fe(Le){return xn(this,Le).get(Le)},Dt.prototype.has=function ut(Le){return xn(this,Le).has(Le)},Dt.prototype.set=function gt(Le,Ye){return xn(this,Le).set(Le,Ye),this},lt.prototype.add=lt.prototype.push=function tt(Le){return this.__data__.set(Le,w),this},lt.prototype.has=function St(Le){return this.__data__.has(Le)};var jn=Pe&&1/Ge(new Pe([,-0]))[1]==1/0?function(Le){return new Pe(Le)}:function ft(){};function xn(Le,Ye){var mt=Le.__data__;return function Xe(Le){var Ye=typeof Le;return"string"==Ye||"number"==Ye||"symbol"==Ye||"boolean"==Ye?"__proto__"!==Le:null===Le}(Ye)?mt["string"==typeof Ye?"string":"hash"]:mt.map}function ue(Le,Ye){var mt=function L(Le,Ye){return null==Le?void 0:Le[Ye]}(Le,Ye);return function nn(Le){if(!Ot(Le)||function le(Le){return!!st&&st in Le}(Le))return!1;var Ye=function at(Le){var Ye=Ot(Le)?E.call(Le):"";return"[object Function]"==Ye||"[object GeneratorFunction]"==Ye}(Le)||function ne(Le){var Ye=!1;if(null!=Le&&"function"!=typeof Le.toString)try{Ye=!!(Le+"")}catch(mt){}return Ye}(Le)?G:p;return Ye.test(function Me(Le){if(null!=Le){try{return Ze.call(Le)}catch(Ye){}try{return Le+""}catch(Ye){}}return""}(Le))}(mt)?mt:void 0}function Ke(Le,Ye){return Le===Ye||Le!=Le&&Ye!=Ye}function Ot(Le){var Ye=typeof Le;return!!Le&&("object"==Ye||"function"==Ye)}se.exports=function xe(Le){return Le&&Le.length?function Wt(Le,Ye,mt){var wt=-1,Jt=C,bn=Le.length,J=!0,fe=[],we=fe;if(mt)J=!1,Jt=P;else if(bn>=200){var Ie=Ye?null:jn(Le);if(Ie)return Ge(Ie);J=!1,Jt=F,we=new lt}else we=Ye?[]:fe;e:for(;++wt=20?"ste":"de")},week:{dow:1,doy:4}})}(w(5439))},2502:function(se,q,w){!function(v){"use strict";var m=function(y){return 0===y?0:1===y?1:2===y?2:y%100>=3&&y%100<=10?3:y%100>=11?4:5},d={s:["\u0623\u0642\u0644 \u0645\u0646 \u062b\u0627\u0646\u064a\u0629","\u062b\u0627\u0646\u064a\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062b\u0627\u0646\u064a\u062a\u0627\u0646","\u062b\u0627\u0646\u064a\u062a\u064a\u0646"],"%d \u062b\u0648\u0627\u0646","%d \u062b\u0627\u0646\u064a\u0629","%d \u062b\u0627\u0646\u064a\u0629"],m:["\u0623\u0642\u0644 \u0645\u0646 \u062f\u0642\u064a\u0642\u0629","\u062f\u0642\u064a\u0642\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062f\u0642\u064a\u0642\u062a\u0627\u0646","\u062f\u0642\u064a\u0642\u062a\u064a\u0646"],"%d \u062f\u0642\u0627\u0626\u0642","%d \u062f\u0642\u064a\u0642\u0629","%d \u062f\u0642\u064a\u0642\u0629"],h:["\u0623\u0642\u0644 \u0645\u0646 \u0633\u0627\u0639\u0629","\u0633\u0627\u0639\u0629 \u0648\u0627\u062d\u062f\u0629",["\u0633\u0627\u0639\u062a\u0627\u0646","\u0633\u0627\u0639\u062a\u064a\u0646"],"%d \u0633\u0627\u0639\u0627\u062a","%d \u0633\u0627\u0639\u0629","%d \u0633\u0627\u0639\u0629"],d:["\u0623\u0642\u0644 \u0645\u0646 \u064a\u0648\u0645","\u064a\u0648\u0645 \u0648\u0627\u062d\u062f",["\u064a\u0648\u0645\u0627\u0646","\u064a\u0648\u0645\u064a\u0646"],"%d \u0623\u064a\u0627\u0645","%d \u064a\u0648\u0645\u064b\u0627","%d \u064a\u0648\u0645"],M:["\u0623\u0642\u0644 \u0645\u0646 \u0634\u0647\u0631","\u0634\u0647\u0631 \u0648\u0627\u062d\u062f",["\u0634\u0647\u0631\u0627\u0646","\u0634\u0647\u0631\u064a\u0646"],"%d \u0623\u0634\u0647\u0631","%d \u0634\u0647\u0631\u0627","%d \u0634\u0647\u0631"],y:["\u0623\u0642\u0644 \u0645\u0646 \u0639\u0627\u0645","\u0639\u0627\u0645 \u0648\u0627\u062d\u062f",["\u0639\u0627\u0645\u0627\u0646","\u0639\u0627\u0645\u064a\u0646"],"%d \u0623\u0639\u0648\u0627\u0645","%d \u0639\u0627\u0645\u064b\u0627","%d \u0639\u0627\u0645"]},u=function(y){return function(b,C,P,N){var R=m(b),j=d[y][m(b)];return 2===R&&(j=j[C?0:1]),j.replace(/%d/i,b)}},p=["\u062c\u0627\u0646\u0641\u064a","\u0641\u064a\u0641\u0631\u064a","\u0645\u0627\u0631\u0633","\u0623\u0641\u0631\u064a\u0644","\u0645\u0627\u064a","\u062c\u0648\u0627\u0646","\u062c\u0648\u064a\u0644\u064a\u0629","\u0623\u0648\u062a","\u0633\u0628\u062a\u0645\u0628\u0631","\u0623\u0643\u062a\u0648\u0628\u0631","\u0646\u0648\u0641\u0645\u0628\u0631","\u062f\u064a\u0633\u0645\u0628\u0631"];v.defineLocale("ar-dz",{months:p,monthsShort:p,weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0623\u062d\u062f_\u0625\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0623\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/\u200fM/\u200fYYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0635|\u0645/,isPM:function(y){return"\u0645"===y},meridiem:function(y,b,C){return y<12?"\u0635":"\u0645"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u064b\u0627 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0628\u0639\u062f %s",past:"\u0645\u0646\u0630 %s",s:u("s"),ss:u("s"),m:u("m"),mm:u("m"),h:u("h"),hh:u("h"),d:u("d"),dd:u("d"),M:u("M"),MM:u("M"),y:u("y"),yy:u("y")},postformat:function(y){return y.replace(/,/g,"\u060c")},week:{dow:0,doy:4}})}(w(5439))},128:function(se,q,w){!function(v){"use strict";v.defineLocale("ar-kw",{months:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648\u0632_\u063a\u0634\u062a_\u0634\u062a\u0646\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0646\u0628\u0631_\u062f\u062c\u0646\u0628\u0631".split("_"),monthsShort:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648\u0632_\u063a\u0634\u062a_\u0634\u062a\u0646\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0646\u0628\u0631_\u062f\u062c\u0646\u0628\u0631".split("_"),weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062a\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0627\u062d\u062f_\u0627\u062a\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u0627 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0641\u064a %s",past:"\u0645\u0646\u0630 %s",s:"\u062b\u0648\u0627\u0646",ss:"%d \u062b\u0627\u0646\u064a\u0629",m:"\u062f\u0642\u064a\u0642\u0629",mm:"%d \u062f\u0642\u0627\u0626\u0642",h:"\u0633\u0627\u0639\u0629",hh:"%d \u0633\u0627\u0639\u0627\u062a",d:"\u064a\u0648\u0645",dd:"%d \u0623\u064a\u0627\u0645",M:"\u0634\u0647\u0631",MM:"%d \u0623\u0634\u0647\u0631",y:"\u0633\u0646\u0629",yy:"%d \u0633\u0646\u0648\u0627\u062a"},week:{dow:0,doy:12}})}(w(5439))},4519:function(se,q,w){!function(v){"use strict";var m={1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",0:"0"},d=function(b){return 0===b?0:1===b?1:2===b?2:b%100>=3&&b%100<=10?3:b%100>=11?4:5},u={s:["\u0623\u0642\u0644 \u0645\u0646 \u062b\u0627\u0646\u064a\u0629","\u062b\u0627\u0646\u064a\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062b\u0627\u0646\u064a\u062a\u0627\u0646","\u062b\u0627\u0646\u064a\u062a\u064a\u0646"],"%d \u062b\u0648\u0627\u0646","%d \u062b\u0627\u0646\u064a\u0629","%d \u062b\u0627\u0646\u064a\u0629"],m:["\u0623\u0642\u0644 \u0645\u0646 \u062f\u0642\u064a\u0642\u0629","\u062f\u0642\u064a\u0642\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062f\u0642\u064a\u0642\u062a\u0627\u0646","\u062f\u0642\u064a\u0642\u062a\u064a\u0646"],"%d \u062f\u0642\u0627\u0626\u0642","%d \u062f\u0642\u064a\u0642\u0629","%d \u062f\u0642\u064a\u0642\u0629"],h:["\u0623\u0642\u0644 \u0645\u0646 \u0633\u0627\u0639\u0629","\u0633\u0627\u0639\u0629 \u0648\u0627\u062d\u062f\u0629",["\u0633\u0627\u0639\u062a\u0627\u0646","\u0633\u0627\u0639\u062a\u064a\u0646"],"%d \u0633\u0627\u0639\u0627\u062a","%d \u0633\u0627\u0639\u0629","%d \u0633\u0627\u0639\u0629"],d:["\u0623\u0642\u0644 \u0645\u0646 \u064a\u0648\u0645","\u064a\u0648\u0645 \u0648\u0627\u062d\u062f",["\u064a\u0648\u0645\u0627\u0646","\u064a\u0648\u0645\u064a\u0646"],"%d \u0623\u064a\u0627\u0645","%d \u064a\u0648\u0645\u064b\u0627","%d \u064a\u0648\u0645"],M:["\u0623\u0642\u0644 \u0645\u0646 \u0634\u0647\u0631","\u0634\u0647\u0631 \u0648\u0627\u062d\u062f",["\u0634\u0647\u0631\u0627\u0646","\u0634\u0647\u0631\u064a\u0646"],"%d \u0623\u0634\u0647\u0631","%d \u0634\u0647\u0631\u0627","%d \u0634\u0647\u0631"],y:["\u0623\u0642\u0644 \u0645\u0646 \u0639\u0627\u0645","\u0639\u0627\u0645 \u0648\u0627\u062d\u062f",["\u0639\u0627\u0645\u0627\u0646","\u0639\u0627\u0645\u064a\u0646"],"%d \u0623\u0639\u0648\u0627\u0645","%d \u0639\u0627\u0645\u064b\u0627","%d \u0639\u0627\u0645"]},p=function(b){return function(C,P,N,R){var j=d(C),F=u[b][d(C)];return 2===j&&(F=F[P?0:1]),F.replace(/%d/i,C)}},g=["\u064a\u0646\u0627\u064a\u0631","\u0641\u0628\u0631\u0627\u064a\u0631","\u0645\u0627\u0631\u0633","\u0623\u0628\u0631\u064a\u0644","\u0645\u0627\u064a\u0648","\u064a\u0648\u0646\u064a\u0648","\u064a\u0648\u0644\u064a\u0648","\u0623\u063a\u0633\u0637\u0633","\u0633\u0628\u062a\u0645\u0628\u0631","\u0623\u0643\u062a\u0648\u0628\u0631","\u0646\u0648\u0641\u0645\u0628\u0631","\u062f\u064a\u0633\u0645\u0628\u0631"];v.defineLocale("ar-ly",{months:g,monthsShort:g,weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0623\u062d\u062f_\u0625\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0623\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/\u200fM/\u200fYYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0635|\u0645/,isPM:function(b){return"\u0645"===b},meridiem:function(b,C,P){return b<12?"\u0635":"\u0645"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u064b\u0627 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0628\u0639\u062f %s",past:"\u0645\u0646\u0630 %s",s:p("s"),ss:p("s"),m:p("m"),mm:p("m"),h:p("h"),hh:p("h"),d:p("d"),dd:p("d"),M:p("M"),MM:p("M"),y:p("y"),yy:p("y")},preparse:function(b){return b.replace(/\u060c/g,",")},postformat:function(b){return b.replace(/\d/g,function(C){return m[C]}).replace(/,/g,"\u060c")},week:{dow:6,doy:12}})}(w(5439))},5443:function(se,q,w){!function(v){"use strict";v.defineLocale("ar-ma",{months:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648\u0632_\u063a\u0634\u062a_\u0634\u062a\u0646\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0646\u0628\u0631_\u062f\u062c\u0646\u0628\u0631".split("_"),monthsShort:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648\u0632_\u063a\u0634\u062a_\u0634\u062a\u0646\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0646\u0628\u0631_\u062f\u062c\u0646\u0628\u0631".split("_"),weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0627\u062d\u062f_\u0627\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u0627 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0641\u064a %s",past:"\u0645\u0646\u0630 %s",s:"\u062b\u0648\u0627\u0646",ss:"%d \u062b\u0627\u0646\u064a\u0629",m:"\u062f\u0642\u064a\u0642\u0629",mm:"%d \u062f\u0642\u0627\u0626\u0642",h:"\u0633\u0627\u0639\u0629",hh:"%d \u0633\u0627\u0639\u0627\u062a",d:"\u064a\u0648\u0645",dd:"%d \u0623\u064a\u0627\u0645",M:"\u0634\u0647\u0631",MM:"%d \u0623\u0634\u0647\u0631",y:"\u0633\u0646\u0629",yy:"%d \u0633\u0646\u0648\u0627\u062a"},week:{dow:1,doy:4}})}(w(5439))},4523:function(se,q,w){!function(v){"use strict";var m={1:"\u0661",2:"\u0662",3:"\u0663",4:"\u0664",5:"\u0665",6:"\u0666",7:"\u0667",8:"\u0668",9:"\u0669",0:"\u0660"},d={"\u0661":"1","\u0662":"2","\u0663":"3","\u0664":"4","\u0665":"5","\u0666":"6","\u0667":"7","\u0668":"8","\u0669":"9","\u0660":"0"};v.defineLocale("ar-ps",{months:"\u0643\u0627\u0646\u0648\u0646 \u0627\u0644\u062b\u0627\u0646\u064a_\u0634\u0628\u0627\u0637_\u0622\u0630\u0627\u0631_\u0646\u064a\u0633\u0627\u0646_\u0623\u064a\u0651\u0627\u0631_\u062d\u0632\u064a\u0631\u0627\u0646_\u062a\u0645\u0651\u0648\u0632_\u0622\u0628_\u0623\u064a\u0644\u0648\u0644_\u062a\u0634\u0631\u064a \u0627\u0644\u0623\u0648\u0651\u0644_\u062a\u0634\u0631\u064a\u0646 \u0627\u0644\u062b\u0627\u0646\u064a_\u0643\u0627\u0646\u0648\u0646 \u0627\u0644\u0623\u0648\u0651\u0644".split("_"),monthsShort:"\u0643\u0662_\u0634\u0628\u0627\u0637_\u0622\u0630\u0627\u0631_\u0646\u064a\u0633\u0627\u0646_\u0623\u064a\u0651\u0627\u0631_\u062d\u0632\u064a\u0631\u0627\u0646_\u062a\u0645\u0651\u0648\u0632_\u0622\u0628_\u0623\u064a\u0644\u0648\u0644_\u062a\u0661_\u062a\u0662_\u0643\u0661".split("_"),weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0623\u062d\u062f_\u0625\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0623\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0635|\u0645/,isPM:function(p){return"\u0645"===p},meridiem:function(p,g,y){return p<12?"\u0635":"\u0645"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u0627 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0641\u064a %s",past:"\u0645\u0646\u0630 %s",s:"\u062b\u0648\u0627\u0646",ss:"%d \u062b\u0627\u0646\u064a\u0629",m:"\u062f\u0642\u064a\u0642\u0629",mm:"%d \u062f\u0642\u0627\u0626\u0642",h:"\u0633\u0627\u0639\u0629",hh:"%d \u0633\u0627\u0639\u0627\u062a",d:"\u064a\u0648\u0645",dd:"%d \u0623\u064a\u0627\u0645",M:"\u0634\u0647\u0631",MM:"%d \u0623\u0634\u0647\u0631",y:"\u0633\u0646\u0629",yy:"%d \u0633\u0646\u0648\u0627\u062a"},preparse:function(p){return p.replace(/[\u0663\u0664\u0665\u0666\u0667\u0668\u0669\u0660]/g,function(g){return d[g]}).split("").reverse().join("").replace(/[\u0661\u0662](?![\u062a\u0643])/g,function(g){return d[g]}).split("").reverse().join("").replace(/\u060c/g,",")},postformat:function(p){return p.replace(/\d/g,function(g){return m[g]}).replace(/,/g,"\u060c")},week:{dow:0,doy:6}})}(w(5439))},7642:function(se,q,w){!function(v){"use strict";var m={1:"\u0661",2:"\u0662",3:"\u0663",4:"\u0664",5:"\u0665",6:"\u0666",7:"\u0667",8:"\u0668",9:"\u0669",0:"\u0660"},d={"\u0661":"1","\u0662":"2","\u0663":"3","\u0664":"4","\u0665":"5","\u0666":"6","\u0667":"7","\u0668":"8","\u0669":"9","\u0660":"0"};v.defineLocale("ar-sa",{months:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a\u0648_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648_\u0623\u063a\u0633\u0637\u0633_\u0633\u0628\u062a\u0645\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0641\u0645\u0628\u0631_\u062f\u064a\u0633\u0645\u0628\u0631".split("_"),monthsShort:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a\u0648_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648_\u0623\u063a\u0633\u0637\u0633_\u0633\u0628\u062a\u0645\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0641\u0645\u0628\u0631_\u062f\u064a\u0633\u0645\u0628\u0631".split("_"),weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0623\u062d\u062f_\u0625\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0623\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0635|\u0645/,isPM:function(p){return"\u0645"===p},meridiem:function(p,g,y){return p<12?"\u0635":"\u0645"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u0627 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0641\u064a %s",past:"\u0645\u0646\u0630 %s",s:"\u062b\u0648\u0627\u0646",ss:"%d \u062b\u0627\u0646\u064a\u0629",m:"\u062f\u0642\u064a\u0642\u0629",mm:"%d \u062f\u0642\u0627\u0626\u0642",h:"\u0633\u0627\u0639\u0629",hh:"%d \u0633\u0627\u0639\u0627\u062a",d:"\u064a\u0648\u0645",dd:"%d \u0623\u064a\u0627\u0645",M:"\u0634\u0647\u0631",MM:"%d \u0623\u0634\u0647\u0631",y:"\u0633\u0646\u0629",yy:"%d \u0633\u0646\u0648\u0627\u062a"},preparse:function(p){return p.replace(/[\u0661\u0662\u0663\u0664\u0665\u0666\u0667\u0668\u0669\u0660]/g,function(g){return d[g]}).replace(/\u060c/g,",")},postformat:function(p){return p.replace(/\d/g,function(g){return m[g]}).replace(/,/g,"\u060c")},week:{dow:0,doy:6}})}(w(5439))},8592:function(se,q,w){!function(v){"use strict";v.defineLocale("ar-tn",{months:"\u062c\u0627\u0646\u0641\u064a_\u0641\u064a\u0641\u0631\u064a_\u0645\u0627\u0631\u0633_\u0623\u0641\u0631\u064a\u0644_\u0645\u0627\u064a_\u062c\u0648\u0627\u0646_\u062c\u0648\u064a\u0644\u064a\u0629_\u0623\u0648\u062a_\u0633\u0628\u062a\u0645\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0641\u0645\u0628\u0631_\u062f\u064a\u0633\u0645\u0628\u0631".split("_"),monthsShort:"\u062c\u0627\u0646\u0641\u064a_\u0641\u064a\u0641\u0631\u064a_\u0645\u0627\u0631\u0633_\u0623\u0641\u0631\u064a\u0644_\u0645\u0627\u064a_\u062c\u0648\u0627\u0646_\u062c\u0648\u064a\u0644\u064a\u0629_\u0623\u0648\u062a_\u0633\u0628\u062a\u0645\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0641\u0645\u0628\u0631_\u062f\u064a\u0633\u0645\u0628\u0631".split("_"),weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0623\u062d\u062f_\u0625\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0623\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u0627 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0641\u064a %s",past:"\u0645\u0646\u0630 %s",s:"\u062b\u0648\u0627\u0646",ss:"%d \u062b\u0627\u0646\u064a\u0629",m:"\u062f\u0642\u064a\u0642\u0629",mm:"%d \u062f\u0642\u0627\u0626\u0642",h:"\u0633\u0627\u0639\u0629",hh:"%d \u0633\u0627\u0639\u0627\u062a",d:"\u064a\u0648\u0645",dd:"%d \u0623\u064a\u0627\u0645",M:"\u0634\u0647\u0631",MM:"%d \u0623\u0634\u0647\u0631",y:"\u0633\u0646\u0629",yy:"%d \u0633\u0646\u0648\u0627\u062a"},week:{dow:1,doy:4}})}(w(5439))},7038:function(se,q,w){!function(v){"use strict";var m={1:"\u0661",2:"\u0662",3:"\u0663",4:"\u0664",5:"\u0665",6:"\u0666",7:"\u0667",8:"\u0668",9:"\u0669",0:"\u0660"},d={"\u0661":"1","\u0662":"2","\u0663":"3","\u0664":"4","\u0665":"5","\u0666":"6","\u0667":"7","\u0668":"8","\u0669":"9","\u0660":"0"},u=function(C){return 0===C?0:1===C?1:2===C?2:C%100>=3&&C%100<=10?3:C%100>=11?4:5},p={s:["\u0623\u0642\u0644 \u0645\u0646 \u062b\u0627\u0646\u064a\u0629","\u062b\u0627\u0646\u064a\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062b\u0627\u0646\u064a\u062a\u0627\u0646","\u062b\u0627\u0646\u064a\u062a\u064a\u0646"],"%d \u062b\u0648\u0627\u0646","%d \u062b\u0627\u0646\u064a\u0629","%d \u062b\u0627\u0646\u064a\u0629"],m:["\u0623\u0642\u0644 \u0645\u0646 \u062f\u0642\u064a\u0642\u0629","\u062f\u0642\u064a\u0642\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062f\u0642\u064a\u0642\u062a\u0627\u0646","\u062f\u0642\u064a\u0642\u062a\u064a\u0646"],"%d \u062f\u0642\u0627\u0626\u0642","%d \u062f\u0642\u064a\u0642\u0629","%d \u062f\u0642\u064a\u0642\u0629"],h:["\u0623\u0642\u0644 \u0645\u0646 \u0633\u0627\u0639\u0629","\u0633\u0627\u0639\u0629 \u0648\u0627\u062d\u062f\u0629",["\u0633\u0627\u0639\u062a\u0627\u0646","\u0633\u0627\u0639\u062a\u064a\u0646"],"%d \u0633\u0627\u0639\u0627\u062a","%d \u0633\u0627\u0639\u0629","%d \u0633\u0627\u0639\u0629"],d:["\u0623\u0642\u0644 \u0645\u0646 \u064a\u0648\u0645","\u064a\u0648\u0645 \u0648\u0627\u062d\u062f",["\u064a\u0648\u0645\u0627\u0646","\u064a\u0648\u0645\u064a\u0646"],"%d \u0623\u064a\u0627\u0645","%d \u064a\u0648\u0645\u064b\u0627","%d \u064a\u0648\u0645"],M:["\u0623\u0642\u0644 \u0645\u0646 \u0634\u0647\u0631","\u0634\u0647\u0631 \u0648\u0627\u062d\u062f",["\u0634\u0647\u0631\u0627\u0646","\u0634\u0647\u0631\u064a\u0646"],"%d \u0623\u0634\u0647\u0631","%d \u0634\u0647\u0631\u0627","%d \u0634\u0647\u0631"],y:["\u0623\u0642\u0644 \u0645\u0646 \u0639\u0627\u0645","\u0639\u0627\u0645 \u0648\u0627\u062d\u062f",["\u0639\u0627\u0645\u0627\u0646","\u0639\u0627\u0645\u064a\u0646"],"%d \u0623\u0639\u0648\u0627\u0645","%d \u0639\u0627\u0645\u064b\u0627","%d \u0639\u0627\u0645"]},g=function(C){return function(P,N,R,j){var F=u(P),L=p[C][u(P)];return 2===F&&(L=L[N?0:1]),L.replace(/%d/i,P)}},y=["\u064a\u0646\u0627\u064a\u0631","\u0641\u0628\u0631\u0627\u064a\u0631","\u0645\u0627\u0631\u0633","\u0623\u0628\u0631\u064a\u0644","\u0645\u0627\u064a\u0648","\u064a\u0648\u0646\u064a\u0648","\u064a\u0648\u0644\u064a\u0648","\u0623\u063a\u0633\u0637\u0633","\u0633\u0628\u062a\u0645\u0628\u0631","\u0623\u0643\u062a\u0648\u0628\u0631","\u0646\u0648\u0641\u0645\u0628\u0631","\u062f\u064a\u0633\u0645\u0628\u0631"];v.defineLocale("ar",{months:y,monthsShort:y,weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0623\u062d\u062f_\u0625\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0623\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/\u200fM/\u200fYYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0635|\u0645/,isPM:function(C){return"\u0645"===C},meridiem:function(C,P,N){return C<12?"\u0635":"\u0645"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u064b\u0627 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0628\u0639\u062f %s",past:"\u0645\u0646\u0630 %s",s:g("s"),ss:g("s"),m:g("m"),mm:g("m"),h:g("h"),hh:g("h"),d:g("d"),dd:g("d"),M:g("M"),MM:g("M"),y:g("y"),yy:g("y")},preparse:function(C){return C.replace(/[\u0661\u0662\u0663\u0664\u0665\u0666\u0667\u0668\u0669\u0660]/g,function(P){return d[P]}).replace(/\u060c/g,",")},postformat:function(C){return C.replace(/\d/g,function(P){return m[P]}).replace(/,/g,"\u060c")},week:{dow:6,doy:12}})}(w(5439))},1213:function(se,q,w){!function(v){"use strict";var m={1:"-inci",5:"-inci",8:"-inci",70:"-inci",80:"-inci",2:"-nci",7:"-nci",20:"-nci",50:"-nci",3:"-\xfcnc\xfc",4:"-\xfcnc\xfc",100:"-\xfcnc\xfc",6:"-nc\u0131",9:"-uncu",10:"-uncu",30:"-uncu",60:"-\u0131nc\u0131",90:"-\u0131nc\u0131"};v.defineLocale("az",{months:"yanvar_fevral_mart_aprel_may_iyun_iyul_avqust_sentyabr_oktyabr_noyabr_dekabr".split("_"),monthsShort:"yan_fev_mar_apr_may_iyn_iyl_avq_sen_okt_noy_dek".split("_"),weekdays:"Bazar_Bazar ert\u0259si_\xc7\u0259r\u015f\u0259nb\u0259 ax\u015fam\u0131_\xc7\u0259r\u015f\u0259nb\u0259_C\xfcm\u0259 ax\u015fam\u0131_C\xfcm\u0259_\u015e\u0259nb\u0259".split("_"),weekdaysShort:"Baz_BzE_\xc7Ax_\xc7\u0259r_CAx_C\xfcm_\u015e\u0259n".split("_"),weekdaysMin:"Bz_BE_\xc7A_\xc7\u0259_CA_C\xfc_\u015e\u0259".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bug\xfcn saat] LT",nextDay:"[sabah saat] LT",nextWeek:"[g\u0259l\u0259n h\u0259ft\u0259] dddd [saat] LT",lastDay:"[d\xfcn\u0259n] LT",lastWeek:"[ke\xe7\u0259n h\u0259ft\u0259] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s sonra",past:"%s \u0259vv\u0259l",s:"bir ne\xe7\u0259 saniy\u0259",ss:"%d saniy\u0259",m:"bir d\u0259qiq\u0259",mm:"%d d\u0259qiq\u0259",h:"bir saat",hh:"%d saat",d:"bir g\xfcn",dd:"%d g\xfcn",M:"bir ay",MM:"%d ay",y:"bir il",yy:"%d il"},meridiemParse:/gec\u0259|s\u0259h\u0259r|g\xfcnd\xfcz|ax\u015fam/,isPM:function(u){return/^(g\xfcnd\xfcz|ax\u015fam)$/.test(u)},meridiem:function(u,p,g){return u<4?"gec\u0259":u<12?"s\u0259h\u0259r":u<17?"g\xfcnd\xfcz":"ax\u015fam"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0131nc\u0131|inci|nci|\xfcnc\xfc|nc\u0131|uncu)/,ordinal:function(u){if(0===u)return u+"-\u0131nc\u0131";var p=u%10;return u+(m[p]||m[u%100-p]||m[u>=100?100:null])},week:{dow:1,doy:7}})}(w(5439))},9191:function(se,q,w){!function(v){"use strict";function d(p,g,y){return"m"===y?g?"\u0445\u0432\u0456\u043b\u0456\u043d\u0430":"\u0445\u0432\u0456\u043b\u0456\u043d\u0443":"h"===y?g?"\u0433\u0430\u0434\u0437\u0456\u043d\u0430":"\u0433\u0430\u0434\u0437\u0456\u043d\u0443":p+" "+function m(p,g){var y=p.split("_");return g%10==1&&g%100!=11?y[0]:g%10>=2&&g%10<=4&&(g%100<10||g%100>=20)?y[1]:y[2]}({ss:g?"\u0441\u0435\u043a\u0443\u043d\u0434\u0430_\u0441\u0435\u043a\u0443\u043d\u0434\u044b_\u0441\u0435\u043a\u0443\u043d\u0434":"\u0441\u0435\u043a\u0443\u043d\u0434\u0443_\u0441\u0435\u043a\u0443\u043d\u0434\u044b_\u0441\u0435\u043a\u0443\u043d\u0434",mm:g?"\u0445\u0432\u0456\u043b\u0456\u043d\u0430_\u0445\u0432\u0456\u043b\u0456\u043d\u044b_\u0445\u0432\u0456\u043b\u0456\u043d":"\u0445\u0432\u0456\u043b\u0456\u043d\u0443_\u0445\u0432\u0456\u043b\u0456\u043d\u044b_\u0445\u0432\u0456\u043b\u0456\u043d",hh:g?"\u0433\u0430\u0434\u0437\u0456\u043d\u0430_\u0433\u0430\u0434\u0437\u0456\u043d\u044b_\u0433\u0430\u0434\u0437\u0456\u043d":"\u0433\u0430\u0434\u0437\u0456\u043d\u0443_\u0433\u0430\u0434\u0437\u0456\u043d\u044b_\u0433\u0430\u0434\u0437\u0456\u043d",dd:"\u0434\u0437\u0435\u043d\u044c_\u0434\u043d\u0456_\u0434\u0437\u0451\u043d",MM:"\u043c\u0435\u0441\u044f\u0446_\u043c\u0435\u0441\u044f\u0446\u044b_\u043c\u0435\u0441\u044f\u0446\u0430\u045e",yy:"\u0433\u043e\u0434_\u0433\u0430\u0434\u044b_\u0433\u0430\u0434\u043e\u045e"}[y],+p)}v.defineLocale("be",{months:{format:"\u0441\u0442\u0443\u0434\u0437\u0435\u043d\u044f_\u043b\u044e\u0442\u0430\u0433\u0430_\u0441\u0430\u043a\u0430\u0432\u0456\u043a\u0430_\u043a\u0440\u0430\u0441\u0430\u0432\u0456\u043a\u0430_\u0442\u0440\u0430\u045e\u043d\u044f_\u0447\u044d\u0440\u0432\u0435\u043d\u044f_\u043b\u0456\u043f\u0435\u043d\u044f_\u0436\u043d\u0456\u045e\u043d\u044f_\u0432\u0435\u0440\u0430\u0441\u043d\u044f_\u043a\u0430\u0441\u0442\u0440\u044b\u0447\u043d\u0456\u043a\u0430_\u043b\u0456\u0441\u0442\u0430\u043f\u0430\u0434\u0430_\u0441\u043d\u0435\u0436\u043d\u044f".split("_"),standalone:"\u0441\u0442\u0443\u0434\u0437\u0435\u043d\u044c_\u043b\u044e\u0442\u044b_\u0441\u0430\u043a\u0430\u0432\u0456\u043a_\u043a\u0440\u0430\u0441\u0430\u0432\u0456\u043a_\u0442\u0440\u0430\u0432\u0435\u043d\u044c_\u0447\u044d\u0440\u0432\u0435\u043d\u044c_\u043b\u0456\u043f\u0435\u043d\u044c_\u0436\u043d\u0456\u0432\u0435\u043d\u044c_\u0432\u0435\u0440\u0430\u0441\u0435\u043d\u044c_\u043a\u0430\u0441\u0442\u0440\u044b\u0447\u043d\u0456\u043a_\u043b\u0456\u0441\u0442\u0430\u043f\u0430\u0434_\u0441\u043d\u0435\u0436\u0430\u043d\u044c".split("_")},monthsShort:"\u0441\u0442\u0443\u0434_\u043b\u044e\u0442_\u0441\u0430\u043a_\u043a\u0440\u0430\u0441_\u0442\u0440\u0430\u0432_\u0447\u044d\u0440\u0432_\u043b\u0456\u043f_\u0436\u043d\u0456\u0432_\u0432\u0435\u0440_\u043a\u0430\u0441\u0442_\u043b\u0456\u0441\u0442_\u0441\u043d\u0435\u0436".split("_"),weekdays:{format:"\u043d\u044f\u0434\u0437\u0435\u043b\u044e_\u043f\u0430\u043d\u044f\u0434\u0437\u0435\u043b\u0430\u043a_\u0430\u045e\u0442\u043e\u0440\u0430\u043a_\u0441\u0435\u0440\u0430\u0434\u0443_\u0447\u0430\u0446\u0432\u0435\u0440_\u043f\u044f\u0442\u043d\u0456\u0446\u0443_\u0441\u0443\u0431\u043e\u0442\u0443".split("_"),standalone:"\u043d\u044f\u0434\u0437\u0435\u043b\u044f_\u043f\u0430\u043d\u044f\u0434\u0437\u0435\u043b\u0430\u043a_\u0430\u045e\u0442\u043e\u0440\u0430\u043a_\u0441\u0435\u0440\u0430\u0434\u0430_\u0447\u0430\u0446\u0432\u0435\u0440_\u043f\u044f\u0442\u043d\u0456\u0446\u0430_\u0441\u0443\u0431\u043e\u0442\u0430".split("_"),isFormat:/\[ ?[\u0423\u0443\u045e] ?(?:\u043c\u0456\u043d\u0443\u043b\u0443\u044e|\u043d\u0430\u0441\u0442\u0443\u043f\u043d\u0443\u044e)? ?\] ?dddd/},weekdaysShort:"\u043d\u0434_\u043f\u043d_\u0430\u0442_\u0441\u0440_\u0447\u0446_\u043f\u0442_\u0441\u0431".split("_"),weekdaysMin:"\u043d\u0434_\u043f\u043d_\u0430\u0442_\u0441\u0440_\u0447\u0446_\u043f\u0442_\u0441\u0431".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY \u0433.",LLL:"D MMMM YYYY \u0433., HH:mm",LLLL:"dddd, D MMMM YYYY \u0433., HH:mm"},calendar:{sameDay:"[\u0421\u0451\u043d\u043d\u044f \u045e] LT",nextDay:"[\u0417\u0430\u045e\u0442\u0440\u0430 \u045e] LT",lastDay:"[\u0423\u0447\u043e\u0440\u0430 \u045e] LT",nextWeek:function(){return"[\u0423] dddd [\u045e] LT"},lastWeek:function(){switch(this.day()){case 0:case 3:case 5:case 6:return"[\u0423 \u043c\u0456\u043d\u0443\u043b\u0443\u044e] dddd [\u045e] LT";case 1:case 2:case 4:return"[\u0423 \u043c\u0456\u043d\u0443\u043b\u044b] dddd [\u045e] LT"}},sameElse:"L"},relativeTime:{future:"\u043f\u0440\u0430\u0437 %s",past:"%s \u0442\u0430\u043c\u0443",s:"\u043d\u0435\u043a\u0430\u043b\u044c\u043a\u0456 \u0441\u0435\u043a\u0443\u043d\u0434",m:d,mm:d,h:d,hh:d,d:"\u0434\u0437\u0435\u043d\u044c",dd:d,M:"\u043c\u0435\u0441\u044f\u0446",MM:d,y:"\u0433\u043e\u0434",yy:d},meridiemParse:/\u043d\u043e\u0447\u044b|\u0440\u0430\u043d\u0456\u0446\u044b|\u0434\u043d\u044f|\u0432\u0435\u0447\u0430\u0440\u0430/,isPM:function(p){return/^(\u0434\u043d\u044f|\u0432\u0435\u0447\u0430\u0440\u0430)$/.test(p)},meridiem:function(p,g,y){return p<4?"\u043d\u043e\u0447\u044b":p<12?"\u0440\u0430\u043d\u0456\u0446\u044b":p<17?"\u0434\u043d\u044f":"\u0432\u0435\u0447\u0430\u0440\u0430"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0456|\u044b|\u0433\u0430)/,ordinal:function(p,g){switch(g){case"M":case"d":case"DDD":case"w":case"W":return p%10!=2&&p%10!=3||p%100==12||p%100==13?p+"-\u044b":p+"-\u0456";case"D":return p+"-\u0433\u0430";default:return p}},week:{dow:1,doy:7}})}(w(5439))},322:function(se,q,w){!function(v){"use strict";v.defineLocale("bg",{months:"\u044f\u043d\u0443\u0430\u0440\u0438_\u0444\u0435\u0432\u0440\u0443\u0430\u0440\u0438_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0438\u043b_\u043c\u0430\u0439_\u044e\u043d\u0438_\u044e\u043b\u0438_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043f\u0442\u0435\u043c\u0432\u0440\u0438_\u043e\u043a\u0442\u043e\u043c\u0432\u0440\u0438_\u043d\u043e\u0435\u043c\u0432\u0440\u0438_\u0434\u0435\u043a\u0435\u043c\u0432\u0440\u0438".split("_"),monthsShort:"\u044f\u043d\u0443_\u0444\u0435\u0432_\u043c\u0430\u0440_\u0430\u043f\u0440_\u043c\u0430\u0439_\u044e\u043d\u0438_\u044e\u043b\u0438_\u0430\u0432\u0433_\u0441\u0435\u043f_\u043e\u043a\u0442_\u043d\u043e\u0435_\u0434\u0435\u043a".split("_"),weekdays:"\u043d\u0435\u0434\u0435\u043b\u044f_\u043f\u043e\u043d\u0435\u0434\u0435\u043b\u043d\u0438\u043a_\u0432\u0442\u043e\u0440\u043d\u0438\u043a_\u0441\u0440\u044f\u0434\u0430_\u0447\u0435\u0442\u0432\u044a\u0440\u0442\u044a\u043a_\u043f\u0435\u0442\u044a\u043a_\u0441\u044a\u0431\u043e\u0442\u0430".split("_"),weekdaysShort:"\u043d\u0435\u0434_\u043f\u043e\u043d_\u0432\u0442\u043e_\u0441\u0440\u044f_\u0447\u0435\u0442_\u043f\u0435\u0442_\u0441\u044a\u0431".split("_"),weekdaysMin:"\u043d\u0434_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[\u0414\u043d\u0435\u0441 \u0432] LT",nextDay:"[\u0423\u0442\u0440\u0435 \u0432] LT",nextWeek:"dddd [\u0432] LT",lastDay:"[\u0412\u0447\u0435\u0440\u0430 \u0432] LT",lastWeek:function(){switch(this.day()){case 0:case 3:case 6:return"[\u041c\u0438\u043d\u0430\u043b\u0430\u0442\u0430] dddd [\u0432] LT";case 1:case 2:case 4:case 5:return"[\u041c\u0438\u043d\u0430\u043b\u0438\u044f] dddd [\u0432] LT"}},sameElse:"L"},relativeTime:{future:"\u0441\u043b\u0435\u0434 %s",past:"\u043f\u0440\u0435\u0434\u0438 %s",s:"\u043d\u044f\u043a\u043e\u043b\u043a\u043e \u0441\u0435\u043a\u0443\u043d\u0434\u0438",ss:"%d \u0441\u0435\u043a\u0443\u043d\u0434\u0438",m:"\u043c\u0438\u043d\u0443\u0442\u0430",mm:"%d \u043c\u0438\u043d\u0443\u0442\u0438",h:"\u0447\u0430\u0441",hh:"%d \u0447\u0430\u0441\u0430",d:"\u0434\u0435\u043d",dd:"%d \u0434\u0435\u043d\u0430",w:"\u0441\u0435\u0434\u043c\u0438\u0446\u0430",ww:"%d \u0441\u0435\u0434\u043c\u0438\u0446\u0438",M:"\u043c\u0435\u0441\u0435\u0446",MM:"%d \u043c\u0435\u0441\u0435\u0446\u0430",y:"\u0433\u043e\u0434\u0438\u043d\u0430",yy:"%d \u0433\u043e\u0434\u0438\u043d\u0438"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0435\u0432|\u0435\u043d|\u0442\u0438|\u0432\u0438|\u0440\u0438|\u043c\u0438)/,ordinal:function(d){var u=d%10,p=d%100;return 0===d?d+"-\u0435\u0432":0===p?d+"-\u0435\u043d":p>10&&p<20?d+"-\u0442\u0438":1===u?d+"-\u0432\u0438":2===u?d+"-\u0440\u0438":7===u||8===u?d+"-\u043c\u0438":d+"-\u0442\u0438"},week:{dow:1,doy:7}})}(w(5439))},8042:function(se,q,w){!function(v){"use strict";v.defineLocale("bm",{months:"Zanwuyekalo_Fewuruyekalo_Marisikalo_Awirilikalo_M\u025bkalo_Zuw\u025bnkalo_Zuluyekalo_Utikalo_S\u025btanburukalo_\u0254kut\u0254burukalo_Nowanburukalo_Desanburukalo".split("_"),monthsShort:"Zan_Few_Mar_Awi_M\u025b_Zuw_Zul_Uti_S\u025bt_\u0254ku_Now_Des".split("_"),weekdays:"Kari_Nt\u025bn\u025bn_Tarata_Araba_Alamisa_Juma_Sibiri".split("_"),weekdaysShort:"Kar_Nt\u025b_Tar_Ara_Ala_Jum_Sib".split("_"),weekdaysMin:"Ka_Nt_Ta_Ar_Al_Ju_Si".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"MMMM [tile] D [san] YYYY",LLL:"MMMM [tile] D [san] YYYY [l\u025br\u025b] HH:mm",LLLL:"dddd MMMM [tile] D [san] YYYY [l\u025br\u025b] HH:mm"},calendar:{sameDay:"[Bi l\u025br\u025b] LT",nextDay:"[Sini l\u025br\u025b] LT",nextWeek:"dddd [don l\u025br\u025b] LT",lastDay:"[Kunu l\u025br\u025b] LT",lastWeek:"dddd [t\u025bm\u025bnen l\u025br\u025b] LT",sameElse:"L"},relativeTime:{future:"%s k\u0254n\u0254",past:"a b\u025b %s b\u0254",s:"sanga dama dama",ss:"sekondi %d",m:"miniti kelen",mm:"miniti %d",h:"l\u025br\u025b kelen",hh:"l\u025br\u025b %d",d:"tile kelen",dd:"tile %d",M:"kalo kelen",MM:"kalo %d",y:"san kelen",yy:"san %d"},week:{dow:1,doy:4}})}(w(5439))},5903:function(se,q,w){!function(v){"use strict";var m={1:"\u09e7",2:"\u09e8",3:"\u09e9",4:"\u09ea",5:"\u09eb",6:"\u09ec",7:"\u09ed",8:"\u09ee",9:"\u09ef",0:"\u09e6"},d={"\u09e7":"1","\u09e8":"2","\u09e9":"3","\u09ea":"4","\u09eb":"5","\u09ec":"6","\u09ed":"7","\u09ee":"8","\u09ef":"9","\u09e6":"0"};v.defineLocale("bn-bd",{months:"\u099c\u09be\u09a8\u09c1\u09df\u09be\u09b0\u09bf_\u09ab\u09c7\u09ac\u09cd\u09b0\u09c1\u09df\u09be\u09b0\u09bf_\u09ae\u09be\u09b0\u09cd\u099a_\u098f\u09aa\u09cd\u09b0\u09bf\u09b2_\u09ae\u09c7_\u099c\u09c1\u09a8_\u099c\u09c1\u09b2\u09be\u0987_\u0986\u0997\u09b8\u09cd\u099f_\u09b8\u09c7\u09aa\u09cd\u099f\u09c7\u09ae\u09cd\u09ac\u09b0_\u0985\u0995\u09cd\u099f\u09cb\u09ac\u09b0_\u09a8\u09ad\u09c7\u09ae\u09cd\u09ac\u09b0_\u09a1\u09bf\u09b8\u09c7\u09ae\u09cd\u09ac\u09b0".split("_"),monthsShort:"\u099c\u09be\u09a8\u09c1_\u09ab\u09c7\u09ac\u09cd\u09b0\u09c1_\u09ae\u09be\u09b0\u09cd\u099a_\u098f\u09aa\u09cd\u09b0\u09bf\u09b2_\u09ae\u09c7_\u099c\u09c1\u09a8_\u099c\u09c1\u09b2\u09be\u0987_\u0986\u0997\u09b8\u09cd\u099f_\u09b8\u09c7\u09aa\u09cd\u099f_\u0985\u0995\u09cd\u099f\u09cb_\u09a8\u09ad\u09c7_\u09a1\u09bf\u09b8\u09c7".split("_"),weekdays:"\u09b0\u09ac\u09bf\u09ac\u09be\u09b0_\u09b8\u09cb\u09ae\u09ac\u09be\u09b0_\u09ae\u0999\u09cd\u0997\u09b2\u09ac\u09be\u09b0_\u09ac\u09c1\u09a7\u09ac\u09be\u09b0_\u09ac\u09c3\u09b9\u09b8\u09cd\u09aa\u09a4\u09bf\u09ac\u09be\u09b0_\u09b6\u09c1\u0995\u09cd\u09b0\u09ac\u09be\u09b0_\u09b6\u09a8\u09bf\u09ac\u09be\u09b0".split("_"),weekdaysShort:"\u09b0\u09ac\u09bf_\u09b8\u09cb\u09ae_\u09ae\u0999\u09cd\u0997\u09b2_\u09ac\u09c1\u09a7_\u09ac\u09c3\u09b9\u09b8\u09cd\u09aa\u09a4\u09bf_\u09b6\u09c1\u0995\u09cd\u09b0_\u09b6\u09a8\u09bf".split("_"),weekdaysMin:"\u09b0\u09ac\u09bf_\u09b8\u09cb\u09ae_\u09ae\u0999\u09cd\u0997\u09b2_\u09ac\u09c1\u09a7_\u09ac\u09c3\u09b9_\u09b6\u09c1\u0995\u09cd\u09b0_\u09b6\u09a8\u09bf".split("_"),longDateFormat:{LT:"A h:mm \u09b8\u09ae\u09df",LTS:"A h:mm:ss \u09b8\u09ae\u09df",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u09b8\u09ae\u09df",LLLL:"dddd, D MMMM YYYY, A h:mm \u09b8\u09ae\u09df"},calendar:{sameDay:"[\u0986\u099c] LT",nextDay:"[\u0986\u0997\u09be\u09ae\u09c0\u0995\u09be\u09b2] LT",nextWeek:"dddd, LT",lastDay:"[\u0997\u09a4\u0995\u09be\u09b2] LT",lastWeek:"[\u0997\u09a4] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u09aa\u09b0\u09c7",past:"%s \u0986\u0997\u09c7",s:"\u0995\u09df\u09c7\u0995 \u09b8\u09c7\u0995\u09c7\u09a8\u09cd\u09a1",ss:"%d \u09b8\u09c7\u0995\u09c7\u09a8\u09cd\u09a1",m:"\u098f\u0995 \u09ae\u09bf\u09a8\u09bf\u099f",mm:"%d \u09ae\u09bf\u09a8\u09bf\u099f",h:"\u098f\u0995 \u0998\u09a8\u09cd\u099f\u09be",hh:"%d \u0998\u09a8\u09cd\u099f\u09be",d:"\u098f\u0995 \u09a6\u09bf\u09a8",dd:"%d \u09a6\u09bf\u09a8",M:"\u098f\u0995 \u09ae\u09be\u09b8",MM:"%d \u09ae\u09be\u09b8",y:"\u098f\u0995 \u09ac\u099b\u09b0",yy:"%d \u09ac\u099b\u09b0"},preparse:function(p){return p.replace(/[\u09e7\u09e8\u09e9\u09ea\u09eb\u09ec\u09ed\u09ee\u09ef\u09e6]/g,function(g){return d[g]})},postformat:function(p){return p.replace(/\d/g,function(g){return m[g]})},meridiemParse:/\u09b0\u09be\u09a4|\u09ad\u09cb\u09b0|\u09b8\u0995\u09be\u09b2|\u09a6\u09c1\u09aa\u09c1\u09b0|\u09ac\u09bf\u0995\u09be\u09b2|\u09b8\u09a8\u09cd\u09a7\u09cd\u09af\u09be|\u09b0\u09be\u09a4/,meridiemHour:function(p,g){return 12===p&&(p=0),"\u09b0\u09be\u09a4"===g?p<4?p:p+12:"\u09ad\u09cb\u09b0"===g||"\u09b8\u0995\u09be\u09b2"===g?p:"\u09a6\u09c1\u09aa\u09c1\u09b0"===g?p>=3?p:p+12:"\u09ac\u09bf\u0995\u09be\u09b2"===g||"\u09b8\u09a8\u09cd\u09a7\u09cd\u09af\u09be"===g?p+12:void 0},meridiem:function(p,g,y){return p<4?"\u09b0\u09be\u09a4":p<6?"\u09ad\u09cb\u09b0":p<12?"\u09b8\u0995\u09be\u09b2":p<15?"\u09a6\u09c1\u09aa\u09c1\u09b0":p<18?"\u09ac\u09bf\u0995\u09be\u09b2":p<20?"\u09b8\u09a8\u09cd\u09a7\u09cd\u09af\u09be":"\u09b0\u09be\u09a4"},week:{dow:0,doy:6}})}(w(5439))},9620:function(se,q,w){!function(v){"use strict";var m={1:"\u09e7",2:"\u09e8",3:"\u09e9",4:"\u09ea",5:"\u09eb",6:"\u09ec",7:"\u09ed",8:"\u09ee",9:"\u09ef",0:"\u09e6"},d={"\u09e7":"1","\u09e8":"2","\u09e9":"3","\u09ea":"4","\u09eb":"5","\u09ec":"6","\u09ed":"7","\u09ee":"8","\u09ef":"9","\u09e6":"0"};v.defineLocale("bn",{months:"\u099c\u09be\u09a8\u09c1\u09df\u09be\u09b0\u09bf_\u09ab\u09c7\u09ac\u09cd\u09b0\u09c1\u09df\u09be\u09b0\u09bf_\u09ae\u09be\u09b0\u09cd\u099a_\u098f\u09aa\u09cd\u09b0\u09bf\u09b2_\u09ae\u09c7_\u099c\u09c1\u09a8_\u099c\u09c1\u09b2\u09be\u0987_\u0986\u0997\u09b8\u09cd\u099f_\u09b8\u09c7\u09aa\u09cd\u099f\u09c7\u09ae\u09cd\u09ac\u09b0_\u0985\u0995\u09cd\u099f\u09cb\u09ac\u09b0_\u09a8\u09ad\u09c7\u09ae\u09cd\u09ac\u09b0_\u09a1\u09bf\u09b8\u09c7\u09ae\u09cd\u09ac\u09b0".split("_"),monthsShort:"\u099c\u09be\u09a8\u09c1_\u09ab\u09c7\u09ac\u09cd\u09b0\u09c1_\u09ae\u09be\u09b0\u09cd\u099a_\u098f\u09aa\u09cd\u09b0\u09bf\u09b2_\u09ae\u09c7_\u099c\u09c1\u09a8_\u099c\u09c1\u09b2\u09be\u0987_\u0986\u0997\u09b8\u09cd\u099f_\u09b8\u09c7\u09aa\u09cd\u099f_\u0985\u0995\u09cd\u099f\u09cb_\u09a8\u09ad\u09c7_\u09a1\u09bf\u09b8\u09c7".split("_"),weekdays:"\u09b0\u09ac\u09bf\u09ac\u09be\u09b0_\u09b8\u09cb\u09ae\u09ac\u09be\u09b0_\u09ae\u0999\u09cd\u0997\u09b2\u09ac\u09be\u09b0_\u09ac\u09c1\u09a7\u09ac\u09be\u09b0_\u09ac\u09c3\u09b9\u09b8\u09cd\u09aa\u09a4\u09bf\u09ac\u09be\u09b0_\u09b6\u09c1\u0995\u09cd\u09b0\u09ac\u09be\u09b0_\u09b6\u09a8\u09bf\u09ac\u09be\u09b0".split("_"),weekdaysShort:"\u09b0\u09ac\u09bf_\u09b8\u09cb\u09ae_\u09ae\u0999\u09cd\u0997\u09b2_\u09ac\u09c1\u09a7_\u09ac\u09c3\u09b9\u09b8\u09cd\u09aa\u09a4\u09bf_\u09b6\u09c1\u0995\u09cd\u09b0_\u09b6\u09a8\u09bf".split("_"),weekdaysMin:"\u09b0\u09ac\u09bf_\u09b8\u09cb\u09ae_\u09ae\u0999\u09cd\u0997\u09b2_\u09ac\u09c1\u09a7_\u09ac\u09c3\u09b9_\u09b6\u09c1\u0995\u09cd\u09b0_\u09b6\u09a8\u09bf".split("_"),longDateFormat:{LT:"A h:mm \u09b8\u09ae\u09df",LTS:"A h:mm:ss \u09b8\u09ae\u09df",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u09b8\u09ae\u09df",LLLL:"dddd, D MMMM YYYY, A h:mm \u09b8\u09ae\u09df"},calendar:{sameDay:"[\u0986\u099c] LT",nextDay:"[\u0986\u0997\u09be\u09ae\u09c0\u0995\u09be\u09b2] LT",nextWeek:"dddd, LT",lastDay:"[\u0997\u09a4\u0995\u09be\u09b2] LT",lastWeek:"[\u0997\u09a4] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u09aa\u09b0\u09c7",past:"%s \u0986\u0997\u09c7",s:"\u0995\u09df\u09c7\u0995 \u09b8\u09c7\u0995\u09c7\u09a8\u09cd\u09a1",ss:"%d \u09b8\u09c7\u0995\u09c7\u09a8\u09cd\u09a1",m:"\u098f\u0995 \u09ae\u09bf\u09a8\u09bf\u099f",mm:"%d \u09ae\u09bf\u09a8\u09bf\u099f",h:"\u098f\u0995 \u0998\u09a8\u09cd\u099f\u09be",hh:"%d \u0998\u09a8\u09cd\u099f\u09be",d:"\u098f\u0995 \u09a6\u09bf\u09a8",dd:"%d \u09a6\u09bf\u09a8",M:"\u098f\u0995 \u09ae\u09be\u09b8",MM:"%d \u09ae\u09be\u09b8",y:"\u098f\u0995 \u09ac\u099b\u09b0",yy:"%d \u09ac\u099b\u09b0"},preparse:function(p){return p.replace(/[\u09e7\u09e8\u09e9\u09ea\u09eb\u09ec\u09ed\u09ee\u09ef\u09e6]/g,function(g){return d[g]})},postformat:function(p){return p.replace(/\d/g,function(g){return m[g]})},meridiemParse:/\u09b0\u09be\u09a4|\u09b8\u0995\u09be\u09b2|\u09a6\u09c1\u09aa\u09c1\u09b0|\u09ac\u09bf\u0995\u09be\u09b2|\u09b0\u09be\u09a4/,meridiemHour:function(p,g){return 12===p&&(p=0),"\u09b0\u09be\u09a4"===g&&p>=4||"\u09a6\u09c1\u09aa\u09c1\u09b0"===g&&p<5||"\u09ac\u09bf\u0995\u09be\u09b2"===g?p+12:p},meridiem:function(p,g,y){return p<4?"\u09b0\u09be\u09a4":p<10?"\u09b8\u0995\u09be\u09b2":p<17?"\u09a6\u09c1\u09aa\u09c1\u09b0":p<20?"\u09ac\u09bf\u0995\u09be\u09b2":"\u09b0\u09be\u09a4"},week:{dow:0,doy:6}})}(w(5439))},9645:function(se,q,w){!function(v){"use strict";var m={1:"\u0f21",2:"\u0f22",3:"\u0f23",4:"\u0f24",5:"\u0f25",6:"\u0f26",7:"\u0f27",8:"\u0f28",9:"\u0f29",0:"\u0f20"},d={"\u0f21":"1","\u0f22":"2","\u0f23":"3","\u0f24":"4","\u0f25":"5","\u0f26":"6","\u0f27":"7","\u0f28":"8","\u0f29":"9","\u0f20":"0"};v.defineLocale("bo",{months:"\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f51\u0f44\u0f0b\u0f54\u0f7c_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f42\u0f49\u0f72\u0f66\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f42\u0f66\u0f74\u0f58\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f5e\u0f72\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f63\u0f94\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f51\u0fb2\u0f74\u0f42\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f51\u0f74\u0f53\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f62\u0f92\u0fb1\u0f51\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f51\u0f42\u0f74\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f45\u0f74\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f45\u0f74\u0f0b\u0f42\u0f45\u0f72\u0f42\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f45\u0f74\u0f0b\u0f42\u0f49\u0f72\u0f66\u0f0b\u0f54".split("_"),monthsShort:"\u0f5f\u0fb3\u0f0b1_\u0f5f\u0fb3\u0f0b2_\u0f5f\u0fb3\u0f0b3_\u0f5f\u0fb3\u0f0b4_\u0f5f\u0fb3\u0f0b5_\u0f5f\u0fb3\u0f0b6_\u0f5f\u0fb3\u0f0b7_\u0f5f\u0fb3\u0f0b8_\u0f5f\u0fb3\u0f0b9_\u0f5f\u0fb3\u0f0b10_\u0f5f\u0fb3\u0f0b11_\u0f5f\u0fb3\u0f0b12".split("_"),monthsShortRegex:/^(\u0f5f\u0fb3\u0f0b\d{1,2})/,monthsParseExact:!0,weekdays:"\u0f42\u0f5f\u0f60\u0f0b\u0f49\u0f72\u0f0b\u0f58\u0f0b_\u0f42\u0f5f\u0f60\u0f0b\u0f5f\u0fb3\u0f0b\u0f56\u0f0b_\u0f42\u0f5f\u0f60\u0f0b\u0f58\u0f72\u0f42\u0f0b\u0f51\u0f58\u0f62\u0f0b_\u0f42\u0f5f\u0f60\u0f0b\u0f63\u0fb7\u0f42\u0f0b\u0f54\u0f0b_\u0f42\u0f5f\u0f60\u0f0b\u0f55\u0f74\u0f62\u0f0b\u0f56\u0f74_\u0f42\u0f5f\u0f60\u0f0b\u0f54\u0f0b\u0f66\u0f44\u0f66\u0f0b_\u0f42\u0f5f\u0f60\u0f0b\u0f66\u0fa4\u0f7a\u0f53\u0f0b\u0f54\u0f0b".split("_"),weekdaysShort:"\u0f49\u0f72\u0f0b\u0f58\u0f0b_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b_\u0f58\u0f72\u0f42\u0f0b\u0f51\u0f58\u0f62\u0f0b_\u0f63\u0fb7\u0f42\u0f0b\u0f54\u0f0b_\u0f55\u0f74\u0f62\u0f0b\u0f56\u0f74_\u0f54\u0f0b\u0f66\u0f44\u0f66\u0f0b_\u0f66\u0fa4\u0f7a\u0f53\u0f0b\u0f54\u0f0b".split("_"),weekdaysMin:"\u0f49\u0f72_\u0f5f\u0fb3_\u0f58\u0f72\u0f42_\u0f63\u0fb7\u0f42_\u0f55\u0f74\u0f62_\u0f66\u0f44\u0f66_\u0f66\u0fa4\u0f7a\u0f53".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[\u0f51\u0f72\u0f0b\u0f62\u0f72\u0f44] LT",nextDay:"[\u0f66\u0f44\u0f0b\u0f49\u0f72\u0f53] LT",nextWeek:"[\u0f56\u0f51\u0f74\u0f53\u0f0b\u0f55\u0fb2\u0f42\u0f0b\u0f62\u0f97\u0f7a\u0f66\u0f0b\u0f58], LT",lastDay:"[\u0f41\u0f0b\u0f66\u0f44] LT",lastWeek:"[\u0f56\u0f51\u0f74\u0f53\u0f0b\u0f55\u0fb2\u0f42\u0f0b\u0f58\u0f50\u0f60\u0f0b\u0f58] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0f63\u0f0b",past:"%s \u0f66\u0f94\u0f53\u0f0b\u0f63",s:"\u0f63\u0f58\u0f0b\u0f66\u0f44",ss:"%d \u0f66\u0f90\u0f62\u0f0b\u0f46\u0f0d",m:"\u0f66\u0f90\u0f62\u0f0b\u0f58\u0f0b\u0f42\u0f45\u0f72\u0f42",mm:"%d \u0f66\u0f90\u0f62\u0f0b\u0f58",h:"\u0f46\u0f74\u0f0b\u0f5a\u0f7c\u0f51\u0f0b\u0f42\u0f45\u0f72\u0f42",hh:"%d \u0f46\u0f74\u0f0b\u0f5a\u0f7c\u0f51",d:"\u0f49\u0f72\u0f53\u0f0b\u0f42\u0f45\u0f72\u0f42",dd:"%d \u0f49\u0f72\u0f53\u0f0b",M:"\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f42\u0f45\u0f72\u0f42",MM:"%d \u0f5f\u0fb3\u0f0b\u0f56",y:"\u0f63\u0f7c\u0f0b\u0f42\u0f45\u0f72\u0f42",yy:"%d \u0f63\u0f7c"},preparse:function(p){return p.replace(/[\u0f21\u0f22\u0f23\u0f24\u0f25\u0f26\u0f27\u0f28\u0f29\u0f20]/g,function(g){return d[g]})},postformat:function(p){return p.replace(/\d/g,function(g){return m[g]})},meridiemParse:/\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c|\u0f5e\u0f7c\u0f42\u0f66\u0f0b\u0f40\u0f66|\u0f49\u0f72\u0f53\u0f0b\u0f42\u0f74\u0f44|\u0f51\u0f42\u0f7c\u0f44\u0f0b\u0f51\u0f42|\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c/,meridiemHour:function(p,g){return 12===p&&(p=0),"\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c"===g&&p>=4||"\u0f49\u0f72\u0f53\u0f0b\u0f42\u0f74\u0f44"===g&&p<5||"\u0f51\u0f42\u0f7c\u0f44\u0f0b\u0f51\u0f42"===g?p+12:p},meridiem:function(p,g,y){return p<4?"\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c":p<10?"\u0f5e\u0f7c\u0f42\u0f66\u0f0b\u0f40\u0f66":p<17?"\u0f49\u0f72\u0f53\u0f0b\u0f42\u0f74\u0f44":p<20?"\u0f51\u0f42\u0f7c\u0f44\u0f0b\u0f51\u0f42":"\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c"},week:{dow:0,doy:6}})}(w(5439))},5020:function(se,q,w){!function(v){"use strict";function m(L,ne,Ge){return L+" "+function p(L,ne){return 2===ne?function g(L){var ne={m:"v",b:"v",d:"z"};return void 0===ne[L.charAt(0)]?L:ne[L.charAt(0)]+L.substring(1)}(L):L}({mm:"munutenn",MM:"miz",dd:"devezh"}[Ge],L)}function u(L){return L>9?u(L%10):L}var y=[/^gen/i,/^c[\u02bc\']hwe/i,/^meu/i,/^ebr/i,/^mae/i,/^(mez|eve)/i,/^gou/i,/^eos/i,/^gwe/i,/^her/i,/^du/i,/^ker/i],b=/^(genver|c[\u02bc\']hwevrer|meurzh|ebrel|mae|mezheven|gouere|eost|gwengolo|here|du|kerzu|gen|c[\u02bc\']hwe|meu|ebr|mae|eve|gou|eos|gwe|her|du|ker)/i,j=[/^Su/i,/^Lu/i,/^Me([^r]|$)/i,/^Mer/i,/^Ya/i,/^Gw/i,/^Sa/i];v.defineLocale("br",{months:"Genver_C\u02bchwevrer_Meurzh_Ebrel_Mae_Mezheven_Gouere_Eost_Gwengolo_Here_Du_Kerzu".split("_"),monthsShort:"Gen_C\u02bchwe_Meu_Ebr_Mae_Eve_Gou_Eos_Gwe_Her_Du_Ker".split("_"),weekdays:"Sul_Lun_Meurzh_Merc\u02bcher_Yaou_Gwener_Sadorn".split("_"),weekdaysShort:"Sul_Lun_Meu_Mer_Yao_Gwe_Sad".split("_"),weekdaysMin:"Su_Lu_Me_Mer_Ya_Gw_Sa".split("_"),weekdaysParse:j,fullWeekdaysParse:[/^sul/i,/^lun/i,/^meurzh/i,/^merc[\u02bc\']her/i,/^yaou/i,/^gwener/i,/^sadorn/i],shortWeekdaysParse:[/^Sul/i,/^Lun/i,/^Meu/i,/^Mer/i,/^Yao/i,/^Gwe/i,/^Sad/i],minWeekdaysParse:j,monthsRegex:b,monthsShortRegex:b,monthsStrictRegex:/^(genver|c[\u02bc\']hwevrer|meurzh|ebrel|mae|mezheven|gouere|eost|gwengolo|here|du|kerzu)/i,monthsShortStrictRegex:/^(gen|c[\u02bc\']hwe|meu|ebr|mae|eve|gou|eos|gwe|her|du|ker)/i,monthsParse:y,longMonthsParse:y,shortMonthsParse:y,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [a viz] MMMM YYYY",LLL:"D [a viz] MMMM YYYY HH:mm",LLLL:"dddd, D [a viz] MMMM YYYY HH:mm"},calendar:{sameDay:"[Hiziv da] LT",nextDay:"[Warc\u02bchoazh da] LT",nextWeek:"dddd [da] LT",lastDay:"[Dec\u02bch da] LT",lastWeek:"dddd [paset da] LT",sameElse:"L"},relativeTime:{future:"a-benn %s",past:"%s \u02bczo",s:"un nebeud segondenno\xf9",ss:"%d eilenn",m:"ur vunutenn",mm:m,h:"un eur",hh:"%d eur",d:"un devezh",dd:m,M:"ur miz",MM:m,y:"ur bloaz",yy:function d(L){switch(u(L)){case 1:case 3:case 4:case 5:case 9:return L+" bloaz";default:return L+" vloaz"}}},dayOfMonthOrdinalParse:/\d{1,2}(a\xf1|vet)/,ordinal:function(L){return L+(1===L?"a\xf1":"vet")},week:{dow:1,doy:4},meridiemParse:/a.m.|g.m./,isPM:function(L){return"g.m."===L},meridiem:function(L,ne,Ge){return L<12?"a.m.":"g.m."}})}(w(5439))},4792:function(se,q,w){!function(v){"use strict";function d(p,g,y){var b=p+" ";switch(y){case"ss":return b+(1===p?"sekunda":2===p||3===p||4===p?"sekunde":"sekundi");case"mm":return b+(1===p?"minuta":2===p||3===p||4===p?"minute":"minuta");case"h":return"jedan sat";case"hh":return b+(1===p?"sat":2===p||3===p||4===p?"sata":"sati");case"dd":return b+(1===p?"dan":"dana");case"MM":return b+(1===p?"mjesec":2===p||3===p||4===p?"mjeseca":"mjeseci");case"yy":return b+(1===p?"godina":2===p||3===p||4===p?"godine":"godina")}}v.defineLocale("bs",{months:"januar_februar_mart_april_maj_juni_juli_august_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj._jun._jul._aug._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_\u010detvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._\u010det._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_\u010de_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[ju\u010der u] LT",lastWeek:function(){switch(this.day()){case 0:case 3:return"[pro\u0161lu] dddd [u] LT";case 6:return"[pro\u0161le] [subote] [u] LT";case 1:case 2:case 4:case 5:return"[pro\u0161li] dddd [u] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"par sekundi",ss:d,m:function m(p,g,y,b){if("m"===y)return g?"jedna minuta":b?"jednu minutu":"jedne minute"},mm:d,h:d,hh:d,d:"dan",dd:d,M:"mjesec",MM:d,y:"godinu",yy:d},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(w(5439))},7980:function(se,q,w){!function(v){"use strict";v.defineLocale("ca",{months:{standalone:"gener_febrer_mar\xe7_abril_maig_juny_juliol_agost_setembre_octubre_novembre_desembre".split("_"),format:"de gener_de febrer_de mar\xe7_d'abril_de maig_de juny_de juliol_d'agost_de setembre_d'octubre_de novembre_de desembre".split("_"),isFormat:/D[oD]?(\s)+MMMM/},monthsShort:"gen._febr._mar\xe7_abr._maig_juny_jul._ag._set._oct._nov._des.".split("_"),monthsParseExact:!0,weekdays:"diumenge_dilluns_dimarts_dimecres_dijous_divendres_dissabte".split("_"),weekdaysShort:"dg._dl._dt._dc._dj._dv._ds.".split("_"),weekdaysMin:"dg_dl_dt_dc_dj_dv_ds".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [de] YYYY",ll:"D MMM YYYY",LLL:"D MMMM [de] YYYY [a les] H:mm",lll:"D MMM YYYY, H:mm",LLLL:"dddd D MMMM [de] YYYY [a les] H:mm",llll:"ddd D MMM YYYY, H:mm"},calendar:{sameDay:function(){return"[avui a "+(1!==this.hours()?"les":"la")+"] LT"},nextDay:function(){return"[dem\xe0 a "+(1!==this.hours()?"les":"la")+"] LT"},nextWeek:function(){return"dddd [a "+(1!==this.hours()?"les":"la")+"] LT"},lastDay:function(){return"[ahir a "+(1!==this.hours()?"les":"la")+"] LT"},lastWeek:function(){return"[el] dddd [passat a "+(1!==this.hours()?"les":"la")+"] LT"},sameElse:"L"},relativeTime:{future:"d'aqu\xed %s",past:"fa %s",s:"uns segons",ss:"%d segons",m:"un minut",mm:"%d minuts",h:"una hora",hh:"%d hores",d:"un dia",dd:"%d dies",M:"un mes",MM:"%d mesos",y:"un any",yy:"%d anys"},dayOfMonthOrdinalParse:/\d{1,2}(r|n|t|\xe8|a)/,ordinal:function(d,u){var p=1===d?"r":2===d?"n":3===d?"r":4===d?"t":"\xe8";return("w"===u||"W"===u)&&(p="a"),d+p},week:{dow:1,doy:4}})}(w(5439))},7322:function(se,q,w){!function(v){"use strict";var m={standalone:"leden_\xfanor_b\u0159ezen_duben_kv\u011bten_\u010derven_\u010dervenec_srpen_z\xe1\u0159\xed_\u0159\xedjen_listopad_prosinec".split("_"),format:"ledna_\xfanora_b\u0159ezna_dubna_kv\u011btna_\u010dervna_\u010dervence_srpna_z\xe1\u0159\xed_\u0159\xedjna_listopadu_prosince".split("_"),isFormat:/DD?[o.]?(\[[^\[\]]*\]|\s)+MMMM/},d="led_\xfano_b\u0159e_dub_kv\u011b_\u010dvn_\u010dvc_srp_z\xe1\u0159_\u0159\xedj_lis_pro".split("_"),u=[/^led/i,/^\xfano/i,/^b\u0159e/i,/^dub/i,/^kv\u011b/i,/^(\u010dvn|\u010derven$|\u010dervna)/i,/^(\u010dvc|\u010dervenec|\u010dervence)/i,/^srp/i,/^z\xe1\u0159/i,/^\u0159\xedj/i,/^lis/i,/^pro/i],p=/^(leden|\xfanor|b\u0159ezen|duben|kv\u011bten|\u010dervenec|\u010dervence|\u010derven|\u010dervna|srpen|z\xe1\u0159\xed|\u0159\xedjen|listopad|prosinec|led|\xfano|b\u0159e|dub|kv\u011b|\u010dvn|\u010dvc|srp|z\xe1\u0159|\u0159\xedj|lis|pro)/i;function g(C){return C>1&&C<5&&1!=~~(C/10)}function y(C,P,N,R){var j=C+" ";switch(N){case"s":return P||R?"p\xe1r sekund":"p\xe1r sekundami";case"ss":return P||R?j+(g(C)?"sekundy":"sekund"):j+"sekundami";case"m":return P?"minuta":R?"minutu":"minutou";case"mm":return P||R?j+(g(C)?"minuty":"minut"):j+"minutami";case"h":return P?"hodina":R?"hodinu":"hodinou";case"hh":return P||R?j+(g(C)?"hodiny":"hodin"):j+"hodinami";case"d":return P||R?"den":"dnem";case"dd":return P||R?j+(g(C)?"dny":"dn\xed"):j+"dny";case"M":return P||R?"m\u011bs\xedc":"m\u011bs\xedcem";case"MM":return P||R?j+(g(C)?"m\u011bs\xedce":"m\u011bs\xedc\u016f"):j+"m\u011bs\xedci";case"y":return P||R?"rok":"rokem";case"yy":return P||R?j+(g(C)?"roky":"let"):j+"lety"}}v.defineLocale("cs",{months:m,monthsShort:d,monthsRegex:p,monthsShortRegex:p,monthsStrictRegex:/^(leden|ledna|\xfanora|\xfanor|b\u0159ezen|b\u0159ezna|duben|dubna|kv\u011bten|kv\u011btna|\u010dervenec|\u010dervence|\u010derven|\u010dervna|srpen|srpna|z\xe1\u0159\xed|\u0159\xedjen|\u0159\xedjna|listopadu|listopad|prosinec|prosince)/i,monthsShortStrictRegex:/^(led|\xfano|b\u0159e|dub|kv\u011b|\u010dvn|\u010dvc|srp|z\xe1\u0159|\u0159\xedj|lis|pro)/i,monthsParse:u,longMonthsParse:u,shortMonthsParse:u,weekdays:"ned\u011ble_pond\u011bl\xed_\xfater\xfd_st\u0159eda_\u010dtvrtek_p\xe1tek_sobota".split("_"),weekdaysShort:"ne_po_\xfat_st_\u010dt_p\xe1_so".split("_"),weekdaysMin:"ne_po_\xfat_st_\u010dt_p\xe1_so".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd D. MMMM YYYY H:mm",l:"D. M. YYYY"},calendar:{sameDay:"[dnes v] LT",nextDay:"[z\xedtra v] LT",nextWeek:function(){switch(this.day()){case 0:return"[v ned\u011bli v] LT";case 1:case 2:return"[v] dddd [v] LT";case 3:return"[ve st\u0159edu v] LT";case 4:return"[ve \u010dtvrtek v] LT";case 5:return"[v p\xe1tek v] LT";case 6:return"[v sobotu v] LT"}},lastDay:"[v\u010dera v] LT",lastWeek:function(){switch(this.day()){case 0:return"[minulou ned\u011bli v] LT";case 1:case 2:return"[minul\xe9] dddd [v] LT";case 3:return"[minulou st\u0159edu v] LT";case 4:case 5:return"[minul\xfd] dddd [v] LT";case 6:return"[minulou sobotu v] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"p\u0159ed %s",s:y,ss:y,m:y,mm:y,h:y,hh:y,d:y,dd:y,M:y,MM:y,y,yy:y},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(w(5439))},365:function(se,q,w){!function(v){"use strict";v.defineLocale("cv",{months:"\u043a\u04d1\u0440\u043b\u0430\u0447_\u043d\u0430\u0440\u04d1\u0441_\u043f\u0443\u0448_\u0430\u043a\u0430_\u043c\u0430\u0439_\u04ab\u04d7\u0440\u0442\u043c\u0435_\u0443\u0442\u04d1_\u04ab\u0443\u0440\u043b\u0430_\u0430\u0432\u04d1\u043d_\u044e\u043f\u0430_\u0447\u04f3\u043a_\u0440\u0430\u0448\u0442\u0430\u0432".split("_"),monthsShort:"\u043a\u04d1\u0440_\u043d\u0430\u0440_\u043f\u0443\u0448_\u0430\u043a\u0430_\u043c\u0430\u0439_\u04ab\u04d7\u0440_\u0443\u0442\u04d1_\u04ab\u0443\u0440_\u0430\u0432\u043d_\u044e\u043f\u0430_\u0447\u04f3\u043a_\u0440\u0430\u0448".split("_"),weekdays:"\u0432\u044b\u0440\u0441\u0430\u0440\u043d\u0438\u043a\u0443\u043d_\u0442\u0443\u043d\u0442\u0438\u043a\u0443\u043d_\u044b\u0442\u043b\u0430\u0440\u0438\u043a\u0443\u043d_\u044e\u043d\u043a\u0443\u043d_\u043a\u04d7\u04ab\u043d\u0435\u0440\u043d\u0438\u043a\u0443\u043d_\u044d\u0440\u043d\u0435\u043a\u0443\u043d_\u0448\u04d1\u043c\u0430\u0442\u043a\u0443\u043d".split("_"),weekdaysShort:"\u0432\u044b\u0440_\u0442\u0443\u043d_\u044b\u0442\u043b_\u044e\u043d_\u043a\u04d7\u04ab_\u044d\u0440\u043d_\u0448\u04d1\u043c".split("_"),weekdaysMin:"\u0432\u0440_\u0442\u043d_\u044b\u0442_\u044e\u043d_\u043a\u04ab_\u044d\u0440_\u0448\u043c".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"YYYY [\u04ab\u0443\u043b\u0445\u0438] MMMM [\u0443\u0439\u04d1\u0445\u04d7\u043d] D[-\u043c\u04d7\u0448\u04d7]",LLL:"YYYY [\u04ab\u0443\u043b\u0445\u0438] MMMM [\u0443\u0439\u04d1\u0445\u04d7\u043d] D[-\u043c\u04d7\u0448\u04d7], HH:mm",LLLL:"dddd, YYYY [\u04ab\u0443\u043b\u0445\u0438] MMMM [\u0443\u0439\u04d1\u0445\u04d7\u043d] D[-\u043c\u04d7\u0448\u04d7], HH:mm"},calendar:{sameDay:"[\u041f\u0430\u044f\u043d] LT [\u0441\u0435\u0445\u0435\u0442\u0440\u0435]",nextDay:"[\u042b\u0440\u0430\u043d] LT [\u0441\u0435\u0445\u0435\u0442\u0440\u0435]",lastDay:"[\u04d6\u043d\u0435\u0440] LT [\u0441\u0435\u0445\u0435\u0442\u0440\u0435]",nextWeek:"[\u04aa\u0438\u0442\u0435\u0441] dddd LT [\u0441\u0435\u0445\u0435\u0442\u0440\u0435]",lastWeek:"[\u0418\u0440\u0442\u043d\u04d7] dddd LT [\u0441\u0435\u0445\u0435\u0442\u0440\u0435]",sameElse:"L"},relativeTime:{future:function(d){return d+(/\u0441\u0435\u0445\u0435\u0442$/i.exec(d)?"\u0440\u0435\u043d":/\u04ab\u0443\u043b$/i.exec(d)?"\u0442\u0430\u043d":"\u0440\u0430\u043d")},past:"%s \u043a\u0430\u044f\u043b\u043b\u0430",s:"\u043f\u04d7\u0440-\u0438\u043a \u04ab\u0435\u043a\u043a\u0443\u043d\u0442",ss:"%d \u04ab\u0435\u043a\u043a\u0443\u043d\u0442",m:"\u043f\u04d7\u0440 \u043c\u0438\u043d\u0443\u0442",mm:"%d \u043c\u0438\u043d\u0443\u0442",h:"\u043f\u04d7\u0440 \u0441\u0435\u0445\u0435\u0442",hh:"%d \u0441\u0435\u0445\u0435\u0442",d:"\u043f\u04d7\u0440 \u043a\u0443\u043d",dd:"%d \u043a\u0443\u043d",M:"\u043f\u04d7\u0440 \u0443\u0439\u04d1\u0445",MM:"%d \u0443\u0439\u04d1\u0445",y:"\u043f\u04d7\u0440 \u04ab\u0443\u043b",yy:"%d \u04ab\u0443\u043b"},dayOfMonthOrdinalParse:/\d{1,2}-\u043c\u04d7\u0448/,ordinal:"%d-\u043c\u04d7\u0448",week:{dow:1,doy:7}})}(w(5439))},2092:function(se,q,w){!function(v){"use strict";v.defineLocale("cy",{months:"Ionawr_Chwefror_Mawrth_Ebrill_Mai_Mehefin_Gorffennaf_Awst_Medi_Hydref_Tachwedd_Rhagfyr".split("_"),monthsShort:"Ion_Chwe_Maw_Ebr_Mai_Meh_Gor_Aws_Med_Hyd_Tach_Rhag".split("_"),weekdays:"Dydd Sul_Dydd Llun_Dydd Mawrth_Dydd Mercher_Dydd Iau_Dydd Gwener_Dydd Sadwrn".split("_"),weekdaysShort:"Sul_Llun_Maw_Mer_Iau_Gwe_Sad".split("_"),weekdaysMin:"Su_Ll_Ma_Me_Ia_Gw_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Heddiw am] LT",nextDay:"[Yfory am] LT",nextWeek:"dddd [am] LT",lastDay:"[Ddoe am] LT",lastWeek:"dddd [diwethaf am] LT",sameElse:"L"},relativeTime:{future:"mewn %s",past:"%s yn \xf4l",s:"ychydig eiliadau",ss:"%d eiliad",m:"munud",mm:"%d munud",h:"awr",hh:"%d awr",d:"diwrnod",dd:"%d diwrnod",M:"mis",MM:"%d mis",y:"blwyddyn",yy:"%d flynedd"},dayOfMonthOrdinalParse:/\d{1,2}(fed|ain|af|il|ydd|ed|eg)/,ordinal:function(d){var p="";return d>20?p=40===d||50===d||60===d||80===d||100===d?"fed":"ain":d>0&&(p=["","af","il","ydd","ydd","ed","ed","ed","fed","fed","fed","eg","fed","eg","eg","fed","eg","eg","fed","eg","fed"][d]),d+p},week:{dow:1,doy:4}})}(w(5439))},7387:function(se,q,w){!function(v){"use strict";v.defineLocale("da",{months:"januar_februar_marts_april_maj_juni_juli_august_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"),weekdays:"s\xf8ndag_mandag_tirsdag_onsdag_torsdag_fredag_l\xf8rdag".split("_"),weekdaysShort:"s\xf8n_man_tir_ons_tor_fre_l\xf8r".split("_"),weekdaysMin:"s\xf8_ma_ti_on_to_fr_l\xf8".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd [d.] D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[i dag kl.] LT",nextDay:"[i morgen kl.] LT",nextWeek:"p\xe5 dddd [kl.] LT",lastDay:"[i g\xe5r kl.] LT",lastWeek:"[i] dddd[s kl.] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s siden",s:"f\xe5 sekunder",ss:"%d sekunder",m:"et minut",mm:"%d minutter",h:"en time",hh:"%d timer",d:"en dag",dd:"%d dage",M:"en m\xe5ned",MM:"%d m\xe5neder",y:"et \xe5r",yy:"%d \xe5r"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(w(5439))},9459:function(se,q,w){!function(v){"use strict";function m(u,p,g,y){var b={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[u+" Tage",u+" Tagen"],w:["eine Woche","einer Woche"],M:["ein Monat","einem Monat"],MM:[u+" Monate",u+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[u+" Jahre",u+" Jahren"]};return p?b[g][0]:b[g][1]}v.defineLocale("de-at",{months:"J\xe4nner_Februar_M\xe4rz_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"J\xe4n._Feb._M\xe4rz_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m,mm:"%d Minuten",h:m,hh:"%d Stunden",d:m,dd:m,w:m,ww:"%d Wochen",M:m,MM:m,y:m,yy:m},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(w(5439))},3694:function(se,q,w){!function(v){"use strict";function m(u,p,g,y){var b={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[u+" Tage",u+" Tagen"],w:["eine Woche","einer Woche"],M:["ein Monat","einem Monat"],MM:[u+" Monate",u+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[u+" Jahre",u+" Jahren"]};return p?b[g][0]:b[g][1]}v.defineLocale("de-ch",{months:"Januar_Februar_M\xe4rz_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Feb._M\xe4rz_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m,mm:"%d Minuten",h:m,hh:"%d Stunden",d:m,dd:m,w:m,ww:"%d Wochen",M:m,MM:m,y:m,yy:m},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(w(5439))},4307:function(se,q,w){!function(v){"use strict";function m(u,p,g,y){var b={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[u+" Tage",u+" Tagen"],w:["eine Woche","einer Woche"],M:["ein Monat","einem Monat"],MM:[u+" Monate",u+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[u+" Jahre",u+" Jahren"]};return p?b[g][0]:b[g][1]}v.defineLocale("de",{months:"Januar_Februar_M\xe4rz_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Feb._M\xe4rz_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m,mm:"%d Minuten",h:m,hh:"%d Stunden",d:m,dd:m,w:m,ww:"%d Wochen",M:m,MM:m,y:m,yy:m},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(w(5439))},9659:function(se,q,w){!function(v){"use strict";var m=["\u0796\u07ac\u0782\u07aa\u0787\u07a6\u0783\u07a9","\u078a\u07ac\u0784\u07b0\u0783\u07aa\u0787\u07a6\u0783\u07a9","\u0789\u07a7\u0783\u07a8\u0797\u07aa","\u0787\u07ad\u0795\u07b0\u0783\u07a9\u078d\u07aa","\u0789\u07ad","\u0796\u07ab\u0782\u07b0","\u0796\u07aa\u078d\u07a6\u0787\u07a8","\u0787\u07af\u078e\u07a6\u0790\u07b0\u0793\u07aa","\u0790\u07ac\u0795\u07b0\u0793\u07ac\u0789\u07b0\u0784\u07a6\u0783\u07aa","\u0787\u07ae\u0786\u07b0\u0793\u07af\u0784\u07a6\u0783\u07aa","\u0782\u07ae\u0788\u07ac\u0789\u07b0\u0784\u07a6\u0783\u07aa","\u0791\u07a8\u0790\u07ac\u0789\u07b0\u0784\u07a6\u0783\u07aa"],d=["\u0787\u07a7\u078b\u07a8\u0787\u07b0\u078c\u07a6","\u0780\u07af\u0789\u07a6","\u0787\u07a6\u0782\u07b0\u078e\u07a7\u0783\u07a6","\u0784\u07aa\u078b\u07a6","\u0784\u07aa\u0783\u07a7\u0790\u07b0\u078a\u07a6\u078c\u07a8","\u0780\u07aa\u0786\u07aa\u0783\u07aa","\u0780\u07ae\u0782\u07a8\u0780\u07a8\u0783\u07aa"];v.defineLocale("dv",{months:m,monthsShort:m,weekdays:d,weekdaysShort:d,weekdaysMin:"\u0787\u07a7\u078b\u07a8_\u0780\u07af\u0789\u07a6_\u0787\u07a6\u0782\u07b0_\u0784\u07aa\u078b\u07a6_\u0784\u07aa\u0783\u07a7_\u0780\u07aa\u0786\u07aa_\u0780\u07ae\u0782\u07a8".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/M/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0789\u0786|\u0789\u078a/,isPM:function(p){return"\u0789\u078a"===p},meridiem:function(p,g,y){return p<12?"\u0789\u0786":"\u0789\u078a"},calendar:{sameDay:"[\u0789\u07a8\u0787\u07a6\u078b\u07aa] LT",nextDay:"[\u0789\u07a7\u078b\u07a6\u0789\u07a7] LT",nextWeek:"dddd LT",lastDay:"[\u0787\u07a8\u0787\u07b0\u0794\u07ac] LT",lastWeek:"[\u078a\u07a7\u0787\u07a8\u078c\u07aa\u0788\u07a8] dddd LT",sameElse:"L"},relativeTime:{future:"\u078c\u07ac\u0783\u07ad\u078e\u07a6\u0787\u07a8 %s",past:"\u0786\u07aa\u0783\u07a8\u0782\u07b0 %s",s:"\u0790\u07a8\u0786\u07aa\u0782\u07b0\u078c\u07aa\u0786\u07ae\u0785\u07ac\u0787\u07b0",ss:"d% \u0790\u07a8\u0786\u07aa\u0782\u07b0\u078c\u07aa",m:"\u0789\u07a8\u0782\u07a8\u0793\u07ac\u0787\u07b0",mm:"\u0789\u07a8\u0782\u07a8\u0793\u07aa %d",h:"\u078e\u07a6\u0791\u07a8\u0787\u07a8\u0783\u07ac\u0787\u07b0",hh:"\u078e\u07a6\u0791\u07a8\u0787\u07a8\u0783\u07aa %d",d:"\u078b\u07aa\u0788\u07a6\u0780\u07ac\u0787\u07b0",dd:"\u078b\u07aa\u0788\u07a6\u0790\u07b0 %d",M:"\u0789\u07a6\u0780\u07ac\u0787\u07b0",MM:"\u0789\u07a6\u0790\u07b0 %d",y:"\u0787\u07a6\u0780\u07a6\u0783\u07ac\u0787\u07b0",yy:"\u0787\u07a6\u0780\u07a6\u0783\u07aa %d"},preparse:function(p){return p.replace(/\u060c/g,",")},postformat:function(p){return p.replace(/,/g,"\u060c")},week:{dow:7,doy:12}})}(w(5439))},3460:function(se,q,w){!function(v){"use strict";v.defineLocale("el",{monthsNominativeEl:"\u0399\u03b1\u03bd\u03bf\u03c5\u03ac\u03c1\u03b9\u03bf\u03c2_\u03a6\u03b5\u03b2\u03c1\u03bf\u03c5\u03ac\u03c1\u03b9\u03bf\u03c2_\u039c\u03ac\u03c1\u03c4\u03b9\u03bf\u03c2_\u0391\u03c0\u03c1\u03af\u03bb\u03b9\u03bf\u03c2_\u039c\u03ac\u03b9\u03bf\u03c2_\u0399\u03bf\u03cd\u03bd\u03b9\u03bf\u03c2_\u0399\u03bf\u03cd\u03bb\u03b9\u03bf\u03c2_\u0391\u03cd\u03b3\u03bf\u03c5\u03c3\u03c4\u03bf\u03c2_\u03a3\u03b5\u03c0\u03c4\u03ad\u03bc\u03b2\u03c1\u03b9\u03bf\u03c2_\u039f\u03ba\u03c4\u03ce\u03b2\u03c1\u03b9\u03bf\u03c2_\u039d\u03bf\u03ad\u03bc\u03b2\u03c1\u03b9\u03bf\u03c2_\u0394\u03b5\u03ba\u03ad\u03bc\u03b2\u03c1\u03b9\u03bf\u03c2".split("_"),monthsGenitiveEl:"\u0399\u03b1\u03bd\u03bf\u03c5\u03b1\u03c1\u03af\u03bf\u03c5_\u03a6\u03b5\u03b2\u03c1\u03bf\u03c5\u03b1\u03c1\u03af\u03bf\u03c5_\u039c\u03b1\u03c1\u03c4\u03af\u03bf\u03c5_\u0391\u03c0\u03c1\u03b9\u03bb\u03af\u03bf\u03c5_\u039c\u03b1\u0390\u03bf\u03c5_\u0399\u03bf\u03c5\u03bd\u03af\u03bf\u03c5_\u0399\u03bf\u03c5\u03bb\u03af\u03bf\u03c5_\u0391\u03c5\u03b3\u03bf\u03cd\u03c3\u03c4\u03bf\u03c5_\u03a3\u03b5\u03c0\u03c4\u03b5\u03bc\u03b2\u03c1\u03af\u03bf\u03c5_\u039f\u03ba\u03c4\u03c9\u03b2\u03c1\u03af\u03bf\u03c5_\u039d\u03bf\u03b5\u03bc\u03b2\u03c1\u03af\u03bf\u03c5_\u0394\u03b5\u03ba\u03b5\u03bc\u03b2\u03c1\u03af\u03bf\u03c5".split("_"),months:function(u,p){return u?"string"==typeof p&&/D/.test(p.substring(0,p.indexOf("MMMM")))?this._monthsGenitiveEl[u.month()]:this._monthsNominativeEl[u.month()]:this._monthsNominativeEl},monthsShort:"\u0399\u03b1\u03bd_\u03a6\u03b5\u03b2_\u039c\u03b1\u03c1_\u0391\u03c0\u03c1_\u039c\u03b1\u03ca_\u0399\u03bf\u03c5\u03bd_\u0399\u03bf\u03c5\u03bb_\u0391\u03c5\u03b3_\u03a3\u03b5\u03c0_\u039f\u03ba\u03c4_\u039d\u03bf\u03b5_\u0394\u03b5\u03ba".split("_"),weekdays:"\u039a\u03c5\u03c1\u03b9\u03b1\u03ba\u03ae_\u0394\u03b5\u03c5\u03c4\u03ad\u03c1\u03b1_\u03a4\u03c1\u03af\u03c4\u03b7_\u03a4\u03b5\u03c4\u03ac\u03c1\u03c4\u03b7_\u03a0\u03ad\u03bc\u03c0\u03c4\u03b7_\u03a0\u03b1\u03c1\u03b1\u03c3\u03ba\u03b5\u03c5\u03ae_\u03a3\u03ac\u03b2\u03b2\u03b1\u03c4\u03bf".split("_"),weekdaysShort:"\u039a\u03c5\u03c1_\u0394\u03b5\u03c5_\u03a4\u03c1\u03b9_\u03a4\u03b5\u03c4_\u03a0\u03b5\u03bc_\u03a0\u03b1\u03c1_\u03a3\u03b1\u03b2".split("_"),weekdaysMin:"\u039a\u03c5_\u0394\u03b5_\u03a4\u03c1_\u03a4\u03b5_\u03a0\u03b5_\u03a0\u03b1_\u03a3\u03b1".split("_"),meridiem:function(u,p,g){return u>11?g?"\u03bc\u03bc":"\u039c\u039c":g?"\u03c0\u03bc":"\u03a0\u039c"},isPM:function(u){return"\u03bc"===(u+"").toLowerCase()[0]},meridiemParse:/[\u03a0\u039c]\.?\u039c?\.?/i,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendarEl:{sameDay:"[\u03a3\u03ae\u03bc\u03b5\u03c1\u03b1 {}] LT",nextDay:"[\u0391\u03cd\u03c1\u03b9\u03bf {}] LT",nextWeek:"dddd [{}] LT",lastDay:"[\u03a7\u03b8\u03b5\u03c2 {}] LT",lastWeek:function(){return 6===this.day()?"[\u03c4\u03bf \u03c0\u03c1\u03bf\u03b7\u03b3\u03bf\u03cd\u03bc\u03b5\u03bd\u03bf] dddd [{}] LT":"[\u03c4\u03b7\u03bd \u03c0\u03c1\u03bf\u03b7\u03b3\u03bf\u03cd\u03bc\u03b5\u03bd\u03b7] dddd [{}] LT"},sameElse:"L"},calendar:function(u,p){var g=this._calendarEl[u],y=p&&p.hours();return function m(u){return"undefined"!=typeof Function&&u instanceof Function||"[object Function]"===Object.prototype.toString.call(u)}(g)&&(g=g.apply(p)),g.replace("{}",y%12==1?"\u03c3\u03c4\u03b7":"\u03c3\u03c4\u03b9\u03c2")},relativeTime:{future:"\u03c3\u03b5 %s",past:"%s \u03c0\u03c1\u03b9\u03bd",s:"\u03bb\u03af\u03b3\u03b1 \u03b4\u03b5\u03c5\u03c4\u03b5\u03c1\u03cc\u03bb\u03b5\u03c0\u03c4\u03b1",ss:"%d \u03b4\u03b5\u03c5\u03c4\u03b5\u03c1\u03cc\u03bb\u03b5\u03c0\u03c4\u03b1",m:"\u03ad\u03bd\u03b1 \u03bb\u03b5\u03c0\u03c4\u03cc",mm:"%d \u03bb\u03b5\u03c0\u03c4\u03ac",h:"\u03bc\u03af\u03b1 \u03ce\u03c1\u03b1",hh:"%d \u03ce\u03c1\u03b5\u03c2",d:"\u03bc\u03af\u03b1 \u03bc\u03ad\u03c1\u03b1",dd:"%d \u03bc\u03ad\u03c1\u03b5\u03c2",M:"\u03ad\u03bd\u03b1\u03c2 \u03bc\u03ae\u03bd\u03b1\u03c2",MM:"%d \u03bc\u03ae\u03bd\u03b5\u03c2",y:"\u03ad\u03bd\u03b1\u03c2 \u03c7\u03c1\u03cc\u03bd\u03bf\u03c2",yy:"%d \u03c7\u03c1\u03cc\u03bd\u03b9\u03b1"},dayOfMonthOrdinalParse:/\d{1,2}\u03b7/,ordinal:"%d\u03b7",week:{dow:1,doy:4}})}(w(5439))},4369:function(se,q,w){!function(v){"use strict";v.defineLocale("en-au",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{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",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(d){var u=d%10;return d+(1==~~(d%100/10)?"th":1===u?"st":2===u?"nd":3===u?"rd":"th")},week:{dow:0,doy:4}})}(w(5439))},530:function(se,q,w){!function(v){"use strict";v.defineLocale("en-ca",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"YYYY-MM-DD",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{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",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(d){var u=d%10;return d+(1==~~(d%100/10)?"th":1===u?"st":2===u?"nd":3===u?"rd":"th")}})}(w(5439))},9998:function(se,q,w){!function(v){"use strict";v.defineLocale("en-gb",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{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",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(d){var u=d%10;return d+(1==~~(d%100/10)?"th":1===u?"st":2===u?"nd":3===u?"rd":"th")},week:{dow:1,doy:4}})}(w(5439))},3391:function(se,q,w){!function(v){"use strict";v.defineLocale("en-ie",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{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",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(d){var u=d%10;return d+(1==~~(d%100/10)?"th":1===u?"st":2===u?"nd":3===u?"rd":"th")},week:{dow:1,doy:4}})}(w(5439))},5414:function(se,q,w){!function(v){"use strict";v.defineLocale("en-il",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{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",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(d){var u=d%10;return d+(1==~~(d%100/10)?"th":1===u?"st":2===u?"nd":3===u?"rd":"th")}})}(w(5439))},9615:function(se,q,w){!function(v){"use strict";v.defineLocale("en-in",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{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",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(d){var u=d%10;return d+(1==~~(d%100/10)?"th":1===u?"st":2===u?"nd":3===u?"rd":"th")},week:{dow:0,doy:6}})}(w(5439))},1248:function(se,q,w){!function(v){"use strict";v.defineLocale("en-nz",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{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",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(d){var u=d%10;return d+(1==~~(d%100/10)?"th":1===u?"st":2===u?"nd":3===u?"rd":"th")},week:{dow:1,doy:4}})}(w(5439))},3767:function(se,q,w){!function(v){"use strict";v.defineLocale("en-sg",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{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",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(d){var u=d%10;return d+(1==~~(d%100/10)?"th":1===u?"st":2===u?"nd":3===u?"rd":"th")},week:{dow:1,doy:4}})}(w(5439))},4530:function(se,q,w){!function(v){"use strict";v.defineLocale("eo",{months:"januaro_februaro_marto_aprilo_majo_junio_julio_a\u016dgusto_septembro_oktobro_novembro_decembro".split("_"),monthsShort:"jan_feb_mart_apr_maj_jun_jul_a\u016dg_sept_okt_nov_dec".split("_"),weekdays:"diman\u0109o_lundo_mardo_merkredo_\u0135a\u016ddo_vendredo_sabato".split("_"),weekdaysShort:"dim_lun_mard_merk_\u0135a\u016d_ven_sab".split("_"),weekdaysMin:"di_lu_ma_me_\u0135a_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"[la] D[-an de] MMMM, YYYY",LLL:"[la] D[-an de] MMMM, YYYY HH:mm",LLLL:"dddd[n], [la] D[-an de] MMMM, YYYY HH:mm",llll:"ddd, [la] D[-an de] MMM, YYYY HH:mm"},meridiemParse:/[ap]\.t\.m/i,isPM:function(d){return"p"===d.charAt(0).toLowerCase()},meridiem:function(d,u,p){return d>11?p?"p.t.m.":"P.T.M.":p?"a.t.m.":"A.T.M."},calendar:{sameDay:"[Hodia\u016d je] LT",nextDay:"[Morga\u016d je] LT",nextWeek:"dddd[n je] LT",lastDay:"[Hiera\u016d je] LT",lastWeek:"[pasintan] dddd[n je] LT",sameElse:"L"},relativeTime:{future:"post %s",past:"anta\u016d %s",s:"kelkaj sekundoj",ss:"%d sekundoj",m:"unu minuto",mm:"%d minutoj",h:"unu horo",hh:"%d horoj",d:"unu tago",dd:"%d tagoj",M:"unu monato",MM:"%d monatoj",y:"unu jaro",yy:"%d jaroj"},dayOfMonthOrdinalParse:/\d{1,2}a/,ordinal:"%da",week:{dow:1,doy:7}})}(w(5439))},8944:function(se,q,w){!function(v){"use strict";var m="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),d="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),u=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],p=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;v.defineLocale("es-do",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(y,b){return y?/-MMM-/.test(b)?d[y.month()]:m[y.month()]:m},monthsRegex:p,monthsShortRegex:p,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:u,longMonthsParse:u,shortMonthsParse:u,weekdays:"domingo_lunes_martes_mi\xe9rcoles_jueves_viernes_s\xe1bado".split("_"),weekdaysShort:"dom._lun._mar._mi\xe9._jue._vie._s\xe1b.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_s\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY h:mm A",LLLL:"dddd, D [de] MMMM [de] YYYY h:mm A"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[ma\xf1ana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un d\xeda",dd:"%d d\xedas",w:"una semana",ww:"%d semanas",M:"un mes",MM:"%d meses",y:"un a\xf1o",yy:"%d a\xf1os"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(w(5439))},9116:function(se,q,w){!function(v){"use strict";var m="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),d="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),u=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],p=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;v.defineLocale("es-mx",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(y,b){return y?/-MMM-/.test(b)?d[y.month()]:m[y.month()]:m},monthsRegex:p,monthsShortRegex:p,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:u,longMonthsParse:u,shortMonthsParse:u,weekdays:"domingo_lunes_martes_mi\xe9rcoles_jueves_viernes_s\xe1bado".split("_"),weekdaysShort:"dom._lun._mar._mi\xe9._jue._vie._s\xe1b.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_s\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[ma\xf1ana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un d\xeda",dd:"%d d\xedas",w:"una semana",ww:"%d semanas",M:"un mes",MM:"%d meses",y:"un a\xf1o",yy:"%d a\xf1os"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:0,doy:4},invalidDate:"Fecha inv\xe1lida"})}(w(5439))},3609:function(se,q,w){!function(v){"use strict";var m="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),d="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),u=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],p=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;v.defineLocale("es-us",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(y,b){return y?/-MMM-/.test(b)?d[y.month()]:m[y.month()]:m},monthsRegex:p,monthsShortRegex:p,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:u,longMonthsParse:u,shortMonthsParse:u,weekdays:"domingo_lunes_martes_mi\xe9rcoles_jueves_viernes_s\xe1bado".split("_"),weekdaysShort:"dom._lun._mar._mi\xe9._jue._vie._s\xe1b.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_s\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"MM/DD/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY h:mm A",LLLL:"dddd, D [de] MMMM [de] YYYY h:mm A"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[ma\xf1ana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un d\xeda",dd:"%d d\xedas",w:"una semana",ww:"%d semanas",M:"un mes",MM:"%d meses",y:"un a\xf1o",yy:"%d a\xf1os"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:0,doy:6}})}(w(5439))},6866:function(se,q,w){!function(v){"use strict";var m="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),d="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),u=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],p=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;v.defineLocale("es",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(y,b){return y?/-MMM-/.test(b)?d[y.month()]:m[y.month()]:m},monthsRegex:p,monthsShortRegex:p,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:u,longMonthsParse:u,shortMonthsParse:u,weekdays:"domingo_lunes_martes_mi\xe9rcoles_jueves_viernes_s\xe1bado".split("_"),weekdaysShort:"dom._lun._mar._mi\xe9._jue._vie._s\xe1b.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_s\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[ma\xf1ana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un d\xeda",dd:"%d d\xedas",w:"una semana",ww:"%d semanas",M:"un mes",MM:"%d meses",y:"un a\xf1o",yy:"%d a\xf1os"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4},invalidDate:"Fecha inv\xe1lida"})}(w(5439))},6725:function(se,q,w){!function(v){"use strict";function m(u,p,g,y){var b={s:["m\xf5ne sekundi","m\xf5ni sekund","paar sekundit"],ss:[u+"sekundi",u+"sekundit"],m:["\xfche minuti","\xfcks minut"],mm:[u+" minuti",u+" minutit"],h:["\xfche tunni","tund aega","\xfcks tund"],hh:[u+" tunni",u+" tundi"],d:["\xfche p\xe4eva","\xfcks p\xe4ev"],M:["kuu aja","kuu aega","\xfcks kuu"],MM:[u+" kuu",u+" kuud"],y:["\xfche aasta","aasta","\xfcks aasta"],yy:[u+" aasta",u+" aastat"]};return p?b[g][2]?b[g][2]:b[g][1]:y?b[g][0]:b[g][1]}v.defineLocale("et",{months:"jaanuar_veebruar_m\xe4rts_aprill_mai_juuni_juuli_august_september_oktoober_november_detsember".split("_"),monthsShort:"jaan_veebr_m\xe4rts_apr_mai_juuni_juuli_aug_sept_okt_nov_dets".split("_"),weekdays:"p\xfchap\xe4ev_esmasp\xe4ev_teisip\xe4ev_kolmap\xe4ev_neljap\xe4ev_reede_laup\xe4ev".split("_"),weekdaysShort:"P_E_T_K_N_R_L".split("_"),weekdaysMin:"P_E_T_K_N_R_L".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[T\xe4na,] LT",nextDay:"[Homme,] LT",nextWeek:"[J\xe4rgmine] dddd LT",lastDay:"[Eile,] LT",lastWeek:"[Eelmine] dddd LT",sameElse:"L"},relativeTime:{future:"%s p\xe4rast",past:"%s tagasi",s:m,ss:m,m,mm:m,h:m,hh:m,d:m,dd:"%d p\xe4eva",M:m,MM:m,y:m,yy:m},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(w(5439))},7931:function(se,q,w){!function(v){"use strict";v.defineLocale("eu",{months:"urtarrila_otsaila_martxoa_apirila_maiatza_ekaina_uztaila_abuztua_iraila_urria_azaroa_abendua".split("_"),monthsShort:"urt._ots._mar._api._mai._eka._uzt._abu._ira._urr._aza._abe.".split("_"),monthsParseExact:!0,weekdays:"igandea_astelehena_asteartea_asteazkena_osteguna_ostirala_larunbata".split("_"),weekdaysShort:"ig._al._ar._az._og._ol._lr.".split("_"),weekdaysMin:"ig_al_ar_az_og_ol_lr".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY[ko] MMMM[ren] D[a]",LLL:"YYYY[ko] MMMM[ren] D[a] HH:mm",LLLL:"dddd, YYYY[ko] MMMM[ren] D[a] HH:mm",l:"YYYY-M-D",ll:"YYYY[ko] MMM D[a]",lll:"YYYY[ko] MMM D[a] HH:mm",llll:"ddd, YYYY[ko] MMM D[a] HH:mm"},calendar:{sameDay:"[gaur] LT[etan]",nextDay:"[bihar] LT[etan]",nextWeek:"dddd LT[etan]",lastDay:"[atzo] LT[etan]",lastWeek:"[aurreko] dddd LT[etan]",sameElse:"L"},relativeTime:{future:"%s barru",past:"duela %s",s:"segundo batzuk",ss:"%d segundo",m:"minutu bat",mm:"%d minutu",h:"ordu bat",hh:"%d ordu",d:"egun bat",dd:"%d egun",M:"hilabete bat",MM:"%d hilabete",y:"urte bat",yy:"%d urte"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(w(5439))},6417:function(se,q,w){!function(v){"use strict";var m={1:"\u06f1",2:"\u06f2",3:"\u06f3",4:"\u06f4",5:"\u06f5",6:"\u06f6",7:"\u06f7",8:"\u06f8",9:"\u06f9",0:"\u06f0"},d={"\u06f1":"1","\u06f2":"2","\u06f3":"3","\u06f4":"4","\u06f5":"5","\u06f6":"6","\u06f7":"7","\u06f8":"8","\u06f9":"9","\u06f0":"0"};v.defineLocale("fa",{months:"\u0698\u0627\u0646\u0648\u06cc\u0647_\u0641\u0648\u0631\u06cc\u0647_\u0645\u0627\u0631\u0633_\u0622\u0648\u0631\u06cc\u0644_\u0645\u0647_\u0698\u0648\u0626\u0646_\u0698\u0648\u0626\u06cc\u0647_\u0627\u0648\u062a_\u0633\u067e\u062a\u0627\u0645\u0628\u0631_\u0627\u06a9\u062a\u0628\u0631_\u0646\u0648\u0627\u0645\u0628\u0631_\u062f\u0633\u0627\u0645\u0628\u0631".split("_"),monthsShort:"\u0698\u0627\u0646\u0648\u06cc\u0647_\u0641\u0648\u0631\u06cc\u0647_\u0645\u0627\u0631\u0633_\u0622\u0648\u0631\u06cc\u0644_\u0645\u0647_\u0698\u0648\u0626\u0646_\u0698\u0648\u0626\u06cc\u0647_\u0627\u0648\u062a_\u0633\u067e\u062a\u0627\u0645\u0628\u0631_\u0627\u06a9\u062a\u0628\u0631_\u0646\u0648\u0627\u0645\u0628\u0631_\u062f\u0633\u0627\u0645\u0628\u0631".split("_"),weekdays:"\u06cc\u06a9\u200c\u0634\u0646\u0628\u0647_\u062f\u0648\u0634\u0646\u0628\u0647_\u0633\u0647\u200c\u0634\u0646\u0628\u0647_\u0686\u0647\u0627\u0631\u0634\u0646\u0628\u0647_\u067e\u0646\u062c\u200c\u0634\u0646\u0628\u0647_\u062c\u0645\u0639\u0647_\u0634\u0646\u0628\u0647".split("_"),weekdaysShort:"\u06cc\u06a9\u200c\u0634\u0646\u0628\u0647_\u062f\u0648\u0634\u0646\u0628\u0647_\u0633\u0647\u200c\u0634\u0646\u0628\u0647_\u0686\u0647\u0627\u0631\u0634\u0646\u0628\u0647_\u067e\u0646\u062c\u200c\u0634\u0646\u0628\u0647_\u062c\u0645\u0639\u0647_\u0634\u0646\u0628\u0647".split("_"),weekdaysMin:"\u06cc_\u062f_\u0633_\u0686_\u067e_\u062c_\u0634".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiemParse:/\u0642\u0628\u0644 \u0627\u0632 \u0638\u0647\u0631|\u0628\u0639\u062f \u0627\u0632 \u0638\u0647\u0631/,isPM:function(p){return/\u0628\u0639\u062f \u0627\u0632 \u0638\u0647\u0631/.test(p)},meridiem:function(p,g,y){return p<12?"\u0642\u0628\u0644 \u0627\u0632 \u0638\u0647\u0631":"\u0628\u0639\u062f \u0627\u0632 \u0638\u0647\u0631"},calendar:{sameDay:"[\u0627\u0645\u0631\u0648\u0632 \u0633\u0627\u0639\u062a] LT",nextDay:"[\u0641\u0631\u062f\u0627 \u0633\u0627\u0639\u062a] LT",nextWeek:"dddd [\u0633\u0627\u0639\u062a] LT",lastDay:"[\u062f\u06cc\u0631\u0648\u0632 \u0633\u0627\u0639\u062a] LT",lastWeek:"dddd [\u067e\u06cc\u0634] [\u0633\u0627\u0639\u062a] LT",sameElse:"L"},relativeTime:{future:"\u062f\u0631 %s",past:"%s \u067e\u06cc\u0634",s:"\u0686\u0646\u062f \u062b\u0627\u0646\u06cc\u0647",ss:"%d \u062b\u0627\u0646\u06cc\u0647",m:"\u06cc\u06a9 \u062f\u0642\u06cc\u0642\u0647",mm:"%d \u062f\u0642\u06cc\u0642\u0647",h:"\u06cc\u06a9 \u0633\u0627\u0639\u062a",hh:"%d \u0633\u0627\u0639\u062a",d:"\u06cc\u06a9 \u0631\u0648\u0632",dd:"%d \u0631\u0648\u0632",M:"\u06cc\u06a9 \u0645\u0627\u0647",MM:"%d \u0645\u0627\u0647",y:"\u06cc\u06a9 \u0633\u0627\u0644",yy:"%d \u0633\u0627\u0644"},preparse:function(p){return p.replace(/[\u06f0-\u06f9]/g,function(g){return d[g]}).replace(/\u060c/g,",")},postformat:function(p){return p.replace(/\d/g,function(g){return m[g]}).replace(/,/g,"\u060c")},dayOfMonthOrdinalParse:/\d{1,2}\u0645/,ordinal:"%d\u0645",week:{dow:6,doy:12}})}(w(5439))},944:function(se,q,w){!function(v){"use strict";var m="nolla yksi kaksi kolme nelj\xe4 viisi kuusi seitsem\xe4n kahdeksan yhdeks\xe4n".split(" "),d=["nolla","yhden","kahden","kolmen","nelj\xe4n","viiden","kuuden",m[7],m[8],m[9]];function u(y,b,C,P){var N="";switch(C){case"s":return P?"muutaman sekunnin":"muutama sekunti";case"ss":N=P?"sekunnin":"sekuntia";break;case"m":return P?"minuutin":"minuutti";case"mm":N=P?"minuutin":"minuuttia";break;case"h":return P?"tunnin":"tunti";case"hh":N=P?"tunnin":"tuntia";break;case"d":return P?"p\xe4iv\xe4n":"p\xe4iv\xe4";case"dd":N=P?"p\xe4iv\xe4n":"p\xe4iv\xe4\xe4";break;case"M":return P?"kuukauden":"kuukausi";case"MM":N=P?"kuukauden":"kuukautta";break;case"y":return P?"vuoden":"vuosi";case"yy":N=P?"vuoden":"vuotta"}return function p(y,b){return y<10?b?d[y]:m[y]:y}(y,P)+" "+N}v.defineLocale("fi",{months:"tammikuu_helmikuu_maaliskuu_huhtikuu_toukokuu_kes\xe4kuu_hein\xe4kuu_elokuu_syyskuu_lokakuu_marraskuu_joulukuu".split("_"),monthsShort:"tammi_helmi_maalis_huhti_touko_kes\xe4_hein\xe4_elo_syys_loka_marras_joulu".split("_"),weekdays:"sunnuntai_maanantai_tiistai_keskiviikko_torstai_perjantai_lauantai".split("_"),weekdaysShort:"su_ma_ti_ke_to_pe_la".split("_"),weekdaysMin:"su_ma_ti_ke_to_pe_la".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD.MM.YYYY",LL:"Do MMMM[ta] YYYY",LLL:"Do MMMM[ta] YYYY, [klo] HH.mm",LLLL:"dddd, Do MMMM[ta] YYYY, [klo] HH.mm",l:"D.M.YYYY",ll:"Do MMM YYYY",lll:"Do MMM YYYY, [klo] HH.mm",llll:"ddd, Do MMM YYYY, [klo] HH.mm"},calendar:{sameDay:"[t\xe4n\xe4\xe4n] [klo] LT",nextDay:"[huomenna] [klo] LT",nextWeek:"dddd [klo] LT",lastDay:"[eilen] [klo] LT",lastWeek:"[viime] dddd[na] [klo] LT",sameElse:"L"},relativeTime:{future:"%s p\xe4\xe4st\xe4",past:"%s sitten",s:u,ss:u,m:u,mm:u,h:u,hh:u,d:u,dd:u,M:u,MM:u,y:u,yy:u},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(w(5439))},1766:function(se,q,w){!function(v){"use strict";v.defineLocale("fil",{months:"Enero_Pebrero_Marso_Abril_Mayo_Hunyo_Hulyo_Agosto_Setyembre_Oktubre_Nobyembre_Disyembre".split("_"),monthsShort:"Ene_Peb_Mar_Abr_May_Hun_Hul_Ago_Set_Okt_Nob_Dis".split("_"),weekdays:"Linggo_Lunes_Martes_Miyerkules_Huwebes_Biyernes_Sabado".split("_"),weekdaysShort:"Lin_Lun_Mar_Miy_Huw_Biy_Sab".split("_"),weekdaysMin:"Li_Lu_Ma_Mi_Hu_Bi_Sab".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"MM/D/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY HH:mm",LLLL:"dddd, MMMM DD, YYYY HH:mm"},calendar:{sameDay:"LT [ngayong araw]",nextDay:"[Bukas ng] LT",nextWeek:"LT [sa susunod na] dddd",lastDay:"LT [kahapon]",lastWeek:"LT [noong nakaraang] dddd",sameElse:"L"},relativeTime:{future:"sa loob ng %s",past:"%s ang nakalipas",s:"ilang segundo",ss:"%d segundo",m:"isang minuto",mm:"%d minuto",h:"isang oras",hh:"%d oras",d:"isang araw",dd:"%d araw",M:"isang buwan",MM:"%d buwan",y:"isang taon",yy:"%d taon"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:function(d){return d},week:{dow:1,doy:4}})}(w(5439))},5867:function(se,q,w){!function(v){"use strict";v.defineLocale("fo",{months:"januar_februar_mars_apr\xedl_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan_feb_mar_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_"),weekdays:"sunnudagur_m\xe1nadagur_t\xfdsdagur_mikudagur_h\xf3sdagur_fr\xedggjadagur_leygardagur".split("_"),weekdaysShort:"sun_m\xe1n_t\xfds_mik_h\xf3s_fr\xed_ley".split("_"),weekdaysMin:"su_m\xe1_t\xfd_mi_h\xf3_fr_le".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D. MMMM, YYYY HH:mm"},calendar:{sameDay:"[\xcd dag kl.] LT",nextDay:"[\xcd morgin kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[\xcd gj\xe1r kl.] LT",lastWeek:"[s\xed\xf0stu] dddd [kl] LT",sameElse:"L"},relativeTime:{future:"um %s",past:"%s s\xed\xf0ani",s:"f\xe1 sekund",ss:"%d sekundir",m:"ein minuttur",mm:"%d minuttir",h:"ein t\xedmi",hh:"%d t\xedmar",d:"ein dagur",dd:"%d dagar",M:"ein m\xe1na\xf0ur",MM:"%d m\xe1na\xf0ir",y:"eitt \xe1r",yy:"%d \xe1r"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(w(5439))},6848:function(se,q,w){!function(v){"use strict";v.defineLocale("fr-ca",{months:"janvier_f\xe9vrier_mars_avril_mai_juin_juillet_ao\xfbt_septembre_octobre_novembre_d\xe9cembre".split("_"),monthsShort:"janv._f\xe9vr._mars_avr._mai_juin_juil._ao\xfbt_sept._oct._nov._d\xe9c.".split("_"),monthsParseExact:!0,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd\u2019hui \xe0] LT",nextDay:"[Demain \xe0] LT",nextWeek:"dddd [\xe0] LT",lastDay:"[Hier \xe0] LT",lastWeek:"dddd [dernier \xe0] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|e)/,ordinal:function(d,u){switch(u){default:case"M":case"Q":case"D":case"DDD":case"d":return d+(1===d?"er":"e");case"w":case"W":return d+(1===d?"re":"e")}}})}(w(5439))},7773:function(se,q,w){!function(v){"use strict";v.defineLocale("fr-ch",{months:"janvier_f\xe9vrier_mars_avril_mai_juin_juillet_ao\xfbt_septembre_octobre_novembre_d\xe9cembre".split("_"),monthsShort:"janv._f\xe9vr._mars_avr._mai_juin_juil._ao\xfbt_sept._oct._nov._d\xe9c.".split("_"),monthsParseExact:!0,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd\u2019hui \xe0] LT",nextDay:"[Demain \xe0] LT",nextWeek:"dddd [\xe0] LT",lastDay:"[Hier \xe0] LT",lastWeek:"dddd [dernier \xe0] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|e)/,ordinal:function(d,u){switch(u){default:case"M":case"Q":case"D":case"DDD":case"d":return d+(1===d?"er":"e");case"w":case"W":return d+(1===d?"re":"e")}},week:{dow:1,doy:4}})}(w(5439))},1636:function(se,q,w){!function(v){"use strict";var u=/(janv\.?|f\xe9vr\.?|mars|avr\.?|mai|juin|juil\.?|ao\xfbt|sept\.?|oct\.?|nov\.?|d\xe9c\.?|janvier|f\xe9vrier|mars|avril|mai|juin|juillet|ao\xfbt|septembre|octobre|novembre|d\xe9cembre)/i,p=[/^janv/i,/^f\xe9vr/i,/^mars/i,/^avr/i,/^mai/i,/^juin/i,/^juil/i,/^ao\xfbt/i,/^sept/i,/^oct/i,/^nov/i,/^d\xe9c/i];v.defineLocale("fr",{months:"janvier_f\xe9vrier_mars_avril_mai_juin_juillet_ao\xfbt_septembre_octobre_novembre_d\xe9cembre".split("_"),monthsShort:"janv._f\xe9vr._mars_avr._mai_juin_juil._ao\xfbt_sept._oct._nov._d\xe9c.".split("_"),monthsRegex:u,monthsShortRegex:u,monthsStrictRegex:/^(janvier|f\xe9vrier|mars|avril|mai|juin|juillet|ao\xfbt|septembre|octobre|novembre|d\xe9cembre)/i,monthsShortStrictRegex:/(janv\.?|f\xe9vr\.?|mars|avr\.?|mai|juin|juil\.?|ao\xfbt|sept\.?|oct\.?|nov\.?|d\xe9c\.?)/i,monthsParse:p,longMonthsParse:p,shortMonthsParse:p,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd\u2019hui \xe0] LT",nextDay:"[Demain \xe0] LT",nextWeek:"dddd [\xe0] LT",lastDay:"[Hier \xe0] LT",lastWeek:"dddd [dernier \xe0] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",w:"une semaine",ww:"%d semaines",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|)/,ordinal:function(y,b){switch(b){case"D":return y+(1===y?"er":"");default:case"M":case"Q":case"DDD":case"d":return y+(1===y?"er":"e");case"w":case"W":return y+(1===y?"re":"e")}},week:{dow:1,doy:4}})}(w(5439))},4940:function(se,q,w){!function(v){"use strict";var m="jan._feb._mrt._apr._mai_jun._jul._aug._sep._okt._nov._des.".split("_"),d="jan_feb_mrt_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_");v.defineLocale("fy",{months:"jannewaris_febrewaris_maart_april_maaie_juny_july_augustus_septimber_oktober_novimber_desimber".split("_"),monthsShort:function(p,g){return p?/-MMM-/.test(g)?d[p.month()]:m[p.month()]:m},monthsParseExact:!0,weekdays:"snein_moandei_tiisdei_woansdei_tongersdei_freed_sneon".split("_"),weekdaysShort:"si._mo._ti._wo._to._fr._so.".split("_"),weekdaysMin:"Si_Mo_Ti_Wo_To_Fr_So".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[hjoed om] LT",nextDay:"[moarn om] LT",nextWeek:"dddd [om] LT",lastDay:"[juster om] LT",lastWeek:"[\xf4fr\xfbne] dddd [om] LT",sameElse:"L"},relativeTime:{future:"oer %s",past:"%s lyn",s:"in pear sekonden",ss:"%d sekonden",m:"ien min\xfat",mm:"%d minuten",h:"ien oere",hh:"%d oeren",d:"ien dei",dd:"%d dagen",M:"ien moanne",MM:"%d moannen",y:"ien jier",yy:"%d jierren"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(p){return p+(1===p||8===p||p>=20?"ste":"de")},week:{dow:1,doy:4}})}(w(5439))},1402:function(se,q,w){!function(v){"use strict";v.defineLocale("ga",{months:["Ean\xe1ir","Feabhra","M\xe1rta","Aibre\xe1n","Bealtaine","Meitheamh","I\xfail","L\xfanasa","Me\xe1n F\xf3mhair","Deireadh F\xf3mhair","Samhain","Nollaig"],monthsShort:["Ean","Feabh","M\xe1rt","Aib","Beal","Meith","I\xfail","L\xfan","M.F.","D.F.","Samh","Noll"],monthsParseExact:!0,weekdays:["D\xe9 Domhnaigh","D\xe9 Luain","D\xe9 M\xe1irt","D\xe9 C\xe9adaoin","D\xe9ardaoin","D\xe9 hAoine","D\xe9 Sathairn"],weekdaysShort:["Domh","Luan","M\xe1irt","C\xe9ad","D\xe9ar","Aoine","Sath"],weekdaysMin:["Do","Lu","M\xe1","C\xe9","D\xe9","A","Sa"],longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Inniu ag] LT",nextDay:"[Am\xe1rach ag] LT",nextWeek:"dddd [ag] LT",lastDay:"[Inn\xe9 ag] LT",lastWeek:"dddd [seo caite] [ag] LT",sameElse:"L"},relativeTime:{future:"i %s",past:"%s \xf3 shin",s:"c\xfapla soicind",ss:"%d soicind",m:"n\xf3im\xe9ad",mm:"%d n\xf3im\xe9ad",h:"uair an chloig",hh:"%d uair an chloig",d:"l\xe1",dd:"%d l\xe1",M:"m\xed",MM:"%d m\xedonna",y:"bliain",yy:"%d bliain"},dayOfMonthOrdinalParse:/\d{1,2}(d|na|mh)/,ordinal:function(b){return b+(1===b?"d":b%10==2?"na":"mh")},week:{dow:1,doy:4}})}(w(5439))},6924:function(se,q,w){!function(v){"use strict";v.defineLocale("gd",{months:["Am Faoilleach","An Gearran","Am M\xe0rt","An Giblean","An C\xe8itean","An t-\xd2gmhios","An t-Iuchar","An L\xf9nastal","An t-Sultain","An D\xe0mhair","An t-Samhain","An D\xf9bhlachd"],monthsShort:["Faoi","Gear","M\xe0rt","Gibl","C\xe8it","\xd2gmh","Iuch","L\xf9n","Sult","D\xe0mh","Samh","D\xf9bh"],monthsParseExact:!0,weekdays:["Did\xf2mhnaich","Diluain","Dim\xe0irt","Diciadain","Diardaoin","Dihaoine","Disathairne"],weekdaysShort:["Did","Dil","Dim","Dic","Dia","Dih","Dis"],weekdaysMin:["D\xf2","Lu","M\xe0","Ci","Ar","Ha","Sa"],longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[An-diugh aig] LT",nextDay:"[A-m\xe0ireach aig] LT",nextWeek:"dddd [aig] LT",lastDay:"[An-d\xe8 aig] LT",lastWeek:"dddd [seo chaidh] [aig] LT",sameElse:"L"},relativeTime:{future:"ann an %s",past:"bho chionn %s",s:"beagan diogan",ss:"%d diogan",m:"mionaid",mm:"%d mionaidean",h:"uair",hh:"%d uairean",d:"latha",dd:"%d latha",M:"m\xecos",MM:"%d m\xecosan",y:"bliadhna",yy:"%d bliadhna"},dayOfMonthOrdinalParse:/\d{1,2}(d|na|mh)/,ordinal:function(b){return b+(1===b?"d":b%10==2?"na":"mh")},week:{dow:1,doy:4}})}(w(5439))},6398:function(se,q,w){!function(v){"use strict";v.defineLocale("gl",{months:"xaneiro_febreiro_marzo_abril_maio_xu\xf1o_xullo_agosto_setembro_outubro_novembro_decembro".split("_"),monthsShort:"xan._feb._mar._abr._mai._xu\xf1._xul._ago._set._out._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"domingo_luns_martes_m\xe9rcores_xoves_venres_s\xe1bado".split("_"),weekdaysShort:"dom._lun._mar._m\xe9r._xov._ven._s\xe1b.".split("_"),weekdaysMin:"do_lu_ma_m\xe9_xo_ve_s\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoxe "+(1!==this.hours()?"\xe1s":"\xe1")+"] LT"},nextDay:function(){return"[ma\xf1\xe1 "+(1!==this.hours()?"\xe1s":"\xe1")+"] LT"},nextWeek:function(){return"dddd ["+(1!==this.hours()?"\xe1s":"a")+"] LT"},lastDay:function(){return"[onte "+(1!==this.hours()?"\xe1":"a")+"] LT"},lastWeek:function(){return"[o] dddd [pasado "+(1!==this.hours()?"\xe1s":"a")+"] LT"},sameElse:"L"},relativeTime:{future:function(d){return 0===d.indexOf("un")?"n"+d:"en "+d},past:"hai %s",s:"uns segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"unha hora",hh:"%d horas",d:"un d\xeda",dd:"%d d\xedas",M:"un mes",MM:"%d meses",y:"un ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(w(5439))},2457:function(se,q,w){!function(v){"use strict";function m(u,p,g,y){var b={s:["\u0925\u094b\u0921\u092f\u093e \u0938\u0945\u0915\u0902\u0921\u093e\u0902\u0928\u0940","\u0925\u094b\u0921\u0947 \u0938\u0945\u0915\u0902\u0921"],ss:[u+" \u0938\u0945\u0915\u0902\u0921\u093e\u0902\u0928\u0940",u+" \u0938\u0945\u0915\u0902\u0921"],m:["\u090f\u0915\u093e \u092e\u093f\u0923\u091f\u093e\u0928","\u090f\u0915 \u092e\u093f\u0928\u0942\u091f"],mm:[u+" \u092e\u093f\u0923\u091f\u093e\u0902\u0928\u0940",u+" \u092e\u093f\u0923\u091f\u093e\u0902"],h:["\u090f\u0915\u093e \u0935\u0930\u093e\u0928","\u090f\u0915 \u0935\u0930"],hh:[u+" \u0935\u0930\u093e\u0902\u0928\u0940",u+" \u0935\u0930\u093e\u0902"],d:["\u090f\u0915\u093e \u0926\u093f\u0938\u093e\u0928","\u090f\u0915 \u0926\u0940\u0938"],dd:[u+" \u0926\u093f\u0938\u093e\u0902\u0928\u0940",u+" \u0926\u0940\u0938"],M:["\u090f\u0915\u093e \u092e\u094d\u0939\u092f\u0928\u094d\u092f\u093e\u0928","\u090f\u0915 \u092e\u094d\u0939\u092f\u0928\u094b"],MM:[u+" \u092e\u094d\u0939\u092f\u0928\u094d\u092f\u093e\u0928\u0940",u+" \u092e\u094d\u0939\u092f\u0928\u0947"],y:["\u090f\u0915\u093e \u0935\u0930\u094d\u0938\u093e\u0928","\u090f\u0915 \u0935\u0930\u094d\u0938"],yy:[u+" \u0935\u0930\u094d\u0938\u093e\u0902\u0928\u0940",u+" \u0935\u0930\u094d\u0938\u093e\u0902"]};return y?b[g][0]:b[g][1]}v.defineLocale("gom-deva",{months:{standalone:"\u091c\u093e\u0928\u0947\u0935\u093e\u0930\u0940_\u092b\u0947\u092c\u094d\u0930\u0941\u0935\u093e\u0930\u0940_\u092e\u093e\u0930\u094d\u091a_\u090f\u092a\u094d\u0930\u0940\u0932_\u092e\u0947_\u091c\u0942\u0928_\u091c\u0941\u0932\u092f_\u0911\u0917\u0938\u094d\u091f_\u0938\u092a\u094d\u091f\u0947\u0902\u092c\u0930_\u0911\u0915\u094d\u091f\u094b\u092c\u0930_\u0928\u094b\u0935\u094d\u0939\u0947\u0902\u092c\u0930_\u0921\u093f\u0938\u0947\u0902\u092c\u0930".split("_"),format:"\u091c\u093e\u0928\u0947\u0935\u093e\u0930\u0940\u091a\u094d\u092f\u093e_\u092b\u0947\u092c\u094d\u0930\u0941\u0935\u093e\u0930\u0940\u091a\u094d\u092f\u093e_\u092e\u093e\u0930\u094d\u091a\u093e\u091a\u094d\u092f\u093e_\u090f\u092a\u094d\u0930\u0940\u0932\u093e\u091a\u094d\u092f\u093e_\u092e\u0947\u092f\u093e\u091a\u094d\u092f\u093e_\u091c\u0942\u0928\u093e\u091a\u094d\u092f\u093e_\u091c\u0941\u0932\u092f\u093e\u091a\u094d\u092f\u093e_\u0911\u0917\u0938\u094d\u091f\u093e\u091a\u094d\u092f\u093e_\u0938\u092a\u094d\u091f\u0947\u0902\u092c\u0930\u093e\u091a\u094d\u092f\u093e_\u0911\u0915\u094d\u091f\u094b\u092c\u0930\u093e\u091a\u094d\u092f\u093e_\u0928\u094b\u0935\u094d\u0939\u0947\u0902\u092c\u0930\u093e\u091a\u094d\u092f\u093e_\u0921\u093f\u0938\u0947\u0902\u092c\u0930\u093e\u091a\u094d\u092f\u093e".split("_"),isFormat:/MMMM(\s)+D[oD]?/},monthsShort:"\u091c\u093e\u0928\u0947._\u092b\u0947\u092c\u094d\u0930\u0941._\u092e\u093e\u0930\u094d\u091a_\u090f\u092a\u094d\u0930\u0940._\u092e\u0947_\u091c\u0942\u0928_\u091c\u0941\u0932._\u0911\u0917._\u0938\u092a\u094d\u091f\u0947\u0902._\u0911\u0915\u094d\u091f\u094b._\u0928\u094b\u0935\u094d\u0939\u0947\u0902._\u0921\u093f\u0938\u0947\u0902.".split("_"),monthsParseExact:!0,weekdays:"\u0906\u092f\u0924\u093e\u0930_\u0938\u094b\u092e\u093e\u0930_\u092e\u0902\u0917\u0933\u093e\u0930_\u092c\u0941\u0927\u0935\u093e\u0930_\u092c\u093f\u0930\u0947\u0938\u094d\u0924\u093e\u0930_\u0938\u0941\u0915\u094d\u0930\u093e\u0930_\u0936\u0947\u0928\u0935\u093e\u0930".split("_"),weekdaysShort:"\u0906\u092f\u0924._\u0938\u094b\u092e._\u092e\u0902\u0917\u0933._\u092c\u0941\u0927._\u092c\u094d\u0930\u0947\u0938\u094d\u0924._\u0938\u0941\u0915\u094d\u0930._\u0936\u0947\u0928.".split("_"),weekdaysMin:"\u0906_\u0938\u094b_\u092e\u0902_\u092c\u0941_\u092c\u094d\u0930\u0947_\u0938\u0941_\u0936\u0947".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"A h:mm [\u0935\u093e\u091c\u0924\u093e\u0902]",LTS:"A h:mm:ss [\u0935\u093e\u091c\u0924\u093e\u0902]",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY A h:mm [\u0935\u093e\u091c\u0924\u093e\u0902]",LLLL:"dddd, MMMM Do, YYYY, A h:mm [\u0935\u093e\u091c\u0924\u093e\u0902]",llll:"ddd, D MMM YYYY, A h:mm [\u0935\u093e\u091c\u0924\u093e\u0902]"},calendar:{sameDay:"[\u0906\u092f\u091c] LT",nextDay:"[\u092b\u093e\u0932\u094d\u092f\u093e\u0902] LT",nextWeek:"[\u092b\u0941\u0921\u0932\u094b] dddd[,] LT",lastDay:"[\u0915\u093e\u0932] LT",lastWeek:"[\u092b\u093e\u091f\u0932\u094b] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%s",past:"%s \u0906\u0926\u0940\u0902",s:m,ss:m,m,mm:m,h:m,hh:m,d:m,dd:m,M:m,MM:m,y:m,yy:m},dayOfMonthOrdinalParse:/\d{1,2}(\u0935\u0947\u0930)/,ordinal:function(u,p){return"D"===p?u+"\u0935\u0947\u0930":u},week:{dow:0,doy:3},meridiemParse:/\u0930\u093e\u0924\u0940|\u0938\u0915\u093e\u0933\u0940\u0902|\u0926\u0928\u092a\u093e\u0930\u093e\u0902|\u0938\u093e\u0902\u091c\u0947/,meridiemHour:function(u,p){return 12===u&&(u=0),"\u0930\u093e\u0924\u0940"===p?u<4?u:u+12:"\u0938\u0915\u093e\u0933\u0940\u0902"===p?u:"\u0926\u0928\u092a\u093e\u0930\u093e\u0902"===p?u>12?u:u+12:"\u0938\u093e\u0902\u091c\u0947"===p?u+12:void 0},meridiem:function(u,p,g){return u<4?"\u0930\u093e\u0924\u0940":u<12?"\u0938\u0915\u093e\u0933\u0940\u0902":u<16?"\u0926\u0928\u092a\u093e\u0930\u093e\u0902":u<20?"\u0938\u093e\u0902\u091c\u0947":"\u0930\u093e\u0924\u0940"}})}(w(5439))},2545:function(se,q,w){!function(v){"use strict";function m(u,p,g,y){var b={s:["thoddea sekondamni","thodde sekond"],ss:[u+" sekondamni",u+" sekond"],m:["eka mintan","ek minut"],mm:[u+" mintamni",u+" mintam"],h:["eka voran","ek vor"],hh:[u+" voramni",u+" voram"],d:["eka disan","ek dis"],dd:[u+" disamni",u+" dis"],M:["eka mhoinean","ek mhoino"],MM:[u+" mhoineamni",u+" mhoine"],y:["eka vorsan","ek voros"],yy:[u+" vorsamni",u+" vorsam"]};return y?b[g][0]:b[g][1]}v.defineLocale("gom-latn",{months:{standalone:"Janer_Febrer_Mars_Abril_Mai_Jun_Julai_Agost_Setembr_Otubr_Novembr_Dezembr".split("_"),format:"Janerachea_Febrerachea_Marsachea_Abrilachea_Maiachea_Junachea_Julaiachea_Agostachea_Setembrachea_Otubrachea_Novembrachea_Dezembrachea".split("_"),isFormat:/MMMM(\s)+D[oD]?/},monthsShort:"Jan._Feb._Mars_Abr._Mai_Jun_Jul._Ago._Set._Otu._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Aitar_Somar_Mongllar_Budhvar_Birestar_Sukrar_Son'var".split("_"),weekdaysShort:"Ait._Som._Mon._Bud._Bre._Suk._Son.".split("_"),weekdaysMin:"Ai_Sm_Mo_Bu_Br_Su_Sn".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"A h:mm [vazta]",LTS:"A h:mm:ss [vazta]",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY A h:mm [vazta]",LLLL:"dddd, MMMM Do, YYYY, A h:mm [vazta]",llll:"ddd, D MMM YYYY, A h:mm [vazta]"},calendar:{sameDay:"[Aiz] LT",nextDay:"[Faleam] LT",nextWeek:"[Fuddlo] dddd[,] LT",lastDay:"[Kal] LT",lastWeek:"[Fattlo] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%s",past:"%s adim",s:m,ss:m,m,mm:m,h:m,hh:m,d:m,dd:m,M:m,MM:m,y:m,yy:m},dayOfMonthOrdinalParse:/\d{1,2}(er)/,ordinal:function(u,p){return"D"===p?u+"er":u},week:{dow:0,doy:3},meridiemParse:/rati|sokallim|donparam|sanje/,meridiemHour:function(u,p){return 12===u&&(u=0),"rati"===p?u<4?u:u+12:"sokallim"===p?u:"donparam"===p?u>12?u:u+12:"sanje"===p?u+12:void 0},meridiem:function(u,p,g){return u<4?"rati":u<12?"sokallim":u<16?"donparam":u<20?"sanje":"rati"}})}(w(5439))},2641:function(se,q,w){!function(v){"use strict";var m={1:"\u0ae7",2:"\u0ae8",3:"\u0ae9",4:"\u0aea",5:"\u0aeb",6:"\u0aec",7:"\u0aed",8:"\u0aee",9:"\u0aef",0:"\u0ae6"},d={"\u0ae7":"1","\u0ae8":"2","\u0ae9":"3","\u0aea":"4","\u0aeb":"5","\u0aec":"6","\u0aed":"7","\u0aee":"8","\u0aef":"9","\u0ae6":"0"};v.defineLocale("gu",{months:"\u0a9c\u0abe\u0aa8\u0acd\u0aaf\u0ac1\u0a86\u0ab0\u0ac0_\u0aab\u0ac7\u0aac\u0acd\u0ab0\u0ac1\u0a86\u0ab0\u0ac0_\u0aae\u0abe\u0ab0\u0acd\u0a9a_\u0a8f\u0aaa\u0acd\u0ab0\u0abf\u0ab2_\u0aae\u0ac7_\u0a9c\u0ac2\u0aa8_\u0a9c\u0ac1\u0ab2\u0abe\u0a88_\u0a91\u0a97\u0ab8\u0acd\u0a9f_\u0ab8\u0aaa\u0acd\u0a9f\u0ac7\u0aae\u0acd\u0aac\u0ab0_\u0a91\u0a95\u0acd\u0a9f\u0acd\u0aac\u0ab0_\u0aa8\u0ab5\u0ac7\u0aae\u0acd\u0aac\u0ab0_\u0aa1\u0abf\u0ab8\u0ac7\u0aae\u0acd\u0aac\u0ab0".split("_"),monthsShort:"\u0a9c\u0abe\u0aa8\u0acd\u0aaf\u0ac1._\u0aab\u0ac7\u0aac\u0acd\u0ab0\u0ac1._\u0aae\u0abe\u0ab0\u0acd\u0a9a_\u0a8f\u0aaa\u0acd\u0ab0\u0abf._\u0aae\u0ac7_\u0a9c\u0ac2\u0aa8_\u0a9c\u0ac1\u0ab2\u0abe._\u0a91\u0a97._\u0ab8\u0aaa\u0acd\u0a9f\u0ac7._\u0a91\u0a95\u0acd\u0a9f\u0acd._\u0aa8\u0ab5\u0ac7._\u0aa1\u0abf\u0ab8\u0ac7.".split("_"),monthsParseExact:!0,weekdays:"\u0ab0\u0ab5\u0abf\u0ab5\u0abe\u0ab0_\u0ab8\u0acb\u0aae\u0ab5\u0abe\u0ab0_\u0aae\u0a82\u0a97\u0ab3\u0ab5\u0abe\u0ab0_\u0aac\u0ac1\u0aa7\u0acd\u0ab5\u0abe\u0ab0_\u0a97\u0ac1\u0ab0\u0ac1\u0ab5\u0abe\u0ab0_\u0ab6\u0ac1\u0a95\u0acd\u0ab0\u0ab5\u0abe\u0ab0_\u0ab6\u0aa8\u0abf\u0ab5\u0abe\u0ab0".split("_"),weekdaysShort:"\u0ab0\u0ab5\u0abf_\u0ab8\u0acb\u0aae_\u0aae\u0a82\u0a97\u0ab3_\u0aac\u0ac1\u0aa7\u0acd_\u0a97\u0ac1\u0ab0\u0ac1_\u0ab6\u0ac1\u0a95\u0acd\u0ab0_\u0ab6\u0aa8\u0abf".split("_"),weekdaysMin:"\u0ab0_\u0ab8\u0acb_\u0aae\u0a82_\u0aac\u0ac1_\u0a97\u0ac1_\u0ab6\u0ac1_\u0ab6".split("_"),longDateFormat:{LT:"A h:mm \u0ab5\u0abe\u0a97\u0acd\u0aaf\u0ac7",LTS:"A h:mm:ss \u0ab5\u0abe\u0a97\u0acd\u0aaf\u0ac7",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u0ab5\u0abe\u0a97\u0acd\u0aaf\u0ac7",LLLL:"dddd, D MMMM YYYY, A h:mm \u0ab5\u0abe\u0a97\u0acd\u0aaf\u0ac7"},calendar:{sameDay:"[\u0a86\u0a9c] LT",nextDay:"[\u0a95\u0abe\u0ab2\u0ac7] LT",nextWeek:"dddd, LT",lastDay:"[\u0a97\u0a87\u0a95\u0abe\u0ab2\u0ac7] LT",lastWeek:"[\u0aaa\u0abe\u0a9b\u0ab2\u0abe] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0aae\u0abe",past:"%s \u0aaa\u0ab9\u0ac7\u0ab2\u0abe",s:"\u0a85\u0aae\u0ac1\u0a95 \u0aaa\u0ab3\u0acb",ss:"%d \u0ab8\u0ac7\u0a95\u0a82\u0aa1",m:"\u0a8f\u0a95 \u0aae\u0abf\u0aa8\u0abf\u0a9f",mm:"%d \u0aae\u0abf\u0aa8\u0abf\u0a9f",h:"\u0a8f\u0a95 \u0a95\u0ab2\u0abe\u0a95",hh:"%d \u0a95\u0ab2\u0abe\u0a95",d:"\u0a8f\u0a95 \u0aa6\u0abf\u0ab5\u0ab8",dd:"%d \u0aa6\u0abf\u0ab5\u0ab8",M:"\u0a8f\u0a95 \u0aae\u0ab9\u0abf\u0aa8\u0acb",MM:"%d \u0aae\u0ab9\u0abf\u0aa8\u0acb",y:"\u0a8f\u0a95 \u0ab5\u0ab0\u0acd\u0ab7",yy:"%d \u0ab5\u0ab0\u0acd\u0ab7"},preparse:function(p){return p.replace(/[\u0ae7\u0ae8\u0ae9\u0aea\u0aeb\u0aec\u0aed\u0aee\u0aef\u0ae6]/g,function(g){return d[g]})},postformat:function(p){return p.replace(/\d/g,function(g){return m[g]})},meridiemParse:/\u0ab0\u0abe\u0aa4|\u0aac\u0aaa\u0acb\u0ab0|\u0ab8\u0ab5\u0abe\u0ab0|\u0ab8\u0abe\u0a82\u0a9c/,meridiemHour:function(p,g){return 12===p&&(p=0),"\u0ab0\u0abe\u0aa4"===g?p<4?p:p+12:"\u0ab8\u0ab5\u0abe\u0ab0"===g?p:"\u0aac\u0aaa\u0acb\u0ab0"===g?p>=10?p:p+12:"\u0ab8\u0abe\u0a82\u0a9c"===g?p+12:void 0},meridiem:function(p,g,y){return p<4?"\u0ab0\u0abe\u0aa4":p<10?"\u0ab8\u0ab5\u0abe\u0ab0":p<17?"\u0aac\u0aaa\u0acb\u0ab0":p<20?"\u0ab8\u0abe\u0a82\u0a9c":"\u0ab0\u0abe\u0aa4"},week:{dow:0,doy:6}})}(w(5439))},7536:function(se,q,w){!function(v){"use strict";v.defineLocale("he",{months:"\u05d9\u05e0\u05d5\u05d0\u05e8_\u05e4\u05d1\u05e8\u05d5\u05d0\u05e8_\u05de\u05e8\u05e5_\u05d0\u05e4\u05e8\u05d9\u05dc_\u05de\u05d0\u05d9_\u05d9\u05d5\u05e0\u05d9_\u05d9\u05d5\u05dc\u05d9_\u05d0\u05d5\u05d2\u05d5\u05e1\u05d8_\u05e1\u05e4\u05d8\u05de\u05d1\u05e8_\u05d0\u05d5\u05e7\u05d8\u05d5\u05d1\u05e8_\u05e0\u05d5\u05d1\u05de\u05d1\u05e8_\u05d3\u05e6\u05de\u05d1\u05e8".split("_"),monthsShort:"\u05d9\u05e0\u05d5\u05f3_\u05e4\u05d1\u05e8\u05f3_\u05de\u05e8\u05e5_\u05d0\u05e4\u05e8\u05f3_\u05de\u05d0\u05d9_\u05d9\u05d5\u05e0\u05d9_\u05d9\u05d5\u05dc\u05d9_\u05d0\u05d5\u05d2\u05f3_\u05e1\u05e4\u05d8\u05f3_\u05d0\u05d5\u05e7\u05f3_\u05e0\u05d5\u05d1\u05f3_\u05d3\u05e6\u05de\u05f3".split("_"),weekdays:"\u05e8\u05d0\u05e9\u05d5\u05df_\u05e9\u05e0\u05d9_\u05e9\u05dc\u05d9\u05e9\u05d9_\u05e8\u05d1\u05d9\u05e2\u05d9_\u05d7\u05de\u05d9\u05e9\u05d9_\u05e9\u05d9\u05e9\u05d9_\u05e9\u05d1\u05ea".split("_"),weekdaysShort:"\u05d0\u05f3_\u05d1\u05f3_\u05d2\u05f3_\u05d3\u05f3_\u05d4\u05f3_\u05d5\u05f3_\u05e9\u05f3".split("_"),weekdaysMin:"\u05d0_\u05d1_\u05d2_\u05d3_\u05d4_\u05d5_\u05e9".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [\u05d1]MMMM YYYY",LLL:"D [\u05d1]MMMM YYYY HH:mm",LLLL:"dddd, D [\u05d1]MMMM YYYY HH:mm",l:"D/M/YYYY",ll:"D MMM YYYY",lll:"D MMM YYYY HH:mm",llll:"ddd, D MMM YYYY HH:mm"},calendar:{sameDay:"[\u05d4\u05d9\u05d5\u05dd \u05d1\u05be]LT",nextDay:"[\u05de\u05d7\u05e8 \u05d1\u05be]LT",nextWeek:"dddd [\u05d1\u05e9\u05e2\u05d4] LT",lastDay:"[\u05d0\u05ea\u05de\u05d5\u05dc \u05d1\u05be]LT",lastWeek:"[\u05d1\u05d9\u05d5\u05dd] dddd [\u05d4\u05d0\u05d7\u05e8\u05d5\u05df \u05d1\u05e9\u05e2\u05d4] LT",sameElse:"L"},relativeTime:{future:"\u05d1\u05e2\u05d5\u05d3 %s",past:"\u05dc\u05e4\u05e0\u05d9 %s",s:"\u05de\u05e1\u05e4\u05e8 \u05e9\u05e0\u05d9\u05d5\u05ea",ss:"%d \u05e9\u05e0\u05d9\u05d5\u05ea",m:"\u05d3\u05e7\u05d4",mm:"%d \u05d3\u05e7\u05d5\u05ea",h:"\u05e9\u05e2\u05d4",hh:function(d){return 2===d?"\u05e9\u05e2\u05ea\u05d9\u05d9\u05dd":d+" \u05e9\u05e2\u05d5\u05ea"},d:"\u05d9\u05d5\u05dd",dd:function(d){return 2===d?"\u05d9\u05d5\u05de\u05d9\u05d9\u05dd":d+" \u05d9\u05de\u05d9\u05dd"},M:"\u05d7\u05d5\u05d3\u05e9",MM:function(d){return 2===d?"\u05d7\u05d5\u05d3\u05e9\u05d9\u05d9\u05dd":d+" \u05d7\u05d5\u05d3\u05e9\u05d9\u05dd"},y:"\u05e9\u05e0\u05d4",yy:function(d){return 2===d?"\u05e9\u05e0\u05ea\u05d9\u05d9\u05dd":d%10==0&&10!==d?d+" \u05e9\u05e0\u05d4":d+" \u05e9\u05e0\u05d9\u05dd"}},meridiemParse:/\u05d0\u05d7\u05d4"\u05e6|\u05dc\u05e4\u05e0\u05d4"\u05e6|\u05d0\u05d7\u05e8\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd|\u05dc\u05e4\u05e0\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd|\u05dc\u05e4\u05e0\u05d5\u05ea \u05d1\u05d5\u05e7\u05e8|\u05d1\u05d1\u05d5\u05e7\u05e8|\u05d1\u05e2\u05e8\u05d1/i,isPM:function(d){return/^(\u05d0\u05d7\u05d4"\u05e6|\u05d0\u05d7\u05e8\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd|\u05d1\u05e2\u05e8\u05d1)$/.test(d)},meridiem:function(d,u,p){return d<5?"\u05dc\u05e4\u05e0\u05d5\u05ea \u05d1\u05d5\u05e7\u05e8":d<10?"\u05d1\u05d1\u05d5\u05e7\u05e8":d<12?p?'\u05dc\u05e4\u05e0\u05d4"\u05e6':"\u05dc\u05e4\u05e0\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd":d<18?p?'\u05d0\u05d7\u05d4"\u05e6':"\u05d0\u05d7\u05e8\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd":"\u05d1\u05e2\u05e8\u05d1"}})}(w(5439))},6335:function(se,q,w){!function(v){"use strict";var m={1:"\u0967",2:"\u0968",3:"\u0969",4:"\u096a",5:"\u096b",6:"\u096c",7:"\u096d",8:"\u096e",9:"\u096f",0:"\u0966"},d={"\u0967":"1","\u0968":"2","\u0969":"3","\u096a":"4","\u096b":"5","\u096c":"6","\u096d":"7","\u096e":"8","\u096f":"9","\u0966":"0"},u=[/^\u091c\u0928/i,/^\u092b\u093c\u0930|\u092b\u0930/i,/^\u092e\u093e\u0930\u094d\u091a/i,/^\u0905\u092a\u094d\u0930\u0948/i,/^\u092e\u0908/i,/^\u091c\u0942\u0928/i,/^\u091c\u0941\u0932/i,/^\u0905\u0917/i,/^\u0938\u093f\u0924\u0902|\u0938\u093f\u0924/i,/^\u0905\u0915\u094d\u091f\u0942/i,/^\u0928\u0935|\u0928\u0935\u0902/i,/^\u0926\u093f\u0938\u0902|\u0926\u093f\u0938/i];v.defineLocale("hi",{months:{format:"\u091c\u0928\u0935\u0930\u0940_\u092b\u093c\u0930\u0935\u0930\u0940_\u092e\u093e\u0930\u094d\u091a_\u0905\u092a\u094d\u0930\u0948\u0932_\u092e\u0908_\u091c\u0942\u0928_\u091c\u0941\u0932\u093e\u0908_\u0905\u0917\u0938\u094d\u0924_\u0938\u093f\u0924\u092e\u094d\u092c\u0930_\u0905\u0915\u094d\u091f\u0942\u092c\u0930_\u0928\u0935\u092e\u094d\u092c\u0930_\u0926\u093f\u0938\u092e\u094d\u092c\u0930".split("_"),standalone:"\u091c\u0928\u0935\u0930\u0940_\u092b\u0930\u0935\u0930\u0940_\u092e\u093e\u0930\u094d\u091a_\u0905\u092a\u094d\u0930\u0948\u0932_\u092e\u0908_\u091c\u0942\u0928_\u091c\u0941\u0932\u093e\u0908_\u0905\u0917\u0938\u094d\u0924_\u0938\u093f\u0924\u0902\u092c\u0930_\u0905\u0915\u094d\u091f\u0942\u092c\u0930_\u0928\u0935\u0902\u092c\u0930_\u0926\u093f\u0938\u0902\u092c\u0930".split("_")},monthsShort:"\u091c\u0928._\u092b\u093c\u0930._\u092e\u093e\u0930\u094d\u091a_\u0905\u092a\u094d\u0930\u0948._\u092e\u0908_\u091c\u0942\u0928_\u091c\u0941\u0932._\u0905\u0917._\u0938\u093f\u0924._\u0905\u0915\u094d\u091f\u0942._\u0928\u0935._\u0926\u093f\u0938.".split("_"),weekdays:"\u0930\u0935\u093f\u0935\u093e\u0930_\u0938\u094b\u092e\u0935\u093e\u0930_\u092e\u0902\u0917\u0932\u0935\u093e\u0930_\u092c\u0941\u0927\u0935\u093e\u0930_\u0917\u0941\u0930\u0942\u0935\u093e\u0930_\u0936\u0941\u0915\u094d\u0930\u0935\u093e\u0930_\u0936\u0928\u093f\u0935\u093e\u0930".split("_"),weekdaysShort:"\u0930\u0935\u093f_\u0938\u094b\u092e_\u092e\u0902\u0917\u0932_\u092c\u0941\u0927_\u0917\u0941\u0930\u0942_\u0936\u0941\u0915\u094d\u0930_\u0936\u0928\u093f".split("_"),weekdaysMin:"\u0930_\u0938\u094b_\u092e\u0902_\u092c\u0941_\u0917\u0941_\u0936\u0941_\u0936".split("_"),longDateFormat:{LT:"A h:mm \u092c\u091c\u0947",LTS:"A h:mm:ss \u092c\u091c\u0947",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u092c\u091c\u0947",LLLL:"dddd, D MMMM YYYY, A h:mm \u092c\u091c\u0947"},monthsParse:u,longMonthsParse:u,shortMonthsParse:[/^\u091c\u0928/i,/^\u092b\u093c\u0930/i,/^\u092e\u093e\u0930\u094d\u091a/i,/^\u0905\u092a\u094d\u0930\u0948/i,/^\u092e\u0908/i,/^\u091c\u0942\u0928/i,/^\u091c\u0941\u0932/i,/^\u0905\u0917/i,/^\u0938\u093f\u0924/i,/^\u0905\u0915\u094d\u091f\u0942/i,/^\u0928\u0935/i,/^\u0926\u093f\u0938/i],monthsRegex:/^(\u091c\u0928\u0935\u0930\u0940|\u091c\u0928\.?|\u092b\u093c\u0930\u0935\u0930\u0940|\u092b\u0930\u0935\u0930\u0940|\u092b\u093c\u0930\.?|\u092e\u093e\u0930\u094d\u091a?|\u0905\u092a\u094d\u0930\u0948\u0932|\u0905\u092a\u094d\u0930\u0948\.?|\u092e\u0908?|\u091c\u0942\u0928?|\u091c\u0941\u0932\u093e\u0908|\u091c\u0941\u0932\.?|\u0905\u0917\u0938\u094d\u0924|\u0905\u0917\.?|\u0938\u093f\u0924\u092e\u094d\u092c\u0930|\u0938\u093f\u0924\u0902\u092c\u0930|\u0938\u093f\u0924\.?|\u0905\u0915\u094d\u091f\u0942\u092c\u0930|\u0905\u0915\u094d\u091f\u0942\.?|\u0928\u0935\u092e\u094d\u092c\u0930|\u0928\u0935\u0902\u092c\u0930|\u0928\u0935\.?|\u0926\u093f\u0938\u092e\u094d\u092c\u0930|\u0926\u093f\u0938\u0902\u092c\u0930|\u0926\u093f\u0938\.?)/i,monthsShortRegex:/^(\u091c\u0928\u0935\u0930\u0940|\u091c\u0928\.?|\u092b\u093c\u0930\u0935\u0930\u0940|\u092b\u0930\u0935\u0930\u0940|\u092b\u093c\u0930\.?|\u092e\u093e\u0930\u094d\u091a?|\u0905\u092a\u094d\u0930\u0948\u0932|\u0905\u092a\u094d\u0930\u0948\.?|\u092e\u0908?|\u091c\u0942\u0928?|\u091c\u0941\u0932\u093e\u0908|\u091c\u0941\u0932\.?|\u0905\u0917\u0938\u094d\u0924|\u0905\u0917\.?|\u0938\u093f\u0924\u092e\u094d\u092c\u0930|\u0938\u093f\u0924\u0902\u092c\u0930|\u0938\u093f\u0924\.?|\u0905\u0915\u094d\u091f\u0942\u092c\u0930|\u0905\u0915\u094d\u091f\u0942\.?|\u0928\u0935\u092e\u094d\u092c\u0930|\u0928\u0935\u0902\u092c\u0930|\u0928\u0935\.?|\u0926\u093f\u0938\u092e\u094d\u092c\u0930|\u0926\u093f\u0938\u0902\u092c\u0930|\u0926\u093f\u0938\.?)/i,monthsStrictRegex:/^(\u091c\u0928\u0935\u0930\u0940?|\u092b\u093c\u0930\u0935\u0930\u0940|\u092b\u0930\u0935\u0930\u0940?|\u092e\u093e\u0930\u094d\u091a?|\u0905\u092a\u094d\u0930\u0948\u0932?|\u092e\u0908?|\u091c\u0942\u0928?|\u091c\u0941\u0932\u093e\u0908?|\u0905\u0917\u0938\u094d\u0924?|\u0938\u093f\u0924\u092e\u094d\u092c\u0930|\u0938\u093f\u0924\u0902\u092c\u0930|\u0938\u093f\u0924?\.?|\u0905\u0915\u094d\u091f\u0942\u092c\u0930|\u0905\u0915\u094d\u091f\u0942\.?|\u0928\u0935\u092e\u094d\u092c\u0930|\u0928\u0935\u0902\u092c\u0930?|\u0926\u093f\u0938\u092e\u094d\u092c\u0930|\u0926\u093f\u0938\u0902\u092c\u0930?)/i,monthsShortStrictRegex:/^(\u091c\u0928\.?|\u092b\u093c\u0930\.?|\u092e\u093e\u0930\u094d\u091a?|\u0905\u092a\u094d\u0930\u0948\.?|\u092e\u0908?|\u091c\u0942\u0928?|\u091c\u0941\u0932\.?|\u0905\u0917\.?|\u0938\u093f\u0924\.?|\u0905\u0915\u094d\u091f\u0942\.?|\u0928\u0935\.?|\u0926\u093f\u0938\.?)/i,calendar:{sameDay:"[\u0906\u091c] LT",nextDay:"[\u0915\u0932] LT",nextWeek:"dddd, LT",lastDay:"[\u0915\u0932] LT",lastWeek:"[\u092a\u093f\u091b\u0932\u0947] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u092e\u0947\u0902",past:"%s \u092a\u0939\u0932\u0947",s:"\u0915\u0941\u091b \u0939\u0940 \u0915\u094d\u0937\u0923",ss:"%d \u0938\u0947\u0915\u0902\u0921",m:"\u090f\u0915 \u092e\u093f\u0928\u091f",mm:"%d \u092e\u093f\u0928\u091f",h:"\u090f\u0915 \u0918\u0902\u091f\u093e",hh:"%d \u0918\u0902\u091f\u0947",d:"\u090f\u0915 \u0926\u093f\u0928",dd:"%d \u0926\u093f\u0928",M:"\u090f\u0915 \u092e\u0939\u0940\u0928\u0947",MM:"%d \u092e\u0939\u0940\u0928\u0947",y:"\u090f\u0915 \u0935\u0930\u094d\u0937",yy:"%d \u0935\u0930\u094d\u0937"},preparse:function(y){return y.replace(/[\u0967\u0968\u0969\u096a\u096b\u096c\u096d\u096e\u096f\u0966]/g,function(b){return d[b]})},postformat:function(y){return y.replace(/\d/g,function(b){return m[b]})},meridiemParse:/\u0930\u093e\u0924|\u0938\u0941\u092c\u0939|\u0926\u094b\u092a\u0939\u0930|\u0936\u093e\u092e/,meridiemHour:function(y,b){return 12===y&&(y=0),"\u0930\u093e\u0924"===b?y<4?y:y+12:"\u0938\u0941\u092c\u0939"===b?y:"\u0926\u094b\u092a\u0939\u0930"===b?y>=10?y:y+12:"\u0936\u093e\u092e"===b?y+12:void 0},meridiem:function(y,b,C){return y<4?"\u0930\u093e\u0924":y<10?"\u0938\u0941\u092c\u0939":y<17?"\u0926\u094b\u092a\u0939\u0930":y<20?"\u0936\u093e\u092e":"\u0930\u093e\u0924"},week:{dow:0,doy:6}})}(w(5439))},7458:function(se,q,w){!function(v){"use strict";function m(u,p,g){var y=u+" ";switch(g){case"ss":return y+(1===u?"sekunda":2===u||3===u||4===u?"sekunde":"sekundi");case"m":return p?"jedna minuta":"jedne minute";case"mm":return y+(1===u?"minuta":2===u||3===u||4===u?"minute":"minuta");case"h":return p?"jedan sat":"jednog sata";case"hh":return y+(1===u?"sat":2===u||3===u||4===u?"sata":"sati");case"dd":return y+(1===u?"dan":"dana");case"MM":return y+(1===u?"mjesec":2===u||3===u||4===u?"mjeseca":"mjeseci");case"yy":return y+(1===u?"godina":2===u||3===u||4===u?"godine":"godina")}}v.defineLocale("hr",{months:{format:"sije\u010dnja_velja\u010de_o\u017eujka_travnja_svibnja_lipnja_srpnja_kolovoza_rujna_listopada_studenoga_prosinca".split("_"),standalone:"sije\u010danj_velja\u010da_o\u017eujak_travanj_svibanj_lipanj_srpanj_kolovoz_rujan_listopad_studeni_prosinac".split("_")},monthsShort:"sij._velj._o\u017eu._tra._svi._lip._srp._kol._ruj._lis._stu._pro.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_\u010detvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._\u010det._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_\u010de_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"Do MMMM YYYY",LLL:"Do MMMM YYYY H:mm",LLLL:"dddd, Do MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[ju\u010der u] LT",lastWeek:function(){switch(this.day()){case 0:return"[pro\u0161lu] [nedjelju] [u] LT";case 3:return"[pro\u0161lu] [srijedu] [u] LT";case 6:return"[pro\u0161le] [subote] [u] LT";case 1:case 2:case 4:case 5:return"[pro\u0161li] dddd [u] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"par sekundi",ss:m,m,mm:m,h:m,hh:m,d:"dan",dd:m,M:"mjesec",MM:m,y:"godinu",yy:m},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(w(5439))},6540:function(se,q,w){!function(v){"use strict";var m="vas\xe1rnap h\xe9tf\u0151n kedden szerd\xe1n cs\xfct\xf6rt\xf6k\xf6n p\xe9nteken szombaton".split(" ");function d(g,y,b,C){var P=g;switch(b){case"s":return C||y?"n\xe9h\xe1ny m\xe1sodperc":"n\xe9h\xe1ny m\xe1sodperce";case"ss":return P+(C||y)?" m\xe1sodperc":" m\xe1sodperce";case"m":return"egy"+(C||y?" perc":" perce");case"mm":return P+(C||y?" perc":" perce");case"h":return"egy"+(C||y?" \xf3ra":" \xf3r\xe1ja");case"hh":return P+(C||y?" \xf3ra":" \xf3r\xe1ja");case"d":return"egy"+(C||y?" nap":" napja");case"dd":return P+(C||y?" nap":" napja");case"M":return"egy"+(C||y?" h\xf3nap":" h\xf3napja");case"MM":return P+(C||y?" h\xf3nap":" h\xf3napja");case"y":return"egy"+(C||y?" \xe9v":" \xe9ve");case"yy":return P+(C||y?" \xe9v":" \xe9ve")}return""}function u(g){return(g?"":"[m\xfalt] ")+"["+m[this.day()]+"] LT[-kor]"}v.defineLocale("hu",{months:"janu\xe1r_febru\xe1r_m\xe1rcius_\xe1prilis_m\xe1jus_j\xfanius_j\xfalius_augusztus_szeptember_okt\xf3ber_november_december".split("_"),monthsShort:"jan._feb._m\xe1rc._\xe1pr._m\xe1j._j\xfan._j\xfal._aug._szept._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"vas\xe1rnap_h\xe9tf\u0151_kedd_szerda_cs\xfct\xf6rt\xf6k_p\xe9ntek_szombat".split("_"),weekdaysShort:"vas_h\xe9t_kedd_sze_cs\xfct_p\xe9n_szo".split("_"),weekdaysMin:"v_h_k_sze_cs_p_szo".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"YYYY.MM.DD.",LL:"YYYY. MMMM D.",LLL:"YYYY. MMMM D. H:mm",LLLL:"YYYY. MMMM D., dddd H:mm"},meridiemParse:/de|du/i,isPM:function(g){return"u"===g.charAt(1).toLowerCase()},meridiem:function(g,y,b){return g<12?!0===b?"de":"DE":!0===b?"du":"DU"},calendar:{sameDay:"[ma] LT[-kor]",nextDay:"[holnap] LT[-kor]",nextWeek:function(){return u.call(this,!0)},lastDay:"[tegnap] LT[-kor]",lastWeek:function(){return u.call(this,!1)},sameElse:"L"},relativeTime:{future:"%s m\xfalva",past:"%s",s:d,ss:d,m:d,mm:d,h:d,hh:d,d,dd:d,M:d,MM:d,y:d,yy:d},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(w(5439))},5283:function(se,q,w){!function(v){"use strict";v.defineLocale("hy-am",{months:{format:"\u0570\u0578\u0582\u0576\u057e\u0561\u0580\u056b_\u0583\u0565\u057f\u0580\u057e\u0561\u0580\u056b_\u0574\u0561\u0580\u057f\u056b_\u0561\u057a\u0580\u056b\u056c\u056b_\u0574\u0561\u0575\u056b\u057d\u056b_\u0570\u0578\u0582\u0576\u056b\u057d\u056b_\u0570\u0578\u0582\u056c\u056b\u057d\u056b_\u0585\u0563\u0578\u057d\u057f\u0578\u057d\u056b_\u057d\u0565\u057a\u057f\u0565\u0574\u0562\u0565\u0580\u056b_\u0570\u0578\u056f\u057f\u0565\u0574\u0562\u0565\u0580\u056b_\u0576\u0578\u0575\u0565\u0574\u0562\u0565\u0580\u056b_\u0564\u0565\u056f\u057f\u0565\u0574\u0562\u0565\u0580\u056b".split("_"),standalone:"\u0570\u0578\u0582\u0576\u057e\u0561\u0580_\u0583\u0565\u057f\u0580\u057e\u0561\u0580_\u0574\u0561\u0580\u057f_\u0561\u057a\u0580\u056b\u056c_\u0574\u0561\u0575\u056b\u057d_\u0570\u0578\u0582\u0576\u056b\u057d_\u0570\u0578\u0582\u056c\u056b\u057d_\u0585\u0563\u0578\u057d\u057f\u0578\u057d_\u057d\u0565\u057a\u057f\u0565\u0574\u0562\u0565\u0580_\u0570\u0578\u056f\u057f\u0565\u0574\u0562\u0565\u0580_\u0576\u0578\u0575\u0565\u0574\u0562\u0565\u0580_\u0564\u0565\u056f\u057f\u0565\u0574\u0562\u0565\u0580".split("_")},monthsShort:"\u0570\u0576\u057e_\u0583\u057f\u0580_\u0574\u0580\u057f_\u0561\u057a\u0580_\u0574\u0575\u057d_\u0570\u0576\u057d_\u0570\u056c\u057d_\u0585\u0563\u057d_\u057d\u057a\u057f_\u0570\u056f\u057f_\u0576\u0574\u0562_\u0564\u056f\u057f".split("_"),weekdays:"\u056f\u056b\u0580\u0561\u056f\u056b_\u0565\u0580\u056f\u0578\u0582\u0577\u0561\u0562\u0569\u056b_\u0565\u0580\u0565\u0584\u0577\u0561\u0562\u0569\u056b_\u0579\u0578\u0580\u0565\u0584\u0577\u0561\u0562\u0569\u056b_\u0570\u056b\u0576\u0563\u0577\u0561\u0562\u0569\u056b_\u0578\u0582\u0580\u0562\u0561\u0569_\u0577\u0561\u0562\u0561\u0569".split("_"),weekdaysShort:"\u056f\u0580\u056f_\u0565\u0580\u056f_\u0565\u0580\u0584_\u0579\u0580\u0584_\u0570\u0576\u0563_\u0578\u0582\u0580\u0562_\u0577\u0562\u0569".split("_"),weekdaysMin:"\u056f\u0580\u056f_\u0565\u0580\u056f_\u0565\u0580\u0584_\u0579\u0580\u0584_\u0570\u0576\u0563_\u0578\u0582\u0580\u0562_\u0577\u0562\u0569".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY \u0569.",LLL:"D MMMM YYYY \u0569., HH:mm",LLLL:"dddd, D MMMM YYYY \u0569., HH:mm"},calendar:{sameDay:"[\u0561\u0575\u057d\u0585\u0580] LT",nextDay:"[\u057e\u0561\u0572\u0568] LT",lastDay:"[\u0565\u0580\u0565\u056f] LT",nextWeek:function(){return"dddd [\u0585\u0580\u0568 \u056a\u0561\u0574\u0568] LT"},lastWeek:function(){return"[\u0561\u0576\u0581\u0561\u056e] dddd [\u0585\u0580\u0568 \u056a\u0561\u0574\u0568] LT"},sameElse:"L"},relativeTime:{future:"%s \u0570\u0565\u057f\u0578",past:"%s \u0561\u057c\u0561\u057b",s:"\u0574\u056b \u0584\u0561\u0576\u056b \u057e\u0561\u0575\u0580\u056f\u0575\u0561\u0576",ss:"%d \u057e\u0561\u0575\u0580\u056f\u0575\u0561\u0576",m:"\u0580\u0578\u057a\u0565",mm:"%d \u0580\u0578\u057a\u0565",h:"\u056a\u0561\u0574",hh:"%d \u056a\u0561\u0574",d:"\u0585\u0580",dd:"%d \u0585\u0580",M:"\u0561\u0574\u056b\u057d",MM:"%d \u0561\u0574\u056b\u057d",y:"\u057f\u0561\u0580\u056b",yy:"%d \u057f\u0561\u0580\u056b"},meridiemParse:/\u0563\u056b\u0577\u0565\u0580\u057e\u0561|\u0561\u057c\u0561\u057e\u0578\u057f\u057e\u0561|\u0581\u0565\u0580\u0565\u056f\u057e\u0561|\u0565\u0580\u0565\u056f\u0578\u0575\u0561\u0576/,isPM:function(d){return/^(\u0581\u0565\u0580\u0565\u056f\u057e\u0561|\u0565\u0580\u0565\u056f\u0578\u0575\u0561\u0576)$/.test(d)},meridiem:function(d){return d<4?"\u0563\u056b\u0577\u0565\u0580\u057e\u0561":d<12?"\u0561\u057c\u0561\u057e\u0578\u057f\u057e\u0561":d<17?"\u0581\u0565\u0580\u0565\u056f\u057e\u0561":"\u0565\u0580\u0565\u056f\u0578\u0575\u0561\u0576"},dayOfMonthOrdinalParse:/\d{1,2}|\d{1,2}-(\u056b\u0576|\u0580\u0564)/,ordinal:function(d,u){switch(u){case"DDD":case"w":case"W":case"DDDo":return 1===d?d+"-\u056b\u0576":d+"-\u0580\u0564";default:return d}},week:{dow:1,doy:7}})}(w(5439))},8780:function(se,q,w){!function(v){"use strict";v.defineLocale("id",{months:"Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_November_Desember".split("_"),monthsShort:"Jan_Feb_Mar_Apr_Mei_Jun_Jul_Agt_Sep_Okt_Nov_Des".split("_"),weekdays:"Minggu_Senin_Selasa_Rabu_Kamis_Jumat_Sabtu".split("_"),weekdaysShort:"Min_Sen_Sel_Rab_Kam_Jum_Sab".split("_"),weekdaysMin:"Mg_Sn_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|siang|sore|malam/,meridiemHour:function(d,u){return 12===d&&(d=0),"pagi"===u?d:"siang"===u?d>=11?d:d+12:"sore"===u||"malam"===u?d+12:void 0},meridiem:function(d,u,p){return d<11?"pagi":d<15?"siang":d<19?"sore":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Besok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kemarin pukul] LT",lastWeek:"dddd [lalu pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lalu",s:"beberapa detik",ss:"%d detik",m:"semenit",mm:"%d menit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:0,doy:6}})}(w(5439))},4205:function(se,q,w){!function(v){"use strict";function m(p){return p%100==11||p%10!=1}function d(p,g,y,b){var C=p+" ";switch(y){case"s":return g||b?"nokkrar sek\xfandur":"nokkrum sek\xfandum";case"ss":return m(p)?C+(g||b?"sek\xfandur":"sek\xfandum"):C+"sek\xfanda";case"m":return g?"m\xedn\xfata":"m\xedn\xfatu";case"mm":return m(p)?C+(g||b?"m\xedn\xfatur":"m\xedn\xfatum"):g?C+"m\xedn\xfata":C+"m\xedn\xfatu";case"hh":return m(p)?C+(g||b?"klukkustundir":"klukkustundum"):C+"klukkustund";case"d":return g?"dagur":b?"dag":"degi";case"dd":return m(p)?g?C+"dagar":C+(b?"daga":"d\xf6gum"):g?C+"dagur":C+(b?"dag":"degi");case"M":return g?"m\xe1nu\xf0ur":b?"m\xe1nu\xf0":"m\xe1nu\xf0i";case"MM":return m(p)?g?C+"m\xe1nu\xf0ir":C+(b?"m\xe1nu\xf0i":"m\xe1nu\xf0um"):g?C+"m\xe1nu\xf0ur":C+(b?"m\xe1nu\xf0":"m\xe1nu\xf0i");case"y":return g||b?"\xe1r":"\xe1ri";case"yy":return m(p)?C+(g||b?"\xe1r":"\xe1rum"):C+(g||b?"\xe1r":"\xe1ri")}}v.defineLocale("is",{months:"jan\xfaar_febr\xfaar_mars_apr\xedl_ma\xed_j\xfan\xed_j\xfal\xed_\xe1g\xfast_september_okt\xf3ber_n\xf3vember_desember".split("_"),monthsShort:"jan_feb_mar_apr_ma\xed_j\xfan_j\xfal_\xe1g\xfa_sep_okt_n\xf3v_des".split("_"),weekdays:"sunnudagur_m\xe1nudagur_\xferi\xf0judagur_mi\xf0vikudagur_fimmtudagur_f\xf6studagur_laugardagur".split("_"),weekdaysShort:"sun_m\xe1n_\xferi_mi\xf0_fim_f\xf6s_lau".split("_"),weekdaysMin:"Su_M\xe1_\xder_Mi_Fi_F\xf6_La".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] H:mm",LLLL:"dddd, D. MMMM YYYY [kl.] H:mm"},calendar:{sameDay:"[\xed dag kl.] LT",nextDay:"[\xe1 morgun kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[\xed g\xe6r kl.] LT",lastWeek:"[s\xed\xf0asta] dddd [kl.] LT",sameElse:"L"},relativeTime:{future:"eftir %s",past:"fyrir %s s\xed\xf0an",s:d,ss:d,m:d,mm:d,h:"klukkustund",hh:d,d,dd:d,M:d,MM:d,y:d,yy:d},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(w(5439))},9985:function(se,q,w){!function(v){"use strict";v.defineLocale("it-ch",{months:"gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"),monthsShort:"gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"),weekdays:"domenica_luned\xec_marted\xec_mercoled\xec_gioved\xec_venerd\xec_sabato".split("_"),weekdaysShort:"dom_lun_mar_mer_gio_ven_sab".split("_"),weekdaysMin:"do_lu_ma_me_gi_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Oggi alle] LT",nextDay:"[Domani alle] LT",nextWeek:"dddd [alle] LT",lastDay:"[Ieri alle] LT",lastWeek:function(){return 0===this.day()?"[la scorsa] dddd [alle] LT":"[lo scorso] dddd [alle] LT"},sameElse:"L"},relativeTime:{future:function(d){return(/^[0-9].+$/.test(d)?"tra":"in")+" "+d},past:"%s fa",s:"alcuni secondi",ss:"%d secondi",m:"un minuto",mm:"%d minuti",h:"un'ora",hh:"%d ore",d:"un giorno",dd:"%d giorni",M:"un mese",MM:"%d mesi",y:"un anno",yy:"%d anni"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(w(5439))},4211:function(se,q,w){!function(v){"use strict";v.defineLocale("it",{months:"gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"),monthsShort:"gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"),weekdays:"domenica_luned\xec_marted\xec_mercoled\xec_gioved\xec_venerd\xec_sabato".split("_"),weekdaysShort:"dom_lun_mar_mer_gio_ven_sab".split("_"),weekdaysMin:"do_lu_ma_me_gi_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:function(){return"[Oggi a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},nextDay:function(){return"[Domani a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},nextWeek:function(){return"dddd [a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},lastDay:function(){return"[Ieri a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},lastWeek:function(){return 0===this.day()?"[La scorsa] dddd [a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT":"[Lo scorso] dddd [a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},sameElse:"L"},relativeTime:{future:"tra %s",past:"%s fa",s:"alcuni secondi",ss:"%d secondi",m:"un minuto",mm:"%d minuti",h:"un'ora",hh:"%d ore",d:"un giorno",dd:"%d giorni",w:"una settimana",ww:"%d settimane",M:"un mese",MM:"%d mesi",y:"un anno",yy:"%d anni"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(w(5439))},1003:function(se,q,w){!function(v){"use strict";v.defineLocale("ja",{eras:[{since:"2019-05-01",offset:1,name:"\u4ee4\u548c",narrow:"\u32ff",abbr:"R"},{since:"1989-01-08",until:"2019-04-30",offset:1,name:"\u5e73\u6210",narrow:"\u337b",abbr:"H"},{since:"1926-12-25",until:"1989-01-07",offset:1,name:"\u662d\u548c",narrow:"\u337c",abbr:"S"},{since:"1912-07-30",until:"1926-12-24",offset:1,name:"\u5927\u6b63",narrow:"\u337d",abbr:"T"},{since:"1873-01-01",until:"1912-07-29",offset:6,name:"\u660e\u6cbb",narrow:"\u337e",abbr:"M"},{since:"0001-01-01",until:"1873-12-31",offset:1,name:"\u897f\u66a6",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"\u7d00\u5143\u524d",narrow:"BC",abbr:"BC"}],eraYearOrdinalRegex:/(\u5143|\d+)\u5e74/,eraYearOrdinalParse:function(d,u){return"\u5143"===u[1]?1:parseInt(u[1]||d,10)},months:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),weekdays:"\u65e5\u66dc\u65e5_\u6708\u66dc\u65e5_\u706b\u66dc\u65e5_\u6c34\u66dc\u65e5_\u6728\u66dc\u65e5_\u91d1\u66dc\u65e5_\u571f\u66dc\u65e5".split("_"),weekdaysShort:"\u65e5_\u6708_\u706b_\u6c34_\u6728_\u91d1_\u571f".split("_"),weekdaysMin:"\u65e5_\u6708_\u706b_\u6c34_\u6728_\u91d1_\u571f".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY\u5e74M\u6708D\u65e5",LLL:"YYYY\u5e74M\u6708D\u65e5 HH:mm",LLLL:"YYYY\u5e74M\u6708D\u65e5 dddd HH:mm",l:"YYYY/MM/DD",ll:"YYYY\u5e74M\u6708D\u65e5",lll:"YYYY\u5e74M\u6708D\u65e5 HH:mm",llll:"YYYY\u5e74M\u6708D\u65e5(ddd) HH:mm"},meridiemParse:/\u5348\u524d|\u5348\u5f8c/i,isPM:function(d){return"\u5348\u5f8c"===d},meridiem:function(d,u,p){return d<12?"\u5348\u524d":"\u5348\u5f8c"},calendar:{sameDay:"[\u4eca\u65e5] LT",nextDay:"[\u660e\u65e5] LT",nextWeek:function(d){return d.week()!==this.week()?"[\u6765\u9031]dddd LT":"dddd LT"},lastDay:"[\u6628\u65e5] LT",lastWeek:function(d){return this.week()!==d.week()?"[\u5148\u9031]dddd LT":"dddd LT"},sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}\u65e5/,ordinal:function(d,u){switch(u){case"y":return 1===d?"\u5143\u5e74":d+"\u5e74";case"d":case"D":case"DDD":return d+"\u65e5";default:return d}},relativeTime:{future:"%s\u5f8c",past:"%s\u524d",s:"\u6570\u79d2",ss:"%d\u79d2",m:"1\u5206",mm:"%d\u5206",h:"1\u6642\u9593",hh:"%d\u6642\u9593",d:"1\u65e5",dd:"%d\u65e5",M:"1\u30f6\u6708",MM:"%d\u30f6\u6708",y:"1\u5e74",yy:"%d\u5e74"}})}(w(5439))},420:function(se,q,w){!function(v){"use strict";v.defineLocale("jv",{months:"Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_Nopember_Desember".split("_"),monthsShort:"Jan_Feb_Mar_Apr_Mei_Jun_Jul_Ags_Sep_Okt_Nop_Des".split("_"),weekdays:"Minggu_Senen_Seloso_Rebu_Kemis_Jemuwah_Septu".split("_"),weekdaysShort:"Min_Sen_Sel_Reb_Kem_Jem_Sep".split("_"),weekdaysMin:"Mg_Sn_Sl_Rb_Km_Jm_Sp".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/enjing|siyang|sonten|ndalu/,meridiemHour:function(d,u){return 12===d&&(d=0),"enjing"===u?d:"siyang"===u?d>=11?d:d+12:"sonten"===u||"ndalu"===u?d+12:void 0},meridiem:function(d,u,p){return d<11?"enjing":d<15?"siyang":d<19?"sonten":"ndalu"},calendar:{sameDay:"[Dinten puniko pukul] LT",nextDay:"[Mbenjang pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kala wingi pukul] LT",lastWeek:"dddd [kepengker pukul] LT",sameElse:"L"},relativeTime:{future:"wonten ing %s",past:"%s ingkang kepengker",s:"sawetawis detik",ss:"%d detik",m:"setunggal menit",mm:"%d menit",h:"setunggal jam",hh:"%d jam",d:"sedinten",dd:"%d dinten",M:"sewulan",MM:"%d wulan",y:"setaun",yy:"%d taun"},week:{dow:1,doy:7}})}(w(5439))},851:function(se,q,w){!function(v){"use strict";v.defineLocale("ka",{months:"\u10d8\u10d0\u10dc\u10d5\u10d0\u10e0\u10d8_\u10d7\u10d4\u10d1\u10d4\u10e0\u10d5\u10d0\u10da\u10d8_\u10db\u10d0\u10e0\u10e2\u10d8_\u10d0\u10de\u10e0\u10d8\u10da\u10d8_\u10db\u10d0\u10d8\u10e1\u10d8_\u10d8\u10d5\u10dc\u10d8\u10e1\u10d8_\u10d8\u10d5\u10da\u10d8\u10e1\u10d8_\u10d0\u10d2\u10d5\u10d8\u10e1\u10e2\u10dd_\u10e1\u10d4\u10e5\u10e2\u10d4\u10db\u10d1\u10d4\u10e0\u10d8_\u10dd\u10e5\u10e2\u10dd\u10db\u10d1\u10d4\u10e0\u10d8_\u10dc\u10dd\u10d4\u10db\u10d1\u10d4\u10e0\u10d8_\u10d3\u10d4\u10d9\u10d4\u10db\u10d1\u10d4\u10e0\u10d8".split("_"),monthsShort:"\u10d8\u10d0\u10dc_\u10d7\u10d4\u10d1_\u10db\u10d0\u10e0_\u10d0\u10de\u10e0_\u10db\u10d0\u10d8_\u10d8\u10d5\u10dc_\u10d8\u10d5\u10da_\u10d0\u10d2\u10d5_\u10e1\u10d4\u10e5_\u10dd\u10e5\u10e2_\u10dc\u10dd\u10d4_\u10d3\u10d4\u10d9".split("_"),weekdays:{standalone:"\u10d9\u10d5\u10d8\u10e0\u10d0_\u10dd\u10e0\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8_\u10e1\u10d0\u10db\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8_\u10dd\u10d7\u10ee\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8_\u10ee\u10e3\u10d7\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8_\u10de\u10d0\u10e0\u10d0\u10e1\u10d9\u10d4\u10d5\u10d8_\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8".split("_"),format:"\u10d9\u10d5\u10d8\u10e0\u10d0\u10e1_\u10dd\u10e0\u10e8\u10d0\u10d1\u10d0\u10d7\u10e1_\u10e1\u10d0\u10db\u10e8\u10d0\u10d1\u10d0\u10d7\u10e1_\u10dd\u10d7\u10ee\u10e8\u10d0\u10d1\u10d0\u10d7\u10e1_\u10ee\u10e3\u10d7\u10e8\u10d0\u10d1\u10d0\u10d7\u10e1_\u10de\u10d0\u10e0\u10d0\u10e1\u10d9\u10d4\u10d5\u10e1_\u10e8\u10d0\u10d1\u10d0\u10d7\u10e1".split("_"),isFormat:/(\u10ec\u10d8\u10dc\u10d0|\u10e8\u10d4\u10db\u10d3\u10d4\u10d2)/},weekdaysShort:"\u10d9\u10d5\u10d8_\u10dd\u10e0\u10e8_\u10e1\u10d0\u10db_\u10dd\u10d7\u10ee_\u10ee\u10e3\u10d7_\u10de\u10d0\u10e0_\u10e8\u10d0\u10d1".split("_"),weekdaysMin:"\u10d9\u10d5_\u10dd\u10e0_\u10e1\u10d0_\u10dd\u10d7_\u10ee\u10e3_\u10de\u10d0_\u10e8\u10d0".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u10d3\u10e6\u10d4\u10e1] LT[-\u10d6\u10d4]",nextDay:"[\u10ee\u10d5\u10d0\u10da] LT[-\u10d6\u10d4]",lastDay:"[\u10d2\u10e3\u10e8\u10d8\u10dc] LT[-\u10d6\u10d4]",nextWeek:"[\u10e8\u10d4\u10db\u10d3\u10d4\u10d2] dddd LT[-\u10d6\u10d4]",lastWeek:"[\u10ec\u10d8\u10dc\u10d0] dddd LT-\u10d6\u10d4",sameElse:"L"},relativeTime:{future:function(d){return d.replace(/(\u10ec\u10d0\u10db|\u10ec\u10e3\u10d7|\u10e1\u10d0\u10d0\u10d7|\u10ec\u10d4\u10da|\u10d3\u10e6|\u10d7\u10d5)(\u10d8|\u10d4)/,function(u,p,g){return"\u10d8"===g?p+"\u10e8\u10d8":p+g+"\u10e8\u10d8"})},past:function(d){return/(\u10ec\u10d0\u10db\u10d8|\u10ec\u10e3\u10d7\u10d8|\u10e1\u10d0\u10d0\u10d7\u10d8|\u10d3\u10e6\u10d4|\u10d7\u10d5\u10d4)/.test(d)?d.replace(/(\u10d8|\u10d4)$/,"\u10d8\u10e1 \u10ec\u10d8\u10dc"):/\u10ec\u10d4\u10da\u10d8/.test(d)?d.replace(/\u10ec\u10d4\u10da\u10d8$/,"\u10ec\u10da\u10d8\u10e1 \u10ec\u10d8\u10dc"):d},s:"\u10e0\u10d0\u10db\u10d3\u10d4\u10dc\u10d8\u10db\u10d4 \u10ec\u10d0\u10db\u10d8",ss:"%d \u10ec\u10d0\u10db\u10d8",m:"\u10ec\u10e3\u10d7\u10d8",mm:"%d \u10ec\u10e3\u10d7\u10d8",h:"\u10e1\u10d0\u10d0\u10d7\u10d8",hh:"%d \u10e1\u10d0\u10d0\u10d7\u10d8",d:"\u10d3\u10e6\u10d4",dd:"%d \u10d3\u10e6\u10d4",M:"\u10d7\u10d5\u10d4",MM:"%d \u10d7\u10d5\u10d4",y:"\u10ec\u10d4\u10da\u10d8",yy:"%d \u10ec\u10d4\u10da\u10d8"},dayOfMonthOrdinalParse:/0|1-\u10da\u10d8|\u10db\u10d4-\d{1,2}|\d{1,2}-\u10d4/,ordinal:function(d){return 0===d?d:1===d?d+"-\u10da\u10d8":d<20||d<=100&&d%20==0||d%100==0?"\u10db\u10d4-"+d:d+"-\u10d4"},week:{dow:1,doy:7}})}(w(5439))},6074:function(se,q,w){!function(v){"use strict";var m={0:"-\u0448\u0456",1:"-\u0448\u0456",2:"-\u0448\u0456",3:"-\u0448\u0456",4:"-\u0448\u0456",5:"-\u0448\u0456",6:"-\u0448\u044b",7:"-\u0448\u0456",8:"-\u0448\u0456",9:"-\u0448\u044b",10:"-\u0448\u044b",20:"-\u0448\u044b",30:"-\u0448\u044b",40:"-\u0448\u044b",50:"-\u0448\u0456",60:"-\u0448\u044b",70:"-\u0448\u0456",80:"-\u0448\u0456",90:"-\u0448\u044b",100:"-\u0448\u0456"};v.defineLocale("kk",{months:"\u049b\u0430\u04a3\u0442\u0430\u0440_\u0430\u049b\u043f\u0430\u043d_\u043d\u0430\u0443\u0440\u044b\u0437_\u0441\u04d9\u0443\u0456\u0440_\u043c\u0430\u043c\u044b\u0440_\u043c\u0430\u0443\u0441\u044b\u043c_\u0448\u0456\u043b\u0434\u0435_\u0442\u0430\u043c\u044b\u0437_\u049b\u044b\u0440\u043a\u04af\u0439\u0435\u043a_\u049b\u0430\u0437\u0430\u043d_\u049b\u0430\u0440\u0430\u0448\u0430_\u0436\u0435\u043b\u0442\u043e\u049b\u0441\u0430\u043d".split("_"),monthsShort:"\u049b\u0430\u04a3_\u0430\u049b\u043f_\u043d\u0430\u0443_\u0441\u04d9\u0443_\u043c\u0430\u043c_\u043c\u0430\u0443_\u0448\u0456\u043b_\u0442\u0430\u043c_\u049b\u044b\u0440_\u049b\u0430\u0437_\u049b\u0430\u0440_\u0436\u0435\u043b".split("_"),weekdays:"\u0436\u0435\u043a\u0441\u0435\u043d\u0431\u0456_\u0434\u04af\u0439\u0441\u0435\u043d\u0431\u0456_\u0441\u0435\u0439\u0441\u0435\u043d\u0431\u0456_\u0441\u04d9\u0440\u0441\u0435\u043d\u0431\u0456_\u0431\u0435\u0439\u0441\u0435\u043d\u0431\u0456_\u0436\u04b1\u043c\u0430_\u0441\u0435\u043d\u0431\u0456".split("_"),weekdaysShort:"\u0436\u0435\u043a_\u0434\u04af\u0439_\u0441\u0435\u0439_\u0441\u04d9\u0440_\u0431\u0435\u0439_\u0436\u04b1\u043c_\u0441\u0435\u043d".split("_"),weekdaysMin:"\u0436\u043a_\u0434\u0439_\u0441\u0439_\u0441\u0440_\u0431\u0439_\u0436\u043c_\u0441\u043d".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0411\u04af\u0433\u0456\u043d \u0441\u0430\u0493\u0430\u0442] LT",nextDay:"[\u0415\u0440\u0442\u0435\u04a3 \u0441\u0430\u0493\u0430\u0442] LT",nextWeek:"dddd [\u0441\u0430\u0493\u0430\u0442] LT",lastDay:"[\u041a\u0435\u0448\u0435 \u0441\u0430\u0493\u0430\u0442] LT",lastWeek:"[\u04e8\u0442\u043a\u0435\u043d \u0430\u043f\u0442\u0430\u043d\u044b\u04a3] dddd [\u0441\u0430\u0493\u0430\u0442] LT",sameElse:"L"},relativeTime:{future:"%s \u0456\u0448\u0456\u043d\u0434\u0435",past:"%s \u0431\u04b1\u0440\u044b\u043d",s:"\u0431\u0456\u0440\u043d\u0435\u0448\u0435 \u0441\u0435\u043a\u0443\u043d\u0434",ss:"%d \u0441\u0435\u043a\u0443\u043d\u0434",m:"\u0431\u0456\u0440 \u043c\u0438\u043d\u0443\u0442",mm:"%d \u043c\u0438\u043d\u0443\u0442",h:"\u0431\u0456\u0440 \u0441\u0430\u0493\u0430\u0442",hh:"%d \u0441\u0430\u0493\u0430\u0442",d:"\u0431\u0456\u0440 \u043a\u04af\u043d",dd:"%d \u043a\u04af\u043d",M:"\u0431\u0456\u0440 \u0430\u0439",MM:"%d \u0430\u0439",y:"\u0431\u0456\u0440 \u0436\u044b\u043b",yy:"%d \u0436\u044b\u043b"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0448\u0456|\u0448\u044b)/,ordinal:function(u){return u+(m[u]||m[u%10]||m[u>=100?100:null])},week:{dow:1,doy:7}})}(w(5439))},3343:function(se,q,w){!function(v){"use strict";var m={1:"\u17e1",2:"\u17e2",3:"\u17e3",4:"\u17e4",5:"\u17e5",6:"\u17e6",7:"\u17e7",8:"\u17e8",9:"\u17e9",0:"\u17e0"},d={"\u17e1":"1","\u17e2":"2","\u17e3":"3","\u17e4":"4","\u17e5":"5","\u17e6":"6","\u17e7":"7","\u17e8":"8","\u17e9":"9","\u17e0":"0"};v.defineLocale("km",{months:"\u1798\u1780\u179a\u17b6_\u1780\u17bb\u1798\u17d2\u1797\u17c8_\u1798\u17b8\u1793\u17b6_\u1798\u17c1\u179f\u17b6_\u17a7\u179f\u1797\u17b6_\u1798\u17b7\u1790\u17bb\u1793\u17b6_\u1780\u1780\u17d2\u1780\u178a\u17b6_\u179f\u17b8\u17a0\u17b6_\u1780\u1789\u17d2\u1789\u17b6_\u178f\u17bb\u179b\u17b6_\u179c\u17b7\u1785\u17d2\u1786\u17b7\u1780\u17b6_\u1792\u17d2\u1793\u17bc".split("_"),monthsShort:"\u1798\u1780\u179a\u17b6_\u1780\u17bb\u1798\u17d2\u1797\u17c8_\u1798\u17b8\u1793\u17b6_\u1798\u17c1\u179f\u17b6_\u17a7\u179f\u1797\u17b6_\u1798\u17b7\u1790\u17bb\u1793\u17b6_\u1780\u1780\u17d2\u1780\u178a\u17b6_\u179f\u17b8\u17a0\u17b6_\u1780\u1789\u17d2\u1789\u17b6_\u178f\u17bb\u179b\u17b6_\u179c\u17b7\u1785\u17d2\u1786\u17b7\u1780\u17b6_\u1792\u17d2\u1793\u17bc".split("_"),weekdays:"\u17a2\u17b6\u1791\u17b7\u178f\u17d2\u1799_\u1785\u17d0\u1793\u17d2\u1791_\u17a2\u1784\u17d2\u1782\u17b6\u179a_\u1796\u17bb\u1792_\u1796\u17d2\u179a\u17a0\u179f\u17d2\u1794\u178f\u17b7\u17cd_\u179f\u17bb\u1780\u17d2\u179a_\u179f\u17c5\u179a\u17cd".split("_"),weekdaysShort:"\u17a2\u17b6_\u1785_\u17a2_\u1796_\u1796\u17d2\u179a_\u179f\u17bb_\u179f".split("_"),weekdaysMin:"\u17a2\u17b6_\u1785_\u17a2_\u1796_\u1796\u17d2\u179a_\u179f\u17bb_\u179f".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiemParse:/\u1796\u17d2\u179a\u17b9\u1780|\u179b\u17d2\u1784\u17b6\u1785/,isPM:function(p){return"\u179b\u17d2\u1784\u17b6\u1785"===p},meridiem:function(p,g,y){return p<12?"\u1796\u17d2\u179a\u17b9\u1780":"\u179b\u17d2\u1784\u17b6\u1785"},calendar:{sameDay:"[\u1790\u17d2\u1784\u17c3\u1793\u17c1\u17c7 \u1798\u17c9\u17c4\u1784] LT",nextDay:"[\u179f\u17d2\u17a2\u17c2\u1780 \u1798\u17c9\u17c4\u1784] LT",nextWeek:"dddd [\u1798\u17c9\u17c4\u1784] LT",lastDay:"[\u1798\u17d2\u179f\u17b7\u179b\u1798\u17b7\u1789 \u1798\u17c9\u17c4\u1784] LT",lastWeek:"dddd [\u179f\u1794\u17d2\u178f\u17b6\u17a0\u17cd\u1798\u17bb\u1793] [\u1798\u17c9\u17c4\u1784] LT",sameElse:"L"},relativeTime:{future:"%s\u1791\u17c0\u178f",past:"%s\u1798\u17bb\u1793",s:"\u1794\u17c9\u17bb\u1793\u17d2\u1798\u17b6\u1793\u179c\u17b7\u1793\u17b6\u1791\u17b8",ss:"%d \u179c\u17b7\u1793\u17b6\u1791\u17b8",m:"\u1798\u17bd\u1799\u1793\u17b6\u1791\u17b8",mm:"%d \u1793\u17b6\u1791\u17b8",h:"\u1798\u17bd\u1799\u1798\u17c9\u17c4\u1784",hh:"%d \u1798\u17c9\u17c4\u1784",d:"\u1798\u17bd\u1799\u1790\u17d2\u1784\u17c3",dd:"%d \u1790\u17d2\u1784\u17c3",M:"\u1798\u17bd\u1799\u1781\u17c2",MM:"%d \u1781\u17c2",y:"\u1798\u17bd\u1799\u1786\u17d2\u1793\u17b6\u17c6",yy:"%d \u1786\u17d2\u1793\u17b6\u17c6"},dayOfMonthOrdinalParse:/\u1791\u17b8\d{1,2}/,ordinal:"\u1791\u17b8%d",preparse:function(p){return p.replace(/[\u17e1\u17e2\u17e3\u17e4\u17e5\u17e6\u17e7\u17e8\u17e9\u17e0]/g,function(g){return d[g]})},postformat:function(p){return p.replace(/\d/g,function(g){return m[g]})},week:{dow:1,doy:4}})}(w(5439))},4799:function(se,q,w){!function(v){"use strict";var m={1:"\u0ce7",2:"\u0ce8",3:"\u0ce9",4:"\u0cea",5:"\u0ceb",6:"\u0cec",7:"\u0ced",8:"\u0cee",9:"\u0cef",0:"\u0ce6"},d={"\u0ce7":"1","\u0ce8":"2","\u0ce9":"3","\u0cea":"4","\u0ceb":"5","\u0cec":"6","\u0ced":"7","\u0cee":"8","\u0cef":"9","\u0ce6":"0"};v.defineLocale("kn",{months:"\u0c9c\u0ca8\u0cb5\u0cb0\u0cbf_\u0cab\u0cc6\u0cac\u0ccd\u0cb0\u0cb5\u0cb0\u0cbf_\u0cae\u0cbe\u0cb0\u0ccd\u0c9a\u0ccd_\u0c8f\u0caa\u0ccd\u0cb0\u0cbf\u0cb2\u0ccd_\u0cae\u0cc6\u0cd5_\u0c9c\u0cc2\u0ca8\u0ccd_\u0c9c\u0cc1\u0cb2\u0cc6\u0cd6_\u0c86\u0c97\u0cb8\u0ccd\u0c9f\u0ccd_\u0cb8\u0cc6\u0caa\u0ccd\u0c9f\u0cc6\u0c82\u0cac\u0cb0\u0ccd_\u0c85\u0c95\u0ccd\u0c9f\u0cc6\u0cc2\u0cd5\u0cac\u0cb0\u0ccd_\u0ca8\u0cb5\u0cc6\u0c82\u0cac\u0cb0\u0ccd_\u0ca1\u0cbf\u0cb8\u0cc6\u0c82\u0cac\u0cb0\u0ccd".split("_"),monthsShort:"\u0c9c\u0ca8_\u0cab\u0cc6\u0cac\u0ccd\u0cb0_\u0cae\u0cbe\u0cb0\u0ccd\u0c9a\u0ccd_\u0c8f\u0caa\u0ccd\u0cb0\u0cbf\u0cb2\u0ccd_\u0cae\u0cc6\u0cd5_\u0c9c\u0cc2\u0ca8\u0ccd_\u0c9c\u0cc1\u0cb2\u0cc6\u0cd6_\u0c86\u0c97\u0cb8\u0ccd\u0c9f\u0ccd_\u0cb8\u0cc6\u0caa\u0ccd\u0c9f\u0cc6\u0c82_\u0c85\u0c95\u0ccd\u0c9f\u0cc6\u0cc2\u0cd5_\u0ca8\u0cb5\u0cc6\u0c82_\u0ca1\u0cbf\u0cb8\u0cc6\u0c82".split("_"),monthsParseExact:!0,weekdays:"\u0cad\u0cbe\u0ca8\u0cc1\u0cb5\u0cbe\u0cb0_\u0cb8\u0cc6\u0cc2\u0cd5\u0cae\u0cb5\u0cbe\u0cb0_\u0cae\u0c82\u0c97\u0cb3\u0cb5\u0cbe\u0cb0_\u0cac\u0cc1\u0ca7\u0cb5\u0cbe\u0cb0_\u0c97\u0cc1\u0cb0\u0cc1\u0cb5\u0cbe\u0cb0_\u0cb6\u0cc1\u0c95\u0ccd\u0cb0\u0cb5\u0cbe\u0cb0_\u0cb6\u0ca8\u0cbf\u0cb5\u0cbe\u0cb0".split("_"),weekdaysShort:"\u0cad\u0cbe\u0ca8\u0cc1_\u0cb8\u0cc6\u0cc2\u0cd5\u0cae_\u0cae\u0c82\u0c97\u0cb3_\u0cac\u0cc1\u0ca7_\u0c97\u0cc1\u0cb0\u0cc1_\u0cb6\u0cc1\u0c95\u0ccd\u0cb0_\u0cb6\u0ca8\u0cbf".split("_"),weekdaysMin:"\u0cad\u0cbe_\u0cb8\u0cc6\u0cc2\u0cd5_\u0cae\u0c82_\u0cac\u0cc1_\u0c97\u0cc1_\u0cb6\u0cc1_\u0cb6".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[\u0c87\u0c82\u0ca6\u0cc1] LT",nextDay:"[\u0ca8\u0cbe\u0cb3\u0cc6] LT",nextWeek:"dddd, LT",lastDay:"[\u0ca8\u0cbf\u0ca8\u0ccd\u0ca8\u0cc6] LT",lastWeek:"[\u0c95\u0cc6\u0cc2\u0ca8\u0cc6\u0caf] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0ca8\u0c82\u0ca4\u0cb0",past:"%s \u0cb9\u0cbf\u0c82\u0ca6\u0cc6",s:"\u0c95\u0cc6\u0cb2\u0cb5\u0cc1 \u0c95\u0ccd\u0cb7\u0ca3\u0c97\u0cb3\u0cc1",ss:"%d \u0cb8\u0cc6\u0c95\u0cc6\u0c82\u0ca1\u0cc1\u0c97\u0cb3\u0cc1",m:"\u0c92\u0c82\u0ca6\u0cc1 \u0ca8\u0cbf\u0cae\u0cbf\u0cb7",mm:"%d \u0ca8\u0cbf\u0cae\u0cbf\u0cb7",h:"\u0c92\u0c82\u0ca6\u0cc1 \u0c97\u0c82\u0c9f\u0cc6",hh:"%d \u0c97\u0c82\u0c9f\u0cc6",d:"\u0c92\u0c82\u0ca6\u0cc1 \u0ca6\u0cbf\u0ca8",dd:"%d \u0ca6\u0cbf\u0ca8",M:"\u0c92\u0c82\u0ca6\u0cc1 \u0ca4\u0cbf\u0c82\u0c97\u0cb3\u0cc1",MM:"%d \u0ca4\u0cbf\u0c82\u0c97\u0cb3\u0cc1",y:"\u0c92\u0c82\u0ca6\u0cc1 \u0cb5\u0cb0\u0ccd\u0cb7",yy:"%d \u0cb5\u0cb0\u0ccd\u0cb7"},preparse:function(p){return p.replace(/[\u0ce7\u0ce8\u0ce9\u0cea\u0ceb\u0cec\u0ced\u0cee\u0cef\u0ce6]/g,function(g){return d[g]})},postformat:function(p){return p.replace(/\d/g,function(g){return m[g]})},meridiemParse:/\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf|\u0cac\u0cc6\u0cb3\u0cbf\u0c97\u0ccd\u0c97\u0cc6|\u0cae\u0ca7\u0ccd\u0caf\u0cbe\u0cb9\u0ccd\u0ca8|\u0cb8\u0c82\u0c9c\u0cc6/,meridiemHour:function(p,g){return 12===p&&(p=0),"\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf"===g?p<4?p:p+12:"\u0cac\u0cc6\u0cb3\u0cbf\u0c97\u0ccd\u0c97\u0cc6"===g?p:"\u0cae\u0ca7\u0ccd\u0caf\u0cbe\u0cb9\u0ccd\u0ca8"===g?p>=10?p:p+12:"\u0cb8\u0c82\u0c9c\u0cc6"===g?p+12:void 0},meridiem:function(p,g,y){return p<4?"\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf":p<10?"\u0cac\u0cc6\u0cb3\u0cbf\u0c97\u0ccd\u0c97\u0cc6":p<17?"\u0cae\u0ca7\u0ccd\u0caf\u0cbe\u0cb9\u0ccd\u0ca8":p<20?"\u0cb8\u0c82\u0c9c\u0cc6":"\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf"},dayOfMonthOrdinalParse:/\d{1,2}(\u0ca8\u0cc6\u0cd5)/,ordinal:function(p){return p+"\u0ca8\u0cc6\u0cd5"},week:{dow:0,doy:6}})}(w(5439))},3549:function(se,q,w){!function(v){"use strict";v.defineLocale("ko",{months:"1\uc6d4_2\uc6d4_3\uc6d4_4\uc6d4_5\uc6d4_6\uc6d4_7\uc6d4_8\uc6d4_9\uc6d4_10\uc6d4_11\uc6d4_12\uc6d4".split("_"),monthsShort:"1\uc6d4_2\uc6d4_3\uc6d4_4\uc6d4_5\uc6d4_6\uc6d4_7\uc6d4_8\uc6d4_9\uc6d4_10\uc6d4_11\uc6d4_12\uc6d4".split("_"),weekdays:"\uc77c\uc694\uc77c_\uc6d4\uc694\uc77c_\ud654\uc694\uc77c_\uc218\uc694\uc77c_\ubaa9\uc694\uc77c_\uae08\uc694\uc77c_\ud1a0\uc694\uc77c".split("_"),weekdaysShort:"\uc77c_\uc6d4_\ud654_\uc218_\ubaa9_\uae08_\ud1a0".split("_"),weekdaysMin:"\uc77c_\uc6d4_\ud654_\uc218_\ubaa9_\uae08_\ud1a0".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"YYYY.MM.DD.",LL:"YYYY\ub144 MMMM D\uc77c",LLL:"YYYY\ub144 MMMM D\uc77c A h:mm",LLLL:"YYYY\ub144 MMMM D\uc77c dddd A h:mm",l:"YYYY.MM.DD.",ll:"YYYY\ub144 MMMM D\uc77c",lll:"YYYY\ub144 MMMM D\uc77c A h:mm",llll:"YYYY\ub144 MMMM D\uc77c dddd A h:mm"},calendar:{sameDay:"\uc624\ub298 LT",nextDay:"\ub0b4\uc77c LT",nextWeek:"dddd LT",lastDay:"\uc5b4\uc81c LT",lastWeek:"\uc9c0\ub09c\uc8fc dddd LT",sameElse:"L"},relativeTime:{future:"%s \ud6c4",past:"%s \uc804",s:"\uba87 \ucd08",ss:"%d\ucd08",m:"1\ubd84",mm:"%d\ubd84",h:"\ud55c \uc2dc\uac04",hh:"%d\uc2dc\uac04",d:"\ud558\ub8e8",dd:"%d\uc77c",M:"\ud55c \ub2ec",MM:"%d\ub2ec",y:"\uc77c \ub144",yy:"%d\ub144"},dayOfMonthOrdinalParse:/\d{1,2}(\uc77c|\uc6d4|\uc8fc)/,ordinal:function(d,u){switch(u){case"d":case"D":case"DDD":return d+"\uc77c";case"M":return d+"\uc6d4";case"w":case"W":return d+"\uc8fc";default:return d}},meridiemParse:/\uc624\uc804|\uc624\ud6c4/,isPM:function(d){return"\uc624\ud6c4"===d},meridiem:function(d,u,p){return d<12?"\uc624\uc804":"\uc624\ud6c4"}})}(w(5439))},3775:function(se,q,w){!function(v){"use strict";function m(p,g,y,b){var C={s:["\xe7end san\xeeye","\xe7end san\xeeyeyan"],ss:[p+" san\xeeye",p+" san\xeeyeyan"],m:["deq\xeeqeyek","deq\xeeqeyek\xea"],mm:[p+" deq\xeeqe",p+" deq\xeeqeyan"],h:["saetek","saetek\xea"],hh:[p+" saet",p+" saetan"],d:["rojek","rojek\xea"],dd:[p+" roj",p+" rojan"],w:["hefteyek","hefteyek\xea"],ww:[p+" hefte",p+" hefteyan"],M:["mehek","mehek\xea"],MM:[p+" meh",p+" mehan"],y:["salek","salek\xea"],yy:[p+" sal",p+" salan"]};return g?C[y][0]:C[y][1]}v.defineLocale("ku-kmr",{months:"R\xeabendan_Sibat_Adar_N\xeesan_Gulan_Hez\xeeran_T\xeermeh_Tebax_\xcelon_Cotmeh_Mijdar_Berfanbar".split("_"),monthsShort:"R\xeab_Sib_Ada_N\xees_Gul_Hez_T\xeer_Teb_\xcelo_Cot_Mij_Ber".split("_"),monthsParseExact:!0,weekdays:"Yek\u015fem_Du\u015fem_S\xea\u015fem_\xc7ar\u015fem_P\xeanc\u015fem_\xcen_\u015eem\xee".split("_"),weekdaysShort:"Yek_Du_S\xea_\xc7ar_P\xean_\xcen_\u015eem".split("_"),weekdaysMin:"Ye_Du_S\xea_\xc7a_P\xea_\xcen_\u015ee".split("_"),meridiem:function(p,g,y){return p<12?y?"bn":"BN":y?"pn":"PN"},meridiemParse:/bn|BN|pn|PN/,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"Do MMMM[a] YYYY[an]",LLL:"Do MMMM[a] YYYY[an] HH:mm",LLLL:"dddd, Do MMMM[a] YYYY[an] HH:mm",ll:"Do MMM[.] YYYY[an]",lll:"Do MMM[.] YYYY[an] HH:mm",llll:"ddd[.], Do MMM[.] YYYY[an] HH:mm"},calendar:{sameDay:"[\xcero di saet] LT [de]",nextDay:"[Sib\xea di saet] LT [de]",nextWeek:"dddd [di saet] LT [de]",lastDay:"[Duh di saet] LT [de]",lastWeek:"dddd[a bor\xee di saet] LT [de]",sameElse:"L"},relativeTime:{future:"di %s de",past:"ber\xee %s",s:m,ss:m,m,mm:m,h:m,hh:m,d:m,dd:m,w:m,ww:m,M:m,MM:m,y:m,yy:m},dayOfMonthOrdinalParse:/\d{1,2}(?:y\xea|\xea|\.)/,ordinal:function(p,g){var y=g.toLowerCase();return y.includes("w")||y.includes("m")?p+".":p+function d(p){var g=(p=""+p).substring(p.length-1),y=p.length>1?p.substring(p.length-2):"";return 12==y||13==y||"2"!=g&&"3"!=g&&"50"!=y&&"70"!=g&&"80"!=g?"\xea":"y\xea"}(p)},week:{dow:1,doy:4}})}(w(5439))},1037:function(se,q,w){!function(v){"use strict";var m={1:"\u0661",2:"\u0662",3:"\u0663",4:"\u0664",5:"\u0665",6:"\u0666",7:"\u0667",8:"\u0668",9:"\u0669",0:"\u0660"},d={"\u0661":"1","\u0662":"2","\u0663":"3","\u0664":"4","\u0665":"5","\u0666":"6","\u0667":"7","\u0668":"8","\u0669":"9","\u0660":"0"},u=["\u06a9\u0627\u0646\u0648\u0646\u06cc \u062f\u0648\u0648\u06d5\u0645","\u0634\u0648\u0628\u0627\u062a","\u0626\u0627\u0632\u0627\u0631","\u0646\u06cc\u0633\u0627\u0646","\u0626\u0627\u06cc\u0627\u0631","\u062d\u0648\u0632\u06d5\u06cc\u0631\u0627\u0646","\u062a\u06d5\u0645\u0645\u0648\u0632","\u0626\u0627\u0628","\u0626\u06d5\u06cc\u0644\u0648\u0648\u0644","\u062a\u0634\u0631\u06cc\u0646\u06cc \u06cc\u06d5\u0643\u06d5\u0645","\u062a\u0634\u0631\u06cc\u0646\u06cc \u062f\u0648\u0648\u06d5\u0645","\u0643\u0627\u0646\u0648\u0646\u06cc \u06cc\u06d5\u06a9\u06d5\u0645"];v.defineLocale("ku",{months:u,monthsShort:u,weekdays:"\u06cc\u0647\u200c\u0643\u0634\u0647\u200c\u0645\u0645\u0647\u200c_\u062f\u0648\u0648\u0634\u0647\u200c\u0645\u0645\u0647\u200c_\u0633\u06ce\u0634\u0647\u200c\u0645\u0645\u0647\u200c_\u0686\u0648\u0627\u0631\u0634\u0647\u200c\u0645\u0645\u0647\u200c_\u067e\u06ce\u0646\u062c\u0634\u0647\u200c\u0645\u0645\u0647\u200c_\u0647\u0647\u200c\u06cc\u0646\u06cc_\u0634\u0647\u200c\u0645\u0645\u0647\u200c".split("_"),weekdaysShort:"\u06cc\u0647\u200c\u0643\u0634\u0647\u200c\u0645_\u062f\u0648\u0648\u0634\u0647\u200c\u0645_\u0633\u06ce\u0634\u0647\u200c\u0645_\u0686\u0648\u0627\u0631\u0634\u0647\u200c\u0645_\u067e\u06ce\u0646\u062c\u0634\u0647\u200c\u0645_\u0647\u0647\u200c\u06cc\u0646\u06cc_\u0634\u0647\u200c\u0645\u0645\u0647\u200c".split("_"),weekdaysMin:"\u06cc_\u062f_\u0633_\u0686_\u067e_\u0647_\u0634".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiemParse:/\u0626\u06ce\u0648\u0627\u0631\u0647\u200c|\u0628\u0647\u200c\u06cc\u0627\u0646\u06cc/,isPM:function(g){return/\u0626\u06ce\u0648\u0627\u0631\u0647\u200c/.test(g)},meridiem:function(g,y,b){return g<12?"\u0628\u0647\u200c\u06cc\u0627\u0646\u06cc":"\u0626\u06ce\u0648\u0627\u0631\u0647\u200c"},calendar:{sameDay:"[\u0626\u0647\u200c\u0645\u0631\u06c6 \u0643\u0627\u062a\u0698\u0645\u06ce\u0631] LT",nextDay:"[\u0628\u0647\u200c\u06cc\u0627\u0646\u06cc \u0643\u0627\u062a\u0698\u0645\u06ce\u0631] LT",nextWeek:"dddd [\u0643\u0627\u062a\u0698\u0645\u06ce\u0631] LT",lastDay:"[\u062f\u0648\u06ce\u0646\u06ce \u0643\u0627\u062a\u0698\u0645\u06ce\u0631] LT",lastWeek:"dddd [\u0643\u0627\u062a\u0698\u0645\u06ce\u0631] LT",sameElse:"L"},relativeTime:{future:"\u0644\u0647\u200c %s",past:"%s",s:"\u0686\u0647\u200c\u0646\u062f \u0686\u0631\u0643\u0647\u200c\u06cc\u0647\u200c\u0643",ss:"\u0686\u0631\u0643\u0647\u200c %d",m:"\u06cc\u0647\u200c\u0643 \u062e\u0648\u0644\u0647\u200c\u0643",mm:"%d \u062e\u0648\u0644\u0647\u200c\u0643",h:"\u06cc\u0647\u200c\u0643 \u0643\u0627\u062a\u0698\u0645\u06ce\u0631",hh:"%d \u0643\u0627\u062a\u0698\u0645\u06ce\u0631",d:"\u06cc\u0647\u200c\u0643 \u0695\u06c6\u0698",dd:"%d \u0695\u06c6\u0698",M:"\u06cc\u0647\u200c\u0643 \u0645\u0627\u0646\u06af",MM:"%d \u0645\u0627\u0646\u06af",y:"\u06cc\u0647\u200c\u0643 \u0633\u0627\u06b5",yy:"%d \u0633\u0627\u06b5"},preparse:function(g){return g.replace(/[\u0661\u0662\u0663\u0664\u0665\u0666\u0667\u0668\u0669\u0660]/g,function(y){return d[y]}).replace(/\u060c/g,",")},postformat:function(g){return g.replace(/\d/g,function(y){return m[y]}).replace(/,/g,"\u060c")},week:{dow:6,doy:12}})}(w(5439))},3125:function(se,q,w){!function(v){"use strict";var m={0:"-\u0447\u04af",1:"-\u0447\u0438",2:"-\u0447\u0438",3:"-\u0447\u04af",4:"-\u0447\u04af",5:"-\u0447\u0438",6:"-\u0447\u044b",7:"-\u0447\u0438",8:"-\u0447\u0438",9:"-\u0447\u0443",10:"-\u0447\u0443",20:"-\u0447\u044b",30:"-\u0447\u0443",40:"-\u0447\u044b",50:"-\u0447\u04af",60:"-\u0447\u044b",70:"-\u0447\u0438",80:"-\u0447\u0438",90:"-\u0447\u0443",100:"-\u0447\u04af"};v.defineLocale("ky",{months:"\u044f\u043d\u0432\u0430\u0440\u044c_\u0444\u0435\u0432\u0440\u0430\u043b\u044c_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0435\u043b\u044c_\u043c\u0430\u0439_\u0438\u044e\u043d\u044c_\u0438\u044e\u043b\u044c_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043d\u0442\u044f\u0431\u0440\u044c_\u043e\u043a\u0442\u044f\u0431\u0440\u044c_\u043d\u043e\u044f\u0431\u0440\u044c_\u0434\u0435\u043a\u0430\u0431\u0440\u044c".split("_"),monthsShort:"\u044f\u043d\u0432_\u0444\u0435\u0432_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440_\u043c\u0430\u0439_\u0438\u044e\u043d\u044c_\u0438\u044e\u043b\u044c_\u0430\u0432\u0433_\u0441\u0435\u043d_\u043e\u043a\u0442_\u043d\u043e\u044f_\u0434\u0435\u043a".split("_"),weekdays:"\u0416\u0435\u043a\u0448\u0435\u043c\u0431\u0438_\u0414\u04af\u0439\u0448\u04e9\u043c\u0431\u04af_\u0428\u0435\u0439\u0448\u0435\u043c\u0431\u0438_\u0428\u0430\u0440\u0448\u0435\u043c\u0431\u0438_\u0411\u0435\u0439\u0448\u0435\u043c\u0431\u0438_\u0416\u0443\u043c\u0430_\u0418\u0448\u0435\u043c\u0431\u0438".split("_"),weekdaysShort:"\u0416\u0435\u043a_\u0414\u04af\u0439_\u0428\u0435\u0439_\u0428\u0430\u0440_\u0411\u0435\u0439_\u0416\u0443\u043c_\u0418\u0448\u0435".split("_"),weekdaysMin:"\u0416\u043a_\u0414\u0439_\u0428\u0439_\u0428\u0440_\u0411\u0439_\u0416\u043c_\u0418\u0448".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0411\u04af\u0433\u04af\u043d \u0441\u0430\u0430\u0442] LT",nextDay:"[\u042d\u0440\u0442\u0435\u04a3 \u0441\u0430\u0430\u0442] LT",nextWeek:"dddd [\u0441\u0430\u0430\u0442] LT",lastDay:"[\u041a\u0435\u0447\u044d\u044d \u0441\u0430\u0430\u0442] LT",lastWeek:"[\u04e8\u0442\u043a\u04e9\u043d \u0430\u043f\u0442\u0430\u043d\u044b\u043d] dddd [\u043a\u04af\u043d\u04af] [\u0441\u0430\u0430\u0442] LT",sameElse:"L"},relativeTime:{future:"%s \u0438\u0447\u0438\u043d\u0434\u0435",past:"%s \u043c\u0443\u0440\u0443\u043d",s:"\u0431\u0438\u0440\u043d\u0435\u0447\u0435 \u0441\u0435\u043a\u0443\u043d\u0434",ss:"%d \u0441\u0435\u043a\u0443\u043d\u0434",m:"\u0431\u0438\u0440 \u043c\u04af\u043d\u04e9\u0442",mm:"%d \u043c\u04af\u043d\u04e9\u0442",h:"\u0431\u0438\u0440 \u0441\u0430\u0430\u0442",hh:"%d \u0441\u0430\u0430\u0442",d:"\u0431\u0438\u0440 \u043a\u04af\u043d",dd:"%d \u043a\u04af\u043d",M:"\u0431\u0438\u0440 \u0430\u0439",MM:"%d \u0430\u0439",y:"\u0431\u0438\u0440 \u0436\u044b\u043b",yy:"%d \u0436\u044b\u043b"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0447\u0438|\u0447\u044b|\u0447\u04af|\u0447\u0443)/,ordinal:function(u){return u+(m[u]||m[u%10]||m[u>=100?100:null])},week:{dow:1,doy:7}})}(w(5439))},9586:function(se,q,w){!function(v){"use strict";function m(y,b,C,P){var N={m:["eng Minutt","enger Minutt"],h:["eng Stonn","enger Stonn"],d:["een Dag","engem Dag"],M:["ee Mount","engem Mount"],y:["ee Joer","engem Joer"]};return b?N[C][0]:N[C][1]}function p(y){if(y=parseInt(y,10),isNaN(y))return!1;if(y<0)return!0;if(y<10)return 4<=y&&y<=7;if(y<100){var b=y%10;return p(0===b?y/10:b)}if(y<1e4){for(;y>=10;)y/=10;return p(y)}return p(y/=1e3)}v.defineLocale("lb",{months:"Januar_Februar_M\xe4erz_Abr\xebll_Mee_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Febr._Mrz._Abr._Mee_Jun._Jul._Aug._Sept._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonndeg_M\xe9indeg_D\xebnschdeg_M\xebttwoch_Donneschdeg_Freideg_Samschdeg".split("_"),weekdaysShort:"So._M\xe9._D\xeb._M\xeb._Do._Fr._Sa.".split("_"),weekdaysMin:"So_M\xe9_D\xeb_M\xeb_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm [Auer]",LTS:"H:mm:ss [Auer]",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm [Auer]",LLLL:"dddd, D. MMMM YYYY H:mm [Auer]"},calendar:{sameDay:"[Haut um] LT",sameElse:"L",nextDay:"[Muer um] LT",nextWeek:"dddd [um] LT",lastDay:"[G\xebschter um] LT",lastWeek:function(){switch(this.day()){case 2:case 4:return"[Leschten] dddd [um] LT";default:return"[Leschte] dddd [um] LT"}}},relativeTime:{future:function d(y){return p(y.substr(0,y.indexOf(" ")))?"a "+y:"an "+y},past:function u(y){return p(y.substr(0,y.indexOf(" ")))?"viru "+y:"virun "+y},s:"e puer Sekonnen",ss:"%d Sekonnen",m,mm:"%d Minutten",h:m,hh:"%d Stonnen",d:m,dd:"%d Deeg",M:m,MM:"%d M\xe9int",y:m,yy:"%d Joer"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(w(5439))},2349:function(se,q,w){!function(v){"use strict";v.defineLocale("lo",{months:"\u0ea1\u0eb1\u0e87\u0e81\u0ead\u0e99_\u0e81\u0eb8\u0ea1\u0e9e\u0eb2_\u0ea1\u0eb5\u0e99\u0eb2_\u0ec0\u0ea1\u0eaa\u0eb2_\u0e9e\u0eb6\u0e94\u0eaa\u0eb0\u0e9e\u0eb2_\u0ea1\u0eb4\u0e96\u0eb8\u0e99\u0eb2_\u0e81\u0ecd\u0ea5\u0eb0\u0e81\u0ebb\u0e94_\u0eaa\u0eb4\u0e87\u0eab\u0eb2_\u0e81\u0eb1\u0e99\u0e8d\u0eb2_\u0e95\u0eb8\u0ea5\u0eb2_\u0e9e\u0eb0\u0e88\u0eb4\u0e81_\u0e97\u0eb1\u0e99\u0ea7\u0eb2".split("_"),monthsShort:"\u0ea1\u0eb1\u0e87\u0e81\u0ead\u0e99_\u0e81\u0eb8\u0ea1\u0e9e\u0eb2_\u0ea1\u0eb5\u0e99\u0eb2_\u0ec0\u0ea1\u0eaa\u0eb2_\u0e9e\u0eb6\u0e94\u0eaa\u0eb0\u0e9e\u0eb2_\u0ea1\u0eb4\u0e96\u0eb8\u0e99\u0eb2_\u0e81\u0ecd\u0ea5\u0eb0\u0e81\u0ebb\u0e94_\u0eaa\u0eb4\u0e87\u0eab\u0eb2_\u0e81\u0eb1\u0e99\u0e8d\u0eb2_\u0e95\u0eb8\u0ea5\u0eb2_\u0e9e\u0eb0\u0e88\u0eb4\u0e81_\u0e97\u0eb1\u0e99\u0ea7\u0eb2".split("_"),weekdays:"\u0ead\u0eb2\u0e97\u0eb4\u0e94_\u0e88\u0eb1\u0e99_\u0ead\u0eb1\u0e87\u0e84\u0eb2\u0e99_\u0e9e\u0eb8\u0e94_\u0e9e\u0eb0\u0eab\u0eb1\u0e94_\u0eaa\u0eb8\u0e81_\u0ec0\u0eaa\u0ebb\u0eb2".split("_"),weekdaysShort:"\u0e97\u0eb4\u0e94_\u0e88\u0eb1\u0e99_\u0ead\u0eb1\u0e87\u0e84\u0eb2\u0e99_\u0e9e\u0eb8\u0e94_\u0e9e\u0eb0\u0eab\u0eb1\u0e94_\u0eaa\u0eb8\u0e81_\u0ec0\u0eaa\u0ebb\u0eb2".split("_"),weekdaysMin:"\u0e97_\u0e88_\u0ead\u0e84_\u0e9e_\u0e9e\u0eab_\u0eaa\u0e81_\u0eaa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"\u0ea7\u0eb1\u0e99dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0e95\u0ead\u0e99\u0ec0\u0e8a\u0ebb\u0ec9\u0eb2|\u0e95\u0ead\u0e99\u0ec1\u0ea5\u0e87/,isPM:function(d){return"\u0e95\u0ead\u0e99\u0ec1\u0ea5\u0e87"===d},meridiem:function(d,u,p){return d<12?"\u0e95\u0ead\u0e99\u0ec0\u0e8a\u0ebb\u0ec9\u0eb2":"\u0e95\u0ead\u0e99\u0ec1\u0ea5\u0e87"},calendar:{sameDay:"[\u0ea1\u0eb7\u0ec9\u0e99\u0eb5\u0ec9\u0ec0\u0ea7\u0ea5\u0eb2] LT",nextDay:"[\u0ea1\u0eb7\u0ec9\u0ead\u0eb7\u0ec8\u0e99\u0ec0\u0ea7\u0ea5\u0eb2] LT",nextWeek:"[\u0ea7\u0eb1\u0e99]dddd[\u0edc\u0ec9\u0eb2\u0ec0\u0ea7\u0ea5\u0eb2] LT",lastDay:"[\u0ea1\u0eb7\u0ec9\u0ea7\u0eb2\u0e99\u0e99\u0eb5\u0ec9\u0ec0\u0ea7\u0ea5\u0eb2] LT",lastWeek:"[\u0ea7\u0eb1\u0e99]dddd[\u0ec1\u0ea5\u0ec9\u0ea7\u0e99\u0eb5\u0ec9\u0ec0\u0ea7\u0ea5\u0eb2] LT",sameElse:"L"},relativeTime:{future:"\u0ead\u0eb5\u0e81 %s",past:"%s\u0e9c\u0ec8\u0eb2\u0e99\u0ea1\u0eb2",s:"\u0e9a\u0ecd\u0ec8\u0ec0\u0e97\u0ebb\u0ec8\u0eb2\u0ec3\u0e94\u0ea7\u0eb4\u0e99\u0eb2\u0e97\u0eb5",ss:"%d \u0ea7\u0eb4\u0e99\u0eb2\u0e97\u0eb5",m:"1 \u0e99\u0eb2\u0e97\u0eb5",mm:"%d \u0e99\u0eb2\u0e97\u0eb5",h:"1 \u0e8a\u0ebb\u0ec8\u0ea7\u0ec2\u0ea1\u0e87",hh:"%d \u0e8a\u0ebb\u0ec8\u0ea7\u0ec2\u0ea1\u0e87",d:"1 \u0ea1\u0eb7\u0ec9",dd:"%d \u0ea1\u0eb7\u0ec9",M:"1 \u0ec0\u0e94\u0eb7\u0ead\u0e99",MM:"%d \u0ec0\u0e94\u0eb7\u0ead\u0e99",y:"1 \u0e9b\u0eb5",yy:"%d \u0e9b\u0eb5"},dayOfMonthOrdinalParse:/(\u0e97\u0eb5\u0ec8)\d{1,2}/,ordinal:function(d){return"\u0e97\u0eb5\u0ec8"+d}})}(w(5439))},2400:function(se,q,w){!function(v){"use strict";var m={ss:"sekund\u0117_sekund\u017ei\u0173_sekundes",m:"minut\u0117_minut\u0117s_minut\u0119",mm:"minut\u0117s_minu\u010di\u0173_minutes",h:"valanda_valandos_valand\u0105",hh:"valandos_valand\u0173_valandas",d:"diena_dienos_dien\u0105",dd:"dienos_dien\u0173_dienas",M:"m\u0117nuo_m\u0117nesio_m\u0117nes\u012f",MM:"m\u0117nesiai_m\u0117nesi\u0173_m\u0117nesius",y:"metai_met\u0173_metus",yy:"metai_met\u0173_metus"};function u(C,P,N,R){return P?g(N)[0]:R?g(N)[1]:g(N)[2]}function p(C){return C%10==0||C>10&&C<20}function g(C){return m[C].split("_")}function y(C,P,N,R){var j=C+" ";return 1===C?j+u(0,P,N[0],R):P?j+(p(C)?g(N)[1]:g(N)[0]):R?j+g(N)[1]:j+(p(C)?g(N)[1]:g(N)[2])}v.defineLocale("lt",{months:{format:"sausio_vasario_kovo_baland\u017eio_gegu\u017e\u0117s_bir\u017eelio_liepos_rugpj\u016b\u010dio_rugs\u0117jo_spalio_lapkri\u010dio_gruod\u017eio".split("_"),standalone:"sausis_vasaris_kovas_balandis_gegu\u017e\u0117_bir\u017eelis_liepa_rugpj\u016btis_rugs\u0117jis_spalis_lapkritis_gruodis".split("_"),isFormat:/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?|MMMM?(\[[^\[\]]*\]|\s)+D[oD]?/},monthsShort:"sau_vas_kov_bal_geg_bir_lie_rgp_rgs_spa_lap_grd".split("_"),weekdays:{format:"sekmadien\u012f_pirmadien\u012f_antradien\u012f_tre\u010diadien\u012f_ketvirtadien\u012f_penktadien\u012f_\u0161e\u0161tadien\u012f".split("_"),standalone:"sekmadienis_pirmadienis_antradienis_tre\u010diadienis_ketvirtadienis_penktadienis_\u0161e\u0161tadienis".split("_"),isFormat:/dddd HH:mm/},weekdaysShort:"Sek_Pir_Ant_Tre_Ket_Pen_\u0160e\u0161".split("_"),weekdaysMin:"S_P_A_T_K_Pn_\u0160".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY [m.] MMMM D [d.]",LLL:"YYYY [m.] MMMM D [d.], HH:mm [val.]",LLLL:"YYYY [m.] MMMM D [d.], dddd, HH:mm [val.]",l:"YYYY-MM-DD",ll:"YYYY [m.] MMMM D [d.]",lll:"YYYY [m.] MMMM D [d.], HH:mm [val.]",llll:"YYYY [m.] MMMM D [d.], ddd, HH:mm [val.]"},calendar:{sameDay:"[\u0160iandien] LT",nextDay:"[Rytoj] LT",nextWeek:"dddd LT",lastDay:"[Vakar] LT",lastWeek:"[Pra\u0117jus\u012f] dddd LT",sameElse:"L"},relativeTime:{future:"po %s",past:"prie\u0161 %s",s:function d(C,P,N,R){return P?"kelios sekund\u0117s":R?"keli\u0173 sekund\u017ei\u0173":"kelias sekundes"},ss:y,m:u,mm:y,h:u,hh:y,d:u,dd:y,M:u,MM:y,y:u,yy:y},dayOfMonthOrdinalParse:/\d{1,2}-oji/,ordinal:function(C){return C+"-oji"},week:{dow:1,doy:4}})}(w(5439))},9991:function(se,q,w){!function(v){"use strict";var m={ss:"sekundes_sekund\u0113m_sekunde_sekundes".split("_"),m:"min\u016btes_min\u016bt\u0113m_min\u016bte_min\u016btes".split("_"),mm:"min\u016btes_min\u016bt\u0113m_min\u016bte_min\u016btes".split("_"),h:"stundas_stund\u0101m_stunda_stundas".split("_"),hh:"stundas_stund\u0101m_stunda_stundas".split("_"),d:"dienas_dien\u0101m_diena_dienas".split("_"),dd:"dienas_dien\u0101m_diena_dienas".split("_"),M:"m\u0113ne\u0161a_m\u0113ne\u0161iem_m\u0113nesis_m\u0113ne\u0161i".split("_"),MM:"m\u0113ne\u0161a_m\u0113ne\u0161iem_m\u0113nesis_m\u0113ne\u0161i".split("_"),y:"gada_gadiem_gads_gadi".split("_"),yy:"gada_gadiem_gads_gadi".split("_")};function d(b,C,P){return P?C%10==1&&C%100!=11?b[2]:b[3]:C%10==1&&C%100!=11?b[0]:b[1]}function u(b,C,P){return b+" "+d(m[P],b,C)}function p(b,C,P){return d(m[P],b,C)}v.defineLocale("lv",{months:"janv\u0101ris_febru\u0101ris_marts_apr\u012blis_maijs_j\u016bnijs_j\u016blijs_augusts_septembris_oktobris_novembris_decembris".split("_"),monthsShort:"jan_feb_mar_apr_mai_j\u016bn_j\u016bl_aug_sep_okt_nov_dec".split("_"),weekdays:"sv\u0113tdiena_pirmdiena_otrdiena_tre\u0161diena_ceturtdiena_piektdiena_sestdiena".split("_"),weekdaysShort:"Sv_P_O_T_C_Pk_S".split("_"),weekdaysMin:"Sv_P_O_T_C_Pk_S".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY.",LL:"YYYY. [gada] D. MMMM",LLL:"YYYY. [gada] D. MMMM, HH:mm",LLLL:"YYYY. [gada] D. MMMM, dddd, HH:mm"},calendar:{sameDay:"[\u0160odien pulksten] LT",nextDay:"[R\u012bt pulksten] LT",nextWeek:"dddd [pulksten] LT",lastDay:"[Vakar pulksten] LT",lastWeek:"[Pag\u0101ju\u0161\u0101] dddd [pulksten] LT",sameElse:"L"},relativeTime:{future:"p\u0113c %s",past:"pirms %s",s:function g(b,C){return C?"da\u017eas sekundes":"da\u017e\u0101m sekund\u0113m"},ss:u,m:p,mm:u,h:p,hh:u,d:p,dd:u,M:p,MM:u,y:p,yy:u},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(w(5439))},8477:function(se,q,w){!function(v){"use strict";var m={words:{ss:["sekund","sekunda","sekundi"],m:["jedan minut","jednog minuta"],mm:["minut","minuta","minuta"],h:["jedan sat","jednog sata"],hh:["sat","sata","sati"],dd:["dan","dana","dana"],MM:["mjesec","mjeseca","mjeseci"],yy:["godina","godine","godina"]},correctGrammaticalCase:function(u,p){return 1===u?p[0]:u>=2&&u<=4?p[1]:p[2]},translate:function(u,p,g){var y=m.words[g];return 1===g.length?p?y[0]:y[1]:u+" "+m.correctGrammaticalCase(u,y)}};v.defineLocale("me",{months:"januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_\u010detvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._\u010det._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_\u010de_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sjutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[ju\u010de u] LT",lastWeek:function(){return["[pro\u0161le] [nedjelje] [u] LT","[pro\u0161log] [ponedjeljka] [u] LT","[pro\u0161log] [utorka] [u] LT","[pro\u0161le] [srijede] [u] LT","[pro\u0161log] [\u010detvrtka] [u] LT","[pro\u0161log] [petka] [u] LT","[pro\u0161le] [subote] [u] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"nekoliko sekundi",ss:m.translate,m:m.translate,mm:m.translate,h:m.translate,hh:m.translate,d:"dan",dd:m.translate,M:"mjesec",MM:m.translate,y:"godinu",yy:m.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(w(5439))},5118:function(se,q,w){!function(v){"use strict";v.defineLocale("mi",{months:"Kohi-t\u0101te_Hui-tanguru_Pout\u016b-te-rangi_Paenga-wh\u0101wh\u0101_Haratua_Pipiri_H\u014dngoingoi_Here-turi-k\u014dk\u0101_Mahuru_Whiringa-\u0101-nuku_Whiringa-\u0101-rangi_Hakihea".split("_"),monthsShort:"Kohi_Hui_Pou_Pae_Hara_Pipi_H\u014dngoi_Here_Mahu_Whi-nu_Whi-ra_Haki".split("_"),monthsRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsStrictRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsShortRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsShortStrictRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,2}/i,weekdays:"R\u0101tapu_Mane_T\u016brei_Wenerei_T\u0101ite_Paraire_H\u0101tarei".split("_"),weekdaysShort:"Ta_Ma_T\u016b_We_T\u0101i_Pa_H\u0101".split("_"),weekdaysMin:"Ta_Ma_T\u016b_We_T\u0101i_Pa_H\u0101".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [i] HH:mm",LLLL:"dddd, D MMMM YYYY [i] HH:mm"},calendar:{sameDay:"[i teie mahana, i] LT",nextDay:"[apopo i] LT",nextWeek:"dddd [i] LT",lastDay:"[inanahi i] LT",lastWeek:"dddd [whakamutunga i] LT",sameElse:"L"},relativeTime:{future:"i roto i %s",past:"%s i mua",s:"te h\u0113kona ruarua",ss:"%d h\u0113kona",m:"he meneti",mm:"%d meneti",h:"te haora",hh:"%d haora",d:"he ra",dd:"%d ra",M:"he marama",MM:"%d marama",y:"he tau",yy:"%d tau"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(w(5439))},5943:function(se,q,w){!function(v){"use strict";v.defineLocale("mk",{months:"\u0458\u0430\u043d\u0443\u0430\u0440\u0438_\u0444\u0435\u0432\u0440\u0443\u0430\u0440\u0438_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0438\u043b_\u043c\u0430\u0458_\u0458\u0443\u043d\u0438_\u0458\u0443\u043b\u0438_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043f\u0442\u0435\u043c\u0432\u0440\u0438_\u043e\u043a\u0442\u043e\u043c\u0432\u0440\u0438_\u043d\u043e\u0435\u043c\u0432\u0440\u0438_\u0434\u0435\u043a\u0435\u043c\u0432\u0440\u0438".split("_"),monthsShort:"\u0458\u0430\u043d_\u0444\u0435\u0432_\u043c\u0430\u0440_\u0430\u043f\u0440_\u043c\u0430\u0458_\u0458\u0443\u043d_\u0458\u0443\u043b_\u0430\u0432\u0433_\u0441\u0435\u043f_\u043e\u043a\u0442_\u043d\u043e\u0435_\u0434\u0435\u043a".split("_"),weekdays:"\u043d\u0435\u0434\u0435\u043b\u0430_\u043f\u043e\u043d\u0435\u0434\u0435\u043b\u043d\u0438\u043a_\u0432\u0442\u043e\u0440\u043d\u0438\u043a_\u0441\u0440\u0435\u0434\u0430_\u0447\u0435\u0442\u0432\u0440\u0442\u043e\u043a_\u043f\u0435\u0442\u043e\u043a_\u0441\u0430\u0431\u043e\u0442\u0430".split("_"),weekdaysShort:"\u043d\u0435\u0434_\u043f\u043e\u043d_\u0432\u0442\u043e_\u0441\u0440\u0435_\u0447\u0435\u0442_\u043f\u0435\u0442_\u0441\u0430\u0431".split("_"),weekdaysMin:"\u043de_\u043fo_\u0432\u0442_\u0441\u0440_\u0447\u0435_\u043f\u0435_\u0441a".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[\u0414\u0435\u043d\u0435\u0441 \u0432\u043e] LT",nextDay:"[\u0423\u0442\u0440\u0435 \u0432\u043e] LT",nextWeek:"[\u0412\u043e] dddd [\u0432\u043e] LT",lastDay:"[\u0412\u0447\u0435\u0440\u0430 \u0432\u043e] LT",lastWeek:function(){switch(this.day()){case 0:case 3:case 6:return"[\u0418\u0437\u043c\u0438\u043d\u0430\u0442\u0430\u0442\u0430] dddd [\u0432\u043e] LT";case 1:case 2:case 4:case 5:return"[\u0418\u0437\u043c\u0438\u043d\u0430\u0442\u0438\u043e\u0442] dddd [\u0432\u043e] LT"}},sameElse:"L"},relativeTime:{future:"\u0437\u0430 %s",past:"\u043f\u0440\u0435\u0434 %s",s:"\u043d\u0435\u043a\u043e\u043b\u043a\u0443 \u0441\u0435\u043a\u0443\u043d\u0434\u0438",ss:"%d \u0441\u0435\u043a\u0443\u043d\u0434\u0438",m:"\u0435\u0434\u043d\u0430 \u043c\u0438\u043d\u0443\u0442\u0430",mm:"%d \u043c\u0438\u043d\u0443\u0442\u0438",h:"\u0435\u0434\u0435\u043d \u0447\u0430\u0441",hh:"%d \u0447\u0430\u0441\u0430",d:"\u0435\u0434\u0435\u043d \u0434\u0435\u043d",dd:"%d \u0434\u0435\u043d\u0430",M:"\u0435\u0434\u0435\u043d \u043c\u0435\u0441\u0435\u0446",MM:"%d \u043c\u0435\u0441\u0435\u0446\u0438",y:"\u0435\u0434\u043d\u0430 \u0433\u043e\u0434\u0438\u043d\u0430",yy:"%d \u0433\u043e\u0434\u0438\u043d\u0438"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0435\u0432|\u0435\u043d|\u0442\u0438|\u0432\u0438|\u0440\u0438|\u043c\u0438)/,ordinal:function(d){var u=d%10,p=d%100;return 0===d?d+"-\u0435\u0432":0===p?d+"-\u0435\u043d":p>10&&p<20?d+"-\u0442\u0438":1===u?d+"-\u0432\u0438":2===u?d+"-\u0440\u0438":7===u||8===u?d+"-\u043c\u0438":d+"-\u0442\u0438"},week:{dow:1,doy:7}})}(w(5439))},3849:function(se,q,w){!function(v){"use strict";v.defineLocale("ml",{months:"\u0d1c\u0d28\u0d41\u0d35\u0d30\u0d3f_\u0d2b\u0d46\u0d2c\u0d4d\u0d30\u0d41\u0d35\u0d30\u0d3f_\u0d2e\u0d3e\u0d7c\u0d1a\u0d4d\u0d1a\u0d4d_\u0d0f\u0d2a\u0d4d\u0d30\u0d3f\u0d7d_\u0d2e\u0d47\u0d2f\u0d4d_\u0d1c\u0d42\u0d7a_\u0d1c\u0d42\u0d32\u0d48_\u0d13\u0d17\u0d38\u0d4d\u0d31\u0d4d\u0d31\u0d4d_\u0d38\u0d46\u0d2a\u0d4d\u0d31\u0d4d\u0d31\u0d02\u0d2c\u0d7c_\u0d12\u0d15\u0d4d\u0d1f\u0d4b\u0d2c\u0d7c_\u0d28\u0d35\u0d02\u0d2c\u0d7c_\u0d21\u0d3f\u0d38\u0d02\u0d2c\u0d7c".split("_"),monthsShort:"\u0d1c\u0d28\u0d41._\u0d2b\u0d46\u0d2c\u0d4d\u0d30\u0d41._\u0d2e\u0d3e\u0d7c._\u0d0f\u0d2a\u0d4d\u0d30\u0d3f._\u0d2e\u0d47\u0d2f\u0d4d_\u0d1c\u0d42\u0d7a_\u0d1c\u0d42\u0d32\u0d48._\u0d13\u0d17._\u0d38\u0d46\u0d2a\u0d4d\u0d31\u0d4d\u0d31._\u0d12\u0d15\u0d4d\u0d1f\u0d4b._\u0d28\u0d35\u0d02._\u0d21\u0d3f\u0d38\u0d02.".split("_"),monthsParseExact:!0,weekdays:"\u0d1e\u0d3e\u0d2f\u0d31\u0d3e\u0d34\u0d4d\u0d1a_\u0d24\u0d3f\u0d19\u0d4d\u0d15\u0d33\u0d3e\u0d34\u0d4d\u0d1a_\u0d1a\u0d4a\u0d35\u0d4d\u0d35\u0d3e\u0d34\u0d4d\u0d1a_\u0d2c\u0d41\u0d27\u0d28\u0d3e\u0d34\u0d4d\u0d1a_\u0d35\u0d4d\u0d2f\u0d3e\u0d34\u0d3e\u0d34\u0d4d\u0d1a_\u0d35\u0d46\u0d33\u0d4d\u0d33\u0d3f\u0d2f\u0d3e\u0d34\u0d4d\u0d1a_\u0d36\u0d28\u0d3f\u0d2f\u0d3e\u0d34\u0d4d\u0d1a".split("_"),weekdaysShort:"\u0d1e\u0d3e\u0d2f\u0d7c_\u0d24\u0d3f\u0d19\u0d4d\u0d15\u0d7e_\u0d1a\u0d4a\u0d35\u0d4d\u0d35_\u0d2c\u0d41\u0d27\u0d7b_\u0d35\u0d4d\u0d2f\u0d3e\u0d34\u0d02_\u0d35\u0d46\u0d33\u0d4d\u0d33\u0d3f_\u0d36\u0d28\u0d3f".split("_"),weekdaysMin:"\u0d1e\u0d3e_\u0d24\u0d3f_\u0d1a\u0d4a_\u0d2c\u0d41_\u0d35\u0d4d\u0d2f\u0d3e_\u0d35\u0d46_\u0d36".split("_"),longDateFormat:{LT:"A h:mm -\u0d28\u0d41",LTS:"A h:mm:ss -\u0d28\u0d41",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm -\u0d28\u0d41",LLLL:"dddd, D MMMM YYYY, A h:mm -\u0d28\u0d41"},calendar:{sameDay:"[\u0d07\u0d28\u0d4d\u0d28\u0d4d] LT",nextDay:"[\u0d28\u0d3e\u0d33\u0d46] LT",nextWeek:"dddd, LT",lastDay:"[\u0d07\u0d28\u0d4d\u0d28\u0d32\u0d46] LT",lastWeek:"[\u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e\u0d4d",past:"%s \u0d2e\u0d41\u0d7b\u0d2a\u0d4d",s:"\u0d05\u0d7d\u0d2a \u0d28\u0d3f\u0d2e\u0d3f\u0d37\u0d19\u0d4d\u0d19\u0d7e",ss:"%d \u0d38\u0d46\u0d15\u0d4d\u0d15\u0d7b\u0d21\u0d4d",m:"\u0d12\u0d30\u0d41 \u0d2e\u0d3f\u0d28\u0d3f\u0d31\u0d4d\u0d31\u0d4d",mm:"%d \u0d2e\u0d3f\u0d28\u0d3f\u0d31\u0d4d\u0d31\u0d4d",h:"\u0d12\u0d30\u0d41 \u0d2e\u0d23\u0d3f\u0d15\u0d4d\u0d15\u0d42\u0d7c",hh:"%d \u0d2e\u0d23\u0d3f\u0d15\u0d4d\u0d15\u0d42\u0d7c",d:"\u0d12\u0d30\u0d41 \u0d26\u0d3f\u0d35\u0d38\u0d02",dd:"%d \u0d26\u0d3f\u0d35\u0d38\u0d02",M:"\u0d12\u0d30\u0d41 \u0d2e\u0d3e\u0d38\u0d02",MM:"%d \u0d2e\u0d3e\u0d38\u0d02",y:"\u0d12\u0d30\u0d41 \u0d35\u0d7c\u0d37\u0d02",yy:"%d \u0d35\u0d7c\u0d37\u0d02"},meridiemParse:/\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f|\u0d30\u0d3e\u0d35\u0d3f\u0d32\u0d46|\u0d09\u0d1a\u0d4d\u0d1a \u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e\u0d4d|\u0d35\u0d48\u0d15\u0d41\u0d28\u0d4d\u0d28\u0d47\u0d30\u0d02|\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f/i,meridiemHour:function(d,u){return 12===d&&(d=0),"\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f"===u&&d>=4||"\u0d09\u0d1a\u0d4d\u0d1a \u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e\u0d4d"===u||"\u0d35\u0d48\u0d15\u0d41\u0d28\u0d4d\u0d28\u0d47\u0d30\u0d02"===u?d+12:d},meridiem:function(d,u,p){return d<4?"\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f":d<12?"\u0d30\u0d3e\u0d35\u0d3f\u0d32\u0d46":d<17?"\u0d09\u0d1a\u0d4d\u0d1a \u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e\u0d4d":d<20?"\u0d35\u0d48\u0d15\u0d41\u0d28\u0d4d\u0d28\u0d47\u0d30\u0d02":"\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f"}})}(w(5439))},1977:function(se,q,w){!function(v){"use strict";function m(u,p,g,y){switch(g){case"s":return p?"\u0445\u044d\u0434\u0445\u044d\u043d \u0441\u0435\u043a\u0443\u043d\u0434":"\u0445\u044d\u0434\u0445\u044d\u043d \u0441\u0435\u043a\u0443\u043d\u0434\u044b\u043d";case"ss":return u+(p?" \u0441\u0435\u043a\u0443\u043d\u0434":" \u0441\u0435\u043a\u0443\u043d\u0434\u044b\u043d");case"m":case"mm":return u+(p?" \u043c\u0438\u043d\u0443\u0442":" \u043c\u0438\u043d\u0443\u0442\u044b\u043d");case"h":case"hh":return u+(p?" \u0446\u0430\u0433":" \u0446\u0430\u0433\u0438\u0439\u043d");case"d":case"dd":return u+(p?" \u04e9\u0434\u04e9\u0440":" \u04e9\u0434\u0440\u0438\u0439\u043d");case"M":case"MM":return u+(p?" \u0441\u0430\u0440":" \u0441\u0430\u0440\u044b\u043d");case"y":case"yy":return u+(p?" \u0436\u0438\u043b":" \u0436\u0438\u043b\u0438\u0439\u043d");default:return u}}v.defineLocale("mn",{months:"\u041d\u044d\u0433\u0434\u04af\u0433\u044d\u044d\u0440 \u0441\u0430\u0440_\u0425\u043e\u0451\u0440\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0413\u0443\u0440\u0430\u0432\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0414\u04e9\u0440\u04e9\u0432\u0434\u04af\u0433\u044d\u044d\u0440 \u0441\u0430\u0440_\u0422\u0430\u0432\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0417\u0443\u0440\u0433\u0430\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0414\u043e\u043b\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u041d\u0430\u0439\u043c\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0415\u0441\u0434\u04af\u0433\u044d\u044d\u0440 \u0441\u0430\u0440_\u0410\u0440\u0430\u0432\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0410\u0440\u0432\u0430\u043d \u043d\u044d\u0433\u0434\u04af\u0433\u044d\u044d\u0440 \u0441\u0430\u0440_\u0410\u0440\u0432\u0430\u043d \u0445\u043e\u0451\u0440\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440".split("_"),monthsShort:"1 \u0441\u0430\u0440_2 \u0441\u0430\u0440_3 \u0441\u0430\u0440_4 \u0441\u0430\u0440_5 \u0441\u0430\u0440_6 \u0441\u0430\u0440_7 \u0441\u0430\u0440_8 \u0441\u0430\u0440_9 \u0441\u0430\u0440_10 \u0441\u0430\u0440_11 \u0441\u0430\u0440_12 \u0441\u0430\u0440".split("_"),monthsParseExact:!0,weekdays:"\u041d\u044f\u043c_\u0414\u0430\u0432\u0430\u0430_\u041c\u044f\u0433\u043c\u0430\u0440_\u041b\u0445\u0430\u0433\u0432\u0430_\u041f\u04af\u0440\u044d\u0432_\u0411\u0430\u0430\u0441\u0430\u043d_\u0411\u044f\u043c\u0431\u0430".split("_"),weekdaysShort:"\u041d\u044f\u043c_\u0414\u0430\u0432_\u041c\u044f\u0433_\u041b\u0445\u0430_\u041f\u04af\u0440_\u0411\u0430\u0430_\u0411\u044f\u043c".split("_"),weekdaysMin:"\u041d\u044f_\u0414\u0430_\u041c\u044f_\u041b\u0445_\u041f\u04af_\u0411\u0430_\u0411\u044f".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY \u043e\u043d\u044b MMMM\u044b\u043d D",LLL:"YYYY \u043e\u043d\u044b MMMM\u044b\u043d D HH:mm",LLLL:"dddd, YYYY \u043e\u043d\u044b MMMM\u044b\u043d D HH:mm"},meridiemParse:/\u04ae\u04e8|\u04ae\u0425/i,isPM:function(u){return"\u04ae\u0425"===u},meridiem:function(u,p,g){return u<12?"\u04ae\u04e8":"\u04ae\u0425"},calendar:{sameDay:"[\u04e8\u043d\u04e9\u04e9\u0434\u04e9\u0440] LT",nextDay:"[\u041c\u0430\u0440\u0433\u0430\u0430\u0448] LT",nextWeek:"[\u0418\u0440\u044d\u0445] dddd LT",lastDay:"[\u04e8\u0447\u0438\u0433\u0434\u04e9\u0440] LT",lastWeek:"[\u04e8\u043d\u0433\u04e9\u0440\u0441\u04e9\u043d] dddd LT",sameElse:"L"},relativeTime:{future:"%s \u0434\u0430\u0440\u0430\u0430",past:"%s \u04e9\u043c\u043d\u04e9",s:m,ss:m,m,mm:m,h:m,hh:m,d:m,dd:m,M:m,MM:m,y:m,yy:m},dayOfMonthOrdinalParse:/\d{1,2} \u04e9\u0434\u04e9\u0440/,ordinal:function(u,p){switch(p){case"d":case"D":case"DDD":return u+" \u04e9\u0434\u04e9\u0440";default:return u}}})}(w(5439))},6184:function(se,q,w){!function(v){"use strict";var m={1:"\u0967",2:"\u0968",3:"\u0969",4:"\u096a",5:"\u096b",6:"\u096c",7:"\u096d",8:"\u096e",9:"\u096f",0:"\u0966"},d={"\u0967":"1","\u0968":"2","\u0969":"3","\u096a":"4","\u096b":"5","\u096c":"6","\u096d":"7","\u096e":"8","\u096f":"9","\u0966":"0"};function u(g,y,b,C){var P="";if(y)switch(b){case"s":P="\u0915\u093e\u0939\u0940 \u0938\u0947\u0915\u0902\u0926";break;case"ss":P="%d \u0938\u0947\u0915\u0902\u0926";break;case"m":P="\u090f\u0915 \u092e\u093f\u0928\u093f\u091f";break;case"mm":P="%d \u092e\u093f\u0928\u093f\u091f\u0947";break;case"h":P="\u090f\u0915 \u0924\u093e\u0938";break;case"hh":P="%d \u0924\u093e\u0938";break;case"d":P="\u090f\u0915 \u0926\u093f\u0935\u0938";break;case"dd":P="%d \u0926\u093f\u0935\u0938";break;case"M":P="\u090f\u0915 \u092e\u0939\u093f\u0928\u093e";break;case"MM":P="%d \u092e\u0939\u093f\u0928\u0947";break;case"y":P="\u090f\u0915 \u0935\u0930\u094d\u0937";break;case"yy":P="%d \u0935\u0930\u094d\u0937\u0947"}else switch(b){case"s":P="\u0915\u093e\u0939\u0940 \u0938\u0947\u0915\u0902\u0926\u093e\u0902";break;case"ss":P="%d \u0938\u0947\u0915\u0902\u0926\u093e\u0902";break;case"m":P="\u090f\u0915\u093e \u092e\u093f\u0928\u093f\u091f\u093e";break;case"mm":P="%d \u092e\u093f\u0928\u093f\u091f\u093e\u0902";break;case"h":P="\u090f\u0915\u093e \u0924\u093e\u0938\u093e";break;case"hh":P="%d \u0924\u093e\u0938\u093e\u0902";break;case"d":P="\u090f\u0915\u093e \u0926\u093f\u0935\u0938\u093e";break;case"dd":P="%d \u0926\u093f\u0935\u0938\u093e\u0902";break;case"M":P="\u090f\u0915\u093e \u092e\u0939\u093f\u0928\u094d\u092f\u093e";break;case"MM":P="%d \u092e\u0939\u093f\u0928\u094d\u092f\u093e\u0902";break;case"y":P="\u090f\u0915\u093e \u0935\u0930\u094d\u0937\u093e";break;case"yy":P="%d \u0935\u0930\u094d\u0937\u093e\u0902"}return P.replace(/%d/i,g)}v.defineLocale("mr",{months:"\u091c\u093e\u0928\u0947\u0935\u093e\u0930\u0940_\u092b\u0947\u092c\u094d\u0930\u0941\u0935\u093e\u0930\u0940_\u092e\u093e\u0930\u094d\u091a_\u090f\u092a\u094d\u0930\u093f\u0932_\u092e\u0947_\u091c\u0942\u0928_\u091c\u0941\u0932\u0948_\u0911\u0917\u0938\u094d\u091f_\u0938\u092a\u094d\u091f\u0947\u0902\u092c\u0930_\u0911\u0915\u094d\u091f\u094b\u092c\u0930_\u0928\u094b\u0935\u094d\u0939\u0947\u0902\u092c\u0930_\u0921\u093f\u0938\u0947\u0902\u092c\u0930".split("_"),monthsShort:"\u091c\u093e\u0928\u0947._\u092b\u0947\u092c\u094d\u0930\u0941._\u092e\u093e\u0930\u094d\u091a._\u090f\u092a\u094d\u0930\u093f._\u092e\u0947._\u091c\u0942\u0928._\u091c\u0941\u0932\u0948._\u0911\u0917._\u0938\u092a\u094d\u091f\u0947\u0902._\u0911\u0915\u094d\u091f\u094b._\u0928\u094b\u0935\u094d\u0939\u0947\u0902._\u0921\u093f\u0938\u0947\u0902.".split("_"),monthsParseExact:!0,weekdays:"\u0930\u0935\u093f\u0935\u093e\u0930_\u0938\u094b\u092e\u0935\u093e\u0930_\u092e\u0902\u0917\u0933\u0935\u093e\u0930_\u092c\u0941\u0927\u0935\u093e\u0930_\u0917\u0941\u0930\u0942\u0935\u093e\u0930_\u0936\u0941\u0915\u094d\u0930\u0935\u093e\u0930_\u0936\u0928\u093f\u0935\u093e\u0930".split("_"),weekdaysShort:"\u0930\u0935\u093f_\u0938\u094b\u092e_\u092e\u0902\u0917\u0933_\u092c\u0941\u0927_\u0917\u0941\u0930\u0942_\u0936\u0941\u0915\u094d\u0930_\u0936\u0928\u093f".split("_"),weekdaysMin:"\u0930_\u0938\u094b_\u092e\u0902_\u092c\u0941_\u0917\u0941_\u0936\u0941_\u0936".split("_"),longDateFormat:{LT:"A h:mm \u0935\u093e\u091c\u0924\u093e",LTS:"A h:mm:ss \u0935\u093e\u091c\u0924\u093e",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u0935\u093e\u091c\u0924\u093e",LLLL:"dddd, D MMMM YYYY, A h:mm \u0935\u093e\u091c\u0924\u093e"},calendar:{sameDay:"[\u0906\u091c] LT",nextDay:"[\u0909\u0926\u094d\u092f\u093e] LT",nextWeek:"dddd, LT",lastDay:"[\u0915\u093e\u0932] LT",lastWeek:"[\u092e\u093e\u0917\u0940\u0932] dddd, LT",sameElse:"L"},relativeTime:{future:"%s\u092e\u0927\u094d\u092f\u0947",past:"%s\u092a\u0942\u0930\u094d\u0935\u0940",s:u,ss:u,m:u,mm:u,h:u,hh:u,d:u,dd:u,M:u,MM:u,y:u,yy:u},preparse:function(g){return g.replace(/[\u0967\u0968\u0969\u096a\u096b\u096c\u096d\u096e\u096f\u0966]/g,function(y){return d[y]})},postformat:function(g){return g.replace(/\d/g,function(y){return m[y]})},meridiemParse:/\u092a\u0939\u093e\u091f\u0947|\u0938\u0915\u093e\u0933\u0940|\u0926\u0941\u092a\u093e\u0930\u0940|\u0938\u093e\u092f\u0902\u0915\u093e\u0933\u0940|\u0930\u093e\u0924\u094d\u0930\u0940/,meridiemHour:function(g,y){return 12===g&&(g=0),"\u092a\u0939\u093e\u091f\u0947"===y||"\u0938\u0915\u093e\u0933\u0940"===y?g:"\u0926\u0941\u092a\u093e\u0930\u0940"===y||"\u0938\u093e\u092f\u0902\u0915\u093e\u0933\u0940"===y||"\u0930\u093e\u0924\u094d\u0930\u0940"===y?g>=12?g:g+12:void 0},meridiem:function(g,y,b){return g>=0&&g<6?"\u092a\u0939\u093e\u091f\u0947":g<12?"\u0938\u0915\u093e\u0933\u0940":g<17?"\u0926\u0941\u092a\u093e\u0930\u0940":g<20?"\u0938\u093e\u092f\u0902\u0915\u093e\u0933\u0940":"\u0930\u093e\u0924\u094d\u0930\u0940"},week:{dow:0,doy:6}})}(w(5439))},4524:function(se,q,w){!function(v){"use strict";v.defineLocale("ms-my",{months:"Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis".split("_"),weekdays:"Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu".split("_"),weekdaysShort:"Ahd_Isn_Sel_Rab_Kha_Jum_Sab".split("_"),weekdaysMin:"Ah_Is_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|tengahari|petang|malam/,meridiemHour:function(d,u){return 12===d&&(d=0),"pagi"===u?d:"tengahari"===u?d>=11?d:d+12:"petang"===u||"malam"===u?d+12:void 0},meridiem:function(d,u,p){return d<11?"pagi":d<15?"tengahari":d<19?"petang":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Esok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kelmarin pukul] LT",lastWeek:"dddd [lepas pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lepas",s:"beberapa saat",ss:"%d saat",m:"seminit",mm:"%d minit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}})}(w(5439))},485:function(se,q,w){!function(v){"use strict";v.defineLocale("ms",{months:"Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis".split("_"),weekdays:"Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu".split("_"),weekdaysShort:"Ahd_Isn_Sel_Rab_Kha_Jum_Sab".split("_"),weekdaysMin:"Ah_Is_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|tengahari|petang|malam/,meridiemHour:function(d,u){return 12===d&&(d=0),"pagi"===u?d:"tengahari"===u?d>=11?d:d+12:"petang"===u||"malam"===u?d+12:void 0},meridiem:function(d,u,p){return d<11?"pagi":d<15?"tengahari":d<19?"petang":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Esok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kelmarin pukul] LT",lastWeek:"dddd [lepas pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lepas",s:"beberapa saat",ss:"%d saat",m:"seminit",mm:"%d minit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}})}(w(5439))},6681:function(se,q,w){!function(v){"use strict";v.defineLocale("mt",{months:"Jannar_Frar_Marzu_April_Mejju_\u0120unju_Lulju_Awwissu_Settembru_Ottubru_Novembru_Di\u010bembru".split("_"),monthsShort:"Jan_Fra_Mar_Apr_Mej_\u0120un_Lul_Aww_Set_Ott_Nov_Di\u010b".split("_"),weekdays:"Il-\u0126add_It-Tnejn_It-Tlieta_L-Erbg\u0127a_Il-\u0126amis_Il-\u0120img\u0127a_Is-Sibt".split("_"),weekdaysShort:"\u0126ad_Tne_Tli_Erb_\u0126am_\u0120im_Sib".split("_"),weekdaysMin:"\u0126a_Tn_Tl_Er_\u0126a_\u0120i_Si".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Illum fil-]LT",nextDay:"[G\u0127ada fil-]LT",nextWeek:"dddd [fil-]LT",lastDay:"[Il-biera\u0127 fil-]LT",lastWeek:"dddd [li g\u0127adda] [fil-]LT",sameElse:"L"},relativeTime:{future:"f\u2019 %s",past:"%s ilu",s:"ftit sekondi",ss:"%d sekondi",m:"minuta",mm:"%d minuti",h:"sieg\u0127a",hh:"%d sieg\u0127at",d:"\u0121urnata",dd:"%d \u0121ranet",M:"xahar",MM:"%d xhur",y:"sena",yy:"%d sni"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(w(5439))},2024:function(se,q,w){!function(v){"use strict";var m={1:"\u1041",2:"\u1042",3:"\u1043",4:"\u1044",5:"\u1045",6:"\u1046",7:"\u1047",8:"\u1048",9:"\u1049",0:"\u1040"},d={"\u1041":"1","\u1042":"2","\u1043":"3","\u1044":"4","\u1045":"5","\u1046":"6","\u1047":"7","\u1048":"8","\u1049":"9","\u1040":"0"};v.defineLocale("my",{months:"\u1007\u1014\u103a\u1014\u101d\u102b\u101b\u102e_\u1016\u1031\u1016\u1031\u102c\u103a\u101d\u102b\u101b\u102e_\u1019\u1010\u103a_\u1027\u1015\u103c\u102e_\u1019\u1031_\u1007\u103d\u1014\u103a_\u1007\u1030\u101c\u102d\u102f\u1004\u103a_\u101e\u103c\u1002\u102f\u1010\u103a_\u1005\u1000\u103a\u1010\u1004\u103a\u1018\u102c_\u1021\u1031\u102c\u1000\u103a\u1010\u102d\u102f\u1018\u102c_\u1014\u102d\u102f\u101d\u1004\u103a\u1018\u102c_\u1012\u102e\u1007\u1004\u103a\u1018\u102c".split("_"),monthsShort:"\u1007\u1014\u103a_\u1016\u1031_\u1019\u1010\u103a_\u1015\u103c\u102e_\u1019\u1031_\u1007\u103d\u1014\u103a_\u101c\u102d\u102f\u1004\u103a_\u101e\u103c_\u1005\u1000\u103a_\u1021\u1031\u102c\u1000\u103a_\u1014\u102d\u102f_\u1012\u102e".split("_"),weekdays:"\u1010\u1014\u1004\u103a\u1039\u1002\u1014\u103d\u1031_\u1010\u1014\u1004\u103a\u1039\u101c\u102c_\u1021\u1004\u103a\u1039\u1002\u102b_\u1017\u102f\u1012\u1039\u1013\u101f\u1030\u1038_\u1000\u103c\u102c\u101e\u1015\u1010\u1031\u1038_\u101e\u1031\u102c\u1000\u103c\u102c_\u1005\u1014\u1031".split("_"),weekdaysShort:"\u1014\u103d\u1031_\u101c\u102c_\u1002\u102b_\u101f\u1030\u1038_\u1000\u103c\u102c_\u101e\u1031\u102c_\u1014\u1031".split("_"),weekdaysMin:"\u1014\u103d\u1031_\u101c\u102c_\u1002\u102b_\u101f\u1030\u1038_\u1000\u103c\u102c_\u101e\u1031\u102c_\u1014\u1031".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u101a\u1014\u1031.] LT [\u1019\u103e\u102c]",nextDay:"[\u1019\u1014\u1000\u103a\u1016\u103c\u1014\u103a] LT [\u1019\u103e\u102c]",nextWeek:"dddd LT [\u1019\u103e\u102c]",lastDay:"[\u1019\u1014\u1031.\u1000] LT [\u1019\u103e\u102c]",lastWeek:"[\u1015\u103c\u102e\u1038\u1001\u1032\u1037\u101e\u1031\u102c] dddd LT [\u1019\u103e\u102c]",sameElse:"L"},relativeTime:{future:"\u101c\u102c\u1019\u100a\u103a\u1037 %s \u1019\u103e\u102c",past:"\u101c\u103d\u1014\u103a\u1001\u1032\u1037\u101e\u1031\u102c %s \u1000",s:"\u1005\u1000\u1039\u1000\u1014\u103a.\u1021\u1014\u100a\u103a\u1038\u1004\u101a\u103a",ss:"%d \u1005\u1000\u1039\u1000\u1014\u1037\u103a",m:"\u1010\u1005\u103a\u1019\u102d\u1014\u1005\u103a",mm:"%d \u1019\u102d\u1014\u1005\u103a",h:"\u1010\u1005\u103a\u1014\u102c\u101b\u102e",hh:"%d \u1014\u102c\u101b\u102e",d:"\u1010\u1005\u103a\u101b\u1000\u103a",dd:"%d \u101b\u1000\u103a",M:"\u1010\u1005\u103a\u101c",MM:"%d \u101c",y:"\u1010\u1005\u103a\u1014\u103e\u1005\u103a",yy:"%d \u1014\u103e\u1005\u103a"},preparse:function(p){return p.replace(/[\u1041\u1042\u1043\u1044\u1045\u1046\u1047\u1048\u1049\u1040]/g,function(g){return d[g]})},postformat:function(p){return p.replace(/\d/g,function(g){return m[g]})},week:{dow:1,doy:4}})}(w(5439))},2688:function(se,q,w){!function(v){"use strict";v.defineLocale("nb",{months:"januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan._feb._mars_apr._mai_juni_juli_aug._sep._okt._nov._des.".split("_"),monthsParseExact:!0,weekdays:"s\xf8ndag_mandag_tirsdag_onsdag_torsdag_fredag_l\xf8rdag".split("_"),weekdaysShort:"s\xf8._ma._ti._on._to._fr._l\xf8.".split("_"),weekdaysMin:"s\xf8_ma_ti_on_to_fr_l\xf8".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] HH:mm",LLLL:"dddd D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[i dag kl.] LT",nextDay:"[i morgen kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[i g\xe5r kl.] LT",lastWeek:"[forrige] dddd [kl.] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s siden",s:"noen sekunder",ss:"%d sekunder",m:"ett minutt",mm:"%d minutter",h:"\xe9n time",hh:"%d timer",d:"\xe9n dag",dd:"%d dager",w:"\xe9n uke",ww:"%d uker",M:"\xe9n m\xe5ned",MM:"%d m\xe5neder",y:"ett \xe5r",yy:"%d \xe5r"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(w(5439))},8914:function(se,q,w){!function(v){"use strict";var m={1:"\u0967",2:"\u0968",3:"\u0969",4:"\u096a",5:"\u096b",6:"\u096c",7:"\u096d",8:"\u096e",9:"\u096f",0:"\u0966"},d={"\u0967":"1","\u0968":"2","\u0969":"3","\u096a":"4","\u096b":"5","\u096c":"6","\u096d":"7","\u096e":"8","\u096f":"9","\u0966":"0"};v.defineLocale("ne",{months:"\u091c\u0928\u0935\u0930\u0940_\u092b\u0947\u092c\u094d\u0930\u0941\u0935\u0930\u0940_\u092e\u093e\u0930\u094d\u091a_\u0905\u092a\u094d\u0930\u093f\u0932_\u092e\u0908_\u091c\u0941\u0928_\u091c\u0941\u0932\u093e\u0908_\u0905\u0917\u0937\u094d\u091f_\u0938\u0947\u092a\u094d\u091f\u0947\u092e\u094d\u092c\u0930_\u0905\u0915\u094d\u091f\u094b\u092c\u0930_\u0928\u094b\u092d\u0947\u092e\u094d\u092c\u0930_\u0921\u093f\u0938\u0947\u092e\u094d\u092c\u0930".split("_"),monthsShort:"\u091c\u0928._\u092b\u0947\u092c\u094d\u0930\u0941._\u092e\u093e\u0930\u094d\u091a_\u0905\u092a\u094d\u0930\u093f._\u092e\u0908_\u091c\u0941\u0928_\u091c\u0941\u0932\u093e\u0908._\u0905\u0917._\u0938\u0947\u092a\u094d\u091f._\u0905\u0915\u094d\u091f\u094b._\u0928\u094b\u092d\u0947._\u0921\u093f\u0938\u0947.".split("_"),monthsParseExact:!0,weekdays:"\u0906\u0907\u0924\u092c\u093e\u0930_\u0938\u094b\u092e\u092c\u093e\u0930_\u092e\u0919\u094d\u0917\u0932\u092c\u093e\u0930_\u092c\u0941\u0927\u092c\u093e\u0930_\u092c\u093f\u0939\u093f\u092c\u093e\u0930_\u0936\u0941\u0915\u094d\u0930\u092c\u093e\u0930_\u0936\u0928\u093f\u092c\u093e\u0930".split("_"),weekdaysShort:"\u0906\u0907\u0924._\u0938\u094b\u092e._\u092e\u0919\u094d\u0917\u0932._\u092c\u0941\u0927._\u092c\u093f\u0939\u093f._\u0936\u0941\u0915\u094d\u0930._\u0936\u0928\u093f.".split("_"),weekdaysMin:"\u0906._\u0938\u094b._\u092e\u0902._\u092c\u0941._\u092c\u093f._\u0936\u0941._\u0936.".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"A\u0915\u094b h:mm \u092c\u091c\u0947",LTS:"A\u0915\u094b h:mm:ss \u092c\u091c\u0947",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A\u0915\u094b h:mm \u092c\u091c\u0947",LLLL:"dddd, D MMMM YYYY, A\u0915\u094b h:mm \u092c\u091c\u0947"},preparse:function(p){return p.replace(/[\u0967\u0968\u0969\u096a\u096b\u096c\u096d\u096e\u096f\u0966]/g,function(g){return d[g]})},postformat:function(p){return p.replace(/\d/g,function(g){return m[g]})},meridiemParse:/\u0930\u093e\u0924\u093f|\u092c\u093f\u0939\u093e\u0928|\u0926\u093f\u0909\u0901\u0938\u094b|\u0938\u093e\u0901\u091d/,meridiemHour:function(p,g){return 12===p&&(p=0),"\u0930\u093e\u0924\u093f"===g?p<4?p:p+12:"\u092c\u093f\u0939\u093e\u0928"===g?p:"\u0926\u093f\u0909\u0901\u0938\u094b"===g?p>=10?p:p+12:"\u0938\u093e\u0901\u091d"===g?p+12:void 0},meridiem:function(p,g,y){return p<3?"\u0930\u093e\u0924\u093f":p<12?"\u092c\u093f\u0939\u093e\u0928":p<16?"\u0926\u093f\u0909\u0901\u0938\u094b":p<20?"\u0938\u093e\u0901\u091d":"\u0930\u093e\u0924\u093f"},calendar:{sameDay:"[\u0906\u091c] LT",nextDay:"[\u092d\u094b\u0932\u093f] LT",nextWeek:"[\u0906\u0909\u0901\u0926\u094b] dddd[,] LT",lastDay:"[\u0939\u093f\u091c\u094b] LT",lastWeek:"[\u0917\u090f\u0915\u094b] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%s\u092e\u093e",past:"%s \u0905\u0917\u093e\u0921\u093f",s:"\u0915\u0947\u0939\u0940 \u0915\u094d\u0937\u0923",ss:"%d \u0938\u0947\u0915\u0947\u0923\u094d\u0921",m:"\u090f\u0915 \u092e\u093f\u0928\u0947\u091f",mm:"%d \u092e\u093f\u0928\u0947\u091f",h:"\u090f\u0915 \u0918\u0923\u094d\u091f\u093e",hh:"%d \u0918\u0923\u094d\u091f\u093e",d:"\u090f\u0915 \u0926\u093f\u0928",dd:"%d \u0926\u093f\u0928",M:"\u090f\u0915 \u092e\u0939\u093f\u0928\u093e",MM:"%d \u092e\u0939\u093f\u0928\u093e",y:"\u090f\u0915 \u092c\u0930\u094d\u0937",yy:"%d \u092c\u0930\u094d\u0937"},week:{dow:0,doy:6}})}(w(5439))},2272:function(se,q,w){!function(v){"use strict";var m="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),d="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),u=[/^jan/i,/^feb/i,/^(maart|mrt\.?)$/i,/^apr/i,/^mei$/i,/^jun[i.]?$/i,/^jul[i.]?$/i,/^aug/i,/^sep/i,/^okt/i,/^nov/i,/^dec/i],p=/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i;v.defineLocale("nl-be",{months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:function(y,b){return y?/-MMM-/.test(b)?d[y.month()]:m[y.month()]:m},monthsRegex:p,monthsShortRegex:p,monthsStrictRegex:/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december)/i,monthsShortStrictRegex:/^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,monthsParse:u,longMonthsParse:u,shortMonthsParse:u,weekdays:"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),weekdaysShort:"zo._ma._di._wo._do._vr._za.".split("_"),weekdaysMin:"zo_ma_di_wo_do_vr_za".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[vandaag om] LT",nextDay:"[morgen om] LT",nextWeek:"dddd [om] LT",lastDay:"[gisteren om] LT",lastWeek:"[afgelopen] dddd [om] LT",sameElse:"L"},relativeTime:{future:"over %s",past:"%s geleden",s:"een paar seconden",ss:"%d seconden",m:"\xe9\xe9n minuut",mm:"%d minuten",h:"\xe9\xe9n uur",hh:"%d uur",d:"\xe9\xe9n dag",dd:"%d dagen",M:"\xe9\xe9n maand",MM:"%d maanden",y:"\xe9\xe9n jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(y){return y+(1===y||8===y||y>=20?"ste":"de")},week:{dow:1,doy:4}})}(w(5439))},1758:function(se,q,w){!function(v){"use strict";var m="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),d="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),u=[/^jan/i,/^feb/i,/^(maart|mrt\.?)$/i,/^apr/i,/^mei$/i,/^jun[i.]?$/i,/^jul[i.]?$/i,/^aug/i,/^sep/i,/^okt/i,/^nov/i,/^dec/i],p=/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i;v.defineLocale("nl",{months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:function(y,b){return y?/-MMM-/.test(b)?d[y.month()]:m[y.month()]:m},monthsRegex:p,monthsShortRegex:p,monthsStrictRegex:/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december)/i,monthsShortStrictRegex:/^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,monthsParse:u,longMonthsParse:u,shortMonthsParse:u,weekdays:"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),weekdaysShort:"zo._ma._di._wo._do._vr._za.".split("_"),weekdaysMin:"zo_ma_di_wo_do_vr_za".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[vandaag om] LT",nextDay:"[morgen om] LT",nextWeek:"dddd [om] LT",lastDay:"[gisteren om] LT",lastWeek:"[afgelopen] dddd [om] LT",sameElse:"L"},relativeTime:{future:"over %s",past:"%s geleden",s:"een paar seconden",ss:"%d seconden",m:"\xe9\xe9n minuut",mm:"%d minuten",h:"\xe9\xe9n uur",hh:"%d uur",d:"\xe9\xe9n dag",dd:"%d dagen",w:"\xe9\xe9n week",ww:"%d weken",M:"\xe9\xe9n maand",MM:"%d maanden",y:"\xe9\xe9n jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(y){return y+(1===y||8===y||y>=20?"ste":"de")},week:{dow:1,doy:4}})}(w(5439))},1510:function(se,q,w){!function(v){"use strict";v.defineLocale("nn",{months:"januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan._feb._mars_apr._mai_juni_juli_aug._sep._okt._nov._des.".split("_"),monthsParseExact:!0,weekdays:"sundag_m\xe5ndag_tysdag_onsdag_torsdag_fredag_laurdag".split("_"),weekdaysShort:"su._m\xe5._ty._on._to._fr._lau.".split("_"),weekdaysMin:"su_m\xe5_ty_on_to_fr_la".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] H:mm",LLLL:"dddd D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[I dag klokka] LT",nextDay:"[I morgon klokka] LT",nextWeek:"dddd [klokka] LT",lastDay:"[I g\xe5r klokka] LT",lastWeek:"[F\xf8reg\xe5ande] dddd [klokka] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s sidan",s:"nokre sekund",ss:"%d sekund",m:"eit minutt",mm:"%d minutt",h:"ein time",hh:"%d timar",d:"ein dag",dd:"%d dagar",w:"ei veke",ww:"%d veker",M:"ein m\xe5nad",MM:"%d m\xe5nader",y:"eit \xe5r",yy:"%d \xe5r"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(w(5439))},2797:function(se,q,w){!function(v){"use strict";v.defineLocale("oc-lnc",{months:{standalone:"geni\xe8r_febri\xe8r_mar\xe7_abril_mai_junh_julhet_agost_setembre_oct\xf2bre_novembre_decembre".split("_"),format:"de geni\xe8r_de febri\xe8r_de mar\xe7_d'abril_de mai_de junh_de julhet_d'agost_de setembre_d'oct\xf2bre_de novembre_de decembre".split("_"),isFormat:/D[oD]?(\s)+MMMM/},monthsShort:"gen._febr._mar\xe7_abr._mai_junh_julh._ago._set._oct._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"dimenge_diluns_dimars_dim\xe8cres_dij\xf2us_divendres_dissabte".split("_"),weekdaysShort:"dg._dl._dm._dc._dj._dv._ds.".split("_"),weekdaysMin:"dg_dl_dm_dc_dj_dv_ds".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [de] YYYY",ll:"D MMM YYYY",LLL:"D MMMM [de] YYYY [a] H:mm",lll:"D MMM YYYY, H:mm",LLLL:"dddd D MMMM [de] YYYY [a] H:mm",llll:"ddd D MMM YYYY, H:mm"},calendar:{sameDay:"[u\xe8i a] LT",nextDay:"[deman a] LT",nextWeek:"dddd [a] LT",lastDay:"[i\xe8r a] LT",lastWeek:"dddd [passat a] LT",sameElse:"L"},relativeTime:{future:"d'aqu\xed %s",past:"fa %s",s:"unas segondas",ss:"%d segondas",m:"una minuta",mm:"%d minutas",h:"una ora",hh:"%d oras",d:"un jorn",dd:"%d jorns",M:"un mes",MM:"%d meses",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(r|n|t|\xe8|a)/,ordinal:function(d,u){var p=1===d?"r":2===d?"n":3===d?"r":4===d?"t":"\xe8";return("w"===u||"W"===u)&&(p="a"),d+p},week:{dow:1,doy:4}})}(w(5439))},7944:function(se,q,w){!function(v){"use strict";var m={1:"\u0a67",2:"\u0a68",3:"\u0a69",4:"\u0a6a",5:"\u0a6b",6:"\u0a6c",7:"\u0a6d",8:"\u0a6e",9:"\u0a6f",0:"\u0a66"},d={"\u0a67":"1","\u0a68":"2","\u0a69":"3","\u0a6a":"4","\u0a6b":"5","\u0a6c":"6","\u0a6d":"7","\u0a6e":"8","\u0a6f":"9","\u0a66":"0"};v.defineLocale("pa-in",{months:"\u0a1c\u0a28\u0a35\u0a30\u0a40_\u0a2b\u0a3c\u0a30\u0a35\u0a30\u0a40_\u0a2e\u0a3e\u0a30\u0a1a_\u0a05\u0a2a\u0a4d\u0a30\u0a48\u0a32_\u0a2e\u0a08_\u0a1c\u0a42\u0a28_\u0a1c\u0a41\u0a32\u0a3e\u0a08_\u0a05\u0a17\u0a38\u0a24_\u0a38\u0a24\u0a70\u0a2c\u0a30_\u0a05\u0a15\u0a24\u0a42\u0a2c\u0a30_\u0a28\u0a35\u0a70\u0a2c\u0a30_\u0a26\u0a38\u0a70\u0a2c\u0a30".split("_"),monthsShort:"\u0a1c\u0a28\u0a35\u0a30\u0a40_\u0a2b\u0a3c\u0a30\u0a35\u0a30\u0a40_\u0a2e\u0a3e\u0a30\u0a1a_\u0a05\u0a2a\u0a4d\u0a30\u0a48\u0a32_\u0a2e\u0a08_\u0a1c\u0a42\u0a28_\u0a1c\u0a41\u0a32\u0a3e\u0a08_\u0a05\u0a17\u0a38\u0a24_\u0a38\u0a24\u0a70\u0a2c\u0a30_\u0a05\u0a15\u0a24\u0a42\u0a2c\u0a30_\u0a28\u0a35\u0a70\u0a2c\u0a30_\u0a26\u0a38\u0a70\u0a2c\u0a30".split("_"),weekdays:"\u0a10\u0a24\u0a35\u0a3e\u0a30_\u0a38\u0a4b\u0a2e\u0a35\u0a3e\u0a30_\u0a2e\u0a70\u0a17\u0a32\u0a35\u0a3e\u0a30_\u0a2c\u0a41\u0a27\u0a35\u0a3e\u0a30_\u0a35\u0a40\u0a30\u0a35\u0a3e\u0a30_\u0a38\u0a3c\u0a41\u0a71\u0a15\u0a30\u0a35\u0a3e\u0a30_\u0a38\u0a3c\u0a28\u0a40\u0a1a\u0a30\u0a35\u0a3e\u0a30".split("_"),weekdaysShort:"\u0a10\u0a24_\u0a38\u0a4b\u0a2e_\u0a2e\u0a70\u0a17\u0a32_\u0a2c\u0a41\u0a27_\u0a35\u0a40\u0a30_\u0a38\u0a3c\u0a41\u0a15\u0a30_\u0a38\u0a3c\u0a28\u0a40".split("_"),weekdaysMin:"\u0a10\u0a24_\u0a38\u0a4b\u0a2e_\u0a2e\u0a70\u0a17\u0a32_\u0a2c\u0a41\u0a27_\u0a35\u0a40\u0a30_\u0a38\u0a3c\u0a41\u0a15\u0a30_\u0a38\u0a3c\u0a28\u0a40".split("_"),longDateFormat:{LT:"A h:mm \u0a35\u0a1c\u0a47",LTS:"A h:mm:ss \u0a35\u0a1c\u0a47",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u0a35\u0a1c\u0a47",LLLL:"dddd, D MMMM YYYY, A h:mm \u0a35\u0a1c\u0a47"},calendar:{sameDay:"[\u0a05\u0a1c] LT",nextDay:"[\u0a15\u0a32] LT",nextWeek:"[\u0a05\u0a17\u0a32\u0a3e] dddd, LT",lastDay:"[\u0a15\u0a32] LT",lastWeek:"[\u0a2a\u0a3f\u0a1b\u0a32\u0a47] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0a35\u0a3f\u0a71\u0a1a",past:"%s \u0a2a\u0a3f\u0a1b\u0a32\u0a47",s:"\u0a15\u0a41\u0a1d \u0a38\u0a15\u0a3f\u0a70\u0a1f",ss:"%d \u0a38\u0a15\u0a3f\u0a70\u0a1f",m:"\u0a07\u0a15 \u0a2e\u0a3f\u0a70\u0a1f",mm:"%d \u0a2e\u0a3f\u0a70\u0a1f",h:"\u0a07\u0a71\u0a15 \u0a18\u0a70\u0a1f\u0a3e",hh:"%d \u0a18\u0a70\u0a1f\u0a47",d:"\u0a07\u0a71\u0a15 \u0a26\u0a3f\u0a28",dd:"%d \u0a26\u0a3f\u0a28",M:"\u0a07\u0a71\u0a15 \u0a2e\u0a39\u0a40\u0a28\u0a3e",MM:"%d \u0a2e\u0a39\u0a40\u0a28\u0a47",y:"\u0a07\u0a71\u0a15 \u0a38\u0a3e\u0a32",yy:"%d \u0a38\u0a3e\u0a32"},preparse:function(p){return p.replace(/[\u0a67\u0a68\u0a69\u0a6a\u0a6b\u0a6c\u0a6d\u0a6e\u0a6f\u0a66]/g,function(g){return d[g]})},postformat:function(p){return p.replace(/\d/g,function(g){return m[g]})},meridiemParse:/\u0a30\u0a3e\u0a24|\u0a38\u0a35\u0a47\u0a30|\u0a26\u0a41\u0a2a\u0a39\u0a3f\u0a30|\u0a38\u0a3c\u0a3e\u0a2e/,meridiemHour:function(p,g){return 12===p&&(p=0),"\u0a30\u0a3e\u0a24"===g?p<4?p:p+12:"\u0a38\u0a35\u0a47\u0a30"===g?p:"\u0a26\u0a41\u0a2a\u0a39\u0a3f\u0a30"===g?p>=10?p:p+12:"\u0a38\u0a3c\u0a3e\u0a2e"===g?p+12:void 0},meridiem:function(p,g,y){return p<4?"\u0a30\u0a3e\u0a24":p<10?"\u0a38\u0a35\u0a47\u0a30":p<17?"\u0a26\u0a41\u0a2a\u0a39\u0a3f\u0a30":p<20?"\u0a38\u0a3c\u0a3e\u0a2e":"\u0a30\u0a3e\u0a24"},week:{dow:0,doy:6}})}(w(5439))},1605:function(se,q,w){!function(v){"use strict";var m="stycze\u0144_luty_marzec_kwiecie\u0144_maj_czerwiec_lipiec_sierpie\u0144_wrzesie\u0144_pa\u017adziernik_listopad_grudzie\u0144".split("_"),d="stycznia_lutego_marca_kwietnia_maja_czerwca_lipca_sierpnia_wrze\u015bnia_pa\u017adziernika_listopada_grudnia".split("_"),u=[/^sty/i,/^lut/i,/^mar/i,/^kwi/i,/^maj/i,/^cze/i,/^lip/i,/^sie/i,/^wrz/i,/^pa\u017a/i,/^lis/i,/^gru/i];function p(b){return b%10<5&&b%10>1&&~~(b/10)%10!=1}function g(b,C,P){var N=b+" ";switch(P){case"ss":return N+(p(b)?"sekundy":"sekund");case"m":return C?"minuta":"minut\u0119";case"mm":return N+(p(b)?"minuty":"minut");case"h":return C?"godzina":"godzin\u0119";case"hh":return N+(p(b)?"godziny":"godzin");case"ww":return N+(p(b)?"tygodnie":"tygodni");case"MM":return N+(p(b)?"miesi\u0105ce":"miesi\u0119cy");case"yy":return N+(p(b)?"lata":"lat")}}v.defineLocale("pl",{months:function(b,C){return b?/D MMMM/.test(C)?d[b.month()]:m[b.month()]:m},monthsShort:"sty_lut_mar_kwi_maj_cze_lip_sie_wrz_pa\u017a_lis_gru".split("_"),monthsParse:u,longMonthsParse:u,shortMonthsParse:u,weekdays:"niedziela_poniedzia\u0142ek_wtorek_\u015broda_czwartek_pi\u0105tek_sobota".split("_"),weekdaysShort:"ndz_pon_wt_\u015br_czw_pt_sob".split("_"),weekdaysMin:"Nd_Pn_Wt_\u015ar_Cz_Pt_So".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Dzi\u015b o] LT",nextDay:"[Jutro o] LT",nextWeek:function(){switch(this.day()){case 0:return"[W niedziel\u0119 o] LT";case 2:return"[We wtorek o] LT";case 3:return"[W \u015brod\u0119 o] LT";case 6:return"[W sobot\u0119 o] LT";default:return"[W] dddd [o] LT"}},lastDay:"[Wczoraj o] LT",lastWeek:function(){switch(this.day()){case 0:return"[W zesz\u0142\u0105 niedziel\u0119 o] LT";case 3:return"[W zesz\u0142\u0105 \u015brod\u0119 o] LT";case 6:return"[W zesz\u0142\u0105 sobot\u0119 o] LT";default:return"[W zesz\u0142y] dddd [o] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"%s temu",s:"kilka sekund",ss:g,m:g,mm:g,h:g,hh:g,d:"1 dzie\u0144",dd:"%d dni",w:"tydzie\u0144",ww:g,M:"miesi\u0105c",MM:g,y:"rok",yy:g},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(w(5439))},3840:function(se,q,w){!function(v){"use strict";v.defineLocale("pt-br",{months:"janeiro_fevereiro_mar\xe7o_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro".split("_"),monthsShort:"jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez".split("_"),weekdays:"domingo_segunda-feira_ter\xe7a-feira_quarta-feira_quinta-feira_sexta-feira_s\xe1bado".split("_"),weekdaysShort:"dom_seg_ter_qua_qui_sex_s\xe1b".split("_"),weekdaysMin:"do_2\xaa_3\xaa_4\xaa_5\xaa_6\xaa_s\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY [\xe0s] HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY [\xe0s] HH:mm"},calendar:{sameDay:"[Hoje \xe0s] LT",nextDay:"[Amanh\xe3 \xe0s] LT",nextWeek:"dddd [\xe0s] LT",lastDay:"[Ontem \xe0s] LT",lastWeek:function(){return 0===this.day()||6===this.day()?"[\xdaltimo] dddd [\xe0s] LT":"[\xdaltima] dddd [\xe0s] LT"},sameElse:"L"},relativeTime:{future:"em %s",past:"h\xe1 %s",s:"poucos segundos",ss:"%d segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",M:"um m\xeas",MM:"%d meses",y:"um ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",invalidDate:"Data inv\xe1lida"})}(w(5439))},4225:function(se,q,w){!function(v){"use strict";v.defineLocale("pt",{months:"janeiro_fevereiro_mar\xe7o_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro".split("_"),monthsShort:"jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez".split("_"),weekdays:"Domingo_Segunda-feira_Ter\xe7a-feira_Quarta-feira_Quinta-feira_Sexta-feira_S\xe1bado".split("_"),weekdaysShort:"Dom_Seg_Ter_Qua_Qui_Sex_S\xe1b".split("_"),weekdaysMin:"Do_2\xaa_3\xaa_4\xaa_5\xaa_6\xaa_S\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY HH:mm"},calendar:{sameDay:"[Hoje \xe0s] LT",nextDay:"[Amanh\xe3 \xe0s] LT",nextWeek:"dddd [\xe0s] LT",lastDay:"[Ontem \xe0s] LT",lastWeek:function(){return 0===this.day()||6===this.day()?"[\xdaltimo] dddd [\xe0s] LT":"[\xdaltima] dddd [\xe0s] LT"},sameElse:"L"},relativeTime:{future:"em %s",past:"h\xe1 %s",s:"segundos",ss:"%d segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",w:"uma semana",ww:"%d semanas",M:"um m\xeas",MM:"%d meses",y:"um ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(w(5439))},5128:function(se,q,w){!function(v){"use strict";function m(u,p,g){var b=" ";return(u%100>=20||u>=100&&u%100==0)&&(b=" de "),u+b+{ss:"secunde",mm:"minute",hh:"ore",dd:"zile",ww:"s\u0103pt\u0103m\xe2ni",MM:"luni",yy:"ani"}[g]}v.defineLocale("ro",{months:"ianuarie_februarie_martie_aprilie_mai_iunie_iulie_august_septembrie_octombrie_noiembrie_decembrie".split("_"),monthsShort:"ian._feb._mart._apr._mai_iun._iul._aug._sept._oct._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"duminic\u0103_luni_mar\u021bi_miercuri_joi_vineri_s\xe2mb\u0103t\u0103".split("_"),weekdaysShort:"Dum_Lun_Mar_Mie_Joi_Vin_S\xe2m".split("_"),weekdaysMin:"Du_Lu_Ma_Mi_Jo_Vi_S\xe2".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[azi la] LT",nextDay:"[m\xe2ine la] LT",nextWeek:"dddd [la] LT",lastDay:"[ieri la] LT",lastWeek:"[fosta] dddd [la] LT",sameElse:"L"},relativeTime:{future:"peste %s",past:"%s \xeen urm\u0103",s:"c\xe2teva secunde",ss:m,m:"un minut",mm:m,h:"o or\u0103",hh:m,d:"o zi",dd:m,w:"o s\u0103pt\u0103m\xe2n\u0103",ww:m,M:"o lun\u0103",MM:m,y:"un an",yy:m},week:{dow:1,doy:7}})}(w(5439))},5127:function(se,q,w){!function(v){"use strict";function d(g,y,b){return"m"===b?y?"\u043c\u0438\u043d\u0443\u0442\u0430":"\u043c\u0438\u043d\u0443\u0442\u0443":g+" "+function m(g,y){var b=g.split("_");return y%10==1&&y%100!=11?b[0]:y%10>=2&&y%10<=4&&(y%100<10||y%100>=20)?b[1]:b[2]}({ss:y?"\u0441\u0435\u043a\u0443\u043d\u0434\u0430_\u0441\u0435\u043a\u0443\u043d\u0434\u044b_\u0441\u0435\u043a\u0443\u043d\u0434":"\u0441\u0435\u043a\u0443\u043d\u0434\u0443_\u0441\u0435\u043a\u0443\u043d\u0434\u044b_\u0441\u0435\u043a\u0443\u043d\u0434",mm:y?"\u043c\u0438\u043d\u0443\u0442\u0430_\u043c\u0438\u043d\u0443\u0442\u044b_\u043c\u0438\u043d\u0443\u0442":"\u043c\u0438\u043d\u0443\u0442\u0443_\u043c\u0438\u043d\u0443\u0442\u044b_\u043c\u0438\u043d\u0443\u0442",hh:"\u0447\u0430\u0441_\u0447\u0430\u0441\u0430_\u0447\u0430\u0441\u043e\u0432",dd:"\u0434\u0435\u043d\u044c_\u0434\u043d\u044f_\u0434\u043d\u0435\u0439",ww:"\u043d\u0435\u0434\u0435\u043b\u044f_\u043d\u0435\u0434\u0435\u043b\u0438_\u043d\u0435\u0434\u0435\u043b\u044c",MM:"\u043c\u0435\u0441\u044f\u0446_\u043c\u0435\u0441\u044f\u0446\u0430_\u043c\u0435\u0441\u044f\u0446\u0435\u0432",yy:"\u0433\u043e\u0434_\u0433\u043e\u0434\u0430_\u043b\u0435\u0442"}[b],+g)}var u=[/^\u044f\u043d\u0432/i,/^\u0444\u0435\u0432/i,/^\u043c\u0430\u0440/i,/^\u0430\u043f\u0440/i,/^\u043c\u0430[\u0439\u044f]/i,/^\u0438\u044e\u043d/i,/^\u0438\u044e\u043b/i,/^\u0430\u0432\u0433/i,/^\u0441\u0435\u043d/i,/^\u043e\u043a\u0442/i,/^\u043d\u043e\u044f/i,/^\u0434\u0435\u043a/i];v.defineLocale("ru",{months:{format:"\u044f\u043d\u0432\u0430\u0440\u044f_\u0444\u0435\u0432\u0440\u0430\u043b\u044f_\u043c\u0430\u0440\u0442\u0430_\u0430\u043f\u0440\u0435\u043b\u044f_\u043c\u0430\u044f_\u0438\u044e\u043d\u044f_\u0438\u044e\u043b\u044f_\u0430\u0432\u0433\u0443\u0441\u0442\u0430_\u0441\u0435\u043d\u0442\u044f\u0431\u0440\u044f_\u043e\u043a\u0442\u044f\u0431\u0440\u044f_\u043d\u043e\u044f\u0431\u0440\u044f_\u0434\u0435\u043a\u0430\u0431\u0440\u044f".split("_"),standalone:"\u044f\u043d\u0432\u0430\u0440\u044c_\u0444\u0435\u0432\u0440\u0430\u043b\u044c_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0435\u043b\u044c_\u043c\u0430\u0439_\u0438\u044e\u043d\u044c_\u0438\u044e\u043b\u044c_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043d\u0442\u044f\u0431\u0440\u044c_\u043e\u043a\u0442\u044f\u0431\u0440\u044c_\u043d\u043e\u044f\u0431\u0440\u044c_\u0434\u0435\u043a\u0430\u0431\u0440\u044c".split("_")},monthsShort:{format:"\u044f\u043d\u0432._\u0444\u0435\u0432\u0440._\u043c\u0430\u0440._\u0430\u043f\u0440._\u043c\u0430\u044f_\u0438\u044e\u043d\u044f_\u0438\u044e\u043b\u044f_\u0430\u0432\u0433._\u0441\u0435\u043d\u0442._\u043e\u043a\u0442._\u043d\u043e\u044f\u0431._\u0434\u0435\u043a.".split("_"),standalone:"\u044f\u043d\u0432._\u0444\u0435\u0432\u0440._\u043c\u0430\u0440\u0442_\u0430\u043f\u0440._\u043c\u0430\u0439_\u0438\u044e\u043d\u044c_\u0438\u044e\u043b\u044c_\u0430\u0432\u0433._\u0441\u0435\u043d\u0442._\u043e\u043a\u0442._\u043d\u043e\u044f\u0431._\u0434\u0435\u043a.".split("_")},weekdays:{standalone:"\u0432\u043e\u0441\u043a\u0440\u0435\u0441\u0435\u043d\u044c\u0435_\u043f\u043e\u043d\u0435\u0434\u0435\u043b\u044c\u043d\u0438\u043a_\u0432\u0442\u043e\u0440\u043d\u0438\u043a_\u0441\u0440\u0435\u0434\u0430_\u0447\u0435\u0442\u0432\u0435\u0440\u0433_\u043f\u044f\u0442\u043d\u0438\u0446\u0430_\u0441\u0443\u0431\u0431\u043e\u0442\u0430".split("_"),format:"\u0432\u043e\u0441\u043a\u0440\u0435\u0441\u0435\u043d\u044c\u0435_\u043f\u043e\u043d\u0435\u0434\u0435\u043b\u044c\u043d\u0438\u043a_\u0432\u0442\u043e\u0440\u043d\u0438\u043a_\u0441\u0440\u0435\u0434\u0443_\u0447\u0435\u0442\u0432\u0435\u0440\u0433_\u043f\u044f\u0442\u043d\u0438\u0446\u0443_\u0441\u0443\u0431\u0431\u043e\u0442\u0443".split("_"),isFormat:/\[ ?[\u0412\u0432] ?(?:\u043f\u0440\u043e\u0448\u043b\u0443\u044e|\u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0443\u044e|\u044d\u0442\u0443)? ?] ?dddd/},weekdaysShort:"\u0432\u0441_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),weekdaysMin:"\u0432\u0441_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),monthsParse:u,longMonthsParse:u,shortMonthsParse:u,monthsRegex:/^(\u044f\u043d\u0432\u0430\u0440[\u044c\u044f]|\u044f\u043d\u0432\.?|\u0444\u0435\u0432\u0440\u0430\u043b[\u044c\u044f]|\u0444\u0435\u0432\u0440?\.?|\u043c\u0430\u0440\u0442\u0430?|\u043c\u0430\u0440\.?|\u0430\u043f\u0440\u0435\u043b[\u044c\u044f]|\u0430\u043f\u0440\.?|\u043c\u0430[\u0439\u044f]|\u0438\u044e\u043d[\u044c\u044f]|\u0438\u044e\u043d\.?|\u0438\u044e\u043b[\u044c\u044f]|\u0438\u044e\u043b\.?|\u0430\u0432\u0433\u0443\u0441\u0442\u0430?|\u0430\u0432\u0433\.?|\u0441\u0435\u043d\u0442\u044f\u0431\u0440[\u044c\u044f]|\u0441\u0435\u043d\u0442?\.?|\u043e\u043a\u0442\u044f\u0431\u0440[\u044c\u044f]|\u043e\u043a\u0442\.?|\u043d\u043e\u044f\u0431\u0440[\u044c\u044f]|\u043d\u043e\u044f\u0431?\.?|\u0434\u0435\u043a\u0430\u0431\u0440[\u044c\u044f]|\u0434\u0435\u043a\.?)/i,monthsShortRegex:/^(\u044f\u043d\u0432\u0430\u0440[\u044c\u044f]|\u044f\u043d\u0432\.?|\u0444\u0435\u0432\u0440\u0430\u043b[\u044c\u044f]|\u0444\u0435\u0432\u0440?\.?|\u043c\u0430\u0440\u0442\u0430?|\u043c\u0430\u0440\.?|\u0430\u043f\u0440\u0435\u043b[\u044c\u044f]|\u0430\u043f\u0440\.?|\u043c\u0430[\u0439\u044f]|\u0438\u044e\u043d[\u044c\u044f]|\u0438\u044e\u043d\.?|\u0438\u044e\u043b[\u044c\u044f]|\u0438\u044e\u043b\.?|\u0430\u0432\u0433\u0443\u0441\u0442\u0430?|\u0430\u0432\u0433\.?|\u0441\u0435\u043d\u0442\u044f\u0431\u0440[\u044c\u044f]|\u0441\u0435\u043d\u0442?\.?|\u043e\u043a\u0442\u044f\u0431\u0440[\u044c\u044f]|\u043e\u043a\u0442\.?|\u043d\u043e\u044f\u0431\u0440[\u044c\u044f]|\u043d\u043e\u044f\u0431?\.?|\u0434\u0435\u043a\u0430\u0431\u0440[\u044c\u044f]|\u0434\u0435\u043a\.?)/i,monthsStrictRegex:/^(\u044f\u043d\u0432\u0430\u0440[\u044f\u044c]|\u0444\u0435\u0432\u0440\u0430\u043b[\u044f\u044c]|\u043c\u0430\u0440\u0442\u0430?|\u0430\u043f\u0440\u0435\u043b[\u044f\u044c]|\u043c\u0430[\u044f\u0439]|\u0438\u044e\u043d[\u044f\u044c]|\u0438\u044e\u043b[\u044f\u044c]|\u0430\u0432\u0433\u0443\u0441\u0442\u0430?|\u0441\u0435\u043d\u0442\u044f\u0431\u0440[\u044f\u044c]|\u043e\u043a\u0442\u044f\u0431\u0440[\u044f\u044c]|\u043d\u043e\u044f\u0431\u0440[\u044f\u044c]|\u0434\u0435\u043a\u0430\u0431\u0440[\u044f\u044c])/i,monthsShortStrictRegex:/^(\u044f\u043d\u0432\.|\u0444\u0435\u0432\u0440?\.|\u043c\u0430\u0440[\u0442.]|\u0430\u043f\u0440\.|\u043c\u0430[\u044f\u0439]|\u0438\u044e\u043d[\u044c\u044f.]|\u0438\u044e\u043b[\u044c\u044f.]|\u0430\u0432\u0433\.|\u0441\u0435\u043d\u0442?\.|\u043e\u043a\u0442\.|\u043d\u043e\u044f\u0431?\.|\u0434\u0435\u043a\.)/i,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY \u0433.",LLL:"D MMMM YYYY \u0433., H:mm",LLLL:"dddd, D MMMM YYYY \u0433., H:mm"},calendar:{sameDay:"[\u0421\u0435\u0433\u043e\u0434\u043d\u044f, \u0432] LT",nextDay:"[\u0417\u0430\u0432\u0442\u0440\u0430, \u0432] LT",lastDay:"[\u0412\u0447\u0435\u0440\u0430, \u0432] LT",nextWeek:function(g){if(g.week()===this.week())return 2===this.day()?"[\u0412\u043e] dddd, [\u0432] LT":"[\u0412] dddd, [\u0432] LT";switch(this.day()){case 0:return"[\u0412 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u0435] dddd, [\u0432] LT";case 1:case 2:case 4:return"[\u0412 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0439] dddd, [\u0432] LT";case 3:case 5:case 6:return"[\u0412 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0443\u044e] dddd, [\u0432] LT"}},lastWeek:function(g){if(g.week()===this.week())return 2===this.day()?"[\u0412\u043e] dddd, [\u0432] LT":"[\u0412] dddd, [\u0432] LT";switch(this.day()){case 0:return"[\u0412 \u043f\u0440\u043e\u0448\u043b\u043e\u0435] dddd, [\u0432] LT";case 1:case 2:case 4:return"[\u0412 \u043f\u0440\u043e\u0448\u043b\u044b\u0439] dddd, [\u0432] LT";case 3:case 5:case 6:return"[\u0412 \u043f\u0440\u043e\u0448\u043b\u0443\u044e] dddd, [\u0432] LT"}},sameElse:"L"},relativeTime:{future:"\u0447\u0435\u0440\u0435\u0437 %s",past:"%s \u043d\u0430\u0437\u0430\u0434",s:"\u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0441\u0435\u043a\u0443\u043d\u0434",ss:d,m:d,mm:d,h:"\u0447\u0430\u0441",hh:d,d:"\u0434\u0435\u043d\u044c",dd:d,w:"\u043d\u0435\u0434\u0435\u043b\u044f",ww:d,M:"\u043c\u0435\u0441\u044f\u0446",MM:d,y:"\u0433\u043e\u0434",yy:d},meridiemParse:/\u043d\u043e\u0447\u0438|\u0443\u0442\u0440\u0430|\u0434\u043d\u044f|\u0432\u0435\u0447\u0435\u0440\u0430/i,isPM:function(g){return/^(\u0434\u043d\u044f|\u0432\u0435\u0447\u0435\u0440\u0430)$/.test(g)},meridiem:function(g,y,b){return g<4?"\u043d\u043e\u0447\u0438":g<12?"\u0443\u0442\u0440\u0430":g<17?"\u0434\u043d\u044f":"\u0432\u0435\u0447\u0435\u0440\u0430"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0439|\u0433\u043e|\u044f)/,ordinal:function(g,y){switch(y){case"M":case"d":case"DDD":return g+"-\u0439";case"D":return g+"-\u0433\u043e";case"w":case"W":return g+"-\u044f";default:return g}},week:{dow:1,doy:4}})}(w(5439))},2525:function(se,q,w){!function(v){"use strict";var m=["\u062c\u0646\u0648\u0631\u064a","\u0641\u064a\u0628\u0631\u0648\u0631\u064a","\u0645\u0627\u0631\u0686","\u0627\u067e\u0631\u064a\u0644","\u0645\u0626\u064a","\u062c\u0648\u0646","\u062c\u0648\u0644\u0627\u0621\u0650","\u0622\u06af\u0633\u067d","\u0633\u064a\u067e\u067d\u0645\u0628\u0631","\u0622\u06aa\u067d\u0648\u0628\u0631","\u0646\u0648\u0645\u0628\u0631","\u068a\u0633\u0645\u0628\u0631"],d=["\u0622\u0686\u0631","\u0633\u0648\u0645\u0631","\u0627\u06b1\u0627\u0631\u0648","\u0627\u0631\u0628\u0639","\u062e\u0645\u064a\u0633","\u062c\u0645\u0639","\u0687\u0646\u0687\u0631"];v.defineLocale("sd",{months:m,monthsShort:m,weekdays:d,weekdaysShort:d,weekdaysMin:d,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd\u060c D MMMM YYYY HH:mm"},meridiemParse:/\u0635\u0628\u062d|\u0634\u0627\u0645/,isPM:function(p){return"\u0634\u0627\u0645"===p},meridiem:function(p,g,y){return p<12?"\u0635\u0628\u062d":"\u0634\u0627\u0645"},calendar:{sameDay:"[\u0627\u0684] LT",nextDay:"[\u0633\u0680\u0627\u06bb\u064a] LT",nextWeek:"dddd [\u0627\u06b3\u064a\u0646 \u0647\u0641\u062a\u064a \u062a\u064a] LT",lastDay:"[\u06aa\u0627\u0644\u0647\u0647] LT",lastWeek:"[\u06af\u0632\u0631\u064a\u0644 \u0647\u0641\u062a\u064a] dddd [\u062a\u064a] LT",sameElse:"L"},relativeTime:{future:"%s \u067e\u0648\u0621",past:"%s \u0627\u06b3",s:"\u0686\u0646\u062f \u0633\u064a\u06aa\u0646\u068a",ss:"%d \u0633\u064a\u06aa\u0646\u068a",m:"\u0647\u06aa \u0645\u0646\u067d",mm:"%d \u0645\u0646\u067d",h:"\u0647\u06aa \u06aa\u0644\u0627\u06aa",hh:"%d \u06aa\u0644\u0627\u06aa",d:"\u0647\u06aa \u068f\u064a\u0646\u0647\u0646",dd:"%d \u068f\u064a\u0646\u0647\u0646",M:"\u0647\u06aa \u0645\u0647\u064a\u0646\u0648",MM:"%d \u0645\u0647\u064a\u0646\u0627",y:"\u0647\u06aa \u0633\u0627\u0644",yy:"%d \u0633\u0627\u0644"},preparse:function(p){return p.replace(/\u060c/g,",")},postformat:function(p){return p.replace(/,/g,"\u060c")},week:{dow:1,doy:4}})}(w(5439))},9893:function(se,q,w){!function(v){"use strict";v.defineLocale("se",{months:"o\u0111\u0111ajagem\xe1nnu_guovvam\xe1nnu_njuk\u010dam\xe1nnu_cuo\u014bom\xe1nnu_miessem\xe1nnu_geassem\xe1nnu_suoidnem\xe1nnu_borgem\xe1nnu_\u010dak\u010dam\xe1nnu_golggotm\xe1nnu_sk\xe1bmam\xe1nnu_juovlam\xe1nnu".split("_"),monthsShort:"o\u0111\u0111j_guov_njuk_cuo_mies_geas_suoi_borg_\u010dak\u010d_golg_sk\xe1b_juov".split("_"),weekdays:"sotnabeaivi_vuoss\xe1rga_ma\u014b\u014beb\xe1rga_gaskavahkku_duorastat_bearjadat_l\xe1vvardat".split("_"),weekdaysShort:"sotn_vuos_ma\u014b_gask_duor_bear_l\xe1v".split("_"),weekdaysMin:"s_v_m_g_d_b_L".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"MMMM D. [b.] YYYY",LLL:"MMMM D. [b.] YYYY [ti.] HH:mm",LLLL:"dddd, MMMM D. [b.] YYYY [ti.] HH:mm"},calendar:{sameDay:"[otne ti] LT",nextDay:"[ihttin ti] LT",nextWeek:"dddd [ti] LT",lastDay:"[ikte ti] LT",lastWeek:"[ovddit] dddd [ti] LT",sameElse:"L"},relativeTime:{future:"%s gea\u017ees",past:"ma\u014bit %s",s:"moadde sekunddat",ss:"%d sekunddat",m:"okta minuhta",mm:"%d minuhtat",h:"okta diimmu",hh:"%d diimmut",d:"okta beaivi",dd:"%d beaivvit",M:"okta m\xe1nnu",MM:"%d m\xe1nut",y:"okta jahki",yy:"%d jagit"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(w(5439))},3123:function(se,q,w){!function(v){"use strict";v.defineLocale("si",{months:"\u0da2\u0db1\u0dc0\u0dcf\u0dbb\u0dd2_\u0db4\u0dd9\u0db6\u0dbb\u0dc0\u0dcf\u0dbb\u0dd2_\u0db8\u0dcf\u0dbb\u0dca\u0dad\u0dd4_\u0d85\u0db4\u0dca\u200d\u0dbb\u0dda\u0dbd\u0dca_\u0db8\u0dd0\u0dba\u0dd2_\u0da2\u0dd6\u0db1\u0dd2_\u0da2\u0dd6\u0dbd\u0dd2_\u0d85\u0d9c\u0ddd\u0dc3\u0dca\u0dad\u0dd4_\u0dc3\u0dd0\u0db4\u0dca\u0dad\u0dd0\u0db8\u0dca\u0db6\u0dbb\u0dca_\u0d94\u0d9a\u0dca\u0dad\u0ddd\u0db6\u0dbb\u0dca_\u0db1\u0ddc\u0dc0\u0dd0\u0db8\u0dca\u0db6\u0dbb\u0dca_\u0daf\u0dd9\u0dc3\u0dd0\u0db8\u0dca\u0db6\u0dbb\u0dca".split("_"),monthsShort:"\u0da2\u0db1_\u0db4\u0dd9\u0db6_\u0db8\u0dcf\u0dbb\u0dca_\u0d85\u0db4\u0dca_\u0db8\u0dd0\u0dba\u0dd2_\u0da2\u0dd6\u0db1\u0dd2_\u0da2\u0dd6\u0dbd\u0dd2_\u0d85\u0d9c\u0ddd_\u0dc3\u0dd0\u0db4\u0dca_\u0d94\u0d9a\u0dca_\u0db1\u0ddc\u0dc0\u0dd0_\u0daf\u0dd9\u0dc3\u0dd0".split("_"),weekdays:"\u0d89\u0dbb\u0dd2\u0daf\u0dcf_\u0dc3\u0db3\u0dd4\u0daf\u0dcf_\u0d85\u0d9f\u0dc4\u0dbb\u0dd4\u0dc0\u0dcf\u0daf\u0dcf_\u0db6\u0daf\u0dcf\u0daf\u0dcf_\u0db6\u0dca\u200d\u0dbb\u0dc4\u0dc3\u0dca\u0db4\u0dad\u0dd2\u0db1\u0dca\u0daf\u0dcf_\u0dc3\u0dd2\u0d9a\u0dd4\u0dbb\u0dcf\u0daf\u0dcf_\u0dc3\u0dd9\u0db1\u0dc3\u0dd4\u0dbb\u0dcf\u0daf\u0dcf".split("_"),weekdaysShort:"\u0d89\u0dbb\u0dd2_\u0dc3\u0db3\u0dd4_\u0d85\u0d9f_\u0db6\u0daf\u0dcf_\u0db6\u0dca\u200d\u0dbb\u0dc4_\u0dc3\u0dd2\u0d9a\u0dd4_\u0dc3\u0dd9\u0db1".split("_"),weekdaysMin:"\u0d89_\u0dc3_\u0d85_\u0db6_\u0db6\u0dca\u200d\u0dbb_\u0dc3\u0dd2_\u0dc3\u0dd9".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"a h:mm",LTS:"a h:mm:ss",L:"YYYY/MM/DD",LL:"YYYY MMMM D",LLL:"YYYY MMMM D, a h:mm",LLLL:"YYYY MMMM D [\u0dc0\u0dd0\u0db1\u0dd2] dddd, a h:mm:ss"},calendar:{sameDay:"[\u0d85\u0daf] LT[\u0da7]",nextDay:"[\u0dc4\u0dd9\u0da7] LT[\u0da7]",nextWeek:"dddd LT[\u0da7]",lastDay:"[\u0d8a\u0dba\u0dda] LT[\u0da7]",lastWeek:"[\u0db4\u0dc3\u0dd4\u0d9c\u0dd2\u0dba] dddd LT[\u0da7]",sameElse:"L"},relativeTime:{future:"%s\u0d9a\u0dd2\u0db1\u0dca",past:"%s\u0d9a\u0da7 \u0db4\u0dd9\u0dbb",s:"\u0dad\u0dad\u0dca\u0db4\u0dbb \u0d9a\u0dd2\u0dc4\u0dd2\u0db4\u0dba",ss:"\u0dad\u0dad\u0dca\u0db4\u0dbb %d",m:"\u0db8\u0dd2\u0db1\u0dd2\u0dad\u0dca\u0dad\u0dd4\u0dc0",mm:"\u0db8\u0dd2\u0db1\u0dd2\u0dad\u0dca\u0dad\u0dd4 %d",h:"\u0db4\u0dd0\u0dba",hh:"\u0db4\u0dd0\u0dba %d",d:"\u0daf\u0dd2\u0db1\u0dba",dd:"\u0daf\u0dd2\u0db1 %d",M:"\u0db8\u0dcf\u0dc3\u0dba",MM:"\u0db8\u0dcf\u0dc3 %d",y:"\u0dc0\u0dc3\u0dbb",yy:"\u0dc0\u0dc3\u0dbb %d"},dayOfMonthOrdinalParse:/\d{1,2} \u0dc0\u0dd0\u0db1\u0dd2/,ordinal:function(d){return d+" \u0dc0\u0dd0\u0db1\u0dd2"},meridiemParse:/\u0db4\u0dd9\u0dbb \u0dc0\u0dbb\u0dd4|\u0db4\u0dc3\u0dca \u0dc0\u0dbb\u0dd4|\u0db4\u0dd9.\u0dc0|\u0db4.\u0dc0./,isPM:function(d){return"\u0db4.\u0dc0."===d||"\u0db4\u0dc3\u0dca \u0dc0\u0dbb\u0dd4"===d},meridiem:function(d,u,p){return d>11?p?"\u0db4.\u0dc0.":"\u0db4\u0dc3\u0dca \u0dc0\u0dbb\u0dd4":p?"\u0db4\u0dd9.\u0dc0.":"\u0db4\u0dd9\u0dbb \u0dc0\u0dbb\u0dd4"}})}(w(5439))},9635:function(se,q,w){!function(v){"use strict";var m="janu\xe1r_febru\xe1r_marec_apr\xedl_m\xe1j_j\xfan_j\xfal_august_september_okt\xf3ber_november_december".split("_"),d="jan_feb_mar_apr_m\xe1j_j\xfan_j\xfal_aug_sep_okt_nov_dec".split("_");function u(y){return y>1&&y<5}function p(y,b,C,P){var N=y+" ";switch(C){case"s":return b||P?"p\xe1r sek\xfand":"p\xe1r sekundami";case"ss":return b||P?N+(u(y)?"sekundy":"sek\xfand"):N+"sekundami";case"m":return b?"min\xfata":P?"min\xfatu":"min\xfatou";case"mm":return b||P?N+(u(y)?"min\xfaty":"min\xfat"):N+"min\xfatami";case"h":return b?"hodina":P?"hodinu":"hodinou";case"hh":return b||P?N+(u(y)?"hodiny":"hod\xedn"):N+"hodinami";case"d":return b||P?"de\u0148":"d\u0148om";case"dd":return b||P?N+(u(y)?"dni":"dn\xed"):N+"d\u0148ami";case"M":return b||P?"mesiac":"mesiacom";case"MM":return b||P?N+(u(y)?"mesiace":"mesiacov"):N+"mesiacmi";case"y":return b||P?"rok":"rokom";case"yy":return b||P?N+(u(y)?"roky":"rokov"):N+"rokmi"}}v.defineLocale("sk",{months:m,monthsShort:d,weekdays:"nede\u013ea_pondelok_utorok_streda_\u0161tvrtok_piatok_sobota".split("_"),weekdaysShort:"ne_po_ut_st_\u0161t_pi_so".split("_"),weekdaysMin:"ne_po_ut_st_\u0161t_pi_so".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd D. MMMM YYYY H:mm"},calendar:{sameDay:"[dnes o] LT",nextDay:"[zajtra o] LT",nextWeek:function(){switch(this.day()){case 0:return"[v nede\u013eu o] LT";case 1:case 2:return"[v] dddd [o] LT";case 3:return"[v stredu o] LT";case 4:return"[vo \u0161tvrtok o] LT";case 5:return"[v piatok o] LT";case 6:return"[v sobotu o] LT"}},lastDay:"[v\u010dera o] LT",lastWeek:function(){switch(this.day()){case 0:return"[minul\xfa nede\u013eu o] LT";case 1:case 2:case 4:case 5:return"[minul\xfd] dddd [o] LT";case 3:return"[minul\xfa stredu o] LT";case 6:return"[minul\xfa sobotu o] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"pred %s",s:p,ss:p,m:p,mm:p,h:p,hh:p,d:p,dd:p,M:p,MM:p,y:p,yy:p},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(w(5439))},8106:function(se,q,w){!function(v){"use strict";function m(u,p,g,y){var b=u+" ";switch(g){case"s":return p||y?"nekaj sekund":"nekaj sekundami";case"ss":return b+(1===u?p?"sekundo":"sekundi":2===u?p||y?"sekundi":"sekundah":u<5?p||y?"sekunde":"sekundah":"sekund");case"m":return p?"ena minuta":"eno minuto";case"mm":return b+(1===u?p?"minuta":"minuto":2===u?p||y?"minuti":"minutama":u<5?p||y?"minute":"minutami":p||y?"minut":"minutami");case"h":return p?"ena ura":"eno uro";case"hh":return b+(1===u?p?"ura":"uro":2===u?p||y?"uri":"urama":u<5?p||y?"ure":"urami":p||y?"ur":"urami");case"d":return p||y?"en dan":"enim dnem";case"dd":return b+(1===u?p||y?"dan":"dnem":2===u?p||y?"dni":"dnevoma":p||y?"dni":"dnevi");case"M":return p||y?"en mesec":"enim mesecem";case"MM":return b+(1===u?p||y?"mesec":"mesecem":2===u?p||y?"meseca":"mesecema":u<5?p||y?"mesece":"meseci":p||y?"mesecev":"meseci");case"y":return p||y?"eno leto":"enim letom";case"yy":return b+(1===u?p||y?"leto":"letom":2===u?p||y?"leti":"letoma":u<5?p||y?"leta":"leti":p||y?"let":"leti")}}v.defineLocale("sl",{months:"januar_februar_marec_april_maj_junij_julij_avgust_september_oktober_november_december".split("_"),monthsShort:"jan._feb._mar._apr._maj._jun._jul._avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedelja_ponedeljek_torek_sreda_\u010detrtek_petek_sobota".split("_"),weekdaysShort:"ned._pon._tor._sre._\u010det._pet._sob.".split("_"),weekdaysMin:"ne_po_to_sr_\u010de_pe_so".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD. MM. YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danes ob] LT",nextDay:"[jutri ob] LT",nextWeek:function(){switch(this.day()){case 0:return"[v] [nedeljo] [ob] LT";case 3:return"[v] [sredo] [ob] LT";case 6:return"[v] [soboto] [ob] LT";case 1:case 2:case 4:case 5:return"[v] dddd [ob] LT"}},lastDay:"[v\u010deraj ob] LT",lastWeek:function(){switch(this.day()){case 0:return"[prej\u0161njo] [nedeljo] [ob] LT";case 3:return"[prej\u0161njo] [sredo] [ob] LT";case 6:return"[prej\u0161njo] [soboto] [ob] LT";case 1:case 2:case 4:case 5:return"[prej\u0161nji] dddd [ob] LT"}},sameElse:"L"},relativeTime:{future:"\u010dez %s",past:"pred %s",s:m,ss:m,m,mm:m,h:m,hh:m,d:m,dd:m,M:m,MM:m,y:m,yy:m},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(w(5439))},8799:function(se,q,w){!function(v){"use strict";v.defineLocale("sq",{months:"Janar_Shkurt_Mars_Prill_Maj_Qershor_Korrik_Gusht_Shtator_Tetor_N\xebntor_Dhjetor".split("_"),monthsShort:"Jan_Shk_Mar_Pri_Maj_Qer_Kor_Gus_Sht_Tet_N\xebn_Dhj".split("_"),weekdays:"E Diel_E H\xebn\xeb_E Mart\xeb_E M\xebrkur\xeb_E Enjte_E Premte_E Shtun\xeb".split("_"),weekdaysShort:"Die_H\xebn_Mar_M\xebr_Enj_Pre_Sht".split("_"),weekdaysMin:"D_H_Ma_M\xeb_E_P_Sh".split("_"),weekdaysParseExact:!0,meridiemParse:/PD|MD/,isPM:function(d){return"M"===d.charAt(0)},meridiem:function(d,u,p){return d<12?"PD":"MD"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Sot n\xeb] LT",nextDay:"[Nes\xebr n\xeb] LT",nextWeek:"dddd [n\xeb] LT",lastDay:"[Dje n\xeb] LT",lastWeek:"dddd [e kaluar n\xeb] LT",sameElse:"L"},relativeTime:{future:"n\xeb %s",past:"%s m\xeb par\xeb",s:"disa sekonda",ss:"%d sekonda",m:"nj\xeb minut\xeb",mm:"%d minuta",h:"nj\xeb or\xeb",hh:"%d or\xeb",d:"nj\xeb dit\xeb",dd:"%d dit\xeb",M:"nj\xeb muaj",MM:"%d muaj",y:"nj\xeb vit",yy:"%d vite"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(w(5439))},2872:function(se,q,w){!function(v){"use strict";var m={words:{ss:["\u0441\u0435\u043a\u0443\u043d\u0434\u0430","\u0441\u0435\u043a\u0443\u043d\u0434\u0435","\u0441\u0435\u043a\u0443\u043d\u0434\u0438"],m:["\u0458\u0435\u0434\u0430\u043d \u043c\u0438\u043d\u0443\u0442","\u0458\u0435\u0434\u043d\u043e\u0433 \u043c\u0438\u043d\u0443\u0442\u0430"],mm:["\u043c\u0438\u043d\u0443\u0442","\u043c\u0438\u043d\u0443\u0442\u0430","\u043c\u0438\u043d\u0443\u0442\u0430"],h:["\u0458\u0435\u0434\u0430\u043d \u0441\u0430\u0442","\u0458\u0435\u0434\u043d\u043e\u0433 \u0441\u0430\u0442\u0430"],hh:["\u0441\u0430\u0442","\u0441\u0430\u0442\u0430","\u0441\u0430\u0442\u0438"],d:["\u0458\u0435\u0434\u0430\u043d \u0434\u0430\u043d","\u0458\u0435\u0434\u043d\u043e\u0433 \u0434\u0430\u043d\u0430"],dd:["\u0434\u0430\u043d","\u0434\u0430\u043d\u0430","\u0434\u0430\u043d\u0430"],M:["\u0458\u0435\u0434\u0430\u043d \u043c\u0435\u0441\u0435\u0446","\u0458\u0435\u0434\u043d\u043e\u0433 \u043c\u0435\u0441\u0435\u0446\u0430"],MM:["\u043c\u0435\u0441\u0435\u0446","\u043c\u0435\u0441\u0435\u0446\u0430","\u043c\u0435\u0441\u0435\u0446\u0438"],y:["\u0458\u0435\u0434\u043d\u0443 \u0433\u043e\u0434\u0438\u043d\u0443","\u0458\u0435\u0434\u043d\u0435 \u0433\u043e\u0434\u0438\u043d\u0435"],yy:["\u0433\u043e\u0434\u0438\u043d\u0443","\u0433\u043e\u0434\u0438\u043d\u0435","\u0433\u043e\u0434\u0438\u043d\u0430"]},correctGrammaticalCase:function(u,p){return u%10>=1&&u%10<=4&&(u%100<10||u%100>=20)?u%10==1?p[0]:p[1]:p[2]},translate:function(u,p,g,y){var C,b=m.words[g];return 1===g.length?"y"===g&&p?"\u0458\u0435\u0434\u043d\u0430 \u0433\u043e\u0434\u0438\u043d\u0430":y||p?b[0]:b[1]:(C=m.correctGrammaticalCase(u,b),"yy"===g&&p&&"\u0433\u043e\u0434\u0438\u043d\u0443"===C?u+" \u0433\u043e\u0434\u0438\u043d\u0430":u+" "+C)}};v.defineLocale("sr-cyrl",{months:"\u0458\u0430\u043d\u0443\u0430\u0440_\u0444\u0435\u0431\u0440\u0443\u0430\u0440_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0438\u043b_\u043c\u0430\u0458_\u0458\u0443\u043d_\u0458\u0443\u043b_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043f\u0442\u0435\u043c\u0431\u0430\u0440_\u043e\u043a\u0442\u043e\u0431\u0430\u0440_\u043d\u043e\u0432\u0435\u043c\u0431\u0430\u0440_\u0434\u0435\u0446\u0435\u043c\u0431\u0430\u0440".split("_"),monthsShort:"\u0458\u0430\u043d._\u0444\u0435\u0431._\u043c\u0430\u0440._\u0430\u043f\u0440._\u043c\u0430\u0458_\u0458\u0443\u043d_\u0458\u0443\u043b_\u0430\u0432\u0433._\u0441\u0435\u043f._\u043e\u043a\u0442._\u043d\u043e\u0432._\u0434\u0435\u0446.".split("_"),monthsParseExact:!0,weekdays:"\u043d\u0435\u0434\u0435\u0459\u0430_\u043f\u043e\u043d\u0435\u0434\u0435\u0459\u0430\u043a_\u0443\u0442\u043e\u0440\u0430\u043a_\u0441\u0440\u0435\u0434\u0430_\u0447\u0435\u0442\u0432\u0440\u0442\u0430\u043a_\u043f\u0435\u0442\u0430\u043a_\u0441\u0443\u0431\u043e\u0442\u0430".split("_"),weekdaysShort:"\u043d\u0435\u0434._\u043f\u043e\u043d._\u0443\u0442\u043e._\u0441\u0440\u0435._\u0447\u0435\u0442._\u043f\u0435\u0442._\u0441\u0443\u0431.".split("_"),weekdaysMin:"\u043d\u0435_\u043f\u043e_\u0443\u0442_\u0441\u0440_\u0447\u0435_\u043f\u0435_\u0441\u0443".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D. M. YYYY.",LL:"D. MMMM YYYY.",LLL:"D. MMMM YYYY. H:mm",LLLL:"dddd, D. MMMM YYYY. H:mm"},calendar:{sameDay:"[\u0434\u0430\u043d\u0430\u0441 \u0443] LT",nextDay:"[\u0441\u0443\u0442\u0440\u0430 \u0443] LT",nextWeek:function(){switch(this.day()){case 0:return"[\u0443] [\u043d\u0435\u0434\u0435\u0459\u0443] [\u0443] LT";case 3:return"[\u0443] [\u0441\u0440\u0435\u0434\u0443] [\u0443] LT";case 6:return"[\u0443] [\u0441\u0443\u0431\u043e\u0442\u0443] [\u0443] LT";case 1:case 2:case 4:case 5:return"[\u0443] dddd [\u0443] LT"}},lastDay:"[\u0458\u0443\u0447\u0435 \u0443] LT",lastWeek:function(){return["[\u043f\u0440\u043e\u0448\u043b\u0435] [\u043d\u0435\u0434\u0435\u0459\u0435] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u043e\u0433] [\u043f\u043e\u043d\u0435\u0434\u0435\u0459\u043a\u0430] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u043e\u0433] [\u0443\u0442\u043e\u0440\u043a\u0430] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u0435] [\u0441\u0440\u0435\u0434\u0435] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u043e\u0433] [\u0447\u0435\u0442\u0432\u0440\u0442\u043a\u0430] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u043e\u0433] [\u043f\u0435\u0442\u043a\u0430] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u0435] [\u0441\u0443\u0431\u043e\u0442\u0435] [\u0443] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"\u0437\u0430 %s",past:"\u043f\u0440\u0435 %s",s:"\u043d\u0435\u043a\u043e\u043b\u0438\u043a\u043e \u0441\u0435\u043a\u0443\u043d\u0434\u0438",ss:m.translate,m:m.translate,mm:m.translate,h:m.translate,hh:m.translate,d:m.translate,dd:m.translate,M:m.translate,MM:m.translate,y:m.translate,yy:m.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(w(5439))},7949:function(se,q,w){!function(v){"use strict";var m={words:{ss:["sekunda","sekunde","sekundi"],m:["jedan minut","jednog minuta"],mm:["minut","minuta","minuta"],h:["jedan sat","jednog sata"],hh:["sat","sata","sati"],d:["jedan dan","jednog dana"],dd:["dan","dana","dana"],M:["jedan mesec","jednog meseca"],MM:["mesec","meseca","meseci"],y:["jednu godinu","jedne godine"],yy:["godinu","godine","godina"]},correctGrammaticalCase:function(u,p){return u%10>=1&&u%10<=4&&(u%100<10||u%100>=20)?u%10==1?p[0]:p[1]:p[2]},translate:function(u,p,g,y){var C,b=m.words[g];return 1===g.length?"y"===g&&p?"jedna godina":y||p?b[0]:b[1]:(C=m.correctGrammaticalCase(u,b),"yy"===g&&p&&"godinu"===C?u+" godina":u+" "+C)}};v.defineLocale("sr",{months:"januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedelja_ponedeljak_utorak_sreda_\u010detvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sre._\u010det._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_\u010de_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D. M. YYYY.",LL:"D. MMMM YYYY.",LLL:"D. MMMM YYYY. H:mm",LLLL:"dddd, D. MMMM YYYY. H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedelju] [u] LT";case 3:return"[u] [sredu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[ju\u010de u] LT",lastWeek:function(){return["[pro\u0161le] [nedelje] [u] LT","[pro\u0161log] [ponedeljka] [u] LT","[pro\u0161log] [utorka] [u] LT","[pro\u0161le] [srede] [u] LT","[pro\u0161log] [\u010detvrtka] [u] LT","[pro\u0161log] [petka] [u] LT","[pro\u0161le] [subote] [u] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"za %s",past:"pre %s",s:"nekoliko sekundi",ss:m.translate,m:m.translate,mm:m.translate,h:m.translate,hh:m.translate,d:m.translate,dd:m.translate,M:m.translate,MM:m.translate,y:m.translate,yy:m.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(w(5439))},6167:function(se,q,w){!function(v){"use strict";v.defineLocale("ss",{months:"Bhimbidvwane_Indlovana_Indlov'lenkhulu_Mabasa_Inkhwekhweti_Inhlaba_Kholwane_Ingci_Inyoni_Imphala_Lweti_Ingongoni".split("_"),monthsShort:"Bhi_Ina_Inu_Mab_Ink_Inh_Kho_Igc_Iny_Imp_Lwe_Igo".split("_"),weekdays:"Lisontfo_Umsombuluko_Lesibili_Lesitsatfu_Lesine_Lesihlanu_Umgcibelo".split("_"),weekdaysShort:"Lis_Umb_Lsb_Les_Lsi_Lsh_Umg".split("_"),weekdaysMin:"Li_Us_Lb_Lt_Ls_Lh_Ug".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Namuhla nga] LT",nextDay:"[Kusasa nga] LT",nextWeek:"dddd [nga] LT",lastDay:"[Itolo nga] LT",lastWeek:"dddd [leliphelile] [nga] LT",sameElse:"L"},relativeTime:{future:"nga %s",past:"wenteka nga %s",s:"emizuzwana lomcane",ss:"%d mzuzwana",m:"umzuzu",mm:"%d emizuzu",h:"lihora",hh:"%d emahora",d:"lilanga",dd:"%d emalanga",M:"inyanga",MM:"%d tinyanga",y:"umnyaka",yy:"%d iminyaka"},meridiemParse:/ekuseni|emini|entsambama|ebusuku/,meridiem:function(d,u,p){return d<11?"ekuseni":d<15?"emini":d<19?"entsambama":"ebusuku"},meridiemHour:function(d,u){return 12===d&&(d=0),"ekuseni"===u?d:"emini"===u?d>=11?d:d+12:"entsambama"===u||"ebusuku"===u?0===d?0:d+12:void 0},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:"%d",week:{dow:1,doy:4}})}(w(5439))},9713:function(se,q,w){!function(v){"use strict";v.defineLocale("sv",{months:"januari_februari_mars_april_maj_juni_juli_augusti_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"),weekdays:"s\xf6ndag_m\xe5ndag_tisdag_onsdag_torsdag_fredag_l\xf6rdag".split("_"),weekdaysShort:"s\xf6n_m\xe5n_tis_ons_tor_fre_l\xf6r".split("_"),weekdaysMin:"s\xf6_m\xe5_ti_on_to_fr_l\xf6".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [kl.] HH:mm",LLLL:"dddd D MMMM YYYY [kl.] HH:mm",lll:"D MMM YYYY HH:mm",llll:"ddd D MMM YYYY HH:mm"},calendar:{sameDay:"[Idag] LT",nextDay:"[Imorgon] LT",lastDay:"[Ig\xe5r] LT",nextWeek:"[P\xe5] dddd LT",lastWeek:"[I] dddd[s] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"f\xf6r %s sedan",s:"n\xe5gra sekunder",ss:"%d sekunder",m:"en minut",mm:"%d minuter",h:"en timme",hh:"%d timmar",d:"en dag",dd:"%d dagar",M:"en m\xe5nad",MM:"%d m\xe5nader",y:"ett \xe5r",yy:"%d \xe5r"},dayOfMonthOrdinalParse:/\d{1,2}(\:e|\:a)/,ordinal:function(d){var u=d%10;return d+(1==~~(d%100/10)?":e":1===u||2===u?":a":":e")},week:{dow:1,doy:4}})}(w(5439))},1982:function(se,q,w){!function(v){"use strict";v.defineLocale("sw",{months:"Januari_Februari_Machi_Aprili_Mei_Juni_Julai_Agosti_Septemba_Oktoba_Novemba_Desemba".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ago_Sep_Okt_Nov_Des".split("_"),weekdays:"Jumapili_Jumatatu_Jumanne_Jumatano_Alhamisi_Ijumaa_Jumamosi".split("_"),weekdaysShort:"Jpl_Jtat_Jnne_Jtan_Alh_Ijm_Jmos".split("_"),weekdaysMin:"J2_J3_J4_J5_Al_Ij_J1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"hh:mm A",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[leo saa] LT",nextDay:"[kesho saa] LT",nextWeek:"[wiki ijayo] dddd [saat] LT",lastDay:"[jana] LT",lastWeek:"[wiki iliyopita] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s baadaye",past:"tokea %s",s:"hivi punde",ss:"sekunde %d",m:"dakika moja",mm:"dakika %d",h:"saa limoja",hh:"masaa %d",d:"siku moja",dd:"siku %d",M:"mwezi mmoja",MM:"miezi %d",y:"mwaka mmoja",yy:"miaka %d"},week:{dow:1,doy:7}})}(w(5439))},2732:function(se,q,w){!function(v){"use strict";var m={1:"\u0be7",2:"\u0be8",3:"\u0be9",4:"\u0bea",5:"\u0beb",6:"\u0bec",7:"\u0bed",8:"\u0bee",9:"\u0bef",0:"\u0be6"},d={"\u0be7":"1","\u0be8":"2","\u0be9":"3","\u0bea":"4","\u0beb":"5","\u0bec":"6","\u0bed":"7","\u0bee":"8","\u0bef":"9","\u0be6":"0"};v.defineLocale("ta",{months:"\u0b9c\u0ba9\u0bb5\u0bb0\u0bbf_\u0baa\u0bbf\u0baa\u0bcd\u0bb0\u0bb5\u0bb0\u0bbf_\u0bae\u0bbe\u0bb0\u0bcd\u0b9a\u0bcd_\u0b8f\u0baa\u0bcd\u0bb0\u0bb2\u0bcd_\u0bae\u0bc7_\u0b9c\u0bc2\u0ba9\u0bcd_\u0b9c\u0bc2\u0bb2\u0bc8_\u0b86\u0b95\u0bb8\u0bcd\u0b9f\u0bcd_\u0b9a\u0bc6\u0baa\u0bcd\u0b9f\u0bc6\u0bae\u0bcd\u0baa\u0bb0\u0bcd_\u0b85\u0b95\u0bcd\u0b9f\u0bc7\u0bbe\u0baa\u0bb0\u0bcd_\u0ba8\u0bb5\u0bae\u0bcd\u0baa\u0bb0\u0bcd_\u0b9f\u0bbf\u0b9a\u0bae\u0bcd\u0baa\u0bb0\u0bcd".split("_"),monthsShort:"\u0b9c\u0ba9\u0bb5\u0bb0\u0bbf_\u0baa\u0bbf\u0baa\u0bcd\u0bb0\u0bb5\u0bb0\u0bbf_\u0bae\u0bbe\u0bb0\u0bcd\u0b9a\u0bcd_\u0b8f\u0baa\u0bcd\u0bb0\u0bb2\u0bcd_\u0bae\u0bc7_\u0b9c\u0bc2\u0ba9\u0bcd_\u0b9c\u0bc2\u0bb2\u0bc8_\u0b86\u0b95\u0bb8\u0bcd\u0b9f\u0bcd_\u0b9a\u0bc6\u0baa\u0bcd\u0b9f\u0bc6\u0bae\u0bcd\u0baa\u0bb0\u0bcd_\u0b85\u0b95\u0bcd\u0b9f\u0bc7\u0bbe\u0baa\u0bb0\u0bcd_\u0ba8\u0bb5\u0bae\u0bcd\u0baa\u0bb0\u0bcd_\u0b9f\u0bbf\u0b9a\u0bae\u0bcd\u0baa\u0bb0\u0bcd".split("_"),weekdays:"\u0b9e\u0bbe\u0baf\u0bbf\u0bb1\u0bcd\u0bb1\u0bc1\u0b95\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0ba4\u0bbf\u0b99\u0bcd\u0b95\u0b9f\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0b9a\u0bc6\u0bb5\u0bcd\u0bb5\u0bbe\u0baf\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0baa\u0bc1\u0ba4\u0ba9\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0bb5\u0bbf\u0baf\u0bbe\u0bb4\u0b95\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0bb5\u0bc6\u0bb3\u0bcd\u0bb3\u0bbf\u0b95\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0b9a\u0ba9\u0bbf\u0b95\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8".split("_"),weekdaysShort:"\u0b9e\u0bbe\u0baf\u0bbf\u0bb1\u0bc1_\u0ba4\u0bbf\u0b99\u0bcd\u0b95\u0bb3\u0bcd_\u0b9a\u0bc6\u0bb5\u0bcd\u0bb5\u0bbe\u0baf\u0bcd_\u0baa\u0bc1\u0ba4\u0ba9\u0bcd_\u0bb5\u0bbf\u0baf\u0bbe\u0bb4\u0ba9\u0bcd_\u0bb5\u0bc6\u0bb3\u0bcd\u0bb3\u0bbf_\u0b9a\u0ba9\u0bbf".split("_"),weekdaysMin:"\u0b9e\u0bbe_\u0ba4\u0bbf_\u0b9a\u0bc6_\u0baa\u0bc1_\u0bb5\u0bbf_\u0bb5\u0bc6_\u0b9a".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, HH:mm",LLLL:"dddd, D MMMM YYYY, HH:mm"},calendar:{sameDay:"[\u0b87\u0ba9\u0bcd\u0bb1\u0bc1] LT",nextDay:"[\u0ba8\u0bbe\u0bb3\u0bc8] LT",nextWeek:"dddd, LT",lastDay:"[\u0ba8\u0bc7\u0bb1\u0bcd\u0bb1\u0bc1] LT",lastWeek:"[\u0b95\u0b9f\u0ba8\u0bcd\u0ba4 \u0bb5\u0bbe\u0bb0\u0bae\u0bcd] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0b87\u0bb2\u0bcd",past:"%s \u0bae\u0bc1\u0ba9\u0bcd",s:"\u0b92\u0bb0\u0bc1 \u0b9a\u0bbf\u0bb2 \u0bb5\u0bbf\u0ba8\u0bbe\u0b9f\u0bbf\u0b95\u0bb3\u0bcd",ss:"%d \u0bb5\u0bbf\u0ba8\u0bbe\u0b9f\u0bbf\u0b95\u0bb3\u0bcd",m:"\u0b92\u0bb0\u0bc1 \u0ba8\u0bbf\u0bae\u0bbf\u0b9f\u0bae\u0bcd",mm:"%d \u0ba8\u0bbf\u0bae\u0bbf\u0b9f\u0b99\u0bcd\u0b95\u0bb3\u0bcd",h:"\u0b92\u0bb0\u0bc1 \u0bae\u0ba3\u0bbf \u0ba8\u0bc7\u0bb0\u0bae\u0bcd",hh:"%d \u0bae\u0ba3\u0bbf \u0ba8\u0bc7\u0bb0\u0bae\u0bcd",d:"\u0b92\u0bb0\u0bc1 \u0ba8\u0bbe\u0bb3\u0bcd",dd:"%d \u0ba8\u0bbe\u0b9f\u0bcd\u0b95\u0bb3\u0bcd",M:"\u0b92\u0bb0\u0bc1 \u0bae\u0bbe\u0ba4\u0bae\u0bcd",MM:"%d \u0bae\u0bbe\u0ba4\u0b99\u0bcd\u0b95\u0bb3\u0bcd",y:"\u0b92\u0bb0\u0bc1 \u0bb5\u0bb0\u0bc1\u0b9f\u0bae\u0bcd",yy:"%d \u0b86\u0ba3\u0bcd\u0b9f\u0bc1\u0b95\u0bb3\u0bcd"},dayOfMonthOrdinalParse:/\d{1,2}\u0bb5\u0ba4\u0bc1/,ordinal:function(p){return p+"\u0bb5\u0ba4\u0bc1"},preparse:function(p){return p.replace(/[\u0be7\u0be8\u0be9\u0bea\u0beb\u0bec\u0bed\u0bee\u0bef\u0be6]/g,function(g){return d[g]})},postformat:function(p){return p.replace(/\d/g,function(g){return m[g]})},meridiemParse:/\u0baf\u0bbe\u0bae\u0bae\u0bcd|\u0bb5\u0bc8\u0b95\u0bb1\u0bc8|\u0b95\u0bbe\u0bb2\u0bc8|\u0ba8\u0ba3\u0bcd\u0baa\u0b95\u0bb2\u0bcd|\u0b8e\u0bb1\u0bcd\u0baa\u0bbe\u0b9f\u0bc1|\u0bae\u0bbe\u0bb2\u0bc8/,meridiem:function(p,g,y){return p<2?" \u0baf\u0bbe\u0bae\u0bae\u0bcd":p<6?" \u0bb5\u0bc8\u0b95\u0bb1\u0bc8":p<10?" \u0b95\u0bbe\u0bb2\u0bc8":p<14?" \u0ba8\u0ba3\u0bcd\u0baa\u0b95\u0bb2\u0bcd":p<18?" \u0b8e\u0bb1\u0bcd\u0baa\u0bbe\u0b9f\u0bc1":p<22?" \u0bae\u0bbe\u0bb2\u0bc8":" \u0baf\u0bbe\u0bae\u0bae\u0bcd"},meridiemHour:function(p,g){return 12===p&&(p=0),"\u0baf\u0bbe\u0bae\u0bae\u0bcd"===g?p<2?p:p+12:"\u0bb5\u0bc8\u0b95\u0bb1\u0bc8"===g||"\u0b95\u0bbe\u0bb2\u0bc8"===g||"\u0ba8\u0ba3\u0bcd\u0baa\u0b95\u0bb2\u0bcd"===g&&p>=10?p:p+12},week:{dow:0,doy:6}})}(w(5439))},3636:function(se,q,w){!function(v){"use strict";v.defineLocale("te",{months:"\u0c1c\u0c28\u0c35\u0c30\u0c3f_\u0c2b\u0c3f\u0c2c\u0c4d\u0c30\u0c35\u0c30\u0c3f_\u0c2e\u0c3e\u0c30\u0c4d\u0c1a\u0c3f_\u0c0f\u0c2a\u0c4d\u0c30\u0c3f\u0c32\u0c4d_\u0c2e\u0c47_\u0c1c\u0c42\u0c28\u0c4d_\u0c1c\u0c41\u0c32\u0c48_\u0c06\u0c17\u0c38\u0c4d\u0c1f\u0c41_\u0c38\u0c46\u0c2a\u0c4d\u0c1f\u0c46\u0c02\u0c2c\u0c30\u0c4d_\u0c05\u0c15\u0c4d\u0c1f\u0c4b\u0c2c\u0c30\u0c4d_\u0c28\u0c35\u0c02\u0c2c\u0c30\u0c4d_\u0c21\u0c3f\u0c38\u0c46\u0c02\u0c2c\u0c30\u0c4d".split("_"),monthsShort:"\u0c1c\u0c28._\u0c2b\u0c3f\u0c2c\u0c4d\u0c30._\u0c2e\u0c3e\u0c30\u0c4d\u0c1a\u0c3f_\u0c0f\u0c2a\u0c4d\u0c30\u0c3f._\u0c2e\u0c47_\u0c1c\u0c42\u0c28\u0c4d_\u0c1c\u0c41\u0c32\u0c48_\u0c06\u0c17._\u0c38\u0c46\u0c2a\u0c4d._\u0c05\u0c15\u0c4d\u0c1f\u0c4b._\u0c28\u0c35._\u0c21\u0c3f\u0c38\u0c46.".split("_"),monthsParseExact:!0,weekdays:"\u0c06\u0c26\u0c3f\u0c35\u0c3e\u0c30\u0c02_\u0c38\u0c4b\u0c2e\u0c35\u0c3e\u0c30\u0c02_\u0c2e\u0c02\u0c17\u0c33\u0c35\u0c3e\u0c30\u0c02_\u0c2c\u0c41\u0c27\u0c35\u0c3e\u0c30\u0c02_\u0c17\u0c41\u0c30\u0c41\u0c35\u0c3e\u0c30\u0c02_\u0c36\u0c41\u0c15\u0c4d\u0c30\u0c35\u0c3e\u0c30\u0c02_\u0c36\u0c28\u0c3f\u0c35\u0c3e\u0c30\u0c02".split("_"),weekdaysShort:"\u0c06\u0c26\u0c3f_\u0c38\u0c4b\u0c2e_\u0c2e\u0c02\u0c17\u0c33_\u0c2c\u0c41\u0c27_\u0c17\u0c41\u0c30\u0c41_\u0c36\u0c41\u0c15\u0c4d\u0c30_\u0c36\u0c28\u0c3f".split("_"),weekdaysMin:"\u0c06_\u0c38\u0c4b_\u0c2e\u0c02_\u0c2c\u0c41_\u0c17\u0c41_\u0c36\u0c41_\u0c36".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[\u0c28\u0c47\u0c21\u0c41] LT",nextDay:"[\u0c30\u0c47\u0c2a\u0c41] LT",nextWeek:"dddd, LT",lastDay:"[\u0c28\u0c3f\u0c28\u0c4d\u0c28] LT",lastWeek:"[\u0c17\u0c24] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0c32\u0c4b",past:"%s \u0c15\u0c4d\u0c30\u0c3f\u0c24\u0c02",s:"\u0c15\u0c4a\u0c28\u0c4d\u0c28\u0c3f \u0c15\u0c4d\u0c37\u0c23\u0c3e\u0c32\u0c41",ss:"%d \u0c38\u0c46\u0c15\u0c28\u0c4d\u0c32\u0c41",m:"\u0c12\u0c15 \u0c28\u0c3f\u0c2e\u0c3f\u0c37\u0c02",mm:"%d \u0c28\u0c3f\u0c2e\u0c3f\u0c37\u0c3e\u0c32\u0c41",h:"\u0c12\u0c15 \u0c17\u0c02\u0c1f",hh:"%d \u0c17\u0c02\u0c1f\u0c32\u0c41",d:"\u0c12\u0c15 \u0c30\u0c4b\u0c1c\u0c41",dd:"%d \u0c30\u0c4b\u0c1c\u0c41\u0c32\u0c41",M:"\u0c12\u0c15 \u0c28\u0c46\u0c32",MM:"%d \u0c28\u0c46\u0c32\u0c32\u0c41",y:"\u0c12\u0c15 \u0c38\u0c02\u0c35\u0c24\u0c4d\u0c38\u0c30\u0c02",yy:"%d \u0c38\u0c02\u0c35\u0c24\u0c4d\u0c38\u0c30\u0c3e\u0c32\u0c41"},dayOfMonthOrdinalParse:/\d{1,2}\u0c35/,ordinal:"%d\u0c35",meridiemParse:/\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f|\u0c09\u0c26\u0c2f\u0c02|\u0c2e\u0c27\u0c4d\u0c2f\u0c3e\u0c39\u0c4d\u0c28\u0c02|\u0c38\u0c3e\u0c2f\u0c02\u0c24\u0c4d\u0c30\u0c02/,meridiemHour:function(d,u){return 12===d&&(d=0),"\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f"===u?d<4?d:d+12:"\u0c09\u0c26\u0c2f\u0c02"===u?d:"\u0c2e\u0c27\u0c4d\u0c2f\u0c3e\u0c39\u0c4d\u0c28\u0c02"===u?d>=10?d:d+12:"\u0c38\u0c3e\u0c2f\u0c02\u0c24\u0c4d\u0c30\u0c02"===u?d+12:void 0},meridiem:function(d,u,p){return d<4?"\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f":d<10?"\u0c09\u0c26\u0c2f\u0c02":d<17?"\u0c2e\u0c27\u0c4d\u0c2f\u0c3e\u0c39\u0c4d\u0c28\u0c02":d<20?"\u0c38\u0c3e\u0c2f\u0c02\u0c24\u0c4d\u0c30\u0c02":"\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f"},week:{dow:0,doy:6}})}(w(5439))},2115:function(se,q,w){!function(v){"use strict";v.defineLocale("tet",{months:"Janeiru_Fevereiru_Marsu_Abril_Maiu_Ju\xf1u_Jullu_Agustu_Setembru_Outubru_Novembru_Dezembru".split("_"),monthsShort:"Jan_Fev_Mar_Abr_Mai_Jun_Jul_Ago_Set_Out_Nov_Dez".split("_"),weekdays:"Domingu_Segunda_Tersa_Kuarta_Kinta_Sesta_Sabadu".split("_"),weekdaysShort:"Dom_Seg_Ters_Kua_Kint_Sest_Sab".split("_"),weekdaysMin:"Do_Seg_Te_Ku_Ki_Ses_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Ohin iha] LT",nextDay:"[Aban iha] LT",nextWeek:"dddd [iha] LT",lastDay:"[Horiseik iha] LT",lastWeek:"dddd [semana kotuk] [iha] LT",sameElse:"L"},relativeTime:{future:"iha %s",past:"%s liuba",s:"segundu balun",ss:"segundu %d",m:"minutu ida",mm:"minutu %d",h:"oras ida",hh:"oras %d",d:"loron ida",dd:"loron %d",M:"fulan ida",MM:"fulan %d",y:"tinan ida",yy:"tinan %d"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(d){var u=d%10;return d+(1==~~(d%100/10)?"th":1===u?"st":2===u?"nd":3===u?"rd":"th")},week:{dow:1,doy:4}})}(w(5439))},9801:function(se,q,w){!function(v){"use strict";var m={0:"-\u0443\u043c",1:"-\u0443\u043c",2:"-\u044e\u043c",3:"-\u044e\u043c",4:"-\u0443\u043c",5:"-\u0443\u043c",6:"-\u0443\u043c",7:"-\u0443\u043c",8:"-\u0443\u043c",9:"-\u0443\u043c",10:"-\u0443\u043c",12:"-\u0443\u043c",13:"-\u0443\u043c",20:"-\u0443\u043c",30:"-\u044e\u043c",40:"-\u0443\u043c",50:"-\u0443\u043c",60:"-\u0443\u043c",70:"-\u0443\u043c",80:"-\u0443\u043c",90:"-\u0443\u043c",100:"-\u0443\u043c"};v.defineLocale("tg",{months:{format:"\u044f\u043d\u0432\u0430\u0440\u0438_\u0444\u0435\u0432\u0440\u0430\u043b\u0438_\u043c\u0430\u0440\u0442\u0438_\u0430\u043f\u0440\u0435\u043b\u0438_\u043c\u0430\u0439\u0438_\u0438\u044e\u043d\u0438_\u0438\u044e\u043b\u0438_\u0430\u0432\u0433\u0443\u0441\u0442\u0438_\u0441\u0435\u043d\u0442\u044f\u0431\u0440\u0438_\u043e\u043a\u0442\u044f\u0431\u0440\u0438_\u043d\u043e\u044f\u0431\u0440\u0438_\u0434\u0435\u043a\u0430\u0431\u0440\u0438".split("_"),standalone:"\u044f\u043d\u0432\u0430\u0440_\u0444\u0435\u0432\u0440\u0430\u043b_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0435\u043b_\u043c\u0430\u0439_\u0438\u044e\u043d_\u0438\u044e\u043b_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043d\u0442\u044f\u0431\u0440_\u043e\u043a\u0442\u044f\u0431\u0440_\u043d\u043e\u044f\u0431\u0440_\u0434\u0435\u043a\u0430\u0431\u0440".split("_")},monthsShort:"\u044f\u043d\u0432_\u0444\u0435\u0432_\u043c\u0430\u0440_\u0430\u043f\u0440_\u043c\u0430\u0439_\u0438\u044e\u043d_\u0438\u044e\u043b_\u0430\u0432\u0433_\u0441\u0435\u043d_\u043e\u043a\u0442_\u043d\u043e\u044f_\u0434\u0435\u043a".split("_"),weekdays:"\u044f\u043a\u0448\u0430\u043d\u0431\u0435_\u0434\u0443\u0448\u0430\u043d\u0431\u0435_\u0441\u0435\u0448\u0430\u043d\u0431\u0435_\u0447\u043e\u0440\u0448\u0430\u043d\u0431\u0435_\u043f\u0430\u043d\u04b7\u0448\u0430\u043d\u0431\u0435_\u04b7\u0443\u043c\u044a\u0430_\u0448\u0430\u043d\u0431\u0435".split("_"),weekdaysShort:"\u044f\u0448\u0431_\u0434\u0448\u0431_\u0441\u0448\u0431_\u0447\u0448\u0431_\u043f\u0448\u0431_\u04b7\u0443\u043c_\u0448\u043d\u0431".split("_"),weekdaysMin:"\u044f\u0448_\u0434\u0448_\u0441\u0448_\u0447\u0448_\u043f\u0448_\u04b7\u043c_\u0448\u0431".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0418\u043c\u0440\u04ef\u0437 \u0441\u043e\u0430\u0442\u0438] LT",nextDay:"[\u0424\u0430\u0440\u0434\u043e \u0441\u043e\u0430\u0442\u0438] LT",lastDay:"[\u0414\u0438\u0440\u04ef\u0437 \u0441\u043e\u0430\u0442\u0438] LT",nextWeek:"dddd[\u0438] [\u04b3\u0430\u0444\u0442\u0430\u0438 \u043e\u044f\u043d\u0434\u0430 \u0441\u043e\u0430\u0442\u0438] LT",lastWeek:"dddd[\u0438] [\u04b3\u0430\u0444\u0442\u0430\u0438 \u0433\u0443\u0437\u0430\u0448\u0442\u0430 \u0441\u043e\u0430\u0442\u0438] LT",sameElse:"L"},relativeTime:{future:"\u0431\u0430\u044a\u0434\u0438 %s",past:"%s \u043f\u0435\u0448",s:"\u044f\u043a\u0447\u0430\u043d\u0434 \u0441\u043e\u043d\u0438\u044f",m:"\u044f\u043a \u0434\u0430\u049b\u0438\u049b\u0430",mm:"%d \u0434\u0430\u049b\u0438\u049b\u0430",h:"\u044f\u043a \u0441\u043e\u0430\u0442",hh:"%d \u0441\u043e\u0430\u0442",d:"\u044f\u043a \u0440\u04ef\u0437",dd:"%d \u0440\u04ef\u0437",M:"\u044f\u043a \u043c\u043e\u04b3",MM:"%d \u043c\u043e\u04b3",y:"\u044f\u043a \u0441\u043e\u043b",yy:"%d \u0441\u043e\u043b"},meridiemParse:/\u0448\u0430\u0431|\u0441\u0443\u0431\u04b3|\u0440\u04ef\u0437|\u0431\u0435\u0433\u043e\u04b3/,meridiemHour:function(u,p){return 12===u&&(u=0),"\u0448\u0430\u0431"===p?u<4?u:u+12:"\u0441\u0443\u0431\u04b3"===p?u:"\u0440\u04ef\u0437"===p?u>=11?u:u+12:"\u0431\u0435\u0433\u043e\u04b3"===p?u+12:void 0},meridiem:function(u,p,g){return u<4?"\u0448\u0430\u0431":u<11?"\u0441\u0443\u0431\u04b3":u<16?"\u0440\u04ef\u0437":u<19?"\u0431\u0435\u0433\u043e\u04b3":"\u0448\u0430\u0431"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0443\u043c|\u044e\u043c)/,ordinal:function(u){return u+(m[u]||m[u%10]||m[u>=100?100:null])},week:{dow:1,doy:7}})}(w(5439))},2868:function(se,q,w){!function(v){"use strict";v.defineLocale("th",{months:"\u0e21\u0e01\u0e23\u0e32\u0e04\u0e21_\u0e01\u0e38\u0e21\u0e20\u0e32\u0e1e\u0e31\u0e19\u0e18\u0e4c_\u0e21\u0e35\u0e19\u0e32\u0e04\u0e21_\u0e40\u0e21\u0e29\u0e32\u0e22\u0e19_\u0e1e\u0e24\u0e29\u0e20\u0e32\u0e04\u0e21_\u0e21\u0e34\u0e16\u0e38\u0e19\u0e32\u0e22\u0e19_\u0e01\u0e23\u0e01\u0e0e\u0e32\u0e04\u0e21_\u0e2a\u0e34\u0e07\u0e2b\u0e32\u0e04\u0e21_\u0e01\u0e31\u0e19\u0e22\u0e32\u0e22\u0e19_\u0e15\u0e38\u0e25\u0e32\u0e04\u0e21_\u0e1e\u0e24\u0e28\u0e08\u0e34\u0e01\u0e32\u0e22\u0e19_\u0e18\u0e31\u0e19\u0e27\u0e32\u0e04\u0e21".split("_"),monthsShort:"\u0e21.\u0e04._\u0e01.\u0e1e._\u0e21\u0e35.\u0e04._\u0e40\u0e21.\u0e22._\u0e1e.\u0e04._\u0e21\u0e34.\u0e22._\u0e01.\u0e04._\u0e2a.\u0e04._\u0e01.\u0e22._\u0e15.\u0e04._\u0e1e.\u0e22._\u0e18.\u0e04.".split("_"),monthsParseExact:!0,weekdays:"\u0e2d\u0e32\u0e17\u0e34\u0e15\u0e22\u0e4c_\u0e08\u0e31\u0e19\u0e17\u0e23\u0e4c_\u0e2d\u0e31\u0e07\u0e04\u0e32\u0e23_\u0e1e\u0e38\u0e18_\u0e1e\u0e24\u0e2b\u0e31\u0e2a\u0e1a\u0e14\u0e35_\u0e28\u0e38\u0e01\u0e23\u0e4c_\u0e40\u0e2a\u0e32\u0e23\u0e4c".split("_"),weekdaysShort:"\u0e2d\u0e32\u0e17\u0e34\u0e15\u0e22\u0e4c_\u0e08\u0e31\u0e19\u0e17\u0e23\u0e4c_\u0e2d\u0e31\u0e07\u0e04\u0e32\u0e23_\u0e1e\u0e38\u0e18_\u0e1e\u0e24\u0e2b\u0e31\u0e2a_\u0e28\u0e38\u0e01\u0e23\u0e4c_\u0e40\u0e2a\u0e32\u0e23\u0e4c".split("_"),weekdaysMin:"\u0e2d\u0e32._\u0e08._\u0e2d._\u0e1e._\u0e1e\u0e24._\u0e28._\u0e2a.".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY \u0e40\u0e27\u0e25\u0e32 H:mm",LLLL:"\u0e27\u0e31\u0e19dddd\u0e17\u0e35\u0e48 D MMMM YYYY \u0e40\u0e27\u0e25\u0e32 H:mm"},meridiemParse:/\u0e01\u0e48\u0e2d\u0e19\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07|\u0e2b\u0e25\u0e31\u0e07\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07/,isPM:function(d){return"\u0e2b\u0e25\u0e31\u0e07\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07"===d},meridiem:function(d,u,p){return d<12?"\u0e01\u0e48\u0e2d\u0e19\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07":"\u0e2b\u0e25\u0e31\u0e07\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07"},calendar:{sameDay:"[\u0e27\u0e31\u0e19\u0e19\u0e35\u0e49 \u0e40\u0e27\u0e25\u0e32] LT",nextDay:"[\u0e1e\u0e23\u0e38\u0e48\u0e07\u0e19\u0e35\u0e49 \u0e40\u0e27\u0e25\u0e32] LT",nextWeek:"dddd[\u0e2b\u0e19\u0e49\u0e32 \u0e40\u0e27\u0e25\u0e32] LT",lastDay:"[\u0e40\u0e21\u0e37\u0e48\u0e2d\u0e27\u0e32\u0e19\u0e19\u0e35\u0e49 \u0e40\u0e27\u0e25\u0e32] LT",lastWeek:"[\u0e27\u0e31\u0e19]dddd[\u0e17\u0e35\u0e48\u0e41\u0e25\u0e49\u0e27 \u0e40\u0e27\u0e25\u0e32] LT",sameElse:"L"},relativeTime:{future:"\u0e2d\u0e35\u0e01 %s",past:"%s\u0e17\u0e35\u0e48\u0e41\u0e25\u0e49\u0e27",s:"\u0e44\u0e21\u0e48\u0e01\u0e35\u0e48\u0e27\u0e34\u0e19\u0e32\u0e17\u0e35",ss:"%d \u0e27\u0e34\u0e19\u0e32\u0e17\u0e35",m:"1 \u0e19\u0e32\u0e17\u0e35",mm:"%d \u0e19\u0e32\u0e17\u0e35",h:"1 \u0e0a\u0e31\u0e48\u0e27\u0e42\u0e21\u0e07",hh:"%d \u0e0a\u0e31\u0e48\u0e27\u0e42\u0e21\u0e07",d:"1 \u0e27\u0e31\u0e19",dd:"%d \u0e27\u0e31\u0e19",w:"1 \u0e2a\u0e31\u0e1b\u0e14\u0e32\u0e2b\u0e4c",ww:"%d \u0e2a\u0e31\u0e1b\u0e14\u0e32\u0e2b\u0e4c",M:"1 \u0e40\u0e14\u0e37\u0e2d\u0e19",MM:"%d \u0e40\u0e14\u0e37\u0e2d\u0e19",y:"1 \u0e1b\u0e35",yy:"%d \u0e1b\u0e35"}})}(w(5439))},1310:function(se,q,w){!function(v){"use strict";var m={1:"'inji",5:"'inji",8:"'inji",70:"'inji",80:"'inji",2:"'nji",7:"'nji",20:"'nji",50:"'nji",3:"'\xfcnji",4:"'\xfcnji",100:"'\xfcnji",6:"'njy",9:"'unjy",10:"'unjy",30:"'unjy",60:"'ynjy",90:"'ynjy"};v.defineLocale("tk",{months:"\xddanwar_Fewral_Mart_Aprel_Ma\xfd_I\xfdun_I\xfdul_Awgust_Sent\xfdabr_Okt\xfdabr_No\xfdabr_Dekabr".split("_"),monthsShort:"\xddan_Few_Mar_Apr_Ma\xfd_I\xfdn_I\xfdl_Awg_Sen_Okt_No\xfd_Dek".split("_"),weekdays:"\xddek\u015fenbe_Du\u015fenbe_Si\u015fenbe_\xc7ar\u015fenbe_Pen\u015fenbe_Anna_\u015eenbe".split("_"),weekdaysShort:"\xddek_Du\u015f_Si\u015f_\xc7ar_Pen_Ann_\u015een".split("_"),weekdaysMin:"\xddk_D\u015f_S\u015f_\xc7r_Pn_An_\u015en".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bug\xfcn sagat] LT",nextDay:"[ertir sagat] LT",nextWeek:"[indiki] dddd [sagat] LT",lastDay:"[d\xfc\xfdn] LT",lastWeek:"[ge\xe7en] dddd [sagat] LT",sameElse:"L"},relativeTime:{future:"%s so\u0148",past:"%s \xf6\u0148",s:"birn\xe4\xe7e sekunt",m:"bir minut",mm:"%d minut",h:"bir sagat",hh:"%d sagat",d:"bir g\xfcn",dd:"%d g\xfcn",M:"bir a\xfd",MM:"%d a\xfd",y:"bir \xfdyl",yy:"%d \xfdyl"},ordinal:function(u,p){switch(p){case"d":case"D":case"Do":case"DD":return u;default:if(0===u)return u+"'unjy";var g=u%10;return u+(m[g]||m[u%100-g]||m[u>=100?100:null])}},week:{dow:1,doy:7}})}(w(5439))},2360:function(se,q,w){!function(v){"use strict";v.defineLocale("tl-ph",{months:"Enero_Pebrero_Marso_Abril_Mayo_Hunyo_Hulyo_Agosto_Setyembre_Oktubre_Nobyembre_Disyembre".split("_"),monthsShort:"Ene_Peb_Mar_Abr_May_Hun_Hul_Ago_Set_Okt_Nob_Dis".split("_"),weekdays:"Linggo_Lunes_Martes_Miyerkules_Huwebes_Biyernes_Sabado".split("_"),weekdaysShort:"Lin_Lun_Mar_Miy_Huw_Biy_Sab".split("_"),weekdaysMin:"Li_Lu_Ma_Mi_Hu_Bi_Sab".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"MM/D/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY HH:mm",LLLL:"dddd, MMMM DD, YYYY HH:mm"},calendar:{sameDay:"LT [ngayong araw]",nextDay:"[Bukas ng] LT",nextWeek:"LT [sa susunod na] dddd",lastDay:"LT [kahapon]",lastWeek:"LT [noong nakaraang] dddd",sameElse:"L"},relativeTime:{future:"sa loob ng %s",past:"%s ang nakalipas",s:"ilang segundo",ss:"%d segundo",m:"isang minuto",mm:"%d minuto",h:"isang oras",hh:"%d oras",d:"isang araw",dd:"%d araw",M:"isang buwan",MM:"%d buwan",y:"isang taon",yy:"%d taon"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:function(d){return d},week:{dow:1,doy:4}})}(w(5439))},6645:function(se,q,w){!function(v){"use strict";var m="pagh_wa\u2019_cha\u2019_wej_loS_vagh_jav_Soch_chorgh_Hut".split("_");function p(b,C,P,N){var R=function g(b){var C=Math.floor(b%1e3/100),P=Math.floor(b%100/10),N=b%10,R="";return C>0&&(R+=m[C]+"vatlh"),P>0&&(R+=(""!==R?" ":"")+m[P]+"maH"),N>0&&(R+=(""!==R?" ":"")+m[N]),""===R?"pagh":R}(b);switch(P){case"ss":return R+" lup";case"mm":return R+" tup";case"hh":return R+" rep";case"dd":return R+" jaj";case"MM":return R+" jar";case"yy":return R+" DIS"}}v.defineLocale("tlh",{months:"tera\u2019 jar wa\u2019_tera\u2019 jar cha\u2019_tera\u2019 jar wej_tera\u2019 jar loS_tera\u2019 jar vagh_tera\u2019 jar jav_tera\u2019 jar Soch_tera\u2019 jar chorgh_tera\u2019 jar Hut_tera\u2019 jar wa\u2019maH_tera\u2019 jar wa\u2019maH wa\u2019_tera\u2019 jar wa\u2019maH cha\u2019".split("_"),monthsShort:"jar wa\u2019_jar cha\u2019_jar wej_jar loS_jar vagh_jar jav_jar Soch_jar chorgh_jar Hut_jar wa\u2019maH_jar wa\u2019maH wa\u2019_jar wa\u2019maH cha\u2019".split("_"),monthsParseExact:!0,weekdays:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),weekdaysShort:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),weekdaysMin:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[DaHjaj] LT",nextDay:"[wa\u2019leS] LT",nextWeek:"LLL",lastDay:"[wa\u2019Hu\u2019] LT",lastWeek:"LLL",sameElse:"L"},relativeTime:{future:function d(b){var C=b;return-1!==b.indexOf("jaj")?C.slice(0,-3)+"leS":-1!==b.indexOf("jar")?C.slice(0,-3)+"waQ":-1!==b.indexOf("DIS")?C.slice(0,-3)+"nem":C+" pIq"},past:function u(b){var C=b;return-1!==b.indexOf("jaj")?C.slice(0,-3)+"Hu\u2019":-1!==b.indexOf("jar")?C.slice(0,-3)+"wen":-1!==b.indexOf("DIS")?C.slice(0,-3)+"ben":C+" ret"},s:"puS lup",ss:p,m:"wa\u2019 tup",mm:p,h:"wa\u2019 rep",hh:p,d:"wa\u2019 jaj",dd:p,M:"wa\u2019 jar",MM:p,y:"wa\u2019 DIS",yy:p},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(w(5439))},8374:function(se,q,w){!function(v){"use strict";var m={1:"'inci",5:"'inci",8:"'inci",70:"'inci",80:"'inci",2:"'nci",7:"'nci",20:"'nci",50:"'nci",3:"'\xfcnc\xfc",4:"'\xfcnc\xfc",100:"'\xfcnc\xfc",6:"'nc\u0131",9:"'uncu",10:"'uncu",30:"'uncu",60:"'\u0131nc\u0131",90:"'\u0131nc\u0131"};v.defineLocale("tr",{months:"Ocak_\u015eubat_Mart_Nisan_May\u0131s_Haziran_Temmuz_A\u011fustos_Eyl\xfcl_Ekim_Kas\u0131m_Aral\u0131k".split("_"),monthsShort:"Oca_\u015eub_Mar_Nis_May_Haz_Tem_A\u011fu_Eyl_Eki_Kas_Ara".split("_"),weekdays:"Pazar_Pazartesi_Sal\u0131_\xc7ar\u015famba_Per\u015fembe_Cuma_Cumartesi".split("_"),weekdaysShort:"Paz_Pzt_Sal_\xc7ar_Per_Cum_Cmt".split("_"),weekdaysMin:"Pz_Pt_Sa_\xc7a_Pe_Cu_Ct".split("_"),meridiem:function(u,p,g){return u<12?g?"\xf6\xf6":"\xd6\xd6":g?"\xf6s":"\xd6S"},meridiemParse:/\xf6\xf6|\xd6\xd6|\xf6s|\xd6S/,isPM:function(u){return"\xf6s"===u||"\xd6S"===u},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bug\xfcn saat] LT",nextDay:"[yar\u0131n saat] LT",nextWeek:"[gelecek] dddd [saat] LT",lastDay:"[d\xfcn] LT",lastWeek:"[ge\xe7en] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s sonra",past:"%s \xf6nce",s:"birka\xe7 saniye",ss:"%d saniye",m:"bir dakika",mm:"%d dakika",h:"bir saat",hh:"%d saat",d:"bir g\xfcn",dd:"%d g\xfcn",w:"bir hafta",ww:"%d hafta",M:"bir ay",MM:"%d ay",y:"bir y\u0131l",yy:"%d y\u0131l"},ordinal:function(u,p){switch(p){case"d":case"D":case"Do":case"DD":return u;default:if(0===u)return u+"'\u0131nc\u0131";var g=u%10;return u+(m[g]||m[u%100-g]||m[u>=100?100:null])}},week:{dow:1,doy:7}})}(w(5439))},256:function(se,q,w){!function(v){"use strict";function d(u,p,g,y){var b={s:["viensas secunds","'iensas secunds"],ss:[u+" secunds",u+" secunds"],m:["'n m\xedut","'iens m\xedut"],mm:[u+" m\xeduts",u+" m\xeduts"],h:["'n \xfeora","'iensa \xfeora"],hh:[u+" \xfeoras",u+" \xfeoras"],d:["'n ziua","'iensa ziua"],dd:[u+" ziuas",u+" ziuas"],M:["'n mes","'iens mes"],MM:[u+" mesen",u+" mesen"],y:["'n ar","'iens ar"],yy:[u+" ars",u+" ars"]};return y||p?b[g][0]:b[g][1]}v.defineLocale("tzl",{months:"Januar_Fevraglh_Mar\xe7_Avr\xefu_Mai_G\xfcn_Julia_Guscht_Setemvar_Listop\xe4ts_Noemvar_Zecemvar".split("_"),monthsShort:"Jan_Fev_Mar_Avr_Mai_G\xfcn_Jul_Gus_Set_Lis_Noe_Zec".split("_"),weekdays:"S\xfaladi_L\xfane\xe7i_Maitzi_M\xe1rcuri_Xh\xfaadi_Vi\xe9ner\xe7i_S\xe1turi".split("_"),weekdaysShort:"S\xfal_L\xfan_Mai_M\xe1r_Xh\xfa_Vi\xe9_S\xe1t".split("_"),weekdaysMin:"S\xfa_L\xfa_Ma_M\xe1_Xh_Vi_S\xe1".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD.MM.YYYY",LL:"D. MMMM [dallas] YYYY",LLL:"D. MMMM [dallas] YYYY HH.mm",LLLL:"dddd, [li] D. MMMM [dallas] YYYY HH.mm"},meridiemParse:/d\'o|d\'a/i,isPM:function(u){return"d'o"===u.toLowerCase()},meridiem:function(u,p,g){return u>11?g?"d'o":"D'O":g?"d'a":"D'A"},calendar:{sameDay:"[oxhi \xe0] LT",nextDay:"[dem\xe0 \xe0] LT",nextWeek:"dddd [\xe0] LT",lastDay:"[ieiri \xe0] LT",lastWeek:"[s\xfcr el] dddd [lasteu \xe0] LT",sameElse:"L"},relativeTime:{future:"osprei %s",past:"ja%s",s:d,ss:d,m:d,mm:d,h:d,hh:d,d,dd:d,M:d,MM:d,y:d,yy:d},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(w(5439))},1631:function(se,q,w){!function(v){"use strict";v.defineLocale("tzm-latn",{months:"innayr_br\u02e4ayr\u02e4_mar\u02e4s\u02e4_ibrir_mayyw_ywnyw_ywlywz_\u0263w\u0161t_\u0161wtanbir_kt\u02e4wbr\u02e4_nwwanbir_dwjnbir".split("_"),monthsShort:"innayr_br\u02e4ayr\u02e4_mar\u02e4s\u02e4_ibrir_mayyw_ywnyw_ywlywz_\u0263w\u0161t_\u0161wtanbir_kt\u02e4wbr\u02e4_nwwanbir_dwjnbir".split("_"),weekdays:"asamas_aynas_asinas_akras_akwas_asimwas_asi\u1e0dyas".split("_"),weekdaysShort:"asamas_aynas_asinas_akras_akwas_asimwas_asi\u1e0dyas".split("_"),weekdaysMin:"asamas_aynas_asinas_akras_akwas_asimwas_asi\u1e0dyas".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[asdkh g] LT",nextDay:"[aska g] LT",nextWeek:"dddd [g] LT",lastDay:"[assant g] LT",lastWeek:"dddd [g] LT",sameElse:"L"},relativeTime:{future:"dadkh s yan %s",past:"yan %s",s:"imik",ss:"%d imik",m:"minu\u1e0d",mm:"%d minu\u1e0d",h:"sa\u025ba",hh:"%d tassa\u025bin",d:"ass",dd:"%d ossan",M:"ayowr",MM:"%d iyyirn",y:"asgas",yy:"%d isgasn"},week:{dow:6,doy:12}})}(w(5439))},1595:function(se,q,w){!function(v){"use strict";v.defineLocale("tzm",{months:"\u2d49\u2d4f\u2d4f\u2d30\u2d62\u2d54_\u2d31\u2d55\u2d30\u2d62\u2d55_\u2d4e\u2d30\u2d55\u2d5a_\u2d49\u2d31\u2d54\u2d49\u2d54_\u2d4e\u2d30\u2d62\u2d62\u2d53_\u2d62\u2d53\u2d4f\u2d62\u2d53_\u2d62\u2d53\u2d4d\u2d62\u2d53\u2d63_\u2d56\u2d53\u2d5b\u2d5c_\u2d5b\u2d53\u2d5c\u2d30\u2d4f\u2d31\u2d49\u2d54_\u2d3d\u2d5f\u2d53\u2d31\u2d55_\u2d4f\u2d53\u2d61\u2d30\u2d4f\u2d31\u2d49\u2d54_\u2d37\u2d53\u2d4a\u2d4f\u2d31\u2d49\u2d54".split("_"),monthsShort:"\u2d49\u2d4f\u2d4f\u2d30\u2d62\u2d54_\u2d31\u2d55\u2d30\u2d62\u2d55_\u2d4e\u2d30\u2d55\u2d5a_\u2d49\u2d31\u2d54\u2d49\u2d54_\u2d4e\u2d30\u2d62\u2d62\u2d53_\u2d62\u2d53\u2d4f\u2d62\u2d53_\u2d62\u2d53\u2d4d\u2d62\u2d53\u2d63_\u2d56\u2d53\u2d5b\u2d5c_\u2d5b\u2d53\u2d5c\u2d30\u2d4f\u2d31\u2d49\u2d54_\u2d3d\u2d5f\u2d53\u2d31\u2d55_\u2d4f\u2d53\u2d61\u2d30\u2d4f\u2d31\u2d49\u2d54_\u2d37\u2d53\u2d4a\u2d4f\u2d31\u2d49\u2d54".split("_"),weekdays:"\u2d30\u2d59\u2d30\u2d4e\u2d30\u2d59_\u2d30\u2d62\u2d4f\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4f\u2d30\u2d59_\u2d30\u2d3d\u2d54\u2d30\u2d59_\u2d30\u2d3d\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4e\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d39\u2d62\u2d30\u2d59".split("_"),weekdaysShort:"\u2d30\u2d59\u2d30\u2d4e\u2d30\u2d59_\u2d30\u2d62\u2d4f\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4f\u2d30\u2d59_\u2d30\u2d3d\u2d54\u2d30\u2d59_\u2d30\u2d3d\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4e\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d39\u2d62\u2d30\u2d59".split("_"),weekdaysMin:"\u2d30\u2d59\u2d30\u2d4e\u2d30\u2d59_\u2d30\u2d62\u2d4f\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4f\u2d30\u2d59_\u2d30\u2d3d\u2d54\u2d30\u2d59_\u2d30\u2d3d\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4e\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d39\u2d62\u2d30\u2d59".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u2d30\u2d59\u2d37\u2d45 \u2d34] LT",nextDay:"[\u2d30\u2d59\u2d3d\u2d30 \u2d34] LT",nextWeek:"dddd [\u2d34] LT",lastDay:"[\u2d30\u2d5a\u2d30\u2d4f\u2d5c \u2d34] LT",lastWeek:"dddd [\u2d34] LT",sameElse:"L"},relativeTime:{future:"\u2d37\u2d30\u2d37\u2d45 \u2d59 \u2d62\u2d30\u2d4f %s",past:"\u2d62\u2d30\u2d4f %s",s:"\u2d49\u2d4e\u2d49\u2d3d",ss:"%d \u2d49\u2d4e\u2d49\u2d3d",m:"\u2d4e\u2d49\u2d4f\u2d53\u2d3a",mm:"%d \u2d4e\u2d49\u2d4f\u2d53\u2d3a",h:"\u2d59\u2d30\u2d44\u2d30",hh:"%d \u2d5c\u2d30\u2d59\u2d59\u2d30\u2d44\u2d49\u2d4f",d:"\u2d30\u2d59\u2d59",dd:"%d o\u2d59\u2d59\u2d30\u2d4f",M:"\u2d30\u2d62o\u2d53\u2d54",MM:"%d \u2d49\u2d62\u2d62\u2d49\u2d54\u2d4f",y:"\u2d30\u2d59\u2d33\u2d30\u2d59",yy:"%d \u2d49\u2d59\u2d33\u2d30\u2d59\u2d4f"},week:{dow:6,doy:12}})}(w(5439))},6050:function(se,q,w){!function(v){"use strict";v.defineLocale("ug-cn",{months:"\u064a\u0627\u0646\u06cb\u0627\u0631_\u0641\u06d0\u06cb\u0631\u0627\u0644_\u0645\u0627\u0631\u062a_\u0626\u0627\u067e\u0631\u06d0\u0644_\u0645\u0627\u064a_\u0626\u0649\u064a\u06c7\u0646_\u0626\u0649\u064a\u06c7\u0644_\u0626\u0627\u06cb\u063a\u06c7\u0633\u062a_\u0633\u06d0\u0646\u062a\u06d5\u0628\u0649\u0631_\u0626\u06c6\u0643\u062a\u06d5\u0628\u0649\u0631_\u0646\u0648\u064a\u0627\u0628\u0649\u0631_\u062f\u06d0\u0643\u0627\u0628\u0649\u0631".split("_"),monthsShort:"\u064a\u0627\u0646\u06cb\u0627\u0631_\u0641\u06d0\u06cb\u0631\u0627\u0644_\u0645\u0627\u0631\u062a_\u0626\u0627\u067e\u0631\u06d0\u0644_\u0645\u0627\u064a_\u0626\u0649\u064a\u06c7\u0646_\u0626\u0649\u064a\u06c7\u0644_\u0626\u0627\u06cb\u063a\u06c7\u0633\u062a_\u0633\u06d0\u0646\u062a\u06d5\u0628\u0649\u0631_\u0626\u06c6\u0643\u062a\u06d5\u0628\u0649\u0631_\u0646\u0648\u064a\u0627\u0628\u0649\u0631_\u062f\u06d0\u0643\u0627\u0628\u0649\u0631".split("_"),weekdays:"\u064a\u06d5\u0643\u0634\u06d5\u0646\u0628\u06d5_\u062f\u06c8\u0634\u06d5\u0646\u0628\u06d5_\u0633\u06d5\u064a\u0634\u06d5\u0646\u0628\u06d5_\u0686\u0627\u0631\u0634\u06d5\u0646\u0628\u06d5_\u067e\u06d5\u064a\u0634\u06d5\u0646\u0628\u06d5_\u062c\u06c8\u0645\u06d5_\u0634\u06d5\u0646\u0628\u06d5".split("_"),weekdaysShort:"\u064a\u06d5_\u062f\u06c8_\u0633\u06d5_\u0686\u0627_\u067e\u06d5_\u062c\u06c8_\u0634\u06d5".split("_"),weekdaysMin:"\u064a\u06d5_\u062f\u06c8_\u0633\u06d5_\u0686\u0627_\u067e\u06d5_\u062c\u06c8_\u0634\u06d5".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY-\u064a\u0649\u0644\u0649M-\u0626\u0627\u064a\u0646\u0649\u06adD-\u0643\u06c8\u0646\u0649",LLL:"YYYY-\u064a\u0649\u0644\u0649M-\u0626\u0627\u064a\u0646\u0649\u06adD-\u0643\u06c8\u0646\u0649\u060c HH:mm",LLLL:"dddd\u060c YYYY-\u064a\u0649\u0644\u0649M-\u0626\u0627\u064a\u0646\u0649\u06adD-\u0643\u06c8\u0646\u0649\u060c HH:mm"},meridiemParse:/\u064a\u06d0\u0631\u0649\u0645 \u0643\u06d0\u0686\u06d5|\u0633\u06d5\u06be\u06d5\u0631|\u0686\u06c8\u0634\u062a\u0649\u0646 \u0628\u06c7\u0631\u06c7\u0646|\u0686\u06c8\u0634|\u0686\u06c8\u0634\u062a\u0649\u0646 \u0643\u06d0\u064a\u0649\u0646|\u0643\u06d5\u0686/,meridiemHour:function(d,u){return 12===d&&(d=0),"\u064a\u06d0\u0631\u0649\u0645 \u0643\u06d0\u0686\u06d5"===u||"\u0633\u06d5\u06be\u06d5\u0631"===u||"\u0686\u06c8\u0634\u062a\u0649\u0646 \u0628\u06c7\u0631\u06c7\u0646"===u?d:"\u0686\u06c8\u0634\u062a\u0649\u0646 \u0643\u06d0\u064a\u0649\u0646"===u||"\u0643\u06d5\u0686"===u?d+12:d>=11?d:d+12},meridiem:function(d,u,p){var g=100*d+u;return g<600?"\u064a\u06d0\u0631\u0649\u0645 \u0643\u06d0\u0686\u06d5":g<900?"\u0633\u06d5\u06be\u06d5\u0631":g<1130?"\u0686\u06c8\u0634\u062a\u0649\u0646 \u0628\u06c7\u0631\u06c7\u0646":g<1230?"\u0686\u06c8\u0634":g<1800?"\u0686\u06c8\u0634\u062a\u0649\u0646 \u0643\u06d0\u064a\u0649\u0646":"\u0643\u06d5\u0686"},calendar:{sameDay:"[\u0628\u06c8\u06af\u06c8\u0646 \u0633\u0627\u0626\u06d5\u062a] LT",nextDay:"[\u0626\u06d5\u062a\u06d5 \u0633\u0627\u0626\u06d5\u062a] LT",nextWeek:"[\u0643\u06d0\u0644\u06d5\u0631\u0643\u0649] dddd [\u0633\u0627\u0626\u06d5\u062a] LT",lastDay:"[\u062a\u06c6\u0646\u06c8\u06af\u06c8\u0646] LT",lastWeek:"[\u0626\u0627\u0644\u062f\u0649\u0646\u0642\u0649] dddd [\u0633\u0627\u0626\u06d5\u062a] LT",sameElse:"L"},relativeTime:{future:"%s \u0643\u06d0\u064a\u0649\u0646",past:"%s \u0628\u06c7\u0631\u06c7\u0646",s:"\u0646\u06d5\u0686\u0686\u06d5 \u0633\u06d0\u0643\u0648\u0646\u062a",ss:"%d \u0633\u06d0\u0643\u0648\u0646\u062a",m:"\u0628\u0649\u0631 \u0645\u0649\u0646\u06c7\u062a",mm:"%d \u0645\u0649\u0646\u06c7\u062a",h:"\u0628\u0649\u0631 \u0633\u0627\u0626\u06d5\u062a",hh:"%d \u0633\u0627\u0626\u06d5\u062a",d:"\u0628\u0649\u0631 \u0643\u06c8\u0646",dd:"%d \u0643\u06c8\u0646",M:"\u0628\u0649\u0631 \u0626\u0627\u064a",MM:"%d \u0626\u0627\u064a",y:"\u0628\u0649\u0631 \u064a\u0649\u0644",yy:"%d \u064a\u0649\u0644"},dayOfMonthOrdinalParse:/\d{1,2}(-\u0643\u06c8\u0646\u0649|-\u0626\u0627\u064a|-\u06be\u06d5\u067e\u062a\u06d5)/,ordinal:function(d,u){switch(u){case"d":case"D":case"DDD":return d+"-\u0643\u06c8\u0646\u0649";case"w":case"W":return d+"-\u06be\u06d5\u067e\u062a\u06d5";default:return d}},preparse:function(d){return d.replace(/\u060c/g,",")},postformat:function(d){return d.replace(/,/g,"\u060c")},week:{dow:1,doy:7}})}(w(5439))},5610:function(se,q,w){!function(v){"use strict";function d(y,b,C){return"m"===C?b?"\u0445\u0432\u0438\u043b\u0438\u043d\u0430":"\u0445\u0432\u0438\u043b\u0438\u043d\u0443":"h"===C?b?"\u0433\u043e\u0434\u0438\u043d\u0430":"\u0433\u043e\u0434\u0438\u043d\u0443":y+" "+function m(y,b){var C=y.split("_");return b%10==1&&b%100!=11?C[0]:b%10>=2&&b%10<=4&&(b%100<10||b%100>=20)?C[1]:C[2]}({ss:b?"\u0441\u0435\u043a\u0443\u043d\u0434\u0430_\u0441\u0435\u043a\u0443\u043d\u0434\u0438_\u0441\u0435\u043a\u0443\u043d\u0434":"\u0441\u0435\u043a\u0443\u043d\u0434\u0443_\u0441\u0435\u043a\u0443\u043d\u0434\u0438_\u0441\u0435\u043a\u0443\u043d\u0434",mm:b?"\u0445\u0432\u0438\u043b\u0438\u043d\u0430_\u0445\u0432\u0438\u043b\u0438\u043d\u0438_\u0445\u0432\u0438\u043b\u0438\u043d":"\u0445\u0432\u0438\u043b\u0438\u043d\u0443_\u0445\u0432\u0438\u043b\u0438\u043d\u0438_\u0445\u0432\u0438\u043b\u0438\u043d",hh:b?"\u0433\u043e\u0434\u0438\u043d\u0430_\u0433\u043e\u0434\u0438\u043d\u0438_\u0433\u043e\u0434\u0438\u043d":"\u0433\u043e\u0434\u0438\u043d\u0443_\u0433\u043e\u0434\u0438\u043d\u0438_\u0433\u043e\u0434\u0438\u043d",dd:"\u0434\u0435\u043d\u044c_\u0434\u043d\u0456_\u0434\u043d\u0456\u0432",MM:"\u043c\u0456\u0441\u044f\u0446\u044c_\u043c\u0456\u0441\u044f\u0446\u0456_\u043c\u0456\u0441\u044f\u0446\u0456\u0432",yy:"\u0440\u0456\u043a_\u0440\u043e\u043a\u0438_\u0440\u043e\u043a\u0456\u0432"}[C],+y)}function p(y){return function(){return y+"\u043e"+(11===this.hours()?"\u0431":"")+"] LT"}}v.defineLocale("uk",{months:{format:"\u0441\u0456\u0447\u043d\u044f_\u043b\u044e\u0442\u043e\u0433\u043e_\u0431\u0435\u0440\u0435\u0437\u043d\u044f_\u043a\u0432\u0456\u0442\u043d\u044f_\u0442\u0440\u0430\u0432\u043d\u044f_\u0447\u0435\u0440\u0432\u043d\u044f_\u043b\u0438\u043f\u043d\u044f_\u0441\u0435\u0440\u043f\u043d\u044f_\u0432\u0435\u0440\u0435\u0441\u043d\u044f_\u0436\u043e\u0432\u0442\u043d\u044f_\u043b\u0438\u0441\u0442\u043e\u043f\u0430\u0434\u0430_\u0433\u0440\u0443\u0434\u043d\u044f".split("_"),standalone:"\u0441\u0456\u0447\u0435\u043d\u044c_\u043b\u044e\u0442\u0438\u0439_\u0431\u0435\u0440\u0435\u0437\u0435\u043d\u044c_\u043a\u0432\u0456\u0442\u0435\u043d\u044c_\u0442\u0440\u0430\u0432\u0435\u043d\u044c_\u0447\u0435\u0440\u0432\u0435\u043d\u044c_\u043b\u0438\u043f\u0435\u043d\u044c_\u0441\u0435\u0440\u043f\u0435\u043d\u044c_\u0432\u0435\u0440\u0435\u0441\u0435\u043d\u044c_\u0436\u043e\u0432\u0442\u0435\u043d\u044c_\u043b\u0438\u0441\u0442\u043e\u043f\u0430\u0434_\u0433\u0440\u0443\u0434\u0435\u043d\u044c".split("_")},monthsShort:"\u0441\u0456\u0447_\u043b\u044e\u0442_\u0431\u0435\u0440_\u043a\u0432\u0456\u0442_\u0442\u0440\u0430\u0432_\u0447\u0435\u0440\u0432_\u043b\u0438\u043f_\u0441\u0435\u0440\u043f_\u0432\u0435\u0440_\u0436\u043e\u0432\u0442_\u043b\u0438\u0441\u0442_\u0433\u0440\u0443\u0434".split("_"),weekdays:function u(y,b){var C={nominative:"\u043d\u0435\u0434\u0456\u043b\u044f_\u043f\u043e\u043d\u0435\u0434\u0456\u043b\u043e\u043a_\u0432\u0456\u0432\u0442\u043e\u0440\u043e\u043a_\u0441\u0435\u0440\u0435\u0434\u0430_\u0447\u0435\u0442\u0432\u0435\u0440_\u043f\u2019\u044f\u0442\u043d\u0438\u0446\u044f_\u0441\u0443\u0431\u043e\u0442\u0430".split("_"),accusative:"\u043d\u0435\u0434\u0456\u043b\u044e_\u043f\u043e\u043d\u0435\u0434\u0456\u043b\u043e\u043a_\u0432\u0456\u0432\u0442\u043e\u0440\u043e\u043a_\u0441\u0435\u0440\u0435\u0434\u0443_\u0447\u0435\u0442\u0432\u0435\u0440_\u043f\u2019\u044f\u0442\u043d\u0438\u0446\u044e_\u0441\u0443\u0431\u043e\u0442\u0443".split("_"),genitive:"\u043d\u0435\u0434\u0456\u043b\u0456_\u043f\u043e\u043d\u0435\u0434\u0456\u043b\u043a\u0430_\u0432\u0456\u0432\u0442\u043e\u0440\u043a\u0430_\u0441\u0435\u0440\u0435\u0434\u0438_\u0447\u0435\u0442\u0432\u0435\u0440\u0433\u0430_\u043f\u2019\u044f\u0442\u043d\u0438\u0446\u0456_\u0441\u0443\u0431\u043e\u0442\u0438".split("_")};return!0===y?C.nominative.slice(1,7).concat(C.nominative.slice(0,1)):y?C[/(\[[\u0412\u0432\u0423\u0443]\]) ?dddd/.test(b)?"accusative":/\[?(?:\u043c\u0438\u043d\u0443\u043b\u043e\u0457|\u043d\u0430\u0441\u0442\u0443\u043f\u043d\u043e\u0457)? ?\] ?dddd/.test(b)?"genitive":"nominative"][y.day()]:C.nominative},weekdaysShort:"\u043d\u0434_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),weekdaysMin:"\u043d\u0434_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY \u0440.",LLL:"D MMMM YYYY \u0440., HH:mm",LLLL:"dddd, D MMMM YYYY \u0440., HH:mm"},calendar:{sameDay:p("[\u0421\u044c\u043e\u0433\u043e\u0434\u043d\u0456 "),nextDay:p("[\u0417\u0430\u0432\u0442\u0440\u0430 "),lastDay:p("[\u0412\u0447\u043e\u0440\u0430 "),nextWeek:p("[\u0423] dddd ["),lastWeek:function(){switch(this.day()){case 0:case 3:case 5:case 6:return p("[\u041c\u0438\u043d\u0443\u043b\u043e\u0457] dddd [").call(this);case 1:case 2:case 4:return p("[\u041c\u0438\u043d\u0443\u043b\u043e\u0433\u043e] dddd [").call(this)}},sameElse:"L"},relativeTime:{future:"\u0437\u0430 %s",past:"%s \u0442\u043e\u043c\u0443",s:"\u0434\u0435\u043a\u0456\u043b\u044c\u043a\u0430 \u0441\u0435\u043a\u0443\u043d\u0434",ss:d,m:d,mm:d,h:"\u0433\u043e\u0434\u0438\u043d\u0443",hh:d,d:"\u0434\u0435\u043d\u044c",dd:d,M:"\u043c\u0456\u0441\u044f\u0446\u044c",MM:d,y:"\u0440\u0456\u043a",yy:d},meridiemParse:/\u043d\u043e\u0447\u0456|\u0440\u0430\u043d\u043a\u0443|\u0434\u043d\u044f|\u0432\u0435\u0447\u043e\u0440\u0430/,isPM:function(y){return/^(\u0434\u043d\u044f|\u0432\u0435\u0447\u043e\u0440\u0430)$/.test(y)},meridiem:function(y,b,C){return y<4?"\u043d\u043e\u0447\u0456":y<12?"\u0440\u0430\u043d\u043a\u0443":y<17?"\u0434\u043d\u044f":"\u0432\u0435\u0447\u043e\u0440\u0430"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0439|\u0433\u043e)/,ordinal:function(y,b){switch(b){case"M":case"d":case"DDD":case"w":case"W":return y+"-\u0439";case"D":return y+"-\u0433\u043e";default:return y}},week:{dow:1,doy:7}})}(w(5439))},6077:function(se,q,w){!function(v){"use strict";var m=["\u062c\u0646\u0648\u0631\u06cc","\u0641\u0631\u0648\u0631\u06cc","\u0645\u0627\u0631\u0686","\u0627\u067e\u0631\u06cc\u0644","\u0645\u0626\u06cc","\u062c\u0648\u0646","\u062c\u0648\u0644\u0627\u0626\u06cc","\u0627\u06af\u0633\u062a","\u0633\u062a\u0645\u0628\u0631","\u0627\u06a9\u062a\u0648\u0628\u0631","\u0646\u0648\u0645\u0628\u0631","\u062f\u0633\u0645\u0628\u0631"],d=["\u0627\u062a\u0648\u0627\u0631","\u067e\u06cc\u0631","\u0645\u0646\u06af\u0644","\u0628\u062f\u06be","\u062c\u0645\u0639\u0631\u0627\u062a","\u062c\u0645\u0639\u06c1","\u06c1\u0641\u062a\u06c1"];v.defineLocale("ur",{months:m,monthsShort:m,weekdays:d,weekdaysShort:d,weekdaysMin:d,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd\u060c D MMMM YYYY HH:mm"},meridiemParse:/\u0635\u0628\u062d|\u0634\u0627\u0645/,isPM:function(p){return"\u0634\u0627\u0645"===p},meridiem:function(p,g,y){return p<12?"\u0635\u0628\u062d":"\u0634\u0627\u0645"},calendar:{sameDay:"[\u0622\u062c \u0628\u0648\u0642\u062a] LT",nextDay:"[\u06a9\u0644 \u0628\u0648\u0642\u062a] LT",nextWeek:"dddd [\u0628\u0648\u0642\u062a] LT",lastDay:"[\u06af\u0630\u0634\u062a\u06c1 \u0631\u0648\u0632 \u0628\u0648\u0642\u062a] LT",lastWeek:"[\u06af\u0630\u0634\u062a\u06c1] dddd [\u0628\u0648\u0642\u062a] LT",sameElse:"L"},relativeTime:{future:"%s \u0628\u0639\u062f",past:"%s \u0642\u0628\u0644",s:"\u0686\u0646\u062f \u0633\u06cc\u06a9\u0646\u0688",ss:"%d \u0633\u06cc\u06a9\u0646\u0688",m:"\u0627\u06cc\u06a9 \u0645\u0646\u0679",mm:"%d \u0645\u0646\u0679",h:"\u0627\u06cc\u06a9 \u06af\u06be\u0646\u0679\u06c1",hh:"%d \u06af\u06be\u0646\u0679\u06d2",d:"\u0627\u06cc\u06a9 \u062f\u0646",dd:"%d \u062f\u0646",M:"\u0627\u06cc\u06a9 \u0645\u0627\u06c1",MM:"%d \u0645\u0627\u06c1",y:"\u0627\u06cc\u06a9 \u0633\u0627\u0644",yy:"%d \u0633\u0627\u0644"},preparse:function(p){return p.replace(/\u060c/g,",")},postformat:function(p){return p.replace(/,/g,"\u060c")},week:{dow:1,doy:4}})}(w(5439))},2207:function(se,q,w){!function(v){"use strict";v.defineLocale("uz-latn",{months:"Yanvar_Fevral_Mart_Aprel_May_Iyun_Iyul_Avgust_Sentabr_Oktabr_Noyabr_Dekabr".split("_"),monthsShort:"Yan_Fev_Mar_Apr_May_Iyun_Iyul_Avg_Sen_Okt_Noy_Dek".split("_"),weekdays:"Yakshanba_Dushanba_Seshanba_Chorshanba_Payshanba_Juma_Shanba".split("_"),weekdaysShort:"Yak_Dush_Sesh_Chor_Pay_Jum_Shan".split("_"),weekdaysMin:"Ya_Du_Se_Cho_Pa_Ju_Sha".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"D MMMM YYYY, dddd HH:mm"},calendar:{sameDay:"[Bugun soat] LT [da]",nextDay:"[Ertaga] LT [da]",nextWeek:"dddd [kuni soat] LT [da]",lastDay:"[Kecha soat] LT [da]",lastWeek:"[O'tgan] dddd [kuni soat] LT [da]",sameElse:"L"},relativeTime:{future:"Yaqin %s ichida",past:"Bir necha %s oldin",s:"soniya",ss:"%d soniya",m:"bir daqiqa",mm:"%d daqiqa",h:"bir soat",hh:"%d soat",d:"bir kun",dd:"%d kun",M:"bir oy",MM:"%d oy",y:"bir yil",yy:"%d yil"},week:{dow:1,doy:7}})}(w(5439))},2862:function(se,q,w){!function(v){"use strict";v.defineLocale("uz",{months:"\u044f\u043d\u0432\u0430\u0440_\u0444\u0435\u0432\u0440\u0430\u043b_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0435\u043b_\u043c\u0430\u0439_\u0438\u044e\u043d_\u0438\u044e\u043b_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043d\u0442\u044f\u0431\u0440_\u043e\u043a\u0442\u044f\u0431\u0440_\u043d\u043e\u044f\u0431\u0440_\u0434\u0435\u043a\u0430\u0431\u0440".split("_"),monthsShort:"\u044f\u043d\u0432_\u0444\u0435\u0432_\u043c\u0430\u0440_\u0430\u043f\u0440_\u043c\u0430\u0439_\u0438\u044e\u043d_\u0438\u044e\u043b_\u0430\u0432\u0433_\u0441\u0435\u043d_\u043e\u043a\u0442_\u043d\u043e\u044f_\u0434\u0435\u043a".split("_"),weekdays:"\u042f\u043a\u0448\u0430\u043d\u0431\u0430_\u0414\u0443\u0448\u0430\u043d\u0431\u0430_\u0421\u0435\u0448\u0430\u043d\u0431\u0430_\u0427\u043e\u0440\u0448\u0430\u043d\u0431\u0430_\u041f\u0430\u0439\u0448\u0430\u043d\u0431\u0430_\u0416\u0443\u043c\u0430_\u0428\u0430\u043d\u0431\u0430".split("_"),weekdaysShort:"\u042f\u043a\u0448_\u0414\u0443\u0448_\u0421\u0435\u0448_\u0427\u043e\u0440_\u041f\u0430\u0439_\u0416\u0443\u043c_\u0428\u0430\u043d".split("_"),weekdaysMin:"\u042f\u043a_\u0414\u0443_\u0421\u0435_\u0427\u043e_\u041f\u0430_\u0416\u0443_\u0428\u0430".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"D MMMM YYYY, dddd HH:mm"},calendar:{sameDay:"[\u0411\u0443\u0433\u0443\u043d \u0441\u043e\u0430\u0442] LT [\u0434\u0430]",nextDay:"[\u042d\u0440\u0442\u0430\u0433\u0430] LT [\u0434\u0430]",nextWeek:"dddd [\u043a\u0443\u043d\u0438 \u0441\u043e\u0430\u0442] LT [\u0434\u0430]",lastDay:"[\u041a\u0435\u0447\u0430 \u0441\u043e\u0430\u0442] LT [\u0434\u0430]",lastWeek:"[\u0423\u0442\u0433\u0430\u043d] dddd [\u043a\u0443\u043d\u0438 \u0441\u043e\u0430\u0442] LT [\u0434\u0430]",sameElse:"L"},relativeTime:{future:"\u042f\u043a\u0438\u043d %s \u0438\u0447\u0438\u0434\u0430",past:"\u0411\u0438\u0440 \u043d\u0435\u0447\u0430 %s \u043e\u043b\u0434\u0438\u043d",s:"\u0444\u0443\u0440\u0441\u0430\u0442",ss:"%d \u0444\u0443\u0440\u0441\u0430\u0442",m:"\u0431\u0438\u0440 \u0434\u0430\u043a\u0438\u043a\u0430",mm:"%d \u0434\u0430\u043a\u0438\u043a\u0430",h:"\u0431\u0438\u0440 \u0441\u043e\u0430\u0442",hh:"%d \u0441\u043e\u0430\u0442",d:"\u0431\u0438\u0440 \u043a\u0443\u043d",dd:"%d \u043a\u0443\u043d",M:"\u0431\u0438\u0440 \u043e\u0439",MM:"%d \u043e\u0439",y:"\u0431\u0438\u0440 \u0439\u0438\u043b",yy:"%d \u0439\u0438\u043b"},week:{dow:1,doy:7}})}(w(5439))},8093:function(se,q,w){!function(v){"use strict";v.defineLocale("vi",{months:"th\xe1ng 1_th\xe1ng 2_th\xe1ng 3_th\xe1ng 4_th\xe1ng 5_th\xe1ng 6_th\xe1ng 7_th\xe1ng 8_th\xe1ng 9_th\xe1ng 10_th\xe1ng 11_th\xe1ng 12".split("_"),monthsShort:"Thg 01_Thg 02_Thg 03_Thg 04_Thg 05_Thg 06_Thg 07_Thg 08_Thg 09_Thg 10_Thg 11_Thg 12".split("_"),monthsParseExact:!0,weekdays:"ch\u1ee7 nh\u1eadt_th\u1ee9 hai_th\u1ee9 ba_th\u1ee9 t\u01b0_th\u1ee9 n\u0103m_th\u1ee9 s\xe1u_th\u1ee9 b\u1ea3y".split("_"),weekdaysShort:"CN_T2_T3_T4_T5_T6_T7".split("_"),weekdaysMin:"CN_T2_T3_T4_T5_T6_T7".split("_"),weekdaysParseExact:!0,meridiemParse:/sa|ch/i,isPM:function(d){return/^ch$/i.test(d)},meridiem:function(d,u,p){return d<12?p?"sa":"SA":p?"ch":"CH"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [n\u0103m] YYYY",LLL:"D MMMM [n\u0103m] YYYY HH:mm",LLLL:"dddd, D MMMM [n\u0103m] YYYY HH:mm",l:"DD/M/YYYY",ll:"D MMM YYYY",lll:"D MMM YYYY HH:mm",llll:"ddd, D MMM YYYY HH:mm"},calendar:{sameDay:"[H\xf4m nay l\xfac] LT",nextDay:"[Ng\xe0y mai l\xfac] LT",nextWeek:"dddd [tu\u1ea7n t\u1edbi l\xfac] LT",lastDay:"[H\xf4m qua l\xfac] LT",lastWeek:"dddd [tu\u1ea7n tr\u01b0\u1edbc l\xfac] LT",sameElse:"L"},relativeTime:{future:"%s t\u1edbi",past:"%s tr\u01b0\u1edbc",s:"v\xe0i gi\xe2y",ss:"%d gi\xe2y",m:"m\u1ed9t ph\xfat",mm:"%d ph\xfat",h:"m\u1ed9t gi\u1edd",hh:"%d gi\u1edd",d:"m\u1ed9t ng\xe0y",dd:"%d ng\xe0y",w:"m\u1ed9t tu\u1ea7n",ww:"%d tu\u1ea7n",M:"m\u1ed9t th\xe1ng",MM:"%d th\xe1ng",y:"m\u1ed9t n\u0103m",yy:"%d n\u0103m"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:function(d){return d},week:{dow:1,doy:4}})}(w(5439))},5590:function(se,q,w){!function(v){"use strict";v.defineLocale("x-pseudo",{months:"J~\xe1\xf1\xfa\xe1~r\xfd_F~\xe9br\xfa~\xe1r\xfd_~M\xe1rc~h_\xc1p~r\xedl_~M\xe1\xfd_~J\xfa\xf1\xe9~_J\xfal~\xfd_\xc1\xfa~g\xfast~_S\xe9p~t\xe9mb~\xe9r_\xd3~ct\xf3b~\xe9r_\xd1~\xf3v\xe9m~b\xe9r_~D\xe9c\xe9~mb\xe9r".split("_"),monthsShort:"J~\xe1\xf1_~F\xe9b_~M\xe1r_~\xc1pr_~M\xe1\xfd_~J\xfa\xf1_~J\xfal_~\xc1\xfag_~S\xe9p_~\xd3ct_~\xd1\xf3v_~D\xe9c".split("_"),monthsParseExact:!0,weekdays:"S~\xfa\xf1d\xe1~\xfd_M\xf3~\xf1d\xe1\xfd~_T\xfa\xe9~sd\xe1\xfd~_W\xe9d~\xf1\xe9sd~\xe1\xfd_T~h\xfars~d\xe1\xfd_~Fr\xedd~\xe1\xfd_S~\xe1t\xfar~d\xe1\xfd".split("_"),weekdaysShort:"S~\xfa\xf1_~M\xf3\xf1_~T\xfa\xe9_~W\xe9d_~Th\xfa_~Fr\xed_~S\xe1t".split("_"),weekdaysMin:"S~\xfa_M\xf3~_T\xfa_~W\xe9_T~h_Fr~_S\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[T~\xf3d\xe1~\xfd \xe1t] LT",nextDay:"[T~\xf3m\xf3~rr\xf3~w \xe1t] LT",nextWeek:"dddd [\xe1t] LT",lastDay:"[\xdd~\xe9st~\xe9rd\xe1~\xfd \xe1t] LT",lastWeek:"[L~\xe1st] dddd [\xe1t] LT",sameElse:"L"},relativeTime:{future:"\xed~\xf1 %s",past:"%s \xe1~g\xf3",s:"\xe1 ~f\xe9w ~s\xe9c\xf3~\xf1ds",ss:"%d s~\xe9c\xf3\xf1~ds",m:"\xe1 ~m\xed\xf1~\xfat\xe9",mm:"%d m~\xed\xf1\xfa~t\xe9s",h:"\xe1~\xf1 h\xf3~\xfar",hh:"%d h~\xf3\xfars",d:"\xe1 ~d\xe1\xfd",dd:"%d d~\xe1\xfds",M:"\xe1 ~m\xf3\xf1~th",MM:"%d m~\xf3\xf1t~hs",y:"\xe1 ~\xfd\xe9\xe1r",yy:"%d \xfd~\xe9\xe1rs"},dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(d){var u=d%10;return d+(1==~~(d%100/10)?"th":1===u?"st":2===u?"nd":3===u?"rd":"th")},week:{dow:1,doy:4}})}(w(5439))},9058:function(se,q,w){!function(v){"use strict";v.defineLocale("yo",{months:"S\u1eb9\u0301r\u1eb9\u0301_E\u0300re\u0300le\u0300_\u1eb8r\u1eb9\u0300na\u0300_I\u0300gbe\u0301_E\u0300bibi_O\u0300ku\u0300du_Ag\u1eb9mo_O\u0300gu\u0301n_Owewe_\u1ecc\u0300wa\u0300ra\u0300_Be\u0301lu\u0301_\u1ecc\u0300p\u1eb9\u0300\u0300".split("_"),monthsShort:"S\u1eb9\u0301r_E\u0300rl_\u1eb8rn_I\u0300gb_E\u0300bi_O\u0300ku\u0300_Ag\u1eb9_O\u0300gu\u0301_Owe_\u1ecc\u0300wa\u0300_Be\u0301l_\u1ecc\u0300p\u1eb9\u0300\u0300".split("_"),weekdays:"A\u0300i\u0300ku\u0301_Aje\u0301_I\u0300s\u1eb9\u0301gun_\u1eccj\u1ecd\u0301ru\u0301_\u1eccj\u1ecd\u0301b\u1ecd_\u1eb8ti\u0300_A\u0300ba\u0301m\u1eb9\u0301ta".split("_"),weekdaysShort:"A\u0300i\u0300k_Aje\u0301_I\u0300s\u1eb9\u0301_\u1eccjr_\u1eccjb_\u1eb8ti\u0300_A\u0300ba\u0301".split("_"),weekdaysMin:"A\u0300i\u0300_Aj_I\u0300s_\u1eccr_\u1eccb_\u1eb8t_A\u0300b".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[O\u0300ni\u0300 ni] LT",nextDay:"[\u1ecc\u0300la ni] LT",nextWeek:"dddd [\u1eccs\u1eb9\u0300 to\u0301n'b\u1ecd] [ni] LT",lastDay:"[A\u0300na ni] LT",lastWeek:"dddd [\u1eccs\u1eb9\u0300 to\u0301l\u1ecd\u0301] [ni] LT",sameElse:"L"},relativeTime:{future:"ni\u0301 %s",past:"%s k\u1ecdja\u0301",s:"i\u0300s\u1eb9ju\u0301 aaya\u0301 die",ss:"aaya\u0301 %d",m:"i\u0300s\u1eb9ju\u0301 kan",mm:"i\u0300s\u1eb9ju\u0301 %d",h:"wa\u0301kati kan",hh:"wa\u0301kati %d",d:"\u1ecdj\u1ecd\u0301 kan",dd:"\u1ecdj\u1ecd\u0301 %d",M:"osu\u0300 kan",MM:"osu\u0300 %d",y:"\u1ecddu\u0301n kan",yy:"\u1ecddu\u0301n %d"},dayOfMonthOrdinalParse:/\u1ecdj\u1ecd\u0301\s\d{1,2}/,ordinal:"\u1ecdj\u1ecd\u0301 %d",week:{dow:1,doy:4}})}(w(5439))},7908:function(se,q,w){!function(v){"use strict";v.defineLocale("zh-cn",{months:"\u4e00\u6708_\u4e8c\u6708_\u4e09\u6708_\u56db\u6708_\u4e94\u6708_\u516d\u6708_\u4e03\u6708_\u516b\u6708_\u4e5d\u6708_\u5341\u6708_\u5341\u4e00\u6708_\u5341\u4e8c\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),weekdays:"\u661f\u671f\u65e5_\u661f\u671f\u4e00_\u661f\u671f\u4e8c_\u661f\u671f\u4e09_\u661f\u671f\u56db_\u661f\u671f\u4e94_\u661f\u671f\u516d".split("_"),weekdaysShort:"\u5468\u65e5_\u5468\u4e00_\u5468\u4e8c_\u5468\u4e09_\u5468\u56db_\u5468\u4e94_\u5468\u516d".split("_"),weekdaysMin:"\u65e5_\u4e00_\u4e8c_\u4e09_\u56db_\u4e94_\u516d".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY\u5e74M\u6708D\u65e5",LLL:"YYYY\u5e74M\u6708D\u65e5Ah\u70b9mm\u5206",LLLL:"YYYY\u5e74M\u6708D\u65e5ddddAh\u70b9mm\u5206",l:"YYYY/M/D",ll:"YYYY\u5e74M\u6708D\u65e5",lll:"YYYY\u5e74M\u6708D\u65e5 HH:mm",llll:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm"},meridiemParse:/\u51cc\u6668|\u65e9\u4e0a|\u4e0a\u5348|\u4e2d\u5348|\u4e0b\u5348|\u665a\u4e0a/,meridiemHour:function(d,u){return 12===d&&(d=0),"\u51cc\u6668"===u||"\u65e9\u4e0a"===u||"\u4e0a\u5348"===u?d:"\u4e0b\u5348"===u||"\u665a\u4e0a"===u?d+12:d>=11?d:d+12},meridiem:function(d,u,p){var g=100*d+u;return g<600?"\u51cc\u6668":g<900?"\u65e9\u4e0a":g<1130?"\u4e0a\u5348":g<1230?"\u4e2d\u5348":g<1800?"\u4e0b\u5348":"\u665a\u4e0a"},calendar:{sameDay:"[\u4eca\u5929]LT",nextDay:"[\u660e\u5929]LT",nextWeek:function(d){return d.week()!==this.week()?"[\u4e0b]dddLT":"[\u672c]dddLT"},lastDay:"[\u6628\u5929]LT",lastWeek:function(d){return this.week()!==d.week()?"[\u4e0a]dddLT":"[\u672c]dddLT"},sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(\u65e5|\u6708|\u5468)/,ordinal:function(d,u){switch(u){case"d":case"D":case"DDD":return d+"\u65e5";case"M":return d+"\u6708";case"w":case"W":return d+"\u5468";default:return d}},relativeTime:{future:"%s\u540e",past:"%s\u524d",s:"\u51e0\u79d2",ss:"%d \u79d2",m:"1 \u5206\u949f",mm:"%d \u5206\u949f",h:"1 \u5c0f\u65f6",hh:"%d \u5c0f\u65f6",d:"1 \u5929",dd:"%d \u5929",w:"1 \u5468",ww:"%d \u5468",M:"1 \u4e2a\u6708",MM:"%d \u4e2a\u6708",y:"1 \u5e74",yy:"%d \u5e74"},week:{dow:1,doy:4}})}(w(5439))},8867:function(se,q,w){!function(v){"use strict";v.defineLocale("zh-hk",{months:"\u4e00\u6708_\u4e8c\u6708_\u4e09\u6708_\u56db\u6708_\u4e94\u6708_\u516d\u6708_\u4e03\u6708_\u516b\u6708_\u4e5d\u6708_\u5341\u6708_\u5341\u4e00\u6708_\u5341\u4e8c\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),weekdays:"\u661f\u671f\u65e5_\u661f\u671f\u4e00_\u661f\u671f\u4e8c_\u661f\u671f\u4e09_\u661f\u671f\u56db_\u661f\u671f\u4e94_\u661f\u671f\u516d".split("_"),weekdaysShort:"\u9031\u65e5_\u9031\u4e00_\u9031\u4e8c_\u9031\u4e09_\u9031\u56db_\u9031\u4e94_\u9031\u516d".split("_"),weekdaysMin:"\u65e5_\u4e00_\u4e8c_\u4e09_\u56db_\u4e94_\u516d".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY\u5e74M\u6708D\u65e5",LLL:"YYYY\u5e74M\u6708D\u65e5 HH:mm",LLLL:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm",l:"YYYY/M/D",ll:"YYYY\u5e74M\u6708D\u65e5",lll:"YYYY\u5e74M\u6708D\u65e5 HH:mm",llll:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm"},meridiemParse:/\u51cc\u6668|\u65e9\u4e0a|\u4e0a\u5348|\u4e2d\u5348|\u4e0b\u5348|\u665a\u4e0a/,meridiemHour:function(d,u){return 12===d&&(d=0),"\u51cc\u6668"===u||"\u65e9\u4e0a"===u||"\u4e0a\u5348"===u?d:"\u4e2d\u5348"===u?d>=11?d:d+12:"\u4e0b\u5348"===u||"\u665a\u4e0a"===u?d+12:void 0},meridiem:function(d,u,p){var g=100*d+u;return g<600?"\u51cc\u6668":g<900?"\u65e9\u4e0a":g<1200?"\u4e0a\u5348":1200===g?"\u4e2d\u5348":g<1800?"\u4e0b\u5348":"\u665a\u4e0a"},calendar:{sameDay:"[\u4eca\u5929]LT",nextDay:"[\u660e\u5929]LT",nextWeek:"[\u4e0b]ddddLT",lastDay:"[\u6628\u5929]LT",lastWeek:"[\u4e0a]ddddLT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(\u65e5|\u6708|\u9031)/,ordinal:function(d,u){switch(u){case"d":case"D":case"DDD":return d+"\u65e5";case"M":return d+"\u6708";case"w":case"W":return d+"\u9031";default:return d}},relativeTime:{future:"%s\u5f8c",past:"%s\u524d",s:"\u5e7e\u79d2",ss:"%d \u79d2",m:"1 \u5206\u9418",mm:"%d \u5206\u9418",h:"1 \u5c0f\u6642",hh:"%d \u5c0f\u6642",d:"1 \u5929",dd:"%d \u5929",M:"1 \u500b\u6708",MM:"%d \u500b\u6708",y:"1 \u5e74",yy:"%d \u5e74"}})}(w(5439))},1133:function(se,q,w){!function(v){"use strict";v.defineLocale("zh-mo",{months:"\u4e00\u6708_\u4e8c\u6708_\u4e09\u6708_\u56db\u6708_\u4e94\u6708_\u516d\u6708_\u4e03\u6708_\u516b\u6708_\u4e5d\u6708_\u5341\u6708_\u5341\u4e00\u6708_\u5341\u4e8c\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),weekdays:"\u661f\u671f\u65e5_\u661f\u671f\u4e00_\u661f\u671f\u4e8c_\u661f\u671f\u4e09_\u661f\u671f\u56db_\u661f\u671f\u4e94_\u661f\u671f\u516d".split("_"),weekdaysShort:"\u9031\u65e5_\u9031\u4e00_\u9031\u4e8c_\u9031\u4e09_\u9031\u56db_\u9031\u4e94_\u9031\u516d".split("_"),weekdaysMin:"\u65e5_\u4e00_\u4e8c_\u4e09_\u56db_\u4e94_\u516d".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"YYYY\u5e74M\u6708D\u65e5",LLL:"YYYY\u5e74M\u6708D\u65e5 HH:mm",LLLL:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm",l:"D/M/YYYY",ll:"YYYY\u5e74M\u6708D\u65e5",lll:"YYYY\u5e74M\u6708D\u65e5 HH:mm",llll:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm"},meridiemParse:/\u51cc\u6668|\u65e9\u4e0a|\u4e0a\u5348|\u4e2d\u5348|\u4e0b\u5348|\u665a\u4e0a/,meridiemHour:function(d,u){return 12===d&&(d=0),"\u51cc\u6668"===u||"\u65e9\u4e0a"===u||"\u4e0a\u5348"===u?d:"\u4e2d\u5348"===u?d>=11?d:d+12:"\u4e0b\u5348"===u||"\u665a\u4e0a"===u?d+12:void 0},meridiem:function(d,u,p){var g=100*d+u;return g<600?"\u51cc\u6668":g<900?"\u65e9\u4e0a":g<1130?"\u4e0a\u5348":g<1230?"\u4e2d\u5348":g<1800?"\u4e0b\u5348":"\u665a\u4e0a"},calendar:{sameDay:"[\u4eca\u5929] LT",nextDay:"[\u660e\u5929] LT",nextWeek:"[\u4e0b]dddd LT",lastDay:"[\u6628\u5929] LT",lastWeek:"[\u4e0a]dddd LT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(\u65e5|\u6708|\u9031)/,ordinal:function(d,u){switch(u){case"d":case"D":case"DDD":return d+"\u65e5";case"M":return d+"\u6708";case"w":case"W":return d+"\u9031";default:return d}},relativeTime:{future:"%s\u5167",past:"%s\u524d",s:"\u5e7e\u79d2",ss:"%d \u79d2",m:"1 \u5206\u9418",mm:"%d \u5206\u9418",h:"1 \u5c0f\u6642",hh:"%d \u5c0f\u6642",d:"1 \u5929",dd:"%d \u5929",M:"1 \u500b\u6708",MM:"%d \u500b\u6708",y:"1 \u5e74",yy:"%d \u5e74"}})}(w(5439))},3291:function(se,q,w){!function(v){"use strict";v.defineLocale("zh-tw",{months:"\u4e00\u6708_\u4e8c\u6708_\u4e09\u6708_\u56db\u6708_\u4e94\u6708_\u516d\u6708_\u4e03\u6708_\u516b\u6708_\u4e5d\u6708_\u5341\u6708_\u5341\u4e00\u6708_\u5341\u4e8c\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),weekdays:"\u661f\u671f\u65e5_\u661f\u671f\u4e00_\u661f\u671f\u4e8c_\u661f\u671f\u4e09_\u661f\u671f\u56db_\u661f\u671f\u4e94_\u661f\u671f\u516d".split("_"),weekdaysShort:"\u9031\u65e5_\u9031\u4e00_\u9031\u4e8c_\u9031\u4e09_\u9031\u56db_\u9031\u4e94_\u9031\u516d".split("_"),weekdaysMin:"\u65e5_\u4e00_\u4e8c_\u4e09_\u56db_\u4e94_\u516d".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY\u5e74M\u6708D\u65e5",LLL:"YYYY\u5e74M\u6708D\u65e5 HH:mm",LLLL:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm",l:"YYYY/M/D",ll:"YYYY\u5e74M\u6708D\u65e5",lll:"YYYY\u5e74M\u6708D\u65e5 HH:mm",llll:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm"},meridiemParse:/\u51cc\u6668|\u65e9\u4e0a|\u4e0a\u5348|\u4e2d\u5348|\u4e0b\u5348|\u665a\u4e0a/,meridiemHour:function(d,u){return 12===d&&(d=0),"\u51cc\u6668"===u||"\u65e9\u4e0a"===u||"\u4e0a\u5348"===u?d:"\u4e2d\u5348"===u?d>=11?d:d+12:"\u4e0b\u5348"===u||"\u665a\u4e0a"===u?d+12:void 0},meridiem:function(d,u,p){var g=100*d+u;return g<600?"\u51cc\u6668":g<900?"\u65e9\u4e0a":g<1130?"\u4e0a\u5348":g<1230?"\u4e2d\u5348":g<1800?"\u4e0b\u5348":"\u665a\u4e0a"},calendar:{sameDay:"[\u4eca\u5929] LT",nextDay:"[\u660e\u5929] LT",nextWeek:"[\u4e0b]dddd LT",lastDay:"[\u6628\u5929] LT",lastWeek:"[\u4e0a]dddd LT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(\u65e5|\u6708|\u9031)/,ordinal:function(d,u){switch(u){case"d":case"D":case"DDD":return d+"\u65e5";case"M":return d+"\u6708";case"w":case"W":return d+"\u9031";default:return d}},relativeTime:{future:"%s\u5f8c",past:"%s\u524d",s:"\u5e7e\u79d2",ss:"%d \u79d2",m:"1 \u5206\u9418",mm:"%d \u5206\u9418",h:"1 \u5c0f\u6642",hh:"%d \u5c0f\u6642",d:"1 \u5929",dd:"%d \u5929",M:"1 \u500b\u6708",MM:"%d \u500b\u6708",y:"1 \u5e74",yy:"%d \u5e74"}})}(w(5439))},5439:function(se,q,w){(se=w.nmd(se)).exports=function(){"use strict";var v,ne;function m(){return v.apply(null,arguments)}function u(c){return c instanceof Array||"[object Array]"===Object.prototype.toString.call(c)}function p(c){return null!=c&&"[object Object]"===Object.prototype.toString.call(c)}function g(c,_){return Object.prototype.hasOwnProperty.call(c,_)}function y(c){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(c).length;var _;for(_ in c)if(g(c,_))return!1;return!0}function b(c){return void 0===c}function C(c){return"number"==typeof c||"[object Number]"===Object.prototype.toString.call(c)}function P(c){return c instanceof Date||"[object Date]"===Object.prototype.toString.call(c)}function N(c,_){var I,T=[],Z=c.length;for(I=0;I>>0;for(I=0;I0)for(T=0;T=0?T?"+":"":"-")+Math.pow(10,Math.max(0,_-I.length)).toString().substr(1)+I}var Q=/(\[[^\[]*\])|(\\)?([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,X=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,ve={},ae={};function be(c,_,T,I){var Z=I;"string"==typeof I&&(Z=function(){return this[I]()}),c&&(ae[c]=Z),_&&(ae[_[0]]=function(){return vt(Z.apply(this,arguments),_[1],_[2])}),T&&(ae[T]=function(){return this.localeData().ordinal(Z.apply(this,arguments),c)})}function Ve(c){return c.match(/\[[\s\S]/)?c.replace(/^\[|\]$/g,""):c.replace(/\\/g,"")}function Dt(c,_){return c.isValid()?(_=Ht(_,c.localeData()),ve[_]=ve[_]||function nt(c){var T,I,_=c.match(Q);for(T=0,I=_.length;T=0&&X.test(c);)c=c.replace(X,I),X.lastIndex=0,T-=1;return c}var jn={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 xn(c){return"string"==typeof c?jn[c]||jn[c.toLowerCase()]:void 0}function ue(c){var T,I,_={};for(I in c)g(c,I)&&(T=xn(I))&&(_[T]=c[I]);return _}var Xe={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};var Bt,Me=/\d/,xe=/\d\d/,Ke=/\d{3}/,at=/\d{4}/,Ot=/[+-]?\d{6}/,ft=/\d\d?/,Le=/\d\d\d\d?/,Ye=/\d\d\d\d\d\d?/,mt=/\d{1,3}/,wt=/\d{1,4}/,Jt=/[+-]?\d{1,6}/,bn=/\d+/,J=/[+-]?\d+/,fe=/Z|[+-]\d\d:?\d\d/gi,we=/Z|[+-]\d\d(?::?\d\d)?/gi,$=/[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,he=/^[1-9]\d?/,Qe=/^([1-9]\d|\d)/;function _t(c,_,T){Bt[c]=K(_)?_:function(I,Z){return I&&T?T:_}}function Mt(c,_){return g(Bt,c)?Bt[c](_._strict,_._locale):new RegExp(function en(c){return ie(c.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(_,T,I,Z,je){return T||I||Z||je}))}(c))}function ie(c){return c.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function me(c){return c<0?Math.ceil(c)||0:Math.floor(c)}function W(c){var _=+c,T=0;return 0!==_&&isFinite(_)&&(T=me(_)),T}Bt={};var ce={};function _e(c,_){var T,Z,I=_;for("string"==typeof c&&(c=[c]),C(_)&&(I=function(je,dt){dt[_]=W(je)}),Z=c.length,T=0;T68?1900:2e3)};var pe,qt=Vt("FullYear",!0);function Vt(c,_){return function(T){return null!=T?(S(this,c,T),m.updateOffset(this,_),this):z(this,c)}}function z(c,_){if(!c.isValid())return NaN;var T=c._d,I=c._isUTC;switch(_){case"Milliseconds":return I?T.getUTCMilliseconds():T.getMilliseconds();case"Seconds":return I?T.getUTCSeconds():T.getSeconds();case"Minutes":return I?T.getUTCMinutes():T.getMinutes();case"Hours":return I?T.getUTCHours():T.getHours();case"Date":return I?T.getUTCDate():T.getDate();case"Day":return I?T.getUTCDay():T.getDay();case"Month":return I?T.getUTCMonth():T.getMonth();case"FullYear":return I?T.getUTCFullYear():T.getFullYear();default:return NaN}}function S(c,_,T){var I,Z,je,dt,dn;if(c.isValid()&&!isNaN(T)){switch(I=c._d,Z=c._isUTC,_){case"Milliseconds":return void(Z?I.setUTCMilliseconds(T):I.setMilliseconds(T));case"Seconds":return void(Z?I.setUTCSeconds(T):I.setSeconds(T));case"Minutes":return void(Z?I.setUTCMinutes(T):I.setMinutes(T));case"Hours":return void(Z?I.setUTCHours(T):I.setHours(T));case"Date":return void(Z?I.setUTCDate(T):I.setDate(T));case"FullYear":break;default:return}je=T,dt=c.month(),dn=29!==(dn=c.date())||1!==dt||ee(je)?dn:28,Z?I.setUTCFullYear(je,dt,dn):I.setFullYear(je,dt,dn)}}function ze(c,_){if(isNaN(c)||isNaN(_))return NaN;var T=function ye(c,_){return(c%_+_)%_}(_,12);return c+=(_-T)/12,1===T?ee(c)?29:28:31-T%7%2}pe=Array.prototype.indexOf?Array.prototype.indexOf:function(c){var _;for(_=0;_=0?(dn=new Date(c+400,_,T,I,Z,je,dt),isFinite(dn.getFullYear())&&dn.setFullYear(c)):dn=new Date(c,_,T,I,Z,je,dt),dn}function aa(c){var _,T;return c<100&&c>=0?((T=Array.prototype.slice.call(arguments))[0]=c+400,_=new Date(Date.UTC.apply(null,T)),isFinite(_.getUTCFullYear())&&_.setUTCFullYear(c)):_=new Date(Date.UTC.apply(null,arguments)),_}function Dl(c,_,T){var I=7+_-T;return-(7+aa(c,0,I).getUTCDay()-_)%7+I-1}function fs(c,_,T,I,Z){var Rn,Wn,dn=1+7*(_-1)+(7+T-I)%7+Dl(c,I,Z);return dn<=0?Wn=Ft(Rn=c-1)+dn:dn>Ft(c)?(Rn=c+1,Wn=dn-Ft(c)):(Rn=c,Wn=dn),{year:Rn,dayOfYear:Wn}}function Tr(c,_,T){var je,dt,I=Dl(c.year(),_,T),Z=Math.floor((c.dayOfYear()-I-1)/7)+1;return Z<1?je=Z+Vs(dt=c.year()-1,_,T):Z>Vs(c.year(),_,T)?(je=Z-Vs(c.year(),_,T),dt=c.year()+1):(dt=c.year(),je=Z),{week:je,year:dt}}function Vs(c,_,T){var I=Dl(c,_,T),Z=Dl(c+1,_,T);return(Ft(c)-I+Z)/7}be("w",["ww",2],"wo","week"),be("W",["WW",2],"Wo","isoWeek"),_t("w",ft,he),_t("ww",ft,xe),_t("W",ft,he),_t("WW",ft,xe),Oe(["w","ww","W","WW"],function(c,_,T,I){_[I.substr(0,1)]=W(c)});function ym(c,_){return c.slice(_,7).concat(c.slice(0,_))}be("d",0,"do","day"),be("dd",0,0,function(c){return this.localeData().weekdaysMin(this,c)}),be("ddd",0,0,function(c){return this.localeData().weekdaysShort(this,c)}),be("dddd",0,0,function(c){return this.localeData().weekdays(this,c)}),be("e",0,0,"weekday"),be("E",0,0,"isoWeekday"),_t("d",ft),_t("e",ft),_t("E",ft),_t("dd",function(c,_){return _.weekdaysMinRegex(c)}),_t("ddd",function(c,_){return _.weekdaysShortRegex(c)}),_t("dddd",function(c,_){return _.weekdaysRegex(c)}),Oe(["dd","ddd","dddd"],function(c,_,T,I){var Z=T._locale.weekdaysParse(c,I,T._strict);null!=Z?_.d=Z:L(T).invalidWeekday=c}),Oe(["d","e","E"],function(c,_,T,I){_[I]=W(c)});var El="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Ci="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),gu="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),eh=$,th=$,vm=$;function It(c,_,T){var I,Z,je,dt=c.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],I=0;I<7;++I)je=j([2e3,1]).day(I),this._minWeekdaysParse[I]=this.weekdaysMin(je,"").toLocaleLowerCase(),this._shortWeekdaysParse[I]=this.weekdaysShort(je,"").toLocaleLowerCase(),this._weekdaysParse[I]=this.weekdays(je,"").toLocaleLowerCase();return T?"dddd"===_?-1!==(Z=pe.call(this._weekdaysParse,dt))?Z:null:"ddd"===_?-1!==(Z=pe.call(this._shortWeekdaysParse,dt))?Z:null:-1!==(Z=pe.call(this._minWeekdaysParse,dt))?Z:null:"dddd"===_?-1!==(Z=pe.call(this._weekdaysParse,dt))||-1!==(Z=pe.call(this._shortWeekdaysParse,dt))||-1!==(Z=pe.call(this._minWeekdaysParse,dt))?Z:null:"ddd"===_?-1!==(Z=pe.call(this._shortWeekdaysParse,dt))||-1!==(Z=pe.call(this._weekdaysParse,dt))||-1!==(Z=pe.call(this._minWeekdaysParse,dt))?Z:null:-1!==(Z=pe.call(this._minWeekdaysParse,dt))||-1!==(Z=pe.call(this._weekdaysParse,dt))||-1!==(Z=pe.call(this._shortWeekdaysParse,dt))?Z:null}function rt(){function c(zr,Ho){return Ho.length-zr.length}var je,dt,dn,Rn,Wn,_=[],T=[],I=[],Z=[];for(je=0;je<7;je++)dt=j([2e3,1]).day(je),dn=ie(this.weekdaysMin(dt,"")),Rn=ie(this.weekdaysShort(dt,"")),Wn=ie(this.weekdays(dt,"")),_.push(dn),T.push(Rn),I.push(Wn),Z.push(dn),Z.push(Rn),Z.push(Wn);_.sort(c),T.sort(c),I.sort(c),Z.sort(c),this._weekdaysRegex=new RegExp("^("+Z.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+I.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+T.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+_.join("|")+")","i")}function Sr(){return this.hours()%12||12}function Lo(c,_){be(c,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),_)})}function la(c,_){return _._meridiemParse}be("H",["HH",2],0,"hour"),be("h",["hh",2],0,Sr),be("k",["kk",2],0,function Lr(){return this.hours()||24}),be("hmm",0,0,function(){return""+Sr.apply(this)+vt(this.minutes(),2)}),be("hmmss",0,0,function(){return""+Sr.apply(this)+vt(this.minutes(),2)+vt(this.seconds(),2)}),be("Hmm",0,0,function(){return""+this.hours()+vt(this.minutes(),2)}),be("Hmmss",0,0,function(){return""+this.hours()+vt(this.minutes(),2)+vt(this.seconds(),2)}),Lo("a",!0),Lo("A",!1),_t("a",la),_t("A",la),_t("H",ft,Qe),_t("h",ft,he),_t("k",ft,he),_t("HH",ft,xe),_t("hh",ft,xe),_t("kk",ft,xe),_t("hmm",Le),_t("hmmss",Ye),_t("Hmm",Le),_t("Hmmss",Ye),_e(["H","HH"],3),_e(["k","kk"],function(c,_,T){var I=W(c);_[3]=24===I?0:I}),_e(["a","A"],function(c,_,T){T._isPm=T._locale.isPM(c),T._meridiem=c}),_e(["h","hh"],function(c,_,T){_[3]=W(c),L(T).bigHour=!0}),_e("hmm",function(c,_,T){var I=c.length-2;_[3]=W(c.substr(0,I)),_[4]=W(c.substr(I)),L(T).bigHour=!0}),_e("hmmss",function(c,_,T){var I=c.length-4,Z=c.length-2;_[3]=W(c.substr(0,I)),_[4]=W(c.substr(I,2)),_[5]=W(c.substr(Z)),L(T).bigHour=!0}),_e("Hmm",function(c,_,T){var I=c.length-2;_[3]=W(c.substr(0,I)),_[4]=W(c.substr(I))}),_e("Hmmss",function(c,_,T){var I=c.length-4,Z=c.length-2;_[3]=W(c.substr(0,I)),_[4]=W(c.substr(I,2)),_[5]=W(c.substr(Z))});var nh=Vt("Hours",!0);var vc,yc={calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},longDateFormat:{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"},invalidDate:"Invalid date",ordinal:"%d",dayOfMonthOrdinalParse:/\d{1,2}/,relativeTime:{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"},months:Ee,monthsShort:kt,week:{dow:0,doy:6},weekdays:El,weekdaysMin:gu,weekdaysShort:Ci,meridiemParse:/[ap]\.?m?\.?/i},fi={},cr={};function Is(c,_){var T,I=Math.min(c.length,_.length);for(T=0;T0;){if(Z=qr(je.slice(0,T).join("-")))return Z;if(I&&I.length>=T&&Is(je,I)>=T-1)break;T--}_++}return vc}(c)}function ca(c){var _,T=c._a;return T&&-2===L(c).overflow&&(_=T[1]<0||T[1]>11?1:T[2]<1||T[2]>ze(T[0],T[1])?2:T[3]<0||T[3]>24||24===T[3]&&(0!==T[4]||0!==T[5]||0!==T[6])?3:T[4]<0||T[4]>59?4:T[5]<0||T[5]>59?5:T[6]<0||T[6]>999?6:-1,L(c)._overflowDayOfYear&&(_<0||_>2)&&(_=2),L(c)._overflowWeeks&&-1===_&&(_=7),L(c)._overflowWeekday&&-1===_&&(_=8),L(c).overflow=_),c}var Un=/^\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)?)?$/,yu=/^\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)?)?$/,Cl=/Z|[+-]\d\d(?::?\d\d)?/,Tl=[["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]],ua=[["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/]],Xr=/^\/?Date\((-?\d+)/i,wc=/^(?:(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}))$/,Sl={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function As(c){var _,T,je,dt,dn,Rn,I=c._i,Z=Un.exec(I)||yu.exec(I),Wn=Tl.length,zr=ua.length;if(Z){for(L(c).iso=!0,_=0,T=Wn;_7)&&(Rn=!0)):(je=c._locale._week.dow,dt=c._locale._week.doy,Wn=Tr(Vi(),je,dt),T=Oo(_.gg,c._a[0],Wn.year),I=Oo(_.w,Wn.week),null!=_.d?((Z=_.d)<0||Z>6)&&(Rn=!0):null!=_.e?(Z=_.e+je,(_.e<0||_.e>6)&&(Rn=!0)):Z=je),I<1||I>Vs(T,je,dt)?L(c)._overflowWeeks=!0:null!=Rn?L(c)._overflowWeekday=!0:(dn=fs(T,I,Z,je,dt),c._a[0]=dn.year,c._dayOfYear=dn.dayOfYear)}(c),null!=c._dayOfYear&&(dt=Oo(c._a[0],Z[0]),(c._dayOfYear>Ft(dt)||0===c._dayOfYear)&&(L(c)._overflowDayOfYear=!0),T=aa(dt,0,c._dayOfYear),c._a[1]=T.getUTCMonth(),c._a[2]=T.getUTCDate()),_=0;_<3&&null==c._a[_];++_)c._a[_]=I[_]=Z[_];for(;_<7;_++)c._a[_]=I[_]=null==c._a[_]?2===_?1:0:c._a[_];24===c._a[3]&&0===c._a[4]&&0===c._a[5]&&0===c._a[6]&&(c._nextDay=!0,c._a[3]=0),c._d=(c._useUTC?aa:lr).apply(null,I),je=c._useUTC?c._d.getUTCDay():c._d.getDay(),null!=c._tzm&&c._d.setUTCMinutes(c._d.getUTCMinutes()-c._tzm),c._nextDay&&(c._a[3]=24),c._w&&void 0!==c._w.d&&c._w.d!==je&&(L(c).weekdayMismatch=!0)}}function rh(c){if(c._f!==m.ISO_8601)if(c._f!==m.RFC_2822){c._a=[],L(c).empty=!0;var T,I,Z,je,dt,Wn,zr,_=""+c._i,dn=_.length,Rn=0;for(zr=(Z=Ht(c._f,c._locale).match(Q)||[]).length,T=0;T0&&L(c).unusedInput.push(dt),_=_.slice(_.indexOf(I)+I.length),Rn+=I.length),ae[je]?(I?L(c).empty=!1:L(c).unusedTokens.push(je),U(je,I,c)):c._strict&&!I&&L(c).unusedTokens.push(je);L(c).charsLeftOver=dn-Rn,_.length>0&&L(c).unusedInput.push(_),c._a[3]<=12&&!0===L(c).bigHour&&c._a[3]>0&&(L(c).bigHour=void 0),L(c).parsedDateParts=c._a.slice(0),L(c).meridiem=c._meridiem,c._a[3]=function By(c,_,T){var I;return null==T?_:null!=c.meridiemHour?c.meridiemHour(_,T):(null!=c.isPM&&((I=c.isPM(T))&&_<12&&(_+=12),!I&&12===_&&(_=0)),_)}(c._locale,c._a[3],c._meridiem),null!==(Wn=L(c).era)&&(c._a[0]=c._locale.erasConvertYear(Wn,c._a[0])),ih(c),ca(c)}else vu(c);else As(c)}function jy(c){var _=c._i,T=c._f;return c._locale=c._locale||gi(c._l),null===_||void 0===T&&""===_?ct({nullInput:!0}):("string"==typeof _&&(c._i=_=c._locale.preparse(_)),Ze(_)?new st(ca(_)):(P(_)?c._d=_:u(T)?function gE(c){var _,T,I,Z,je,dt,dn=!1,Rn=c._f.length;if(0===Rn)return L(c).invalidFormat=!0,void(c._d=new Date(NaN));for(Z=0;Zthis?this:c:ct()});function Hy(c,_){var T,I;if(1===_.length&&u(_[0])&&(_=_[0]),!_.length)return Vi();for(T=_[0],I=1;I<_.length;++I)(!_[I].isValid()||_[I][c](T))&&(T=_[I]);return T}var wu=["year","quarter","month","week","day","hour","minute","second","millisecond"];function oh(c){var _=ue(c),T=_.year||0,I=_.quarter||0,Z=_.month||0,je=_.week||_.isoWeek||0,dt=_.day||0,dn=_.hour||0,Rn=_.minute||0,Wn=_.second||0,zr=_.millisecond||0;this._isValid=function Cm(c){var _,I,T=!1,Z=wu.length;for(_ in c)if(g(c,_)&&(-1===pe.call(wu,_)||null!=c[_]&&isNaN(c[_])))return!1;for(I=0;I=0?new Date(c+400,_,T)-Lm:new Date(c,_,T).valueOf()}function Ur(c,_,T){return c<100&&c>=0?Date.UTC(c+400,_,T)-Lm:Date.UTC(c,_,T)}function Or(c,_){return _.erasAbbrRegex(c)}function Dh(){var Z,je,dt,dn,Rn,c=[],_=[],T=[],I=[],Wn=this.eras();for(Z=0,je=Wn.length;Z(je=Vs(c,I,Z))&&(_=je),Vm.call(this,c,_,T,I,Z))}function Vm(c,_,T,I,Z){var je=fs(c,_,T,I,Z),dt=aa(je.year,0,je.dayOfYear);return this.year(dt.getUTCFullYear()),this.month(dt.getUTCMonth()),this.date(dt.getUTCDate()),this}be("N",0,0,"eraAbbr"),be("NN",0,0,"eraAbbr"),be("NNN",0,0,"eraAbbr"),be("NNNN",0,0,"eraName"),be("NNNNN",0,0,"eraNarrow"),be("y",["y",1],"yo","eraYear"),be("y",["yy",2],0,"eraYear"),be("y",["yyy",3],0,"eraYear"),be("y",["yyyy",4],0,"eraYear"),_t("N",Or),_t("NN",Or),_t("NNN",Or),_t("NNNN",function pa(c,_){return _.erasNameRegex(c)}),_t("NNNNN",function $i(c,_){return _.erasNarrowRegex(c)}),_e(["N","NN","NNN","NNNN","NNNNN"],function(c,_,T,I){var Z=T._locale.erasParse(c,I,T._strict);Z?L(T).era=Z:L(T).invalidEra=c}),_t("y",bn),_t("yy",bn),_t("yyy",bn),_t("yyyy",bn),_t("yo",function Gs(c,_){return _._eraYearOrdinalRegex||bn}),_e(["y","yy","yyy","yyyy"],0),_e(["yo"],function(c,_,T,I){var Z;T._locale._eraYearOrdinalRegex&&(Z=c.match(T._locale._eraYearOrdinalRegex)),_[0]=T._locale.eraYearOrdinalParse?T._locale.eraYearOrdinalParse(c,Z):parseInt(c,10)}),be(0,["gg",2],0,function(){return this.weekYear()%100}),be(0,["GG",2],0,function(){return this.isoWeekYear()%100}),Wa("gggg","weekYear"),Wa("ggggg","weekYear"),Wa("GGGG","isoWeekYear"),Wa("GGGGG","isoWeekYear"),_t("G",J),_t("g",J),_t("GG",ft,xe),_t("gg",ft,xe),_t("GGGG",wt,at),_t("gggg",wt,at),_t("GGGGG",Jt,Ot),_t("ggggg",Jt,Ot),Oe(["gggg","ggggg","GGGG","GGGGG"],function(c,_,T,I){_[I.substr(0,2)]=W(c)}),Oe(["gg","GG"],function(c,_,T,I){_[I]=m.parseTwoDigitYear(c)}),be("Q",0,"Qo","quarter"),_t("Q",Me),_e("Q",function(c,_){_[1]=3*(W(c)-1)}),be("D",["DD",2],"Do","date"),_t("D",ft,he),_t("DD",ft,xe),_t("Do",function(c,_){return c?_._dayOfMonthOrdinalParse||_._ordinalParse:_._dayOfMonthOrdinalParseLenient}),_e(["D","DD"],2),_e("Do",function(c,_){_[2]=W(c.match(ft)[0])});var Bo=Vt("Date",!0);be("DDD",["DDDD",3],"DDDo","dayOfYear"),_t("DDD",mt),_t("DDDD",Ke),_e(["DDD","DDDD"],function(c,_,T){T._dayOfYear=W(c)}),be("m",["mm",2],0,"minute"),_t("m",ft,Qe),_t("mm",ft,xe),_e(["m","mm"],4);var hv=Vt("Minutes",!1);be("s",["ss",2],0,"second"),_t("s",ft,Qe),_t("ss",ft,xe),_e(["s","ss"],5);var Ls,Ru,pv=Vt("Seconds",!1);for(be("S",0,0,function(){return~~(this.millisecond()/100)}),be(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),be(0,["SSS",3],0,"millisecond"),be(0,["SSSS",4],0,function(){return 10*this.millisecond()}),be(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),be(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),be(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),be(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),be(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),_t("S",mt,Me),_t("SS",mt,xe),_t("SSS",mt,Ke),Ls="SSSS";Ls.length<=9;Ls+="S")_t(Ls,bn);function mv(c,_){_[6]=W(1e3*("0."+c))}for(Ls="S";Ls.length<=9;Ls+="S")_e(Ls,mv);Ru=Vt("Milliseconds",!1),be("z",0,0,"zoneAbbr"),be("zz",0,0,"zoneName");var $t=st.prototype;function Ou(c){return c}$t.add=TE,$t.calendar=function gh(c,_){1===arguments.length&&(arguments[0]?Ky(arguments[0])?(c=arguments[0],_=void 0):gs(arguments[0])&&(_=arguments[0],c=void 0):(c=void 0,_=void 0));var T=c||Vi(),I=ch(T,this).startOf("day"),Z=m.calendarFormat(this,I)||"sameElse",je=_&&(K(_[Z])?_[Z].call(this,T):_[Z]);return this.format(je||this.localeData().calendar(Z,this,Vi(T)))},$t.clone=function Zy(){return new st(this)},$t.diff=function Xy(c,_,T){var I,Z,je;if(!this.isValid())return NaN;if(!(I=ch(c,this)).isValid())return NaN;switch(Z=6e4*(I.utcOffset()-this.utcOffset()),_=xn(_)){case"year":je=Cu(this,I)/12;break;case"month":je=Cu(this,I);break;case"quarter":je=Cu(this,I)/3;break;case"second":je=(this-I)/1e3;break;case"minute":je=(this-I)/6e4;break;case"hour":je=(this-I)/36e5;break;case"day":je=(this-I-Z)/864e5;break;case"week":je=(this-I-Z)/6048e5;break;default:je=this-I}return T?je:me(je)},$t.endOf=function Om(c){var _,T;if(void 0===(c=xn(c))||"millisecond"===c||!this.isValid())return this;switch(T=this._isUTC?Ur:Dc,c){case"year":_=T(this.year()+1,0,1)-1;break;case"quarter":_=T(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":_=T(this.year(),this.month()+1,1)-1;break;case"week":_=T(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":_=T(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":_=T(this.year(),this.month(),this.date()+1)-1;break;case"hour":_=this._d.valueOf(),_+=vh-Mc(_+(this._isUTC?0:this.utcOffset()*ha),vh)-1;break;case"minute":_=this._d.valueOf(),_+=ha-Mc(_,ha)-1;break;case"second":_=this._d.valueOf(),_+=1e3-Mc(_,1e3)-1}return this._d.setTime(_),m.updateOffset(this,!0),this},$t.format=function tv(c){c||(c=this.isUtc()?m.defaultFormatUtc:m.defaultFormat);var _=Dt(this,c);return this.localeData().postformat(_)},$t.from=function At(c,_){return this.isValid()&&(Ze(c)&&c.isValid()||Vi(c).isValid())?uo({to:this,from:c}).locale(this.locale()).humanize(!_):this.localeData().invalidDate()},$t.fromNow=function oi(c){return this.from(Vi(),c)},$t.to=function Ut(c,_){return this.isValid()&&(Ze(c)&&c.isValid()||Vi(c).isValid())?uo({from:this,to:c}).locale(this.locale()).humanize(!_):this.localeData().invalidDate()},$t.toNow=function gr(c){return this.to(Vi(),c)},$t.get=function A(c){return K(this[c=xn(c)])?this[c]():this},$t.invalidAt=function Fm(){return L(this).overflow},$t.isAfter=function da(c,_){var T=Ze(c)?c:Vi(c);return!(!this.isValid()||!T.isValid())&&("millisecond"===(_=xn(_)||"millisecond")?this.valueOf()>T.valueOf():T.valueOf()9999?Dt(T,_?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):K(Date.prototype.toISOString)?_?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",Dt(T,"Z")):Dt(T,_?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")},$t.inspect=function ev(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var T,I,c="moment",_="";return this.isLocal()||(c=0===this.utcOffset()?"moment.utc":"moment.parseZone",_="Z"),T="["+c+'("]',I=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",this.format(T+I+"-MM-DD[T]HH:mm:ss.SSS"+_+'[")]')},"undefined"!=typeof Symbol&&null!=Symbol.for&&($t[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),$t.toJSON=function rv(){return this.isValid()?this.toISOString():null},$t.toString=function Jy(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},$t.unix=function No(){return Math.floor(this.valueOf()/1e3)},$t.valueOf=function Al(){return this._d.valueOf()-6e4*(this._offset||0)},$t.creationData=function Mh(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},$t.eraName=function Bm(){var c,_,T,I=this.localeData().eras();for(c=0,_=I.length;c<_;++c)if(T=this.clone().startOf("day").valueOf(),I[c].since<=T&&T<=I[c].until||I[c].until<=T&&T<=I[c].since)return I[c].name;return""},$t.eraNarrow=function jm(){var c,_,T,I=this.localeData().eras();for(c=0,_=I.length;c<_;++c)if(T=this.clone().startOf("day").valueOf(),I[c].since<=T&&T<=I[c].until||I[c].until<=T&&T<=I[c].since)return I[c].narrow;return""},$t.eraAbbr=function Ym(){var c,_,T,I=this.localeData().eras();for(c=0,_=I.length;c<_;++c)if(T=this.clone().startOf("day").valueOf(),I[c].since<=T&&T<=I[c].until||I[c].until<=T&&T<=I[c].since)return I[c].abbr;return""},$t.eraYear=function Hm(){var c,_,T,I,Z=this.localeData().eras();for(c=0,_=Z.length;c<_;++c)if(T=Z[c].since<=Z[c].until?1:-1,I=this.clone().startOf("day").valueOf(),Z[c].since<=I&&I<=Z[c].until||Z[c].until<=I&&I<=Z[c].since)return(this.year()-m(Z[c].since).year())*T+Z[c].offset;return this.year()},$t.year=qt,$t.isLeapYear=function pt(){return ee(this.year())},$t.weekYear=function lv(c){return Au.call(this,c,this.week(),this.weekday()+this.localeData()._week.dow,this.localeData()._week.dow,this.localeData()._week.doy)},$t.isoWeekYear=function cv(c){return Au.call(this,c,this.isoWeek(),this.isoWeekday(),1,4)},$t.quarter=$t.quarters=function dv(c){return null==c?Math.ceil((this.month()+1)/3):this.month(3*(c-1)+this.month()%3)},$t.month=nr,$t.daysInMonth=function Ao(){return ze(this.year(),this.month())},$t.week=$t.weeks=function Ly(c){var _=this.localeData().week(this);return null==c?_:this.add(7*(c-_),"d")},$t.isoWeek=$t.isoWeeks=function pE(c){var _=Tr(this,1,4).week;return null==c?_:this.add(7*(c-_),"d")},$t.weeksInYear=function xu(){var c=this.localeData()._week;return Vs(this.year(),c.dow,c.doy)},$t.weeksInWeekYear=function Iu(){var c=this.localeData()._week;return Vs(this.weekYear(),c.dow,c.doy)},$t.isoWeeksInYear=function uv(){return Vs(this.year(),1,4)},$t.isoWeeksInISOWeekYear=function ku(){return Vs(this.isoWeekYear(),1,4)},$t.date=Bo,$t.day=$t.days=function wm(c){if(!this.isValid())return null!=c?this:NaN;var _=z(this,"Day");return null!=c?(c=function Ei(c,_){return"string"!=typeof c?c:isNaN(c)?"number"==typeof(c=_.weekdaysParse(c))?c:null:parseInt(c,10)}(c,this.localeData()),this.add(c-_,"d")):_},$t.weekday=function Mm(c){if(!this.isValid())return null!=c?this:NaN;var _=(this.day()+7-this.localeData()._week.dow)%7;return null==c?_:this.add(c-_,"d")},$t.isoWeekday=function Dm(c){if(!this.isValid())return null!=c?this:NaN;if(null!=c){var _=function mE(c,_){return"string"==typeof c?_.weekdaysParse(c)%7||7:isNaN(c)?null:c}(c,this.localeData());return this.day(this.day()%7?_:_-7)}return this.day()||7},$t.dayOfYear=function Ec(c){var _=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==c?_:this.add(c-_,"d")},$t.hour=$t.hours=nh,$t.minute=$t.minutes=hv,$t.second=$t.seconds=pv,$t.millisecond=$t.milliseconds=Ru,$t.utcOffset=function Sm(c,_,T){var Z,I=this._offset||0;if(!this.isValid())return null!=c?this:NaN;if(null!=c){if("string"==typeof c){if(null===(c=lh(we,c)))return this}else Math.abs(c)<16&&!T&&(c*=60);return!this._isUTC&&_&&(Z=Mu(this)),this._offset=c,this._isUTC=!0,null!=Z&&this.add(Z,"m"),I!==c&&(!_||this._changeInProgress?km(this,uo(c-I,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,m.updateOffset(this,!0),this._changeInProgress=null)),this}return this._isUTC?I:Mu(this)},$t.utc=function uh(c){return this.utcOffset(0,c)},$t.local=function Uy(c){return this._isUTC&&(this.utcOffset(0,c),this._isUTC=!1,c&&this.subtract(Mu(this),"m")),this},$t.parseZone=function Rs(){if(null!=this._tzm)this.utcOffset(this._tzm,!1,!0);else if("string"==typeof this._i){var c=lh(fe,this._i);null!=c?this.utcOffset(c):this.utcOffset(0,!0)}return this},$t.hasAlignedHourOffset=function dh(c){return!!this.isValid()&&(c=c?Vi(c).utcOffset():0,(this.utcOffset()-c)%60==0)},$t.isDST=function zy(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},$t.isLocal=function Gy(){return!!this.isValid()&&!this._isUTC},$t.isUtcOffset=function $y(){return!!this.isValid()&&this._isUTC},$t.isUtc=Du,$t.isUTC=Du,$t.zoneAbbr=function fv(){return this._isUTC?"UTC":""},$t.zoneName=function kE(){return this._isUTC?"Coordinated Universal Time":""},$t.dates=E("dates accessor is deprecated. Use date instead.",Bo),$t.months=E("months accessor is deprecated. Use month instead",nr),$t.years=E("years accessor is deprecated. Use year instead",qt),$t.zone=E("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",function qy(c,_){return null!=c?("string"!=typeof c&&(c=-c),this.utcOffset(c,_),this):-this.utcOffset()}),$t.isDSTShifted=E("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",function hh(){if(!b(this._isDSTShifted))return this._isDSTShifted;var _,c={};return Tt(c,this),(c=jy(c))._a?(_=c._isUTC?j(c._a):Vi(c._a),this._isDSTShifted=this.isValid()&&function Vy(c,_,T){var dt,I=Math.min(c.length,_.length),Z=Math.abs(c.length-_.length),je=0;for(dt=0;dt0):this._isDSTShifted=!1,this._isDSTShifted});var ri=ge.prototype;function Cc(c,_,T,I){var Z=gi(),je=j().set(I,_);return Z[T](je,c)}function Eh(c,_,T){if(C(c)&&(_=c,c=void 0),c=c||"",null!=_)return Cc(c,_,T,"month");var I,Z=[];for(I=0;I<12;I++)Z[I]=Cc(c,I,T,"month");return Z}function ma(c,_,T,I){"boolean"==typeof c?(C(_)&&(T=_,_=void 0),_=_||""):(T=_=c,c=!1,C(_)&&(T=_,_=void 0),_=_||"");var dt,Z=gi(),je=c?Z._week.dow:0,dn=[];if(null!=T)return Cc(_,(T+je)%7,I,"day");for(dt=0;dt<7;dt++)dn[dt]=Cc(_,(dt+je)%7,I,"day");return dn}ri.calendar=function We(c,_,T){var I=this._calendar[c]||this._calendar.sameElse;return K(I)?I.call(_,T):I},ri.longDateFormat=function Fe(c){var _=this._longDateFormat[c],T=this._longDateFormat[c.toUpperCase()];return _||!T?_:(this._longDateFormat[c]=T.match(Q).map(function(I){return"MMMM"===I||"MM"===I||"DD"===I||"dddd"===I?I.slice(1):I}).join(""),this._longDateFormat[c])},ri.invalidDate=function gt(){return this._invalidDate},ri.ordinal=function St(c){return this._ordinal.replace("%d",c)},ri.preparse=Ou,ri.postformat=Ou,ri.relativeTime=function nn(c,_,T,I){var Z=this._relativeTime[T];return K(Z)?Z(c,_,T,I):Z.replace(/%d/i,c)},ri.pastFuture=function Wt(c,_){var T=this._relativeTime[c>0?"future":"past"];return K(T)?T(_):T.replace(/%s/i,_)},ri.set=function Pe(c){var _,T;for(T in c)g(c,T)&&(K(_=c[T])?this[T]=_:this["_"+T]=_);this._config=c,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)},ri.eras=function sv(c,_){var T,I,Z,je=this._eras||gi("en")._eras;for(T=0,I=je.length;T=0)return je[I]},ri.erasConvertYear=function Tu(c,_){var T=c.since<=c.until?1:-1;return void 0===_?m(c.since).year():m(c.since).year()+(_-c.offset)*T},ri.erasAbbrRegex=function ov(c){return g(this,"_erasAbbrRegex")||Dh.call(this),c?this._erasAbbrRegex:this._erasRegex},ri.erasNameRegex=function Su(c){return g(this,"_erasNameRegex")||Dh.call(this),c?this._erasNameRegex:this._erasRegex},ri.erasNarrowRegex=function av(c){return g(this,"_erasNarrowRegex")||Dh.call(this),c?this._erasNarrowRegex:this._erasRegex},ri.months=function Vn(c,_){return c?u(this._months)?this._months[c.month()]:this._months[(this._months.isFormat||He).test(_)?"format":"standalone"][c.month()]:u(this._months)?this._months:this._months.standalone},ri.monthsShort=function $n(c,_){return c?u(this._monthsShort)?this._monthsShort[c.month()]:this._monthsShort[He.test(_)?"format":"standalone"][c.month()]:u(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},ri.monthsParse=function Bn(c,_,T){var I,Z,je;if(this._monthsParseExact)return pi.call(this,c,_,T);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),I=0;I<12;I++){if(Z=j([2e3,I]),T&&!this._longMonthsParse[I]&&(this._longMonthsParse[I]=new RegExp("^"+this.months(Z,"").replace(".","")+"$","i"),this._shortMonthsParse[I]=new RegExp("^"+this.monthsShort(Z,"").replace(".","")+"$","i")),!T&&!this._monthsParse[I]&&(je="^"+this.months(Z,"")+"|^"+this.monthsShort(Z,""),this._monthsParse[I]=new RegExp(je.replace(".",""),"i")),T&&"MMMM"===_&&this._longMonthsParse[I].test(c))return I;if(T&&"MMM"===_&&this._shortMonthsParse[I].test(c))return I;if(!T&&this._monthsParse[I].test(c))return I}},ri.monthsRegex=function ns(c){return this._monthsParseExact?(g(this,"_monthsRegex")||Fi.call(this),c?this._monthsStrictRegex:this._monthsRegex):(g(this,"_monthsRegex")||(this._monthsRegex=Tn),this._monthsStrictRegex&&c?this._monthsStrictRegex:this._monthsRegex)},ri.monthsShortRegex=function En(c){return this._monthsParseExact?(g(this,"_monthsRegex")||Fi.call(this),c?this._monthsShortStrictRegex:this._monthsShortRegex):(g(this,"_monthsShortRegex")||(this._monthsShortRegex=fn),this._monthsShortStrictRegex&&c?this._monthsShortStrictRegex:this._monthsShortRegex)},ri.week=function _m(c){return Tr(c,this._week.dow,this._week.doy).week},ri.firstDayOfYear=function Ry(){return this._week.doy},ri.firstDayOfWeek=function fc(){return this._week.dow},ri.weekdays=function Ro(c,_){var T=u(this._weekdays)?this._weekdays:this._weekdays[c&&!0!==c&&this._weekdays.isFormat.test(_)?"format":"standalone"];return!0===c?ym(T,this._week.dow):c?T[c.day()]:T},ri.weekdaysMin=function Oy(c){return!0===c?ym(this._weekdaysMin,this._week.dow):c?this._weekdaysMin[c.day()]:this._weekdaysMin},ri.weekdaysShort=function gc(c){return!0===c?ym(this._weekdaysShort,this._week.dow):c?this._weekdaysShort[c.day()]:this._weekdaysShort},ri.weekdaysParse=function bm(c,_,T){var I,Z,je;if(this._weekdaysParseExact)return It.call(this,c,_,T);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),I=0;I<7;I++){if(Z=j([2e3,1]).day(I),T&&!this._fullWeekdaysParse[I]&&(this._fullWeekdaysParse[I]=new RegExp("^"+this.weekdays(Z,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[I]=new RegExp("^"+this.weekdaysShort(Z,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[I]=new RegExp("^"+this.weekdaysMin(Z,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[I]||(je="^"+this.weekdays(Z,"")+"|^"+this.weekdaysShort(Z,"")+"|^"+this.weekdaysMin(Z,""),this._weekdaysParse[I]=new RegExp(je.replace(".",""),"i")),T&&"dddd"===_&&this._fullWeekdaysParse[I].test(c))return I;if(T&&"ddd"===_&&this._shortWeekdaysParse[I].test(c))return I;if(T&&"dd"===_&&this._minWeekdaysParse[I].test(c))return I;if(!T&&this._weekdaysParse[I].test(c))return I}},ri.weekdaysRegex=function Yt(c){return this._weekdaysParseExact?(g(this,"_weekdaysRegex")||rt.call(this),c?this._weekdaysStrictRegex:this._weekdaysRegex):(g(this,"_weekdaysRegex")||(this._weekdaysRegex=eh),this._weekdaysStrictRegex&&c?this._weekdaysStrictRegex:this._weekdaysRegex)},ri.weekdaysShortRegex=function Py(c){return this._weekdaysParseExact?(g(this,"_weekdaysRegex")||rt.call(this),c?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(g(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=th),this._weekdaysShortStrictRegex&&c?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},ri.weekdaysMinRegex=function Em(c){return this._weekdaysParseExact?(g(this,"_weekdaysRegex")||rt.call(this),c?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(g(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=vm),this._weekdaysMinStrictRegex&&c?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},ri.isPM=function xs(c){return"p"===(c+"").toLowerCase().charAt(0)},ri.meridiem=function _c(c,_,T){return c>11?T?"pm":"PM":T?"am":"AM"},rs("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 _=c%10;return c+(1===W(c%100/10)?"th":1===_?"st":2===_?"nd":3===_?"rd":"th")}}),m.lang=E("moment.lang is deprecated. Use moment.locale instead.",rs),m.langData=E("moment.langData is deprecated. Use moment.localeData instead.",gi);var ho=Math.abs;function zm(c,_,T,I){var Z=uo(_,T);return c._milliseconds+=I*Z._milliseconds,c._days+=I*Z._days,c._months+=I*Z._months,c._bubble()}function Fu(c){return c<0?Math.floor(c):Math.ceil(c)}function Sc(c){return 4800*c/146097}function Ll(c){return 146097*c/4800}function po(c){return function(){return this.as(c)}}var Sh=po("ms"),Gm=po("s"),$m=po("m"),vv=po("h"),bv=po("d"),Nu=po("w"),kc=po("M"),wv=po("Q"),Wm=po("y"),Qm=Sh;function jo(c){return function(){return this.isValid()?this._data[c]:NaN}}var _r=jo("milliseconds"),Pl=jo("seconds"),Fl=jo("minutes"),Nl=jo("hours"),Km=jo("days"),kh=jo("months"),Bl=jo("years");var Yo=Math.round,ht={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function Mv(c,_,T,I,Z){return Z.relativeTime(_||1,!!T,c,I)}var Xm=Math.abs;function Qa(c){return(c>0)-(c<0)||+c}function fa(){if(!this.isValid())return this.localeData().invalidDate();var I,Z,je,dt,Rn,Wn,zr,Ho,c=Xm(this._milliseconds)/1e3,_=Xm(this._days),T=Xm(this._months),dn=this.asSeconds();return dn?(I=me(c/60),Z=me(I/60),c%=60,I%=60,je=me(T/12),T%=12,dt=c?c.toFixed(3).replace(/\.?0+$/,""):"",Rn=dn<0?"-":"",Wn=Qa(this._months)!==Qa(dn)?"-":"",zr=Qa(this._days)!==Qa(dn)?"-":"",Ho=Qa(this._milliseconds)!==Qa(dn)?"-":"",Rn+"P"+(je?Wn+je+"Y":"")+(T?Wn+T+"M":"")+(_?zr+_+"D":"")+(Z||I||c?"T":"")+(Z?Ho+Z+"H":"")+(I?Ho+I+"M":"")+(c?Ho+dt+"S":"")):"P0D"}var ui=oh.prototype;return ui.isValid=function sh(){return this._isValid},ui.abs=function Um(){var c=this._data;return this._milliseconds=ho(this._milliseconds),this._days=ho(this._days),this._months=ho(this._months),c.milliseconds=ho(c.milliseconds),c.seconds=ho(c.seconds),c.minutes=ho(c.minutes),c.hours=ho(c.hours),c.months=ho(c.months),c.years=ho(c.years),this},ui.add=function _v(c,_){return zm(this,c,_,1)},ui.subtract=function Tc(c,_){return zm(this,c,_,-1)},ui.as=function yv(c){if(!this.isValid())return NaN;var _,T,I=this._milliseconds;if("month"===(c=xn(c))||"quarter"===c||"year"===c)switch(_=this._days+I/864e5,T=this._months+Sc(_),c){case"month":return T;case"quarter":return T/3;case"year":return T/12}else switch(_=this._days+Math.round(Ll(this._months)),c){case"week":return _/7+I/6048e5;case"day":return _+I/864e5;case"hour":return 24*_+I/36e5;case"minute":return 1440*_+I/6e4;case"second":return 86400*_+I/1e3;case"millisecond":return Math.floor(864e5*_)+I;default:throw new Error("Unknown unit "+c)}},ui.asMilliseconds=Sh,ui.asSeconds=Gm,ui.asMinutes=$m,ui.asHours=vv,ui.asDays=bv,ui.asWeeks=Nu,ui.asMonths=kc,ui.asQuarters=wv,ui.asYears=Wm,ui.valueOf=Qm,ui._bubble=function Th(){var Z,je,dt,dn,Rn,c=this._milliseconds,_=this._days,T=this._months,I=this._data;return c>=0&&_>=0&&T>=0||c<=0&&_<=0&&T<=0||(c+=864e5*Fu(Ll(T)+_),_=0,T=0),I.milliseconds=c%1e3,Z=me(c/1e3),I.seconds=Z%60,je=me(Z/60),I.minutes=je%60,dt=me(je/60),I.hours=dt%24,_+=me(dt/24),T+=Rn=me(Sc(_)),_-=Fu(Ll(Rn)),dn=me(T/12),T%=12,I.days=_,I.months=T,I.years=dn,this},ui.clone=function Ol(){return uo(this)},ui.get=function Hn(c){return c=xn(c),this.isValid()?this[c+"s"]():NaN},ui.milliseconds=_r,ui.seconds=Pl,ui.minutes=Fl,ui.hours=Nl,ui.days=Km,ui.weeks=function xc(){return me(this.days()/7)},ui.months=kh,ui.years=Bl,ui.humanize=function Dv(c,_){if(!this.isValid())return this.localeData().invalidDate();var Z,je,T=!1,I=ht;return"object"==typeof c&&(_=c,c=!1),"boolean"==typeof c&&(T=c),"object"==typeof _&&(I=Object.assign({},ht,_),null!=_.s&&null==_.ss&&(I.ss=_.s-1)),je=function IE(c,_,T,I){var Z=uo(c).abs(),je=Yo(Z.as("s")),dt=Yo(Z.as("m")),dn=Yo(Z.as("h")),Rn=Yo(Z.as("d")),Wn=Yo(Z.as("M")),zr=Yo(Z.as("w")),Ho=Yo(Z.as("y")),ga=je<=T.ss&&["s",je]||je0,ga[4]=I,Mv.apply(null,ga)}(this,!T,I,Z=this.localeData()),T&&(je=Z.pastFuture(+this,je)),Z.postformat(je)},ui.toISOString=fa,ui.toString=fa,ui.toJSON=fa,ui.locale=yh,ui.localeData=zs,ui.toIsoString=E("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",fa),ui.lang=xl,be("X",0,0,"unix"),be("x",0,0,"valueOf"),_t("x",J),_t("X",/[+-]?\d+(\.\d{1,3})?/),_e("X",function(c,_,T){T._d=new Date(1e3*parseFloat(c))}),_e("x",function(c,_,T){T._d=new Date(W(c))}),m.version="2.30.1",function d(c){v=c}(Vi),m.fn=$t,m.min=function ME(){return Hy("isBefore",[].slice.call(arguments,0))},m.max=function DE(){return Hy("isAfter",[].slice.call(arguments,0))},m.now=function(){return Date.now?Date.now():+new Date},m.utc=j,m.unix=function Lu(c){return Vi(1e3*c)},m.months=function gv(c,_){return Eh(c,_,"months")},m.isDate=P,m.locale=rs,m.invalid=ct,m.duration=uo,m.isMoment=Ze,m.weekdays=function Ch(c,_,T){return ma(c,_,T,"weekdays")},m.parseZone=function qm(){return Vi.apply(null,arguments).parseZone()},m.localeData=gi,m.isDuration=ah,m.monthsShort=function Rl(c,_){return Eh(c,_,"monthsShort")},m.weekdaysMin=function xE(c,_,T){return ma(c,_,T,"weekdaysMin")},m.defineLocale=ur,m.updateLocale=function $a(c,_){if(null!=_){var T,I,Z=yc;null!=fi[c]&&null!=fi[c].parentLocale?fi[c].set(Be(fi[c]._config,_)):(null!=(I=qr(c))&&(Z=I._config),_=Be(Z,_),null==I&&(_.abbr=c),(T=new ge(_)).parentLocale=fi[c],fi[c]=T),rs(c)}else null!=fi[c]&&(null!=fi[c].parentLocale?(fi[c]=fi[c].parentLocale,c===rs()&&rs(c)):null!=fi[c]&&delete fi[c]);return fi[c]},m.locales=function bc(){return ot(fi)},m.weekdaysShort=function Pu(c,_,T){return ma(c,_,T,"weekdaysShort")},m.normalizeUnits=xn,m.relativeTimeRounding=function Zm(c){return void 0===c?Yo:"function"==typeof c&&(Yo=c,!0)},m.relativeTimeThreshold=function AE(c,_){return void 0!==ht[c]&&(void 0===_?ht[c]:(ht[c]=_,"s"===c&&(ht.ss=_-1),!0))},m.calendarFormat=function xm(c,_){var T=c.diff(_,"days",!0);return T<-6?"sameElse":T<-1?"lastWeek":T<0?"lastDay":T<1?"sameDay":T<2?"nextDay":T<7?"nextWeek":"sameElse"},m.prototype=$t,m.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"},m}()},9637:(se,q)=>{"use strict";var v=function(){if("undefined"!=typeof self)return self;if("undefined"!=typeof window)return window;if("undefined"!=typeof global)return global;throw new Error("unable to locate global object")}();se.exports=q=v.fetch,v.fetch&&(q.default=v.fetch.bind(v)),q.Headers=v.Headers,q.Request=v.Request,q.Response=v.Response},6051:(se,q,w)=>{se.exports=function v(m){m.getFirstPage=w(6849).bind(null,m),m.getLastPage=w(7386).bind(null,m),m.getNextPage=w(8283).bind(null,m),m.getPreviousPage=w(7742).bind(null,m),m.hasFirstPage=w(3465),m.hasLastPage=w(1484),m.hasNextPage=w(8012),m.hasPreviousPage=w(9643)}},6695:se=>{se.exports=function w(v){q[v]||(console.warn(`DEPRECATED (@octokit/rest): ${v}`),q[v]=1)};const q={}},6849:(se,q,w)=>{se.exports=function m(d,u,p){return v(d,u,"first",p)};const v=w(8811)},7386:(se,q,w)=>{se.exports=function m(d,u,p){return v(d,u,"last",p)};const v=w(8811)},8283:(se,q,w)=>{se.exports=function m(d,u,p){return v(d,u,"next",p)};const v=w(8811)},9970:se=>{se.exports=function q(w){const v={};return(w=w.link||w.headers.link||"").replace(/<([^>]*)>;\s*rel="([\w]*)"/g,(m,d,u)=>{v[u]=d}),v}},8811:(se,q,w)=>{se.exports=function u(g,y,b,C){v(`octokit.get${b.charAt(0).toUpperCase()+b.slice(1)}Page() \u2013 You can use octokit.paginate or async iterators instead: https://github.com/octokit/rest.js#pagination.`);const P=m(y)[b];if(!P){const j=new d(`No ${b} page found`,404);return Promise.reject(j)}const N={url:P,headers:p(y,C)};return g.request(N)};const v=w(6695),m=w(9970),d=w(9780);function p(g,y){const b=g.headers&&g.headers["x-github-media-type"];return!b||y&&y.accept||((y=y||{}).accept="application/vnd."+b.replace("; param=",".").replace("; format=","+")),y}},7742:(se,q,w)=>{se.exports=function m(d,u,p){return v(d,u,"prev",p)};const v=w(8811)},3465:(se,q,w)=>{se.exports=function d(u){return v("octokit.hasFirstPage() \u2013 You can use octokit.paginate or async iterators instead: https://github.com/octokit/rest.js#pagination."),m(u).first};const v=w(6695),m=w(9970)},1484:(se,q,w)=>{se.exports=function d(u){return v("octokit.hasLastPage() \u2013 You can use octokit.paginate or async iterators instead: https://github.com/octokit/rest.js#pagination."),m(u).last};const v=w(6695),m=w(9970)},8012:(se,q,w)=>{se.exports=function d(u){return v("octokit.hasNextPage() \u2013 You can use octokit.paginate or async iterators instead: https://github.com/octokit/rest.js#pagination."),m(u).next};const v=w(6695),m=w(9970)},9643:(se,q,w)=>{se.exports=function d(u){return v("octokit.hasPreviousPage() \u2013 You can use octokit.paginate or async iterators instead: https://github.com/octokit/rest.js#pagination."),m(u).prev};const v=w(6695),m=w(9970)},9780:se=>{se.exports=class extends Error{constructor(w,v,m){super(w),Error.captureStackTrace&&Error.captureStackTrace(this,this.constructor),this.name="HttpError",this.code=v,this.headers=m}}},6389:(se,q,w)=>{var v=w(9136);function m(u){var p=function(){return p.called?p.value:(p.called=!0,p.value=u.apply(this,arguments))};return p.called=!1,p}function d(u){var p=function(){if(p.called)throw new Error(p.onceError);return p.called=!0,p.value=u.apply(this,arguments)};return p.onceError=(u.name||"Function wrapped with `once`")+" shouldn't be called more than once",p.called=!1,p}se.exports=v(m),se.exports.strict=v(d),m.proto=m(function(){Object.defineProperty(Function.prototype,"once",{value:function(){return m(this)},configurable:!0}),Object.defineProperty(Function.prototype,"onceStrict",{value:function(){return d(this)},configurable:!0})})},3037:()=>{var se,q;q=se||(se={}),function(w){var v="object"==typeof global?global:"object"==typeof self?self:"object"==typeof this?this:Function("return this;")(),m=d(q);function d(u,p){return function(g,y){"function"!=typeof u[g]&&Object.defineProperty(u,g,{configurable:!0,writable:!0,value:y}),p&&p(g,y)}}void 0===v.Reflect?v.Reflect=q:m=d(v.Reflect,m),function(w){var v=Object.prototype.hasOwnProperty,m="function"==typeof Symbol,d=m&&void 0!==Symbol.toPrimitive?Symbol.toPrimitive:"@@toPrimitive",u=m&&void 0!==Symbol.iterator?Symbol.iterator:"@@iterator",p="function"==typeof Object.create,g={__proto__:[]}instanceof Array,y=!p&&!g,b={create:p?function(){return Xe(Object.create(null))}:g?function(){return Xe({__proto__:null})}:function(){return Xe({})},has:y?function(le,Me){return v.call(le,Me)}:function(le,Me){return Me in le},get:y?function(le,Me){return v.call(le,Me)?le[Me]:void 0}:function(le,Me){return le[Me]}},C=Object.getPrototypeOf(Function),P="object"==typeof process&&process.env&&"true"===process.env.REFLECT_METADATA_USE_MAP_POLYFILL,N=P||"function"!=typeof Map||"function"!=typeof Map.prototype.entries?function jn(){var le={},Me=[],xe=function(){function ft(Le,Ye,mt){this._index=0,this._keys=Le,this._values=Ye,this._selector=mt}return ft.prototype["@@iterator"]=function(){return this},ft.prototype[u]=function(){return this},ft.prototype.next=function(){var Le=this._index;if(Le>=0&&Le=this._keys.length?(this._index=-1,this._keys=Me,this._values=Me):this._index++,{value:Ye,done:!1}}return{value:void 0,done:!0}},ft.prototype.throw=function(Le){throw this._index>=0&&(this._index=-1,this._keys=Me,this._values=Me),Le},ft.prototype.return=function(Le){return this._index>=0&&(this._index=-1,this._keys=Me,this._values=Me),{value:Le,done:!0}},ft}();return function(){function ft(){this._keys=[],this._values=[],this._cacheKey=le,this._cacheIndex=-2}return Object.defineProperty(ft.prototype,"size",{get:function(){return this._keys.length},enumerable:!0,configurable:!0}),ft.prototype.has=function(Le){return this._find(Le,!1)>=0},ft.prototype.get=function(Le){var Ye=this._find(Le,!1);return Ye>=0?this._values[Ye]:void 0},ft.prototype.set=function(Le,Ye){var mt=this._find(Le,!0);return this._values[mt]=Ye,this},ft.prototype.delete=function(Le){var Ye=this._find(Le,!1);if(Ye>=0){for(var mt=this._keys.length,wt=Ye+1;wt=0;--xe){var at=(0,le[xe])(Me);if(!Q(at)&&!X(at)){if(!ut(at))throw new TypeError;Me=at}}return Me}(le,Me)}if(!zt(le))throw new TypeError;if(!ae(Me))throw new TypeError;if(!ae(Ke)&&!Q(Ke)&&!X(Ke))throw new TypeError;return X(Ke)&&(Ke=void 0),function G(le,Me,xe,Ke){for(var at=le.length-1;at>=0;--at){var ft=(0,le[at])(Me,xe,Ke);if(!Q(ft)&&!X(ft)){if(!ae(ft))throw new TypeError;Ke=ft}}return Ke}(le,Me,xe=Ht(xe),Ke)}),w("metadata",function ne(le,Me){return function xe(Ke,at){if(!ae(Ke))throw new TypeError;if(!Q(at)&&!function gt(le){switch(vt(le)){case 3:case 4:return!0;default:return!1}}(at))throw new TypeError;ot(le,Me,Ke,at)}}),w("defineMetadata",function Ge(le,Me,xe,Ke){if(!ae(xe))throw new TypeError;return Q(Ke)||(Ke=Ht(Ke)),ot(le,Me,xe,Ke)}),w("hasMetadata",function ct(le,Me,xe){if(!ae(Me))throw new TypeError;return Q(xe)||(xe=Ht(xe)),K(le,Me,xe)}),w("hasOwnMetadata",function Nt(le,Me,xe){if(!ae(Me))throw new TypeError;return Q(xe)||(xe=Ht(xe)),Pe(le,Me,xe)}),w("getMetadata",function Lt(le,Me,xe){if(!ae(Me))throw new TypeError;return Q(xe)||(xe=Ht(xe)),Be(le,Me,xe)}),w("getOwnMetadata",function Tt(le,Me,xe){if(!ae(Me))throw new TypeError;return Q(xe)||(xe=Ht(xe)),ge(le,Me,xe)}),w("getMetadataKeys",function st(le,Me){if(!ae(le))throw new TypeError;return Q(Me)||(Me=Ht(Me)),yt(le,Me)}),w("getOwnMetadataKeys",function Ze(le,Me){if(!ae(le))throw new TypeError;return Q(Me)||(Me=Ht(Me)),We(le,Me)}),w("deleteMetadata",function Ce(le,Me,xe){if(!ae(Me))throw new TypeError;Q(xe)||(xe=Ht(xe));var Ke=re(Me,xe,!1);if(Q(Ke)||!Ke.delete(le))return!1;if(Ke.size>0)return!0;var at=F.get(Me);return at.delete(xe),at.size>0||F.delete(Me),!0})}(m)}()},1082:(se,q,w)=>{"use strict";w.d(q,{ej:()=>K,kG:()=>Pe,U6:()=>yt});var v=function(X,ve){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(ae,be){ae.__proto__=be}||function(ae,be){for(var Ve in be)be.hasOwnProperty(Ve)&&(ae[Ve]=be[Ve])})(X,ve)},E="Invariant Violation",G=Object.setPrototypeOf,re=void 0===G?function(X,ve){return X.__proto__=ve,X}:G,K=function(X){function ve(ae){void 0===ae&&(ae=E);var be=X.call(this,"number"==typeof ae?E+": "+ae+" (see https://github.com/apollographql/invariant-packages)":ae)||this;return be.framesToPop=1,be.name=E,re(be,ve.prototype),be}return function m(X,ve){function ae(){this.constructor=X}v(X,ve),X.prototype=null===ve?Object.create(ve):(ae.prototype=ve.prototype,new ae)}(ve,X),ve}(Error);function Pe(X,ve){if(!X)throw new K(ve)}var X,Be=["log","warn","error","silent"],ge=Be.indexOf("log");function ot(X){return function(){if(Be.indexOf(X)>=ge)return console[X].apply(console,arguments)}}function yt(X){var ve=Be[ge];return ge=Math.max(0,Be.indexOf(X)),ve}(X=Pe||(Pe={})).log=ot("log"),X.warn=ot("warn"),X.error=ot("error");var We={env:{}};if("object"==typeof process)We=process;else try{Function("stub","process = stub")(We)}catch(X){}},9136:se=>{se.exports=function q(w,v){if(w&&v)return q(w)(v);if("function"!=typeof w)throw new TypeError("need wrapper function");return Object.keys(w).forEach(function(d){m[d]=w[d]}),m;function m(){for(var d=new Array(arguments.length),u=0;u{se.exports=w(6289).Observable},6289:(se,q)=>{"use strict";function v(Ze,Ce){if(!(Ze instanceof Ce))throw new TypeError("Cannot call a class as a function")}function m(Ze,Ce){for(var E=0;E1,Pe=!1,Be=arguments[1],ge=Be;return new re(function(ot){return G.subscribe({next:function(yt){var We=!Pe;if(Pe=!0,!We||K)try{ge=E(ge,yt)}catch(vt){return ot.error(vt)}else ge=yt},error:function(yt){ot.error(yt)},complete:function(){if(!Pe&&!K)return ot.error(new TypeError("Cannot reduce an empty sequence"));ot.next(ge),ot.complete()}})})}},{key:"concat",value:function(){for(var E=this,G=arguments.length,re=new Array(G),K=0;K=0&&Pe.splice(We,1),ge()}});Pe.push(yt)},error:function(ot){K.error(ot)},complete:function(){ge()}});function ge(){Be.closed&&0===Pe.length&&K.complete()}return function(){Pe.forEach(function(ot){return ot.unsubscribe()}),Be.unsubscribe()}})}},{key:b,value:function(){return this}}],[{key:"from",value:function(E){var G="function"==typeof this?this:Ze;if(null==E)throw new TypeError(E+" is not an object");var re=P(E,b);if(re){var K=re.call(E);if(Object(K)!==K)throw new TypeError(K+" is not an object");return function R(Ze){return Ze instanceof st}(K)&&K.constructor===G?K:new G(function(Pe){return K.subscribe(Pe)})}if(p("iterator")&&(re=P(E,y)))return new G(function(Pe){F(function(){if(!Pe.closed){var Be=!0,ge=!1,ot=void 0;try{for(var We,yt=re.call(E)[Symbol.iterator]();!(Be=(We=yt.next()).done);Be=!0)if(Pe.next(We.value),Pe.closed)return}catch(Q){ge=!0,ot=Q}finally{try{!Be&&null!=yt.return&&yt.return()}finally{if(ge)throw ot}}Pe.complete()}})});if(Array.isArray(E))return new G(function(Pe){F(function(){if(!Pe.closed){for(var Be=0;Be{"use strict";!function(ue){const Xe=ue.performance;function le(Ue){Xe&&Xe.mark&&Xe.mark(Ue)}function Me(Ue,et){Xe&&Xe.measure&&Xe.measure(Ue,et)}le("Zone");const xe=ue.__Zone_symbol_prefix||"__zone_symbol__";function Ke(Ue){return xe+Ue}const at=!0===ue[Ke("forceDuplicateZoneCheck")];if(ue.Zone){if(at||"function"!=typeof ue.Zone.__symbol__)throw new Error("Zone already loaded.");return ue.Zone}let Ot=(()=>{class Ue{constructor(de,ke){this._parent=de,this._name=ke?ke.name||"unnamed":"",this._properties=ke&&ke.properties||{},this._zoneDelegate=new Le(this,this._parent&&this._parent._zoneDelegate,ke)}static assertZonePatched(){if(ue.Promise!==_e.ZoneAwarePromise)throw new Error("Zone.js has detected that ZoneAwarePromise `(window|global).Promise` has been overwritten.\nMost likely cause is that a Promise polyfill has been loaded after Zone.js (Polyfilling Promise api is not necessary when zone.js is loaded. If you must load one, do so before loading zone.js.)")}static get root(){let de=Ue.current;for(;de.parent;)de=de.parent;return de}static get current(){return U.zone}static get currentTask(){return ee}static __load_patch(de,ke,Pt=!1){if(_e.hasOwnProperty(de)){if(!Pt&&at)throw Error("Already loaded patch: "+de)}else if(!ue["__Zone_disable_"+de]){const sn="Zone:"+de;le(sn),_e[de]=ke(ue,Ue,Oe),Me(sn,sn)}}get parent(){return this._parent}get name(){return this._name}get(de){const ke=this.getZoneWith(de);if(ke)return ke._properties[de]}getZoneWith(de){let ke=this;for(;ke;){if(ke._properties.hasOwnProperty(de))return ke;ke=ke._parent}return null}fork(de){if(!de)throw new Error("ZoneSpec required!");return this._zoneDelegate.fork(this,de)}wrap(de,ke){if("function"!=typeof de)throw new Error("Expecting function got: "+de);const Pt=this._zoneDelegate.intercept(this,de,ke),sn=this;return function(){return sn.runGuarded(Pt,this,arguments,ke)}}run(de,ke,Pt,sn){U={parent:U,zone:this};try{return this._zoneDelegate.invoke(this,de,ke,Pt,sn)}finally{U=U.parent}}runGuarded(de,ke=null,Pt,sn){U={parent:U,zone:this};try{try{return this._zoneDelegate.invoke(this,de,ke,Pt,sn)}catch(Xn){if(this._zoneDelegate.handleError(this,Xn))throw Xn}}finally{U=U.parent}}runTask(de,ke,Pt){if(de.zone!=this)throw new Error("A task can only be run in the zone of creation! (Creation: "+(de.zone||he).name+"; Execution: "+this.name+")");if(de.state===Qe&&(de.type===ce||de.type===W))return;const sn=de.state!=Mt;sn&&de._transitionTo(Mt,_t),de.runCount++;const Xn=ee;ee=de,U={parent:U,zone:this};try{de.type==W&&de.data&&!de.data.isPeriodic&&(de.cancelFn=void 0);try{return this._zoneDelegate.invokeTask(this,de,ke,Pt)}catch(Ft){if(this._zoneDelegate.handleError(this,Ft))throw Ft}}finally{de.state!==Qe&&de.state!==ie&&(de.type==ce||de.data&&de.data.isPeriodic?sn&&de._transitionTo(_t,Mt):(de.runCount=0,this._updateTaskCount(de,-1),sn&&de._transitionTo(Qe,Mt,Qe))),U=U.parent,ee=Xn}}scheduleTask(de){if(de.zone&&de.zone!==this){let Pt=this;for(;Pt;){if(Pt===de.zone)throw Error(`can not reschedule task to ${this.name} which is descendants of the original zone ${de.zone.name}`);Pt=Pt.parent}}de._transitionTo(Bt,Qe);const ke=[];de._zoneDelegates=ke,de._zone=this;try{de=this._zoneDelegate.scheduleTask(this,de)}catch(Pt){throw de._transitionTo(ie,Bt,Qe),this._zoneDelegate.handleError(this,Pt),Pt}return de._zoneDelegates===ke&&this._updateTaskCount(de,1),de.state==Bt&&de._transitionTo(_t,Bt),de}scheduleMicroTask(de,ke,Pt,sn){return this.scheduleTask(new Ye(me,de,ke,Pt,sn,void 0))}scheduleMacroTask(de,ke,Pt,sn,Xn){return this.scheduleTask(new Ye(W,de,ke,Pt,sn,Xn))}scheduleEventTask(de,ke,Pt,sn,Xn){return this.scheduleTask(new Ye(ce,de,ke,Pt,sn,Xn))}cancelTask(de){if(de.zone!=this)throw new Error("A task can only be cancelled in the zone of creation! (Creation: "+(de.zone||he).name+"; Execution: "+this.name+")");de._transitionTo(en,_t,Mt);try{this._zoneDelegate.cancelTask(this,de)}catch(ke){throw de._transitionTo(ie,en),this._zoneDelegate.handleError(this,ke),ke}return this._updateTaskCount(de,-1),de._transitionTo(Qe,en),de.runCount=0,de}_updateTaskCount(de,ke){const Pt=de._zoneDelegates;-1==ke&&(de._zoneDelegates=null);for(let sn=0;snUe.hasTask(de,ke),onScheduleTask:(Ue,et,de,ke)=>Ue.scheduleTask(de,ke),onInvokeTask:(Ue,et,de,ke,Pt,sn)=>Ue.invokeTask(de,ke,Pt,sn),onCancelTask:(Ue,et,de,ke)=>Ue.cancelTask(de,ke)};class Le{constructor(et,de,ke){this._taskCounts={microTask:0,macroTask:0,eventTask:0},this.zone=et,this._parentDelegate=de,this._forkZS=ke&&(ke&&ke.onFork?ke:de._forkZS),this._forkDlgt=ke&&(ke.onFork?de:de._forkDlgt),this._forkCurrZone=ke&&(ke.onFork?this.zone:de._forkCurrZone),this._interceptZS=ke&&(ke.onIntercept?ke:de._interceptZS),this._interceptDlgt=ke&&(ke.onIntercept?de:de._interceptDlgt),this._interceptCurrZone=ke&&(ke.onIntercept?this.zone:de._interceptCurrZone),this._invokeZS=ke&&(ke.onInvoke?ke:de._invokeZS),this._invokeDlgt=ke&&(ke.onInvoke?de:de._invokeDlgt),this._invokeCurrZone=ke&&(ke.onInvoke?this.zone:de._invokeCurrZone),this._handleErrorZS=ke&&(ke.onHandleError?ke:de._handleErrorZS),this._handleErrorDlgt=ke&&(ke.onHandleError?de:de._handleErrorDlgt),this._handleErrorCurrZone=ke&&(ke.onHandleError?this.zone:de._handleErrorCurrZone),this._scheduleTaskZS=ke&&(ke.onScheduleTask?ke:de._scheduleTaskZS),this._scheduleTaskDlgt=ke&&(ke.onScheduleTask?de:de._scheduleTaskDlgt),this._scheduleTaskCurrZone=ke&&(ke.onScheduleTask?this.zone:de._scheduleTaskCurrZone),this._invokeTaskZS=ke&&(ke.onInvokeTask?ke:de._invokeTaskZS),this._invokeTaskDlgt=ke&&(ke.onInvokeTask?de:de._invokeTaskDlgt),this._invokeTaskCurrZone=ke&&(ke.onInvokeTask?this.zone:de._invokeTaskCurrZone),this._cancelTaskZS=ke&&(ke.onCancelTask?ke:de._cancelTaskZS),this._cancelTaskDlgt=ke&&(ke.onCancelTask?de:de._cancelTaskDlgt),this._cancelTaskCurrZone=ke&&(ke.onCancelTask?this.zone:de._cancelTaskCurrZone),this._hasTaskZS=null,this._hasTaskDlgt=null,this._hasTaskDlgtOwner=null,this._hasTaskCurrZone=null;const Pt=ke&&ke.onHasTask;(Pt||de&&de._hasTaskZS)&&(this._hasTaskZS=Pt?ke:ft,this._hasTaskDlgt=de,this._hasTaskDlgtOwner=this,this._hasTaskCurrZone=et,ke.onScheduleTask||(this._scheduleTaskZS=ft,this._scheduleTaskDlgt=de,this._scheduleTaskCurrZone=this.zone),ke.onInvokeTask||(this._invokeTaskZS=ft,this._invokeTaskDlgt=de,this._invokeTaskCurrZone=this.zone),ke.onCancelTask||(this._cancelTaskZS=ft,this._cancelTaskDlgt=de,this._cancelTaskCurrZone=this.zone))}fork(et,de){return this._forkZS?this._forkZS.onFork(this._forkDlgt,this.zone,et,de):new Ot(et,de)}intercept(et,de,ke){return this._interceptZS?this._interceptZS.onIntercept(this._interceptDlgt,this._interceptCurrZone,et,de,ke):de}invoke(et,de,ke,Pt,sn){return this._invokeZS?this._invokeZS.onInvoke(this._invokeDlgt,this._invokeCurrZone,et,de,ke,Pt,sn):de.apply(ke,Pt)}handleError(et,de){return!this._handleErrorZS||this._handleErrorZS.onHandleError(this._handleErrorDlgt,this._handleErrorCurrZone,et,de)}scheduleTask(et,de){let ke=de;if(this._scheduleTaskZS)this._hasTaskZS&&ke._zoneDelegates.push(this._hasTaskDlgtOwner),ke=this._scheduleTaskZS.onScheduleTask(this._scheduleTaskDlgt,this._scheduleTaskCurrZone,et,de),ke||(ke=de);else if(de.scheduleFn)de.scheduleFn(de);else{if(de.type!=me)throw new Error("Task is missing scheduleFn.");Ie(de)}return ke}invokeTask(et,de,ke,Pt){return this._invokeTaskZS?this._invokeTaskZS.onInvokeTask(this._invokeTaskDlgt,this._invokeTaskCurrZone,et,de,ke,Pt):de.callback.apply(ke,Pt)}cancelTask(et,de){let ke;if(this._cancelTaskZS)ke=this._cancelTaskZS.onCancelTask(this._cancelTaskDlgt,this._cancelTaskCurrZone,et,de);else{if(!de.cancelFn)throw Error("Task is not cancelable");ke=de.cancelFn(de)}return ke}hasTask(et,de){try{this._hasTaskZS&&this._hasTaskZS.onHasTask(this._hasTaskDlgt,this._hasTaskCurrZone,et,de)}catch(ke){this.handleError(et,ke)}}_updateTaskCount(et,de){const ke=this._taskCounts,Pt=ke[et],sn=ke[et]=Pt+de;if(sn<0)throw new Error("More tasks executed then were scheduled.");0!=Pt&&0!=sn||this.hasTask(this.zone,{microTask:ke.microTask>0,macroTask:ke.macroTask>0,eventTask:ke.eventTask>0,change:et})}}class Ye{constructor(et,de,ke,Pt,sn,Xn){if(this._zone=null,this.runCount=0,this._zoneDelegates=null,this._state="notScheduled",this.type=et,this.source=de,this.data=Pt,this.scheduleFn=sn,this.cancelFn=Xn,!ke)throw new Error("callback is not defined");this.callback=ke;const Ft=this;this.invoke=et===ce&&Pt&&Pt.useG?Ye.invokeTask:function(){return Ye.invokeTask.call(ue,Ft,this,arguments)}}static invokeTask(et,de,ke){et||(et=this),te++;try{return et.runCount++,et.zone.runTask(et,de,ke)}finally{1==te&&$(),te--}}get zone(){return this._zone}get state(){return this._state}cancelScheduleRequest(){this._transitionTo(Qe,Bt)}_transitionTo(et,de,ke){if(this._state!==de&&this._state!==ke)throw new Error(`${this.type} '${this.source}': can not transition to '${et}', expecting state '${de}'${ke?" or '"+ke+"'":""}, was '${this._state}'.`);this._state=et,et==Qe&&(this._zoneDelegates=null)}toString(){return this.data&&void 0!==this.data.handleId?this.data.handleId.toString():Object.prototype.toString.call(this)}toJSON(){return{type:this.type,state:this.state,source:this.source,zone:this.zone.name,runCount:this.runCount}}}const mt=Ke("setTimeout"),wt=Ke("Promise"),Jt=Ke("then");let fe,bn=[],J=!1;function we(Ue){if(fe||ue[wt]&&(fe=ue[wt].resolve(0)),fe){let et=fe[Jt];et||(et=fe.then),et.call(fe,Ue)}else ue[mt](Ue,0)}function Ie(Ue){0===te&&0===bn.length&&we($),Ue&&bn.push(Ue)}function $(){if(!J){for(J=!0;bn.length;){const Ue=bn;bn=[];for(let et=0;etU,onUnhandledError:Re,microtaskDrainDone:Re,scheduleMicroTask:Ie,showUncaughtError:()=>!Ot[Ke("ignoreConsoleErrorUncaughtError")],patchEventTarget:()=>[],patchOnProperties:Re,patchMethod:()=>Re,bindArguments:()=>[],patchThen:()=>Re,patchMacroTask:()=>Re,patchEventPrototype:()=>Re,isIEOrEdge:()=>!1,getGlobalObjects:()=>{},ObjectDefineProperty:()=>Re,ObjectGetOwnPropertyDescriptor:()=>{},ObjectCreate:()=>{},ArraySlice:()=>[],patchClass:()=>Re,wrapWithCurrentZone:()=>Re,filterProperties:()=>[],attachOriginToPatched:()=>Re,_redefineProperty:()=>Re,patchCallbacks:()=>Re,nativeScheduleMicroTask:we};let U={parent:null,zone:new Ot(null,null)},ee=null,te=0;function Re(){}Me("Zone","Zone"),ue.Zone=Ot}("undefined"!=typeof window&&window||"undefined"!=typeof self&&self||global);const se=Object.getOwnPropertyDescriptor,q=Object.defineProperty,w=Object.getPrototypeOf,v=Object.create,m=Array.prototype.slice,d="addEventListener",u="removeEventListener",p=Zone.__symbol__(d),g=Zone.__symbol__(u),y="true",b="false",C=Zone.__symbol__("");function P(ue,Xe){return Zone.current.wrap(ue,Xe)}function N(ue,Xe,le,Me,xe){return Zone.current.scheduleMacroTask(ue,Xe,le,Me,xe)}const R=Zone.__symbol__,j="undefined"!=typeof window,F=j?window:void 0,L=j&&F||"object"==typeof self&&self||global;function Ge(ue,Xe){for(let le=ue.length-1;le>=0;le--)"function"==typeof ue[le]&&(ue[le]=P(ue[le],Xe+"_"+le));return ue}function Nt(ue){return!ue||!1!==ue.writable&&!("function"==typeof ue.get&&void 0===ue.set)}const Lt="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope,Tt=!("nw"in L)&&void 0!==L.process&&"[object process]"==={}.toString.call(L.process),st=!Tt&&!Lt&&!(!j||!F.HTMLElement),Ze=void 0!==L.process&&"[object process]"==={}.toString.call(L.process)&&!Lt&&!(!j||!F.HTMLElement),Ce={},E=function(ue){if(!(ue=ue||L.event))return;let Xe=Ce[ue.type];Xe||(Xe=Ce[ue.type]=R("ON_PROPERTY"+ue.type));const le=this||ue.target||L,Me=le[Xe];let xe;if(st&&le===F&&"error"===ue.type){const Ke=ue;xe=Me&&Me.call(this,Ke.message,Ke.filename,Ke.lineno,Ke.colno,Ke.error),!0===xe&&ue.preventDefault()}else xe=Me&&Me.apply(this,arguments),null!=xe&&!xe&&ue.preventDefault();return xe};function G(ue,Xe,le){let Me=se(ue,Xe);if(!Me&&le&&se(le,Xe)&&(Me={enumerable:!0,configurable:!0}),!Me||!Me.configurable)return;const xe=R("on"+Xe+"patched");if(ue.hasOwnProperty(xe)&&ue[xe])return;delete Me.writable,delete Me.value;const Ke=Me.get,at=Me.set,Ot=Xe.slice(2);let ft=Ce[Ot];ft||(ft=Ce[Ot]=R("ON_PROPERTY"+Ot)),Me.set=function(Le){let Ye=this;!Ye&&ue===L&&(Ye=L),Ye&&("function"==typeof Ye[ft]&&Ye.removeEventListener(Ot,E),at&&at.call(Ye,null),Ye[ft]=Le,"function"==typeof Le&&Ye.addEventListener(Ot,E,!1))},Me.get=function(){let Le=this;if(!Le&&ue===L&&(Le=L),!Le)return null;const Ye=Le[ft];if(Ye)return Ye;if(Ke){let mt=Ke.call(this);if(mt)return Me.set.call(this,mt),"function"==typeof Le.removeAttribute&&Le.removeAttribute(Xe),mt}return null},q(ue,Xe,Me),ue[xe]=!0}function re(ue,Xe,le){if(Xe)for(let Me=0;Mefunction(at,Ot){const ft=le(at,Ot);return ft.cbIdx>=0&&"function"==typeof Ot[ft.cbIdx]?N(ft.name,Ot[ft.cbIdx],ft,xe):Ke.apply(at,Ot)})}function ot(ue,Xe){ue[R("OriginalDelegate")]=Xe}let yt=!1,We=!1;function Q(){if(yt)return We;yt=!0;try{const ue=F.navigator.userAgent;(-1!==ue.indexOf("MSIE ")||-1!==ue.indexOf("Trident/")||-1!==ue.indexOf("Edge/"))&&(We=!0)}catch(ue){}return We}Zone.__load_patch("ZoneAwarePromise",(ue,Xe,le)=>{const Me=Object.getOwnPropertyDescriptor,xe=Object.defineProperty,at=le.symbol,Ot=[],ft=!0===ue[at("DISABLE_WRAPPING_UNCAUGHT_PROMISE_REJECTION")],Le=at("Promise"),Ye=at("then");le.onUnhandledError=Ft=>{if(le.showUncaughtError()){const qt=Ft&&Ft.rejection;qt?console.error("Unhandled Promise rejection:",qt instanceof Error?qt.message:qt,"; Zone:",Ft.zone.name,"; Task:",Ft.task&&Ft.task.source,"; Value:",qt,qt instanceof Error?qt.stack:void 0):console.error(Ft)}},le.microtaskDrainDone=()=>{for(;Ot.length;){const Ft=Ot.shift();try{Ft.zone.runGuarded(()=>{throw Ft.throwOriginal?Ft.rejection:Ft})}catch(qt){Jt(qt)}}};const wt=at("unhandledPromiseRejectionHandler");function Jt(Ft){le.onUnhandledError(Ft);try{const qt=Xe[wt];"function"==typeof qt&&qt.call(this,Ft)}catch(qt){}}function bn(Ft){return Ft&&Ft.then}function J(Ft){return Ft}function fe(Ft){return de.reject(Ft)}const we=at("state"),Ie=at("value"),$=at("finally"),he=at("parentPromiseValue"),Qe=at("parentPromiseState"),_t=null,en=!1;function me(Ft,qt){return pt=>{try{Oe(Ft,qt,pt)}catch(Vt){Oe(Ft,!1,Vt)}}}const W=function(){let Ft=!1;return function(pt){return function(){Ft||(Ft=!0,pt.apply(null,arguments))}}},_e=at("currentTaskTrace");function Oe(Ft,qt,pt){const Vt=W();if(Ft===pt)throw new TypeError("Promise resolved with itself");if(Ft[we]===_t){let z=null;try{("object"==typeof pt||"function"==typeof pt)&&(z=pt&&pt.then)}catch(S){return Vt(()=>{Oe(Ft,!1,S)})(),Ft}if(qt!==en&&pt instanceof de&&pt.hasOwnProperty(we)&&pt.hasOwnProperty(Ie)&&pt[we]!==_t)ee(pt),Oe(Ft,pt[we],pt[Ie]);else if(qt!==en&&"function"==typeof z)try{z.call(pt,Vt(me(Ft,qt)),Vt(me(Ft,!1)))}catch(S){Vt(()=>{Oe(Ft,!1,S)})()}else{Ft[we]=qt;const S=Ft[Ie];if(Ft[Ie]=pt,Ft[$]===$&&!0===qt&&(Ft[we]=Ft[Qe],Ft[Ie]=Ft[he]),qt===en&&pt instanceof Error){const A=Xe.currentTask&&Xe.currentTask.data&&Xe.currentTask.data.__creationTrace__;A&&xe(pt,_e,{configurable:!0,enumerable:!1,writable:!0,value:A})}for(let A=0;A{try{const V=Ft[Ie],ye=!!pt&&$===pt[$];ye&&(pt[he]=V,pt[Qe]=S);const pe=qt.run(A,void 0,ye&&A!==fe&&A!==J?[]:[V]);Oe(pt,!0,pe)}catch(V){Oe(pt,!1,V)}},pt)}const Ue=function(){},et=ue.AggregateError;class de{static toString(){return"function ZoneAwarePromise() { [native code] }"}static resolve(qt){return Oe(new this(null),!0,qt)}static reject(qt){return Oe(new this(null),en,qt)}static any(qt){if(!qt||"function"!=typeof qt[Symbol.iterator])return Promise.reject(new et([],"All promises were rejected"));const pt=[];let Vt=0;try{for(let A of qt)Vt++,pt.push(de.resolve(A))}catch(A){return Promise.reject(new et([],"All promises were rejected"))}if(0===Vt)return Promise.reject(new et([],"All promises were rejected"));let z=!1;const S=[];return new de((A,V)=>{for(let ye=0;ye{z||(z=!0,A(pe))},pe=>{S.push(pe),Vt--,0===Vt&&(z=!0,V(new et(S,"All promises were rejected")))})})}static race(qt){let pt,Vt,z=new this((V,ye)=>{pt=V,Vt=ye});function S(V){pt(V)}function A(V){Vt(V)}for(let V of qt)bn(V)||(V=this.resolve(V)),V.then(S,A);return z}static all(qt){return de.allWithCallback(qt)}static allSettled(qt){return(this&&this.prototype instanceof de?this:de).allWithCallback(qt,{thenCallback:Vt=>({status:"fulfilled",value:Vt}),errorCallback:Vt=>({status:"rejected",reason:Vt})})}static allWithCallback(qt,pt){let Vt,z,S=new this((pe,ze)=>{Vt=pe,z=ze}),A=2,V=0;const ye=[];for(let pe of qt){bn(pe)||(pe=this.resolve(pe));const ze=V;try{pe.then(Ee=>{ye[ze]=pt?pt.thenCallback(Ee):Ee,A--,0===A&&Vt(ye)},Ee=>{pt?(ye[ze]=pt.errorCallback(Ee),A--,0===A&&Vt(ye)):z(Ee)})}catch(Ee){z(Ee)}A++,V++}return A-=2,0===A&&Vt(ye),S}constructor(qt){const pt=this;if(!(pt instanceof de))throw new Error("Must be an instanceof Promise.");pt[we]=_t,pt[Ie]=[];try{const Vt=W();qt&&qt(Vt(me(pt,!0)),Vt(me(pt,en)))}catch(Vt){Oe(pt,!1,Vt)}}get[Symbol.toStringTag](){return"Promise"}get[Symbol.species](){return de}then(qt,pt){var Vt;let z=null===(Vt=this.constructor)||void 0===Vt?void 0:Vt[Symbol.species];(!z||"function"!=typeof z)&&(z=this.constructor||de);const S=new z(Ue),A=Xe.current;return this[we]==_t?this[Ie].push(A,S,qt,pt):te(this,A,S,qt,pt),S}catch(qt){return this.then(null,qt)}finally(qt){var pt;let Vt=null===(pt=this.constructor)||void 0===pt?void 0:pt[Symbol.species];(!Vt||"function"!=typeof Vt)&&(Vt=de);const z=new Vt(Ue);z[$]=$;const S=Xe.current;return this[we]==_t?this[Ie].push(S,z,qt,qt):te(this,S,z,qt,qt),z}}de.resolve=de.resolve,de.reject=de.reject,de.race=de.race,de.all=de.all;const ke=ue[Le]=ue.Promise;ue.Promise=de;const Pt=at("thenPatched");function sn(Ft){const qt=Ft.prototype,pt=Me(qt,"then");if(pt&&(!1===pt.writable||!pt.configurable))return;const Vt=qt.then;qt[Ye]=Vt,Ft.prototype.then=function(z,S){return new de((V,ye)=>{Vt.call(this,V,ye)}).then(z,S)},Ft[Pt]=!0}return le.patchThen=sn,ke&&(sn(ke),Be(ue,"fetch",Ft=>function Xn(Ft){return function(qt,pt){let Vt=Ft.apply(qt,pt);if(Vt instanceof de)return Vt;let z=Vt.constructor;return z[Pt]||sn(z),Vt}}(Ft))),Promise[Xe.__symbol__("uncaughtPromiseErrors")]=Ot,de}),Zone.__load_patch("toString",ue=>{const Xe=Function.prototype.toString,le=R("OriginalDelegate"),Me=R("Promise"),xe=R("Error"),Ke=function(){if("function"==typeof this){const Le=this[le];if(Le)return"function"==typeof Le?Xe.call(Le):Object.prototype.toString.call(Le);if(this===Promise){const Ye=ue[Me];if(Ye)return Xe.call(Ye)}if(this===Error){const Ye=ue[xe];if(Ye)return Xe.call(Ye)}}return Xe.call(this)};Ke[le]=Xe,Function.prototype.toString=Ke;const at=Object.prototype.toString;Object.prototype.toString=function(){return"function"==typeof Promise&&this instanceof Promise?"[object Promise]":at.call(this)}});let X=!1;if("undefined"!=typeof window)try{const ue=Object.defineProperty({},"passive",{get:function(){X=!0}});window.addEventListener("test",ue,ue),window.removeEventListener("test",ue,ue)}catch(ue){X=!1}const ve={useG:!0},ae={},be={},Ve=new RegExp("^"+C+"(\\w+)(true|false)$"),nt=R("propagationStopped");function Dt(ue,Xe){const le=(Xe?Xe(ue):ue)+b,Me=(Xe?Xe(ue):ue)+y,xe=C+le,Ke=C+Me;ae[ue]={},ae[ue][b]=xe,ae[ue][y]=Ke}function Ht(ue,Xe,le,Me){const xe=Me&&Me.add||d,Ke=Me&&Me.rm||u,at=Me&&Me.listeners||"eventListeners",Ot=Me&&Me.rmAll||"removeAllListeners",ft=R(xe),Le="."+xe+":",wt=function(Ie,$,he){if(Ie.isRemoved)return;const Qe=Ie.callback;let Bt;"object"==typeof Qe&&Qe.handleEvent&&(Ie.callback=Mt=>Qe.handleEvent(Mt),Ie.originalDelegate=Qe);try{Ie.invoke(Ie,$,[he])}catch(Mt){Bt=Mt}const _t=Ie.options;return _t&&"object"==typeof _t&&_t.once&&$[Ke].call($,he.type,Ie.originalDelegate?Ie.originalDelegate:Ie.callback,_t),Bt};function Jt(Ie,$,he){if(!($=$||ue.event))return;const Qe=Ie||$.target||ue,Bt=Qe[ae[$.type][he?y:b]];if(Bt){const _t=[];if(1===Bt.length){const Mt=wt(Bt[0],Qe,$);Mt&&_t.push(Mt)}else{const Mt=Bt.slice();for(let en=0;en{throw en})}}}const bn=function(Ie){return Jt(this,Ie,!1)},J=function(Ie){return Jt(this,Ie,!0)};function fe(Ie,$){if(!Ie)return!1;let he=!0;$&&void 0!==$.useG&&(he=$.useG);const Qe=$&&$.vh;let Bt=!0;$&&void 0!==$.chkDup&&(Bt=$.chkDup);let _t=!1;$&&void 0!==$.rt&&(_t=$.rt);let Mt=Ie;for(;Mt&&!Mt.hasOwnProperty(xe);)Mt=w(Mt);if(!Mt&&Ie[xe]&&(Mt=Ie),!Mt||Mt[ft])return!1;const en=$&&$.eventNameToString,ie={},me=Mt[ft]=Mt[xe],W=Mt[R(Ke)]=Mt[Ke],ce=Mt[R(at)]=Mt[at],_e=Mt[R(Ot)]=Mt[Ot];let Oe;function U(pt,Vt){return!X&&"object"==typeof pt&&pt?!!pt.capture:X&&Vt?"boolean"==typeof pt?{capture:pt,passive:!0}:pt?"object"==typeof pt&&!1!==pt.passive?Object.assign(Object.assign({},pt),{passive:!0}):pt:{passive:!0}:pt}$&&$.prepend&&(Oe=Mt[R($.prepend)]=Mt[$.prepend]);const de=he?function(pt){if(!ie.isExisting)return me.call(ie.target,ie.eventName,ie.capture?J:bn,ie.options)}:function(pt){return me.call(ie.target,ie.eventName,pt.invoke,ie.options)},ke=he?function(pt){if(!pt.isRemoved){const Vt=ae[pt.eventName];let z;Vt&&(z=Vt[pt.capture?y:b]);const S=z&&pt.target[z];if(S)for(let A=0;Afunction(xe,Ke){xe[nt]=!0,Me&&Me.apply(xe,Ke)})}function ut(ue,Xe,le,Me,xe){const Ke=Zone.__symbol__(Me);if(Xe[Ke])return;const at=Xe[Ke]=Xe[Me];Xe[Me]=function(Ot,ft,Le){return ft&&ft.prototype&&xe.forEach(function(Ye){const mt=`${le}.${Me}::`+Ye,wt=ft.prototype;try{if(wt.hasOwnProperty(Ye)){const Jt=ue.ObjectGetOwnPropertyDescriptor(wt,Ye);Jt&&Jt.value?(Jt.value=ue.wrapWithCurrentZone(Jt.value,mt),ue._redefineProperty(ft.prototype,Ye,Jt)):wt[Ye]&&(wt[Ye]=ue.wrapWithCurrentZone(wt[Ye],mt))}else wt[Ye]&&(wt[Ye]=ue.wrapWithCurrentZone(wt[Ye],mt))}catch(Jt){}}),at.call(Xe,Ot,ft,Le)},ue.attachOriginToPatched(Xe[Me],at)}function gt(ue,Xe,le){if(!le||0===le.length)return Xe;const Me=le.filter(Ke=>Ke.target===ue);if(!Me||0===Me.length)return Xe;const xe=Me[0].ignoreProperties;return Xe.filter(Ke=>-1===xe.indexOf(Ke))}function lt(ue,Xe,le,Me){ue&&re(ue,gt(ue,Xe,le),Me)}function tt(ue){return Object.getOwnPropertyNames(ue).filter(Xe=>Xe.startsWith("on")&&Xe.length>2).map(Xe=>Xe.substring(2))}Zone.__load_patch("util",(ue,Xe,le)=>{const Me=tt(ue);le.patchOnProperties=re,le.patchMethod=Be,le.bindArguments=Ge,le.patchMacroTask=ge;const xe=Xe.__symbol__("BLACK_LISTED_EVENTS"),Ke=Xe.__symbol__("UNPATCHED_EVENTS");ue[Ke]&&(ue[xe]=ue[Ke]),ue[xe]&&(Xe[xe]=Xe[Ke]=ue[xe]),le.patchEventPrototype=Fe,le.patchEventTarget=Ht,le.isIEOrEdge=Q,le.ObjectDefineProperty=q,le.ObjectGetOwnPropertyDescriptor=se,le.ObjectCreate=v,le.ArraySlice=m,le.patchClass=Pe,le.wrapWithCurrentZone=P,le.filterProperties=gt,le.attachOriginToPatched=ot,le._redefineProperty=Object.defineProperty,le.patchCallbacks=ut,le.getGlobalObjects=()=>({globalSources:be,zoneSymbolEventNames:ae,eventNames:Me,isBrowser:st,isMix:Ze,isNode:Tt,TRUE_STR:y,FALSE_STR:b,ZONE_SYMBOL_PREFIX:C,ADD_EVENT_LISTENER_STR:d,REMOVE_EVENT_LISTENER_STR:u})});const Xt=R("zoneTask");function nn(ue,Xe,le,Me){let xe=null,Ke=null;le+=Me;const at={};function Ot(Le){const Ye=Le.data;return Ye.args[0]=function(){return Le.invoke.apply(this,arguments)},Ye.handleId=xe.apply(ue,Ye.args),Le}function ft(Le){return Ke.call(ue,Le.data.handleId)}xe=Be(ue,Xe+=Me,Le=>function(Ye,mt){if("function"==typeof mt[0]){const wt={isPeriodic:"Interval"===Me,delay:"Timeout"===Me||"Interval"===Me?mt[1]||0:void 0,args:mt},Jt=mt[0];mt[0]=function(){try{return Jt.apply(this,arguments)}finally{wt.isPeriodic||("number"==typeof wt.handleId?delete at[wt.handleId]:wt.handleId&&(wt.handleId[Xt]=null))}};const bn=N(Xe,mt[0],wt,Ot,ft);if(!bn)return bn;const J=bn.data.handleId;return"number"==typeof J?at[J]=bn:J&&(J[Xt]=bn),J&&J.ref&&J.unref&&"function"==typeof J.ref&&"function"==typeof J.unref&&(bn.ref=J.ref.bind(J),bn.unref=J.unref.bind(J)),"number"==typeof J||J?J:bn}return Le.apply(ue,mt)}),Ke=Be(ue,le,Le=>function(Ye,mt){const wt=mt[0];let Jt;"number"==typeof wt?Jt=at[wt]:(Jt=wt&&wt[Xt],Jt||(Jt=wt)),Jt&&"string"==typeof Jt.type?"notScheduled"!==Jt.state&&(Jt.cancelFn&&Jt.data.isPeriodic||0===Jt.runCount)&&("number"==typeof wt?delete at[wt]:wt&&(wt[Xt]=null),Jt.zone.cancelTask(Jt)):Le.apply(ue,mt)})}Zone.__load_patch("legacy",ue=>{const Xe=ue[Zone.__symbol__("legacyPatch")];Xe&&Xe()}),Zone.__load_patch("queueMicrotask",(ue,Xe,le)=>{le.patchMethod(ue,"queueMicrotask",Me=>function(xe,Ke){Xe.current.scheduleMicroTask("queueMicrotask",Ke[0])})}),Zone.__load_patch("timers",ue=>{const le="clear";nn(ue,"set",le,"Timeout"),nn(ue,"set",le,"Interval"),nn(ue,"set",le,"Immediate")}),Zone.__load_patch("requestAnimationFrame",ue=>{nn(ue,"request","cancel","AnimationFrame"),nn(ue,"mozRequest","mozCancel","AnimationFrame"),nn(ue,"webkitRequest","webkitCancel","AnimationFrame")}),Zone.__load_patch("blocking",(ue,Xe)=>{const le=["alert","prompt","confirm"];for(let Me=0;Mefunction(ft,Le){return Xe.current.run(Ke,ue,Le,Ot)})}),Zone.__load_patch("EventTarget",(ue,Xe,le)=>{(function xn(ue,Xe){Xe.patchEventPrototype(ue,Xe)})(ue,le),function jn(ue,Xe){if(Zone[Xe.symbol("patchEventTarget")])return;const{eventNames:le,zoneSymbolEventNames:Me,TRUE_STR:xe,FALSE_STR:Ke,ZONE_SYMBOL_PREFIX:at}=Xe.getGlobalObjects();for(let ft=0;ft{Pe("MutationObserver"),Pe("WebKitMutationObserver")}),Zone.__load_patch("IntersectionObserver",(ue,Xe,le)=>{Pe("IntersectionObserver")}),Zone.__load_patch("FileReader",(ue,Xe,le)=>{Pe("FileReader")}),Zone.__load_patch("on_property",(ue,Xe,le)=>{!function St(ue,Xe){if(Tt&&!Ze||Zone[ue.symbol("patchEvents")])return;const le=Xe.__Zone_ignore_on_properties;let Me=[];if(st){const xe=window;Me=Me.concat(["Document","SVGElement","Element","HTMLElement","HTMLBodyElement","HTMLMediaElement","HTMLFrameSetElement","HTMLFrameElement","HTMLIFrameElement","HTMLMarqueeElement","Worker"]);const Ke=function vt(){try{const ue=F.navigator.userAgent;if(-1!==ue.indexOf("MSIE ")||-1!==ue.indexOf("Trident/"))return!0}catch(ue){}return!1}()?[{target:xe,ignoreProperties:["error"]}]:[];lt(xe,tt(xe),le&&le.concat(Ke),w(xe))}Me=Me.concat(["XMLHttpRequest","XMLHttpRequestEventTarget","IDBIndex","IDBRequest","IDBOpenDBRequest","IDBDatabase","IDBTransaction","IDBCursor","WebSocket"]);for(let xe=0;xe{!function Wt(ue,Xe){const{isBrowser:le,isMix:Me}=Xe.getGlobalObjects();(le||Me)&&ue.customElements&&"customElements"in ue&&Xe.patchCallbacks(Xe,ue.customElements,"customElements","define",["connectedCallback","disconnectedCallback","adoptedCallback","attributeChangedCallback"])}(ue,le)}),Zone.__load_patch("XHR",(ue,Xe)=>{!function ft(Le){const Ye=Le.XMLHttpRequest;if(!Ye)return;const mt=Ye.prototype;let Jt=mt[p],bn=mt[g];if(!Jt){const ie=Le.XMLHttpRequestEventTarget;if(ie){const me=ie.prototype;Jt=me[p],bn=me[g]}}const J="readystatechange",fe="scheduled";function we(ie){const me=ie.data,W=me.target;W[Ke]=!1,W[Ot]=!1;const ce=W[xe];Jt||(Jt=W[p],bn=W[g]),ce&&bn.call(W,J,ce);const _e=W[xe]=()=>{if(W.readyState===W.DONE)if(!me.aborted&&W[Ke]&&ie.state===fe){const U=W[Xe.__symbol__("loadfalse")];if(0!==W.status&&U&&U.length>0){const ee=ie.invoke;ie.invoke=function(){const te=W[Xe.__symbol__("loadfalse")];for(let Re=0;Refunction(ie,me){return ie[Me]=0==me[2],ie[at]=me[1],he.apply(ie,me)}),Bt=R("fetchTaskAborting"),_t=R("fetchTaskScheduling"),Mt=Be(mt,"send",()=>function(ie,me){if(!0===Xe.current[_t]||ie[Me])return Mt.apply(ie,me);{const W={target:ie,url:ie[at],isPeriodic:!1,args:me,aborted:!1},ce=N("XMLHttpRequest.send",Ie,W,we,$);ie&&!0===ie[Ot]&&!W.aborted&&ce.state===fe&&ce.invoke()}}),en=Be(mt,"abort",()=>function(ie,me){const W=function wt(ie){return ie[le]}(ie);if(W&&"string"==typeof W.type){if(null==W.cancelFn||W.data&&W.data.aborted)return;W.zone.cancelTask(W)}else if(!0===Xe.current[Bt])return en.apply(ie,me)})}(ue);const le=R("xhrTask"),Me=R("xhrSync"),xe=R("xhrListener"),Ke=R("xhrScheduled"),at=R("xhrURL"),Ot=R("xhrErrorBeforeScheduled")}),Zone.__load_patch("geolocation",ue=>{ue.navigator&&ue.navigator.geolocation&&function ct(ue,Xe){const le=ue.constructor.name;for(let Me=0;Me{const ft=function(){return Ot.apply(this,Ge(arguments,le+"."+xe))};return ot(ft,Ot),ft})(Ke)}}}(ue.navigator.geolocation,["getCurrentPosition","watchPosition"])}),Zone.__load_patch("PromiseRejectionEvent",(ue,Xe)=>{function le(Me){return function(xe){zt(ue,Me).forEach(at=>{const Ot=ue.PromiseRejectionEvent;if(Ot){const ft=new Ot(Me,{promise:xe.promise,reason:xe.rejection});at.invoke(ft)}})}}ue.PromiseRejectionEvent&&(Xe[R("unhandledPromiseRejectionHandler")]=le("unhandledrejection"),Xe[R("rejectionHandledHandler")]=le("rejectionhandled"))})},3564:(se,q,w)=>{"use strict";w.d(q,{Jh:()=>C,ZT:()=>m,_T:()=>u,mG:()=>b,pi:()=>d,pr:()=>L});var v=function(E,G){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(re,K){re.__proto__=K}||function(re,K){for(var Pe in K)K.hasOwnProperty(Pe)&&(re[Pe]=K[Pe])})(E,G)};function m(E,G){function re(){this.constructor=E}v(E,G),E.prototype=null===G?Object.create(G):(re.prototype=G.prototype,new re)}var d=function(){return d=Object.assign||function(G){for(var re,K=1,Pe=arguments.length;K0&&Be[Be.length-1])&&(6===We[0]||2===We[0])){re=0;continue}if(3===We[0]&&(!Be||We[1]>Be[0]&&We[1]{var v={"./af":7088,"./af.js":7088,"./ar":7038,"./ar-dz":2502,"./ar-dz.js":2502,"./ar-kw":128,"./ar-kw.js":128,"./ar-ly":4519,"./ar-ly.js":4519,"./ar-ma":5443,"./ar-ma.js":5443,"./ar-ps":4523,"./ar-ps.js":4523,"./ar-sa":7642,"./ar-sa.js":7642,"./ar-tn":8592,"./ar-tn.js":8592,"./ar.js":7038,"./az":1213,"./az.js":1213,"./be":9191,"./be.js":9191,"./bg":322,"./bg.js":322,"./bm":8042,"./bm.js":8042,"./bn":9620,"./bn-bd":5903,"./bn-bd.js":5903,"./bn.js":9620,"./bo":9645,"./bo.js":9645,"./br":5020,"./br.js":5020,"./bs":4792,"./bs.js":4792,"./ca":7980,"./ca.js":7980,"./cs":7322,"./cs.js":7322,"./cv":365,"./cv.js":365,"./cy":2092,"./cy.js":2092,"./da":7387,"./da.js":7387,"./de":4307,"./de-at":9459,"./de-at.js":9459,"./de-ch":3694,"./de-ch.js":3694,"./de.js":4307,"./dv":9659,"./dv.js":9659,"./el":3460,"./el.js":3460,"./en-au":4369,"./en-au.js":4369,"./en-ca":530,"./en-ca.js":530,"./en-gb":9998,"./en-gb.js":9998,"./en-ie":3391,"./en-ie.js":3391,"./en-il":5414,"./en-il.js":5414,"./en-in":9615,"./en-in.js":9615,"./en-nz":1248,"./en-nz.js":1248,"./en-sg":3767,"./en-sg.js":3767,"./eo":4530,"./eo.js":4530,"./es":6866,"./es-do":8944,"./es-do.js":8944,"./es-mx":9116,"./es-mx.js":9116,"./es-us":3609,"./es-us.js":3609,"./es.js":6866,"./et":6725,"./et.js":6725,"./eu":7931,"./eu.js":7931,"./fa":6417,"./fa.js":6417,"./fi":944,"./fi.js":944,"./fil":1766,"./fil.js":1766,"./fo":5867,"./fo.js":5867,"./fr":1636,"./fr-ca":6848,"./fr-ca.js":6848,"./fr-ch":7773,"./fr-ch.js":7773,"./fr.js":1636,"./fy":4940,"./fy.js":4940,"./ga":1402,"./ga.js":1402,"./gd":6924,"./gd.js":6924,"./gl":6398,"./gl.js":6398,"./gom-deva":2457,"./gom-deva.js":2457,"./gom-latn":2545,"./gom-latn.js":2545,"./gu":2641,"./gu.js":2641,"./he":7536,"./he.js":7536,"./hi":6335,"./hi.js":6335,"./hr":7458,"./hr.js":7458,"./hu":6540,"./hu.js":6540,"./hy-am":5283,"./hy-am.js":5283,"./id":8780,"./id.js":8780,"./is":4205,"./is.js":4205,"./it":4211,"./it-ch":9985,"./it-ch.js":9985,"./it.js":4211,"./ja":1003,"./ja.js":1003,"./jv":420,"./jv.js":420,"./ka":851,"./ka.js":851,"./kk":6074,"./kk.js":6074,"./km":3343,"./km.js":3343,"./kn":4799,"./kn.js":4799,"./ko":3549,"./ko.js":3549,"./ku":1037,"./ku-kmr":3775,"./ku-kmr.js":3775,"./ku.js":1037,"./ky":3125,"./ky.js":3125,"./lb":9586,"./lb.js":9586,"./lo":2349,"./lo.js":2349,"./lt":2400,"./lt.js":2400,"./lv":9991,"./lv.js":9991,"./me":8477,"./me.js":8477,"./mi":5118,"./mi.js":5118,"./mk":5943,"./mk.js":5943,"./ml":3849,"./ml.js":3849,"./mn":1977,"./mn.js":1977,"./mr":6184,"./mr.js":6184,"./ms":485,"./ms-my":4524,"./ms-my.js":4524,"./ms.js":485,"./mt":6681,"./mt.js":6681,"./my":2024,"./my.js":2024,"./nb":2688,"./nb.js":2688,"./ne":8914,"./ne.js":8914,"./nl":1758,"./nl-be":2272,"./nl-be.js":2272,"./nl.js":1758,"./nn":1510,"./nn.js":1510,"./oc-lnc":2797,"./oc-lnc.js":2797,"./pa-in":7944,"./pa-in.js":7944,"./pl":1605,"./pl.js":1605,"./pt":4225,"./pt-br":3840,"./pt-br.js":3840,"./pt.js":4225,"./ro":5128,"./ro.js":5128,"./ru":5127,"./ru.js":5127,"./sd":2525,"./sd.js":2525,"./se":9893,"./se.js":9893,"./si":3123,"./si.js":3123,"./sk":9635,"./sk.js":9635,"./sl":8106,"./sl.js":8106,"./sq":8799,"./sq.js":8799,"./sr":7949,"./sr-cyrl":2872,"./sr-cyrl.js":2872,"./sr.js":7949,"./ss":6167,"./ss.js":6167,"./sv":9713,"./sv.js":9713,"./sw":1982,"./sw.js":1982,"./ta":2732,"./ta.js":2732,"./te":3636,"./te.js":3636,"./tet":2115,"./tet.js":2115,"./tg":9801,"./tg.js":9801,"./th":2868,"./th.js":2868,"./tk":1310,"./tk.js":1310,"./tl-ph":2360,"./tl-ph.js":2360,"./tlh":6645,"./tlh.js":6645,"./tr":8374,"./tr.js":8374,"./tzl":256,"./tzl.js":256,"./tzm":1595,"./tzm-latn":1631,"./tzm-latn.js":1631,"./tzm.js":1595,"./ug-cn":6050,"./ug-cn.js":6050,"./uk":5610,"./uk.js":5610,"./ur":6077,"./ur.js":6077,"./uz":2862,"./uz-latn":2207,"./uz-latn.js":2207,"./uz.js":2862,"./vi":8093,"./vi.js":8093,"./x-pseudo":5590,"./x-pseudo.js":5590,"./yo":9058,"./yo.js":9058,"./zh-cn":7908,"./zh-cn.js":7908,"./zh-hk":8867,"./zh-hk.js":8867,"./zh-mo":1133,"./zh-mo.js":1133,"./zh-tw":3291,"./zh-tw.js":3291};function m(u){var p=d(u);return w(p)}function d(u){if(!w.o(v,u)){var p=new Error("Cannot find module '"+u+"'");throw p.code="MODULE_NOT_FOUND",p}return v[u]}m.keys=function(){return Object.keys(v)},m.resolve=d,se.exports=m,m.id=6700},930:(se,q,w)=>{"use strict";let v;if(w.r(q),w.d(q,{InputTypes:()=>C,Parser:()=>L,anyChar:()=>Ve,anyCharExcept:()=>le,anyOfString:()=>lt,anythingExcept:()=>Xe,between:()=>jn,char:()=>be,choice:()=>Wt,composeParsers:()=>re,coroutine:()=>We,decide:()=>Be,decoder:()=>d,digit:()=>zt,digits:()=>Fe,either:()=>yt,encoder:()=>m,endOfInput:()=>Ot,errorMapTo:()=>ae,everyCharUntil:()=>ue,everythingUntil:()=>xn,exactly:()=>vt,fail:()=>ge,getCharacterLength:()=>y,getData:()=>st,getNextCharWidth:()=>p,getString:()=>u,getUtf8Char:()=>g,letter:()=>ut,letters:()=>gt,lookAhead:()=>Me,many:()=>Q,many1:()=>X,mapData:()=>Ce,mapTo:()=>ve,namedSequenceOf:()=>tt,optionalWhitespace:()=>Le,parse:()=>Pe,peek:()=>nt,pipeParsers:()=>G,possibly:()=>xe,recursiveParser:()=>Ye,regex:()=>Ht,sepBy:()=>Xt,sepBy1:()=>nn,sequenceOf:()=>St,setData:()=>Ze,skip:()=>Ke,startOfInput:()=>at,str:()=>Dt,succeedWith:()=>ot,takeLeft:()=>wt,takeRight:()=>mt,tapParser:()=>K,toPromise:()=>Jt,toValue:()=>bn,updateData:()=>j,updateError:()=>N,updateParserState:()=>F,updateResult:()=>R,whitespace:()=>ft,withData:()=>E}),"undefined"!=typeof TextEncoder)v={Encoder:TextEncoder,Decoder:TextDecoder};else try{const J=require("util");v={Encoder:J.TextEncoder,Decoder:J.TextDecoder}}catch(J){throw new Error("Arcsecond requires TextEncoder and TextDecoder to be polyfilled.")}const m=new v.Encoder,d=new v.Decoder,u=(J,fe,we)=>{const Ie=Uint8Array.from({length:fe},(he,Qe)=>we.getUint8(J+Qe));return d.decode(Ie)},p=(J,fe)=>{const we=fe.getUint8(J);return(128&we)>>7==0?1:(224&we)>>5==6?2:(240&we)>>4==14?3:(240&we)>>4==15?4:1},g=(J,fe,we)=>{const Ie=Uint8Array.from({length:fe},($,he)=>we.getUint8(J+he));return d.decode(Ie)},y=J=>{let fe,we=0,Ie=0;for(;Ie>=8,Ie++;we++}return we};var C=(()=>{return(J=C||(C={})).STRING="string",J.ARRAY_BUFFER="arrayBuffer",J.TYPED_ARRAY="typedArray",J.DATA_VIEW="dataView",C;var J})();const P=(J,fe=null)=>{let we,Ie;if("string"==typeof J){const $=m.encode(J);we=new DataView($.buffer),Ie=C.STRING}else if(J instanceof ArrayBuffer)we=new DataView(J),Ie=C.ARRAY_BUFFER;else if((J=>J instanceof Uint8Array||J instanceof Uint8ClampedArray||J instanceof Int8Array||J instanceof Uint16Array||J instanceof Int16Array||J instanceof Uint32Array||J instanceof Int32Array||J instanceof Float32Array||J instanceof Float64Array)(J))we=new DataView(J.buffer),Ie=C.TYPED_ARRAY;else{if(!(J instanceof DataView))throw new Error("Cannot process input. Must be a string, ArrayBuffer, TypedArray, or DataView. but got "+typeof J);we=J,Ie=C.DATA_VIEW}return{dataView:we,inputType:Ie,isError:!1,error:null,result:null,data:fe,index:0}},N=(J,fe)=>Io(Rr({},J),{isError:!0,error:fe}),R=(J,fe)=>Io(Rr({},J),{result:fe}),j=(J,fe)=>Io(Rr({},J),{data:fe}),F=(J,fe,we)=>Io(Rr({},J),{result:fe,index:we});class L{constructor(fe){this.p=fe}run(fe){const we=P(fe),Ie=this.p(we);return Ie.isError?{isError:!0,error:Ie.error,index:Ie.index,data:Ie.data}:{isError:!1,result:Ie.result,index:Ie.index,data:Ie.data}}fork(fe,we,Ie){const $=P(fe),he=this.p($);return he.isError?we(he.error,he):Ie(he.result,he)}map(fe){const we=this.p;return new L(function($){const he=we($);return he.isError?he:R(he,fe(he.result))})}chain(fe){const we=this.p;return new L(function($){const he=we($);return he.isError?he:fe(he.result).p(he)})}ap(fe){const we=this.p;return new L(function($){if($.isError)return $;const he=we($);if(he.isError)return he;const Qe=fe.p(he);return Qe.isError?Qe:R(Qe,Qe.result(he.result))})}errorMap(fe){const we=this.p;return new L(function($){const he=we($);return he.isError?N(he,fe({isError:!0,error:he.error,index:he.index,data:he.data})):he})}errorChain(fe){const we=this.p;return new L(function($){const he=we($);if(he.isError){const{error:Qe,index:Bt,data:_t}=he;return fe({isError:!0,error:Qe,index:Bt,data:_t}).p(Io(Rr({},he),{isError:!1}))}return he})}mapFromData(fe){const we=this.p;return new L(Ie=>{const $=we(Ie);return $.isError&&$.error?$:R($,fe({isError:!1,result:$.result,data:$.data,index:$.index}))})}chainFromData(fe){const we=this.p;return new L(function($){const he=we($);return he.isError&&he.error?he:fe({result:he.result,data:he.data}).p(he)})}mapData(fe){const we=this.p;return new L(function($){const he=we($);return j(he,fe(he.data))})}static of(fe){return new L(we=>R(we,fe))}}const ne=/[0-9]/,ct=/[a-zA-Z]/,Tt=/ParseError.+Expecting/,st=new L(function(fe){return fe.isError?fe:R(fe,fe.data)});function Ze(J){return new L(function(we){return we.isError?we:j(we,J)})}function Ce(J){return new L(function(we){return we.isError?we:j(we,J(we.data))})}function E(J){return function(we){return Ze(we).chain(()=>J)}}function G(J){return new L(function(we){let Ie=we;for(const $ of J)Ie=$.p(Ie);return Ie})}function re(J){return new L(function(we){return G([...J].reverse()).p(we)})}function K(J){return new L(function(we){return J(we),we})}function Pe(J){return function(we){return J.run(we)}}function Be(J){return new L(function(we){return we.isError?we:J(we.result).p(we)})}function ge(J){return new L(function(we){return we.isError?we:N(we,J)})}const ot=L.of;function yt(J){return new L(function(we){if(we.isError)return we;const Ie=J.p(we);return R(Io(Rr({},Ie),{isError:!1}),{isError:Ie.isError,value:Ie.isError?Ie.error:Ie.result})})}function We(J){return new L(function(we){const Ie=J();let $,he=we;for(;;){const Qe=Ie.next($),Bt=Qe.value;if(Qe.done)return R(he,Bt);if(!(Bt&&Bt instanceof L))throw new Error(`[coroutine] yielded values must be Parsers, got ${Qe.value}.`);if(he=Bt.p(he),he.isError)return he;$=he.result}})}function vt(J){if("number"!=typeof J||J<=0)throw new TypeError(`exactly must be called with a number > 0, but got ${J}`);return function(we){return new L(function($){if($.isError)return $;const he=[];let Qe=$;for(let Bt=0;Bt`ParseError (position ${Ie}): Expecting ${J}${$.replace(Tt,"")}`)}}const Q=function(fe){return new L(function(Ie){if(Ie.isError)return Ie;const $=[];let he=Ie;for(;;){const Qe=fe.p(he);if(Qe.isError)break;if(he=Qe,$.push(he.result),he.index>=he.dataView.byteLength)break}return R(he,$)})},X=function(fe){return new L(function(Ie){if(Ie.isError)return Ie;const $=Q(fe).p(Ie);return $.result.length?$:N(Ie,`ParseError 'many1' (position ${Ie.index}): Expecting to match at least one value`)})};function ve(J){return new L(function(we){return we.isError?we:R(we,J(we.result))})}function ae(J){return new L(function(we){return we.isError?N(we,J(we.error,we.index,we.data)):we})}const be=function(fe){if(!fe||1!==y(fe))throw new TypeError(`char must be called with a single character, but got ${fe}`);return new L(function(Ie){if(Ie.isError)return Ie;const{index:$,dataView:he}=Ie;if($ 1, but got ${J}`);const fe=m.encode(J);return new L(function(Ie){const{index:$,dataView:he}=Ie;if(he.byteLength-$=1){const Bt=Qe.match(J);return Bt?F(Ie,Bt[0],he+m.encode(Bt[0]).byteLength):N(Ie,`ParseError (position ${he}): Expecting string matching '${J}', got '${Qe.slice(0,5)}...'`)}return N(Ie,`ParseError (position ${he}): Expecting string matching '${J}', but got end of input.`)})}const zt=new L(function(fe){if(fe.isError)return fe;const{dataView:we,index:Ie}=fe;if(we.byteLength>Ie){const $=p(Ie,we);if(Ie+$<=we.byteLength){const he=g(Ie,$,we);return we.byteLength&&he&&ne.test(he)?F(fe,he,Ie+$):N(fe,`ParseError (position ${Ie}): Expecting digit, got '${he}'`)}}return N(fe,`ParseError (position ${Ie}): Expecting digit, but got end of input.`)}),Fe=Ht(/^[0-9]+/).errorMap(({index:J})=>`ParseError (position ${J}): Expecting digits`),ut=new L(function(fe){if(fe.isError)return fe;const{index:we,dataView:Ie}=fe;if(Ie.byteLength>we){const $=p(we,Ie);if(we+$<=Ie.byteLength){const he=g(we,$,Ie);return Ie.byteLength&&he&&ct.test(he)?F(fe,he,we+$):N(fe,`ParseError (position ${we}): Expecting letter, got '${he}'`)}}return N(fe,`ParseError (position ${we}): Expecting letter, but got end of input.`)}),gt=Ht(/^[a-zA-Z]+/).errorMap(({index:J})=>`ParseError (position ${J}): Expecting letters`);function lt(J){return new L(function(we){if(we.isError)return we;const{dataView:Ie,index:$}=we;if(Ie.byteLength>$){const he=p($,Ie);if($+he<=Ie.byteLength){const Qe=g($,he,Ie);return J.includes(Qe)?F(we,Qe,$+he):N(we,`ParseError (position ${$}): Expecting any of the string "${J}", got ${Qe}`)}}return N(we,`ParseError (position ${$}): Expecting any of the string "${J}", but got end of input.`)})}function tt(J){return new L(function(we){if(we.isError)return we;const Ie={};let $=we;for(const[he,Qe]of J){const Bt=Qe.p($);if(Bt.isError)return Bt;$=Bt,Ie[he]=Bt.result}return R($,Ie)})}function St(J){return new L(function(we){if(we.isError)return we;const Ie=J.length,$=new Array(Ie);let he=we;for(let Qe=0;QeIe.index)&&(Ie=he)}return Ie})}function jn(J){return function(we){return function($){return St([J,$,we]).map(([he,Qe])=>Qe)}}}function xn(J){return new L(fe=>{if(fe.isError)return fe;const we=[];let Ie=fe;for(;J.p(Ie).isError;){const{index:he,dataView:Qe}=Ie;if(Qe.byteLength<=he)return N(Ie,`ParseError 'everythingUntil' (position ${Ie.index}): Unexpected end of input.`);const Bt=Qe.getUint8(he);Bt&&(we.push(Bt),Ie=F(Ie,Bt,he+1))}return R(Ie,we)})}const ue=J=>xn(J).map(fe=>d.decode(Uint8Array.from(fe))),Xe=function(fe){return new L(function(Ie){if(Ie.isError)return Ie;const{dataView:$,index:he}=Ie,Qe=fe.p(Ie);return Qe.isError?F(Ie,$.getUint8(he),he+1):N(Ie,`ParseError 'anythingExcept' (position ${he}): Matched '${Qe.result}' from the exception parser`)})},le=function(fe){return new L(function(Ie){if(Ie.isError)return Ie;const{dataView:$,index:he}=Ie,Qe=fe.p(Ie);if(Qe.isError){if(he<$.byteLength){const Bt=p(he,$);if(he+Bt<=$.byteLength){const _t=g(he,Bt,$);return F(Ie,_t,he+Bt)}}return N(Ie,`ParseError 'anyCharExcept' (position ${he}): Unexpected end of input`)}return N(Ie,`ParseError 'anyCharExcept' (position ${he}): Matched '${Qe.result}' from the exception parser`)})};function Me(J){return new L(function(we){if(we.isError)return we;const Ie=J.p(we);return Ie.isError?N(we,Ie.error):R(we,Ie.result)})}function xe(J){return new L(function(we){if(we.isError)return we;const Ie=J.p(we);return Ie.isError?R(we,null):Ie})}function Ke(J){return new L(function(we){if(we.isError)return we;const Ie=J.p(we);return Ie.isError?Ie:R(Ie,we.result)})}const at=new L(function(fe){if(fe.isError)return fe;const{index:we}=fe;return we>0?N(fe,`ParseError 'startOfInput' (position ${we}): Expected start of input'`):fe}),Ot=new L(function(fe){if(fe.isError)return fe;const{dataView:we,index:Ie,inputType:$}=fe;if(Ie!==we.byteLength){const he=$===C.STRING?String.fromCharCode(we.getUint8(Ie)):`0x${we.getUint8(Ie).toString(16).padStart(2,"0")}`;return N(fe,`ParseError 'endOfInput' (position ${Ie}): Expected end of input but got '${he}'`)}return R(fe,null)}),ft=Ht(/^\s+/).errorMap(({index:J})=>`ParseError 'many1' (position ${J}): Expecting to match at least one value`),Le=xe(ft).map(J=>J||"");function Ye(J){return new L(function(we){return J().p(we)})}function mt(J){return function(we){return J.chain(()=>we)}}const wt=function(fe){return function(Ie){return fe.chain($=>Ie.map(()=>$))}};function Jt(J){return!0===J.isError?Promise.reject({error:J.error,index:J.index,data:J.data}):Promise.resolve(J.result)}function bn(J){if(!0===J.isError){const fe=new Error(String(J.error)||"null");throw fe.parseIndex=J.index,fe.data=J.data,fe}return J.result}},744:(se,q,w)=>{"use strict";w.d(q,{Z:()=>p});var v=w(5202);function m(R){return(m="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(F){return typeof F}:function(F){return F&&"function"==typeof Symbol&&F.constructor===Symbol&&F!==Symbol.prototype?"symbol":typeof F})(R)}function p(R){return g(R,[])}function g(R,j){switch(m(R)){case"string":return JSON.stringify(R);case"function":return R.name?"[function ".concat(R.name,"]"):"[function]";case"object":return null===R?"null":function y(R,j){if(-1!==j.indexOf(R))return"[Circular]";var F=[].concat(j,[R]),L=function P(R){var j=R[String(v.Z)];return"function"==typeof j?j:"function"==typeof R.inspect?R.inspect:void 0}(R);if(void 0!==L){var ne=L.call(R);if(ne!==R)return"string"==typeof ne?ne:g(ne,F)}else if(Array.isArray(R))return function C(R,j){if(0===R.length)return"[]";if(j.length>2)return"[Array]";for(var F=Math.min(10,R.length),L=R.length-F,ne=[],Ge=0;Ge1&&ne.push("... ".concat(L," more items")),"["+ne.join(", ")+"]"}(R,F);return function b(R,j){var F=Object.keys(R);if(0===F.length)return"{}";if(j.length>2)return"["+function N(R){var j=Object.prototype.toString.call(R).replace(/^\[object /,"").replace(/]$/,"");if("Object"===j&&"function"==typeof R.constructor){var F=R.constructor.name;if("string"==typeof F&&""!==F)return F}return j}(R)+"]";var L=F.map(function(ne){return ne+": "+g(R[ne],j)});return"{ "+L.join(", ")+" }"}(R,F)}(R,j);default:return String(R)}}},5202:(se,q,w)=>{"use strict";w.d(q,{Z:()=>m});const m="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):void 0},848:(se,q,w)=>{"use strict";w.d(q,{Ye:()=>u,WU:()=>p,UG:()=>g});var m=w(5202);function d(y){var b=y.prototype.toJSON;"function"==typeof b||function v(y,b){if(!Boolean(y))throw new Error(null!=b?b:"Unexpected invariant triggered.")}(0),y.prototype.inspect=b,m.Z&&(y.prototype[m.Z]=b)}var u=function(){function y(C,P,N){this.start=C.start,this.end=P.end,this.startToken=C,this.endToken=P,this.source=N}return y.prototype.toJSON=function(){return{start:this.start,end:this.end}},y}();d(u);var p=function(){function y(C,P,N,R,j,F,L){this.kind=C,this.start=P,this.end=N,this.line=R,this.column=j,this.value=L,this.prev=F,this.next=null}return y.prototype.toJSON=function(){return{kind:this.kind,value:this.value,line:this.line,column:this.column}},y}();function g(y){return null!=y&&"string"==typeof y.kind}d(p)},2032:(se,q,w)=>{"use strict";function v(p){var g=p.split(/\r\n|[\n\r]/g),y=function d(p){for(var g,y=!0,b=!0,C=0,P=null,N=0;NC&&m(g[P-1]);)--P;return g.slice(C,P).join("\n")}function m(p){for(var g=0;g1&&void 0!==arguments[1]?arguments[1]:"",y=arguments.length>2&&void 0!==arguments[2]&&arguments[2],b=-1===p.indexOf("\n"),C=" "===p[0]||"\t"===p[0],P='"'===p[p.length-1],N="\\"===p[p.length-1],R=!b||P||N||y,j="";return R&&!(b&&C)&&(j+="\n"+g),j+=g?p.replace(/\n/g,"\n"+g):p,R&&(j+="\n"),'"""'+j.replace(/"""/g,'\\"""')+'"""'}w.d(q,{LZ:()=>u,W7:()=>v})},4989:(se,q,w)=>{"use strict";w.d(q,{S:()=>d});var v=w(1335),m=w(2032);function d(j){return(0,v.Vn)(j,{leave:p})}var p={Name:function(F){return F.value},Variable:function(F){return"$"+F.name},Document:function(F){return y(F.definitions,"\n\n")+"\n"},OperationDefinition:function(F){var L=F.operation,ne=F.name,Ge=C("(",y(F.variableDefinitions,", "),")"),ct=y(F.directives," "),Nt=F.selectionSet;return ne||ct||Ge||"query"!==L?y([L,y([ne,Ge]),ct,Nt]," "):Nt},VariableDefinition:function(F){var ct=F.directives;return F.variable+": "+F.type+C(" = ",F.defaultValue)+C(" ",y(ct," "))},SelectionSet:function(F){return b(F.selections)},Field:function(F){var ne=F.name,Ge=F.arguments,ct=F.directives,Nt=F.selectionSet,Lt=C("",F.alias,": ")+ne,Tt=Lt+C("(",y(Ge,", "),")");return Tt.length>80&&(Tt=Lt+C("(\n",P(y(Ge,"\n")),"\n)")),y([Tt,y(ct," "),Nt]," ")},Argument:function(F){return F.name+": "+F.value},FragmentSpread:function(F){return"..."+F.name+C(" ",y(F.directives," "))},InlineFragment:function(F){var ne=F.directives,Ge=F.selectionSet;return y(["...",C("on ",F.typeCondition),y(ne," "),Ge]," ")},FragmentDefinition:function(F){var ne=F.typeCondition,Ge=F.variableDefinitions,ct=F.directives,Nt=F.selectionSet;return"fragment ".concat(F.name).concat(C("(",y(Ge,", "),")")," ")+"on ".concat(ne," ").concat(C("",y(ct," ")," "))+Nt},IntValue:function(F){return F.value},FloatValue:function(F){return F.value},StringValue:function(F,L){var ne=F.value;return F.block?(0,m.LZ)(ne,"description"===L?"":" "):JSON.stringify(ne)},BooleanValue:function(F){return F.value?"true":"false"},NullValue:function(){return"null"},EnumValue:function(F){return F.value},ListValue:function(F){return"["+y(F.values,", ")+"]"},ObjectValue:function(F){return"{"+y(F.fields,", ")+"}"},ObjectField:function(F){return F.name+": "+F.value},Directive:function(F){return"@"+F.name+C("(",y(F.arguments,", "),")")},NamedType:function(F){return F.name},ListType:function(F){return"["+F.type+"]"},NonNullType:function(F){return F.type+"!"},SchemaDefinition:g(function(j){var L=j.operationTypes;return y(["schema",y(j.directives," "),b(L)]," ")}),OperationTypeDefinition:function(F){return F.operation+": "+F.type},ScalarTypeDefinition:g(function(j){return y(["scalar",j.name,y(j.directives," ")]," ")}),ObjectTypeDefinition:g(function(j){var ne=j.directives,Ge=j.fields;return y(["type",j.name,C("implements ",y(j.interfaces," & ")),y(ne," "),b(Ge)]," ")}),FieldDefinition:g(function(j){var L=j.arguments,ne=j.type,Ge=j.directives;return j.name+(R(L)?C("(\n",P(y(L,"\n")),"\n)"):C("(",y(L,", "),")"))+": "+ne+C(" ",y(Ge," "))}),InputValueDefinition:g(function(j){var Ge=j.directives;return y([j.name+": "+j.type,C("= ",j.defaultValue),y(Ge," ")]," ")}),InterfaceTypeDefinition:g(function(j){var ne=j.directives,Ge=j.fields;return y(["interface",j.name,C("implements ",y(j.interfaces," & ")),y(ne," "),b(Ge)]," ")}),UnionTypeDefinition:g(function(j){var ne=j.types;return y(["union",j.name,y(j.directives," "),ne&&0!==ne.length?"= "+y(ne," | "):""]," ")}),EnumTypeDefinition:g(function(j){var ne=j.values;return y(["enum",j.name,y(j.directives," "),b(ne)]," ")}),EnumValueDefinition:g(function(j){return y([j.name,y(j.directives," ")]," ")}),InputObjectTypeDefinition:g(function(j){var ne=j.fields;return y(["input",j.name,y(j.directives," "),b(ne)]," ")}),DirectiveDefinition:g(function(j){var L=j.arguments,ne=j.repeatable,Ge=j.locations;return"directive @"+j.name+(R(L)?C("(\n",P(y(L,"\n")),"\n)"):C("(",y(L,", "),")"))+(ne?" repeatable":"")+" on "+y(Ge," | ")}),SchemaExtension:function(F){var ne=F.operationTypes;return y(["extend schema",y(F.directives," "),b(ne)]," ")},ScalarTypeExtension:function(F){return y(["extend scalar",F.name,y(F.directives," ")]," ")},ObjectTypeExtension:function(F){var Ge=F.directives,ct=F.fields;return y(["extend type",F.name,C("implements ",y(F.interfaces," & ")),y(Ge," "),b(ct)]," ")},InterfaceTypeExtension:function(F){var Ge=F.directives,ct=F.fields;return y(["extend interface",F.name,C("implements ",y(F.interfaces," & ")),y(Ge," "),b(ct)]," ")},UnionTypeExtension:function(F){var Ge=F.types;return y(["extend union",F.name,y(F.directives," "),Ge&&0!==Ge.length?"= "+y(Ge," | "):""]," ")},EnumTypeExtension:function(F){var Ge=F.values;return y(["extend enum",F.name,y(F.directives," "),b(Ge)]," ")},InputObjectTypeExtension:function(F){var Ge=F.fields;return y(["extend input",F.name,y(F.directives," "),b(Ge)]," ")}};function g(j){return function(F){return y([F.description,j(F)],"\n")}}function y(j){var F,L=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return null!==(F=null==j?void 0:j.filter(function(ne){return ne}).join(L))&&void 0!==F?F:""}function b(j){return C("{\n",P(y(j,"\n")),"\n}")}function C(j,F){var L=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";return null!=F&&""!==F?j+F+L:""}function P(j){return C(" ",j.replace(/\n/g,"\n "))}function N(j){return-1!==j.indexOf("\n")}function R(j){return null!=j&&j.some(N)}},1335:(se,q,w)=>{"use strict";w.d(q,{$_:()=>u,Vn:()=>p});var v=w(744),m=w(848),d={Name:[],Document:["definitions"],OperationDefinition:["name","variableDefinitions","directives","selectionSet"],VariableDefinition:["variable","type","defaultValue","directives"],Variable:["name"],SelectionSet:["selections"],Field:["alias","name","arguments","directives","selectionSet"],Argument:["name","value"],FragmentSpread:["name","directives"],InlineFragment:["typeCondition","directives","selectionSet"],FragmentDefinition:["name","variableDefinitions","typeCondition","directives","selectionSet"],IntValue:[],FloatValue:[],StringValue:[],BooleanValue:[],NullValue:[],EnumValue:[],ListValue:["values"],ObjectValue:["fields"],ObjectField:["name","value"],Directive:["name","arguments"],NamedType:["name"],ListType:["type"],NonNullType:["type"],SchemaDefinition:["description","directives","operationTypes"],OperationTypeDefinition:["type"],ScalarTypeDefinition:["description","name","directives"],ObjectTypeDefinition:["description","name","interfaces","directives","fields"],FieldDefinition:["description","name","arguments","type","directives"],InputValueDefinition:["description","name","type","defaultValue","directives"],InterfaceTypeDefinition:["description","name","interfaces","directives","fields"],UnionTypeDefinition:["description","name","directives","types"],EnumTypeDefinition:["description","name","directives","values"],EnumValueDefinition:["description","name","directives"],InputObjectTypeDefinition:["description","name","directives","fields"],DirectiveDefinition:["description","name","arguments","locations"],SchemaExtension:["directives","operationTypes"],ScalarTypeExtension:["name","directives"],ObjectTypeExtension:["name","interfaces","directives","fields"],InterfaceTypeExtension:["name","interfaces","directives","fields"],UnionTypeExtension:["name","directives","types"],EnumTypeExtension:["name","directives","values"],InputObjectTypeExtension:["name","directives","fields"]},u=Object.freeze({});function p(b,C){var P=arguments.length>2&&void 0!==arguments[2]?arguments[2]:d,N=void 0,R=Array.isArray(b),j=[b],F=-1,L=[],ne=void 0,Ge=void 0,ct=void 0,Nt=[],Lt=[],Tt=b;do{var st=++F===j.length,Ze=st&&0!==L.length;if(st){if(Ge=0===Lt.length?void 0:Nt[Nt.length-1],ne=ct,ct=Lt.pop(),Ze){if(R)ne=ne.slice();else{for(var Ce={},E=0,G=Object.keys(ne);E{"use strict";function v(d,u,p,g,y,b,C){try{var P=d[b](C),N=P.value}catch(R){return void p(R)}P.done?u(N):Promise.resolve(N).then(g,y)}function m(d){return function(){var u=this,p=arguments;return new Promise(function(g,y){var b=d.apply(u,p);function C(N){v(b,g,y,C,P,"next",N)}function P(N){v(b,g,y,C,P,"throw",N)}C(void 0)})}}w.d(q,{Z:()=>m})},7582:(se,q,w)=>{"use strict";w.d(q,{_T:()=>u,mG:()=>R,pi:()=>d});var d=function(){return d=Object.assign||function(X){for(var ve,ae=1,be=arguments.length;ae{"use strict";se.exports=JSON.parse('{"name":"@octokit/rest","version":"16.43.2","publishConfig":{"access":"public"},"description":"GitHub REST API client for Node.js","keywords":["octokit","github","rest","api-client"],"author":"Gregor Martynus (https://github.com/gr2m)","contributors":[{"name":"Mike de Boer","email":"info@mikedeboer.nl"},{"name":"Fabian Jakobs","email":"fabian@c9.io"},{"name":"Joe Gallo","email":"joe@brassafrax.com"},{"name":"Gregor Martynus","url":"https://github.com/gr2m"}],"repository":"https://github.com/octokit/rest.js","dependencies":{"@octokit/auth-token":"^2.4.0","@octokit/plugin-paginate-rest":"^1.1.1","@octokit/plugin-request-log":"^1.0.0","@octokit/plugin-rest-endpoint-methods":"2.4.0","@octokit/request":"^5.2.0","@octokit/request-error":"^1.0.2","atob-lite":"^2.0.0","before-after-hook":"^2.0.0","btoa-lite":"^1.0.0","deprecation":"^2.0.0","lodash.get":"^4.4.2","lodash.set":"^4.3.2","lodash.uniq":"^4.5.0","octokit-pagination-methods":"^1.1.0","once":"^1.4.0","universal-user-agent":"^4.0.0"},"devDependencies":{"@gimenete/type-writer":"^0.1.3","@octokit/auth":"^1.1.1","@octokit/fixtures-server":"^5.0.6","@octokit/graphql":"^4.2.0","@types/node":"^13.1.0","bundlesize":"^0.18.0","chai":"^4.1.2","compression-webpack-plugin":"^3.1.0","cypress":"^4.0.0","glob":"^7.1.2","http-proxy-agent":"^4.0.0","lodash.camelcase":"^4.3.0","lodash.merge":"^4.6.1","lodash.upperfirst":"^4.3.1","lolex":"^6.0.0","mkdirp":"^1.0.0","mocha":"^7.0.1","mustache":"^4.0.0","nock":"^11.3.3","npm-run-all":"^4.1.2","nyc":"^15.0.0","prettier":"^1.14.2","proxy":"^1.0.0","semantic-release":"^17.0.0","sinon":"^8.0.0","sinon-chai":"^3.0.0","sort-keys":"^4.0.0","string-to-arraybuffer":"^1.0.0","string-to-jsdoc-comment":"^1.0.0","typescript":"^3.3.1","webpack":"^4.0.0","webpack-bundle-analyzer":"^3.0.0","webpack-cli":"^3.0.0"},"types":"index.d.ts","scripts":{"coverage":"nyc report --reporter=html && open coverage/index.html","lint":"prettier --check \'{lib,plugins,scripts,test}/**/*.{js,json,ts}\' \'docs/*.{js,json}\' \'docs/src/**/*\' index.js README.md package.json","lint:fix":"prettier --write \'{lib,plugins,scripts,test}/**/*.{js,json,ts}\' \'docs/*.{js,json}\' \'docs/src/**/*\' index.js README.md package.json","pretest":"npm run -s lint","test":"nyc mocha test/mocha-node-setup.js \\"test/*/**/*-test.js\\"","test:browser":"cypress run --browser chrome","build":"npm-run-all build:*","build:ts":"npm run -s update-endpoints:typescript","prebuild:browser":"mkdirp dist/","build:browser":"npm-run-all build:browser:*","build:browser:development":"webpack --mode development --entry . --output-library=Octokit --output=./dist/octokit-rest.js --profile --json > dist/bundle-stats.json","build:browser:production":"webpack --mode production --entry . --plugin=compression-webpack-plugin --output-library=Octokit --output-path=./dist --output-filename=octokit-rest.min.js --devtool source-map","generate-bundle-report":"webpack-bundle-analyzer dist/bundle-stats.json --mode=static --no-open --report dist/bundle-report.html","update-endpoints":"npm-run-all update-endpoints:*","update-endpoints:fetch-json":"node scripts/update-endpoints/fetch-json","update-endpoints:typescript":"node scripts/update-endpoints/typescript","prevalidate:ts":"npm run -s build:ts","validate:ts":"tsc --target es6 --noImplicitAny index.d.ts","postvalidate:ts":"tsc --noEmit --target es6 test/typescript-validate.ts","start-fixtures-server":"octokit-fixtures-server"},"license":"MIT","files":["index.js","index.d.ts","lib","plugins"],"nyc":{"ignore":["test"]},"release":{"publish":["@semantic-release/npm",{"path":"@semantic-release/github","assets":["dist/*","!dist/*.map.gz"]}]},"bundlesize":[{"path":"./dist/octokit-rest.min.js.gz","maxSize":"33 kB"}]}')},4147:se=>{"use strict";se.exports=JSON.parse('{"name":"CATcher","version":"3.5.4","main":"main.js","engines":{"node":">=14.0.0"},"scripts":{"ng":"ng","build:staging":"npm run codegen:gql && ng build --c staging --base-href=https://catcher-org.github.io/CATcher-staging/","build:prod:web":"npm run codegen:gql && ng build --configuration production --base-href=https://CATcher-org.github.io/CATcher/","ng:serve":"npm run codegen:gql && ng serve","ng:serve:web":"npm run ng:serve -- -o","deploy:staging":"npm run build:staging && ngh --dir=dist --name=CATcher --email=se-edu@comp.nus.edu.sg --no-silent","ng:serve:test":"npm run ng:serve -- --configuration=test -o","deploy:web":"npm run build:prod:web && ngh --dir=dist --name=CATcher --email=se-edu@comp.nus.edu.sg --no-silent","test":"npm run codegen:gql && ng test","e2e":"npx playwright test --headed --project=chromium --workers=1","lint":"ng lint","lint:fix":"ng lint --fix","codegen:gql":"graphql-codegen --config codegen.yml","codegen:gql-watch":"graphql-codegen --config -w codegen.yml","pretty-quick":"pretty-quick"},"husky":{"hooks":{"pre-commit":"pretty-quick --staged","pre-push":"npm run lint && npm run test"}},"dependencies":{"@angular/animations":"^13.4.0","@angular/cdk":"^13.3.9","@angular/common":"^13.4.0","@angular/compiler":"^13.4.0","@angular/core":"^13.4.0","@angular/forms":"^13.4.0","@angular/localize":"^13.4.0","@angular/material":"^13.3.9","@angular/platform-browser":"^13.4.0","@angular/platform-browser-dynamic":"^13.4.0","@angular/router":"^13.4.0","@apollo/client":"3.3.0","@github/markdown-toolbar-element":"^2.1.1","@octokit/rest":"^16.37.0","@octokit/core":"^4.2.1","apollo-angular":"^3.0.1","arcsecond":"^4.1.0","core-js":"^3.16.4","diff-match-patch":"^1.0.4","graphql":"^15.0.0","karma-spec-reporter":"0.0.32","moment":"^2.24.0","ngx-markdown":"^13.1.0","ngx-mat-select-search":"^3.3.3","rxjs":"6.6.7","tslib":"^2.0.0","uuid":"7.0.3","zone.js":"~0.11.4"},"devDependencies":{"@angular-devkit/build-angular":"~13.3.11","@angular/cli":"^13.3.11","@angular/compiler-cli":"^13.4.0","@angular/language-service":"^13.4.0","@angular-eslint/builder":"12.7.0","@angular-eslint/eslint-plugin":"13.5.0","@angular-eslint/eslint-plugin-template":"13.5.0","@angular-eslint/schematics":"13.5.0","@angular-eslint/template-parser":"13.5.0","@graphql-codegen/cli":"2.16.4","@graphql-codegen/fragment-matcher":"^1.17.7","@graphql-codegen/typescript":"1.17.7","@graphql-codegen/typescript-document-nodes":"1.17.7","@graphql-codegen/typescript-operations":"^1.18.4","@graphql-codegen/typescript-resolvers":"^1.20.0","@octokit/graphql-schema":"^8.24.0","@playwright/test":"~1.33","@types/dompurify":"^2.3.1","@types/jasmine":"^3.8.2","@types/jasminewd2":"2.0.8","@types/node":"^15.6.1","@typescript-eslint/eslint-plugin":"5.0.0","@typescript-eslint/parser":"5.0.0","angular-cli-ghpages":"^1.0.0-rc.2","eslint":"^8.57.0","husky":"^4.2.5","jasmine":"^3.9.0","jasmine-core":"~3.8.0","jasmine-spec-reporter":"~5.0.0","karma":"~6.4.2","karma-chrome-launcher":"^3.1.1","karma-coverage-istanbul-reporter":"~3.0.2","karma-firefox-launcher":"^2.1.1","karma-jasmine":"~4.0.0","karma-jasmine-html-reporter":"^1.7.0","npm-run-all":"4.1.5","prettier":"2.2.1","pretty-quick":"^3.1.1","scuri":"^0.9.4","ts-node":"^10.9.2","tslint-config-prettier":"^1.18.0","typescript":"4.6.4"}}')}},se=>{se(se.s=2442)}]); \ No newline at end of file diff --git a/main.bef2c1fa56ce8163.js b/main.bef2c1fa56ce8163.js new file mode 100644 index 0000000..198f9f7 --- /dev/null +++ b/main.bef2c1fa56ce8163.js @@ -0,0 +1,196 @@ +var nue=Object.defineProperty,iue=Object.defineProperties,rue=Object.getOwnPropertyDescriptors,jN=Object.getOwnPropertySymbols,sue=Object.prototype.hasOwnProperty,oue=Object.prototype.propertyIsEnumerable,hE=(se,q,w)=>q in se?nue(se,q,{enumerable:!0,configurable:!0,writable:!0,value:w}):se[q]=w,Rr=(se,q)=>{for(var w in q||(q={}))sue.call(q,w)&&hE(se,w,q[w]);if(jN)for(var w of jN(q))oue.call(q,w)&&hE(se,w,q[w]);return se},Io=(se,q)=>iue(se,rue(q)),BN=(se,q,w)=>(hE(se,"symbol"!=typeof q?q+"":q,w),w);(self.webpackChunkCATcher=self.webpackChunkCATcher||[]).push([[179,429],{6381:(se,q,w)=>{"use strict";w.d(q,{InMemoryCache:()=>qt,cacheSlot:()=>ne});var v=null,m={},d=1,p="@wry/context:Slot",g=Array,y=g[p]||function(){var z=function(){function z(){this.id=["slot",d++,Date.now(),Math.random().toString(36).slice(2)].join(":")}return z.prototype.hasValue=function(){for(var S=v;S;S=S.parent)if(this.id in S.slots){var A=S.slots[this.id];if(A===m)break;return S!==v&&(v.slots[this.id]=A),!0}return v&&(v.slots[this.id]=m),!1},z.prototype.getValue=function(){if(this.hasValue())return v.slots[this.id]},z.prototype.withValue=function(S,A,V,ve){var me,Ge=((me={__proto__:null})[this.id]=S,me),De=v;v={parent:De,slots:Ge};try{return A.apply(ve,V)}finally{v=De}},z.bind=function(S){var A=v;return function(){var V=v;try{return v=A,S.apply(this,arguments)}finally{v=V}}},z.noContext=function(S,A,V){if(!v)return S.apply(V,A);var ve=v;try{return v=null,S.apply(V,A)}finally{v=ve}},z}();try{Object.defineProperty(g,p,{value:g[p]=z,enumerable:!1,writable:!1,configurable:!1})}finally{return z}}();function L(){}var te=function(){function z(S,A){void 0===S&&(S=1/0),void 0===A&&(A=L),this.max=S,this.dispose=A,this.map=new Map,this.newest=null,this.oldest=null}return z.prototype.has=function(S){return this.map.has(S)},z.prototype.get=function(S){var A=this.getEntry(S);return A&&A.value},z.prototype.getEntry=function(S){var A=this.map.get(S);if(A&&A!==this.newest){var V=A.older,ve=A.newer;ve&&(ve.older=V),V&&(V.newer=ve),A.older=this.newest,A.older.newer=A,A.newer=null,this.newest=A,A===this.oldest&&(this.oldest=ve)}return A},z.prototype.set=function(S,A){var V=this.getEntry(S);return V?V.value=A:(V={key:S,value:A,newer:null,older:this.newest},this.newest&&(this.newest.newer=V),this.newest=V,this.oldest=this.oldest||V,this.map.set(S,V),V.value)},z.prototype.clean=function(){for(;this.oldest&&this.map.size>this.max;)this.delete(this.oldest.key)},z.prototype.delete=function(S){var A=this.map.get(S);return!!A&&(A===this.newest&&(this.newest=A.older),A===this.oldest&&(this.oldest=A.newer),A.newer&&(A.newer.older=A.older),A.older&&(A.older.newer=A.newer),this.map.delete(S),this.dispose(A.value,S),!0)},z}(),$e=new y;function ct(z){var S=z.unsubscribe;"function"==typeof S&&(z.unsubscribe=void 0,S())}var jt=[];function kt(z,S){if(!z)throw new Error(S||"assertion failure")}function Xe(z){switch(z.length){case 0:throw new Error("unknown value");case 1:return z[0];case 2:throw z[1]}}var E=function(){function z(S){this.fn=S,this.parents=new Set,this.childValues=new Map,this.dirtyChildren=null,this.dirty=!0,this.recomputing=!1,this.value=[],this.deps=null,++z.count}return z.prototype.peek=function(){if(1===this.value.length&&!Pe(this))return this.value[0]},z.prototype.recompute=function(S){return kt(!this.recomputing,"already recomputing"),function G(z){var S=$e.getValue();if(S)z.parents.add(S),S.childValues.has(z)||S.childValues.set(z,[]),Pe(z)?vt(S,z):Qe(S,z)}(this),Pe(this)?function ie(z,S){return je(z),$e.withValue(z,K,[z,S]),function de(z,S){if("function"==typeof z.subscribe)try{ct(z),z.unsubscribe=z.subscribe.apply(null,S)}catch(A){return z.setDirty(),!1}return!0}(z,S)&&function Ne(z){z.dirty=!1,!Pe(z)&&ot(z)}(z),Xe(z.value)}(this,S):Xe(this.value)},z.prototype.setDirty=function(){this.dirty||(this.dirty=!0,this.value.length=0,_e(this),je(this),ct(this))},z.prototype.dispose=function(){var S=this;je(this),ct(this),this.parents.forEach(function(A){A.setDirty(),Q(A,S)})},z.prototype.dependOn=function(S){S.add(this),this.deps||(this.deps=jt.pop()||new Set),this.deps.add(S)},z.prototype.forgetDeps=function(){var S=this;this.deps&&(this.deps.forEach(function(A){return A.delete(S)}),this.deps.clear(),jt.push(this.deps),this.deps=null)},z.count=0,z}();function K(z,S){z.recomputing=!0,z.value.length=0;try{z.value[0]=z.fn.apply(null,S)}catch(A){z.value[1]=A}z.recomputing=!1}function Pe(z){return z.dirty||!(!z.dirtyChildren||!z.dirtyChildren.size)}function _e(z){z.parents.forEach(function(S){return vt(S,z)})}function ot(z){z.parents.forEach(function(S){return Qe(S,z)})}function vt(z,S){if(kt(z.childValues.has(S)),kt(Pe(S)),z.dirtyChildren){if(z.dirtyChildren.has(S))return}else z.dirtyChildren=jt.pop()||new Set;z.dirtyChildren.add(S),_e(z)}function Qe(z,S){kt(z.childValues.has(S)),kt(!Pe(S));var A=z.childValues.get(S);0===A.length?z.childValues.set(S,function Ee(z){return z.slice(0)}(S.value)):function st(z,S){var A=z.length;return A>0&&A===S.length&&z[A-1]===S[A-1]}(A,S.value)||z.setDirty(),bt(z,S),!Pe(z)&&ot(z)}function bt(z,S){var A=z.dirtyChildren;A&&(A.delete(S),0===A.size&&(jt.length<100&&jt.push(A),z.dirtyChildren=null))}function je(z){z.childValues.size>0&&z.childValues.forEach(function(S,A){Q(z,A)}),z.forgetDeps(),kt(null===z.dirtyChildren)}function Q(z,S){S.parents.delete(z),z.childValues.delete(S),bt(z,S)}var re=function(){return Object.create(null)},ae=Array.prototype,qe=ae.forEach,Ve=ae.slice,ut=function(){function z(S,A){void 0===A&&(A=re),this.weakness=S,this.makeData=A}return z.prototype.lookup=function(){for(var S=[],A=0;A0){var A=--this.rootIds[S];return A||delete this.rootIds[S],A}return 0},z.prototype.getRootIdSet=function(S){return void 0===S&&(S=new Set),Object.keys(this.rootIds).forEach(S.add,S),this instanceof Xt?this.parent.getRootIdSet(S):Object.keys(this.policies.rootTypenamesById).forEach(S.add,S),S},z.prototype.gc=function(){var S=this,A=this.getRootIdSet(),V=this.toObject();A.forEach(function(Ge){ue.call(V,Ge)&&(Object.keys(S.findChildRefIds(Ge)).forEach(A.add,A),delete V[Ge])});var ve=Object.keys(V);if(ve.length){for(var me=this;me instanceof Xt;)me=me.parent;ve.forEach(function(Ge){return me.delete(Ge)})}return ve},z.prototype.findChildRefIds=function(S){if(!ue.call(this.refs,S)){var A=this.refs[S]=Object.create(null),V=new Set([this.data[S]]),ve=function(me){return null!==me&&"object"==typeof me};V.forEach(function(me){(0,Je.hh)(me)?A[me.__ref]=!0:ve(me)&&Object.values(me).filter(ve).forEach(V.add,V)})}return this.refs[S]},z.prototype.makeCacheKey=function(){for(var S=[],A=0;A0;if(Tn&&!xt)throw fn.missing[0];return{result:fn.result,missing:fn.missing,complete:!Tn}},z.prototype.isFresh=function(S,A,V,ve){if(X(ve.store)&&this.knownResults.get(S)===V){var me=this.executeSelectionSet.peek(V,A,ve);if(me&&S===me.result)return!0}return!1},z.prototype.execSelectionSetImpl=function(S){var A=this,V=S.selectionSet,ve=S.objectOrReference,me=S.context;if((0,Je.hh)(ve)&&!me.policies.rootTypenamesById[ve.__ref]&&!me.store.has(ve.__ref))return{result:{},missing:[ge(new Bn.ej(4),me)]};var Ge=me.variables,De=me.policies,He=[],fn={result:null},Tn=me.store.getFieldValue(ve,"__typename");function Vn(){return fn.missing||(fn.missing=[])}function $n(jn){var Yi;return jn.missing&&(Yi=Vn()).push.apply(Yi,jn.missing),jn.result}this.config.addTypename&&"string"==typeof Tn&&!De.rootIdsByTypename[Tn]&&He.push({__typename:Tn});var pi=new Set(V.selections);return pi.forEach(function(jn){var Yi;if((0,Je.LZ)(jn,Ge))if((0,Je.My)(jn)){var nr=De.readField({fieldName:jn.name.value,field:jn,variables:me.variables,from:ve},me),Ao=(0,Je.u2)(jn);me.path.push(Ao);var En=me.clientOnly;me.clientOnly=En||!(!jn.directives||!jn.directives.some(function(Fi){return"client"===Fi.name.value})),void 0===nr?Je.Gw.added(jn)||Vn().push(ge(new Bn.ej(5),me)):Array.isArray(nr)?nr=$n(A.executeSubSelectedArray({field:jn,array:nr,context:me})):jn.selectionSet&&null!=nr&&(nr=$n(A.executeSelectionSet({selectionSet:jn.selectionSet,objectOrReference:nr,context:me}))),void 0!==nr&&He.push(((Yi={})[Ao]=nr,Yi)),me.clientOnly=En,(0,Bn.kG)(me.path.pop()===Ao)}else{var ns=(0,Je.hi)(jn,me.fragmentMap);ns&&De.fragmentMatches(ns,Tn)&&ns.selectionSet.selections.forEach(pi.add,pi)}}),fn.result=(0,Je.bw)(He),this.knownResults.set(fn.result,V),fn},z.prototype.execSubSelectedArrayImpl=function(S){var Ge,A=this,V=S.field,ve=S.array,me=S.context;function De(xt,He){return xt.missing&&(Ge=Ge||[]).push.apply(Ge,xt.missing),(0,Bn.kG)(me.path.pop()===He),xt.result}return V.selectionSet&&(ve=ve.filter(me.store.canRead)),{result:ve=ve.map(function(xt,He){return null===xt?null:(me.path.push(He),Array.isArray(xt)?De(A.executeSubSelectedArray({field:V,array:xt,context:me}),He):V.selectionSet?De(A.executeSelectionSet({selectionSet:V.selectionSet,objectOrReference:xt,context:me}),He):((0,Bn.kG)(me.path.pop()===He),xt))}),missing:Ge}},z}(),$=function(){function z(S,A){this.cache=S,this.reader=A}return z.prototype.writeToStore=function(S){var A=S.query,V=S.result,ve=S.dataId,me=S.store,Ge=S.variables,De=(0,Je.$H)(A),xt=function at(){return new Je.w0}();Ge=(0,Vt.pi)((0,Vt.pi)({},(0,Je.O4)(De)),Ge);var He=this.processSelectionSet({result:V||Object.create(null),dataId:ve,selectionSet:De.selectionSet,mergeTree:{map:new Map},context:{store:me,written:Object.create(null),merge:function(fn,Tn){return xt.merge(fn,Tn)},variables:Ge,varString:JSON.stringify(Ge),fragmentMap:(0,Je.F)((0,Je.kU)(A))}});if(!(0,Je.hh)(He))throw new Bn.ej(7);return me.retain(He.__ref),He},z.prototype.processSelectionSet=function(S){var A=this,V=S.dataId,ve=S.result,me=S.selectionSet,Ge=S.context,De=S.mergeTree,xt=this.cache.policies,He=xt.identify(ve,me,Ge.fragmentMap),Tn=He[1];if("string"==typeof(V=V||He[0])){var Vn=Ge.written[V]||(Ge.written[V]=[]),$n=(0,Je.kQ)(V);if(Vn.indexOf(me)>=0||(Vn.push(me),this.reader&&this.reader.isFresh(ve,$n,me,Ge)))return $n}var pi=Object.create(null);Tn&&(pi=Ge.merge(pi,Tn));var jn=V&&xt.rootTypenamesById[V]||(0,Je.qw)(ve,me,Ge.fragmentMap)||V&&Ge.store.get(V,"__typename");"string"==typeof jn&&(pi.__typename=jn);var Yi=new Set(me.selections);if(Yi.forEach(function(Fi){var lr;if((0,Je.LZ)(Fi,Ge.variables))if((0,Je.My)(Fi)){var la=(0,Je.u2)(Fi),Dl=ve[la];if(void 0!==Dl){var fs=xt.getStoreFieldName({typename:jn,fieldName:Fi.name.value,field:Fi,variables:Ge.variables}),Tr=Ke(De,fs),Vs=A.processFieldValue(Dl,Fi,Ge,Tr),_m=Fi.selectionSet&&Ge.store.getFieldValue(Vs,"__typename")||void 0,is=xt.getMergeFunction(jn,Fi.name.value,_m);is?Tr.info={field:Fi,typename:jn,merge:is}:Bt(De,fs),pi=Ge.merge(pi,((lr={})[fs]=Vs,lr))}else if(xt.usingPossibleTypes&&!(0,Je.FS)(["defer","client"],Fi))throw new Bn.ej(8)}else{var fc=(0,Je.hi)(Fi,Ge.fragmentMap);fc&&xt.fragmentMatches(fc,jn,ve,Ge.variables)&&fc.selectionSet.selections.forEach(Yi.add,Yi)}}),"string"==typeof V){var nr=(0,Je.kQ)(V);return De.map.size&&(pi=this.applyMerges(De,nr,pi,Ge)),Ge.store.merge(V,pi),nr}return pi},z.prototype.processFieldValue=function(S,A,V,ve){var me=this;return A.selectionSet&&null!==S?Array.isArray(S)?S.map(function(Ge,De){var xt=me.processFieldValue(Ge,A,V,Ke(ve,De));return Bt(ve,De),xt}):this.processSelectionSet({result:S,selectionSet:A.selectionSet,context:V,mergeTree:ve}):S},z.prototype.applyMerges=function(S,A,V,ve,me){var Ge,De=this;if(S.map.size&&!(0,Je.hh)(V)){var xt=Array.isArray(V)||!(0,Je.hh)(A)&&!Ze(A)?void 0:A,He=V;xt&&!me&&(me=[(0,Je.hh)(xt)?xt.__ref:xt]);var fn,Tn=function(Vn,$n){return Array.isArray(Vn)?"number"==typeof $n?Vn[$n]:void 0:ve.store.getFieldValue(Vn,String($n))};S.map.forEach(function(Vn,$n){me&&me.push($n);var pi=Tn(xt,$n),jn=Tn(He,$n),Yi=De.applyMerges(Vn,pi,jn,ve,me);Yi!==jn&&(fn=fn||new Map).set($n,Yi),me&&(0,Bn.kG)(me.pop()===$n)}),fn&&(V=Array.isArray(He)?He.slice(0):(0,Vt.pi)({},He),fn.forEach(function(Vn,$n){V[$n]=Vn}))}return S.info?this.cache.policies.runMergeFunction(A,V,S.info,ve,me&&(Ge=ve.store).getStorage.apply(Ge,me)):V},z}(),pe=[];function Ke(z,S){var A=z.map;return A.has(S)||A.set(S,pe.pop()||{map:new Map}),A.get(S)}function Bt(z,S){var A=z.map,V=A.get(S);V&&!V.info&&!V.map.size&&(pe.push(V),A.delete(S))}var en=pn(),ne=new y;function fe(z,S){if(z.size){var A=[];z.forEach(function(V){return A.push(V)}),z.clear(),A.forEach(S)}}var W=new WeakMap;function ye(z){var S=new Set,A=new Set,V=function(me){if(arguments.length>0)z!==me&&(z=me,en.dirty(V),S.forEach(Oe),fe(A,function(De){return De(z)}));else{var Ge=ne.getValue();Ge&&ve(Ge),en(V)}return z};V.onNextChange=function(me){return A.add(me),function(){A.delete(me)}};var ve=V.attachCache=function(me){S.add(me);var Ge=W.get(me);return Ge||W.set(me,Ge=new Set),Ge.add(V),V};return V.forgetCache=function(me){var Ge=S.delete(me);if(Ge){var De=W.get(me);De&&De.delete(V)}return Ge},V}function Oe(z){z.broadcastWatches&&z.broadcastWatches()}function U(z){return void 0!==z.args?z.args:z.field?(0,Je.NC)(z.field,z.variables):null}var J=function(z,S){var A=z.__typename,V=z.id,ve=z._id;if("string"==typeof A&&(S&&(S.keyObject=void 0!==V?{id:V}:void 0!==ve?{_id:ve}:void 0),void 0===V&&(V=ve),void 0!==V))return A+":"+("number"==typeof V||"string"==typeof V?V:JSON.stringify(V))},ee=function(){},Re=function(z,S){return S.fieldName},ze=function(z,S,A){return(0,A.mergeObjects)(z,S)},nt=function(z,S){return S},he=function(){function z(S){this.config=S,this.typePolicies=Object.create(null),this.toBeAdded=Object.create(null),this.supertypeMap=new Map,this.fuzzySubtypes=new Map,this.rootIdsByTypename=Object.create(null),this.rootTypenamesById=Object.create(null),this.usingPossibleTypes=!1,this.config=(0,Vt.pi)({dataIdFromObject:J},S),this.cache=this.config.cache,this.setRootTypename("Query"),this.setRootTypename("Mutation"),this.setRootTypename("Subscription"),S.possibleTypes&&this.addPossibleTypes(S.possibleTypes),S.typePolicies&&this.addTypePolicies(S.typePolicies)}return z.prototype.identify=function(S,A,V){var ve=A&&V?(0,Je.qw)(S,A,V):S.__typename;if(ve===this.rootTypenamesById.ROOT_QUERY)return["ROOT_QUERY"];for(var Ge,me={typename:ve,selectionSet:A,fragmentMap:V},De=ve&&this.getTypePolicy(ve),xt=De&&De.keyFn||this.config.dataIdFromObject;xt;){var He=xt(S,me);if(!Array.isArray(He)){Ge=He;break}xt=Xn(He)}return Ge=Ge&&String(Ge),me.keyObject?[Ge,me.keyObject]:[Ge]},z.prototype.addTypePolicies=function(S){var A=this;Object.keys(S).forEach(function(V){var ve=S[V];ue.call(A.toBeAdded,V)?A.toBeAdded[V].push(ve):A.toBeAdded[V]=[ve]})},z.prototype.updateTypePolicy=function(S,A){var V=this,ve=this.getTypePolicy(S),me=A.keyFields,Ge=A.fields;function De(xt,He){xt.merge="function"==typeof He?He:!0===He?ze:!1===He?nt:xt.merge}De(ve,A.merge),A.queryType&&this.setRootTypename("Query",S),A.mutationType&&this.setRootTypename("Mutation",S),A.subscriptionType&&this.setRootTypename("Subscription",S),ve.keyFn=!1===me?ee:Array.isArray(me)?Xn(me):"function"==typeof me?me:ve.keyFn,Ge&&Object.keys(Ge).forEach(function(xt){var He=V.getFieldPolicy(S,xt,!0),fn=Ge[xt];if("function"==typeof fn)He.read=fn;else{var Tn=fn.keyArgs,Vn=fn.read,$n=fn.merge;He.keyFn=!1===Tn?Re:Array.isArray(Tn)?rn(Tn):"function"==typeof Tn?Tn:He.keyFn,"function"==typeof Vn&&(He.read=Vn),De(He,$n)}He.read&&He.merge&&(He.keyFn=He.keyFn||Re)})},z.prototype.setRootTypename=function(S,A){void 0===A&&(A=S);var V="ROOT_"+S.toUpperCase(),ve=this.rootTypenamesById[V];A!==ve&&((0,Bn.kG)(!ve||ve===S,1),ve&&delete this.rootIdsByTypename[ve],this.rootIdsByTypename[A]=V,this.rootTypenamesById[V]=A)},z.prototype.addPossibleTypes=function(S){var A=this;this.usingPossibleTypes=!0,Object.keys(S).forEach(function(V){A.getSupertypeSet(V,!0),S[V].forEach(function(ve){A.getSupertypeSet(ve,!0).add(V);var me=ve.match(le);(!me||me[0]!==ve)&&A.fuzzySubtypes.set(ve,new RegExp(ve))})})},z.prototype.getTypePolicy=function(S){var A=this;if(!ue.call(this.typePolicies,S)){var V=this.typePolicies[S]=Object.create(null);V.fields=Object.create(null);var ve=this.supertypeMap.get(S);ve&&ve.size&&ve.forEach(function(Ge){var De=A.getTypePolicy(Ge),xt=De.fields,He=(0,Vt._T)(De,["fields"]);Object.assign(V,He),Object.assign(V.fields,xt)})}var me=this.toBeAdded[S];return me&&me.length&&this.updateTypePolicy(S,Je.oA.apply(void 0,me.splice(0))),this.typePolicies[S]},z.prototype.getFieldPolicy=function(S,A,V){if(S){var ve=this.getTypePolicy(S).fields;return ve[A]||V&&(ve[A]=Object.create(null))}},z.prototype.getSupertypeSet=function(S,A){var V=this.supertypeMap.get(S);return!V&&A&&this.supertypeMap.set(S,V=new Set),V},z.prototype.fragmentMatches=function(S,A,V,ve){var me=this;if(!S.typeCondition)return!0;if(!A)return!1;var Ge=S.typeCondition.name.value;if(A===Ge)return!0;if(this.usingPossibleTypes&&this.supertypeMap.has(Ge))for(var De=this.getSupertypeSet(A,!0),xt=[De],He=function(pi){var jn=me.getSupertypeSet(pi,!1);jn&&jn.size&&xt.indexOf(jn)<0&&xt.push(jn)},fn=!(!V||!this.fuzzySubtypes.size),Vn=0;Vn{},2103:(se,q,w)=>{"use strict";w.d(q,{f:()=>Xe});var v=w(3564),m=w(1082),d=w(5134),u=w(8108),g=w(9397),y=w(7883),b=w(8020),C=w(8131),P=w(7703),N=w(1335),R=w(6381),B=function(){function Ee(E){var ie=E.client,K=E.resolvers,Pe=E.fragmentMatcher;this.cache=E.cache,ie&&(this.client=ie),K&&this.addResolvers(K),Pe&&this.setFragmentMatcher(Pe)}return Ee.prototype.addResolvers=function(E){var G=this;this.resolvers=this.resolvers||{},Array.isArray(E)?E.forEach(function(ie){G.resolvers=(0,u.Ee)(G.resolvers,ie)}):this.resolvers=(0,u.Ee)(this.resolvers,E)},Ee.prototype.setResolvers=function(E){this.resolvers={},this.addResolvers(E)},Ee.prototype.getResolvers=function(){return this.resolvers||{}},Ee.prototype.runResolvers=function(E){var G=E.document,ie=E.remoteResult,K=E.context,Pe=E.variables,Ne=E.onlyRunForcedResolvers,_e=void 0!==Ne&&Ne;return(0,v.mG)(this,void 0,void 0,function(){return(0,v.Jh)(this,function(ot){return G?[2,this.resolveDocument(G,ie.data,K,Pe,this.fragmentMatcher,_e).then(function(vt){return(0,v.pi)((0,v.pi)({},ie),{data:vt.result})})]:[2,ie]})})},Ee.prototype.setFragmentMatcher=function(E){this.fragmentMatcher=E},Ee.prototype.getFragmentMatcher=function(){return this.fragmentMatcher},Ee.prototype.clientQuery=function(E){return(0,u.FS)(["client"],E)&&this.resolvers?E:null},Ee.prototype.serverQuery=function(E){return(0,u.ob)(E)},Ee.prototype.prepareContext=function(E){var G=this.cache;return(0,v.pi)((0,v.pi)({},E),{cache:G,getCacheKey:function(ie){return G.identify(ie)}})},Ee.prototype.addExportedVariables=function(E,G,ie){return void 0===G&&(G={}),void 0===ie&&(ie={}),(0,v.mG)(this,void 0,void 0,function(){return(0,v.Jh)(this,function(K){return E?[2,this.resolveDocument(E,this.buildRootValueFromCache(E,G)||{},this.prepareContext(ie),G).then(function(Pe){return(0,v.pi)((0,v.pi)({},G),Pe.exportedVariables)})]:[2,(0,v.pi)({},G)]})})},Ee.prototype.shouldForceResolvers=function(E){var G=!1;return(0,N.Vn)(E,{Directive:{enter:function(ie){if("client"===ie.name.value&&ie.arguments&&(G=ie.arguments.some(function(K){return"always"===K.name.value&&"BooleanValue"===K.value.kind&&!0===K.value.value})))return N.$_}}}),G},Ee.prototype.buildRootValueFromCache=function(E,G){return this.cache.diff({query:(0,u.aL)(E),variables:G,returnPartialData:!0,optimistic:!1}).result},Ee.prototype.resolveDocument=function(E,G,ie,K,Pe,Ne){return void 0===ie&&(ie={}),void 0===K&&(K={}),void 0===Pe&&(Pe=function(){return!0}),void 0===Ne&&(Ne=!1),(0,v.mG)(this,void 0,void 0,function(){var _e,ot,vt,Qe,bt,je,Q,de,re;return(0,v.Jh)(this,function(ae){return _e=(0,u.p$)(E),ot=(0,u.kU)(E),vt=(0,u.F)(ot),bt=(Qe=_e.operation)?Qe.charAt(0).toUpperCase()+Qe.slice(1):"Query",Q=(je=this).cache,de=je.client,re={fragmentMap:vt,context:(0,v.pi)((0,v.pi)({},ie),{cache:Q,client:de}),variables:K,fragmentMatcher:Pe,defaultOperationType:bt,exportedVariables:{},onlyRunForcedResolvers:Ne},[2,this.resolveSelectionSet(_e.selectionSet,G,re).then(function(qe){return{result:qe,exportedVariables:re.exportedVariables}})]})})},Ee.prototype.resolveSelectionSet=function(E,G,ie){return(0,v.mG)(this,void 0,void 0,function(){var K,Pe,Ne,_e,vt=this;return(0,v.Jh)(this,function(Qe){return K=ie.fragmentMap,Pe=ie.context,Ne=ie.variables,_e=[G],[2,Promise.all(E.selections.map(function(bt){return(0,v.mG)(vt,void 0,void 0,function(){var je;return(0,v.Jh)(this,function(de){return(0,u.LZ)(bt,Ne)?(0,u.My)(bt)?[2,this.resolveField(bt,G,ie).then(function(re){var ae;void 0!==re&&_e.push(((ae={})[(0,u.u2)(bt)]=re,ae))})]:((0,u.Ao)(bt)?je=bt:(0,m.kG)(je=K[bt.name.value],11),je&&je.typeCondition&&ie.fragmentMatcher(G,je.typeCondition.name.value,Pe)?[2,this.resolveSelectionSet(je.selectionSet,G,ie).then(function(re){_e.push(re)})]:[2]):[2]})})})).then(function(){return(0,u.bw)(_e)})]})})},Ee.prototype.resolveField=function(E,G,ie){return(0,v.mG)(this,void 0,void 0,function(){var K,Pe,Ne,_e,ot,vt,Qe,bt,je,Q=this;return(0,v.Jh)(this,function(de){return K=ie.variables,Pe=E.name.value,Ne=(0,u.u2)(E),_e=Pe!==Ne,ot=G[Ne]||G[Pe],vt=Promise.resolve(ot),(!ie.onlyRunForcedResolvers||this.shouldForceResolvers(E))&&(Qe=G.__typename||ie.defaultOperationType,(bt=this.resolvers&&this.resolvers[Qe])&&(je=bt[_e?Pe:Ne])&&(vt=Promise.resolve(R.cacheSlot.withValue(this.cache,je,[G,(0,u.NC)(E,K),ie.context,{field:E,fragmentMap:ie.fragmentMap}])))),[2,vt.then(function(re){return void 0===re&&(re=ot),E.directives&&E.directives.forEach(function(ae){"export"===ae.name.value&&ae.arguments&&ae.arguments.forEach(function(qe){"as"===qe.name.value&&"StringValue"===qe.value.kind&&(ie.exportedVariables[qe.value.value]=re)})}),E.selectionSet&&null!=re?Array.isArray(re)?Q.resolveSubSelectedArray(E,re,ie):E.selectionSet?Q.resolveSelectionSet(E.selectionSet,re,ie):void 0:re})]})})},Ee.prototype.resolveSubSelectedArray=function(E,G,ie){var K=this;return Promise.all(G.map(function(Pe){return null===Pe?null:Array.isArray(Pe)?K.resolveSubSelectedArray(E,Pe,ie):E.selectionSet?K.resolveSelectionSet(E.selectionSet,Pe,ie):void 0}))},Ee}(),F=new(u.mr?WeakMap:Map);function L(Ee,E){var G=Ee[E];"function"==typeof G&&(Ee[E]=function(){return F.set(Ee,(F.get(Ee)+1)%1e15),G.apply(this,arguments)})}function te(Ee){Ee.notifyTimeout&&(clearTimeout(Ee.notifyTimeout),Ee.notifyTimeout=void 0)}var $e=function(){function Ee(E){this.cache=E,this.listeners=new Set,this.document=null,this.lastRequestId=1,this.subscriptions=new Set,this.stopped=!1,this.dirty=!1,this.diff=null,this.observableQuery=null,F.has(E)||(F.set(E,0),L(E,"evict"),L(E,"modify"),L(E,"reset"))}return Ee.prototype.init=function(E){var G=E.networkStatus||P.I.loading;return this.variables&&this.networkStatus!==P.I.loading&&!(0,y.D)(this.variables,E.variables)&&(G=P.I.setVariables),(0,y.D)(E.variables,this.variables)||(this.diff=null),Object.assign(this,{document:E.document,variables:E.variables,networkError:null,graphQLErrors:this.graphQLErrors||[],networkStatus:G}),E.observableQuery&&this.setObservableQuery(E.observableQuery),E.lastRequestId&&(this.lastRequestId=E.lastRequestId),this},Ee.prototype.getDiff=function(E){return void 0===E&&(E=this.variables),this.diff&&(0,y.D)(E,this.variables)?this.diff:(this.updateWatch(this.variables=E),this.diff=this.cache.diff({query:this.document,variables:E,returnPartialData:!0,optimistic:!0}))},Ee.prototype.setDiff=function(E){var G=this,ie=this.diff;this.diff=E,!this.dirty&&(E&&E.result)!==(ie&&ie.result)&&(this.dirty=!0,this.notifyTimeout||(this.notifyTimeout=setTimeout(function(){return G.notify()},0)))},Ee.prototype.setObservableQuery=function(E){var G=this;E!==this.observableQuery&&(this.oqListener&&this.listeners.delete(this.oqListener),this.observableQuery=E,E?(E.queryInfo=this,this.listeners.add(this.oqListener=function(){G.getDiff().fromOptimisticTransaction?E.observe():E.reobserve()})):delete this.oqListener)},Ee.prototype.notify=function(){var E=this;te(this),this.shouldNotify()&&this.listeners.forEach(function(G){return G(E)}),this.dirty=!1},Ee.prototype.shouldNotify=function(){if(!this.dirty||!this.listeners.size)return!1;if((0,P.O)(this.networkStatus)&&this.observableQuery){var E=this.observableQuery.options.fetchPolicy;if("cache-only"!==E&&"cache-and-network"!==E)return!1}return!0},Ee.prototype.stop=function(){if(!this.stopped){this.stopped=!0,this.cancel(),delete this.cancel,this.subscriptions.forEach(function(G){return G.unsubscribe()});var E=this.observableQuery;E&&E.stopPolling()}},Ee.prototype.cancel=function(){},Ee.prototype.updateWatch=function(E){var G=this;void 0===E&&(E=this.variables);var ie=this.observableQuery;ie&&"no-cache"===ie.options.fetchPolicy||(!this.lastWatch||this.lastWatch.query!==this.document||!(0,y.D)(E,this.lastWatch.variables))&&(this.cancel(),this.cancel=this.cache.watch(this.lastWatch={query:this.document,variables:E,optimistic:!0,callback:function(K){return G.setDiff(K)}}))},Ee.prototype.shouldWrite=function(E,G){var ie=this.lastWrite;return!(ie&&ie.dmCount===F.get(this.cache)&&(0,y.D)(G,ie.variables)&&(0,y.D)(E.data,ie.result.data))},Ee.prototype.markResult=function(E,G,ie){var K=this;this.graphQLErrors=(0,u.Of)(E.errors)?E.errors:[],te(this),"no-cache"===G.fetchPolicy?this.diff={result:E.data,complete:!0}:ie&&(ct(E,G.errorPolicy)?this.cache.performTransaction(function(Pe){if(K.shouldWrite(E,G.variables))Pe.writeQuery({query:K.document,data:E.data,variables:G.variables}),K.lastWrite={result:E,variables:G.variables,dmCount:F.get(K.cache)};else if(K.diff&&K.diff.complete)return void(E.data=K.diff.result);var Ne=Pe.diff({query:K.document,variables:G.variables,returnPartialData:!0,optimistic:!0});K.stopped||K.updateWatch(G.variables),K.diff=Ne,Ne.complete&&(E.data=Ne.result)}):this.lastWrite=void 0)},Ee.prototype.markReady=function(){return this.networkError=null,this.networkStatus=P.I.ready},Ee.prototype.markError=function(E){return this.networkStatus=P.I.error,this.lastWrite=void 0,te(this),E.graphQLErrors&&(this.graphQLErrors=E.graphQLErrors),E.networkError&&(this.networkError=E.networkError),E},Ee}();function ct(Ee,E){void 0===E&&(E="none");var G="ignore"===E||"all"===E,ie=!(0,u.d2)(Ee);return!ie&&G&&Ee.data&&(ie=!0),ie}var jt=Object.prototype.hasOwnProperty,Ot=function(){function Ee(E){var G=E.cache,ie=E.link,K=E.queryDeduplication,Pe=void 0!==K&&K,Ne=E.onBroadcast,_e=E.ssrMode,ot=void 0!==_e&&_e,vt=E.clientAwareness,Qe=void 0===vt?{}:vt,bt=E.localState,je=E.assumeImmutableResults;this.clientAwareness={},this.queries=new Map,this.fetchCancelFns=new Map,this.transformCache=new(u.mr?WeakMap:Map),this.queryIdCounter=1,this.requestIdCounter=1,this.mutationIdCounter=1,this.inFlightLinkObservables=new Map,this.cache=G,this.link=ie,this.queryDeduplication=Pe,this.clientAwareness=Qe,this.localState=bt||new B({cache:G}),this.ssrMode=ot,this.assumeImmutableResults=!!je,(this.onBroadcast=Ne)&&(this.mutationStore=Object.create(null))}return Ee.prototype.stop=function(){var E=this;this.queries.forEach(function(G,ie){E.stopQueryNoBroadcast(ie)}),this.cancelPendingFetches(new m.ej(12))},Ee.prototype.cancelPendingFetches=function(E){this.fetchCancelFns.forEach(function(G){return G(E)}),this.fetchCancelFns.clear()},Ee.prototype.mutate=function(E){var G=E.mutation,ie=E.variables,K=E.optimisticResponse,Pe=E.updateQueries,Ne=E.refetchQueries,_e=void 0===Ne?[]:Ne,ot=E.awaitRefetchQueries,vt=void 0!==ot&&ot,Qe=E.update,bt=E.errorPolicy,je=void 0===bt?"none":bt,Q=E.fetchPolicy,de=E.context,re=void 0===de?{}:de;return(0,v.mG)(this,void 0,void 0,function(){var ae,qe,Ve;return(0,v.Jh)(this,function(ut){switch(ut.label){case 0:return(0,m.kG)(G,13),(0,m.kG)(!Q||"no-cache"===Q,14),ae=this.generateMutationId(),G=this.transform(G).document,ie=this.getVariables(G,ie),this.transform(G).hasClientExports?[4,this.localState.addExportedVariables(G,ie,re)]:[3,2];case 1:ie=ut.sent(),ut.label=2;case 2:return qe=this.mutationStore&&(this.mutationStore[ae]={mutation:G,variables:ie,loading:!0,error:null}),K&&this.markMutationOptimistic(K,{mutationId:ae,document:G,variables:ie,errorPolicy:je,updateQueries:Pe,update:Qe}),this.broadcastQueries(),Ve=this,[2,new Promise(function(Tt,pn){var Te,lt;Ve.getObservableFromLink(G,(0,v.pi)((0,v.pi)({},re),{optimisticResponse:K}),ie,!1).subscribe({next:function(dt){if((0,u.d2)(dt)&&"none"===je)lt=new b.c({graphQLErrors:dt.errors});else{if(qe&&(qe.loading=!1,qe.error=null),"no-cache"!==Q)try{Ve.markMutationResult({mutationId:ae,result:dt,document:G,variables:ie,errorPolicy:je,updateQueries:Pe,update:Qe})}catch(ft){return void(lt=new b.c({networkError:ft}))}Te=dt}},error:function(dt){qe&&(qe.loading=!1,qe.error=dt),K&&Ve.cache.removeOptimistic(ae),Ve.broadcastQueries(),pn(new b.c({networkError:dt}))},complete:function(){if(lt&&qe&&(qe.loading=!1,qe.error=lt),K&&Ve.cache.removeOptimistic(ae),Ve.broadcastQueries(),lt)pn(lt);else{"function"==typeof _e&&(_e=_e(Te));var dt=[];(0,u.Of)(_e)&&_e.forEach(function(ft){if("string"==typeof ft)Ve.queries.forEach(function(St){var Qt=St.observableQuery;Qt&&Qt.queryName===ft&&dt.push(Qt.refetch())});else{var Je={query:ft.query,variables:ft.variables,fetchPolicy:"network-only"};ft.context&&(Je.context=ft.context),dt.push(Ve.query(Je))}}),Promise.all(vt?dt:[]).then(function(){"ignore"===je&&Te&&(0,u.d2)(Te)&&delete Te.errors,Tt(Te)},pn)}}})})]}})})},Ee.prototype.markMutationResult=function(E,G){var ie=this;if(void 0===G&&(G=this.cache),ct(E.result,E.errorPolicy)){var K=[{result:E.result.data,dataId:"ROOT_MUTATION",query:E.document,variables:E.variables}],Pe=E.updateQueries;Pe&&this.queries.forEach(function(Ne,_e){var ot=Ne.observableQuery,vt=ot&&ot.queryName;if(vt&&jt.call(Pe,vt)){var Qe=Pe[vt],bt=ie.queries.get(_e),je=bt.document,Q=bt.variables,de=G.diff({query:je,variables:Q,returnPartialData:!0,optimistic:!1}),re=de.result;if(de.complete&&re){var qe=Qe(re,{mutationResult:E.result,queryName:je&&(0,u.rY)(je)||void 0,queryVariables:Q});qe&&K.push({result:qe,dataId:"ROOT_QUERY",query:je,variables:Q})}}}),G.performTransaction(function(Ne){K.forEach(function(ot){return Ne.write(ot)});var _e=E.update;_e&&_e(Ne,E.result)},null)}},Ee.prototype.markMutationOptimistic=function(E,G){var ie=this,K="function"==typeof E?E(G.variables):E;return this.cache.recordOptimisticTransaction(function(Pe){try{ie.markMutationResult((0,v.pi)((0,v.pi)({},G),{result:{data:K}}),Pe)}catch(Ne){}},G.mutationId)},Ee.prototype.fetchQuery=function(E,G,ie){return this.fetchQueryObservable(E,G,ie).promise},Ee.prototype.getQueryStore=function(){var E=Object.create(null);return this.queries.forEach(function(G,ie){E[ie]={variables:G.variables,networkStatus:G.networkStatus,networkError:G.networkError,graphQLErrors:G.graphQLErrors}}),E},Ee.prototype.resetErrors=function(E){var G=this.queries.get(E);G&&(G.networkError=void 0,G.graphQLErrors=[])},Ee.prototype.transform=function(E){var G=this.transformCache;if(!G.has(E)){var ie=this.cache.transformDocument(E),K=(0,u.Fo)(this.cache.transformForLink(ie)),Pe=this.localState.clientQuery(ie),Ne=K&&this.localState.serverQuery(K),_e={document:ie,hasClientExports:(0,u.mj)(ie),hasForcedResolvers:this.localState.shouldForceResolvers(ie),clientQuery:Pe,serverQuery:Ne,defaultVars:(0,u.O4)((0,u.$H)(ie))},ot=function(vt){vt&&!G.has(vt)&&G.set(vt,_e)};ot(E),ot(ie),ot(Pe),ot(Ne)}return G.get(E)},Ee.prototype.getVariables=function(E,G){return(0,v.pi)((0,v.pi)({},this.transform(E).defaultVars),G)},Ee.prototype.watchQuery=function(E){void 0===(E=(0,v.pi)((0,v.pi)({},E),{variables:this.getVariables(E.query,E.variables)})).notifyOnNetworkStatusChange&&(E.notifyOnNetworkStatusChange=!1);var G=new $e(this.cache),ie=new C.u({queryManager:this,queryInfo:G,options:E});return this.queries.set(ie.queryId,G),G.init({document:E.query,observableQuery:ie,variables:E.variables}),ie},Ee.prototype.query=function(E){var G=this;(0,m.kG)(E.query,15),(0,m.kG)("Document"===E.query.kind,16),(0,m.kG)(!E.returnPartialData,17),(0,m.kG)(!E.pollInterval,18);var ie=this.generateQueryId();return this.fetchQuery(ie,E).finally(function(){return G.stopQuery(ie)})},Ee.prototype.generateQueryId=function(){return String(this.queryIdCounter++)},Ee.prototype.generateRequestId=function(){return this.requestIdCounter++},Ee.prototype.generateMutationId=function(){return String(this.mutationIdCounter++)},Ee.prototype.stopQueryInStore=function(E){this.stopQueryInStoreNoBroadcast(E),this.broadcastQueries()},Ee.prototype.stopQueryInStoreNoBroadcast=function(E){var G=this.queries.get(E);G&&G.stop()},Ee.prototype.clearStore=function(){return this.cancelPendingFetches(new m.ej(19)),this.queries.forEach(function(E){E.observableQuery?E.networkStatus=P.I.loading:E.stop()}),this.mutationStore&&(this.mutationStore=Object.create(null)),this.cache.reset()},Ee.prototype.resetStore=function(){var E=this;return this.clearStore().then(function(){return E.reFetchObservableQueries()})},Ee.prototype.reFetchObservableQueries=function(E){var G=this;void 0===E&&(E=!1);var ie=[];return this.queries.forEach(function(K,Pe){var Ne=K.observableQuery;if(Ne&&Ne.hasObservers()){var _e=Ne.options.fetchPolicy;Ne.resetLastResults(),"cache-only"!==_e&&(E||"standby"!==_e)&&ie.push(Ne.refetch()),G.getQuery(Pe).setDiff(null)}}),this.broadcastQueries(),Promise.all(ie)},Ee.prototype.setObservableQuery=function(E){this.getQuery(E.queryId).setObservableQuery(E)},Ee.prototype.startGraphQLSubscription=function(E){var G=this,ie=E.query,K=E.fetchPolicy,Pe=E.errorPolicy,Ne=E.variables,_e=E.context,ot=void 0===_e?{}:_e;ie=this.transform(ie).document,Ne=this.getVariables(ie,Ne);var vt=function(bt){return G.getObservableFromLink(ie,ot,bt,!1).map(function(je){if("no-cache"!==K&&(ct(je,Pe)&&G.cache.write({query:ie,result:je.data,dataId:"ROOT_SUBSCRIPTION",variables:bt}),G.broadcastQueries()),(0,u.d2)(je))throw new b.c({graphQLErrors:je.errors});return je})};if(this.transform(ie).hasClientExports){var Qe=this.localState.addExportedVariables(ie,Ne,ot).then(vt);return new u.y$(function(bt){var je=null;return Qe.then(function(Q){return je=Q.subscribe(bt)},bt.error),function(){return je&&je.unsubscribe()}})}return vt(Ne)},Ee.prototype.stopQuery=function(E){this.stopQueryNoBroadcast(E),this.broadcastQueries()},Ee.prototype.stopQueryNoBroadcast=function(E){this.stopQueryInStoreNoBroadcast(E),this.removeQuery(E)},Ee.prototype.removeQuery=function(E){this.fetchCancelFns.delete(E),this.getQuery(E).stop(),this.queries.delete(E)},Ee.prototype.broadcastQueries=function(){this.onBroadcast&&this.onBroadcast(),this.queries.forEach(function(E){return E.notify()})},Ee.prototype.getLocalState=function(){return this.localState},Ee.prototype.getObservableFromLink=function(E,G,ie,K){var Ne,Pe=this;void 0===K&&(K=null!==(Ne=null==G?void 0:G.queryDeduplication)&&void 0!==Ne?Ne:this.queryDeduplication);var _e,ot=this.transform(E).serverQuery;if(ot){var Qe=this.inFlightLinkObservables,bt=this.link,je={query:ot,variables:ie,operationName:(0,u.rY)(ot)||void 0,context:this.prepareContext((0,v.pi)((0,v.pi)({},G),{forceFetch:!K}))};if(G=je.context,K){var Q=Qe.get(ot)||new Map;Qe.set(ot,Q);var de=JSON.stringify(ie);if(!(_e=Q.get(de))){var re=new u.X_([(0,d.execute)(bt,je)]);Q.set(de,_e=re),re.cleanup(function(){Q.delete(de)&&Q.size<1&&Qe.delete(ot)})}}else _e=new u.X_([(0,d.execute)(bt,je)])}else _e=new u.X_([u.y$.of({data:{}})]),G=this.prepareContext(G);var ae=this.transform(E).clientQuery;return ae&&(_e=(0,u.sz)(_e,function(qe){return Pe.localState.runResolvers({document:ae,remoteResult:qe,context:G,variables:ie})})),_e},Ee.prototype.getResultsFromLink=function(E,G,ie){var K=E.lastRequestId;return(0,u.sz)(this.getObservableFromLink(E.document,ie.context,ie.variables),function(Pe){var Ne=(0,u.Of)(Pe.errors);if(K>=E.lastRequestId){if(Ne&&"none"===ie.errorPolicy)throw E.markError(new b.c({graphQLErrors:Pe.errors}));E.markResult(Pe,ie,G),E.markReady()}var _e={data:Pe.data,loading:!1,networkStatus:E.networkStatus||P.I.ready};return Ne&&"ignore"!==ie.errorPolicy&&(_e.errors=Pe.errors),_e},function(Pe){var Ne=(0,b.M)(Pe)?Pe:new b.c({networkError:Pe});throw K>=E.lastRequestId&&E.markError(Ne),Ne})},Ee.prototype.fetchQueryObservable=function(E,G,ie){var K=this;void 0===ie&&(ie=P.I.loading);var Pe=this.transform(G.query).document,Ne=this.getVariables(Pe,G.variables),_e=this.getQuery(E),ot=_e.networkStatus,vt=G.fetchPolicy,Qe=void 0===vt?"cache-first":vt,bt=G.errorPolicy,je=void 0===bt?"none":bt,Q=G.returnPartialData,de=void 0!==Q&&Q,re=G.notifyOnNetworkStatusChange,ae=void 0!==re&&re,qe=G.context,Ve=void 0===qe?{}:qe;("cache-first"===Qe||"cache-and-network"===Qe||"network-only"===Qe||"no-cache"===Qe)&&ae&&"number"==typeof ot&&ot!==ie&&(0,P.O)(ie)&&("cache-first"!==Qe&&(Qe="cache-and-network"),de=!0);var Tt=Object.assign({},G,{query:Pe,variables:Ne,fetchPolicy:Qe,errorPolicy:je,returnPartialData:de,notifyOnNetworkStatusChange:ae,context:Ve}),pn=function(lt){return Tt.variables=lt,K.fetchQueryByPolicy(_e,Tt,ie)};this.fetchCancelFns.set(E,function(lt){Promise.resolve().then(function(){return Te.cancel(lt)})});var Te=new u.X_(this.transform(Tt.query).hasClientExports?this.localState.addExportedVariables(Tt.query,Tt.variables,Tt.context).then(pn):pn(Tt.variables));return Te.cleanup(function(){K.fetchCancelFns.delete(E);var lt=G.nextFetchPolicy;lt&&(G.nextFetchPolicy=void 0,G.fetchPolicy="function"==typeof lt?lt.call(G,G.fetchPolicy||"cache-first"):lt)}),Te},Ee.prototype.fetchQueryByPolicy=function(E,G,ie){var K=this,Pe=G.query,Ne=G.variables,_e=G.fetchPolicy,ot=G.errorPolicy,vt=G.returnPartialData,Qe=G.context;E.init({document:Pe,variables:Ne,lastRequestId:this.generateRequestId(),networkStatus:ie});var bt=function(){return E.getDiff(Ne)},je=function(re,ae){void 0===ae&&(ae=E.networkStatus||P.I.loading);var qe=re.result,Ve=function(ut){return u.y$.of((0,v.pi)({data:ut,loading:(0,P.O)(ae),networkStatus:ae},re.complete?null:{partial:!0}))};return K.transform(Pe).hasForcedResolvers?K.localState.runResolvers({document:Pe,remoteResult:{data:qe},context:Qe,variables:Ne,onlyRunForcedResolvers:!0}).then(function(ut){return Ve(ut.data)}):Ve(qe)},Q=function(re){return K.getResultsFromLink(E,re,{variables:Ne,context:Qe,fetchPolicy:_e,errorPolicy:ot})};switch(_e){default:case"cache-first":return(de=bt()).complete?[je(de,E.markReady())]:vt?[je(de),Q(!0)]:[Q(!0)];case"cache-and-network":var de;return(de=bt()).complete||vt?[je(de),Q(!0)]:[Q(!0)];case"cache-only":return[je(bt(),E.markReady())];case"network-only":return[Q(!0)];case"no-cache":return[Q(!1)];case"standby":return[]}},Ee.prototype.getQuery=function(E){return E&&!this.queries.has(E)&&this.queries.set(E,new $e(this.cache)),this.queries.get(E)},Ee.prototype.prepareContext=function(E){void 0===E&&(E={});var G=this.localState.prepareContext(E);return(0,v.pi)((0,v.pi)({},G),{clientAwareness:this.clientAwareness})},Ee}();function st(Ee,E){return(0,u.oA)(Ee,E,E.variables&&{variables:(0,v.pi)((0,v.pi)({},Ee.variables),E.variables)})}var Xe=function(){function Ee(E){var G=this;this.defaultOptions={},this.resetStoreCallbacks=[],this.clearStoreCallbacks=[];var ie=E.uri,Ne=E.cache,_e=E.ssrMode,ot=void 0!==_e&&_e,vt=E.ssrForceFetchDelay,Qe=void 0===vt?0:vt,bt=E.connectToDevTools,je=void 0===bt?"object"==typeof window&&!window.__APOLLO_CLIENT__&&!1:bt,Q=E.queryDeduplication,de=void 0===Q||Q,re=E.defaultOptions,ae=E.assumeImmutableResults,qe=void 0!==ae&&ae,Ve=E.resolvers,ut=E.typeDefs,Tt=E.fragmentMatcher,pn=E.name,Te=E.version,lt=E.link;if(lt||(lt=ie?new g.uG({uri:ie,credentials:E.credentials,headers:E.headers}):d.ApolloLink.empty()),!Ne)throw new m.ej(9);this.link=lt,this.cache=Ne,this.disableNetworkFetches=ot||Qe>0,this.queryDeduplication=de,this.defaultOptions=re||{},this.typeDefs=ut,Qe&&setTimeout(function(){return G.disableNetworkFetches=!1},Qe),this.watchQuery=this.watchQuery.bind(this),this.query=this.query.bind(this),this.mutate=this.mutate.bind(this),this.resetStore=this.resetStore.bind(this),this.reFetchObservableQueries=this.reFetchObservableQueries.bind(this),je&&(window.__APOLLO_CLIENT__=this),this.version="local",this.localState=new B({cache:Ne,client:this,resolvers:Ve,fragmentMatcher:Tt}),this.queryManager=new Ot({cache:this.cache,link:this.link,queryDeduplication:de,ssrMode:ot,clientAwareness:{name:pn,version:Te},localState:this.localState,assumeImmutableResults:qe,onBroadcast:je?function(){G.devToolsHookCb&&G.devToolsHookCb({action:{},state:{queries:G.queryManager.getQueryStore(),mutations:G.queryManager.mutationStore||{}},dataWithOptimisticResults:G.cache.extract(!0)})}:void 0})}return Ee.prototype.stop=function(){this.queryManager.stop()},Ee.prototype.watchQuery=function(E){return this.defaultOptions.watchQuery&&(E=st(this.defaultOptions.watchQuery,E)),this.disableNetworkFetches&&("network-only"===E.fetchPolicy||"cache-and-network"===E.fetchPolicy)&&(E=(0,v.pi)((0,v.pi)({},E),{fetchPolicy:"cache-first"})),this.queryManager.watchQuery(E)},Ee.prototype.query=function(E){return this.defaultOptions.query&&(E=st(this.defaultOptions.query,E)),(0,m.kG)("cache-and-network"!==E.fetchPolicy,10),this.disableNetworkFetches&&"network-only"===E.fetchPolicy&&(E=(0,v.pi)((0,v.pi)({},E),{fetchPolicy:"cache-first"})),this.queryManager.query(E)},Ee.prototype.mutate=function(E){return this.defaultOptions.mutate&&(E=st(this.defaultOptions.mutate,E)),this.queryManager.mutate(E)},Ee.prototype.subscribe=function(E){return this.queryManager.startGraphQLSubscription(E)},Ee.prototype.readQuery=function(E,G){return void 0===G&&(G=!1),this.cache.readQuery(E,G)},Ee.prototype.readFragment=function(E,G){return void 0===G&&(G=!1),this.cache.readFragment(E,G)},Ee.prototype.writeQuery=function(E){this.cache.writeQuery(E),this.queryManager.broadcastQueries()},Ee.prototype.writeFragment=function(E){this.cache.writeFragment(E),this.queryManager.broadcastQueries()},Ee.prototype.__actionHookForDevTools=function(E){this.devToolsHookCb=E},Ee.prototype.__requestRaw=function(E){return(0,d.execute)(this.link,E)},Ee.prototype.resetStore=function(){var E=this;return Promise.resolve().then(function(){return E.queryManager.clearStore()}).then(function(){return Promise.all(E.resetStoreCallbacks.map(function(G){return G()}))}).then(function(){return E.reFetchObservableQueries()})},Ee.prototype.clearStore=function(){var E=this;return Promise.resolve().then(function(){return E.queryManager.clearStore()}).then(function(){return Promise.all(E.clearStoreCallbacks.map(function(G){return G()}))})},Ee.prototype.onResetStore=function(E){var G=this;return this.resetStoreCallbacks.push(E),function(){G.resetStoreCallbacks=G.resetStoreCallbacks.filter(function(ie){return ie!==E})}},Ee.prototype.onClearStore=function(E){var G=this;return this.clearStoreCallbacks.push(E),function(){G.clearStoreCallbacks=G.clearStoreCallbacks.filter(function(ie){return ie!==E})}},Ee.prototype.reFetchObservableQueries=function(E){return this.queryManager.reFetchObservableQueries(E)},Ee.prototype.extract=function(E){return this.cache.extract(E)},Ee.prototype.restore=function(E){return this.cache.restore(E)},Ee.prototype.addResolvers=function(E){this.localState.addResolvers(E)},Ee.prototype.setResolvers=function(E){this.localState.setResolvers(E)},Ee.prototype.getResolvers=function(){return this.localState.getResolvers()},Ee.prototype.setLocalStateFragmentMatcher=function(E){this.localState.setFragmentMatcher(E)},Ee.prototype.setLink=function(E){this.link=this.queryManager.link=E},Ee}()},8131:(se,q,w)=>{"use strict";w.d(q,{u:()=>b});var v=w(3564),m=w(1082),d=w(7883),u=w(7703),p=w(8108),g=function(){function P(N,R,B,F){this.observer=N,this.options=R,this.fetch=B,this.shouldFetch=F}return P.prototype.reobserve=function(N,R){N?this.updateOptions(N):this.updatePolling();var B=this.fetch(this.options,R);return this.concast&&this.concast.removeObserver(this.observer,!0),B.addObserver(this.observer),(this.concast=B).promise},P.prototype.updateOptions=function(N){return Object.assign(this.options,(0,p.oA)(N)),this.updatePolling(),this},P.prototype.stop=function(){this.concast&&(this.concast.removeObserver(this.observer),delete this.concast),this.pollingInfo&&(clearTimeout(this.pollingInfo.timeout),this.options.pollInterval=0,this.updatePolling())},P.prototype.updatePolling=function(){var N=this,B=this.pollingInfo,F=this.options.pollInterval;if(F){if((!B||B.interval!==F)&&((0,m.kG)(F,20),!1!==this.shouldFetch)){(B||(this.pollingInfo={})).interval=F;var te=function(){N.pollingInfo&&(N.shouldFetch&&N.shouldFetch()?N.reobserve({fetchPolicy:"network-only",nextFetchPolicy:N.options.fetchPolicy||"cache-first"},u.I.poll).then($e,$e):$e())},$e=function(){var ct=N.pollingInfo;ct&&(clearTimeout(ct.timeout),ct.timeout=setTimeout(te,ct.interval))};$e()}}else B&&(clearTimeout(B.timeout),delete this.pollingInfo)},P}(),b=function(P){function N(R){var B=R.queryManager,F=R.queryInfo,L=R.options,te=P.call(this,function(ct){return te.onSubscribe(ct)})||this;te.observers=new Set,te.subscriptions=new Set,te.observer={next:function(ct){(te.lastError||te.isDifferentFromLastResult(ct))&&(te.updateLastResult(ct),(0,p.pM)(te.observers,"next",ct))},error:function(ct){te.updateLastResult((0,v.pi)((0,v.pi)({},te.lastResult),{error:ct,errors:ct.graphQLErrors,networkStatus:u.I.error,loading:!1})),(0,p.pM)(te.observers,"error",te.lastError=ct)}},te.isTornDown=!1,te.options=L,te.queryId=B.generateQueryId();var $e=(0,p.$H)(L.query);return te.queryName=$e&&$e.name&&$e.name.value,te.queryManager=B,te.queryInfo=F,te}return(0,v.ZT)(N,P),Object.defineProperty(N.prototype,"variables",{get:function(){return this.options.variables},enumerable:!1,configurable:!0}),N.prototype.result=function(){var R=this;return new Promise(function(B,F){var L={next:function($e){B($e),R.observers.delete(L),R.observers.size||R.queryManager.removeQuery(R.queryId),setTimeout(function(){te.unsubscribe()},0)},error:F},te=R.subscribe(L)})},N.prototype.getCurrentResult=function(R){void 0===R&&(R=!0);var B=this.lastResult,F=this.queryInfo.networkStatus||B&&B.networkStatus||u.I.ready,L=(0,v.pi)((0,v.pi)({},B),{loading:(0,u.O)(F),networkStatus:F});if(this.isTornDown)return L;var te=this.options.fetchPolicy,$e=void 0===te?"cache-first":te;if("no-cache"===$e||"network-only"===$e)delete L.partial;else if(!L.data||!this.queryManager.transform(this.options.query).hasForcedResolvers){var ct=this.queryInfo.getDiff();L.data=ct.complete||this.options.returnPartialData?ct.result:void 0,ct.complete?(L.networkStatus===u.I.loading&&("cache-first"===$e||"cache-only"===$e)&&(L.networkStatus=u.I.ready,L.loading=!1),delete L.partial):L.partial=!0}return R&&this.updateLastResult(L),L},N.prototype.isDifferentFromLastResult=function(R){return!(0,d.D)(this.lastResultSnapshot,R)},N.prototype.getLastResult=function(){return this.lastResult},N.prototype.getLastError=function(){return this.lastError},N.prototype.resetLastResults=function(){delete this.lastResult,delete this.lastResultSnapshot,delete this.lastError,this.isTornDown=!1},N.prototype.resetQueryStoreErrors=function(){this.queryManager.resetErrors(this.queryId)},N.prototype.refetch=function(R){var B={pollInterval:0},F=this.options.fetchPolicy;return"no-cache"!==F&&"cache-and-network"!==F&&(B.fetchPolicy="network-only",B.nextFetchPolicy=F||"cache-first"),R&&!(0,d.D)(this.options.variables,R)&&(B.variables=this.options.variables=(0,v.pi)((0,v.pi)({},this.options.variables),R)),this.newReobserver(!1).reobserve(B,u.I.refetch)},N.prototype.fetchMore=function(R){var B=this,F=(0,v.pi)((0,v.pi)({},R.query?R:(0,v.pi)((0,v.pi)((0,v.pi)({},this.options),R),{variables:(0,v.pi)((0,v.pi)({},this.options.variables),R.variables)})),{fetchPolicy:"no-cache"}),L=this.queryManager.generateQueryId();return F.notifyOnNetworkStatusChange&&(this.queryInfo.networkStatus=u.I.fetchMore,this.observe()),this.queryManager.fetchQuery(L,F,u.I.fetchMore).then(function(te){var $e=te.data,ct=R.updateQuery;return ct?B.updateQuery(function(jt){return ct(jt,{fetchMoreResult:$e,variables:F.variables})}):B.queryManager.cache.writeQuery({query:F.query,variables:F.variables,data:$e}),te}).finally(function(){B.queryManager.stopQuery(L),B.reobserve()})},N.prototype.subscribeToMore=function(R){var B=this,F=this.queryManager.startGraphQLSubscription({query:R.document,variables:R.variables,context:R.context}).subscribe({next:function(L){var te=R.updateQuery;te&&B.updateQuery(function($e,ct){return te($e,{subscriptionData:L,variables:ct.variables})})},error:function(L){R.onError&&R.onError(L)}});return this.subscriptions.add(F),function(){B.subscriptions.delete(F)&&F.unsubscribe()}},N.prototype.setOptions=function(R){return this.reobserve(R)},N.prototype.setVariables=function(R){if((0,d.D)(this.variables,R))return this.observers.size?this.result():Promise.resolve();if(this.options.variables=R,!this.observers.size)return Promise.resolve();var B=this.options.fetchPolicy,F=void 0===B?"cache-first":B,L={fetchPolicy:F,variables:R};return"cache-first"!==F&&"no-cache"!==F&&"network-only"!==F&&(L.fetchPolicy="cache-and-network",L.nextFetchPolicy=F),this.reobserve(L,u.I.setVariables)},N.prototype.updateQuery=function(R){var B,F=this.queryManager,te=R(F.cache.diff({query:this.options.query,variables:this.variables,previousResult:null===(B=this.lastResult)||void 0===B?void 0:B.data,returnPartialData:!0,optimistic:!1}).result,{variables:this.variables});te&&(F.cache.writeQuery({query:this.options.query,data:te,variables:this.variables}),F.broadcastQueries())},N.prototype.startPolling=function(R){this.getReobserver().updateOptions({pollInterval:R})},N.prototype.stopPolling=function(){this.reobserver&&this.reobserver.updateOptions({pollInterval:0})},N.prototype.updateLastResult=function(R){var B=this.lastResult;return this.lastResult=R,this.lastResultSnapshot=this.queryManager.assumeImmutableResults?R:(0,p.Xh)(R),(0,p.Of)(R.errors)||delete this.lastError,B},N.prototype.onSubscribe=function(R){var B=this;if(R===this.observer)return function(){};try{var F=R._subscription._observer;F&&!F.error&&(F.error=C)}catch(te){}var L=!this.observers.size;return this.observers.add(R),this.lastError?R.error&&R.error(this.lastError):this.lastResult&&R.next&&R.next(this.lastResult),L&&this.reobserve().catch(function(te){}),function(){B.observers.delete(R)&&!B.observers.size&&B.tearDownQuery()}},N.prototype.getReobserver=function(){return this.reobserver||(this.reobserver=this.newReobserver(!0))},N.prototype.newReobserver=function(R){var B=this,L=this.queryManager,te=this.queryId;return L.setObservableQuery(this),new g(this.observer,R?this.options:(0,v.pi)({},this.options),function($e,ct){return L.setObservableQuery(B),L.fetchQueryObservable(te,$e,ct)},!L.ssrMode&&function(){return!(0,u.O)(B.queryInfo.networkStatus)})},N.prototype.reobserve=function(R,B){return this.isTornDown=!1,this.getReobserver().reobserve(R,B)},N.prototype.observe=function(){this.observer.next(this.getCurrentResult(!1))},N.prototype.hasObservers=function(){return this.observers.size>0},N.prototype.tearDownQuery=function(){this.isTornDown||(this.reobserver&&(this.reobserver.stop(),delete this.reobserver),delete this.options.context,this.subscriptions.forEach(function(R){return R.unsubscribe()}),this.subscriptions.clear(),this.queryManager.stopQuery(this.queryId),this.observers.clear(),this.isTornDown=!0)},N}(p.y$);function C(P){}},9675:(se,q,w)=>{"use strict";w.d(q,{ApolloClient:()=>v.f,ApolloLink:()=>P.ApolloLink,InMemoryCache:()=>y.InMemoryCache,NetworkStatus:()=>d.I,Observable:()=>B.y$});var v=w(2103),d=(w(8131),w(7703)),u=w(9802);w.o(u,"ApolloLink")&&w.d(q,{ApolloLink:function(){return u.ApolloLink}}),w(8020);var y=w(6381),b=w(3857);w.o(b,"ApolloLink")&&w.d(q,{ApolloLink:function(){return b.ApolloLink}});var P=w(5134),B=(w(9397),w(3523),w(8108)),F=w(1082);w(6511),(0,F.U6)("warn")},7703:(se,q,w)=>{"use strict";w.d(q,{I:()=>v,O:()=>m});var v=(()=>{return(d=v||(v={}))[d.loading=1]="loading",d[d.setVariables=2]="setVariables",d[d.fetchMore=3]="fetchMore",d[d.refetch=4]="refetch",d[d.poll=6]="poll",d[d.ready=7]="ready",d[d.error=8]="error",v;var d})();function m(d){return!!d&&d<7}},9802:()=>{},8020:(se,q,w)=>{"use strict";w.d(q,{M:()=>d,c:()=>p});var v=w(3564),m=w(8108);function d(g){return g.hasOwnProperty("graphQLErrors")}var p=function(g){function y(b){var C=b.graphQLErrors,P=b.networkError,N=b.errorMessage,R=b.extraInfo,B=g.call(this,N)||this;return B.graphQLErrors=C||[],B.networkError=P||null,B.message=N||function(g){var y="";return(0,m.Of)(g.graphQLErrors)&&g.graphQLErrors.forEach(function(b){y+=(b?b.message:"Error message not found.")+"\n"}),g.networkError&&(y+=g.networkError.message+"\n"),y=y.replace(/\n$/,"")}(B),B.extraInfo=R,B.__proto__=y.prototype,B}return(0,v.ZT)(y,g),y}(Error)},5134:(se,q,w)=>{"use strict";w.d(q,{ApolloLink:()=>C,execute:()=>F});var L,v=w(3564),m=w(1082),d=w(8108),u=w(3523);function p(L,te){return te?te(L):d.y$.of()}function g(L){return"function"==typeof L?new C(L):L}function y(L){return L.request.length<=1}L=Error,(0,v.ZT)(function te($e,ct){var jt=L.call(this,$e)||this;return jt.link=ct,jt},L);var C=function(){function L(te){te&&(this.request=te)}return L.empty=function(){return new L(function(){return d.y$.of()})},L.from=function(te){return 0===te.length?L.empty():te.map(g).reduce(function($e,ct){return $e.concat(ct)})},L.split=function(te,$e,ct){var jt=g($e),Ot=g(ct||new L(p));return y(jt)&&y(Ot)?new L(function(kt){return te(kt)?jt.request(kt)||d.y$.of():Ot.request(kt)||d.y$.of()}):new L(function(kt,st){return te(kt)?jt.request(kt,st)||d.y$.of():Ot.request(kt,st)||d.y$.of()})},L.execute=function(te,$e){return te.request((0,u.zi)($e.context,(0,u.DQ)((0,u.Ak)($e))))||d.y$.of()},L.concat=function(te,$e){var ct=g(te);if(y(ct))return ct;var jt=g($e);return y(jt)?new L(function(Ot){return ct.request(Ot,function(kt){return jt.request(kt)||d.y$.of()})||d.y$.of()}):new L(function(Ot,kt){return ct.request(Ot,function(st){return jt.request(st,kt)||d.y$.of()})||d.y$.of()})},L.prototype.split=function(te,$e,ct){return this.concat(L.split(te,$e,ct||new L(p)))},L.prototype.concat=function(te){return L.concat(this,te)},L.prototype.request=function(te,$e){throw new m.ej(21)},L.prototype.onError=function(te,$e){if($e&&$e.error)return $e.error(te),!1;throw te},L.prototype.setOnError=function(te){return this.onError=te,this},L}(),F=C.execute},9397:(se,q,w)=>{"use strict";w.d(q,{uG:()=>kt});var v=w(3523),m=Object.prototype.hasOwnProperty,u=w(1082),p=function(st,Xe){var Ee;try{Ee=JSON.stringify(st)}catch(G){var E=new u.ej(23);throw E.parseError=G,E}return Ee},g=w(3564),y=w(4989),N={http:{includeQuery:!0,includeExtensions:!1},headers:{accept:"*/*","content-type":"application/json"},options:{method:"POST"}},F=w(1335),L=w(5134),te=w(8108),kt=function(st){function Xe(Ee){void 0===Ee&&(Ee={});var E=st.call(this,function(st){void 0===st&&(st={});var Xe=st.uri,Ee=void 0===Xe?"/graphql":Xe,E=st.fetch,G=st.includeExtensions,ie=st.useGETForQueries,K=st.includeUnusedVariables,Pe=void 0!==K&&K,Ne=(0,g._T)(st,["uri","fetch","includeExtensions","useGETForQueries","includeUnusedVariables"]);(function(st){if(!st&&"undefined"==typeof fetch)throw new u.ej(22)})(E),E||(E=fetch);var _e={http:{includeExtensions:G},options:Ne.fetchOptions,credentials:Ne.credentials,headers:Ne.headers};return new L.ApolloLink(function(ot){var vt=function(st,Xe){return st.getContext().uri||("function"==typeof Xe?Xe(st):Xe||"/graphql")}(ot,Ee),Qe=ot.getContext(),bt={};if(Qe.clientAwareness){var je=Qe.clientAwareness,Q=je.name,de=je.version;Q&&(bt["apollographql-client-name"]=Q),de&&(bt["apollographql-client-version"]=de)}var pn,re=(0,g.pi)((0,g.pi)({},bt),Qe.headers),qe=function(st,Xe){for(var Ee=[],E=2;E=300&&(0,v.PW)(Xe,Ee,"Response not successful: Received status code "+Xe.status),!Array.isArray(Ee)&&!m.call(Ee,"data")&&!m.call(Ee,"errors")&&(0,v.PW)(Xe,Ee,"Server response was missing for query '"+(Array.isArray(st)?st.map(function(E){return E.operationName}):st.operationName)+"'."),Ee})}}(ot)).then(function(Vt){return Jt.next(Vt),Jt.complete(),Vt}).catch(function(Vt){"AbortError"!==Vt.name&&(Vt.result&&Vt.result.errors&&Vt.result.data&&Jt.next(Vt.result),Jt.error(Vt))}),function(){pn&&pn.abort()}})})}(Ee).request)||this;return E.options=Ee,E}return(0,g.ZT)(Xe,st),Xe}(L.ApolloLink)},3523:(se,q,w)=>{"use strict";w.d(q,{zi:()=>C,Qc:()=>m,PW:()=>g,DQ:()=>P,Ak:()=>y});var v=w(8108);function m(N){return new v.y$(function(R){R.error(N)})}var d=w(1082),g=function(N,R,B){var F=new Error(B);throw F.name="ServerError",F.response=N,F.statusCode=N.status,F.result=R,F};function y(N){for(var R=["query","operationName","variables","extensions","context"],B=0,F=Object.keys(N);B{"use strict";se=w.hmd(se),function v(p){var g,y=p.Symbol;if("function"==typeof y)if(y.observable)g=y.observable;else{g=y.for("https://github.com/benlesh/symbol-observable");try{y.observable=g}catch(b){}}else g="@@observable"}("undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof global?global:se)},8108:(se,q,w)=>{"use strict";w.d(q,{X_:()=>fe,w0:()=>_t,y$:()=>ge(),Gw:()=>ft,NC:()=>Ne,sz:()=>en,aL:()=>et,mr:()=>ye,Xh:()=>$,oA:()=>Oe,F:()=>N,O4:()=>Ve,kU:()=>de,hi:()=>R,Yk:()=>P,p$:()=>qe,$H:()=>je,rY:()=>Q,iW:()=>re,PT:()=>Pe,qw:()=>ot,d2:()=>ce,mj:()=>g,FS:()=>p,My:()=>vt,Ao:()=>Qe,Of:()=>W,hh:()=>te,pM:()=>Dt,kQ:()=>L,Jv:()=>yt,Ee:()=>xe,bw:()=>Ze,ob:()=>le,Fo:()=>St,u2:()=>_e,LZ:()=>d,vf:()=>ie});var v=w(1335),m=w(1082);function d(U,J){var ee=U.directives;return!ee||!ee.length||function b(U){var J=[];return U&&U.length&&U.forEach(function(ee){if(function y(U){var J=U.name.value;return"skip"===J||"include"===J}(ee)){var Re=ee.arguments;(0,m.kG)(Re&&1===Re.length,39);var nt=Re[0];(0,m.kG)(nt.name&&"if"===nt.name.value,40);var he=nt.value;(0,m.kG)(he&&("Variable"===he.kind||"BooleanValue"===he.kind),41),J.push({directive:ee,ifArgument:nt})}}),J}(ee).every(function(Re){var ze=Re.directive,nt=Re.ifArgument,he=!1;return"Variable"===nt.value.kind?(0,m.kG)(void 0!==(he=J&&J[nt.value.name.value]),38):he=nt.value.value,"skip"===ze.name.value?!he:he})}function p(U,J){return function u(U){var J=[];return(0,v.Vn)(U,{Directive:function(ee){J.push(ee.name.value)}}),J}(J).some(function(ee){return U.indexOf(ee)>-1})}function g(U){return U&&p(["client"],U)&&p(["export"],U)}var C=w(3564);function P(U,J){var ee=J,Re=[];return U.definitions.forEach(function(nt){if("OperationDefinition"===nt.kind)throw new m.ej(42);"FragmentDefinition"===nt.kind&&Re.push(nt)}),void 0===ee&&((0,m.kG)(1===Re.length,43),ee=Re[0].name.value),(0,C.pi)((0,C.pi)({},U),{definitions:(0,C.pr)([{kind:"OperationDefinition",operation:"query",selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:ee}}]}}],U.definitions)})}function N(U){void 0===U&&(U=[]);var J={};return U.forEach(function(ee){J[ee.name.value]=ee}),J}function R(U,J){switch(U.kind){case"InlineFragment":return U;case"FragmentSpread":var ee=J&&J[U.name.value];return(0,m.kG)(ee,44),ee;default:return null}}var B=w(8245),F=w.n(B);function L(U){return{__ref:String(U)}}function te(U){return Boolean(U&&"object"==typeof U&&"string"==typeof U.__ref)}function G(U,J,ee,Re){if(function jt(U){return"IntValue"===U.kind}(ee)||function Ot(U){return"FloatValue"===U.kind}(ee))U[J.value]=Number(ee.value);else if(function ct(U){return"BooleanValue"===U.kind}(ee)||function $e(U){return"StringValue"===U.kind}(ee))U[J.value]=ee.value;else if(function st(U){return"ObjectValue"===U.kind}(ee)){var ze={};ee.fields.map(function(he){return G(ze,he.name,he.value,Re)}),U[J.value]=ze}else if(function kt(U){return"Variable"===U.kind}(ee))U[J.value]=(Re||{})[ee.name.value];else if(function Xe(U){return"ListValue"===U.kind}(ee))U[J.value]=ee.values.map(function(he){var ke={};return G(ke,J,he,Re),ke[J.value]});else if(function Ee(U){return"EnumValue"===U.kind}(ee))U[J.value]=ee.value;else{if(!function E(U){return"NullValue"===U.kind}(ee))throw new m.ej(53);U[J.value]=null}}function ie(U,J){var ee=null;U.directives&&(ee={},U.directives.forEach(function(ze){ee[ze.name.value]={},ze.arguments&&ze.arguments.forEach(function(nt){return G(ee[ze.name.value],nt.name,nt.value,J)})}));var Re=null;return U.arguments&&U.arguments.length&&(Re={},U.arguments.forEach(function(ze){return G(Re,ze.name,ze.value,J)})),Pe(U.name.value,Re,ee)}var K=["connection","include","skip","client","rest","export"];function Pe(U,J,ee){if(J&&ee&&ee.connection&&ee.connection.key){if(ee.connection.filter&&ee.connection.filter.length>0){var Re=ee.connection.filter?ee.connection.filter:[];Re.sort();var ze={};return Re.forEach(function(ke){ze[ke]=J[ke]}),ee.connection.key+"("+JSON.stringify(ze)+")"}return ee.connection.key}var nt=U;if(J){var he=F()(J);nt+="("+he+")"}return ee&&Object.keys(ee).forEach(function(ke){-1===K.indexOf(ke)&&(ee[ke]&&Object.keys(ee[ke]).length?nt+="@"+ke+"("+JSON.stringify(ee[ke])+")":nt+="@"+ke)}),nt}function Ne(U,J){if(U.arguments&&U.arguments.length){var ee={};return U.arguments.forEach(function(Re){return G(ee,Re.name,Re.value,J)}),ee}return null}function _e(U){return U.alias?U.alias.value:U.name.value}function ot(U,J,ee){if("string"==typeof U.__typename)return U.__typename;for(var Re=0,ze=J.selections;Re1)for(var Re=new _t,ze=1;ze0}function ce(U){return U.errors&&U.errors.length>0||!1}"function"==typeof Symbol&&Symbol.species&&Object.defineProperty(fe,Symbol.species,{value:ge()});var ye="function"==typeof WeakMap&&!("object"==typeof navigator&&"ReactNative"===navigator.product);function Oe(){for(var U=[],J=0;J{"use strict";function v(n){return"function"==typeof n}let m=!1;const d={Promise:void 0,set useDeprecatedSynchronousErrorHandling(n){if(n){const t=new Error;console.warn("DEPRECATED! RxJS was set to use deprecated synchronous error handling behavior by code at: \n"+t.stack)}else m&&console.log("RxJS: Back to a better error behavior. Thank you. <3");m=n},get useDeprecatedSynchronousErrorHandling(){return m}};function u(n){setTimeout(()=>{throw n},0)}const p={closed:!0,next(n){},error(n){if(d.useDeprecatedSynchronousErrorHandling)throw n;u(n)},complete(){}},g=Array.isArray||(n=>n&&"number"==typeof n.length);function y(n){return null!==n&&"object"==typeof n}const C=(()=>{function n(t){return Error.call(this),this.message=t?`${t.length} errors occurred during unsubscription:\n${t.map((e,i)=>`${i+1}) ${e.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=t,this}return n.prototype=Object.create(Error.prototype),n})();class P{constructor(t){this.closed=!1,this._parentOrParents=null,this._subscriptions=null,t&&(this._ctorUnsubscribe=!0,this._unsubscribe=t)}unsubscribe(){let t;if(this.closed)return;let{_parentOrParents:e,_ctorUnsubscribe:i,_unsubscribe:r,_subscriptions:s}=this;if(this.closed=!0,this._parentOrParents=null,this._subscriptions=null,e instanceof P)e.remove(this);else if(null!==e)for(let o=0;ot.concat(e instanceof C?e.errors:e),[])}P.EMPTY=((n=new P).closed=!0,n);const R="function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random();class F extends P{constructor(t,e,i){switch(super(),this.syncErrorValue=null,this.syncErrorThrown=!1,this.syncErrorThrowable=!1,this.isStopped=!1,arguments.length){case 0:this.destination=p;break;case 1:if(!t){this.destination=p;break}if("object"==typeof t){t instanceof F?(this.syncErrorThrowable=t.syncErrorThrowable,this.destination=t,t.add(this)):(this.syncErrorThrowable=!0,this.destination=new L(this,t));break}default:this.syncErrorThrowable=!0,this.destination=new L(this,t,e,i)}}[R](){return this}static create(t,e,i){const r=new F(t,e,i);return r.syncErrorThrowable=!1,r}next(t){this.isStopped||this._next(t)}error(t){this.isStopped||(this.isStopped=!0,this._error(t))}complete(){this.isStopped||(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe())}_next(t){this.destination.next(t)}_error(t){this.destination.error(t),this.unsubscribe()}_complete(){this.destination.complete(),this.unsubscribe()}_unsubscribeAndRecycle(){const{_parentOrParents:t}=this;return this._parentOrParents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parentOrParents=t,this}}class L extends F{constructor(t,e,i,r){super(),this._parentSubscriber=t;let s,o=this;v(e)?s=e:e&&(s=e.next,i=e.error,r=e.complete,e!==p&&(o=Object.create(e),v(o.unsubscribe)&&this.add(o.unsubscribe.bind(o)),o.unsubscribe=this.unsubscribe.bind(this))),this._context=o,this._next=s,this._error=i,this._complete=r}next(t){if(!this.isStopped&&this._next){const{_parentSubscriber:e}=this;d.useDeprecatedSynchronousErrorHandling&&e.syncErrorThrowable?this.__tryOrSetError(e,this._next,t)&&this.unsubscribe():this.__tryOrUnsub(this._next,t)}}error(t){if(!this.isStopped){const{_parentSubscriber:e}=this,{useDeprecatedSynchronousErrorHandling:i}=d;if(this._error)i&&e.syncErrorThrowable?(this.__tryOrSetError(e,this._error,t),this.unsubscribe()):(this.__tryOrUnsub(this._error,t),this.unsubscribe());else if(e.syncErrorThrowable)i?(e.syncErrorValue=t,e.syncErrorThrown=!0):u(t),this.unsubscribe();else{if(this.unsubscribe(),i)throw t;u(t)}}}complete(){if(!this.isStopped){const{_parentSubscriber:t}=this;if(this._complete){const e=()=>this._complete.call(this._context);d.useDeprecatedSynchronousErrorHandling&&t.syncErrorThrowable?(this.__tryOrSetError(t,e),this.unsubscribe()):(this.__tryOrUnsub(e),this.unsubscribe())}else this.unsubscribe()}}__tryOrUnsub(t,e){try{t.call(this._context,e)}catch(i){if(this.unsubscribe(),d.useDeprecatedSynchronousErrorHandling)throw i;u(i)}}__tryOrSetError(t,e,i){if(!d.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{e.call(this._context,i)}catch(r){return d.useDeprecatedSynchronousErrorHandling?(t.syncErrorValue=r,t.syncErrorThrown=!0,!0):(u(r),!0)}return!1}_unsubscribe(){const{_parentSubscriber:t}=this;this._context=null,this._parentSubscriber=null,t.unsubscribe()}}const ct="function"==typeof Symbol&&Symbol.observable||"@@observable";function jt(n){return n}function Ot(...n){return kt(n)}function kt(n){return 0===n.length?jt:1===n.length?n[0]:function(e){return n.reduce((i,r)=>r(i),e)}}let st=(()=>{class n{constructor(e){this._isScalar=!1,e&&(this._subscribe=e)}lift(e){const i=new n;return i.source=this,i.operator=e,i}subscribe(e,i,r){const{operator:s}=this,o=function $e(n,t,e){if(n){if(n instanceof F)return n;if(n[R])return n[R]()}return n||t||e?new F(n,t,e):new F(p)}(e,i,r);if(o.add(s?s.call(o,this.source):this.source||d.useDeprecatedSynchronousErrorHandling&&!o.syncErrorThrowable?this._subscribe(o):this._trySubscribe(o)),d.useDeprecatedSynchronousErrorHandling&&o.syncErrorThrowable&&(o.syncErrorThrowable=!1,o.syncErrorThrown))throw o.syncErrorValue;return o}_trySubscribe(e){try{return this._subscribe(e)}catch(i){d.useDeprecatedSynchronousErrorHandling&&(e.syncErrorThrown=!0,e.syncErrorValue=i),function te(n){for(;n;){const{closed:t,destination:e,isStopped:i}=n;if(t||i)return!1;n=e&&e instanceof F?e:null}return!0}(e)?e.error(i):console.warn(i)}}forEach(e,i){return new(i=Xe(i))((r,s)=>{let o;o=this.subscribe(a=>{try{e(a)}catch(l){s(l),o&&o.unsubscribe()}},s,r)})}_subscribe(e){const{source:i}=this;return i&&i.subscribe(e)}[ct](){return this}pipe(...e){return 0===e.length?this:kt(e)(this)}toPromise(e){return new(e=Xe(e))((i,r)=>{let s;this.subscribe(o=>s=o,o=>r(o),()=>i(s))})}}return n.create=t=>new n(t),n})();function Xe(n){if(n||(n=d.Promise||Promise),!n)throw new Error("no Promise impl found");return n}const E=(()=>{function n(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}return n.prototype=Object.create(Error.prototype),n})();class G extends P{constructor(t,e){super(),this.subject=t,this.subscriber=e,this.closed=!1}unsubscribe(){if(this.closed)return;this.closed=!0;const t=this.subject,e=t.observers;if(this.subject=null,!e||0===e.length||t.isStopped||t.closed)return;const i=e.indexOf(this.subscriber);-1!==i&&e.splice(i,1)}}class ie extends F{constructor(t){super(t),this.destination=t}}let K=(()=>{class n extends st{constructor(){super(),this.observers=[],this.closed=!1,this.isStopped=!1,this.hasError=!1,this.thrownError=null}[R](){return new ie(this)}lift(e){const i=new Pe(this,this);return i.operator=e,i}next(e){if(this.closed)throw new E;if(!this.isStopped){const{observers:i}=this,r=i.length,s=i.slice();for(let o=0;onew Pe(t,e),n})();class Pe extends K{constructor(t,e){super(),this.destination=t,this.source=e}next(t){const{destination:e}=this;e&&e.next&&e.next(t)}error(t){const{destination:e}=this;e&&e.error&&this.destination.error(t)}complete(){const{destination:t}=this;t&&t.complete&&this.destination.complete()}_subscribe(t){const{source:e}=this;return e?this.source.subscribe(t):P.EMPTY}}function Ne(n){return n&&"function"==typeof n.schedule}function _e(n,t){return function(i){if("function"!=typeof n)throw new TypeError("argument is not a function. Are you looking for `mapTo()`?");return i.lift(new ot(n,t))}}class ot{constructor(t,e){this.project=t,this.thisArg=e}call(t,e){return e.subscribe(new vt(t,this.project,this.thisArg))}}class vt extends F{constructor(t,e,i){super(t),this.project=e,this.count=0,this.thisArg=i||this}_next(t){let e;try{e=this.project.call(this.thisArg,t,this.count++)}catch(i){return void this.destination.error(i)}this.destination.next(e)}}const Qe=n=>t=>{for(let e=0,i=n.length;en&&"number"==typeof n.length&&"function"!=typeof n;function Ve(n){return!!n&&"function"!=typeof n.subscribe&&"function"==typeof n.then}const ut=n=>{if(n&&"function"==typeof n[ct])return(n=>t=>{const e=n[ct]();if("function"!=typeof e.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return e.subscribe(t)})(n);if(qe(n))return Qe(n);if(Ve(n))return(n=>t=>(n.then(e=>{t.closed||(t.next(e),t.complete())},e=>t.error(e)).then(null,u),t))(n);if(n&&"function"==typeof n[Q])return(n=>t=>{const e=n[Q]();for(;;){let i;try{i=e.next()}catch(r){return t.error(r),t}if(i.done){t.complete();break}if(t.next(i.value),t.closed)break}return"function"==typeof e.return&&t.add(()=>{e.return&&e.return()}),t})(n);{const e=`You provided ${y(n)?"an invalid object":`'${n}'`} where a stream was expected. You can provide an Observable, Promise, Array, or Iterable.`;throw new TypeError(e)}};function Te(n,t){return new st(e=>{const i=new P;let r=0;return i.add(t.schedule(function(){r!==n.length?(e.next(n[r++]),e.closed||i.add(this.schedule())):e.complete()})),i})}function St(n,t){return t?function Je(n,t){if(null!=n){if(function dt(n){return n&&"function"==typeof n[ct]}(n))return function Tt(n,t){return new st(e=>{const i=new P;return i.add(t.schedule(()=>{const r=n[ct]();i.add(r.subscribe({next(s){i.add(t.schedule(()=>e.next(s)))},error(s){i.add(t.schedule(()=>e.error(s)))},complete(){i.add(t.schedule(()=>e.complete()))}}))})),i})}(n,t);if(Ve(n))return function pn(n,t){return new st(e=>{const i=new P;return i.add(t.schedule(()=>n.then(r=>{i.add(t.schedule(()=>{e.next(r),i.add(t.schedule(()=>e.complete()))}))},r=>{i.add(t.schedule(()=>e.error(r)))}))),i})}(n,t);if(qe(n))return Te(n,t);if(function ft(n){return n&&"function"==typeof n[Q]}(n)||"string"==typeof n)return function lt(n,t){if(!n)throw new Error("Iterable cannot be null");return new st(e=>{const i=new P;let r;return i.add(()=>{r&&"function"==typeof r.return&&r.return()}),i.add(t.schedule(()=>{r=n[Q](),i.add(t.schedule(function(){if(e.closed)return;let s,o;try{const a=r.next();s=a.value,o=a.done}catch(a){return void e.error(a)}o?e.complete():(e.next(s),this.schedule())}))})),i})}(n,t)}throw new TypeError((null!==n&&typeof n||n)+" is not observable")}(n,t):n instanceof st?n:new st(ut(n))}class Qt extends F{constructor(t){super(),this.parent=t}_next(t){this.parent.notifyNext(t)}_error(t){this.parent.notifyError(t),this.unsubscribe()}_complete(){this.parent.notifyComplete(),this.unsubscribe()}}class Vt extends F{notifyNext(t){this.destination.next(t)}notifyError(t){this.destination.error(t)}notifyComplete(){this.destination.complete()}}function xn(n,t){if(t.closed)return;if(n instanceof st)return n.subscribe(t);let e;try{e=ut(n)(t)}catch(i){t.error(i)}return e}function ue(n,t,e=Number.POSITIVE_INFINITY){return"function"==typeof t?i=>i.pipe(ue((r,s)=>St(n(r,s)).pipe(_e((o,a)=>t(r,o,s,a))),e)):("number"==typeof t&&(e=t),i=>i.lift(new et(n,e)))}class et{constructor(t,e=Number.POSITIVE_INFINITY){this.project=t,this.concurrent=e}call(t,e){return e.subscribe(new le(t,this.project,this.concurrent))}}class le extends Vt{constructor(t,e,i=Number.POSITIVE_INFINITY){super(t),this.project=e,this.concurrent=i,this.hasCompleted=!1,this.buffer=[],this.active=0,this.index=0}_next(t){this.active0?this._next(t.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()}}function xe(n=Number.POSITIVE_INFINITY){return ue(jt,n)}function Ze(n,t){return t?Te(n,t):new st(Qe(n))}function at(...n){let t=Number.POSITIVE_INFINITY,e=null,i=n[n.length-1];return Ne(i)?(e=n.pop(),n.length>1&&"number"==typeof n[n.length-1]&&(t=n.pop())):"number"==typeof i&&(t=n.pop()),null===e&&1===n.length&&n[0]instanceof st?n[0]:xe(t)(Ze(n,e))}function Pt(){return function(t){return t.lift(new _t(t))}}class _t{constructor(t){this.connectable=t}call(t,e){const{connectable:i}=this;i._refCount++;const r=new Le(t,i),s=e.subscribe(r);return r.closed||(r.connection=i.connect()),s}}class Le extends F{constructor(t,e){super(t),this.connectable=e}_unsubscribe(){const{connectable:t}=this;if(!t)return void(this.connection=null);this.connectable=null;const e=t._refCount;if(e<=0)return void(this.connection=null);if(t._refCount=e-1,e>1)return void(this.connection=null);const{connection:i}=this,r=t._connection;this.connection=null,r&&(!i||r===i)&&r.unsubscribe()}}class Ye extends st{constructor(t,e){super(),this.source=t,this.subjectFactory=e,this._refCount=0,this._isComplete=!1}_subscribe(t){return this.getSubject().subscribe(t)}getSubject(){const t=this._subject;return(!t||t.isStopped)&&(this._subject=this.subjectFactory()),this._subject}connect(){let t=this._connection;return t||(this._isComplete=!1,t=this._connection=new P,t.add(this.source.subscribe(new Mt(this.getSubject(),this))),t.closed&&(this._connection=null,t=P.EMPTY)),t}refCount(){return Pt()(this)}}const gt=(()=>{const n=Ye.prototype;return{operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:n._subscribe},_isComplete:{value:n._isComplete,writable:!0},getSubject:{value:n.getSubject},connect:{value:n.connect},refCount:{value:n.refCount}}})();class Mt extends ie{constructor(t,e){super(t),this.connectable=e}_error(t){this._unsubscribe(),super._error(t)}_complete(){this.connectable._isComplete=!0,this._unsubscribe(),super._complete()}_unsubscribe(){const t=this.connectable;if(t){this.connectable=null;const e=t._connection;t._refCount=0,t._subject=null,t._connection=null,e&&e.unsubscribe()}}}class ge{constructor(t,e){this.subjectFactory=t,this.selector=e}call(t,e){const{selector:i}=this,r=this.subjectFactory(),s=i(r).subscribe(t);return s.add(e.subscribe(r)),s}}function be(){return new K}function Ie(){return n=>Pt()(function X(n,t){return function(i){let r;if(r="function"==typeof n?n:function(){return n},"function"==typeof t)return i.lift(new ge(r,t));const s=Object.create(i,gt);return s.source=i,s.subjectFactory=r,s}}(be)(n))}function $(n){for(let t in n)if(n[t]===$)return t;throw Error("Could not find renamed property on target object.")}function pe(n,t){for(const e in t)t.hasOwnProperty(e)&&!n.hasOwnProperty(e)&&(n[e]=t[e])}function Ke(n){if("string"==typeof n)return n;if(Array.isArray(n))return"["+n.map(Ke).join(", ")+"]";if(null==n)return""+n;if(n.overriddenName)return`${n.overriddenName}`;if(n.name)return`${n.name}`;const t=n.toString();if(null==t)return""+t;const e=t.indexOf("\n");return-1===e?t:t.substring(0,e)}function Bt(n,t){return null==n||""===n?null===t?"":t:null==t||""===t?n:n+" "+t}const yt=$({__forward_ref__:$});function Dt(n){return n.__forward_ref__=Dt,n.toString=function(){return Ke(this())},n}function en(n){return ne(n)?n():n}function ne(n){return"function"==typeof n&&n.hasOwnProperty(yt)&&n.__forward_ref__===Dt}class W extends Error{constructor(t,e){super(function ce(n,t){return`NG0${Math.abs(n)}${t?": "+t:""}`}(t,e)),this.code=t}}function ye(n){return"string"==typeof n?n:null==n?"":String(n)}function Oe(n){return"function"==typeof n?n.name||n.toString():"object"==typeof n&&null!=n&&"function"==typeof n.type?n.type.name||n.type.toString():ye(n)}function Re(n,t){const e=t?` in ${t}`:"";throw new W(-201,`No provider for ${Oe(n)} found${e}`)}function A(n,t){null==n&&function V(n,t,e,i){throw new Error(`ASSERTION ERROR: ${n}`+(null==i?"":` [Expected=> ${e} ${i} ${t} <=Actual]`))}(t,n,null,"!=")}function De(n){return{token:n.token,providedIn:n.providedIn||null,factory:n.factory,value:void 0}}function He(n){return{providers:n.providers||[],imports:n.imports||[]}}function fn(n){return Tn(n,jn)||Tn(n,nr)}function Tn(n,t){return n.hasOwnProperty(t)?n[t]:null}function pi(n){return n&&(n.hasOwnProperty(Yi)||n.hasOwnProperty(Ao))?n[Yi]:null}const jn=$({\u0275prov:$}),Yi=$({\u0275inj:$}),nr=$({ngInjectableDef:$}),Ao=$({ngInjectorDef:$});var En=(()=>((En=En||{})[En.Default=0]="Default",En[En.Host=1]="Host",En[En.Self=2]="Self",En[En.SkipSelf=4]="SkipSelf",En[En.Optional=8]="Optional",En))();let ns;function lr(n){const t=ns;return ns=n,t}function la(n,t,e){const i=fn(n);return i&&"root"==i.providedIn?void 0===i.value?i.value=i.factory():i.value:e&En.Optional?null:void 0!==t?t:void Re(Ke(n),"Injector")}function fs(n){return{toString:n}.toString()}var Tr=(()=>((Tr=Tr||{})[Tr.OnPush=0]="OnPush",Tr[Tr.Default=1]="Default",Tr))(),is=(()=>(function(n){n[n.Emulated=0]="Emulated",n[n.None=2]="None",n[n.ShadowDom=3]="ShadowDom"}(is||(is={})),is))();const fc="undefined"!=typeof globalThis&&globalThis,Ry="undefined"!=typeof window&&window,Ly="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,Ei=fc||"undefined"!=typeof global&&global||Ry||Ly,El={},Ci=[],gu=$({\u0275cmp:$}),eh=$({\u0275dir:$}),th=$({\u0275pipe:$}),vm=$({\u0275mod:$}),Ro=$({\u0275fac:$}),gc=$({__NG_ELEMENT_ID__:$});let Oy=0;function At(n){return fs(()=>{const e={},i={type:n.type,providersResolver:null,decls:n.decls,vars:n.vars,factory:null,template:n.template||null,consts:n.consts||null,ngContentSelectors:n.ngContentSelectors,hostBindings:n.hostBindings||null,hostVars:n.hostVars||0,hostAttrs:n.hostAttrs||null,contentQueries:n.contentQueries||null,declaredInputs:e,inputs:null,outputs:null,exportAs:n.exportAs||null,onPush:n.changeDetection===Tr.OnPush,directiveDefs:null,pipeDefs:null,selectors:n.selectors||Ci,viewQuery:n.viewQuery||null,features:n.features||null,data:n.data||{},encapsulation:n.encapsulation||is.Emulated,id:"c",styles:n.styles||Ci,_:null,setInput:null,schemas:n.schemas||null,tView:null},r=n.directives,s=n.features,o=n.pipes;return i.id+=Oy++,i.inputs=Em(n.inputs,e),i.outputs=Em(n.outputs),s&&s.forEach(a=>a(i)),i.directiveDefs=r?()=>("function"==typeof r?r():r).map(wm):null,i.pipeDefs=o?()=>("function"==typeof o?o():o).map(Mm):null,i})}function wm(n){return Lr(n)||function Lo(n){return n[eh]||null}(n)}function Mm(n){return function ca(n){return n[th]||null}(n)}const Dm={};function Ht(n){return fs(()=>{const t={type:n.type,bootstrap:n.bootstrap||Ci,declarations:n.declarations||Ci,imports:n.imports||Ci,exports:n.exports||Ci,transitiveCompileScopes:null,schemas:n.schemas||null,id:n.id||null};return null!=n.id&&(Dm[n.id]=n.type),t})}function Em(n,t){if(null==n)return El;const e={};for(const i in n)if(n.hasOwnProperty(i)){let r=n[i],s=r;Array.isArray(r)&&(s=r[1],r=r[0]),e[r]=i,t&&(t[r]=s)}return e}const rt=At;function Sr(n){return{type:n.type,name:n.name,factory:null,pure:!1!==n.pure,onDestroy:n.type.prototype.ngOnDestroy||null}}function Lr(n){return n[gu]||null}function xs(n,t){const e=n[vm]||null;if(!e&&!0===t)throw new Error(`Type ${Ke(n)} does not have '\u0275mod' property.`);return e}function co(n){return Array.isArray(n)&&"object"==typeof n[1]}function qs(n){return Array.isArray(n)&&!0===n[1]}function vu(n){return 0!=(8&n.flags)}function bu(n){return 2==(2&n.flags)}function Oo(n){return 1==(1&n.flags)}function Us(n){return null!==n.template}function ih(n){return 0!=(512&n[2])}function Po(n,t){return n.hasOwnProperty(Ro)?n[Ro]:null}class Vy{constructor(t,e,i){this.previousValue=t,this.currentValue=e,this.firstChange=i}isFirstChange(){return this.firstChange}}function Jn(){return Tm}function Tm(n){return n.type.prototype.ngOnChanges&&(n.setInput=ch),lh}function lh(){const n=Sm(this),t=null==n?void 0:n.current;if(t){const e=n.previous;if(e===El)n.previous=t;else for(let i in t)e[i]=t[i];n.current=null,this.ngOnChanges(t)}}function ch(n,t,e,i){const r=Sm(n)||function qy(n,t){return n[Mu]=t}(n,{previous:El,current:null}),s=r.current||(r.current={}),o=r.previous,a=this.declaredInputs[e],l=o[a];s[a]=new Vy(l&&l.currentValue,t,o===El),n[i]=t}Jn.ngInherit=!0;const Mu="__ngSimpleChanges__";function Sm(n){return n[Mu]||null}let Du;function ph(){return void 0!==Du?Du:"undefined"!=typeof document?document:void 0}function Ti(n){return!!n.listen}const mh={createRenderer:(n,t)=>ph()};function ir(n){for(;Array.isArray(n);)n=n[0];return n}function Eu(n,t){return ir(t[n])}function ss(n,t){return ir(t[n.index])}function fh(n,t){return n.data[t]}function kl(n,t){return n[t]}function gs(n,t){const e=t[n];return co(e)?e:e[0]}function xm(n){return 4==(4&n[2])}function gh(n){return 128==(128&n[2])}function ha(n,t){return null==t?null:n[t]}function Im(n){n[18]=0}function _h(n,t){n[5]+=t;let e=n,i=n[3];for(;null!==i&&(1===t&&1===e[5]||-1===t&&0===e[5]);)i[5]+=t,e=i,i=i[3]}const Yn={lFrame:Bm(null),bindingsEnabled:!0};function Rm(){return Yn.bindingsEnabled}function Rt(){return Yn.lFrame.lView}function oi(){return Yn.lFrame.tView}function zt(n){return Yn.lFrame.contextLView=n,n[8]}function gr(){let n=yh();for(;null!==n&&64===n.type;)n=n.parent;return n}function yh(){return Yn.lFrame.currentTNode}function zs(n,t){const e=Yn.lFrame;e.currentTNode=n,e.isParent=t}function Il(){return Yn.lFrame.isParent}function pa(){Yn.lFrame.isParent=!1}function Ur(){const n=Yn.lFrame;let t=n.bindingRootIndex;return-1===t&&(t=n.bindingRootIndex=n.tView.bindingStartIndex),t}function Al(){return Yn.lFrame.bindingIndex++}function No(n){const t=Yn.lFrame,e=t.bindingIndex;return t.bindingIndex=t.bindingIndex+n,e}function iv(n,t){const e=Yn.lFrame;e.bindingIndex=e.bindingRootIndex=n,bh(t)}function bh(n){Yn.lFrame.currentDirectiveIndex=n}function wh(n){const t=Yn.lFrame.currentDirectiveIndex;return-1===t?null:n[t]}function Fm(){return Yn.lFrame.currentQueryIndex}function Mh(n){Yn.lFrame.currentQueryIndex=n}function sv(n){const t=n[1];return 2===t.type?t.declTNode:1===t.type?n[6]:null}function Nm(n,t,e){if(e&En.SkipSelf){let r=t,s=n;for(;!(r=r.parent,null!==r||e&En.Host||(r=sv(s),null===r||(s=s[15],10&r.type))););if(null===r)return!1;t=r,n=s}const i=Yn.lFrame=jm();return i.currentTNode=t,i.lView=n,!0}function Tu(n){const t=jm(),e=n[1];Yn.lFrame=t,t.currentTNode=e.firstChild,t.lView=n,t.tView=e,t.contextLView=n,t.bindingIndex=e.bindingStartIndex,t.inI18n=!1}function jm(){const n=Yn.lFrame,t=null===n?null:n.child;return null===t?Bm(n):t}function Bm(n){const t={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:n,child:null,inI18n:!1};return null!==n&&(n.child=t),t}function Ym(){const n=Yn.lFrame;return Yn.lFrame=n.parent,n.currentTNode=null,n.lView=null,n}const Hm=Ym;function Su(){const n=Ym();n.isParent=!0,n.tView=null,n.selectedIndex=-1,n.contextLView=null,n.elementDepthCount=0,n.currentDirectiveIndex=-1,n.currentNamespace=null,n.bindingRootIndex=-1,n.bindingIndex=-1,n.currentQueryIndex=0}function Or(){return Yn.lFrame.selectedIndex}function ma(n){Yn.lFrame.selectedIndex=n}function $i(){const n=Yn.lFrame;return fh(n.tView,n.selectedIndex)}function Gs(){Yn.lFrame.currentNamespace="svg"}function Wa(){!function lv(){Yn.lFrame.currentNamespace=null}()}function ku(n,t){for(let e=t.directiveStart,i=t.directiveEnd;e=i)break}else t[l]<0&&(n[18]+=65536),(a>11>16&&(3&n[2])===t){n[2]+=2048;try{s.call(a)}finally{}}}else try{s.call(a)}finally{}}class Ec{constructor(t,e,i){this.factory=t,this.resolving=!1,this.canSeeViewProviders=e,this.injectImpl=i}}function Lu(n,t,e){const i=Ti(n);let r=0;for(;rt){o=s-1;break}}}for(;s>16}(n),i=t;for(;e>0;)i=i[15],e--;return i}let Ch=!0;function Pu(n){const t=Ch;return Ch=n,t}let zm=0;function Tc(n,t){const e=Th(n,t);if(-1!==e)return e;const i=t[1];i.firstCreatePass&&(n.injectorIndex=t.length,Fu(i.data,n),Fu(t,null),Fu(i.blueprint,null));const r=Sc(n,t),s=n.injectorIndex;if(Eh(r)){const o=fa(r),a=Rl(r,t),l=a[1].data;for(let h=0;h<8;h++)t[s+h]=a[o+h]|l[o+h]}return t[s+8]=r,s}function Fu(n,t){n.push(0,0,0,0,0,0,0,0,t)}function Th(n,t){return-1===n.injectorIndex||n.parent&&n.parent.injectorIndex===n.injectorIndex||null===t[n.injectorIndex+8]?-1:n.injectorIndex}function Sc(n,t){if(n.parent&&-1!==n.parent.injectorIndex)return n.parent.injectorIndex;let e=0,i=null,r=t;for(;null!==r;){const s=r[1],o=s.type;if(i=2===o?s.declTNode:1===o?r[6]:null,null===i)return-1;if(e++,r=r[15],-1!==i.injectorIndex)return i.injectorIndex|e<<16}return-1}function Ll(n,t,e){!function _v(n,t,e){let i;"string"==typeof e?i=e.charCodeAt(0)||0:e.hasOwnProperty(gc)&&(i=e[gc]),null==i&&(i=e[gc]=zm++);const r=255&i;t.data[n+(r>>5)]|=1<=0?255&t:vv:t}(e);if("function"==typeof s){if(!Nm(t,n,i))return i&En.Host?po(r,e,i):Sh(t,e,i,r);try{const o=s(i);if(null!=o||i&En.Optional)return o;Re(e)}finally{Hm()}}else if("number"==typeof s){let o=null,a=Th(n,t),l=-1,h=i&En.Host?t[16][6]:null;for((-1===a||i&En.SkipSelf)&&(l=-1===a?Sc(n,t):t[a+8],-1!==l&&Qm(i,!1)?(o=t[1],a=fa(l),t=Rl(l,t)):a=-1);-1!==a;){const f=t[1];if(Wm(s,a,f.data)){const D=bv(a,t,e,o,i,h);if(D!==$m)return D}l=t[a+8],-1!==l&&Qm(i,t[1].data[a+8]===h)&&Wm(s,a,t)?(o=f,a=fa(l),t=Rl(l,t)):a=-1}}}return Sh(t,e,i,r)}const $m={};function vv(){return new Ol(gr(),Rt())}function bv(n,t,e,i,r,s){const o=t[1],a=o.data[n+8],f=Nu(a,o,e,null==i?bu(a)&&Ch:i!=o&&0!=(3&a.type),r&En.Host&&s===a);return null!==f?kc(t,o,f,a):$m}function Nu(n,t,e,i,r){const s=n.providerIndexes,o=t.data,a=1048575&s,l=n.directiveStart,f=s>>20,k=r?a+f:n.directiveEnd;for(let Y=i?a:a+f;Y=l&&oe.type===e)return Y}if(r){const Y=o[l];if(Y&&Us(Y)&&Y.type===e)return l}return null}function kc(n,t,e,i){let r=n[e];const s=t.data;if(function hv(n){return n instanceof Ec}(r)){const o=r;o.resolving&&function U(n,t){const e=t?`. Dependency path: ${t.join(" > ")} > ${n}`:"";throw new W(-200,`Circular dependency in DI detected for ${n}${e}`)}(Oe(s[e]));const a=Pu(o.canSeeViewProviders);o.resolving=!0;const l=o.injectImpl?lr(o.injectImpl):null;Nm(n,i,En.Default);try{r=n[e]=o.factory(void 0,s,n,i),t.firstCreatePass&&e>=i.directiveStart&&function uv(n,t,e){const{ngOnChanges:i,ngOnInit:r,ngDoCheck:s}=t.type.prototype;if(i){const o=Tm(t);(e.preOrderHooks||(e.preOrderHooks=[])).push(n,o),(e.preOrderCheckHooks||(e.preOrderCheckHooks=[])).push(n,o)}r&&(e.preOrderHooks||(e.preOrderHooks=[])).push(0-n,r),s&&((e.preOrderHooks||(e.preOrderHooks=[])).push(n,s),(e.preOrderCheckHooks||(e.preOrderCheckHooks=[])).push(n,s))}(e,s[e],t)}finally{null!==l&&lr(l),Pu(a),o.resolving=!1,Hm()}}return r}function Wm(n,t,e){return!!(e[t+(n>>5)]&1<{const t=n.prototype.constructor,e=t[Ro]||Bo(t),i=Object.prototype;let r=Object.getPrototypeOf(n.prototype).constructor;for(;r&&r!==i;){const s=r[Ro]||Bo(r);if(s&&s!==e)return s;r=Object.getPrototypeOf(r)}return s=>new s})}function Bo(n){return ne(n)?()=>{const t=Bo(en(n));return t&&t()}:Po(n)}function _r(n){return function yv(n,t){if("class"===t)return n.classes;if("style"===t)return n.styles;const e=n.attrs;if(e){const i=e.length;let r=0;for(;r{const i=kh(t);function r(...s){if(this instanceof r)return i.apply(this,s),this;const o=new r(...s);return a.annotation=o,a;function a(l,h,f){const D=l.hasOwnProperty(Fl)?l[Fl]:Object.defineProperty(l,Fl,{value:[]})[Fl];for(;D.length<=f;)D.push(null);return(D[f]=D[f]||[]).push(o),l}}return e&&(r.prototype=Object.create(e.prototype)),r.prototype.ngMetadataName=n,r.annotationCls=r,r})}function xc(n,t,e,i){return fs(()=>{const r=kh(t);function s(...o){if(this instanceof s)return r.apply(this,o),this;const a=new s(...o);return function l(h,f){const D=h.constructor,k=D.hasOwnProperty(Nl)?D[Nl]:Object.defineProperty(D,Nl,{value:{}})[Nl];k[f]=k.hasOwnProperty(f)&&k[f]||[],k[f].unshift(a),i&&i(h,f,...o)}}return e&&(s.prototype=Object.create(e.prototype)),s.prototype.ngMetadataName=n,s.annotationCls=s,s})}class pt{constructor(t,e){this._desc=t,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof e?this.__NG_ELEMENT_ID__=e:void 0!==e&&(this.\u0275prov=De({token:this,providedIn:e.providedIn||"root",factory:e.factory}))}toString(){return`InjectionToken ${this._desc}`}}const Mv=new pt("AnalyzeForEntryComponents");class Zm{}const Dv=xc("ContentChild",(n,t={})=>Object.assign({selector:n,first:!0,isViewQuery:!1,descendants:!0},t),Zm),Qa=xc("ViewChild",(n,t)=>Object.assign({selector:n,first:!0,isViewQuery:!0,descendants:!0},t),Zm);function Be(n,t){void 0===t&&(t=n);for(let e=0;eArray.isArray(e)?ht(e,t):t(e))}function un(n,t,e){t>=n.length?n.push(e):n.splice(t,0,e)}function Rn(n,t){return t>=n.length-1?n.pop():n.splice(t,1)[0]}function Wn(n,t){const e=[];for(let i=0;i=0?n[1|i]=e:(i=~i,function _a(n,t,e,i){let r=n.length;if(r==t)n.push(e,i);else if(1===r)n.push(i,n[0]),n[0]=e;else{for(r--,n.push(n[r-1],n[r]);r>t;)n[r]=n[r-2],r--;n[t]=e,n[t+1]=i}}(n,i,t,e)),i}function Ev(n,t){const e=ju(n,t);if(e>=0)return n[1|e]}function ju(n,t){return function LE(n,t,e){let i=0,r=n.length>>e;for(;r!==i;){const s=i+(r-i>>1),o=n[s<t?r=s:i=s+1}return~(r<({token:n})),-1),yr=Rh(jl("Optional"),8),mo=Rh(jl("SkipSelf"),4);var Ws=(()=>((Ws=Ws||{})[Ws.Important=1]="Important",Ws[Ws.DashCase=2]="DashCase",Ws))();const UE="__ngContext__";function os(n,t){n[UE]=t}function Iv(n){const t=function Oh(n){return n[UE]||null}(n);return t?Array.isArray(t)?t:t.lView:null}function Rv(n,t){return undefined(n,t)}function Ph(n){const t=n[3];return qs(t)?t[3]:t}function Lv(n){return ZE(n[13])}function Ov(n){return ZE(n[4])}function ZE(n){for(;null!==n&&!qs(n);)n=n[4];return n}function Yu(n,t,e,i,r){if(null!=i){let s,o=!1;qs(i)?s=i:co(i)&&(o=!0,i=i[0]);const a=ir(i);0===n&&null!==e?null==r?iC(t,e,a):Ic(t,e,a,r||null,!0):1===n&&null!==e?Ic(t,e,a,r||null,!0):2===n?function Hv(n,t,e){const i=nf(n,t);i&&function k2(n,t,e,i){Ti(n)?n.removeChild(t,e,i):t.removeChild(e)}(n,i,t,e)}(t,a,o):3===n&&t.destroyNode(a),null!=s&&function A2(n,t,e,i,r){const s=e[7];s!==ir(e)&&Yu(t,n,i,s,r);for(let a=10;a0&&(n[e-1][4]=i[4]);const s=Rn(n,10+t);!function b2(n,t){Fh(n,t,t[11],2,null,null),t[0]=null,t[6]=null}(i[1],i);const o=s[19];null!==o&&o.detachView(s[1]),i[3]=null,i[4]=null,i[2]&=-129}return i}function eC(n,t){if(!(256&t[2])){const e=t[11];Ti(e)&&e.destroyNode&&Fh(n,t,e,3,null,null),function D2(n){let t=n[13];if(!t)return jv(n[1],n);for(;t;){let e=null;if(co(t))e=t[13];else{const i=t[10];i&&(e=i)}if(!e){for(;t&&!t[4]&&t!==n;)co(t)&&jv(t[1],t),t=t[3];null===t&&(t=n),co(t)&&jv(t[1],t),e=t&&t[4]}t=e}}(t)}}function jv(n,t){if(!(256&t[2])){t[2]&=-129,t[2]|=256,function S2(n,t){let e;if(null!=n&&null!=(e=n.destroyHooks))for(let i=0;i=0?i[r=h]():i[r=-h].unsubscribe(),s+=2}else{const o=i[r=e[s+1]];e[s].call(o)}if(null!==i){for(let s=r+1;sn,createScript:n=>n,createScriptURL:n=>n})}catch(n){}return af}())||void 0===t?void 0:t.createHTML(n))||n}function hC(n){var t;return(null===(t=function zv(){if(void 0===lf&&(lf=null,Ei.trustedTypes))try{lf=Ei.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:n=>n,createScript:n=>n,createScriptURL:n=>n})}catch(n){}return lf}())||void 0===t?void 0:t.createHTML(n))||n}class Rc{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see https://g.co/ng/security#xss)`}}class F2 extends Rc{getTypeName(){return"HTML"}}class N2 extends Rc{getTypeName(){return"Style"}}class j2 extends Rc{getTypeName(){return"Script"}}class B2 extends Rc{getTypeName(){return"URL"}}class Y2 extends Rc{getTypeName(){return"ResourceURL"}}function Qs(n){return n instanceof Rc?n.changingThisBreaksApplicationSecurity:n}function va(n,t){const e=fC(n);if(null!=e&&e!==t){if("ResourceURL"===e&&"URL"===t)return!0;throw new Error(`Required a safe ${t}, got a ${e} (see https://g.co/ng/security#xss)`)}return e===t}function fC(n){return n instanceof Rc&&n.getTypeName()||null}class G2{constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t=""+t;try{const e=(new window.DOMParser).parseFromString(Ac(t),"text/html").body;return null===e?this.inertDocumentHelper.getInertBodyElement(t):(e.removeChild(e.firstChild),e)}catch(e){return null}}}class $2{constructor(t){if(this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert"),null==this.inertDocument.body){const e=this.inertDocument.createElement("html");this.inertDocument.appendChild(e);const i=this.inertDocument.createElement("body");e.appendChild(i)}}getInertBodyElement(t){const e=this.inertDocument.createElement("template");if("content"in e)return e.innerHTML=Ac(t),e;const i=this.inertDocument.createElement("body");return i.innerHTML=Ac(t),this.defaultDoc.documentMode&&this.stripCustomNsAttrs(i),i}stripCustomNsAttrs(t){const e=t.attributes;for(let r=e.length-1;0Nh(t.trim())).join(", ")}function ba(n){const t={};for(const e of n.split(","))t[e]=!0;return t}function jh(...n){const t={};for(const e of n)for(const i in e)e.hasOwnProperty(i)&&(t[i]=!0);return t}const yC=ba("area,br,col,hr,img,wbr"),vC=ba("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),bC=ba("rp,rt"),Gv=jh(yC,jh(vC,ba("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")),jh(bC,ba("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")),jh(bC,vC)),$v=ba("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),Wv=ba("srcset"),wC=jh($v,Wv,ba("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,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),ba("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")),Z2=ba("script,style,template");class X2{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(t){let e=t.firstChild,i=!0;for(;e;)if(e.nodeType===Node.ELEMENT_NODE?i=this.startElement(e):e.nodeType===Node.TEXT_NODE?this.chars(e.nodeValue):this.sanitizedSomething=!0,i&&e.firstChild)e=e.firstChild;else for(;e;){e.nodeType===Node.ELEMENT_NODE&&this.endElement(e);let r=this.checkClobberedElement(e,e.nextSibling);if(r){e=r;break}e=this.checkClobberedElement(e,e.parentNode)}return this.buf.join("")}startElement(t){const e=t.nodeName.toLowerCase();if(!Gv.hasOwnProperty(e))return this.sanitizedSomething=!0,!Z2.hasOwnProperty(e);this.buf.push("<"),this.buf.push(e);const i=t.attributes;for(let r=0;r"),!0}endElement(t){const e=t.nodeName.toLowerCase();Gv.hasOwnProperty(e)&&!yC.hasOwnProperty(e)&&(this.buf.push(""))}chars(t){this.buf.push(MC(t))}checkClobberedElement(t,e){if(e&&(t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error(`Failed to sanitize html because the element is clobbered: ${t.outerHTML}`);return e}}const J2=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,ej=/([^\#-~ |!])/g;function MC(n){return n.replace(/&/g,"&").replace(J2,function(t){return"&#"+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";"}).replace(ej,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(//g,">")}let cf;function DC(n,t){let e=null;try{cf=cf||function gC(n){const t=new $2(n);return function W2(){try{return!!(new window.DOMParser).parseFromString(Ac(""),"text/html")}catch(n){return!1}}()?new G2(t):t}(n);let i=t?String(t):"";e=cf.getInertBodyElement(i);let r=5,s=i;do{if(0===r)throw new Error("Failed to sanitize html because the input is unstable");r--,i=s,s=e.innerHTML,e=cf.getInertBodyElement(i)}while(i!==s);return Ac((new X2).sanitizeChildren(Qv(e)||e))}finally{if(e){const i=Qv(e)||e;for(;i.firstChild;)i.removeChild(i.firstChild)}}}function Qv(n){return"content"in n&&function tj(n){return n.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===n.nodeName}(n)?n.content:null}var _i=(()=>((_i=_i||{})[_i.NONE=0]="NONE",_i[_i.HTML=1]="HTML",_i[_i.STYLE=2]="STYLE",_i[_i.SCRIPT=3]="SCRIPT",_i[_i.URL=4]="URL",_i[_i.RESOURCE_URL=5]="RESOURCE_URL",_i))();function Lc(n){const t=Bh();return t?hC(t.sanitize(_i.HTML,n)||""):va(n,"HTML")?hC(Qs(n)):DC(ph(),ye(n))}function Kv(n){const t=Bh();return t?t.sanitize(_i.URL,n)||"":va(n,"URL")?Qs(n):Nh(ye(n))}function Bh(){const n=Rt();return n&&n[12]}function Xv(n){return n.ngOriginalError}function dj(n,...t){n.error(...t)}class Ka{constructor(){this._console=console}handleError(t){const e=this._findOriginalError(t),i=function uj(n){return n&&n.ngErrorLogger||dj}(t);i(this._console,"ERROR",t),e&&i(this._console,"ORIGINAL ERROR",e)}_findOriginalError(t){let e=t&&Xv(t);for(;e&&Xv(e);)e=Xv(e);return e||null}}const yj=(()=>("undefined"!=typeof requestAnimationFrame&&requestAnimationFrame||setTimeout).bind(Ei))();function wa(n){return n instanceof Function?n():n}function TC(n,t,e){let i=n.length;for(;;){const r=n.indexOf(t,e);if(-1===r)return r;if(0===r||n.charCodeAt(r-1)<=32){const s=t.length;if(r+s===i||n.charCodeAt(r+s)<=32)return r}e=r+1}}const SC="ng-template";function Mj(n,t,e){let i=0;for(;is?"":r[D+1].toLowerCase();const Y=8&i?k:null;if(Y&&-1!==TC(Y,h,0)||2&i&&h!==k){if(Vo(i))return!1;o=!0}}}}else{if(!o&&!Vo(i)&&!Vo(l))return!1;if(o&&Vo(l))continue;o=!1,i=l|1&i}}return Vo(i)||o}function Vo(n){return 0==(1&n)}function Cj(n,t,e,i){if(null===t)return-1;let r=0;if(i||!e){let s=!1;for(;r-1)for(e++;e0?'="'+a+'"':"")+"]"}else 8&i?r+="."+o:4&i&&(r+=" "+o);else""!==r&&!Vo(o)&&(t+=IC(s,r),r=""),i=o,s=s||!Vo(i);e++}return""!==r&&(t+=IC(s,r)),t}const zn={};function j(n){AC(oi(),Rt(),Or()+n,!1)}function AC(n,t,e,i){if(!i)if(3==(3&t[2])){const s=n.preOrderCheckHooks;null!==s&&xu(t,s,e)}else{const s=n.preOrderHooks;null!==s&&Iu(t,s,0,e)}ma(e)}function uf(n,t){return n<<17|t<<2}function qo(n){return n>>17&32767}function Jv(n){return 2|n}function Za(n){return(131068&n)>>2}function eb(n,t){return-131069&n|t<<2}function tb(n){return 1|n}function VC(n,t){const e=n.contentQueries;if(null!==e)for(let i=0;i20&&AC(n,t,20,!1),e(i,r)}finally{ma(s)}}function UC(n,t,e){if(vu(t)){const r=t.directiveEnd;for(let s=t.directiveStart;s0;){const e=n[--t];if("number"==typeof e&&e<0)return e}return 0})(a)!=l&&a.push(l),a.push(i,r,o)}}function XC(n,t){null!==n.hostBindings&&n.hostBindings(1,t)}function JC(n,t){t.flags|=2,(n.components||(n.components=[])).push(t.index)}function sB(n,t,e){if(e){if(t.exportAs)for(let i=0;i0&&fb(e)}}function fb(n){for(let i=Lv(n);null!==i;i=Ov(i))for(let r=10;r0&&fb(s)}const e=n[1].components;if(null!==e)for(let i=0;i0&&fb(r)}}function hB(n,t){const e=gs(t,n),i=e[1];(function pB(n,t){for(let e=t.length;ePromise.resolve(null))();function rT(n){return n[7]||(n[7]=[])}function sT(n){return n.cleanup||(n.cleanup=[])}function oT(n,t,e){return(null===n||Us(n))&&(e=function km(n){for(;Array.isArray(n);){if("object"==typeof n[1])return n;n=n[0]}return null}(e[t.index])),e[11]}function aT(n,t){const e=n[9],i=e?e.get(Ka,null):null;i&&i.handleError(t)}function lT(n,t,e,i,r){for(let s=0;sthis.processProvider(a,t,e)),ht([t],a=>this.processInjectorType(a,[],s)),this.records.set(bb,zu(void 0,this));const o=this.records.get(wb);this.scope=null!=o?o.value:null,this.source=r||("object"==typeof t?null:Ke(t))}get destroyed(){return this._destroyed}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{this.onDestroy.forEach(t=>t.ngOnDestroy())}finally{this.records.clear(),this.onDestroy.clear(),this.injectorDefTypes.clear()}}get(t,e=xh,i=En.Default){this.assertNotDestroyed();const r=FE(this),s=lr(void 0);try{if(!(i&En.SkipSelf)){let a=this.records.get(t);if(void 0===a){const l=function SB(n){return"function"==typeof n||"object"==typeof n&&n instanceof pt}(t)&&fn(t);a=l&&this.injectableDefInScope(l)?zu(Db(t),Vh):null,this.records.set(t,a)}if(null!=a)return this.hydrate(t,a)}return(i&En.Self?uT():this.parent).get(t,e=i&En.Optional&&e===xh?null:e)}catch(o){if("NullInjectorError"===o.name){if((o[ef]=o[ef]||[]).unshift(Ke(t)),r)throw o;return function ZN(n,t,e,i){const r=n[ef];throw t[PE]&&r.unshift(t[PE]),n.message=function XN(n,t,e,i=null){n=n&&"\n"===n.charAt(0)&&"\u0275"==n.charAt(1)?n.substr(2):n;let r=Ke(t);if(Array.isArray(t))r=t.map(Ke).join(" -> ");else if("object"==typeof t){let s=[];for(let o in t)if(t.hasOwnProperty(o)){let a=t[o];s.push(o+":"+("string"==typeof a?JSON.stringify(a):Ke(a)))}r=`{${s.join(", ")}}`}return`${e}${i?"("+i+")":""}[${r}]: ${n.replace(GN,"\n ")}`}("\n"+n.message,r,e,i),n.ngTokenPath=r,n[ef]=null,n}(o,t,"R3InjectorError",this.source)}throw o}finally{lr(s),FE(r)}}_resolveInjectorDefTypes(){this.injectorDefTypes.forEach(t=>this.get(t))}toString(){const t=[];return this.records.forEach((i,r)=>t.push(Ke(r))),`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new W(205,!1)}processInjectorType(t,e,i){if(!(t=en(t)))return!1;let r=pi(t);const s=null==r&&t.ngModule||void 0,o=void 0===s?t:s,a=-1!==i.indexOf(o);if(void 0!==s&&(r=pi(s)),null==r)return!1;if(null!=r.imports&&!a){let f;i.push(o);try{ht(r.imports,D=>{this.processInjectorType(D,e,i)&&(void 0===f&&(f=[]),f.push(D))})}finally{}if(void 0!==f)for(let D=0;Dthis.processProvider(oe,k,Y||Ci))}}this.injectorDefTypes.add(o);const l=Po(o)||(()=>new o);this.records.set(o,zu(l,Vh));const h=r.providers;if(null!=h&&!a){const f=t;ht(h,D=>this.processProvider(D,f,h))}return void 0!==s&&void 0!==t.providers}processProvider(t,e,i){let r=Gu(t=en(t))?t:en(t&&t.provide);const s=function wB(n,t,e){return mT(n)?zu(void 0,n.useValue):zu(pT(n),Vh)}(t);if(Gu(t)||!0!==t.multi)this.records.get(r);else{let o=this.records.get(r);o||(o=zu(void 0,Vh,!0),o.factory=()=>Sv(o.multi),this.records.set(r,o)),r=t,o.multi.push(t)}this.records.set(r,s)}hydrate(t,e){return e.value===Vh&&(e.value=yB,e.value=e.factory()),"object"==typeof e.value&&e.value&&function TB(n){return null!==n&&"object"==typeof n&&"function"==typeof n.ngOnDestroy}(e.value)&&this.onDestroy.add(e.value),e.value}injectableDefInScope(t){if(!t.providedIn)return!1;const e=en(t.providedIn);return"string"==typeof e?"any"===e||e===this.scope:this.injectorDefTypes.has(e)}}function Db(n){const t=fn(n),e=null!==t?t.factory:Po(n);if(null!==e)return e;if(n instanceof pt)throw new W(204,!1);if(n instanceof Function)return function bB(n){const t=n.length;if(t>0)throw Wn(t,"?"),new W(204,!1);const e=function Vn(n){const t=n&&(n[jn]||n[nr]);if(t){const e=function $n(n){if(n.hasOwnProperty("name"))return n.name;const t=(""+n).match(/^function\s*([^\s(]+)/);return null===t?"":t[1]}(n);return console.warn(`DEPRECATED: DI is instantiating a token "${e}" that inherits its @Injectable decorator but does not provide one itself.\nThis will become an error in a future version of Angular. Please add @Injectable() to the "${e}" class.`),t}return null}(n);return null!==e?()=>e.factory(n):()=>new n}(n);throw new W(204,!1)}function pT(n,t,e){let i;if(Gu(n)){const r=en(n);return Po(r)||Db(r)}if(mT(n))i=()=>en(n.useValue);else if(function DB(n){return!(!n||!n.useFactory)}(n))i=()=>n.useFactory(...Sv(n.deps||[]));else if(function MB(n){return!(!n||!n.useExisting)}(n))i=()=>Se(en(n.useExisting));else{const r=en(n&&(n.useClass||n.provide));if(!function CB(n){return!!n.deps}(n))return Po(r)||Db(r);i=()=>new r(...Sv(n.deps))}return i}function zu(n,t,e=!1){return{factory:n,value:t,multi:e?[]:void 0}}function mT(n){return null!==n&&"object"==typeof n&&WN in n}function Gu(n){return"function"==typeof n}let qi=(()=>{class n{static create(e,i){var r;if(Array.isArray(e))return dT({name:""},i,e,"");{const s=null!==(r=e.name)&&void 0!==r?r:"";return dT({name:s},e.parent,e.providers,s)}}}return n.THROW_IF_NOT_FOUND=xh,n.NULL=new cT,n.\u0275prov=De({token:n,providedIn:"any",factory:()=>Se(bb)}),n.__NG_ELEMENT_ID__=-1,n})();function PB(n,t){ku(Iv(n)[1],gr())}function It(n){let t=function TT(n){return Object.getPrototypeOf(n.prototype).constructor}(n.type),e=!0;const i=[n];for(;t;){let r;if(Us(n))r=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new W(903,"");r=t.\u0275dir}if(r){if(e){i.push(r);const o=n;o.inputs=Tb(n.inputs),o.declaredInputs=Tb(n.declaredInputs),o.outputs=Tb(n.outputs);const a=r.hostBindings;a&&BB(n,a);const l=r.viewQuery,h=r.contentQueries;if(l&&NB(n,l),h&&jB(n,h),pe(n.inputs,r.inputs),pe(n.declaredInputs,r.declaredInputs),pe(n.outputs,r.outputs),Us(r)&&r.data.animation){const f=n.data;f.animation=(f.animation||[]).concat(r.data.animation)}}const s=r.features;if(s)for(let o=0;o=0;i--){const r=n[i];r.hostVars=t+=r.hostVars,r.hostAttrs=ri(r.hostAttrs,e=ri(e,r.hostAttrs))}}(i)}function Tb(n){return n===El?{}:n===Ci?[]:n}function NB(n,t){const e=n.viewQuery;n.viewQuery=e?(i,r)=>{t(i,r),e(i,r)}:t}function jB(n,t){const e=n.contentQueries;n.contentQueries=e?(i,r,s)=>{t(i,r,s),e(i,r,s)}:t}function BB(n,t){const e=n.hostBindings;n.hostBindings=e?(i,r)=>{t(i,r),e(i,r)}:t}let gf=null;function $u(){if(!gf){const n=Ei.Symbol;if(n&&n.iterator)gf=n.iterator;else{const t=Object.getOwnPropertyNames(Map.prototype);for(let e=0;ea(ir(Gt[i.index])):i.index;if(Ti(e)){let Gt=null;if(!a&&l&&(Gt=function fY(n,t,e,i){const r=n.cleanup;if(null!=r)for(let s=0;sl?a[l]:null}"string"==typeof o&&(s+=2)}return null}(n,t,r,i.index)),null!==Gt)(Gt.__ngLastListenerFn__||Gt).__ngNextListenerFn__=s,Gt.__ngLastListenerFn__=s,Y=!1;else{s=Ob(i,t,D,s,!1);const wn=e.listen(it,r,s);k.push(s,wn),f&&f.push(r,Lt,Ue,Ue+1)}}else s=Ob(i,t,D,s,!0),it.addEventListener(r,s,o),k.push(s),f&&f.push(r,Lt,Ue,o)}else s=Ob(i,t,D,s,!1);const oe=i.outputs;let Fe;if(Y&&null!==oe&&(Fe=oe[r])){const We=Fe.length;if(We)for(let it=0;it0;)t=t[15],n--;return t}(n,Yn.lFrame.contextLView))[8]}(n)}function gY(n,t){let e=null;const i=function Tj(n){const t=n.attrs;if(null!=t){const e=t.indexOf(5);if(0==(1&e))return t[e+1]}return null}(n);for(let r=0;r=0}const Pr={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function rS(n){return n.substring(Pr.key,Pr.keyEnd)}function sS(n,t){const e=Pr.textEnd;return e===t?-1:(t=Pr.keyEnd=function DY(n,t,e){for(;t32;)t++;return t}(n,Pr.key=t,e),rd(n,t,e))}function rd(n,t,e){for(;t=0;e=sS(t,e))$s(n,rS(t),!0)}function zo(n,t,e,i){const r=Rt(),s=oi(),o=No(2);s.firstUpdatePass&&dS(s,n,o,i),t!==zn&&as(r,o,t)&&pS(s,s.data[Or()],r,r[11],n,r[o+1]=function OY(n,t){return null==n||("string"==typeof t?n+=t:"object"==typeof n&&(n=Ke(Qs(n)))),n}(t,e),i,o)}function uS(n,t){return t>=n.expandoStartIndex}function dS(n,t,e,i){const r=n.data;if(null===r[e+1]){const s=r[Or()],o=uS(n,e);fS(s,i)&&null===t&&!o&&(t=!1),t=function kY(n,t,e,i){const r=wh(n);let s=i?t.residualClasses:t.residualStyles;if(null===r)0===(i?t.classBindings:t.styleBindings)&&(e=Gh(e=Fb(null,n,t,e,i),t.attrs,i),s=null);else{const o=t.directiveStylingLast;if(-1===o||n[o]!==r)if(e=Fb(r,n,t,e,i),null===s){let l=function xY(n,t,e){const i=e?t.classBindings:t.styleBindings;if(0!==Za(i))return n[qo(i)]}(n,t,i);void 0!==l&&Array.isArray(l)&&(l=Fb(null,n,t,l[1],i),l=Gh(l,t.attrs,i),function IY(n,t,e,i){n[qo(e?t.classBindings:t.styleBindings)]=i}(n,t,i,l))}else s=function AY(n,t,e){let i;const r=t.directiveEnd;for(let s=1+t.directiveStylingLast;s0)&&(h=!0)}else f=e;if(r)if(0!==l){const k=qo(n[a+1]);n[i+1]=uf(k,a),0!==k&&(n[k+1]=eb(n[k+1],i)),n[a+1]=function Lj(n,t){return 131071&n|t<<17}(n[a+1],i)}else n[i+1]=uf(a,0),0!==a&&(n[a+1]=eb(n[a+1],i)),a=i;else n[i+1]=uf(l,0),0===a?a=i:n[l+1]=eb(n[l+1],i),l=i;h&&(n[i+1]=Jv(n[i+1])),iS(n,f,i,!0),iS(n,f,i,!1),function yY(n,t,e,i,r){const s=r?n.residualClasses:n.residualStyles;null!=s&&"string"==typeof t&&ju(s,t)>=0&&(e[i+1]=tb(e[i+1]))}(t,f,n,i,s),o=uf(a,l),s?t.classBindings=o:t.styleBindings=o}(r,s,t,e,o,i)}}function Fb(n,t,e,i,r){let s=null;const o=e.directiveEnd;let a=e.directiveStylingLast;for(-1===a?a=e.directiveStart:a++;a0;){const l=n[r],h=Array.isArray(l),f=h?l[1]:l,D=null===f;let k=e[r+1];k===zn&&(k=D?Ci:void 0);let Y=D?Ev(k,i):f===i?k:void 0;if(h&&!bf(Y)&&(Y=Ev(l,i)),bf(Y)&&(a=Y,o))return a;const oe=n[r+1];r=o?qo(oe):Za(oe)}if(null!==t){let l=s?t.residualClasses:t.residualStyles;null!=l&&(a=Ev(l,i))}return a}function bf(n){return void 0!==n}function fS(n,t){return 0!=(n.flags&(t?16:32))}function Me(n,t=""){const e=Rt(),i=oi(),r=n+20,s=i.firstCreatePass?Vu(i,r,1,t,null):i.data[r],o=e[r]=function Pv(n,t){return Ti(n)?n.createText(t):n.createTextNode(t)}(e[11],t);rf(i,e,o,s),zs(s,!1)}function vi(n){return an("",n,""),vi}function an(n,t,e){const i=Rt(),r=Qu(i,n,t,e);return r!==zn&&Xa(i,Or(),r),an}function Nb(n,t,e,i,r){const s=Rt(),o=Ku(s,n,t,e,i,r);return o!==zn&&Xa(s,Or(),o),Nb}function DS(n,t,e){!function Go(n,t,e,i){const r=oi(),s=No(2);r.firstUpdatePass&&dS(r,null,s,i);const o=Rt();if(e!==zn&&as(o,s,e)){const a=r.data[Or()];if(fS(a,i)&&!uS(r,s)){let l=i?a.classesWithoutHost:a.stylesWithoutHost;null!==l&&(e=Bt(l,e||"")),Rb(r,a,o,e,i)}else!function LY(n,t,e,i,r,s,o,a){r===zn&&(r=Ci);let l=0,h=0,f=0>20;if(Gu(n)||!n.multi){const Y=new Ec(l,r,M),oe=Vb(a,t,r?f:f+k,D);-1===oe?(Ll(Tc(h,o),s,a),Hb(s,n,t.length),t.push(a),h.directiveStart++,h.directiveEnd++,r&&(h.providerIndexes+=1048576),e.push(Y),o.push(Y)):(e[oe]=Y,o[oe]=Y)}else{const Y=Vb(a,t,f+k,D),oe=Vb(a,t,f,f+k),Fe=Y>=0&&e[Y],We=oe>=0&&e[oe];if(r&&!We||!r&&!Fe){Ll(Tc(h,o),s,a);const it=function XH(n,t,e,i,r){const s=new Ec(n,e,M);return s.multi=[],s.index=t,s.componentProviders=0,sk(s,r,i&&!e),s}(r?ZH:KH,e.length,r,i,l);!r&&We&&(e[oe].providerFactory=it),Hb(s,n,t.length,0),t.push(a),h.directiveStart++,h.directiveEnd++,r&&(h.providerIndexes+=1048576),e.push(it),o.push(it)}else Hb(s,n,Y>-1?Y:oe,sk(e[r?oe:Y],l,!r&&i));!r&&i&&We&&e[oe].componentProviders++}}}function Hb(n,t,e,i){const r=Gu(t),s=function EB(n){return!!n.useClass}(t);if(r||s){const l=(s?en(t.useClass):t).prototype.ngOnDestroy;if(l){const h=n.destroyHooks||(n.destroyHooks=[]);if(!r&&t.multi){const f=h.indexOf(e);-1===f?h.push(e,[i,l]):h[f+1].push(i,l)}else h.push(e,l)}}}function sk(n,t,e){return e&&n.componentProviders++,n.multi.push(t)-1}function Vb(n,t,e,i){for(let r=e;r{e.providersResolver=(i,r)=>function QH(n,t,e){const i=oi();if(i.firstCreatePass){const r=Us(n);Yb(e,i.data,i.blueprint,r,!0),Yb(t,i.data,i.blueprint,r,!1)}}(i,r?r(n):n,t)}}class ok{}class tV{resolveComponentFactory(t){throw function eV(n){const t=Error(`No component factory found for ${Ke(n)}. Did you add it to @NgModule.entryComponents?`);return t.ngComponent=n,t}(t)}}let Hl=(()=>{class n{}return n.NULL=new tV,n})();function nV(){return ad(gr(),Rt())}function ad(n,t){return new Zt(ss(n,t))}let Zt=(()=>{class n{constructor(e){this.nativeElement=e}}return n.__NG_ELEMENT_ID__=nV,n})();function iV(n){return n instanceof Zt?n.nativeElement:n}class Zh{}let Sa=(()=>{class n{}return n.__NG_ELEMENT_ID__=()=>function sV(){const n=Rt(),e=gs(gr().index,n);return function rV(n){return n[11]}(co(e)?e:n)}(),n})(),oV=(()=>{class n{}return n.\u0275prov=De({token:n,providedIn:"root",factory:()=>null}),n})();class Fc{constructor(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}}const aV=new Fc("13.4.0"),Ub={};function Sf(n,t,e,i,r=!1){for(;null!==e;){const s=t[e.index];if(null!==s&&i.push(ir(s)),qs(s))for(let a=10;a-1&&(Nv(t,i),Rn(e,i))}this._attachedToViewContainer=!1}eC(this._lView[1],this._lView)}onDestroy(t){WC(this._lView[1],this._lView,null,t)}markForCheck(){gb(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-129}reattach(){this._lView[2]|=128}detectChanges(){!function yb(n,t,e){const i=t[10];i.begin&&i.begin();try{Uu(n,t,n.template,e)}catch(r){throw aT(t,r),r}finally{i.end&&i.end()}}(this._lView[1],this._lView,this.context)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new W(902,"");this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function M2(n,t){Fh(n,t,t[11],2,null,null)}(this._lView[1],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new W(902,"");this._appRef=t}}class lV extends Xh{constructor(t){super(t),this._view=t}detectChanges(){iT(this._view)}checkNoChanges(){}get context(){return null}}class lk extends Hl{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const e=Lr(t);return new zb(e,this.ngModule)}}function ck(n){const t=[];for(let e in n)n.hasOwnProperty(e)&&t.push({propName:n[e],templateName:e});return t}class zb extends ok{constructor(t,e){super(),this.componentDef=t,this.ngModule=e,this.componentType=t.type,this.selector=function Aj(n){return n.map(Ij).join(",")}(t.selectors),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!e}get inputs(){return ck(this.componentDef.inputs)}get outputs(){return ck(this.componentDef.outputs)}create(t,e,i,r){const s=(r=r||this.ngModule)?function uV(n,t){return{get:(e,i,r)=>{const s=n.get(e,Ub,r);return s!==Ub||i===Ub?s:t.get(e,i,r)}}}(t,r.injector):t,o=s.get(Zh,mh),a=s.get(oV,null),l=o.createRenderer(null,this.componentDef),h=this.componentDef.selectors[0][0]||"div",f=i?function $C(n,t,e){if(Ti(n))return n.selectRootElement(t,e===is.ShadowDom);let i="string"==typeof t?n.querySelector(t):t;return i.textContent="",i}(l,i,this.componentDef.encapsulation):Fv(o.createRenderer(null,this.componentDef),h,function cV(n){const t=n.toLowerCase();return"svg"===t?"svg":"math"===t?"math":null}(h)),D=this.componentDef.onPush?576:528,k=function CT(n,t){return{components:[],scheduler:n||yj,clean:fB,playerHandler:t||null,flags:0}}(),Y=pf(0,null,null,1,0,null,null,null,null,null),oe=Yh(null,Y,k,D,null,null,o,l,a,s);let Fe,We;Tu(oe);try{const it=function DT(n,t,e,i,r,s){const o=e[1];e[20]=n;const l=Vu(o,20,2,"#host",null),h=l.mergedAttrs=t.hostAttrs;null!==h&&(ff(l,h,!0),null!==n&&(Lu(r,n,h),null!==l.classes&&qv(r,n,l.classes),null!==l.styles&&dC(r,n,l.styles)));const f=i.createRenderer(n,t),D=Yh(e,zC(t),null,t.onPush?64:16,e[20],l,i,f,s||null,null);return o.firstCreatePass&&(Ll(Tc(l,e),o,t.type),JC(o,l),eT(l,e.length,1)),mf(e,D),e[20]=D}(f,this.componentDef,oe,o,l);if(f)if(i)Lu(l,f,["ng-version",aV.full]);else{const{attrs:Ue,classes:Lt}=function Rj(n){const t=[],e=[];let i=1,r=2;for(;i0&&qv(l,f,Lt.join(" "))}if(We=fh(Y,20),void 0!==e){const Ue=We.projection=[];for(let Lt=0;Ltl(o,t)),t.contentQueries){const l=gr();t.contentQueries(1,o,l.directiveStart)}const a=gr();return!s.firstCreatePass||null===t.hostBindings&&null===t.hostAttrs||(ma(a.index),ZC(e[1],a,0,a.directiveStart,a.directiveEnd,t),XC(t,o)),o}(it,this.componentDef,oe,k,[PB]),Hh(Y,oe,null)}finally{Su()}return new hV(this.componentType,Fe,ad(We,oe),oe,We)}}class hV extends class JH{}{constructor(t,e,i,r,s){super(),this.location=i,this._rootLView=r,this._tNode=s,this.instance=e,this.hostView=this.changeDetectorRef=new lV(r),this.componentType=t}get injector(){return new Ol(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}}class el{}class uk{}const ld=new Map;class pk extends el{constructor(t,e){super(),this._parent=e,this._bootstrapComponents=[],this.injector=this,this.destroyCbs=[],this.componentFactoryResolver=new lk(this);const i=xs(t);this._bootstrapComponents=wa(i.bootstrap),this._r3Injector=hT(t,e,[{provide:el,useValue:this},{provide:Hl,useValue:this.componentFactoryResolver}],Ke(t)),this._r3Injector._resolveInjectorDefTypes(),this.instance=this.get(t)}get(t,e=qi.THROW_IF_NOT_FOUND,i=En.Default){return t===qi||t===el||t===bb?this:this._r3Injector.get(t,e,i)}destroy(){const t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(e=>e()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}}class Gb extends uk{constructor(t){super(),this.moduleType=t,null!==xs(t)&&function mV(n){const t=new Set;!function e(i){const r=xs(i,!0),s=r.id;null!==s&&(function dk(n,t,e){if(t&&t!==e)throw new Error(`Duplicate module registered for ${n} - ${Ke(t)} vs ${Ke(t.name)}`)}(s,ld.get(s),i),ld.set(s,i));const o=wa(r.imports);for(const a of o)t.has(a)||(t.add(a),e(a))}(n)}(t)}create(t){return new pk(this.moduleType,t)}}function kf(n,t,e){const i=Ur()+n,r=Rt();return r[i]===zn?Da(r,i,e?t.call(e):t()):function Uh(n,t){return n[t]}(r,i)}function $o(n,t,e,i){return mk(Rt(),Ur(),n,t,e,i)}function $b(n,t,e,i,r){return function fk(n,t,e,i,r,s,o){const a=t+e;return Oc(n,a,r,s)?Da(n,a+2,o?i.call(o,r,s):i(r,s)):Jh(n,a+2)}(Rt(),Ur(),n,t,e,i,r)}function Jh(n,t){const e=n[t];return e===zn?void 0:e}function mk(n,t,e,i,r,s){const o=t+e;return as(n,o,r)?Da(n,o+1,s?i.call(s,r):i(r)):Jh(n,o+1)}function ls(n,t){const e=oi();let i;const r=n+20;e.firstCreatePass?(i=function MV(n,t){if(t)for(let e=t.length-1;e>=0;e--){const i=t[e];if(n===i.name)return i}}(t,e.pipeRegistry),e.data[r]=i,i.onDestroy&&(e.destroyHooks||(e.destroyHooks=[])).push(r,i.onDestroy)):i=e.data[r];const s=i.factory||(i.factory=Po(i.type)),o=lr(M);try{const a=Pu(!1),l=s();return Pu(a),function $B(n,t,e,i){e>=n.data.length&&(n.data[e]=null,n.blueprint[e]=null),t[e]=i}(e,Rt(),r,l),l}finally{lr(o)}}function cs(n,t,e){const i=n+20,r=Rt(),s=kl(r,i);return function ep(n,t){return n[1].data[t].pure}(r,i)?mk(r,Ur(),t,s.transform,e,s):s.transform(e)}function Wb(n){return t=>{setTimeout(n,void 0,t)}}const Yt=class SV extends K{constructor(t=!1){super(),this.__isAsync=t}emit(t){super.next(t)}subscribe(t,e,i){var r,s,o;let a=t,l=e||(()=>null),h=i;if(t&&"object"==typeof t){const D=t;a=null===(r=D.next)||void 0===r?void 0:r.bind(D),l=null===(s=D.error)||void 0===s?void 0:s.bind(D),h=null===(o=D.complete)||void 0===o?void 0:o.bind(D)}this.__isAsync&&(l=Wb(l),a&&(a=Wb(a)),h&&(h=Wb(h)));const f=super.subscribe({next:a,error:l,complete:h});return t instanceof P&&t.add(f),f}};function kV(){return this._results[$u()]()}class Vl{constructor(t=!1){this._emitDistinctChangesOnly=t,this.dirty=!0,this._results=[],this._changesDetected=!1,this._changes=null,this.length=0,this.first=void 0,this.last=void 0;const e=$u(),i=Vl.prototype;i[e]||(i[e]=kV)}get changes(){return this._changes||(this._changes=new Yt)}get(t){return this._results[t]}map(t){return this._results.map(t)}filter(t){return this._results.filter(t)}find(t){return this._results.find(t)}reduce(t,e){return this._results.reduce(t,e)}forEach(t){this._results.forEach(t)}some(t){return this._results.some(t)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(t,e){const i=this;i.dirty=!1;const r=Be(t);(this._changesDetected=!function Z(n,t,e){if(n.length!==t.length)return!1;for(let i=0;i{class n{}return n.__NG_ELEMENT_ID__=AV,n})();const xV=Wi,IV=class extends xV{constructor(t,e,i){super(),this._declarationLView=t,this._declarationTContainer=e,this.elementRef=i}createEmbeddedView(t){const e=this._declarationTContainer.tViews,i=Yh(this._declarationLView,e,t,16,null,e.declTNode,null,null,null,null);i[17]=this._declarationLView[this._declarationTContainer.index];const s=this._declarationLView[19];return null!==s&&(i[19]=s.createEmbeddedView(e)),Hh(e,i,t),new Xh(i)}};function AV(){return xf(gr(),Rt())}function xf(n,t){return 4&n.type?new IV(t,n,ad(n,t)):null}let Si=(()=>{class n{}return n.__NG_ELEMENT_ID__=RV,n})();function RV(){return wk(gr(),Rt())}const LV=Si,vk=class extends LV{constructor(t,e,i){super(),this._lContainer=t,this._hostTNode=e,this._hostLView=i}get element(){return ad(this._hostTNode,this._hostLView)}get injector(){return new Ol(this._hostTNode,this._hostLView)}get parentInjector(){const t=Sc(this._hostTNode,this._hostLView);if(Eh(t)){const e=Rl(t,this._hostLView),i=fa(t);return new Ol(e[1].data[i+8],e)}return new Ol(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const e=bk(this._lContainer);return null!==e&&e[t]||null}get length(){return this._lContainer.length-10}createEmbeddedView(t,e,i){const r=t.createEmbeddedView(e||{});return this.insert(r,i),r}createComponent(t,e,i,r,s){const o=t&&!function T(n){return"function"==typeof n}(t);let a;if(o)a=e;else{const D=e||{};a=D.index,i=D.injector,r=D.projectableNodes,s=D.ngModuleRef}const l=o?t:new zb(Lr(t)),h=i||this.parentInjector;if(!s&&null==l.ngModule){const k=(o?h:this.parentInjector).get(el,null);k&&(s=k)}const f=l.create(h,r,void 0,s);return this.insert(f.hostView,a),f}insert(t,e){const i=t._lView,r=i[1];if(function Zy(n){return qs(n[3])}(i)){const f=this.indexOf(t);if(-1!==f)this.detach(f);else{const D=i[3],k=new vk(D,D[6],D[3]);k.detach(k.indexOf(t))}}const s=this._adjustIndex(e),o=this._lContainer;!function E2(n,t,e,i){const r=10+i,s=e.length;i>0&&(e[r-1][4]=t),i0)i.push(o[a/2]);else{const h=s[a+1],f=t[-l];for(let D=10;D({bindingPropertyName:n})),s3=xc("Output",n=>({bindingPropertyName:n})),o3=xc("HostBinding",n=>({hostPropertyName:n}));function Rf(...n){}const ow=new pt("Application Initializer");let aw=(()=>{class n{constructor(e){this.appInits=e,this.resolve=Rf,this.reject=Rf,this.initialized=!1,this.done=!1,this.donePromise=new Promise((i,r)=>{this.resolve=i,this.reject=r})}runInitializers(){if(this.initialized)return;const e=[],i=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let r=0;r{s.subscribe({complete:a,error:l})});e.push(o)}}Promise.all(e).then(()=>{i()}).catch(r=>{this.reject(r)}),0===e.length&&i(),this.initialized=!0}}return n.\u0275fac=function(e){return new(e||n)(Se(ow,8))},n.\u0275prov=De({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const np=new pt("AppId",{providedIn:"root",factory:function qk(){return`${lw()}${lw()}${lw()}`}});function lw(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const Uk=new pt("Platform Initializer"),ip=new pt("Platform ID",{providedIn:"platform",factory:()=>"unknown"}),zk=new pt("appBootstrapListener");let a3=(()=>{class n{log(e){console.log(e)}warn(e){console.warn(e)}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=De({token:n,factory:n.\u0275fac,providedIn:"platform"}),n})();const tl=new pt("LocaleId",{providedIn:"root",factory:()=>Ah(tl,En.Optional|En.SkipSelf)||function l3(){return"undefined"!=typeof $localize&&$localize.locale||Mf}()});class u3{constructor(t,e){this.ngModuleFactory=t,this.componentFactories=e}}let Gk=(()=>{class n{compileModuleSync(e){return new Gb(e)}compileModuleAsync(e){return Promise.resolve(this.compileModuleSync(e))}compileModuleAndAllComponentsSync(e){const i=this.compileModuleSync(e),s=wa(xs(e).declarations).reduce((o,a)=>{const l=Lr(a);return l&&o.push(new zb(l)),o},[]);return new u3(i,s)}compileModuleAndAllComponentsAsync(e){return Promise.resolve(this.compileModuleAndAllComponentsSync(e))}clearCache(){}clearCacheFor(e){}getModuleId(e){}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=De({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const h3=(()=>Promise.resolve(0))();function cw(n){"undefined"==typeof Zone?h3.then(()=>{n&&n.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",n)}class yn{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:e=!1,shouldCoalesceRunChangeDetection:i=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Yt(!1),this.onMicrotaskEmpty=new Yt(!1),this.onStable=new Yt(!1),this.onError=new Yt(!1),"undefined"==typeof Zone)throw new Error("In this configuration Angular requires Zone.js");Zone.assertZonePatched();const r=this;r._nesting=0,r._outer=r._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(r._inner=r._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(r._inner=r._inner.fork(Zone.longStackTraceZoneSpec)),r.shouldCoalesceEventChangeDetection=!i&&e,r.shouldCoalesceRunChangeDetection=i,r.lastRequestAnimationFrameId=-1,r.nativeRequestAnimationFrame=function p3(){let n=Ei.requestAnimationFrame,t=Ei.cancelAnimationFrame;if("undefined"!=typeof Zone&&n&&t){const e=n[Zone.__symbol__("OriginalDelegate")];e&&(n=e);const i=t[Zone.__symbol__("OriginalDelegate")];i&&(t=i)}return{nativeRequestAnimationFrame:n,nativeCancelAnimationFrame:t}}().nativeRequestAnimationFrame,function g3(n){const t=()=>{!function f3(n){n.isCheckStableRunning||-1!==n.lastRequestAnimationFrameId||(n.lastRequestAnimationFrameId=n.nativeRequestAnimationFrame.call(Ei,()=>{n.fakeTopEventTask||(n.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{n.lastRequestAnimationFrameId=-1,dw(n),n.isCheckStableRunning=!0,uw(n),n.isCheckStableRunning=!1},void 0,()=>{},()=>{})),n.fakeTopEventTask.invoke()}),dw(n))}(n)};n._inner=n._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(e,i,r,s,o,a)=>{try{return $k(n),e.invokeTask(r,s,o,a)}finally{(n.shouldCoalesceEventChangeDetection&&"eventTask"===s.type||n.shouldCoalesceRunChangeDetection)&&t(),Wk(n)}},onInvoke:(e,i,r,s,o,a,l)=>{try{return $k(n),e.invoke(r,s,o,a,l)}finally{n.shouldCoalesceRunChangeDetection&&t(),Wk(n)}},onHasTask:(e,i,r,s)=>{e.hasTask(r,s),i===r&&("microTask"==s.change?(n._hasPendingMicrotasks=s.microTask,dw(n),uw(n)):"macroTask"==s.change&&(n.hasPendingMacrotasks=s.macroTask))},onHandleError:(e,i,r,s)=>(e.handleError(r,s),n.runOutsideAngular(()=>n.onError.emit(s)),!1)})}(r)}static isInAngularZone(){return"undefined"!=typeof Zone&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!yn.isInAngularZone())throw new Error("Expected to be in Angular Zone, but it is not!")}static assertNotInAngularZone(){if(yn.isInAngularZone())throw new Error("Expected to not be in Angular Zone, but it is!")}run(t,e,i){return this._inner.run(t,e,i)}runTask(t,e,i,r){const s=this._inner,o=s.scheduleEventTask("NgZoneEvent: "+r,t,m3,Rf,Rf);try{return s.runTask(o,e,i)}finally{s.cancelTask(o)}}runGuarded(t,e,i){return this._inner.runGuarded(t,e,i)}runOutsideAngular(t){return this._outer.run(t)}}const m3={};function uw(n){if(0==n._nesting&&!n.hasPendingMicrotasks&&!n.isStable)try{n._nesting++,n.onMicrotaskEmpty.emit(null)}finally{if(n._nesting--,!n.hasPendingMicrotasks)try{n.runOutsideAngular(()=>n.onStable.emit(null))}finally{n.isStable=!0}}}function dw(n){n.hasPendingMicrotasks=!!(n._hasPendingMicrotasks||(n.shouldCoalesceEventChangeDetection||n.shouldCoalesceRunChangeDetection)&&-1!==n.lastRequestAnimationFrameId)}function $k(n){n._nesting++,n.isStable&&(n.isStable=!1,n.onUnstable.emit(null))}function Wk(n){n._nesting--,uw(n)}class _3{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Yt,this.onMicrotaskEmpty=new Yt,this.onStable=new Yt,this.onError=new Yt}run(t,e,i){return t.apply(e,i)}runGuarded(t,e,i){return t.apply(e,i)}runOutsideAngular(t){return t()}runTask(t,e,i,r){return t.apply(e,i)}}let hw=(()=>{class n{constructor(e){this._ngZone=e,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,this._watchAngularEvents(),e.run(()=>{this.taskTrackingZone="undefined"==typeof Zone?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._didWork=!0,this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{yn.assertNotInAngularZone(),cw(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}increasePendingRequestCount(){return this._pendingCount+=1,this._didWork=!0,this._pendingCount}decreasePendingRequestCount(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount}isStable(){return this._isZoneStable&&0===this._pendingCount&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())cw(()=>{for(;0!==this._callbacks.length;){let e=this._callbacks.pop();clearTimeout(e.timeoutId),e.doneCb(this._didWork)}this._didWork=!1});else{let e=this.getPendingTasks();this._callbacks=this._callbacks.filter(i=>!i.updateCb||!i.updateCb(e)||(clearTimeout(i.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(e=>({source:e.source,creationLocation:e.creationLocation,data:e.data})):[]}addCallback(e,i,r){let s=-1;i&&i>0&&(s=setTimeout(()=>{this._callbacks=this._callbacks.filter(o=>o.timeoutId!==s),e(this._didWork,this.getPendingTasks())},i)),this._callbacks.push({doneCb:e,timeoutId:s,updateCb:r})}whenStable(e,i,r){if(r&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(e,i,r),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}findProviders(e,i,r){return[]}}return n.\u0275fac=function(e){return new(e||n)(Se(yn))},n.\u0275prov=De({token:n,factory:n.\u0275fac}),n})(),y3=(()=>{class n{constructor(){this._applications=new Map,pw.addToWindow(this)}registerApplication(e,i){this._applications.set(e,i)}unregisterApplication(e){this._applications.delete(e)}unregisterAllApplications(){this._applications.clear()}getTestability(e){return this._applications.get(e)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(e,i=!0){return pw.findTestabilityInTree(this,e,i)}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=De({token:n,factory:n.\u0275fac,providedIn:"platform"}),n})();class v3{addToWindow(t){}findTestabilityInTree(t,e,i){return null}}let pw=new v3,Nc=null;const Qk=new pt("AllowMultipleToken"),Kk=new pt("PlatformOnDestroy");class Zk{constructor(t,e){this.name=t,this.token=e}}function Xk(n,t,e=[]){const i=`Platform: ${t}`,r=new pt(i);return(s=[])=>{let o=mw();if(!o||o.injector.get(Qk,!1)){const a=[...e,...s,{provide:r,useValue:!0}];n?n(a):function D3(n){if(Nc&&!Nc.get(Qk,!1))throw new W(400,"");Nc=n;const t=n.get(Jk),e=n.get(Uk,null);e&&e.forEach(i=>i())}(function C3(n=[],t){return qi.create({name:t,providers:[{provide:wb,useValue:"platform"},{provide:Kk,useValue:()=>Nc=null},...n]})}(a,i))}return function E3(n){const t=mw();if(!t)throw new W(401,"");return t}()}}function mw(){var n;return null!==(n=null==Nc?void 0:Nc.get(Jk))&&void 0!==n?n:null}let Jk=(()=>{class n{constructor(e){this._injector=e,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(e,i){const a=function T3(n,t){let e;return e="noop"===n?new _3:("zone.js"===n?void 0:n)||new yn({enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:!!(null==t?void 0:t.ngZoneEventCoalescing),shouldCoalesceRunChangeDetection:!!(null==t?void 0:t.ngZoneRunCoalescing)}),e}(i?i.ngZone:void 0,{ngZoneEventCoalescing:i&&i.ngZoneEventCoalescing||!1,ngZoneRunCoalescing:i&&i.ngZoneRunCoalescing||!1}),l=[{provide:yn,useValue:a}];return a.run(()=>{const h=qi.create({providers:l,parent:this.injector,name:e.moduleType.name}),f=e.create(h),D=f.injector.get(Ka,null);if(!D)throw new W(402,"");return a.runOutsideAngular(()=>{const k=a.onError.subscribe({next:Y=>{D.handleError(Y)}});f.onDestroy(()=>{fw(this._modules,f),k.unsubscribe()})}),function S3(n,t,e){try{const i=e();return zh(i)?i.catch(r=>{throw t.runOutsideAngular(()=>n.handleError(r)),r}):i}catch(i){throw t.runOutsideAngular(()=>n.handleError(i)),i}}(D,a,()=>{const k=f.injector.get(aw);return k.runInitializers(),k.donePromise.then(()=>(function rH(n){A(n,"Expected localeId to be defined"),"string"==typeof n&&(PS=n.toLowerCase().replace(/_/g,"-"))}(f.injector.get(tl,Mf)||Mf),this._moduleDoBootstrap(f),f))})})}bootstrapModule(e,i=[]){const r=ex({},i);return function w3(n,t,e){const i=new Gb(e);return Promise.resolve(i)}(0,0,e).then(s=>this.bootstrapModuleFactory(s,r))}_moduleDoBootstrap(e){const i=e.injector.get(Lf);if(e._bootstrapComponents.length>0)e._bootstrapComponents.forEach(r=>i.bootstrap(r));else{if(!e.instance.ngDoBootstrap)throw new W(403,"");e.instance.ngDoBootstrap(i)}this._modules.push(e)}onDestroy(e){this._destroyListeners.push(e)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new W(404,"");this._modules.slice().forEach(i=>i.destroy()),this._destroyListeners.forEach(i=>i());const e=this._injector.get(Kk,null);null==e||e(),this._destroyed=!0}get destroyed(){return this._destroyed}}return n.\u0275fac=function(e){return new(e||n)(Se(qi))},n.\u0275prov=De({token:n,factory:n.\u0275fac,providedIn:"platform"}),n})();function ex(n,t){return Array.isArray(t)?t.reduce(ex,n):Object.assign(Object.assign({},n),t)}let Lf=(()=>{class n{constructor(e,i,r,s){this._zone=e,this._injector=i,this._exceptionHandler=r,this._initStatus=s,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._stable=!0,this.componentTypes=[],this.components=[],this._onMicrotaskEmptySubscription=this._zone.onMicrotaskEmpty.subscribe({next:()=>{this._zone.run(()=>{this.tick()})}});const o=new st(l=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{l.next(this._stable),l.complete()})}),a=new st(l=>{let h;this._zone.runOutsideAngular(()=>{h=this._zone.onStable.subscribe(()=>{yn.assertNotInAngularZone(),cw(()=>{!this._stable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks&&(this._stable=!0,l.next(!0))})})});const f=this._zone.onUnstable.subscribe(()=>{yn.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{l.next(!1)}))});return()=>{h.unsubscribe(),f.unsubscribe()}});this.isStable=at(o,a.pipe(Ie()))}bootstrap(e,i){if(!this._initStatus.done)throw new W(405,"");let r;r=e instanceof ok?e:this._injector.get(Hl).resolveComponentFactory(e),this.componentTypes.push(r.componentType);const s=function M3(n){return n.isBoundToModule}(r)?void 0:this._injector.get(el),a=r.create(qi.NULL,[],i||r.selector,s),l=a.location.nativeElement,h=a.injector.get(hw,null),f=h&&a.injector.get(y3);return h&&f&&f.registerApplication(l,h),a.onDestroy(()=>{this.detachView(a.hostView),fw(this.components,a),f&&f.unregisterApplication(l)}),this._loadComponent(a),a}tick(){if(this._runningTick)throw new W(101,"");try{this._runningTick=!0;for(let e of this._views)e.detectChanges()}catch(e){this._zone.runOutsideAngular(()=>this._exceptionHandler.handleError(e))}finally{this._runningTick=!1}}attachView(e){const i=e;this._views.push(i),i.attachToAppRef(this)}detachView(e){const i=e;fw(this._views,i),i.detachFromAppRef()}_loadComponent(e){this.attachView(e.hostView),this.tick(),this.components.push(e),this._injector.get(zk,[]).concat(this._bootstrapListeners).forEach(r=>r(e))}ngOnDestroy(){this._views.slice().forEach(e=>e.destroy()),this._onMicrotaskEmptySubscription.unsubscribe()}get viewCount(){return this._views.length}}return n.\u0275fac=function(e){return new(e||n)(Se(yn),Se(qi),Se(Ka),Se(aw))},n.\u0275prov=De({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();function fw(n,t){const e=n.indexOf(t);e>-1&&n.splice(e,1)}let nx=!0,Gn=(()=>{class n{}return n.__NG_ELEMENT_ID__=I3,n})();function I3(n){return function A3(n,t,e){if(bu(n)&&!e){const i=gs(n.index,t);return new Xh(i,i)}return 47&n.type?new Xh(t[16],t):null}(gr(),Rt(),16==(16&n))}class ax{constructor(){}supports(t){return qh(t)}create(t){return new N3(t)}}const F3=(n,t)=>t;class N3{constructor(t){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=t||F3}forEachItem(t){let e;for(e=this._itHead;null!==e;e=e._next)t(e)}forEachOperation(t){let e=this._itHead,i=this._removalsHead,r=0,s=null;for(;e||i;){const o=!i||e&&e.currentIndex{o=this._trackByFn(r,a),null!==e&&Object.is(e.trackById,o)?(i&&(e=this._verifyReinsertion(e,a,o,r)),Object.is(e.item,a)||this._addIdentityChange(e,a)):(e=this._mismatch(e,a,o,r),i=!0),e=e._next,r++}),this.length=r;return this._truncate(e),this.collection=t,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let t;for(t=this._previousItHead=this._itHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._additionsHead;null!==t;t=t._nextAdded)t.previousIndex=t.currentIndex;for(this._additionsHead=this._additionsTail=null,t=this._movesHead;null!==t;t=t._nextMoved)t.previousIndex=t.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(t,e,i,r){let s;return null===t?s=this._itTail:(s=t._prev,this._remove(t)),null!==(t=null===this._unlinkedRecords?null:this._unlinkedRecords.get(i,null))?(Object.is(t.item,e)||this._addIdentityChange(t,e),this._reinsertAfter(t,s,r)):null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(i,r))?(Object.is(t.item,e)||this._addIdentityChange(t,e),this._moveAfter(t,s,r)):t=this._addAfter(new j3(e,i),s,r),t}_verifyReinsertion(t,e,i,r){let s=null===this._unlinkedRecords?null:this._unlinkedRecords.get(i,null);return null!==s?t=this._reinsertAfter(s,t._prev,r):t.currentIndex!=r&&(t.currentIndex=r,this._addToMoves(t,r)),t}_truncate(t){for(;null!==t;){const e=t._next;this._addToRemovals(this._unlink(t)),t=e}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(t,e,i){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(t);const r=t._prevRemoved,s=t._nextRemoved;return null===r?this._removalsHead=s:r._nextRemoved=s,null===s?this._removalsTail=r:s._prevRemoved=r,this._insertAfter(t,e,i),this._addToMoves(t,i),t}_moveAfter(t,e,i){return this._unlink(t),this._insertAfter(t,e,i),this._addToMoves(t,i),t}_addAfter(t,e,i){return this._insertAfter(t,e,i),this._additionsTail=null===this._additionsTail?this._additionsHead=t:this._additionsTail._nextAdded=t,t}_insertAfter(t,e,i){const r=null===e?this._itHead:e._next;return t._next=r,t._prev=e,null===r?this._itTail=t:r._prev=t,null===e?this._itHead=t:e._next=t,null===this._linkedRecords&&(this._linkedRecords=new lx),this._linkedRecords.put(t),t.currentIndex=i,t}_remove(t){return this._addToRemovals(this._unlink(t))}_unlink(t){null!==this._linkedRecords&&this._linkedRecords.remove(t);const e=t._prev,i=t._next;return null===e?this._itHead=i:e._next=i,null===i?this._itTail=e:i._prev=e,t}_addToMoves(t,e){return t.previousIndex===e||(this._movesTail=null===this._movesTail?this._movesHead=t:this._movesTail._nextMoved=t),t}_addToRemovals(t){return null===this._unlinkedRecords&&(this._unlinkedRecords=new lx),this._unlinkedRecords.put(t),t.currentIndex=null,t._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=t,t._prevRemoved=null):(t._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=t),t}_addIdentityChange(t,e){return t.item=e,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=t:this._identityChangesTail._nextIdentityChange=t,t}}class j3{constructor(t,e){this.item=t,this.trackById=e,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}}class B3{constructor(){this._head=null,this._tail=null}add(t){null===this._head?(this._head=this._tail=t,t._nextDup=null,t._prevDup=null):(this._tail._nextDup=t,t._prevDup=this._tail,t._nextDup=null,this._tail=t)}get(t,e){let i;for(i=this._head;null!==i;i=i._nextDup)if((null===e||e<=i.currentIndex)&&Object.is(i.trackById,t))return i;return null}remove(t){const e=t._prevDup,i=t._nextDup;return null===e?this._head=i:e._nextDup=i,null===i?this._tail=e:i._prevDup=e,null===this._head}}class lx{constructor(){this.map=new Map}put(t){const e=t.trackById;let i=this.map.get(e);i||(i=new B3,this.map.set(e,i)),i.add(t)}get(t,e){const r=this.map.get(t);return r?r.get(t,e):null}remove(t){const e=t.trackById;return this.map.get(e).remove(t)&&this.map.delete(e),t}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function cx(n,t,e){const i=n.previousIndex;if(null===i)return i;let r=0;return e&&i{if(e&&e.key===r)this._maybeAddToChanges(e,i),this._appendAfter=e,e=e._next;else{const s=this._getOrCreateRecordForKey(r,i);e=this._insertBeforeOrAppend(e,s)}}),e){e._prev&&(e._prev._next=null),this._removalsHead=e;for(let i=e;null!==i;i=i._nextRemoved)i===this._mapHead&&(this._mapHead=null),this._records.delete(i.key),i._nextRemoved=i._next,i.previousValue=i.currentValue,i.currentValue=null,i._prev=null,i._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(t,e){if(t){const i=t._prev;return e._next=t,e._prev=i,t._prev=e,i&&(i._next=e),t===this._mapHead&&(this._mapHead=e),this._appendAfter=t,t}return this._appendAfter?(this._appendAfter._next=e,e._prev=this._appendAfter):this._mapHead=e,this._appendAfter=e,null}_getOrCreateRecordForKey(t,e){if(this._records.has(t)){const r=this._records.get(t);this._maybeAddToChanges(r,e);const s=r._prev,o=r._next;return s&&(s._next=o),o&&(o._prev=s),r._next=null,r._prev=null,r}const i=new H3(t);return this._records.set(t,i),i.currentValue=e,this._addToAdditions(i),i}_reset(){if(this.isDirty){let t;for(this._previousMapHead=this._mapHead,t=this._previousMapHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._changesHead;null!==t;t=t._nextChanged)t.previousValue=t.currentValue;for(t=this._additionsHead;null!=t;t=t._nextAdded)t.previousValue=t.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(t,e){Object.is(e,t.currentValue)||(t.previousValue=t.currentValue,t.currentValue=e,this._addToChanges(t))}_addToAdditions(t){null===this._additionsHead?this._additionsHead=this._additionsTail=t:(this._additionsTail._nextAdded=t,this._additionsTail=t)}_addToChanges(t){null===this._changesHead?this._changesHead=this._changesTail=t:(this._changesTail._nextChanged=t,this._changesTail=t)}_forEach(t,e){t instanceof Map?t.forEach(e):Object.keys(t).forEach(i=>e(t[i],i))}}class H3{constructor(t){this.key=t,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}}function dx(){return new _o([new ax])}let _o=(()=>{class n{constructor(e){this.factories=e}static create(e,i){if(null!=i){const r=i.factories.slice();e=e.concat(r)}return new n(e)}static extend(e){return{provide:n,useFactory:i=>n.create(e,i||dx()),deps:[[n,new mo,new yr]]}}find(e){const i=this.factories.find(r=>r.supports(e));if(null!=i)return i;throw new W(901,"")}}return n.\u0275prov=De({token:n,providedIn:"root",factory:dx}),n})();function hx(){return new rp([new ux])}let rp=(()=>{class n{constructor(e){this.factories=e}static create(e,i){if(i){const r=i.factories.slice();e=e.concat(r)}return new n(e)}static extend(e){return{provide:n,useFactory:i=>n.create(e,i||hx()),deps:[[n,new mo,new yr]]}}find(e){const i=this.factories.find(s=>s.supports(e));if(i)return i;throw new W(901,"")}}return n.\u0275prov=De({token:n,providedIn:"root",factory:hx}),n})();const U3=Xk(null,"core",[]);let z3=(()=>{class n{constructor(e){}}return n.\u0275fac=function(e){return new(e||n)(Se(Lf))},n.\u0275mod=Ht({type:n}),n.\u0275inj=He({}),n})(),Ff=null;function ka(){return Ff}const Dn=new pt("DocumentToken");let Bc=(()=>{class n{historyGo(e){throw new Error("Not implemented")}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=De({token:n,factory:function(){return function Q3(){return Se(px)}()},providedIn:"platform"}),n})();const K3=new pt("Location Initialized");let px=(()=>{class n extends Bc{constructor(e){super(),this._doc=e,this._init()}_init(){this.location=window.location,this._history=window.history}getBaseHrefFromDOM(){return ka().getBaseHref(this._doc)}onPopState(e){const i=ka().getGlobalEventTarget(this._doc,"window");return i.addEventListener("popstate",e,!1),()=>i.removeEventListener("popstate",e)}onHashChange(e){const i=ka().getGlobalEventTarget(this._doc,"window");return i.addEventListener("hashchange",e,!1),()=>i.removeEventListener("hashchange",e)}get href(){return this.location.href}get protocol(){return this.location.protocol}get hostname(){return this.location.hostname}get port(){return this.location.port}get pathname(){return this.location.pathname}get search(){return this.location.search}get hash(){return this.location.hash}set pathname(e){this.location.pathname=e}pushState(e,i,r){mx()?this._history.pushState(e,i,r):this.location.hash=r}replaceState(e,i,r){mx()?this._history.replaceState(e,i,r):this.location.hash=r}forward(){this._history.forward()}back(){this._history.back()}historyGo(e=0){this._history.go(e)}getState(){return this._history.state}}return n.\u0275fac=function(e){return new(e||n)(Se(Dn))},n.\u0275prov=De({token:n,factory:function(){return function Z3(){return new px(Se(Dn))}()},providedIn:"platform"}),n})();function mx(){return!!window.history.pushState}function bw(n,t){if(0==n.length)return t;if(0==t.length)return n;let e=0;return n.endsWith("/")&&e++,t.startsWith("/")&&e++,2==e?n+t.substring(1):1==e?n+t:n+"/"+t}function fx(n){const t=n.match(/#|\?|$/),e=t&&t.index||n.length;return n.slice(0,e-("/"===n[e-1]?1:0))+n.slice(e)}function nl(n){return n&&"?"!==n[0]?"?"+n:n}let dd=(()=>{class n{historyGo(e){throw new Error("Not implemented")}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=De({token:n,factory:function(){return function X3(n){const t=Se(Dn).location;return new gx(Se(Bc),t&&t.origin||"")}()},providedIn:"root"}),n})();const ww=new pt("appBaseHref");let gx=(()=>{class n extends dd{constructor(e,i){if(super(),this._platformLocation=e,this._removeListenerFns=[],null==i&&(i=this._platformLocation.getBaseHrefFromDOM()),null==i)throw new Error("No base href set. Please provide a value for the APP_BASE_HREF token or add a base element to the document.");this._baseHref=i}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(e){this._removeListenerFns.push(this._platformLocation.onPopState(e),this._platformLocation.onHashChange(e))}getBaseHref(){return this._baseHref}prepareExternalUrl(e){return bw(this._baseHref,e)}path(e=!1){const i=this._platformLocation.pathname+nl(this._platformLocation.search),r=this._platformLocation.hash;return r&&e?`${i}${r}`:i}pushState(e,i,r,s){const o=this.prepareExternalUrl(r+nl(s));this._platformLocation.pushState(e,i,o)}replaceState(e,i,r,s){const o=this.prepareExternalUrl(r+nl(s));this._platformLocation.replaceState(e,i,o)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}historyGo(e=0){var i,r;null===(r=(i=this._platformLocation).historyGo)||void 0===r||r.call(i,e)}}return n.\u0275fac=function(e){return new(e||n)(Se(Bc),Se(ww,8))},n.\u0275prov=De({token:n,factory:n.\u0275fac}),n})(),J3=(()=>{class n extends dd{constructor(e,i){super(),this._platformLocation=e,this._baseHref="",this._removeListenerFns=[],null!=i&&(this._baseHref=i)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(e){this._removeListenerFns.push(this._platformLocation.onPopState(e),this._platformLocation.onHashChange(e))}getBaseHref(){return this._baseHref}path(e=!1){let i=this._platformLocation.hash;return null==i&&(i="#"),i.length>0?i.substring(1):i}prepareExternalUrl(e){const i=bw(this._baseHref,e);return i.length>0?"#"+i:i}pushState(e,i,r,s){let o=this.prepareExternalUrl(r+nl(s));0==o.length&&(o=this._platformLocation.pathname),this._platformLocation.pushState(e,i,o)}replaceState(e,i,r,s){let o=this.prepareExternalUrl(r+nl(s));0==o.length&&(o=this._platformLocation.pathname),this._platformLocation.replaceState(e,i,o)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}historyGo(e=0){var i,r;null===(r=(i=this._platformLocation).historyGo)||void 0===r||r.call(i,e)}}return n.\u0275fac=function(e){return new(e||n)(Se(Bc),Se(ww,8))},n.\u0275prov=De({token:n,factory:n.\u0275fac}),n})(),Yc=(()=>{class n{constructor(e,i){this._subject=new Yt,this._urlChangeListeners=[],this._platformStrategy=e;const r=this._platformStrategy.getBaseHref();this._platformLocation=i,this._baseHref=fx(_x(r)),this._platformStrategy.onPopState(s=>{this._subject.emit({url:this.path(!0),pop:!0,state:s.state,type:s.type})})}path(e=!1){return this.normalize(this._platformStrategy.path(e))}getState(){return this._platformLocation.getState()}isCurrentPathEqualTo(e,i=""){return this.path()==this.normalize(e+nl(i))}normalize(e){return n.stripTrailingSlash(function tq(n,t){return n&&t.startsWith(n)?t.substring(n.length):t}(this._baseHref,_x(e)))}prepareExternalUrl(e){return e&&"/"!==e[0]&&(e="/"+e),this._platformStrategy.prepareExternalUrl(e)}go(e,i="",r=null){this._platformStrategy.pushState(r,"",e,i),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+nl(i)),r)}replaceState(e,i="",r=null){this._platformStrategy.replaceState(r,"",e,i),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+nl(i)),r)}forward(){this._platformStrategy.forward()}back(){this._platformStrategy.back()}historyGo(e=0){var i,r;null===(r=(i=this._platformStrategy).historyGo)||void 0===r||r.call(i,e)}onUrlChange(e){this._urlChangeListeners.push(e),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(i=>{this._notifyUrlChangeListeners(i.url,i.state)}))}_notifyUrlChangeListeners(e="",i){this._urlChangeListeners.forEach(r=>r(e,i))}subscribe(e,i,r){return this._subject.subscribe({next:e,error:i,complete:r})}}return n.normalizeQueryParams=nl,n.joinWithSlash=bw,n.stripTrailingSlash=fx,n.\u0275fac=function(e){return new(e||n)(Se(dd),Se(Bc))},n.\u0275prov=De({token:n,factory:function(){return function eq(){return new Yc(Se(dd),Se(Bc))}()},providedIn:"root"}),n})();function _x(n){return n.replace(/\/index.html$/,"")}function Tx(n,t){t=encodeURIComponent(t);for(const e of n.split(";")){const i=e.indexOf("="),[r,s]=-1==i?[e,""]:[e.slice(0,i),e.slice(i+1)];if(r.trim()===t)return decodeURIComponent(s)}return null}let Hc=(()=>{class n{constructor(e,i,r,s){this._iterableDiffers=e,this._keyValueDiffers=i,this._ngEl=r,this._renderer=s,this._iterableDiffer=null,this._keyValueDiffer=null,this._initialClasses=[],this._rawClass=null}set klass(e){this._removeClasses(this._initialClasses),this._initialClasses="string"==typeof e?e.split(/\s+/):[],this._applyClasses(this._initialClasses),this._applyClasses(this._rawClass)}set ngClass(e){this._removeClasses(this._rawClass),this._applyClasses(this._initialClasses),this._iterableDiffer=null,this._keyValueDiffer=null,this._rawClass="string"==typeof e?e.split(/\s+/):e,this._rawClass&&(qh(this._rawClass)?this._iterableDiffer=this._iterableDiffers.find(this._rawClass).create():this._keyValueDiffer=this._keyValueDiffers.find(this._rawClass).create())}ngDoCheck(){if(this._iterableDiffer){const e=this._iterableDiffer.diff(this._rawClass);e&&this._applyIterableChanges(e)}else if(this._keyValueDiffer){const e=this._keyValueDiffer.diff(this._rawClass);e&&this._applyKeyValueChanges(e)}}_applyKeyValueChanges(e){e.forEachAddedItem(i=>this._toggleClass(i.key,i.currentValue)),e.forEachChangedItem(i=>this._toggleClass(i.key,i.currentValue)),e.forEachRemovedItem(i=>{i.previousValue&&this._toggleClass(i.key,!1)})}_applyIterableChanges(e){e.forEachAddedItem(i=>{if("string"!=typeof i.item)throw new Error(`NgClass can only toggle CSS classes expressed as strings, got ${Ke(i.item)}`);this._toggleClass(i.item,!0)}),e.forEachRemovedItem(i=>this._toggleClass(i.item,!1))}_applyClasses(e){e&&(Array.isArray(e)||e instanceof Set?e.forEach(i=>this._toggleClass(i,!0)):Object.keys(e).forEach(i=>this._toggleClass(i,!!e[i])))}_removeClasses(e){e&&(Array.isArray(e)||e instanceof Set?e.forEach(i=>this._toggleClass(i,!1)):Object.keys(e).forEach(i=>this._toggleClass(i,!1)))}_toggleClass(e,i){(e=e.trim())&&e.split(/\s+/g).forEach(r=>{i?this._renderer.addClass(this._ngEl.nativeElement,r):this._renderer.removeClass(this._ngEl.nativeElement,r)})}}return n.\u0275fac=function(e){return new(e||n)(M(_o),M(rp),M(Zt),M(Sa))},n.\u0275dir=rt({type:n,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"}}),n})();class Bq{constructor(t,e,i,r){this.$implicit=t,this.ngForOf=e,this.index=i,this.count=r}get first(){return 0===this.index}get last(){return this.index===this.count-1}get even(){return this.index%2==0}get odd(){return!this.even}}let jr=(()=>{class n{constructor(e,i,r){this._viewContainer=e,this._template=i,this._differs=r,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForOf(e){this._ngForOf=e,this._ngForOfDirty=!0}set ngForTrackBy(e){this._trackByFn=e}get ngForTrackBy(){return this._trackByFn}set ngForTemplate(e){e&&(this._template=e)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const e=this._ngForOf;!this._differ&&e&&(this._differ=this._differs.find(e).create(this.ngForTrackBy))}if(this._differ){const e=this._differ.diff(this._ngForOf);e&&this._applyChanges(e)}}_applyChanges(e){const i=this._viewContainer;e.forEachOperation((r,s,o)=>{if(null==r.previousIndex)i.createEmbeddedView(this._template,new Bq(r.item,this._ngForOf,-1,-1),null===o?void 0:o);else if(null==o)i.remove(null===s?void 0:s);else if(null!==s){const a=i.get(s);i.move(a,o),Sx(a,r)}});for(let r=0,s=i.length;r{Sx(i.get(r.currentIndex),r)})}static ngTemplateContextGuard(e,i){return!0}}return n.\u0275fac=function(e){return new(e||n)(M(Si),M(Wi),M(_o))},n.\u0275dir=rt({type:n,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}}),n})();function Sx(n,t){n.context.$implicit=t.item}let ai=(()=>{class n{constructor(e,i){this._viewContainer=e,this._context=new Yq,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=i}set ngIf(e){this._context.$implicit=this._context.ngIf=e,this._updateView()}set ngIfThen(e){kx("ngIfThen",e),this._thenTemplateRef=e,this._thenViewRef=null,this._updateView()}set ngIfElse(e){kx("ngIfElse",e),this._elseTemplateRef=e,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngTemplateContextGuard(e,i){return!0}}return n.\u0275fac=function(e){return new(e||n)(M(Si),M(Wi))},n.\u0275dir=rt({type:n,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}}),n})();class Yq{constructor(){this.$implicit=null,this.ngIf=null}}function kx(n,t){if(t&&!t.createEmbeddedView)throw new Error(`${n} must be a TemplateRef, but received '${Ke(t)}'.`)}const xx="browser";function ap(n){return n===xx}class Lw{constructor(t,e){this._viewContainerRef=t,this._templateRef=e,this._created=!1}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(t){t&&!this._created?this.create():!t&&this._created&&this.destroy()}}let hd=(()=>{class n{constructor(){this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}set ngSwitch(e){this._ngSwitch=e,0===this._caseCount&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(e){this._defaultViews||(this._defaultViews=[]),this._defaultViews.push(e)}_matchCase(e){const i=e==this._ngSwitch;return this._lastCasesMatched=this._lastCasesMatched||i,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),i}_updateDefaultCases(e){if(this._defaultViews&&e!==this._defaultUsed){this._defaultUsed=e;for(let i=0;i{class n{constructor(e,i,r){this.ngSwitch=r,r._addCase(),this._view=new Lw(e,i)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}}return n.\u0275fac=function(e){return new(e||n)(M(Si),M(Wi),M(hd,9))},n.\u0275dir=rt({type:n,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"}}),n})(),Ox=(()=>{class n{constructor(e,i,r){r._addDefault(new Lw(e,i))}}return n.\u0275fac=function(e){return new(e||n)(M(Si),M(Wi),M(hd,9))},n.\u0275dir=rt({type:n,selectors:[["","ngSwitchDefault",""]]}),n})(),ql=(()=>{class n{constructor(e,i,r){this._ngEl=e,this._differs=i,this._renderer=r,this._ngStyle=null,this._differ=null}set ngStyle(e){this._ngStyle=e,!this._differ&&e&&(this._differ=this._differs.find(e).create())}ngDoCheck(){if(this._differ){const e=this._differ.diff(this._ngStyle);e&&this._applyChanges(e)}}_setStyle(e,i){const[r,s]=e.split(".");null!=(i=null!=i&&s?`${i}${s}`:i)?this._renderer.setStyle(this._ngEl.nativeElement,r,i):this._renderer.removeStyle(this._ngEl.nativeElement,r)}_applyChanges(e){e.forEachRemovedItem(i=>this._setStyle(i.key,null)),e.forEachAddedItem(i=>this._setStyle(i.key,i.currentValue)),e.forEachChangedItem(i=>this._setStyle(i.key,i.currentValue))}}return n.\u0275fac=function(e){return new(e||n)(M(Zt),M(rp),M(Sa))},n.\u0275dir=rt({type:n,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"}}),n})();class _U{createSubscription(t,e){return t.subscribe({next:e,error:i=>{throw i}})}dispose(t){t.unsubscribe()}onDestroy(t){t.unsubscribe()}}class yU{createSubscription(t,e){return t.then(e,i=>{throw i})}dispose(t){}onDestroy(t){}}const vU=new yU,bU=new _U;let rl=(()=>{class n{constructor(e){this._ref=e,this._latestValue=null,this._subscription=null,this._obj=null,this._strategy=null}ngOnDestroy(){this._subscription&&this._dispose()}transform(e){return this._obj?e!==this._obj?(this._dispose(),this.transform(e)):this._latestValue:(e&&this._subscribe(e),this._latestValue)}_subscribe(e){this._obj=e,this._strategy=this._selectStrategy(e),this._subscription=this._strategy.createSubscription(e,i=>this._updateLatestValue(e,i))}_selectStrategy(e){if(zh(e))return vU;if(GT(e))return bU;throw function Qo(n,t){return new W(2100,"")}()}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(e,i){e===this._obj&&(this._latestValue=i,this._ref.markForCheck())}}return n.\u0275fac=function(e){return new(e||n)(M(Gn,16))},n.\u0275pipe=Sr({name:"async",type:n,pure:!1}),n})(),di=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Ht({type:n}),n.\u0275inj=He({}),n})(),NU=(()=>{class n{}return n.\u0275prov=De({token:n,providedIn:"root",factory:()=>new jU(Se(Dn),window)}),n})();class jU{constructor(t,e){this.document=t,this.window=e,this.offset=()=>[0,0]}setOffset(t){this.offset=Array.isArray(t)?()=>t:t}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(t){this.supportsScrolling()&&this.window.scrollTo(t[0],t[1])}scrollToAnchor(t){if(!this.supportsScrolling())return;const e=function BU(n,t){const e=n.getElementById(t)||n.getElementsByName(t)[0];if(e)return e;if("function"==typeof n.createTreeWalker&&n.body&&(n.body.createShadowRoot||n.body.attachShadow)){const i=n.createTreeWalker(n.body,NodeFilter.SHOW_ELEMENT);let r=i.currentNode;for(;r;){const s=r.shadowRoot;if(s){const o=s.getElementById(t)||s.querySelector(`[name="${t}"]`);if(o)return o}r=i.nextNode()}}return null}(this.document,t);e&&(this.scrollToElement(e),e.focus())}setHistoryScrollRestoration(t){if(this.supportScrollRestoration()){const e=this.window.history;e&&e.scrollRestoration&&(e.scrollRestoration=t)}}scrollToElement(t){const e=t.getBoundingClientRect(),i=e.left+this.window.pageXOffset,r=e.top+this.window.pageYOffset,s=this.offset();this.window.scrollTo(i-s[0],r-s[1])}supportScrollRestoration(){try{if(!this.supportsScrolling())return!1;const t=Nx(this.window.history)||Nx(Object.getPrototypeOf(this.window.history));return!(!t||!t.writable&&!t.set)}catch(t){return!1}}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch(t){return!1}}}function Nx(n){return Object.getOwnPropertyDescriptor(n,"scrollRestoration")}class jx{}class Fw extends class HU extends class W3{}{constructor(){super(...arguments),this.supportsDOMEvents=!0}}{static makeCurrent(){!function $3(n){Ff||(Ff=n)}(new Fw)}onAndCancel(t,e,i){return t.addEventListener(e,i,!1),()=>{t.removeEventListener(e,i,!1)}}dispatchEvent(t,e){t.dispatchEvent(e)}remove(t){t.parentNode&&t.parentNode.removeChild(t)}createElement(t,e){return(e=e||this.getDefaultDocument()).createElement(t)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(t){return t.nodeType===Node.ELEMENT_NODE}isShadowRoot(t){return t instanceof DocumentFragment}getGlobalEventTarget(t,e){return"window"===e?window:"document"===e?t:"body"===e?t.body:null}getBaseHref(t){const e=function VU(){return cp=cp||document.querySelector("base"),cp?cp.getAttribute("href"):null}();return null==e?null:function qU(n){Qf=Qf||document.createElement("a"),Qf.setAttribute("href",n);const t=Qf.pathname;return"/"===t.charAt(0)?t:`/${t}`}(e)}resetBaseElement(){cp=null}getUserAgent(){return window.navigator.userAgent}getCookie(t){return Tx(document.cookie,t)}}let Qf,cp=null;const Bx=new pt("TRANSITION_ID"),zU=[{provide:ow,useFactory:function UU(n,t,e){return()=>{e.get(aw).donePromise.then(()=>{const i=ka(),r=t.querySelectorAll(`style[ng-transition="${n}"]`);for(let s=0;s{const s=t.findTestabilityInTree(i,r);if(null==s)throw new Error("Could not find testability for element.");return s},Ei.getAllAngularTestabilities=()=>t.getAllTestabilities(),Ei.getAllAngularRootElements=()=>t.getAllRootElements(),Ei.frameworkStabilizers||(Ei.frameworkStabilizers=[]),Ei.frameworkStabilizers.push(i=>{const r=Ei.getAllAngularTestabilities();let s=r.length,o=!1;const a=function(l){o=o||l,s--,0==s&&i(o)};r.forEach(function(l){l.whenStable(a)})})}findTestabilityInTree(t,e,i){if(null==e)return null;const r=t.getTestability(e);return null!=r?r:i?ka().isShadowRoot(e)?this.findTestabilityInTree(t,e.host,!0):this.findTestabilityInTree(t,e.parentElement,!0):null}}let GU=(()=>{class n{build(){return new XMLHttpRequest}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=De({token:n,factory:n.\u0275fac}),n})();const Kf=new pt("EventManagerPlugins");let Zf=(()=>{class n{constructor(e,i){this._zone=i,this._eventNameToPlugin=new Map,e.forEach(r=>r.manager=this),this._plugins=e.slice().reverse()}addEventListener(e,i,r){return this._findPluginFor(i).addEventListener(e,i,r)}addGlobalEventListener(e,i,r){return this._findPluginFor(i).addGlobalEventListener(e,i,r)}getZone(){return this._zone}_findPluginFor(e){const i=this._eventNameToPlugin.get(e);if(i)return i;const r=this._plugins;for(let s=0;s{class n{constructor(){this._stylesSet=new Set}addStyles(e){const i=new Set;e.forEach(r=>{this._stylesSet.has(r)||(this._stylesSet.add(r),i.add(r))}),this.onStylesAdded(i)}onStylesAdded(e){}getAllStyles(){return Array.from(this._stylesSet)}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=De({token:n,factory:n.\u0275fac}),n})(),up=(()=>{class n extends Hx{constructor(e){super(),this._doc=e,this._hostNodes=new Map,this._hostNodes.set(e.head,[])}_addStylesToHost(e,i,r){e.forEach(s=>{const o=this._doc.createElement("style");o.textContent=s,r.push(i.appendChild(o))})}addHost(e){const i=[];this._addStylesToHost(this._stylesSet,e,i),this._hostNodes.set(e,i)}removeHost(e){const i=this._hostNodes.get(e);i&&i.forEach(Vx),this._hostNodes.delete(e)}onStylesAdded(e){this._hostNodes.forEach((i,r)=>{this._addStylesToHost(e,r,i)})}ngOnDestroy(){this._hostNodes.forEach(e=>e.forEach(Vx))}}return n.\u0275fac=function(e){return new(e||n)(Se(Dn))},n.\u0275prov=De({token:n,factory:n.\u0275fac}),n})();function Vx(n){ka().remove(n)}const jw={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/MathML/"},Bw=/%COMP%/g;function Xf(n,t,e){for(let i=0;i{if("__ngUnwrap__"===t)return n;!1===n(t)&&(t.preventDefault(),t.returnValue=!1)}}let Jf=(()=>{class n{constructor(e,i,r){this.eventManager=e,this.sharedStylesHost=i,this.appId=r,this.rendererByCompId=new Map,this.defaultRenderer=new Yw(e)}createRenderer(e,i){if(!e||!i)return this.defaultRenderer;switch(i.encapsulation){case is.Emulated:{let r=this.rendererByCompId.get(i.id);return r||(r=new XU(this.eventManager,this.sharedStylesHost,i,this.appId),this.rendererByCompId.set(i.id,r)),r.applyToHost(e),r}case 1:case is.ShadowDom:return new JU(this.eventManager,this.sharedStylesHost,e,i);default:if(!this.rendererByCompId.has(i.id)){const r=Xf(i.id,i.styles,[]);this.sharedStylesHost.addStyles(r),this.rendererByCompId.set(i.id,this.defaultRenderer)}return this.defaultRenderer}}begin(){}end(){}}return n.\u0275fac=function(e){return new(e||n)(Se(Zf),Se(up),Se(np))},n.\u0275prov=De({token:n,factory:n.\u0275fac}),n})();class Yw{constructor(t){this.eventManager=t,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(t,e){return e?document.createElementNS(jw[e]||e,t):document.createElement(t)}createComment(t){return document.createComment(t)}createText(t){return document.createTextNode(t)}appendChild(t,e){t.appendChild(e)}insertBefore(t,e,i){t&&t.insertBefore(e,i)}removeChild(t,e){t&&t.removeChild(e)}selectRootElement(t,e){let i="string"==typeof t?document.querySelector(t):t;if(!i)throw new Error(`The selector "${t}" did not match any elements`);return e||(i.textContent=""),i}parentNode(t){return t.parentNode}nextSibling(t){return t.nextSibling}setAttribute(t,e,i,r){if(r){e=r+":"+e;const s=jw[r];s?t.setAttributeNS(s,e,i):t.setAttribute(e,i)}else t.setAttribute(e,i)}removeAttribute(t,e,i){if(i){const r=jw[i];r?t.removeAttributeNS(r,e):t.removeAttribute(`${i}:${e}`)}else t.removeAttribute(e)}addClass(t,e){t.classList.add(e)}removeClass(t,e){t.classList.remove(e)}setStyle(t,e,i,r){r&(Ws.DashCase|Ws.Important)?t.style.setProperty(e,i,r&Ws.Important?"important":""):t.style[e]=i}removeStyle(t,e,i){i&Ws.DashCase?t.style.removeProperty(e):t.style[e]=""}setProperty(t,e,i){t[e]=i}setValue(t,e){t.nodeValue=e}listen(t,e,i){return"string"==typeof t?this.eventManager.addGlobalEventListener(t,e,zx(i)):this.eventManager.addEventListener(t,e,zx(i))}}class XU extends Yw{constructor(t,e,i,r){super(t),this.component=i;const s=Xf(r+"-"+i.id,i.styles,[]);e.addStyles(s),this.contentAttr=function QU(n){return"_ngcontent-%COMP%".replace(Bw,n)}(r+"-"+i.id),this.hostAttr=function KU(n){return"_nghost-%COMP%".replace(Bw,n)}(r+"-"+i.id)}applyToHost(t){super.setAttribute(t,this.hostAttr,"")}createElement(t,e){const i=super.createElement(t,e);return super.setAttribute(i,this.contentAttr,""),i}}class JU extends Yw{constructor(t,e,i,r){super(t),this.sharedStylesHost=e,this.hostEl=i,this.shadowRoot=i.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const s=Xf(r.id,r.styles,[]);for(let o=0;o{class n extends Yx{constructor(e){super(e)}supports(e){return!0}addEventListener(e,i,r){return e.addEventListener(i,r,!1),()=>this.removeEventListener(e,i,r)}removeEventListener(e,i,r){return e.removeEventListener(i,r)}}return n.\u0275fac=function(e){return new(e||n)(Se(Dn))},n.\u0275prov=De({token:n,factory:n.\u0275fac}),n})();const $x=["alt","control","meta","shift"],n4={"\b":"Backspace","\t":"Tab","\x7f":"Delete","\x1b":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},Wx={A:"1",B:"2",C:"3",D:"4",E:"5",F:"6",G:"7",H:"8",I:"9",J:"*",K:"+",M:"-",N:".",O:"/","`":"0","\x90":"NumLock"},r4={alt:n=>n.altKey,control:n=>n.ctrlKey,meta:n=>n.metaKey,shift:n=>n.shiftKey};let s4=(()=>{class n extends Yx{constructor(e){super(e)}supports(e){return null!=n.parseEventName(e)}addEventListener(e,i,r){const s=n.parseEventName(i),o=n.eventCallback(s.fullKey,r,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>ka().onAndCancel(e,s.domEventName,o))}static parseEventName(e){const i=e.toLowerCase().split("."),r=i.shift();if(0===i.length||"keydown"!==r&&"keyup"!==r)return null;const s=n._normalizeKey(i.pop());let o="";if($x.forEach(l=>{const h=i.indexOf(l);h>-1&&(i.splice(h,1),o+=l+".")}),o+=s,0!=i.length||0===s.length)return null;const a={};return a.domEventName=r,a.fullKey=o,a}static getEventFullKey(e){let i="",r=function o4(n){let t=n.key;if(null==t){if(t=n.keyIdentifier,null==t)return"Unidentified";t.startsWith("U+")&&(t=String.fromCharCode(parseInt(t.substring(2),16)),3===n.location&&Wx.hasOwnProperty(t)&&(t=Wx[t]))}return n4[t]||t}(e);return r=r.toLowerCase()," "===r?r="space":"."===r&&(r="dot"),$x.forEach(s=>{s!=r&&r4[s](e)&&(i+=s+".")}),i+=r,i}static eventCallback(e,i,r){return s=>{n.getEventFullKey(s)===e&&r.runGuarded(()=>i(s))}}static _normalizeKey(e){return"esc"===e?"escape":e}}return n.\u0275fac=function(e){return new(e||n)(Se(Dn))},n.\u0275prov=De({token:n,factory:n.\u0275fac}),n})();const u4=Xk(U3,"browser",[{provide:ip,useValue:xx},{provide:Uk,useValue:function a4(){Fw.makeCurrent(),Nw.init()},multi:!0},{provide:Dn,useFactory:function c4(){return function Wy(n){Du=n}(document),document},deps:[]}]),d4=[{provide:wb,useValue:"root"},{provide:Ka,useFactory:function l4(){return new Ka},deps:[]},{provide:Kf,useClass:e4,multi:!0,deps:[Dn,yn,ip]},{provide:Kf,useClass:s4,multi:!0,deps:[Dn]},{provide:Jf,useClass:Jf,deps:[Zf,up,np]},{provide:Zh,useExisting:Jf},{provide:Hx,useExisting:up},{provide:up,useClass:up,deps:[Dn]},{provide:hw,useClass:hw,deps:[yn]},{provide:Zf,useClass:Zf,deps:[Kf,yn]},{provide:jx,useClass:GU,deps:[]}];let Qx=(()=>{class n{constructor(e){if(e)throw new Error("BrowserModule has already been loaded. If you need access to common directives such as NgIf and NgFor from a lazy loaded module, import CommonModule instead.")}static withServerTransition(e){return{ngModule:n,providers:[{provide:np,useValue:e.appId},{provide:Bx,useExisting:np},zU]}}}return n.\u0275fac=function(e){return new(e||n)(Se(n,12))},n.\u0275mod=Ht({type:n}),n.\u0275inj=He({providers:d4,imports:[di,z3]}),n})(),eg=(()=>{class n{constructor(e){this._doc=e}getTitle(){return this._doc.title}setTitle(e){this._doc.title=e||""}}return n.\u0275fac=function(e){return new(e||n)(Se(Dn))},n.\u0275prov=De({token:n,factory:function(e){let i=null;return i=e?new e:function p4(){return new eg(Se(Dn))}(),i},providedIn:"root"}),n})();"undefined"!=typeof window&&window;let sl=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=De({token:n,factory:function(e){let i=null;return i=e?new(e||n):Se(Xx),i},providedIn:"root"}),n})(),Xx=(()=>{class n extends sl{constructor(e){super(),this._doc=e}sanitize(e,i){if(null==i)return null;switch(e){case _i.NONE:return i;case _i.HTML:return va(i,"HTML")?Qs(i):DC(this._doc,String(i)).toString();case _i.STYLE:return va(i,"Style")?Qs(i):i;case _i.SCRIPT:if(va(i,"Script"))return Qs(i);throw new Error("unsafe value used in a script context");case _i.URL:return fC(i),va(i,"URL")?Qs(i):Nh(String(i));case _i.RESOURCE_URL:if(va(i,"ResourceURL"))return Qs(i);throw new Error("unsafe value used in a resource URL context (see https://g.co/ng/security#xss)");default:throw new Error(`Unexpected SecurityContext ${e} (see https://g.co/ng/security#xss)`)}}bypassSecurityTrustHtml(e){return function H2(n){return new F2(n)}(e)}bypassSecurityTrustStyle(e){return function V2(n){return new N2(n)}(e)}bypassSecurityTrustScript(e){return function q2(n){return new j2(n)}(e)}bypassSecurityTrustUrl(e){return function U2(n){return new B2(n)}(e)}bypassSecurityTrustResourceUrl(e){return function z2(n){return new Y2(n)}(e)}}return n.\u0275fac=function(e){return new(e||n)(Se(Dn))},n.\u0275prov=De({token:n,factory:function(e){let i=null;return i=e?new e:function w4(n){return new Xx(n.get(Dn))}(Se(qi)),i},providedIn:"root"}),n})();function Wt(...n){let t=n[n.length-1];return Ne(t)?(n.pop(),Te(n,t)):Ze(n)}function pd(n,t){return ue(n,t,1)}function hi(n,t){return function(i){return i.lift(new M4(n,t))}}class M4{constructor(t,e){this.predicate=t,this.thisArg=e}call(t,e){return e.subscribe(new D4(t,this.predicate,this.thisArg))}}class D4 extends F{constructor(t,e,i){super(t),this.predicate=e,this.thisArg=i,this.count=0}_next(t){let e;try{e=this.predicate.call(this.thisArg,t,this.count++)}catch(i){return void this.destination.error(i)}e&&this.destination.next(t)}}class Jx{}class e1{}class Ko{constructor(t){this.normalizedNames=new Map,this.lazyUpdate=null,t?this.lazyInit="string"==typeof t?()=>{this.headers=new Map,t.split("\n").forEach(e=>{const i=e.indexOf(":");if(i>0){const r=e.slice(0,i),s=r.toLowerCase(),o=e.slice(i+1).trim();this.maybeSetNormalizedName(r,s),this.headers.has(s)?this.headers.get(s).push(o):this.headers.set(s,[o])}})}:()=>{this.headers=new Map,Object.keys(t).forEach(e=>{let i=t[e];const r=e.toLowerCase();"string"==typeof i&&(i=[i]),i.length>0&&(this.headers.set(r,i),this.maybeSetNormalizedName(e,r))})}:this.headers=new Map}has(t){return this.init(),this.headers.has(t.toLowerCase())}get(t){this.init();const e=this.headers.get(t.toLowerCase());return e&&e.length>0?e[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(t){return this.init(),this.headers.get(t.toLowerCase())||null}append(t,e){return this.clone({name:t,value:e,op:"a"})}set(t,e){return this.clone({name:t,value:e,op:"s"})}delete(t,e){return this.clone({name:t,value:e,op:"d"})}maybeSetNormalizedName(t,e){this.normalizedNames.has(e)||this.normalizedNames.set(e,t)}init(){this.lazyInit&&(this.lazyInit instanceof Ko?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(t=>this.applyUpdate(t)),this.lazyUpdate=null))}copyFrom(t){t.init(),Array.from(t.headers.keys()).forEach(e=>{this.headers.set(e,t.headers.get(e)),this.normalizedNames.set(e,t.normalizedNames.get(e))})}clone(t){const e=new Ko;return e.lazyInit=this.lazyInit&&this.lazyInit instanceof Ko?this.lazyInit:this,e.lazyUpdate=(this.lazyUpdate||[]).concat([t]),e}applyUpdate(t){const e=t.name.toLowerCase();switch(t.op){case"a":case"s":let i=t.value;if("string"==typeof i&&(i=[i]),0===i.length)return;this.maybeSetNormalizedName(t.name,e);const r=("a"===t.op?this.headers.get(e):void 0)||[];r.push(...i),this.headers.set(e,r);break;case"d":const s=t.value;if(s){let o=this.headers.get(e);if(!o)return;o=o.filter(a=>-1===s.indexOf(a)),0===o.length?(this.headers.delete(e),this.normalizedNames.delete(e)):this.headers.set(e,o)}else this.headers.delete(e),this.normalizedNames.delete(e)}}forEach(t){this.init(),Array.from(this.normalizedNames.keys()).forEach(e=>t(this.normalizedNames.get(e),this.headers.get(e)))}}class E4{encodeKey(t){return t1(t)}encodeValue(t){return t1(t)}decodeKey(t){return decodeURIComponent(t)}decodeValue(t){return decodeURIComponent(t)}}const T4=/%(\d[a-f0-9])/gi,S4={40:"@","3A":":",24:"$","2C":",","3B":";","2B":"+","3D":"=","3F":"?","2F":"/"};function t1(n){return encodeURIComponent(n).replace(T4,(t,e)=>{var i;return null!==(i=S4[e])&&void 0!==i?i:t})}function n1(n){return`${n}`}class zl{constructor(t={}){if(this.updates=null,this.cloneFrom=null,this.encoder=t.encoder||new E4,t.fromString){if(t.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function C4(n,t){const e=new Map;return n.length>0&&n.replace(/^\?/,"").split("&").forEach(r=>{const s=r.indexOf("="),[o,a]=-1==s?[t.decodeKey(r),""]:[t.decodeKey(r.slice(0,s)),t.decodeValue(r.slice(s+1))],l=e.get(o)||[];l.push(a),e.set(o,l)}),e}(t.fromString,this.encoder)}else t.fromObject?(this.map=new Map,Object.keys(t.fromObject).forEach(e=>{const i=t.fromObject[e];this.map.set(e,Array.isArray(i)?i:[i])})):this.map=null}has(t){return this.init(),this.map.has(t)}get(t){this.init();const e=this.map.get(t);return e?e[0]:null}getAll(t){return this.init(),this.map.get(t)||null}keys(){return this.init(),Array.from(this.map.keys())}append(t,e){return this.clone({param:t,value:e,op:"a"})}appendAll(t){const e=[];return Object.keys(t).forEach(i=>{const r=t[i];Array.isArray(r)?r.forEach(s=>{e.push({param:i,value:s,op:"a"})}):e.push({param:i,value:r,op:"a"})}),this.clone(e)}set(t,e){return this.clone({param:t,value:e,op:"s"})}delete(t,e){return this.clone({param:t,value:e,op:"d"})}toString(){return this.init(),this.keys().map(t=>{const e=this.encoder.encodeKey(t);return this.map.get(t).map(i=>e+"="+this.encoder.encodeValue(i)).join("&")}).filter(t=>""!==t).join("&")}clone(t){const e=new zl({encoder:this.encoder});return e.cloneFrom=this.cloneFrom||this,e.updates=(this.updates||[]).concat(t),e}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(t=>this.map.set(t,this.cloneFrom.map.get(t))),this.updates.forEach(t=>{switch(t.op){case"a":case"s":const e=("a"===t.op?this.map.get(t.param):void 0)||[];e.push(n1(t.value)),this.map.set(t.param,e);break;case"d":if(void 0===t.value){this.map.delete(t.param);break}{let i=this.map.get(t.param)||[];const r=i.indexOf(n1(t.value));-1!==r&&i.splice(r,1),i.length>0?this.map.set(t.param,i):this.map.delete(t.param)}}}),this.cloneFrom=this.updates=null)}}class k4{constructor(){this.map=new Map}set(t,e){return this.map.set(t,e),this}get(t){return this.map.has(t)||this.map.set(t,t.defaultValue()),this.map.get(t)}delete(t){return this.map.delete(t),this}has(t){return this.map.has(t)}keys(){return this.map.keys()}}function r1(n){return"undefined"!=typeof ArrayBuffer&&n instanceof ArrayBuffer}function s1(n){return"undefined"!=typeof Blob&&n instanceof Blob}function o1(n){return"undefined"!=typeof FormData&&n instanceof FormData}class dp{constructor(t,e,i,r){let s;if(this.url=e,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=t.toUpperCase(),function x4(n){switch(n){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||r?(this.body=void 0!==i?i:null,s=r):s=i,s&&(this.reportProgress=!!s.reportProgress,this.withCredentials=!!s.withCredentials,s.responseType&&(this.responseType=s.responseType),s.headers&&(this.headers=s.headers),s.context&&(this.context=s.context),s.params&&(this.params=s.params)),this.headers||(this.headers=new Ko),this.context||(this.context=new k4),this.params){const o=this.params.toString();if(0===o.length)this.urlWithParams=e;else{const a=e.indexOf("?");this.urlWithParams=e+(-1===a?"?":ak.set(Y,t.setHeaders[Y]),h)),t.setParams&&(f=Object.keys(t.setParams).reduce((k,Y)=>k.set(Y,t.setParams[Y]),f)),new dp(i,r,o,{params:f,headers:h,context:D,reportProgress:l,responseType:s,withCredentials:a})}}var Ir=(()=>((Ir=Ir||{})[Ir.Sent=0]="Sent",Ir[Ir.UploadProgress=1]="UploadProgress",Ir[Ir.ResponseHeader=2]="ResponseHeader",Ir[Ir.DownloadProgress=3]="DownloadProgress",Ir[Ir.Response=4]="Response",Ir[Ir.User=5]="User",Ir))();class Vw{constructor(t,e=200,i="OK"){this.headers=t.headers||new Ko,this.status=void 0!==t.status?t.status:e,this.statusText=t.statusText||i,this.url=t.url||null,this.ok=this.status>=200&&this.status<300}}class qw extends Vw{constructor(t={}){super(t),this.type=Ir.ResponseHeader}clone(t={}){return new qw({headers:t.headers||this.headers,status:void 0!==t.status?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})}}class tg extends Vw{constructor(t={}){super(t),this.type=Ir.Response,this.body=void 0!==t.body?t.body:null}clone(t={}){return new tg({body:void 0!==t.body?t.body:this.body,headers:t.headers||this.headers,status:void 0!==t.status?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})}}class md extends Vw{constructor(t){super(t,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${t.url||"(unknown url)"}`:`Http failure response for ${t.url||"(unknown url)"}: ${t.status} ${t.statusText}`,this.error=t.error||null}}function Uw(n,t){return{body:t,headers:n.headers,context:n.context,observe:n.observe,params:n.params,reportProgress:n.reportProgress,responseType:n.responseType,withCredentials:n.withCredentials}}let hp=(()=>{class n{constructor(e){this.handler=e}request(e,i,r={}){let s;if(e instanceof dp)s=e;else{let l,h;l=r.headers instanceof Ko?r.headers:new Ko(r.headers),r.params&&(h=r.params instanceof zl?r.params:new zl({fromObject:r.params})),s=new dp(e,i,void 0!==r.body?r.body:null,{headers:l,context:r.context,params:h,reportProgress:r.reportProgress,responseType:r.responseType||"json",withCredentials:r.withCredentials})}const o=Wt(s).pipe(pd(l=>this.handler.handle(l)));if(e instanceof dp||"events"===r.observe)return o;const a=o.pipe(hi(l=>l instanceof tg));switch(r.observe||"body"){case"body":switch(s.responseType){case"arraybuffer":return a.pipe(_e(l=>{if(null!==l.body&&!(l.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return l.body}));case"blob":return a.pipe(_e(l=>{if(null!==l.body&&!(l.body instanceof Blob))throw new Error("Response is not a Blob.");return l.body}));case"text":return a.pipe(_e(l=>{if(null!==l.body&&"string"!=typeof l.body)throw new Error("Response is not a string.");return l.body}));default:return a.pipe(_e(l=>l.body))}case"response":return a;default:throw new Error(`Unreachable: unhandled observe type ${r.observe}}`)}}delete(e,i={}){return this.request("DELETE",e,i)}get(e,i={}){return this.request("GET",e,i)}head(e,i={}){return this.request("HEAD",e,i)}jsonp(e,i){return this.request("JSONP",e,{params:(new zl).append(i,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(e,i={}){return this.request("OPTIONS",e,i)}patch(e,i,r={}){return this.request("PATCH",e,Uw(r,i))}post(e,i,r={}){return this.request("POST",e,Uw(r,i))}put(e,i,r={}){return this.request("PUT",e,Uw(r,i))}}return n.\u0275fac=function(e){return new(e||n)(Se(Jx))},n.\u0275prov=De({token:n,factory:n.\u0275fac}),n})();class a1{constructor(t,e){this.next=t,this.interceptor=e}handle(t){return this.interceptor.intercept(t,this.next)}}const l1=new pt("HTTP_INTERCEPTORS");let A4=(()=>{class n{intercept(e,i){return i.handle(e)}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=De({token:n,factory:n.\u0275fac}),n})();const R4=/^\)\]\}',?\n/;let c1=(()=>{class n{constructor(e){this.xhrFactory=e}handle(e){if("JSONP"===e.method)throw new Error("Attempted to construct Jsonp request without HttpClientJsonpModule installed.");return new st(i=>{const r=this.xhrFactory.build();if(r.open(e.method,e.urlWithParams),e.withCredentials&&(r.withCredentials=!0),e.headers.forEach((Y,oe)=>r.setRequestHeader(Y,oe.join(","))),e.headers.has("Accept")||r.setRequestHeader("Accept","application/json, text/plain, */*"),!e.headers.has("Content-Type")){const Y=e.detectContentTypeHeader();null!==Y&&r.setRequestHeader("Content-Type",Y)}if(e.responseType){const Y=e.responseType.toLowerCase();r.responseType="json"!==Y?Y:"text"}const s=e.serializeBody();let o=null;const a=()=>{if(null!==o)return o;const Y=r.statusText||"OK",oe=new Ko(r.getAllResponseHeaders()),Fe=function L4(n){return"responseURL"in n&&n.responseURL?n.responseURL:/^X-Request-URL:/m.test(n.getAllResponseHeaders())?n.getResponseHeader("X-Request-URL"):null}(r)||e.url;return o=new qw({headers:oe,status:r.status,statusText:Y,url:Fe}),o},l=()=>{let{headers:Y,status:oe,statusText:Fe,url:We}=a(),it=null;204!==oe&&(it=void 0===r.response?r.responseText:r.response),0===oe&&(oe=it?200:0);let Ue=oe>=200&&oe<300;if("json"===e.responseType&&"string"==typeof it){const Lt=it;it=it.replace(R4,"");try{it=""!==it?JSON.parse(it):null}catch(Gt){it=Lt,Ue&&(Ue=!1,it={error:Gt,text:it})}}Ue?(i.next(new tg({body:it,headers:Y,status:oe,statusText:Fe,url:We||void 0})),i.complete()):i.error(new md({error:it,headers:Y,status:oe,statusText:Fe,url:We||void 0}))},h=Y=>{const{url:oe}=a(),Fe=new md({error:Y,status:r.status||0,statusText:r.statusText||"Unknown Error",url:oe||void 0});i.error(Fe)};let f=!1;const D=Y=>{f||(i.next(a()),f=!0);let oe={type:Ir.DownloadProgress,loaded:Y.loaded};Y.lengthComputable&&(oe.total=Y.total),"text"===e.responseType&&!!r.responseText&&(oe.partialText=r.responseText),i.next(oe)},k=Y=>{let oe={type:Ir.UploadProgress,loaded:Y.loaded};Y.lengthComputable&&(oe.total=Y.total),i.next(oe)};return r.addEventListener("load",l),r.addEventListener("error",h),r.addEventListener("timeout",h),r.addEventListener("abort",h),e.reportProgress&&(r.addEventListener("progress",D),null!==s&&r.upload&&r.upload.addEventListener("progress",k)),r.send(s),i.next({type:Ir.Sent}),()=>{r.removeEventListener("error",h),r.removeEventListener("abort",h),r.removeEventListener("load",l),r.removeEventListener("timeout",h),e.reportProgress&&(r.removeEventListener("progress",D),null!==s&&r.upload&&r.upload.removeEventListener("progress",k)),r.readyState!==r.DONE&&r.abort()}})}}return n.\u0275fac=function(e){return new(e||n)(Se(jx))},n.\u0275prov=De({token:n,factory:n.\u0275fac}),n})();const zw=new pt("XSRF_COOKIE_NAME"),Gw=new pt("XSRF_HEADER_NAME");class u1{}let O4=(()=>{class n{constructor(e,i,r){this.doc=e,this.platform=i,this.cookieName=r,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const e=this.doc.cookie||"";return e!==this.lastCookieString&&(this.parseCount++,this.lastToken=Tx(e,this.cookieName),this.lastCookieString=e),this.lastToken}}return n.\u0275fac=function(e){return new(e||n)(Se(Dn),Se(ip),Se(zw))},n.\u0275prov=De({token:n,factory:n.\u0275fac}),n})(),$w=(()=>{class n{constructor(e,i){this.tokenService=e,this.headerName=i}intercept(e,i){const r=e.url.toLowerCase();if("GET"===e.method||"HEAD"===e.method||r.startsWith("http://")||r.startsWith("https://"))return i.handle(e);const s=this.tokenService.getToken();return null!==s&&!e.headers.has(this.headerName)&&(e=e.clone({headers:e.headers.set(this.headerName,s)})),i.handle(e)}}return n.\u0275fac=function(e){return new(e||n)(Se(u1),Se(Gw))},n.\u0275prov=De({token:n,factory:n.\u0275fac}),n})(),P4=(()=>{class n{constructor(e,i){this.backend=e,this.injector=i,this.chain=null}handle(e){if(null===this.chain){const i=this.injector.get(l1,[]);this.chain=i.reduceRight((r,s)=>new a1(r,s),this.backend)}return this.chain.handle(e)}}return n.\u0275fac=function(e){return new(e||n)(Se(e1),Se(qi))},n.\u0275prov=De({token:n,factory:n.\u0275fac}),n})(),F4=(()=>{class n{static disable(){return{ngModule:n,providers:[{provide:$w,useClass:A4}]}}static withOptions(e={}){return{ngModule:n,providers:[e.cookieName?{provide:zw,useValue:e.cookieName}:[],e.headerName?{provide:Gw,useValue:e.headerName}:[]]}}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Ht({type:n}),n.\u0275inj=He({providers:[$w,{provide:l1,useExisting:$w,multi:!0},{provide:u1,useClass:O4},{provide:zw,useValue:"XSRF-TOKEN"},{provide:Gw,useValue:"X-XSRF-TOKEN"}]}),n})(),Ww=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Ht({type:n}),n.\u0275inj=He({providers:[hp,{provide:Jx,useClass:P4},c1,{provide:e1,useExisting:c1}],imports:[[F4.withOptions({cookieName:"XSRF-TOKEN",headerName:"X-XSRF-TOKEN"})]]}),n})();class d1{}const ol="*";function Ki(n,t){return{type:7,name:n,definitions:t,options:{}}}function ti(n,t=null){return{type:4,styles:t,timings:n}}function ng(n,t=null){return{type:3,steps:n,options:t}}function h1(n,t=null){return{type:2,steps:n,options:t}}function ln(n){return{type:6,styles:n,offset:null}}function qn(n,t,e){return{type:0,name:n,styles:t,options:e}}function Vc(n){return{type:5,steps:n}}function Zn(n,t,e=null){return{type:1,expr:n,animation:t,options:e}}function fd(n=null){return{type:9,options:n}}function gd(n,t,e=null){return{type:11,selector:n,animation:t,options:e}}function p1(n){Promise.resolve(null).then(n)}class pp{constructor(t=0,e=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this._position=0,this.parentPlayer=null,this.totalTime=t+e}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(t=>t()),this._onDoneFns=[])}onStart(t){this._onStartFns.push(t)}onDone(t){this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){p1(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(t=>t()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(t=>t()),this._onDestroyFns=[])}reset(){this._started=!1}setPosition(t){this._position=this.totalTime?t*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(t){const e="start"==t?this._onStartFns:this._onDoneFns;e.forEach(i=>i()),e.length=0}}class m1{constructor(t){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=t;let e=0,i=0,r=0;const s=this.players.length;0==s?p1(()=>this._onFinish()):this.players.forEach(o=>{o.onDone(()=>{++e==s&&this._onFinish()}),o.onDestroy(()=>{++i==s&&this._onDestroy()}),o.onStart(()=>{++r==s&&this._onStart()})}),this.totalTime=this.players.reduce((o,a)=>Math.max(o,a.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(t=>t()),this._onDoneFns=[])}init(){this.players.forEach(t=>t.init())}onStart(t){this._onStartFns.push(t)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(t=>t()),this._onStartFns=[])}onDone(t){this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(t=>t.play())}pause(){this.players.forEach(t=>t.pause())}restart(){this.players.forEach(t=>t.restart())}finish(){this._onFinish(),this.players.forEach(t=>t.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(t=>t.destroy()),this._onDestroyFns.forEach(t=>t()),this._onDestroyFns=[])}reset(){this.players.forEach(t=>t.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(t){const e=t*this.totalTime;this.players.forEach(i=>{const r=i.totalTime?Math.min(1,e/i.totalTime):1;i.setPosition(r)})}getPosition(){const t=this.players.reduce((e,i)=>null===e||i.totalTime>e.totalTime?i:e,null);return null!=t?t.getPosition():0}beforeDestroy(){this.players.forEach(t=>{t.beforeDestroy&&t.beforeDestroy()})}triggerCallback(t){const e="start"==t?this._onStartFns:this._onDoneFns;e.forEach(i=>i()),e.length=0}}const li=!1;function f1(n){return new W(3e3,li)}function y5(){return"undefined"!=typeof window&&void 0!==window.document}function Kw(){return"undefined"!=typeof process&&"[object process]"==={}.toString.call(process)}function Gl(n){switch(n.length){case 0:return new pp;case 1:return n[0];default:return new m1(n)}}function g1(n,t,e,i,r={},s={}){const o=[],a=[];let l=-1,h=null;if(i.forEach(f=>{const D=f.offset,k=D==l,Y=k&&h||{};Object.keys(f).forEach(oe=>{let Fe=oe,We=f[oe];if("offset"!==oe)switch(Fe=t.normalizePropertyName(Fe,o),We){case"!":We=r[oe];break;case ol:We=s[oe];break;default:We=t.normalizeStyleValue(oe,Fe,We,o)}Y[Fe]=We}),k||a.push(Y),h=Y,l=D}),o.length)throw function a5(n){return new W(3502,li)}();return a}function Zw(n,t,e,i){switch(t){case"start":n.onStart(()=>i(e&&Xw(e,"start",n)));break;case"done":n.onDone(()=>i(e&&Xw(e,"done",n)));break;case"destroy":n.onDestroy(()=>i(e&&Xw(e,"destroy",n)))}}function Xw(n,t,e){const i=e.totalTime,s=Jw(n.element,n.triggerName,n.fromState,n.toState,t||n.phaseName,null==i?n.totalTime:i,!!e.disabled),o=n._data;return null!=o&&(s._data=o),s}function Jw(n,t,e,i,r="",s=0,o){return{element:n,triggerName:t,fromState:e,toState:i,phaseName:r,totalTime:s,disabled:!!o}}function Zs(n,t,e){let i;return n instanceof Map?(i=n.get(t),i||n.set(t,i=e)):(i=n[t],i||(i=n[t]=e)),i}function _1(n){const t=n.indexOf(":");return[n.substring(1,t),n.substr(t+1)]}let eM=(n,t)=>!1,y1=(n,t,e)=>[],v1=null;function tM(n){const t=n.parentNode||n.host;return t===v1?null:t}(Kw()||"undefined"!=typeof Element)&&(y5()?(v1=(()=>document.documentElement)(),eM=(n,t)=>{for(;t;){if(t===n)return!0;t=tM(t)}return!1}):eM=(n,t)=>n.contains(t),y1=(n,t,e)=>{if(e)return Array.from(n.querySelectorAll(t));const i=n.querySelector(t);return i?[i]:[]});let qc=null,b1=!1;function w1(n){qc||(qc=function b5(){return"undefined"!=typeof document?document.body:null}()||{},b1=!!qc.style&&"WebkitAppearance"in qc.style);let t=!0;return qc.style&&!function v5(n){return"ebkit"==n.substring(1,6)}(n)&&(t=n in qc.style,!t&&b1&&(t="Webkit"+n.charAt(0).toUpperCase()+n.substr(1)in qc.style)),t}const M1=eM,D1=y1;let E1=(()=>{class n{validateStyleProperty(e){return w1(e)}matchesElement(e,i){return!1}containsElement(e,i){return M1(e,i)}getParentElement(e){return tM(e)}query(e,i,r){return D1(e,i,r)}computeStyle(e,i,r){return r||""}animate(e,i,r,s,o,a=[],l){return new pp(r,s)}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=De({token:n,factory:n.\u0275fac}),n})(),nM=(()=>{class n{}return n.NOOP=new E1,n})();const iM="ng-enter",rg="ng-leave",sg="ng-trigger",og=".ng-trigger",T1="ng-animating",rM=".ng-animating";function Uc(n){if("number"==typeof n)return n;const t=n.match(/^(-?[\.\d]+)(m?s)/);return!t||t.length<2?0:sM(parseFloat(t[1]),t[2])}function sM(n,t){return"s"===t?1e3*n:n}function ag(n,t,e){return n.hasOwnProperty("duration")?n:function D5(n,t,e){let r,s=0,o="";if("string"==typeof n){const a=n.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===a)return t.push(f1()),{duration:0,delay:0,easing:""};r=sM(parseFloat(a[1]),a[2]);const l=a[3];null!=l&&(s=sM(parseFloat(l),a[4]));const h=a[5];h&&(o=h)}else r=n;if(!e){let a=!1,l=t.length;r<0&&(t.push(function j4(){return new W(3100,li)}()),a=!0),s<0&&(t.push(function B4(){return new W(3101,li)}()),a=!0),a&&t.splice(l,0,f1())}return{duration:r,delay:s,easing:o}}(n,t,e)}function _d(n,t={}){return Object.keys(n).forEach(e=>{t[e]=n[e]}),t}function $l(n,t,e={}){if(t)for(let i in n)e[i]=n[i];else _d(n,e);return e}function k1(n,t,e){return e?t+":"+e+";":""}function x1(n){let t="";for(let e=0;e{const r=aM(i);e&&!e.hasOwnProperty(i)&&(e[i]=n.style[r]),n.style[r]=t[i]}),Kw()&&x1(n))}function zc(n,t){n.style&&(Object.keys(t).forEach(e=>{const i=aM(e);n.style[i]=""}),Kw()&&x1(n))}function mp(n){return Array.isArray(n)?1==n.length?n[0]:h1(n):n}const oM=new RegExp("{{\\s*(.+?)\\s*}}","g");function I1(n){let t=[];if("string"==typeof n){let e;for(;e=oM.exec(n);)t.push(e[1]);oM.lastIndex=0}return t}function lg(n,t,e){const i=n.toString(),r=i.replace(oM,(s,o)=>{let a=t[o];return t.hasOwnProperty(o)||(e.push(function H4(n){return new W(3003,li)}()),a=""),a.toString()});return r==i?n:r}function cg(n){const t=[];let e=n.next();for(;!e.done;)t.push(e.value),e=n.next();return t}const C5=/-+([a-z0-9])/g;function aM(n){return n.replace(C5,(...t)=>t[1].toUpperCase())}function T5(n){return n.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}function Xs(n,t,e){switch(t.type){case 7:return n.visitTrigger(t,e);case 0:return n.visitState(t,e);case 1:return n.visitTransition(t,e);case 2:return n.visitSequence(t,e);case 3:return n.visitGroup(t,e);case 4:return n.visitAnimate(t,e);case 5:return n.visitKeyframes(t,e);case 6:return n.visitStyle(t,e);case 8:return n.visitReference(t,e);case 9:return n.visitAnimateChild(t,e);case 10:return n.visitAnimateRef(t,e);case 11:return n.visitQuery(t,e);case 12:return n.visitStagger(t,e);default:throw function V4(n){return new W(3004,li)}()}}function A1(n,t){return window.getComputedStyle(n)[t]}function R5(n,t){const e=[];return"string"==typeof n?n.split(/\s*,\s*/).forEach(i=>function L5(n,t,e){if(":"==n[0]){const l=function O5(n,t){switch(n){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(e,i)=>parseFloat(i)>parseFloat(e);case":decrement":return(e,i)=>parseFloat(i) *"}}(n,e);if("function"==typeof l)return void t.push(l);n=l}const i=n.match(/^(\*|[-\w]+)\s*()\s*(\*|[-\w]+)$/);if(null==i||i.length<4)return e.push(function t5(n){return new W(3015,li)}()),t;const r=i[1],s=i[2],o=i[3];t.push(R1(r,o));"<"==s[0]&&!("*"==r&&"*"==o)&&t.push(R1(o,r))}(i,e,t)):e.push(n),e}const pg=new Set(["true","1"]),mg=new Set(["false","0"]);function R1(n,t){const e=pg.has(n)||mg.has(n),i=pg.has(t)||mg.has(t);return(r,s)=>{let o="*"==n||n==r,a="*"==t||t==s;return!o&&e&&"boolean"==typeof r&&(o=r?pg.has(n):mg.has(n)),!a&&i&&"boolean"==typeof s&&(a=s?pg.has(t):mg.has(t)),o&&a}}const P5=new RegExp("s*:selfs*,?","g");function lM(n,t,e,i){return new F5(n).build(t,e,i)}class F5{constructor(t){this._driver=t}build(t,e,i){const r=new B5(e);this._resetContextStyleTimingState(r);const s=Xs(this,mp(t),r);return r.unsupportedCSSPropertiesFound.size&&r.unsupportedCSSPropertiesFound.keys(),s}_resetContextStyleTimingState(t){t.currentQuerySelector="",t.collectedStyles={},t.collectedStyles[""]={},t.currentTime=0}visitTrigger(t,e){let i=e.queryCount=0,r=e.depCount=0;const s=[],o=[];return"@"==t.name.charAt(0)&&e.errors.push(function U4(){return new W(3006,li)}()),t.definitions.forEach(a=>{if(this._resetContextStyleTimingState(e),0==a.type){const l=a,h=l.name;h.toString().split(/\s*,\s*/).forEach(f=>{l.name=f,s.push(this.visitState(l,e))}),l.name=h}else if(1==a.type){const l=this.visitTransition(a,e);i+=l.queryCount,r+=l.depCount,o.push(l)}else e.errors.push(function z4(){return new W(3007,li)}())}),{type:7,name:t.name,states:s,transitions:o,queryCount:i,depCount:r,options:null}}visitState(t,e){const i=this.visitStyle(t.styles,e),r=t.options&&t.options.params||null;if(i.containsDynamicStyles){const s=new Set,o=r||{};i.styles.forEach(a=>{if(fg(a)){const l=a;Object.keys(l).forEach(h=>{I1(l[h]).forEach(f=>{o.hasOwnProperty(f)||s.add(f)})})}}),s.size&&(cg(s.values()),e.errors.push(function G4(n,t){return new W(3008,li)}()))}return{type:0,name:t.name,style:i,options:r?{params:r}:null}}visitTransition(t,e){e.queryCount=0,e.depCount=0;const i=Xs(this,mp(t.animation),e);return{type:1,matchers:R5(t.expr,e.errors),animation:i,queryCount:e.queryCount,depCount:e.depCount,options:Gc(t.options)}}visitSequence(t,e){return{type:2,steps:t.steps.map(i=>Xs(this,i,e)),options:Gc(t.options)}}visitGroup(t,e){const i=e.currentTime;let r=0;const s=t.steps.map(o=>{e.currentTime=i;const a=Xs(this,o,e);return r=Math.max(r,e.currentTime),a});return e.currentTime=r,{type:3,steps:s,options:Gc(t.options)}}visitAnimate(t,e){const i=function H5(n,t){if(n.hasOwnProperty("duration"))return n;if("number"==typeof n)return cM(ag(n,t).duration,0,"");const e=n;if(e.split(/\s+/).some(s=>"{"==s.charAt(0)&&"{"==s.charAt(1))){const s=cM(0,0,"");return s.dynamic=!0,s.strValue=e,s}const r=ag(e,t);return cM(r.duration,r.delay,r.easing)}(t.timings,e.errors);e.currentAnimateTimings=i;let r,s=t.styles?t.styles:ln({});if(5==s.type)r=this.visitKeyframes(s,e);else{let o=t.styles,a=!1;if(!o){a=!0;const h={};i.easing&&(h.easing=i.easing),o=ln(h)}e.currentTime+=i.duration+i.delay;const l=this.visitStyle(o,e);l.isEmptyStep=a,r=l}return e.currentAnimateTimings=null,{type:4,timings:i,style:r,options:null}}visitStyle(t,e){const i=this._makeStyleAst(t,e);return this._validateStyleAst(i,e),i}_makeStyleAst(t,e){const i=[];Array.isArray(t.styles)?t.styles.forEach(o=>{"string"==typeof o?o==ol?i.push(o):e.errors.push(function $4(n){return new W(3002,li)}()):i.push(o)}):i.push(t.styles);let r=!1,s=null;return i.forEach(o=>{if(fg(o)){const a=o,l=a.easing;if(l&&(s=l,delete a.easing),!r)for(let h in a)if(a[h].toString().indexOf("{{")>=0){r=!0;break}}}),{type:6,styles:i,easing:s,offset:t.offset,containsDynamicStyles:r,options:null}}_validateStyleAst(t,e){const i=e.currentAnimateTimings;let r=e.currentTime,s=e.currentTime;i&&s>0&&(s-=i.duration+i.delay),t.styles.forEach(o=>{"string"!=typeof o&&Object.keys(o).forEach(a=>{if(!this._driver.validateStyleProperty(a))return delete o[a],void e.unsupportedCSSPropertiesFound.add(a);const l=e.collectedStyles[e.currentQuerySelector],h=l[a];let f=!0;h&&(s!=r&&s>=h.startTime&&r<=h.endTime&&(e.errors.push(function W4(n,t,e,i,r){return new W(3010,li)}()),f=!1),s=h.startTime),f&&(l[a]={startTime:s,endTime:r}),e.options&&function E5(n,t,e){const i=t.params||{},r=I1(n);r.length&&r.forEach(s=>{i.hasOwnProperty(s)||e.push(function Y4(n){return new W(3001,li)}())})}(o[a],e.options,e.errors)})})}visitKeyframes(t,e){const i={type:5,styles:[],options:null};if(!e.currentAnimateTimings)return e.errors.push(function Q4(){return new W(3011,li)}()),i;let s=0;const o=[];let a=!1,l=!1,h=0;const f=t.steps.map(it=>{const Ue=this._makeStyleAst(it,e);let Lt=null!=Ue.offset?Ue.offset:function Y5(n){if("string"==typeof n)return null;let t=null;if(Array.isArray(n))n.forEach(e=>{if(fg(e)&&e.hasOwnProperty("offset")){const i=e;t=parseFloat(i.offset),delete i.offset}});else if(fg(n)&&n.hasOwnProperty("offset")){const e=n;t=parseFloat(e.offset),delete e.offset}return t}(Ue.styles),Gt=0;return null!=Lt&&(s++,Gt=Ue.offset=Lt),l=l||Gt<0||Gt>1,a=a||Gt0&&s{const Lt=k>0?Ue==Y?1:k*Ue:o[Ue],Gt=Lt*We;e.currentTime=oe+Fe.delay+Gt,Fe.duration=Gt,this._validateStyleAst(it,e),it.offset=Lt,i.styles.push(it)}),i}visitReference(t,e){return{type:8,animation:Xs(this,mp(t.animation),e),options:Gc(t.options)}}visitAnimateChild(t,e){return e.depCount++,{type:9,options:Gc(t.options)}}visitAnimateRef(t,e){return{type:10,animation:this.visitReference(t.animation,e),options:Gc(t.options)}}visitQuery(t,e){const i=e.currentQuerySelector,r=t.options||{};e.queryCount++,e.currentQuery=t;const[s,o]=function N5(n){const t=!!n.split(/\s*,\s*/).find(e=>":self"==e);return t&&(n=n.replace(P5,"")),n=n.replace(/@\*/g,og).replace(/@\w+/g,e=>og+"-"+e.substr(1)).replace(/:animating/g,rM),[n,t]}(t.selector);e.currentQuerySelector=i.length?i+" "+s:s,Zs(e.collectedStyles,e.currentQuerySelector,{});const a=Xs(this,mp(t.animation),e);return e.currentQuery=null,e.currentQuerySelector=i,{type:11,selector:s,limit:r.limit||0,optional:!!r.optional,includeSelf:o,animation:a,originalSelector:t.selector,options:Gc(t.options)}}visitStagger(t,e){e.currentQuery||e.errors.push(function J4(){return new W(3013,li)}());const i="full"===t.timings?{duration:0,delay:0,easing:"full"}:ag(t.timings,e.errors,!0);return{type:12,animation:Xs(this,mp(t.animation),e),timings:i,options:null}}}class B5{constructor(t){this.errors=t,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles={},this.options=null,this.unsupportedCSSPropertiesFound=new Set}}function fg(n){return!Array.isArray(n)&&"object"==typeof n}function Gc(n){return n?(n=_d(n)).params&&(n.params=function j5(n){return n?_d(n):null}(n.params)):n={},n}function cM(n,t,e){return{duration:n,delay:t,easing:e}}function uM(n,t,e,i,r,s,o=null,a=!1){return{type:1,element:n,keyframes:t,preStyleProps:e,postStyleProps:i,duration:r,delay:s,totalTime:r+s,easing:o,subTimeline:a}}class gg{constructor(){this._map=new Map}get(t){return this._map.get(t)||[]}append(t,e){let i=this._map.get(t);i||this._map.set(t,i=[]),i.push(...e)}has(t){return this._map.has(t)}clear(){this._map.clear()}}const U5=new RegExp(":enter","g"),G5=new RegExp(":leave","g");function dM(n,t,e,i,r,s={},o={},a,l,h=[]){return(new $5).buildKeyframes(n,t,e,i,r,s,o,a,l,h)}class $5{buildKeyframes(t,e,i,r,s,o,a,l,h,f=[]){h=h||new gg;const D=new hM(t,e,h,r,s,f,[]);D.options=l,D.currentTimeline.setStyles([o],null,D.errors,l),Xs(this,i,D);const k=D.timelines.filter(Y=>Y.containsAnimation());if(Object.keys(a).length){let Y;for(let oe=k.length-1;oe>=0;oe--){const Fe=k[oe];if(Fe.element===e){Y=Fe;break}}Y&&!Y.allowOnlyTimelineStyles()&&Y.setStyles([a],null,D.errors,l)}return k.length?k.map(Y=>Y.buildKeyframes()):[uM(e,[],[],[],0,0,"",!1)]}visitTrigger(t,e){}visitState(t,e){}visitTransition(t,e){}visitAnimateChild(t,e){const i=e.subInstructions.get(e.element);if(i){const r=e.createSubContext(t.options),s=e.currentTimeline.currentTime,o=this._visitSubInstructions(i,r,r.options);s!=o&&e.transformIntoNewTimeline(o)}e.previousNode=t}visitAnimateRef(t,e){const i=e.createSubContext(t.options);i.transformIntoNewTimeline(),this.visitReference(t.animation,i),e.transformIntoNewTimeline(i.currentTimeline.currentTime),e.previousNode=t}_visitSubInstructions(t,e,i){let s=e.currentTimeline.currentTime;const o=null!=i.duration?Uc(i.duration):null,a=null!=i.delay?Uc(i.delay):null;return 0!==o&&t.forEach(l=>{const h=e.appendInstructionToTimeline(l,o,a);s=Math.max(s,h.duration+h.delay)}),s}visitReference(t,e){e.updateOptions(t.options,!0),Xs(this,t.animation,e),e.previousNode=t}visitSequence(t,e){const i=e.subContextCount;let r=e;const s=t.options;if(s&&(s.params||s.delay)&&(r=e.createSubContext(s),r.transformIntoNewTimeline(),null!=s.delay)){6==r.previousNode.type&&(r.currentTimeline.snapshotCurrentStyles(),r.previousNode=_g);const o=Uc(s.delay);r.delayNextStep(o)}t.steps.length&&(t.steps.forEach(o=>Xs(this,o,r)),r.currentTimeline.applyStylesToKeyframe(),r.subContextCount>i&&r.transformIntoNewTimeline()),e.previousNode=t}visitGroup(t,e){const i=[];let r=e.currentTimeline.currentTime;const s=t.options&&t.options.delay?Uc(t.options.delay):0;t.steps.forEach(o=>{const a=e.createSubContext(t.options);s&&a.delayNextStep(s),Xs(this,o,a),r=Math.max(r,a.currentTimeline.currentTime),i.push(a.currentTimeline)}),i.forEach(o=>e.currentTimeline.mergeTimelineCollectedStyles(o)),e.transformIntoNewTimeline(r),e.previousNode=t}_visitTiming(t,e){if(t.dynamic){const i=t.strValue;return ag(e.params?lg(i,e.params,e.errors):i,e.errors)}return{duration:t.duration,delay:t.delay,easing:t.easing}}visitAnimate(t,e){const i=e.currentAnimateTimings=this._visitTiming(t.timings,e),r=e.currentTimeline;i.delay&&(e.incrementTime(i.delay),r.snapshotCurrentStyles());const s=t.style;5==s.type?this.visitKeyframes(s,e):(e.incrementTime(i.duration),this.visitStyle(s,e),r.applyStylesToKeyframe()),e.currentAnimateTimings=null,e.previousNode=t}visitStyle(t,e){const i=e.currentTimeline,r=e.currentAnimateTimings;!r&&i.getCurrentStyleProperties().length&&i.forwardFrame();const s=r&&r.easing||t.easing;t.isEmptyStep?i.applyEmptyStep(s):i.setStyles(t.styles,s,e.errors,e.options),e.previousNode=t}visitKeyframes(t,e){const i=e.currentAnimateTimings,r=e.currentTimeline.duration,s=i.duration,a=e.createSubContext().currentTimeline;a.easing=i.easing,t.styles.forEach(l=>{a.forwardTime((l.offset||0)*s),a.setStyles(l.styles,l.easing,e.errors,e.options),a.applyStylesToKeyframe()}),e.currentTimeline.mergeTimelineCollectedStyles(a),e.transformIntoNewTimeline(r+s),e.previousNode=t}visitQuery(t,e){const i=e.currentTimeline.currentTime,r=t.options||{},s=r.delay?Uc(r.delay):0;s&&(6===e.previousNode.type||0==i&&e.currentTimeline.getCurrentStyleProperties().length)&&(e.currentTimeline.snapshotCurrentStyles(),e.previousNode=_g);let o=i;const a=e.invokeQuery(t.selector,t.originalSelector,t.limit,t.includeSelf,!!r.optional,e.errors);e.currentQueryTotal=a.length;let l=null;a.forEach((h,f)=>{e.currentQueryIndex=f;const D=e.createSubContext(t.options,h);s&&D.delayNextStep(s),h===e.element&&(l=D.currentTimeline),Xs(this,t.animation,D),D.currentTimeline.applyStylesToKeyframe(),o=Math.max(o,D.currentTimeline.currentTime)}),e.currentQueryIndex=0,e.currentQueryTotal=0,e.transformIntoNewTimeline(o),l&&(e.currentTimeline.mergeTimelineCollectedStyles(l),e.currentTimeline.snapshotCurrentStyles()),e.previousNode=t}visitStagger(t,e){const i=e.parentContext,r=e.currentTimeline,s=t.timings,o=Math.abs(s.duration),a=o*(e.currentQueryTotal-1);let l=o*e.currentQueryIndex;switch(s.duration<0?"reverse":s.easing){case"reverse":l=a-l;break;case"full":l=i.currentStaggerTime}const f=e.currentTimeline;l&&f.delayNextStep(l);const D=f.currentTime;Xs(this,t.animation,e),e.previousNode=t,i.currentStaggerTime=r.currentTime-D+(r.startTime-i.currentTimeline.startTime)}}const _g={};class hM{constructor(t,e,i,r,s,o,a,l){this._driver=t,this.element=e,this.subInstructions=i,this._enterClassName=r,this._leaveClassName=s,this.errors=o,this.timelines=a,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=_g,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=l||new yg(this._driver,e,0),a.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(t,e){if(!t)return;const i=t;let r=this.options;null!=i.duration&&(r.duration=Uc(i.duration)),null!=i.delay&&(r.delay=Uc(i.delay));const s=i.params;if(s){let o=r.params;o||(o=this.options.params={}),Object.keys(s).forEach(a=>{(!e||!o.hasOwnProperty(a))&&(o[a]=lg(s[a],o,this.errors))})}}_copyOptions(){const t={};if(this.options){const e=this.options.params;if(e){const i=t.params={};Object.keys(e).forEach(r=>{i[r]=e[r]})}}return t}createSubContext(t=null,e,i){const r=e||this.element,s=new hM(this._driver,r,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(r,i||0));return s.previousNode=this.previousNode,s.currentAnimateTimings=this.currentAnimateTimings,s.options=this._copyOptions(),s.updateOptions(t),s.currentQueryIndex=this.currentQueryIndex,s.currentQueryTotal=this.currentQueryTotal,s.parentContext=this,this.subContextCount++,s}transformIntoNewTimeline(t){return this.previousNode=_g,this.currentTimeline=this.currentTimeline.fork(this.element,t),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(t,e,i){const r={duration:null!=e?e:t.duration,delay:this.currentTimeline.currentTime+(null!=i?i:0)+t.delay,easing:""},s=new W5(this._driver,t.element,t.keyframes,t.preStyleProps,t.postStyleProps,r,t.stretchStartingKeyframe);return this.timelines.push(s),r}incrementTime(t){this.currentTimeline.forwardTime(this.currentTimeline.duration+t)}delayNextStep(t){t>0&&this.currentTimeline.delayNextStep(t)}invokeQuery(t,e,i,r,s,o){let a=[];if(r&&a.push(this.element),t.length>0){t=(t=t.replace(U5,"."+this._enterClassName)).replace(G5,"."+this._leaveClassName);let h=this._driver.query(this.element,t,1!=i);0!==i&&(h=i<0?h.slice(h.length+i,h.length):h.slice(0,i)),a.push(...h)}return!s&&0==a.length&&o.push(function e5(n){return new W(3014,li)}()),a}}class yg{constructor(t,e,i,r){this._driver=t,this.element=e,this.startTime=i,this._elementTimelineStylesLookup=r,this.duration=0,this._previousKeyframe={},this._currentKeyframe={},this._keyframes=new Map,this._styleSummary={},this._pendingStyles={},this._backFill={},this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._localTimelineStyles=Object.create(this._backFill,{}),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.getCurrentStyleProperties().length>0;default:return!0}}getCurrentStyleProperties(){return Object.keys(this._currentKeyframe)}get currentTime(){return this.startTime+this.duration}delayNextStep(t){const e=1==this._keyframes.size&&Object.keys(this._pendingStyles).length;this.duration||e?(this.forwardTime(this.currentTime+t),e&&this.snapshotCurrentStyles()):this.startTime+=t}fork(t,e){return this.applyStylesToKeyframe(),new yg(this._driver,t,e||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=Object.create(this._backFill,{}),this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=1,this._loadKeyframe()}forwardTime(t){this.applyStylesToKeyframe(),this.duration=t,this._loadKeyframe()}_updateStyle(t,e){this._localTimelineStyles[t]=e,this._globalTimelineStyles[t]=e,this._styleSummary[t]={time:this.currentTime,value:e}}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(t){t&&(this._previousKeyframe.easing=t),Object.keys(this._globalTimelineStyles).forEach(e=>{this._backFill[e]=this._globalTimelineStyles[e]||ol,this._currentKeyframe[e]=ol}),this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(t,e,i,r){e&&(this._previousKeyframe.easing=e);const s=r&&r.params||{},o=function Q5(n,t){const e={};let i;return n.forEach(r=>{"*"===r?(i=i||Object.keys(t),i.forEach(s=>{e[s]=ol})):$l(r,!1,e)}),e}(t,this._globalTimelineStyles);Object.keys(o).forEach(a=>{const l=lg(o[a],s,i);this._pendingStyles[a]=l,this._localTimelineStyles.hasOwnProperty(a)||(this._backFill[a]=this._globalTimelineStyles.hasOwnProperty(a)?this._globalTimelineStyles[a]:ol),this._updateStyle(a,l)})}applyStylesToKeyframe(){const t=this._pendingStyles,e=Object.keys(t);0!=e.length&&(this._pendingStyles={},e.forEach(i=>{this._currentKeyframe[i]=t[i]}),Object.keys(this._localTimelineStyles).forEach(i=>{this._currentKeyframe.hasOwnProperty(i)||(this._currentKeyframe[i]=this._localTimelineStyles[i])}))}snapshotCurrentStyles(){Object.keys(this._localTimelineStyles).forEach(t=>{const e=this._localTimelineStyles[t];this._pendingStyles[t]=e,this._updateStyle(t,e)})}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const t=[];for(let e in this._currentKeyframe)t.push(e);return t}mergeTimelineCollectedStyles(t){Object.keys(t._styleSummary).forEach(e=>{const i=this._styleSummary[e],r=t._styleSummary[e];(!i||r.time>i.time)&&this._updateStyle(e,r.value)})}buildKeyframes(){this.applyStylesToKeyframe();const t=new Set,e=new Set,i=1===this._keyframes.size&&0===this.duration;let r=[];this._keyframes.forEach((a,l)=>{const h=$l(a,!0);Object.keys(h).forEach(f=>{const D=h[f];"!"==D?t.add(f):D==ol&&e.add(f)}),i||(h.offset=l/this.duration),r.push(h)});const s=t.size?cg(t.values()):[],o=e.size?cg(e.values()):[];if(i){const a=r[0],l=_d(a);a.offset=0,l.offset=1,r=[a,l]}return uM(this.element,r,s,o,this.duration,this.startTime,this.easing,!1)}}class W5 extends yg{constructor(t,e,i,r,s,o,a=!1){super(t,e,o.delay),this.keyframes=i,this.preStyleProps=r,this.postStyleProps=s,this._stretchStartingKeyframe=a,this.timings={duration:o.duration,delay:o.delay,easing:o.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let t=this.keyframes,{delay:e,duration:i,easing:r}=this.timings;if(this._stretchStartingKeyframe&&e){const s=[],o=i+e,a=e/o,l=$l(t[0],!1);l.offset=0,s.push(l);const h=$l(t[0],!1);h.offset=P1(a),s.push(h);const f=t.length-1;for(let D=1;D<=f;D++){let k=$l(t[D],!1);k.offset=P1((e+k.offset*i)/o),s.push(k)}i=o,e=0,r="",t=s}return uM(this.element,t,this.preStyleProps,this.postStyleProps,i,e,r,!0)}}function P1(n,t=3){const e=Math.pow(10,t-1);return Math.round(n*e)/e}class pM{}class K5 extends pM{normalizePropertyName(t,e){return aM(t)}normalizeStyleValue(t,e,i,r){let s="";const o=i.toString().trim();if(Z5[e]&&0!==i&&"0"!==i)if("number"==typeof i)s="px";else{const a=i.match(/^[+-]?[\d\.]+([a-z]*)$/);a&&0==a[1].length&&r.push(function q4(n,t){return new W(3005,li)}())}return o+s}}const Z5=(()=>function X5(n){const t={};return n.forEach(e=>t[e]=!0),t}("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".split(",")))();function F1(n,t,e,i,r,s,o,a,l,h,f,D,k){return{type:0,element:n,triggerName:t,isRemovalTransition:r,fromState:e,fromStyles:s,toState:i,toStyles:o,timelines:a,queriedElements:l,preStyleProps:h,postStyleProps:f,totalTime:D,errors:k}}const mM={};class N1{constructor(t,e,i){this._triggerName=t,this.ast=e,this._stateStyles=i}match(t,e,i,r){return function J5(n,t,e,i,r){return n.some(s=>s(t,e,i,r))}(this.ast.matchers,t,e,i,r)}buildStyles(t,e,i){const r=this._stateStyles["*"],s=this._stateStyles[t],o=r?r.buildStyles(e,i):{};return s?s.buildStyles(e,i):o}build(t,e,i,r,s,o,a,l,h,f){const D=[],k=this.ast.options&&this.ast.options.params||mM,oe=this.buildStyles(i,a&&a.params||mM,D),Fe=l&&l.params||mM,We=this.buildStyles(r,Fe,D),it=new Set,Ue=new Map,Lt=new Map,Gt="void"===r,wn={params:Object.assign(Object.assign({},k),Fe)},ii=f?[]:dM(t,e,this.ast.animation,s,o,oe,We,wn,h,D);let Mi=0;if(ii.forEach(oo=>{Mi=Math.max(oo.duration+oo.delay,Mi)}),D.length)return F1(e,this._triggerName,i,r,Gt,oe,We,[],[],Ue,Lt,Mi,D);ii.forEach(oo=>{const ao=oo.element,Zd=Zs(Ue,ao,{});oo.preStyleProps.forEach(aa=>Zd[aa]=!0);const Ml=Zs(Lt,ao,{});oo.postStyleProps.forEach(aa=>Ml[aa]=!0),ao!==e&&it.add(ao)});const ms=cg(it.values());return F1(e,this._triggerName,i,r,Gt,oe,We,ii,ms,Ue,Lt,Mi)}}class ez{constructor(t,e,i){this.styles=t,this.defaultParams=e,this.normalizer=i}buildStyles(t,e){const i={},r=_d(this.defaultParams);return Object.keys(t).forEach(s=>{const o=t[s];null!=o&&(r[s]=o)}),this.styles.styles.forEach(s=>{if("string"!=typeof s){const o=s;Object.keys(o).forEach(a=>{let l=o[a];l.length>1&&(l=lg(l,r,e));const h=this.normalizer.normalizePropertyName(a,e);l=this.normalizer.normalizeStyleValue(a,h,l,e),i[h]=l})}}),i}}class nz{constructor(t,e,i){this.name=t,this.ast=e,this._normalizer=i,this.transitionFactories=[],this.states={},e.states.forEach(r=>{this.states[r.name]=new ez(r.style,r.options&&r.options.params||{},i)}),j1(this.states,"true","1"),j1(this.states,"false","0"),e.transitions.forEach(r=>{this.transitionFactories.push(new N1(t,r,this.states))}),this.fallbackTransition=function iz(n,t,e){return new N1(n,{type:1,animation:{type:2,steps:[],options:null},matchers:[(o,a)=>!0],options:null,queryCount:0,depCount:0},t)}(t,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(t,e,i,r){return this.transitionFactories.find(o=>o.match(t,e,i,r))||null}matchStyles(t,e,i){return this.fallbackTransition.buildStyles(t,e,i)}}function j1(n,t,e){n.hasOwnProperty(t)?n.hasOwnProperty(e)||(n[e]=n[t]):n.hasOwnProperty(e)&&(n[t]=n[e])}const rz=new gg;class sz{constructor(t,e,i){this.bodyNode=t,this._driver=e,this._normalizer=i,this._animations={},this._playersById={},this.players=[]}register(t,e){const i=[],s=lM(this._driver,e,i,[]);if(i.length)throw function l5(n){return new W(3503,li)}();this._animations[t]=s}_buildPlayer(t,e,i){const r=t.element,s=g1(0,this._normalizer,0,t.keyframes,e,i);return this._driver.animate(r,s,t.duration,t.delay,t.easing,[],!0)}create(t,e,i={}){const r=[],s=this._animations[t];let o;const a=new Map;if(s?(o=dM(this._driver,e,s,iM,rg,{},{},i,rz,r),o.forEach(f=>{const D=Zs(a,f.element,{});f.postStyleProps.forEach(k=>D[k]=null)})):(r.push(function c5(){return new W(3300,li)}()),o=[]),r.length)throw function u5(n){return new W(3504,li)}();a.forEach((f,D)=>{Object.keys(f).forEach(k=>{f[k]=this._driver.computeStyle(D,k,ol)})});const h=Gl(o.map(f=>{const D=a.get(f.element);return this._buildPlayer(f,{},D)}));return this._playersById[t]=h,h.onDestroy(()=>this.destroy(t)),this.players.push(h),h}destroy(t){const e=this._getPlayer(t);e.destroy(),delete this._playersById[t];const i=this.players.indexOf(e);i>=0&&this.players.splice(i,1)}_getPlayer(t){const e=this._playersById[t];if(!e)throw function d5(n){return new W(3301,li)}();return e}listen(t,e,i,r){const s=Jw(e,"","","");return Zw(this._getPlayer(t),i,s,r),()=>{}}command(t,e,i,r){if("register"==i)return void this.register(t,r[0]);if("create"==i)return void this.create(t,e,r[0]||{});const s=this._getPlayer(t);switch(i){case"play":s.play();break;case"pause":s.pause();break;case"reset":s.reset();break;case"restart":s.restart();break;case"finish":s.finish();break;case"init":s.init();break;case"setPosition":s.setPosition(parseFloat(r[0]));break;case"destroy":this.destroy(t)}}}const B1="ng-animate-queued",fM="ng-animate-disabled",uz=[],Y1={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},dz={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},bo="__ng_removed";class gM{constructor(t,e=""){this.namespaceId=e;const i=t&&t.hasOwnProperty("value");if(this.value=function fz(n){return null!=n?n:null}(i?t.value:t),i){const s=_d(t);delete s.value,this.options=s}else this.options={};this.options.params||(this.options.params={})}get params(){return this.options.params}absorbOptions(t){const e=t.params;if(e){const i=this.options.params;Object.keys(e).forEach(r=>{null==i[r]&&(i[r]=e[r])})}}}const fp="void",_M=new gM(fp);class hz{constructor(t,e,i){this.id=t,this.hostElement=e,this._engine=i,this.players=[],this._triggers={},this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+t,wo(e,this._hostClassName)}listen(t,e,i,r){if(!this._triggers.hasOwnProperty(e))throw function h5(n,t){return new W(3302,li)}();if(null==i||0==i.length)throw function p5(n){return new W(3303,li)}();if(!function gz(n){return"start"==n||"done"==n}(i))throw function m5(n,t){return new W(3400,li)}();const s=Zs(this._elementListeners,t,[]),o={name:e,phase:i,callback:r};s.push(o);const a=Zs(this._engine.statesByElement,t,{});return a.hasOwnProperty(e)||(wo(t,sg),wo(t,sg+"-"+e),a[e]=_M),()=>{this._engine.afterFlush(()=>{const l=s.indexOf(o);l>=0&&s.splice(l,1),this._triggers[e]||delete a[e]})}}register(t,e){return!this._triggers[t]&&(this._triggers[t]=e,!0)}_getTrigger(t){const e=this._triggers[t];if(!e)throw function f5(n){return new W(3401,li)}();return e}trigger(t,e,i,r=!0){const s=this._getTrigger(e),o=new yM(this.id,e,t);let a=this._engine.statesByElement.get(t);a||(wo(t,sg),wo(t,sg+"-"+e),this._engine.statesByElement.set(t,a={}));let l=a[e];const h=new gM(i,this.id);if(!(i&&i.hasOwnProperty("value"))&&l&&h.absorbOptions(l.options),a[e]=h,l||(l=_M),h.value!==fp&&l.value===h.value){if(!function vz(n,t){const e=Object.keys(n),i=Object.keys(t);if(e.length!=i.length)return!1;for(let r=0;r{zc(t,We),xa(t,it)})}return}const k=Zs(this._engine.playersByElement,t,[]);k.forEach(Fe=>{Fe.namespaceId==this.id&&Fe.triggerName==e&&Fe.queued&&Fe.destroy()});let Y=s.matchTransition(l.value,h.value,t,h.params),oe=!1;if(!Y){if(!r)return;Y=s.fallbackTransition,oe=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:t,triggerName:e,transition:Y,fromState:l,toState:h,player:o,isFallbackTransition:oe}),oe||(wo(t,B1),o.onStart(()=>{yd(t,B1)})),o.onDone(()=>{let Fe=this.players.indexOf(o);Fe>=0&&this.players.splice(Fe,1);const We=this._engine.playersByElement.get(t);if(We){let it=We.indexOf(o);it>=0&&We.splice(it,1)}}),this.players.push(o),k.push(o),o}deregister(t){delete this._triggers[t],this._engine.statesByElement.forEach((e,i)=>{delete e[t]}),this._elementListeners.forEach((e,i)=>{this._elementListeners.set(i,e.filter(r=>r.name!=t))})}clearElementCache(t){this._engine.statesByElement.delete(t),this._elementListeners.delete(t);const e=this._engine.playersByElement.get(t);e&&(e.forEach(i=>i.destroy()),this._engine.playersByElement.delete(t))}_signalRemovalForInnerTriggers(t,e){const i=this._engine.driver.query(t,og,!0);i.forEach(r=>{if(r[bo])return;const s=this._engine.fetchNamespacesByElement(r);s.size?s.forEach(o=>o.triggerLeaveAnimation(r,e,!1,!0)):this.clearElementCache(r)}),this._engine.afterFlushAnimationsDone(()=>i.forEach(r=>this.clearElementCache(r)))}triggerLeaveAnimation(t,e,i,r){const s=this._engine.statesByElement.get(t),o=new Map;if(s){const a=[];if(Object.keys(s).forEach(l=>{if(o.set(l,s[l].value),this._triggers[l]){const h=this.trigger(t,l,fp,r);h&&a.push(h)}}),a.length)return this._engine.markElementAsRemoved(this.id,t,!0,e,o),i&&Gl(a).onDone(()=>this._engine.processLeaveNode(t)),!0}return!1}prepareLeaveAnimationListeners(t){const e=this._elementListeners.get(t),i=this._engine.statesByElement.get(t);if(e&&i){const r=new Set;e.forEach(s=>{const o=s.name;if(r.has(o))return;r.add(o);const l=this._triggers[o].fallbackTransition,h=i[o]||_M,f=new gM(fp),D=new yM(this.id,o,t);this._engine.totalQueuedPlayers++,this._queue.push({element:t,triggerName:o,transition:l,fromState:h,toState:f,player:D,isFallbackTransition:!0})})}}removeNode(t,e){const i=this._engine;if(t.childElementCount&&this._signalRemovalForInnerTriggers(t,e),this.triggerLeaveAnimation(t,e,!0))return;let r=!1;if(i.totalAnimations){const s=i.players.length?i.playersByQueriedElement.get(t):[];if(s&&s.length)r=!0;else{let o=t;for(;o=o.parentNode;)if(i.statesByElement.get(o)){r=!0;break}}}if(this.prepareLeaveAnimationListeners(t),r)i.markElementAsRemoved(this.id,t,!1,e);else{const s=t[bo];(!s||s===Y1)&&(i.afterFlush(()=>this.clearElementCache(t)),i.destroyInnerAnimations(t),i._onRemovalComplete(t,e))}}insertNode(t,e){wo(t,this._hostClassName)}drainQueuedTransitions(t){const e=[];return this._queue.forEach(i=>{const r=i.player;if(r.destroyed)return;const s=i.element,o=this._elementListeners.get(s);o&&o.forEach(a=>{if(a.name==i.triggerName){const l=Jw(s,i.triggerName,i.fromState.value,i.toState.value);l._data=t,Zw(i.player,a.phase,l,a.callback)}}),r.markedForDestroy?this._engine.afterFlush(()=>{r.destroy()}):e.push(i)}),this._queue=[],e.sort((i,r)=>{const s=i.transition.ast.depCount,o=r.transition.ast.depCount;return 0==s||0==o?s-o:this._engine.driver.containsElement(i.element,r.element)?1:-1})}destroy(t){this.players.forEach(e=>e.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,t)}elementContainsData(t){let e=!1;return this._elementListeners.has(t)&&(e=!0),e=!!this._queue.find(i=>i.element===t)||e,e}}class pz{constructor(t,e,i){this.bodyNode=t,this.driver=e,this._normalizer=i,this.players=[],this.newHostElements=new Map,this.playersByElement=new Map,this.playersByQueriedElement=new Map,this.statesByElement=new Map,this.disabledNodes=new Set,this.totalAnimations=0,this.totalQueuedPlayers=0,this._namespaceLookup={},this._namespaceList=[],this._flushFns=[],this._whenQuietFns=[],this.namespacesByHostElement=new Map,this.collectedEnterElements=[],this.collectedLeaveElements=[],this.onRemovalComplete=(r,s)=>{}}_onRemovalComplete(t,e){this.onRemovalComplete(t,e)}get queuedPlayers(){const t=[];return this._namespaceList.forEach(e=>{e.players.forEach(i=>{i.queued&&t.push(i)})}),t}createNamespace(t,e){const i=new hz(t,e,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,e)?this._balanceNamespaceList(i,e):(this.newHostElements.set(e,i),this.collectEnterElement(e)),this._namespaceLookup[t]=i}_balanceNamespaceList(t,e){const i=this._namespaceList,r=this.namespacesByHostElement,s=i.length-1;if(s>=0){let o=!1;if(void 0!==this.driver.getParentElement){let a=this.driver.getParentElement(e);for(;a;){const l=r.get(a);if(l){const h=i.indexOf(l);i.splice(h+1,0,t),o=!0;break}a=this.driver.getParentElement(a)}}else for(let a=s;a>=0;a--)if(this.driver.containsElement(i[a].hostElement,e)){i.splice(a+1,0,t),o=!0;break}o||i.unshift(t)}else i.push(t);return r.set(e,t),t}register(t,e){let i=this._namespaceLookup[t];return i||(i=this.createNamespace(t,e)),i}registerTrigger(t,e,i){let r=this._namespaceLookup[t];r&&r.register(e,i)&&this.totalAnimations++}destroy(t,e){if(!t)return;const i=this._fetchNamespace(t);this.afterFlush(()=>{this.namespacesByHostElement.delete(i.hostElement),delete this._namespaceLookup[t];const r=this._namespaceList.indexOf(i);r>=0&&this._namespaceList.splice(r,1)}),this.afterFlushAnimationsDone(()=>i.destroy(e))}_fetchNamespace(t){return this._namespaceLookup[t]}fetchNamespacesByElement(t){const e=new Set,i=this.statesByElement.get(t);if(i){const r=Object.keys(i);for(let s=0;s=0&&this.collectedLeaveElements.splice(o,1)}if(t){const o=this._fetchNamespace(t);o&&o.insertNode(e,i)}r&&this.collectEnterElement(e)}collectEnterElement(t){this.collectedEnterElements.push(t)}markElementAsDisabled(t,e){e?this.disabledNodes.has(t)||(this.disabledNodes.add(t),wo(t,fM)):this.disabledNodes.has(t)&&(this.disabledNodes.delete(t),yd(t,fM))}removeNode(t,e,i,r){if(vg(e)){const s=t?this._fetchNamespace(t):null;if(s?s.removeNode(e,r):this.markElementAsRemoved(t,e,!1,r),i){const o=this.namespacesByHostElement.get(e);o&&o.id!==t&&o.removeNode(e,r)}}else this._onRemovalComplete(e,r)}markElementAsRemoved(t,e,i,r,s){this.collectedLeaveElements.push(e),e[bo]={namespaceId:t,setForRemoval:r,hasAnimation:i,removedBeforeQueried:!1,previousTriggersValues:s}}listen(t,e,i,r,s){return vg(e)?this._fetchNamespace(t).listen(e,i,r,s):()=>{}}_buildInstruction(t,e,i,r,s){return t.transition.build(this.driver,t.element,t.fromState.value,t.toState.value,i,r,t.fromState.options,t.toState.options,e,s)}destroyInnerAnimations(t){let e=this.driver.query(t,og,!0);e.forEach(i=>this.destroyActiveAnimationsForElement(i)),0!=this.playersByQueriedElement.size&&(e=this.driver.query(t,rM,!0),e.forEach(i=>this.finishActiveQueriedAnimationOnElement(i)))}destroyActiveAnimationsForElement(t){const e=this.playersByElement.get(t);e&&e.forEach(i=>{i.queued?i.markedForDestroy=!0:i.destroy()})}finishActiveQueriedAnimationOnElement(t){const e=this.playersByQueriedElement.get(t);e&&e.forEach(i=>i.finish())}whenRenderingDone(){return new Promise(t=>{if(this.players.length)return Gl(this.players).onDone(()=>t());t()})}processLeaveNode(t){var e;const i=t[bo];if(i&&i.setForRemoval){if(t[bo]=Y1,i.namespaceId){this.destroyInnerAnimations(t);const r=this._fetchNamespace(i.namespaceId);r&&r.clearElementCache(t)}this._onRemovalComplete(t,i.setForRemoval)}(null===(e=t.classList)||void 0===e?void 0:e.contains(fM))&&this.markElementAsDisabled(t,!1),this.driver.query(t,".ng-animate-disabled",!0).forEach(r=>{this.markElementAsDisabled(r,!1)})}flush(t=-1){let e=[];if(this.newHostElements.size&&(this.newHostElements.forEach((i,r)=>this._balanceNamespaceList(i,r)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let i=0;ii()),this._flushFns=[],this._whenQuietFns.length){const i=this._whenQuietFns;this._whenQuietFns=[],e.length?Gl(e).onDone(()=>{i.forEach(r=>r())}):i.forEach(r=>r())}}reportError(t){throw function g5(n){return new W(3402,li)}()}_flushAnimations(t,e){const i=new gg,r=[],s=new Map,o=[],a=new Map,l=new Map,h=new Map,f=new Set;this.disabledNodes.forEach(_n=>{f.add(_n);const kn=this.driver.query(_n,".ng-animate-queued",!0);for(let Nn=0;Nn{const Nn=iM+Fe++;oe.set(kn,Nn),_n.forEach(mi=>wo(mi,Nn))});const We=[],it=new Set,Ue=new Set;for(let _n=0;_nit.add(mi)):Ue.add(kn))}const Lt=new Map,Gt=q1(k,Array.from(it));Gt.forEach((_n,kn)=>{const Nn=rg+Fe++;Lt.set(kn,Nn),_n.forEach(mi=>wo(mi,Nn))}),t.push(()=>{Y.forEach((_n,kn)=>{const Nn=oe.get(kn);_n.forEach(mi=>yd(mi,Nn))}),Gt.forEach((_n,kn)=>{const Nn=Lt.get(kn);_n.forEach(mi=>yd(mi,Nn))}),We.forEach(_n=>{this.processLeaveNode(_n)})});const wn=[],ii=[];for(let _n=this._namespaceList.length-1;_n>=0;_n--)this._namespaceList[_n].drainQueuedTransitions(e).forEach(Nn=>{const mi=Nn.player,Zr=Nn.element;if(wn.push(mi),this.collectedEnterElements.length){const ks=Zr[bo];if(ks&&ks.setForMove){if(ks.previousTriggersValues&&ks.previousTriggersValues.has(Nn.triggerName)){const mu=ks.previousTriggersValues.get(Nn.triggerName),mc=this.statesByElement.get(Nn.element);mc&&mc[Nn.triggerName]&&(mc[Nn.triggerName].value=mu)}return void mi.destroy()}}const Ga=!D||!this.driver.containsElement(D,Zr),lo=Lt.get(Zr),pc=oe.get(Zr),ar=this._buildInstruction(Nn,i,pc,lo,Ga);if(ar.errors&&ar.errors.length)return void ii.push(ar);if(Ga)return mi.onStart(()=>zc(Zr,ar.fromStyles)),mi.onDestroy(()=>xa(Zr,ar.toStyles)),void r.push(mi);if(Nn.isFallbackTransition)return mi.onStart(()=>zc(Zr,ar.fromStyles)),mi.onDestroy(()=>xa(Zr,ar.toStyles)),void r.push(mi);const NN=[];ar.timelines.forEach(ks=>{ks.stretchStartingKeyframe=!0,this.disabledNodes.has(ks.element)||NN.push(ks)}),ar.timelines=NN,i.append(Zr,ar.timelines),o.push({instruction:ar,player:mi,element:Zr}),ar.queriedElements.forEach(ks=>Zs(a,ks,[]).push(mi)),ar.preStyleProps.forEach((ks,mu)=>{const mc=Object.keys(ks);if(mc.length){let fu=l.get(mu);fu||l.set(mu,fu=new Set),mc.forEach(dE=>fu.add(dE))}}),ar.postStyleProps.forEach((ks,mu)=>{const mc=Object.keys(ks);let fu=h.get(mu);fu||h.set(mu,fu=new Set),mc.forEach(dE=>fu.add(dE))})});if(ii.length){const _n=[];ii.forEach(kn=>{_n.push(function _5(n,t){return new W(3505,li)}())}),wn.forEach(kn=>kn.destroy()),this.reportError(_n)}const Mi=new Map,ms=new Map;o.forEach(_n=>{const kn=_n.element;i.has(kn)&&(ms.set(kn,kn),this._beforeAnimationBuild(_n.player.namespaceId,_n.instruction,Mi))}),r.forEach(_n=>{const kn=_n.element;this._getPreviousPlayers(kn,!1,_n.namespaceId,_n.triggerName,null).forEach(mi=>{Zs(Mi,kn,[]).push(mi),mi.destroy()})});const oo=We.filter(_n=>z1(_n,l,h)),ao=new Map;V1(ao,this.driver,Ue,h,ol).forEach(_n=>{z1(_n,l,h)&&oo.push(_n)});const Ml=new Map;Y.forEach((_n,kn)=>{V1(Ml,this.driver,new Set(_n),l,"!")}),oo.forEach(_n=>{const kn=ao.get(_n),Nn=Ml.get(_n);ao.set(_n,Object.assign(Object.assign({},kn),Nn))});const aa=[],Xd=[],Jd={};o.forEach(_n=>{const{element:kn,player:Nn,instruction:mi}=_n;if(i.has(kn)){if(f.has(kn))return Nn.onDestroy(()=>xa(kn,mi.toStyles)),Nn.disabled=!0,Nn.overrideTotalTime(mi.totalTime),void r.push(Nn);let Zr=Jd;if(ms.size>1){let lo=kn;const pc=[];for(;lo=lo.parentNode;){const ar=ms.get(lo);if(ar){Zr=ar;break}pc.push(lo)}pc.forEach(ar=>ms.set(ar,Zr))}const Ga=this._buildAnimation(Nn.namespaceId,mi,Mi,s,Ml,ao);if(Nn.setRealPlayer(Ga),Zr===Jd)aa.push(Nn);else{const lo=this.playersByElement.get(Zr);lo&&lo.length&&(Nn.parentPlayer=Gl(lo)),r.push(Nn)}}else zc(kn,mi.fromStyles),Nn.onDestroy(()=>xa(kn,mi.toStyles)),Xd.push(Nn),f.has(kn)&&r.push(Nn)}),Xd.forEach(_n=>{const kn=s.get(_n.element);if(kn&&kn.length){const Nn=Gl(kn);_n.setRealPlayer(Nn)}}),r.forEach(_n=>{_n.parentPlayer?_n.syncPlayerEvents(_n.parentPlayer):_n.destroy()});for(let _n=0;_n!Ga.destroyed);Zr.length?_z(this,kn,Zr):this.processLeaveNode(kn)}return We.length=0,aa.forEach(_n=>{this.players.push(_n),_n.onDone(()=>{_n.destroy();const kn=this.players.indexOf(_n);this.players.splice(kn,1)}),_n.play()}),aa}elementContainsData(t,e){let i=!1;const r=e[bo];return r&&r.setForRemoval&&(i=!0),this.playersByElement.has(e)&&(i=!0),this.playersByQueriedElement.has(e)&&(i=!0),this.statesByElement.has(e)&&(i=!0),this._fetchNamespace(t).elementContainsData(e)||i}afterFlush(t){this._flushFns.push(t)}afterFlushAnimationsDone(t){this._whenQuietFns.push(t)}_getPreviousPlayers(t,e,i,r,s){let o=[];if(e){const a=this.playersByQueriedElement.get(t);a&&(o=a)}else{const a=this.playersByElement.get(t);if(a){const l=!s||s==fp;a.forEach(h=>{h.queued||!l&&h.triggerName!=r||o.push(h)})}}return(i||r)&&(o=o.filter(a=>!(i&&i!=a.namespaceId||r&&r!=a.triggerName))),o}_beforeAnimationBuild(t,e,i){const s=e.element,o=e.isRemovalTransition?void 0:t,a=e.isRemovalTransition?void 0:e.triggerName;for(const l of e.timelines){const h=l.element,f=h!==s,D=Zs(i,h,[]);this._getPreviousPlayers(h,f,o,a,e.toState).forEach(Y=>{const oe=Y.getRealPlayer();oe.beforeDestroy&&oe.beforeDestroy(),Y.destroy(),D.push(Y)})}zc(s,e.fromStyles)}_buildAnimation(t,e,i,r,s,o){const a=e.triggerName,l=e.element,h=[],f=new Set,D=new Set,k=e.timelines.map(oe=>{const Fe=oe.element;f.add(Fe);const We=Fe[bo];if(We&&We.removedBeforeQueried)return new pp(oe.duration,oe.delay);const it=Fe!==l,Ue=function yz(n){const t=[];return U1(n,t),t}((i.get(Fe)||uz).map(Mi=>Mi.getRealPlayer())).filter(Mi=>!!Mi.element&&Mi.element===Fe),Lt=s.get(Fe),Gt=o.get(Fe),wn=g1(0,this._normalizer,0,oe.keyframes,Lt,Gt),ii=this._buildPlayer(oe,wn,Ue);if(oe.subTimeline&&r&&D.add(Fe),it){const Mi=new yM(t,a,Fe);Mi.setRealPlayer(ii),h.push(Mi)}return ii});h.forEach(oe=>{Zs(this.playersByQueriedElement,oe.element,[]).push(oe),oe.onDone(()=>function mz(n,t,e){let i;if(n instanceof Map){if(i=n.get(t),i){if(i.length){const r=i.indexOf(e);i.splice(r,1)}0==i.length&&n.delete(t)}}else if(i=n[t],i){if(i.length){const r=i.indexOf(e);i.splice(r,1)}0==i.length&&delete n[t]}return i}(this.playersByQueriedElement,oe.element,oe))}),f.forEach(oe=>wo(oe,T1));const Y=Gl(k);return Y.onDestroy(()=>{f.forEach(oe=>yd(oe,T1)),xa(l,e.toStyles)}),D.forEach(oe=>{Zs(r,oe,[]).push(Y)}),Y}_buildPlayer(t,e,i){return e.length>0?this.driver.animate(t.element,e,t.duration,t.delay,t.easing,i):new pp(t.duration,t.delay)}}class yM{constructor(t,e,i){this.namespaceId=t,this.triggerName=e,this.element=i,this._player=new pp,this._containsRealPlayer=!1,this._queuedCallbacks={},this.destroyed=!1,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(t){this._containsRealPlayer||(this._player=t,Object.keys(this._queuedCallbacks).forEach(e=>{this._queuedCallbacks[e].forEach(i=>Zw(t,e,void 0,i))}),this._queuedCallbacks={},this._containsRealPlayer=!0,this.overrideTotalTime(t.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(t){this.totalTime=t}syncPlayerEvents(t){const e=this._player;e.triggerCallback&&t.onStart(()=>e.triggerCallback("start")),t.onDone(()=>this.finish()),t.onDestroy(()=>this.destroy())}_queueEvent(t,e){Zs(this._queuedCallbacks,t,[]).push(e)}onDone(t){this.queued&&this._queueEvent("done",t),this._player.onDone(t)}onStart(t){this.queued&&this._queueEvent("start",t),this._player.onStart(t)}onDestroy(t){this.queued&&this._queueEvent("destroy",t),this._player.onDestroy(t)}init(){this._player.init()}hasStarted(){return!this.queued&&this._player.hasStarted()}play(){!this.queued&&this._player.play()}pause(){!this.queued&&this._player.pause()}restart(){!this.queued&&this._player.restart()}finish(){this._player.finish()}destroy(){this.destroyed=!0,this._player.destroy()}reset(){!this.queued&&this._player.reset()}setPosition(t){this.queued||this._player.setPosition(t)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(t){const e=this._player;e.triggerCallback&&e.triggerCallback(t)}}function vg(n){return n&&1===n.nodeType}function H1(n,t){const e=n.style.display;return n.style.display=null!=t?t:"none",e}function V1(n,t,e,i,r){const s=[];e.forEach(l=>s.push(H1(l)));const o=[];i.forEach((l,h)=>{const f={};l.forEach(D=>{const k=f[D]=t.computeStyle(h,D,r);(!k||0==k.length)&&(h[bo]=dz,o.push(h))}),n.set(h,f)});let a=0;return e.forEach(l=>H1(l,s[a++])),o}function q1(n,t){const e=new Map;if(n.forEach(a=>e.set(a,[])),0==t.length)return e;const r=new Set(t),s=new Map;function o(a){if(!a)return 1;let l=s.get(a);if(l)return l;const h=a.parentNode;return l=e.has(h)?h:r.has(h)?1:o(h),s.set(a,l),l}return t.forEach(a=>{const l=o(a);1!==l&&e.get(l).push(a)}),e}function wo(n,t){var e;null===(e=n.classList)||void 0===e||e.add(t)}function yd(n,t){var e;null===(e=n.classList)||void 0===e||e.remove(t)}function _z(n,t,e){Gl(e).onDone(()=>n.processLeaveNode(t))}function U1(n,t){for(let e=0;er.add(s)):t.set(n,i),e.delete(n),!0}class bg{constructor(t,e,i){this.bodyNode=t,this._driver=e,this._normalizer=i,this._triggerCache={},this.onRemovalComplete=(r,s)=>{},this._transitionEngine=new pz(t,e,i),this._timelineEngine=new sz(t,e,i),this._transitionEngine.onRemovalComplete=(r,s)=>this.onRemovalComplete(r,s)}registerTrigger(t,e,i,r,s){const o=t+"-"+r;let a=this._triggerCache[o];if(!a){const l=[],f=lM(this._driver,s,l,[]);if(l.length)throw function o5(n,t){return new W(3404,li)}();a=function tz(n,t,e){return new nz(n,t,e)}(r,f,this._normalizer),this._triggerCache[o]=a}this._transitionEngine.registerTrigger(e,r,a)}register(t,e){this._transitionEngine.register(t,e)}destroy(t,e){this._transitionEngine.destroy(t,e)}onInsert(t,e,i,r){this._transitionEngine.insertNode(t,e,i,r)}onRemove(t,e,i,r){this._transitionEngine.removeNode(t,e,r||!1,i)}disableAnimations(t,e){this._transitionEngine.markElementAsDisabled(t,e)}process(t,e,i,r){if("@"==i.charAt(0)){const[s,o]=_1(i);this._timelineEngine.command(s,e,o,r)}else this._transitionEngine.trigger(t,e,i,r)}listen(t,e,i,r,s){if("@"==i.charAt(0)){const[o,a]=_1(i);return this._timelineEngine.listen(o,e,a,s)}return this._transitionEngine.listen(t,e,i,r,s)}flush(t=-1){this._transitionEngine.flush(t)}get players(){return this._transitionEngine.players.concat(this._timelineEngine.players)}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}}let wz=(()=>{class n{constructor(e,i,r){this._element=e,this._startStyles=i,this._endStyles=r,this._state=0;let s=n.initialStylesByElement.get(e);s||n.initialStylesByElement.set(e,s={}),this._initialStyles=s}start(){this._state<1&&(this._startStyles&&xa(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(xa(this._element,this._initialStyles),this._endStyles&&(xa(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(n.initialStylesByElement.delete(this._element),this._startStyles&&(zc(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(zc(this._element,this._endStyles),this._endStyles=null),xa(this._element,this._initialStyles),this._state=3)}}return n.initialStylesByElement=new WeakMap,n})();function vM(n){let t=null;const e=Object.keys(n);for(let i=0;it()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const t=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,t,this.options),this._finalKeyframe=t.length?t[t.length-1]:{},this.domPlayer.addEventListener("finish",()=>this._onFinish())}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_triggerWebAnimation(t,e,i){return t.animate(e,i)}onStart(t){this._onStartFns.push(t)}onDone(t){this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(t=>t()),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()}pause(){this.init(),this.domPlayer.pause()}finish(){this.init(),this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish()}reset(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1}_resetDomPlayerState(){this.domPlayer&&this.domPlayer.cancel()}restart(){this.reset(),this.play()}hasStarted(){return this._started}destroy(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(t=>t()),this._onDestroyFns=[])}setPosition(t){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=t*this.time}getPosition(){return this.domPlayer.currentTime/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const t={};if(this.hasStarted()){const e=this._finalKeyframe;Object.keys(e).forEach(i=>{"offset"!=i&&(t[i]=this._finished?e[i]:A1(this.element,i))})}this.currentSnapshot=t}triggerCallback(t){const e="start"==t?this._onStartFns:this._onDoneFns;e.forEach(i=>i()),e.length=0}}class Dz{validateStyleProperty(t){return w1(t)}matchesElement(t,e){return!1}containsElement(t,e){return M1(t,e)}getParentElement(t){return tM(t)}query(t,e,i){return D1(t,e,i)}computeStyle(t,e,i){return window.getComputedStyle(t)[e]}animate(t,e,i,r,s,o=[]){const l={duration:i,delay:r,fill:0==r?"both":"forwards"};s&&(l.easing=s);const h={},f=o.filter(k=>k instanceof G1);(function S5(n,t){return 0===n||0===t})(i,r)&&f.forEach(k=>{let Y=k.currentSnapshot;Object.keys(Y).forEach(oe=>h[oe]=Y[oe])}),e=function k5(n,t,e){const i=Object.keys(e);if(i.length&&t.length){let s=t[0],o=[];if(i.forEach(a=>{s.hasOwnProperty(a)||o.push(a),s[a]=e[a]}),o.length)for(var r=1;r$l(k,!1)),h);const D=function bz(n,t){let e=null,i=null;return Array.isArray(t)&&t.length?(e=vM(t[0]),t.length>1&&(i=vM(t[t.length-1]))):t&&(e=vM(t)),e||i?new wz(n,e,i):null}(t,e);return new G1(t,e,l,D)}}let Ez=(()=>{class n extends d1{constructor(e,i){super(),this._nextAnimationId=0,this._renderer=e.createRenderer(i.body,{id:"0",encapsulation:is.None,styles:[],data:{animation:[]}})}build(e){const i=this._nextAnimationId.toString();this._nextAnimationId++;const r=Array.isArray(e)?h1(e):e;return $1(this._renderer,null,i,"register",[r]),new Cz(i,this._renderer)}}return n.\u0275fac=function(e){return new(e||n)(Se(Zh),Se(Dn))},n.\u0275prov=De({token:n,factory:n.\u0275fac}),n})();class Cz extends class N4{}{constructor(t,e){super(),this._id=t,this._renderer=e}create(t,e){return new Tz(this._id,t,e||{},this._renderer)}}class Tz{constructor(t,e,i,r){this.id=t,this.element=e,this._renderer=r,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",i)}_listen(t,e){return this._renderer.listen(this.element,`@@${this.id}:${t}`,e)}_command(t,...e){return $1(this._renderer,this.element,this.id,t,e)}onDone(t){this._listen("done",t)}onStart(t){this._listen("start",t)}onDestroy(t){this._listen("destroy",t)}init(){this._command("init")}hasStarted(){return this._started}play(){this._command("play"),this._started=!0}pause(){this._command("pause")}restart(){this._command("restart")}finish(){this._command("finish")}destroy(){this._command("destroy")}reset(){this._command("reset"),this._started=!1}setPosition(t){this._command("setPosition",t)}getPosition(){var t,e;return null!==(e=null===(t=this._renderer.engine.players[+this.id])||void 0===t?void 0:t.getPosition())&&void 0!==e?e:0}}function $1(n,t,e,i,r){return n.setProperty(t,`@@${e}:${i}`,r)}const W1="@.disabled";let Sz=(()=>{class n{constructor(e,i,r){this.delegate=e,this.engine=i,this._zone=r,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,this.promise=Promise.resolve(0),i.onRemovalComplete=(s,o)=>{const a=null==o?void 0:o.parentNode(s);a&&o.removeChild(a,s)}}createRenderer(e,i){const s=this.delegate.createRenderer(e,i);if(!(e&&i&&i.data&&i.data.animation)){let f=this._rendererCache.get(s);return f||(f=new Q1("",s,this.engine),this._rendererCache.set(s,f)),f}const o=i.id,a=i.id+"-"+this._currentId;this._currentId++,this.engine.register(a,e);const l=f=>{Array.isArray(f)?f.forEach(l):this.engine.registerTrigger(o,a,e,f.name,f)};return i.data.animation.forEach(l),new kz(this,a,s,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){this.promise.then(()=>{this._microtaskId++})}scheduleListenerCallback(e,i,r){e>=0&&ei(r)):(0==this._animationCallbacksBuffer.length&&Promise.resolve(null).then(()=>{this._zone.run(()=>{this._animationCallbacksBuffer.forEach(s=>{const[o,a]=s;o(a)}),this._animationCallbacksBuffer=[]})}),this._animationCallbacksBuffer.push([i,r]))}end(){this._cdRecurDepth--,0==this._cdRecurDepth&&this._zone.runOutsideAngular(()=>{this._scheduleCountTask(),this.engine.flush(this._microtaskId)}),this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.engine.whenRenderingDone()}}return n.\u0275fac=function(e){return new(e||n)(Se(Zh),Se(bg),Se(yn))},n.\u0275prov=De({token:n,factory:n.\u0275fac}),n})();class Q1{constructor(t,e,i){this.namespaceId=t,this.delegate=e,this.engine=i,this.destroyNode=this.delegate.destroyNode?r=>e.destroyNode(r):null}get data(){return this.delegate.data}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.delegate.destroy()}createElement(t,e){return this.delegate.createElement(t,e)}createComment(t){return this.delegate.createComment(t)}createText(t){return this.delegate.createText(t)}appendChild(t,e){this.delegate.appendChild(t,e),this.engine.onInsert(this.namespaceId,e,t,!1)}insertBefore(t,e,i,r=!0){this.delegate.insertBefore(t,e,i),this.engine.onInsert(this.namespaceId,e,t,r)}removeChild(t,e,i){this.engine.onRemove(this.namespaceId,e,this.delegate,i)}selectRootElement(t,e){return this.delegate.selectRootElement(t,e)}parentNode(t){return this.delegate.parentNode(t)}nextSibling(t){return this.delegate.nextSibling(t)}setAttribute(t,e,i,r){this.delegate.setAttribute(t,e,i,r)}removeAttribute(t,e,i){this.delegate.removeAttribute(t,e,i)}addClass(t,e){this.delegate.addClass(t,e)}removeClass(t,e){this.delegate.removeClass(t,e)}setStyle(t,e,i,r){this.delegate.setStyle(t,e,i,r)}removeStyle(t,e,i){this.delegate.removeStyle(t,e,i)}setProperty(t,e,i){"@"==e.charAt(0)&&e==W1?this.disableAnimations(t,!!i):this.delegate.setProperty(t,e,i)}setValue(t,e){this.delegate.setValue(t,e)}listen(t,e,i){return this.delegate.listen(t,e,i)}disableAnimations(t,e){this.engine.disableAnimations(t,e)}}class kz extends Q1{constructor(t,e,i,r){super(e,i,r),this.factory=t,this.namespaceId=e}setProperty(t,e,i){"@"==e.charAt(0)?"."==e.charAt(1)&&e==W1?this.disableAnimations(t,i=void 0===i||!!i):this.engine.process(this.namespaceId,t,e.substr(1),i):this.delegate.setProperty(t,e,i)}listen(t,e,i){if("@"==e.charAt(0)){const r=function xz(n){switch(n){case"body":return document.body;case"document":return document;case"window":return window;default:return n}}(t);let s=e.substr(1),o="";return"@"!=s.charAt(0)&&([s,o]=function Iz(n){const t=n.indexOf(".");return[n.substring(0,t),n.substr(t+1)]}(s)),this.engine.listen(this.namespaceId,r,s,o,a=>{this.factory.scheduleListenerCallback(a._data||-1,i,a)})}return this.delegate.listen(t,e,i)}}let Az=(()=>{class n extends bg{constructor(e,i,r){super(e.body,i,r)}ngOnDestroy(){this.flush()}}return n.\u0275fac=function(e){return new(e||n)(Se(Dn),Se(nM),Se(pM))},n.\u0275prov=De({token:n,factory:n.\u0275fac}),n})();const Zi=new pt("AnimationModuleType"),K1=[{provide:d1,useClass:Ez},{provide:pM,useFactory:function Rz(){return new K5}},{provide:bg,useClass:Az},{provide:Zh,useFactory:function Lz(n,t,e){return new Sz(n,t,e)},deps:[Jf,bg,yn]}],Z1=[{provide:nM,useFactory:()=>new Dz},{provide:Zi,useValue:"BrowserAnimations"},...K1],Oz=[{provide:nM,useClass:E1},{provide:Zi,useValue:"NoopAnimations"},...K1];let Pz=(()=>{class n{static withConfig(e){return{ngModule:n,providers:e.disableAnimations?Oz:Z1}}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Ht({type:n}),n.\u0275inj=He({providers:Z1,imports:[Qx]}),n})();class xi extends K{constructor(t){super(),this._value=t}get value(){return this.getValue()}_subscribe(t){const e=super._subscribe(t);return e&&!e.closed&&t.next(this._value),e}getValue(){if(this.hasError)throw this.thrownError;if(this.closed)throw new E;return this._value}next(t){super.next(this._value=t)}}class Fz extends F{notifyNext(t,e,i,r,s){this.destination.next(e)}notifyError(t,e){this.destination.error(t)}notifyComplete(t){this.destination.complete()}}class Nz extends F{constructor(t,e,i){super(),this.parent=t,this.outerValue=e,this.outerIndex=i,this.index=0}_next(t){this.parent.notifyNext(this.outerValue,t,this.outerIndex,this.index++,this)}_error(t){this.parent.notifyError(t,this),this.unsubscribe()}_complete(){this.parent.notifyComplete(this),this.unsubscribe()}}function jz(n,t,e,i,r=new Nz(n,e,i)){if(!r.closed)return t instanceof st?t.subscribe(r):ut(t)(r)}const X1={};function bM(...n){let t,e;return Ne(n[n.length-1])&&(e=n.pop()),"function"==typeof n[n.length-1]&&(t=n.pop()),1===n.length&&g(n[0])&&(n=n[0]),Ze(n,e).lift(new Bz(t))}class Bz{constructor(t){this.resultSelector=t}call(t,e){return e.subscribe(new Yz(t,this.resultSelector))}}class Yz extends Fz{constructor(t,e){super(t),this.resultSelector=e,this.active=0,this.values=[],this.observables=[]}_next(t){this.values.push(X1),this.observables.push(t)}_complete(){const t=this.observables,e=t.length;if(0===e)this.destination.complete();else{this.active=e,this.toRespond=e;for(let i=0;it.schedule(Hz,0,{error:n,subscriber:e}):e=>e.error(n))}function Hz({error:n,subscriber:t}){t.error(n)}const Mg=(()=>{function n(){return Error.call(this),this.message="no elements in sequence",this.name="EmptyError",this}return n.prototype=Object.create(Error.prototype),n})();function Dg(...n){return function Vz(){return xe(1)}()(Wt(...n))}const Zo=new st(n=>n.complete());function Eg(n){return n?function qz(n){return new st(t=>n.schedule(()=>t.complete()))}(n):Zo}function gp(n){return new st(t=>{let e;try{e=n()}catch(r){return void t.error(r)}return(e?St(e):Eg()).subscribe(t)})}function Jr(n,t){return"function"==typeof t?e=>e.pipe(Jr((i,r)=>St(n(i,r)).pipe(_e((s,o)=>t(i,s,r,o))))):e=>e.lift(new Uz(n))}class Uz{constructor(t){this.project=t}call(t,e){return e.subscribe(new zz(t,this.project))}}class zz extends Vt{constructor(t,e){super(t),this.project=e,this.index=0}_next(t){let e;const i=this.index++;try{e=this.project(t,i)}catch(r){return void this.destination.error(r)}this._innerSub(e)}_innerSub(t){const e=this.innerSubscription;e&&e.unsubscribe();const i=new Qt(this),r=this.destination;r.add(i),this.innerSubscription=xn(t,i),this.innerSubscription!==i&&r.add(this.innerSubscription)}_complete(){const{innerSubscription:t}=this;(!t||t.closed)&&super._complete(),this.unsubscribe()}_unsubscribe(){this.innerSubscription=void 0}notifyComplete(){this.innerSubscription=void 0,this.isStopped&&super._complete()}notifyNext(t){this.destination.next(t)}}const J1=(()=>{function n(){return Error.call(this),this.message="argument out of range",this.name="ArgumentOutOfRangeError",this}return n.prototype=Object.create(Error.prototype),n})();function Ii(n){return t=>0===n?Eg():t.lift(new Gz(n))}class Gz{constructor(t){if(this.total=t,this.total<0)throw new J1}call(t,e){return e.subscribe(new $z(t,this.total))}}class $z extends F{constructor(t,e){super(t),this.total=e,this.count=0}_next(t){const e=this.total,i=++this.count;i<=e&&(this.destination.next(t),i===e&&(this.destination.complete(),this.unsubscribe()))}}function hr(...n){const t=n[n.length-1];return Ne(t)?(n.pop(),e=>Dg(n,e,t)):e=>Dg(n,e)}function eI(n,t){let e=!1;return arguments.length>=2&&(e=!0),function(r){return r.lift(new Wz(n,t,e))}}class Wz{constructor(t,e,i=!1){this.accumulator=t,this.seed=e,this.hasSeed=i}call(t,e){return e.subscribe(new Qz(t,this.accumulator,this.seed,this.hasSeed))}}class Qz extends F{constructor(t,e,i,r){super(t),this.accumulator=e,this._seed=i,this.hasSeed=r,this.index=0}get seed(){return this._seed}set seed(t){this.hasSeed=!0,this._seed=t}_next(t){if(this.hasSeed)return this._tryNext(t);this.seed=t,this.destination.next(t)}_tryNext(t){const e=this.index++;let i;try{i=this.accumulator(this.seed,t,e)}catch(r){this.destination.error(r)}this.seed=i,this.destination.next(i)}}function Ni(n){return function(e){const i=new Kz(n),r=e.lift(i);return i.caught=r}}class Kz{constructor(t){this.selector=t}call(t,e){return e.subscribe(new Zz(t,this.selector,this.caught))}}class Zz extends Vt{constructor(t,e,i){super(t),this.selector=e,this.caught=i}error(t){if(!this.isStopped){let e;try{e=this.selector(t,this.caught)}catch(s){return void super.error(s)}this._unsubscribeAndRecycle();const i=new Qt(this);this.add(i);const r=xn(e,i);r!==i&&this.add(r)}}}function wM(n){return function(e){return 0===n?Eg():e.lift(new Xz(n))}}class Xz{constructor(t){if(this.total=t,this.total<0)throw new J1}call(t,e){return e.subscribe(new Jz(t,this.total))}}class Jz extends F{constructor(t,e){super(t),this.total=e,this.ring=new Array,this.count=0}_next(t){const e=this.ring,i=this.total,r=this.count++;e.length0){const i=this.count>=this.total?this.total:this.count,r=this.ring;for(let s=0;st.lift(new eG(n))}class eG{constructor(t){this.errorFactory=t}call(t,e){return e.subscribe(new tG(t,this.errorFactory))}}class tG extends F{constructor(t,e){super(t),this.errorFactory=e,this.hasValue=!1}_next(t){this.hasValue=!0,this.destination.next(t)}_complete(){if(this.hasValue)return this.destination.complete();{let t;try{t=this.errorFactory()}catch(e){t=e}this.destination.error(t)}}}function nG(){return new Mg}function tI(n=null){return t=>t.lift(new iG(n))}class iG{constructor(t){this.defaultValue=t}call(t,e){return e.subscribe(new rG(t,this.defaultValue))}}class rG extends F{constructor(t,e){super(t),this.defaultValue=e,this.isEmpty=!0}_next(t){this.isEmpty=!1,this.destination.next(t)}_complete(){this.isEmpty&&this.destination.next(this.defaultValue),this.destination.complete()}}function Js(n,t){const e=arguments.length>=2;return i=>i.pipe(n?hi((r,s)=>n(r,s,i)):jt,Ii(1),e?tI(t):vd(()=>new Mg))}function Wl(){}function wr(n,t,e){return function(r){return r.lift(new oG(n,t,e))}}class oG{constructor(t,e,i){this.nextOrObserver=t,this.error=e,this.complete=i}call(t,e){return e.subscribe(new aG(t,this.nextOrObserver,this.error,this.complete))}}class aG extends F{constructor(t,e,i,r){super(t),this._tapNext=Wl,this._tapError=Wl,this._tapComplete=Wl,this._tapError=i||Wl,this._tapComplete=r||Wl,v(e)?(this._context=this,this._tapNext=e):e&&(this._context=e,this._tapNext=e.next||Wl,this._tapError=e.error||Wl,this._tapComplete=e.complete||Wl)}_next(t){try{this._tapNext.call(this._context,t)}catch(e){return void this.destination.error(e)}this.destination.next(t)}_error(t){try{this._tapError.call(this._context,t)}catch(e){return void this.destination.error(e)}this.destination.error(t)}_complete(){try{this._tapComplete.call(this._context)}catch(t){return void this.destination.error(t)}return this.destination.complete()}}function Ia(n){return t=>t.lift(new lG(n))}class lG{constructor(t){this.callback=t}call(t,e){return e.subscribe(new cG(t,this.callback))}}class cG extends F{constructor(t,e){super(t),this.add(new P(e))}}class al{constructor(t,e){this.id=t,this.url=e}}class MM extends al{constructor(t,e,i="imperative",r=null){super(t,e),this.navigationTrigger=i,this.restoredState=r}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class bd extends al{constructor(t,e,i){super(t,e),this.urlAfterRedirects=i}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class nI extends al{constructor(t,e,i){super(t,e),this.reason=i}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class uG extends al{constructor(t,e,i){super(t,e),this.error=i}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class iI extends al{constructor(t,e,i,r){super(t,e),this.urlAfterRedirects=i,this.state=r}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class dG extends al{constructor(t,e,i,r){super(t,e),this.urlAfterRedirects=i,this.state=r}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class hG extends al{constructor(t,e,i,r,s){super(t,e),this.urlAfterRedirects=i,this.state=r,this.shouldActivate=s}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class pG extends al{constructor(t,e,i,r){super(t,e),this.urlAfterRedirects=i,this.state=r}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class mG extends al{constructor(t,e,i,r){super(t,e),this.urlAfterRedirects=i,this.state=r}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class rI{constructor(t){this.route=t}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class sI{constructor(t){this.route=t}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class fG{constructor(t){this.snapshot=t}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class gG{constructor(t){this.snapshot=t}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class _G{constructor(t){this.snapshot=t}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class yG{constructor(t){this.snapshot=t}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class oI{constructor(t,e,i){this.routerEvent=t,this.position=e,this.anchor=i}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}const ni="primary";class vG{constructor(t){this.params=t||{}}has(t){return Object.prototype.hasOwnProperty.call(this.params,t)}get(t){if(this.has(t)){const e=this.params[t];return Array.isArray(e)?e[0]:e}return null}getAll(t){if(this.has(t)){const e=this.params[t];return Array.isArray(e)?e:[e]}return[]}get keys(){return Object.keys(this.params)}}function wd(n){return new vG(n)}const aI="ngNavigationCancelingError";function DM(n){const t=Error("NavigationCancelingError: "+n);return t[aI]=!0,t}function wG(n,t,e){const i=e.path.split("/");if(i.length>n.length||"full"===e.pathMatch&&(t.hasChildren()||i.lengthi[s]===r)}return n===t}function cI(n){return Array.prototype.concat.apply([],n)}function uI(n){return n.length>0?n[n.length-1]:null}function es(n,t){for(const e in n)n.hasOwnProperty(e)&&t(n[e],e)}function Ra(n){return Lb(n)?n:zh(n)?St(Promise.resolve(n)):Wt(n)}const EG={exact:function pI(n,t,e){if(!Wc(n.segments,t.segments)||!Cg(n.segments,t.segments,e)||n.numberOfChildren!==t.numberOfChildren)return!1;for(const i in t.children)if(!n.children[i]||!pI(n.children[i],t.children[i],e))return!1;return!0},subset:mI},dI={exact:function CG(n,t){return Aa(n,t)},subset:function TG(n,t){return Object.keys(t).length<=Object.keys(n).length&&Object.keys(t).every(e=>lI(n[e],t[e]))},ignored:()=>!0};function hI(n,t,e){return EG[e.paths](n.root,t.root,e.matrixParams)&&dI[e.queryParams](n.queryParams,t.queryParams)&&!("exact"===e.fragment&&n.fragment!==t.fragment)}function mI(n,t,e){return fI(n,t,t.segments,e)}function fI(n,t,e,i){if(n.segments.length>e.length){const r=n.segments.slice(0,e.length);return!(!Wc(r,e)||t.hasChildren()||!Cg(r,e,i))}if(n.segments.length===e.length){if(!Wc(n.segments,e)||!Cg(n.segments,e,i))return!1;for(const r in t.children)if(!n.children[r]||!mI(n.children[r],t.children[r],i))return!1;return!0}{const r=e.slice(0,n.segments.length),s=e.slice(n.segments.length);return!!(Wc(n.segments,r)&&Cg(n.segments,r,i)&&n.children[ni])&&fI(n.children[ni],t,s,i)}}function Cg(n,t,e){return t.every((i,r)=>dI[e](n[r].parameters,i.parameters))}class $c{constructor(t,e,i){this.root=t,this.queryParams=e,this.fragment=i}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=wd(this.queryParams)),this._queryParamMap}toString(){return xG.serialize(this)}}class ci{constructor(t,e){this.segments=t,this.children=e,this.parent=null,es(e,(i,r)=>i.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Tg(this)}}class _p{constructor(t,e){this.path=t,this.parameters=e}get parameterMap(){return this._parameterMap||(this._parameterMap=wd(this.parameters)),this._parameterMap}toString(){return bI(this)}}function Wc(n,t){return n.length===t.length&&n.every((e,i)=>e.path===t[i].path)}class gI{}class _I{parse(t){const e=new jG(t);return new $c(e.parseRootSegment(),e.parseQueryParams(),e.parseFragment())}serialize(t){const e=`/${yp(t.root,!0)}`,i=function RG(n){const t=Object.keys(n).map(e=>{const i=n[e];return Array.isArray(i)?i.map(r=>`${Sg(e)}=${Sg(r)}`).join("&"):`${Sg(e)}=${Sg(i)}`}).filter(e=>!!e);return t.length?`?${t.join("&")}`:""}(t.queryParams),r="string"==typeof t.fragment?`#${function IG(n){return encodeURI(n)}(t.fragment)}`:"";return`${e}${i}${r}`}}const xG=new _I;function Tg(n){return n.segments.map(t=>bI(t)).join("/")}function yp(n,t){if(!n.hasChildren())return Tg(n);if(t){const e=n.children[ni]?yp(n.children[ni],!1):"",i=[];return es(n.children,(r,s)=>{s!==ni&&i.push(`${s}:${yp(r,!1)}`)}),i.length>0?`${e}(${i.join("//")})`:e}{const e=function kG(n,t){let e=[];return es(n.children,(i,r)=>{r===ni&&(e=e.concat(t(i,r)))}),es(n.children,(i,r)=>{r!==ni&&(e=e.concat(t(i,r)))}),e}(n,(i,r)=>r===ni?[yp(n.children[ni],!1)]:[`${r}:${yp(i,!1)}`]);return 1===Object.keys(n.children).length&&null!=n.children[ni]?`${Tg(n)}/${e[0]}`:`${Tg(n)}/(${e.join("//")})`}}function yI(n){return encodeURIComponent(n).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Sg(n){return yI(n).replace(/%3B/gi,";")}function EM(n){return yI(n).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function kg(n){return decodeURIComponent(n)}function vI(n){return kg(n.replace(/\+/g,"%20"))}function bI(n){return`${EM(n.path)}${function AG(n){return Object.keys(n).map(t=>`;${EM(t)}=${EM(n[t])}`).join("")}(n.parameters)}`}const LG=/^[^\/()?;=#]+/;function xg(n){const t=n.match(LG);return t?t[0]:""}const OG=/^[^=?&#]+/,FG=/^[^&#]+/;class jG{constructor(t){this.url=t,this.remaining=t}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new ci([],{}):new ci([],this.parseChildren())}parseQueryParams(){const t={};if(this.consumeOptional("?"))do{this.parseQueryParam(t)}while(this.consumeOptional("&"));return t}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const t=[];for(this.peekStartsWith("(")||t.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),t.push(this.parseSegment());let e={};this.peekStartsWith("/(")&&(this.capture("/"),e=this.parseParens(!0));let i={};return this.peekStartsWith("(")&&(i=this.parseParens(!1)),(t.length>0||Object.keys(e).length>0)&&(i[ni]=new ci(t,e)),i}parseSegment(){const t=xg(this.remaining);if(""===t&&this.peekStartsWith(";"))throw new Error(`Empty path url segment cannot have parameters: '${this.remaining}'.`);return this.capture(t),new _p(kg(t),this.parseMatrixParams())}parseMatrixParams(){const t={};for(;this.consumeOptional(";");)this.parseParam(t);return t}parseParam(t){const e=xg(this.remaining);if(!e)return;this.capture(e);let i="";if(this.consumeOptional("=")){const r=xg(this.remaining);r&&(i=r,this.capture(i))}t[kg(e)]=kg(i)}parseQueryParam(t){const e=function PG(n){const t=n.match(OG);return t?t[0]:""}(this.remaining);if(!e)return;this.capture(e);let i="";if(this.consumeOptional("=")){const o=function NG(n){const t=n.match(FG);return t?t[0]:""}(this.remaining);o&&(i=o,this.capture(i))}const r=vI(e),s=vI(i);if(t.hasOwnProperty(r)){let o=t[r];Array.isArray(o)||(o=[o],t[r]=o),o.push(s)}else t[r]=s}parseParens(t){const e={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const i=xg(this.remaining),r=this.remaining[i.length];if("/"!==r&&")"!==r&&";"!==r)throw new Error(`Cannot parse url '${this.url}'`);let s;i.indexOf(":")>-1?(s=i.substr(0,i.indexOf(":")),this.capture(s),this.capture(":")):t&&(s=ni);const o=this.parseChildren();e[s]=1===Object.keys(o).length?o[ni]:new ci([],o),this.consumeOptional("//")}return e}peekStartsWith(t){return this.remaining.startsWith(t)}consumeOptional(t){return!!this.peekStartsWith(t)&&(this.remaining=this.remaining.substring(t.length),!0)}capture(t){if(!this.consumeOptional(t))throw new Error(`Expected "${t}".`)}}class wI{constructor(t){this._root=t}get root(){return this._root.value}parent(t){const e=this.pathFromRoot(t);return e.length>1?e[e.length-2]:null}children(t){const e=CM(t,this._root);return e?e.children.map(i=>i.value):[]}firstChild(t){const e=CM(t,this._root);return e&&e.children.length>0?e.children[0].value:null}siblings(t){const e=TM(t,this._root);return e.length<2?[]:e[e.length-2].children.map(r=>r.value).filter(r=>r!==t)}pathFromRoot(t){return TM(t,this._root).map(e=>e.value)}}function CM(n,t){if(n===t.value)return t;for(const e of t.children){const i=CM(n,e);if(i)return i}return null}function TM(n,t){if(n===t.value)return[t];for(const e of t.children){const i=TM(n,e);if(i.length)return i.unshift(t),i}return[]}class ll{constructor(t,e){this.value=t,this.children=e}toString(){return`TreeNode(${this.value})`}}function Md(n){const t={};return n&&n.children.forEach(e=>t[e.value.outlet]=e),t}class MI extends wI{constructor(t,e){super(t),this.snapshot=e,SM(this,t)}toString(){return this.snapshot.toString()}}function DI(n,t){const e=function BG(n,t){const o=new Ig([],{},{},"",{},ni,t,null,n.root,-1,{});return new CI("",new ll(o,[]))}(n,t),i=new xi([new _p("",{})]),r=new xi({}),s=new xi({}),o=new xi({}),a=new xi(""),l=new Xo(i,r,o,a,s,ni,t,e.root);return l.snapshot=e.root,new MI(new ll(l,[]),e)}class Xo{constructor(t,e,i,r,s,o,a,l){this.url=t,this.params=e,this.queryParams=i,this.fragment=r,this.data=s,this.outlet=o,this.component=a,this._futureSnapshot=l}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=this.params.pipe(_e(t=>wd(t)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe(_e(t=>wd(t)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function EI(n,t="emptyOnly"){const e=n.pathFromRoot;let i=0;if("always"!==t)for(i=e.length-1;i>=1;){const r=e[i],s=e[i-1];if(r.routeConfig&&""===r.routeConfig.path)i--;else{if(s.component)break;i--}}return function YG(n){return n.reduce((t,e)=>({params:Object.assign(Object.assign({},t.params),e.params),data:Object.assign(Object.assign({},t.data),e.data),resolve:Object.assign(Object.assign({},t.resolve),e._resolvedData)}),{params:{},data:{},resolve:{}})}(e.slice(i))}class Ig{constructor(t,e,i,r,s,o,a,l,h,f,D){this.url=t,this.params=e,this.queryParams=i,this.fragment=r,this.data=s,this.outlet=o,this.component=a,this.routeConfig=l,this._urlSegment=h,this._lastPathIndex=f,this._resolve=D}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=wd(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=wd(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(i=>i.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class CI extends wI{constructor(t,e){super(e),this.url=t,SM(this,e)}toString(){return TI(this._root)}}function SM(n,t){t.value._routerState=n,t.children.forEach(e=>SM(n,e))}function TI(n){const t=n.children.length>0?` { ${n.children.map(TI).join(", ")} } `:"";return`${n.value}${t}`}function kM(n){if(n.snapshot){const t=n.snapshot,e=n._futureSnapshot;n.snapshot=e,Aa(t.queryParams,e.queryParams)||n.queryParams.next(e.queryParams),t.fragment!==e.fragment&&n.fragment.next(e.fragment),Aa(t.params,e.params)||n.params.next(e.params),function MG(n,t){if(n.length!==t.length)return!1;for(let e=0;eAa(e.parameters,t[i].parameters))}(n.url,t.url);return e&&!(!n.parent!=!t.parent)&&(!n.parent||xM(n.parent,t.parent))}function vp(n,t,e){if(e&&n.shouldReuseRoute(t.value,e.value.snapshot)){const i=e.value;i._futureSnapshot=t.value;const r=function VG(n,t,e){return t.children.map(i=>{for(const r of e.children)if(n.shouldReuseRoute(i.value,r.value.snapshot))return vp(n,i,r);return vp(n,i)})}(n,t,e);return new ll(i,r)}{if(n.shouldAttach(t.value)){const s=n.retrieve(t.value);if(null!==s){const o=s.route;return o.value._futureSnapshot=t.value,o.children=t.children.map(a=>vp(n,a)),o}}const i=function qG(n){return new Xo(new xi(n.url),new xi(n.params),new xi(n.queryParams),new xi(n.fragment),new xi(n.data),n.outlet,n.component,n)}(t.value),r=t.children.map(s=>vp(n,s));return new ll(i,r)}}function Ag(n){return"object"==typeof n&&null!=n&&!n.outlets&&!n.segmentPath}function bp(n){return"object"==typeof n&&null!=n&&n.outlets}function IM(n,t,e,i,r){let s={};if(i&&es(i,(a,l)=>{s[l]=Array.isArray(a)?a.map(h=>`${h}`):`${a}`}),n===t)return new $c(e,s,r);const o=SI(n,t,e);return new $c(o,s,r)}function SI(n,t,e){const i={};return es(n.children,(r,s)=>{i[s]=r===t?e:SI(r,t,e)}),new ci(n.segments,i)}class kI{constructor(t,e,i){if(this.isAbsolute=t,this.numberOfDoubleDots=e,this.commands=i,t&&i.length>0&&Ag(i[0]))throw new Error("Root segment cannot have matrix parameters");const r=i.find(bp);if(r&&r!==uI(i))throw new Error("{outlets:{}} has to be the last command")}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class AM{constructor(t,e,i){this.segmentGroup=t,this.processChildren=e,this.index=i}}function xI(n,t,e){if(n||(n=new ci([],{})),0===n.segments.length&&n.hasChildren())return Rg(n,t,e);const i=function QG(n,t,e){let i=0,r=t;const s={match:!1,pathIndex:0,commandIndex:0};for(;r=e.length)return s;const o=n.segments[r],a=e[i];if(bp(a))break;const l=`${a}`,h=i0&&void 0===l)break;if(l&&h&&"object"==typeof h&&void 0===h.outlets){if(!AI(l,h,o))return s;i+=2}else{if(!AI(l,{},o))return s;i++}r++}return{match:!0,pathIndex:r,commandIndex:i}}(n,t,e),r=e.slice(i.commandIndex);if(i.match&&i.pathIndex{"string"==typeof s&&(s=[s]),null!==s&&(r[o]=xI(n.children[o],t,s))}),es(n.children,(s,o)=>{void 0===i[o]&&(r[o]=s)}),new ci(n.segments,r)}}function RM(n,t,e){const i=n.segments.slice(0,t);let r=0;for(;r{"string"==typeof e&&(e=[e]),null!==e&&(t[i]=RM(new ci([],{}),0,e))}),t}function II(n){const t={};return es(n,(e,i)=>t[i]=`${e}`),t}function AI(n,t,e){return n==e.path&&Aa(t,e.parameters)}class XG{constructor(t,e,i,r){this.routeReuseStrategy=t,this.futureState=e,this.currState=i,this.forwardEvent=r}activate(t){const e=this.futureState._root,i=this.currState?this.currState._root:null;this.deactivateChildRoutes(e,i,t),kM(this.futureState.root),this.activateChildRoutes(e,i,t)}deactivateChildRoutes(t,e,i){const r=Md(e);t.children.forEach(s=>{const o=s.value.outlet;this.deactivateRoutes(s,r[o],i),delete r[o]}),es(r,(s,o)=>{this.deactivateRouteAndItsChildren(s,i)})}deactivateRoutes(t,e,i){const r=t.value,s=e?e.value:null;if(r===s)if(r.component){const o=i.getContext(r.outlet);o&&this.deactivateChildRoutes(t,e,o.children)}else this.deactivateChildRoutes(t,e,i);else s&&this.deactivateRouteAndItsChildren(e,i)}deactivateRouteAndItsChildren(t,e){t.value.component&&this.routeReuseStrategy.shouldDetach(t.value.snapshot)?this.detachAndStoreRouteSubtree(t,e):this.deactivateRouteAndOutlet(t,e)}detachAndStoreRouteSubtree(t,e){const i=e.getContext(t.value.outlet),r=i&&t.value.component?i.children:e,s=Md(t);for(const o of Object.keys(s))this.deactivateRouteAndItsChildren(s[o],r);if(i&&i.outlet){const o=i.outlet.detach(),a=i.children.onOutletDeactivated();this.routeReuseStrategy.store(t.value.snapshot,{componentRef:o,route:t,contexts:a})}}deactivateRouteAndOutlet(t,e){const i=e.getContext(t.value.outlet),r=i&&t.value.component?i.children:e,s=Md(t);for(const o of Object.keys(s))this.deactivateRouteAndItsChildren(s[o],r);i&&i.outlet&&(i.outlet.deactivate(),i.children.onOutletDeactivated(),i.attachRef=null,i.resolver=null,i.route=null)}activateChildRoutes(t,e,i){const r=Md(e);t.children.forEach(s=>{this.activateRoutes(s,r[s.value.outlet],i),this.forwardEvent(new yG(s.value.snapshot))}),t.children.length&&this.forwardEvent(new gG(t.value.snapshot))}activateRoutes(t,e,i){const r=t.value,s=e?e.value:null;if(kM(r),r===s)if(r.component){const o=i.getOrCreateContext(r.outlet);this.activateChildRoutes(t,e,o.children)}else this.activateChildRoutes(t,e,i);else if(r.component){const o=i.getOrCreateContext(r.outlet);if(this.routeReuseStrategy.shouldAttach(r.snapshot)){const a=this.routeReuseStrategy.retrieve(r.snapshot);this.routeReuseStrategy.store(r.snapshot,null),o.children.onOutletReAttached(a.contexts),o.attachRef=a.componentRef,o.route=a.route.value,o.outlet&&o.outlet.attach(a.componentRef,a.route.value),kM(a.route.value),this.activateChildRoutes(t,null,o.children)}else{const a=function JG(n){for(let t=n.parent;t;t=t.parent){const e=t.routeConfig;if(e&&e._loadedConfig)return e._loadedConfig;if(e&&e.component)return null}return null}(r.snapshot),l=a?a.module.componentFactoryResolver:null;o.attachRef=null,o.route=r,o.resolver=l,o.outlet&&o.outlet.activateWith(r,l),this.activateChildRoutes(t,null,o.children)}}else this.activateChildRoutes(t,null,i)}}class LM{constructor(t,e){this.routes=t,this.module=e}}function Ql(n){return"function"==typeof n}function Qc(n){return n instanceof $c}const wp=Symbol("INITIAL_VALUE");function Mp(){return Jr(n=>bM(n.map(t=>t.pipe(Ii(1),hr(wp)))).pipe(eI((t,e)=>{let i=!1;return e.reduce((r,s,o)=>r!==wp?r:(s===wp&&(i=!0),i||!1!==s&&o!==e.length-1&&!Qc(s)?r:s),t)},wp),hi(t=>t!==wp),_e(t=>Qc(t)?t:!0===t),Ii(1)))}class s${constructor(){this.outlet=null,this.route=null,this.resolver=null,this.children=new Dp,this.attachRef=null}}class Dp{constructor(){this.contexts=new Map}onChildOutletCreated(t,e){const i=this.getOrCreateContext(t);i.outlet=e,this.contexts.set(t,i)}onChildOutletDestroyed(t){const e=this.getContext(t);e&&(e.outlet=null,e.attachRef=null)}onOutletDeactivated(){const t=this.contexts;return this.contexts=new Map,t}onOutletReAttached(t){this.contexts=t}getOrCreateContext(t){let e=this.getContext(t);return e||(e=new s$,this.contexts.set(t,e)),e}getContext(t){return this.contexts.get(t)||null}}let OM=(()=>{class n{constructor(e,i,r,s,o){this.parentContexts=e,this.location=i,this.resolver=r,this.changeDetector=o,this.activated=null,this._activatedRoute=null,this.activateEvents=new Yt,this.deactivateEvents=new Yt,this.attachEvents=new Yt,this.detachEvents=new Yt,this.name=s||ni,e.onChildOutletCreated(this.name,this)}ngOnDestroy(){this.parentContexts.onChildOutletDestroyed(this.name)}ngOnInit(){if(!this.activated){const e=this.parentContexts.getContext(this.name);e&&e.route&&(e.attachRef?this.attach(e.attachRef,e.route):this.activateWith(e.route,e.resolver||null))}}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new Error("Outlet is not activated");return this.activated.instance}get activatedRoute(){if(!this.activated)throw new Error("Outlet is not activated");return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new Error("Outlet is not activated");this.location.detach();const e=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(e.instance),e}attach(e,i){this.activated=e,this._activatedRoute=i,this.location.insert(e.hostView),this.attachEvents.emit(e.instance)}deactivate(){if(this.activated){const e=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(e)}}activateWith(e,i){if(this.isActivated)throw new Error("Cannot activate an already activated outlet");this._activatedRoute=e;const o=(i=i||this.resolver).resolveComponentFactory(e._futureSnapshot.routeConfig.component),a=this.parentContexts.getOrCreateContext(this.name).children,l=new o$(e,a,this.location.injector);this.activated=this.location.createComponent(o,this.location.length,l),this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)}}return n.\u0275fac=function(e){return new(e||n)(M(Dp),M(Si),M(Hl),_r("name"),M(Gn))},n.\u0275dir=rt({type:n,selectors:[["router-outlet"]],outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"]}),n})();class o${constructor(t,e,i){this.route=t,this.childContexts=e,this.parent=i}get(t,e){return t===Xo?this.route:t===Dp?this.childContexts:this.parent.get(t,e)}}let RI=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=At({type:n,selectors:[["ng-component"]],decls:1,vars:0,template:function(e,i){1&e&&wt(0,"router-outlet")},directives:[OM],encapsulation:2}),n})();function LI(n,t=""){for(let e=0;eMo(i)===t);return e.push(...n.filter(i=>Mo(i)!==t)),e}const PI={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function Lg(n,t,e){var i;if(""===t.path)return"full"===t.pathMatch&&(n.hasChildren()||e.length>0)?Object.assign({},PI):{matched:!0,consumedSegments:[],remainingSegments:e,parameters:{},positionalParamSegments:{}};const s=(t.matcher||wG)(e,n,t);if(!s)return Object.assign({},PI);const o={};es(s.posParams,(l,h)=>{o[h]=l.path});const a=s.consumed.length>0?Object.assign(Object.assign({},o),s.consumed[s.consumed.length-1].parameters):o;return{matched:!0,consumedSegments:s.consumed,remainingSegments:e.slice(s.consumed.length),parameters:a,positionalParamSegments:null!==(i=s.posParams)&&void 0!==i?i:{}}}function Og(n,t,e,i,r="corrected"){if(e.length>0&&function d$(n,t,e){return e.some(i=>Pg(n,t,i)&&Mo(i)!==ni)}(n,e,i)){const o=new ci(t,function u$(n,t,e,i){const r={};r[ni]=i,i._sourceSegment=n,i._segmentIndexShift=t.length;for(const s of e)if(""===s.path&&Mo(s)!==ni){const o=new ci([],{});o._sourceSegment=n,o._segmentIndexShift=t.length,r[Mo(s)]=o}return r}(n,t,i,new ci(e,n.children)));return o._sourceSegment=n,o._segmentIndexShift=t.length,{segmentGroup:o,slicedSegments:[]}}if(0===e.length&&function h$(n,t,e){return e.some(i=>Pg(n,t,i))}(n,e,i)){const o=new ci(n.segments,function c$(n,t,e,i,r,s){const o={};for(const a of i)if(Pg(n,e,a)&&!r[Mo(a)]){const l=new ci([],{});l._sourceSegment=n,l._segmentIndexShift="legacy"===s?n.segments.length:t.length,o[Mo(a)]=l}return Object.assign(Object.assign({},r),o)}(n,t,e,i,n.children,r));return o._sourceSegment=n,o._segmentIndexShift=t.length,{segmentGroup:o,slicedSegments:e}}const s=new ci(n.segments,n.children);return s._sourceSegment=n,s._segmentIndexShift=t.length,{segmentGroup:s,slicedSegments:e}}function Pg(n,t,e){return(!(n.hasChildren()||t.length>0)||"full"!==e.pathMatch)&&""===e.path}function FI(n,t,e,i){return!!(Mo(n)===i||i!==ni&&Pg(t,e,n))&&("**"===n.path||Lg(t,n,e).matched)}function NI(n,t,e){return 0===t.length&&!n.children[e]}class Fg{constructor(t){this.segmentGroup=t||null}}class jI{constructor(t){this.urlTree=t}}function Ep(n){return Qi(new Fg(n))}function BI(n){return Qi(new jI(n))}function p$(n){return Qi(new Error(`Only absolute redirects can have named outlets. redirectTo: '${n}'`))}class g${constructor(t,e,i,r,s){this.configLoader=e,this.urlSerializer=i,this.urlTree=r,this.config=s,this.allowRedirects=!0,this.ngModule=t.get(el)}apply(){const t=Og(this.urlTree.root,[],[],this.config).segmentGroup,e=new ci(t.segments,t.children);return this.expandSegmentGroup(this.ngModule,this.config,e,ni).pipe(_e(s=>this.createUrlTree(FM(s),this.urlTree.queryParams,this.urlTree.fragment))).pipe(Ni(s=>{if(s instanceof jI)return this.allowRedirects=!1,this.match(s.urlTree);throw s instanceof Fg?this.noMatchError(s):s}))}match(t){return this.expandSegmentGroup(this.ngModule,this.config,t.root,ni).pipe(_e(r=>this.createUrlTree(FM(r),t.queryParams,t.fragment))).pipe(Ni(r=>{throw r instanceof Fg?this.noMatchError(r):r}))}noMatchError(t){return new Error(`Cannot match any routes. URL Segment: '${t.segmentGroup}'`)}createUrlTree(t,e,i){const r=t.segments.length>0?new ci([],{[ni]:t}):t;return new $c(r,e,i)}expandSegmentGroup(t,e,i,r){return 0===i.segments.length&&i.hasChildren()?this.expandChildren(t,e,i).pipe(_e(s=>new ci([],s))):this.expandSegment(t,i,e,i.segments,r,!0)}expandChildren(t,e,i){const r=[];for(const s of Object.keys(i.children))"primary"===s?r.unshift(s):r.push(s);return St(r).pipe(pd(s=>{const o=i.children[s],a=OI(e,s);return this.expandSegmentGroup(t,a,o,s).pipe(_e(l=>({segment:l,outlet:s})))}),eI((s,o)=>(s[o.outlet]=o.segment,s),{}),function sG(n,t){const e=arguments.length>=2;return i=>i.pipe(n?hi((r,s)=>n(r,s,i)):jt,wM(1),e?tI(t):vd(()=>new Mg))}())}expandSegment(t,e,i,r,s,o){return St(i).pipe(pd(a=>this.expandSegmentAgainstRoute(t,e,i,a,r,s,o).pipe(Ni(h=>{if(h instanceof Fg)return Wt(null);throw h}))),Js(a=>!!a),Ni((a,l)=>{if(a instanceof Mg||"EmptyError"===a.name)return NI(e,r,s)?Wt(new ci([],{})):Ep(e);throw a}))}expandSegmentAgainstRoute(t,e,i,r,s,o,a){return FI(r,e,s,o)?void 0===r.redirectTo?this.matchSegmentAgainstRoute(t,e,r,s,o):a&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(t,e,i,r,s,o):Ep(e):Ep(e)}expandSegmentAgainstRouteUsingRedirect(t,e,i,r,s,o){return"**"===r.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(t,i,r,o):this.expandRegularSegmentAgainstRouteUsingRedirect(t,e,i,r,s,o)}expandWildCardWithParamsAgainstRouteUsingRedirect(t,e,i,r){const s=this.applyRedirectCommands([],i.redirectTo,{});return i.redirectTo.startsWith("/")?BI(s):this.lineralizeSegments(i,s).pipe(ue(o=>{const a=new ci(o,{});return this.expandSegment(t,a,e,o,r,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(t,e,i,r,s,o){const{matched:a,consumedSegments:l,remainingSegments:h,positionalParamSegments:f}=Lg(e,r,s);if(!a)return Ep(e);const D=this.applyRedirectCommands(l,r.redirectTo,f);return r.redirectTo.startsWith("/")?BI(D):this.lineralizeSegments(r,D).pipe(ue(k=>this.expandSegment(t,e,i,k.concat(h),o,!1)))}matchSegmentAgainstRoute(t,e,i,r,s){if("**"===i.path)return i.loadChildren?(i._loadedConfig?Wt(i._loadedConfig):this.configLoader.load(t.injector,i)).pipe(_e(D=>(i._loadedConfig=D,new ci(r,{})))):Wt(new ci(r,{}));const{matched:o,consumedSegments:a,remainingSegments:l}=Lg(e,i,r);return o?this.getChildConfig(t,i,r).pipe(ue(f=>{const D=f.module,k=f.routes,{segmentGroup:Y,slicedSegments:oe}=Og(e,a,l,k),Fe=new ci(Y.segments,Y.children);if(0===oe.length&&Fe.hasChildren())return this.expandChildren(D,k,Fe).pipe(_e(Lt=>new ci(a,Lt)));if(0===k.length&&0===oe.length)return Wt(new ci(a,{}));const We=Mo(i)===s;return this.expandSegment(D,Fe,k,oe,We?ni:s,!0).pipe(_e(Ue=>new ci(a.concat(Ue.segments),Ue.children)))})):Ep(e)}getChildConfig(t,e,i){return e.children?Wt(new LM(e.children,t)):e.loadChildren?void 0!==e._loadedConfig?Wt(e._loadedConfig):this.runCanLoadGuards(t.injector,e,i).pipe(ue(r=>r?this.configLoader.load(t.injector,e).pipe(_e(s=>(e._loadedConfig=s,s))):function m$(n){return Qi(DM(`Cannot load children because the guard of the route "path: '${n.path}'" returned false`))}(e))):Wt(new LM([],t))}runCanLoadGuards(t,e,i){const r=e.canLoad;if(!r||0===r.length)return Wt(!0);const s=r.map(o=>{const a=t.get(o);let l;if(function t$(n){return n&&Ql(n.canLoad)}(a))l=a.canLoad(e,i);else{if(!Ql(a))throw new Error("Invalid CanLoad guard");l=a(e,i)}return Ra(l)});return Wt(s).pipe(Mp(),wr(o=>{if(!Qc(o))return;const a=DM(`Redirecting to "${this.urlSerializer.serialize(o)}"`);throw a.url=o,a}),_e(o=>!0===o))}lineralizeSegments(t,e){let i=[],r=e.root;for(;;){if(i=i.concat(r.segments),0===r.numberOfChildren)return Wt(i);if(r.numberOfChildren>1||!r.children[ni])return p$(t.redirectTo);r=r.children[ni]}}applyRedirectCommands(t,e,i){return this.applyRedirectCreatreUrlTree(e,this.urlSerializer.parse(e),t,i)}applyRedirectCreatreUrlTree(t,e,i,r){const s=this.createSegmentGroup(t,e.root,i,r);return new $c(s,this.createQueryParams(e.queryParams,this.urlTree.queryParams),e.fragment)}createQueryParams(t,e){const i={};return es(t,(r,s)=>{if("string"==typeof r&&r.startsWith(":")){const a=r.substring(1);i[s]=e[a]}else i[s]=r}),i}createSegmentGroup(t,e,i,r){const s=this.createSegments(t,e.segments,i,r);let o={};return es(e.children,(a,l)=>{o[l]=this.createSegmentGroup(t,a,i,r)}),new ci(s,o)}createSegments(t,e,i,r){return e.map(s=>s.path.startsWith(":")?this.findPosParam(t,s,r):this.findOrReturn(s,i))}findPosParam(t,e,i){const r=i[e.path.substring(1)];if(!r)throw new Error(`Cannot redirect to '${t}'. Cannot find '${e.path}'.`);return r}findOrReturn(t,e){let i=0;for(const r of e){if(r.path===t.path)return e.splice(i),r;i++}return t}}function FM(n){const t={};for(const i of Object.keys(n.children)){const s=FM(n.children[i]);(s.segments.length>0||s.hasChildren())&&(t[i]=s)}return function _$(n){if(1===n.numberOfChildren&&n.children[ni]){const t=n.children[ni];return new ci(n.segments.concat(t.segments),t.children)}return n}(new ci(n.segments,t))}class YI{constructor(t){this.path=t,this.route=this.path[this.path.length-1]}}class Ng{constructor(t,e){this.component=t,this.route=e}}function v$(n,t,e){const i=n._root;return Cp(i,t?t._root:null,e,[i.value])}function jg(n,t,e){const i=function w$(n){if(!n)return null;for(let t=n.parent;t;t=t.parent){const e=t.routeConfig;if(e&&e._loadedConfig)return e._loadedConfig}return null}(t);return(i?i.module.injector:e).get(n)}function Cp(n,t,e,i,r={canDeactivateChecks:[],canActivateChecks:[]}){const s=Md(t);return n.children.forEach(o=>{(function M$(n,t,e,i,r={canDeactivateChecks:[],canActivateChecks:[]}){const s=n.value,o=t?t.value:null,a=e?e.getContext(n.value.outlet):null;if(o&&s.routeConfig===o.routeConfig){const l=function D$(n,t,e){if("function"==typeof e)return e(n,t);switch(e){case"pathParamsChange":return!Wc(n.url,t.url);case"pathParamsOrQueryParamsChange":return!Wc(n.url,t.url)||!Aa(n.queryParams,t.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!xM(n,t)||!Aa(n.queryParams,t.queryParams);default:return!xM(n,t)}}(o,s,s.routeConfig.runGuardsAndResolvers);l?r.canActivateChecks.push(new YI(i)):(s.data=o.data,s._resolvedData=o._resolvedData),Cp(n,t,s.component?a?a.children:null:e,i,r),l&&a&&a.outlet&&a.outlet.isActivated&&r.canDeactivateChecks.push(new Ng(a.outlet.component,o))}else o&&Tp(t,a,r),r.canActivateChecks.push(new YI(i)),Cp(n,null,s.component?a?a.children:null:e,i,r)})(o,s[o.value.outlet],e,i.concat([o.value]),r),delete s[o.value.outlet]}),es(s,(o,a)=>Tp(o,e.getContext(a),r)),r}function Tp(n,t,e){const i=Md(n),r=n.value;es(i,(s,o)=>{Tp(s,r.component?t?t.children.getContext(o):null:t,e)}),e.canDeactivateChecks.push(new Ng(r.component&&t&&t.outlet&&t.outlet.isActivated?t.outlet.component:null,r))}class R${}function HI(n){return new st(t=>t.error(n))}class O${constructor(t,e,i,r,s,o){this.rootComponentType=t,this.config=e,this.urlTree=i,this.url=r,this.paramsInheritanceStrategy=s,this.relativeLinkResolution=o}recognize(){const t=Og(this.urlTree.root,[],[],this.config.filter(o=>void 0===o.redirectTo),this.relativeLinkResolution).segmentGroup,e=this.processSegmentGroup(this.config,t,ni);if(null===e)return null;const i=new Ig([],Object.freeze({}),Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,{},ni,this.rootComponentType,null,this.urlTree.root,-1,{}),r=new ll(i,e),s=new CI(this.url,r);return this.inheritParamsAndData(s._root),s}inheritParamsAndData(t){const e=t.value,i=EI(e,this.paramsInheritanceStrategy);e.params=Object.freeze(i.params),e.data=Object.freeze(i.data),t.children.forEach(r=>this.inheritParamsAndData(r))}processSegmentGroup(t,e,i){return 0===e.segments.length&&e.hasChildren()?this.processChildren(t,e):this.processSegment(t,e,e.segments,i)}processChildren(t,e){const i=[];for(const s of Object.keys(e.children)){const o=e.children[s],a=OI(t,s),l=this.processSegmentGroup(a,o,s);if(null===l)return null;i.push(...l)}const r=VI(i);return function P$(n){n.sort((t,e)=>t.value.outlet===ni?-1:e.value.outlet===ni?1:t.value.outlet.localeCompare(e.value.outlet))}(r),r}processSegment(t,e,i,r){for(const s of t){const o=this.processSegmentAgainstRoute(s,e,i,r);if(null!==o)return o}return NI(e,i,r)?[]:null}processSegmentAgainstRoute(t,e,i,r){if(t.redirectTo||!FI(t,e,i,r))return null;let s,o=[],a=[];if("**"===t.path){const Y=i.length>0?uI(i).parameters:{};s=new Ig(i,Y,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,zI(t),Mo(t),t.component,t,qI(e),UI(e)+i.length,GI(t))}else{const Y=Lg(e,t,i);if(!Y.matched)return null;o=Y.consumedSegments,a=Y.remainingSegments,s=new Ig(o,Y.parameters,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,zI(t),Mo(t),t.component,t,qI(e),UI(e)+o.length,GI(t))}const l=function F$(n){return n.children?n.children:n.loadChildren?n._loadedConfig.routes:[]}(t),{segmentGroup:h,slicedSegments:f}=Og(e,o,a,l.filter(Y=>void 0===Y.redirectTo),this.relativeLinkResolution);if(0===f.length&&h.hasChildren()){const Y=this.processChildren(l,h);return null===Y?null:[new ll(s,Y)]}if(0===l.length&&0===f.length)return[new ll(s,[])];const D=Mo(t)===r,k=this.processSegment(l,h,f,D?ni:r);return null===k?null:[new ll(s,k)]}}function N$(n){const t=n.value.routeConfig;return t&&""===t.path&&void 0===t.redirectTo}function VI(n){const t=[],e=new Set;for(const i of n){if(!N$(i)){t.push(i);continue}const r=t.find(s=>i.value.routeConfig===s.value.routeConfig);void 0!==r?(r.children.push(...i.children),e.add(r)):t.push(i)}for(const i of e){const r=VI(i.children);t.push(new ll(i.value,r))}return t.filter(i=>!e.has(i))}function qI(n){let t=n;for(;t._sourceSegment;)t=t._sourceSegment;return t}function UI(n){let t=n,e=t._segmentIndexShift?t._segmentIndexShift:0;for(;t._sourceSegment;)t=t._sourceSegment,e+=t._segmentIndexShift?t._segmentIndexShift:0;return e-1}function zI(n){return n.data||{}}function GI(n){return n.resolve||{}}function $I(n){return[...Object.keys(n),...Object.getOwnPropertySymbols(n)]}function NM(n){return Jr(t=>{const e=n(t);return e?St(e).pipe(_e(()=>t)):Wt(t)})}class z$ extends class U${shouldDetach(t){return!1}store(t,e){}shouldAttach(t){return!1}retrieve(t){return null}shouldReuseRoute(t,e){return t.routeConfig===e.routeConfig}}{}const jM=new pt("ROUTES");class WI{constructor(t,e,i,r){this.injector=t,this.compiler=e,this.onLoadStartListener=i,this.onLoadEndListener=r}load(t,e){if(e._loader$)return e._loader$;this.onLoadStartListener&&this.onLoadStartListener(e);const r=this.loadModuleFactory(e.loadChildren).pipe(_e(s=>{this.onLoadEndListener&&this.onLoadEndListener(e);const o=s.create(t);return new LM(cI(o.injector.get(jM,void 0,En.Self|En.Optional)).map(PM),o)}),Ni(s=>{throw e._loader$=void 0,s}));return e._loader$=new Ye(r,()=>new K).pipe(Pt()),e._loader$}loadModuleFactory(t){return Ra(t()).pipe(ue(e=>e instanceof uk?Wt(e):St(this.compiler.compileModuleAsync(e))))}}class $${shouldProcessUrl(t){return!0}extract(t){return t}merge(t,e){return t}}function W$(n){throw n}function Q$(n,t,e){return t.parse("/")}function QI(n,t){return Wt(null)}const K$={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},Z$={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let Xi=(()=>{class n{constructor(e,i,r,s,o,a,l){this.rootComponentType=e,this.urlSerializer=i,this.rootContexts=r,this.location=s,this.config=l,this.lastSuccessfulNavigation=null,this.currentNavigation=null,this.disposed=!1,this.navigationId=0,this.currentPageId=0,this.isNgZoneEnabled=!1,this.events=new K,this.errorHandler=W$,this.malformedUriErrorHandler=Q$,this.navigated=!1,this.lastSuccessfulId=-1,this.hooks={beforePreactivation:QI,afterPreactivation:QI},this.urlHandlingStrategy=new $$,this.routeReuseStrategy=new z$,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.urlUpdateStrategy="deferred",this.relativeLinkResolution="corrected",this.canceledNavigationResolution="replace",this.ngModule=o.get(el),this.console=o.get(a3);const D=o.get(yn);this.isNgZoneEnabled=D instanceof yn&&yn.isInAngularZone(),this.resetConfig(l),this.currentUrlTree=function DG(){return new $c(new ci([],{}),{},null)}(),this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.configLoader=new WI(o,a,k=>this.triggerEvent(new rI(k)),k=>this.triggerEvent(new sI(k))),this.routerState=DI(this.currentUrlTree,this.rootComponentType),this.transitions=new xi({id:0,targetPageId:0,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,extractedUrl:this.urlHandlingStrategy.extract(this.currentUrlTree),urlAfterRedirects:this.urlHandlingStrategy.extract(this.currentUrlTree),rawUrl:this.currentUrlTree,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:"imperative",restoredState:null,currentSnapshot:this.routerState.snapshot,targetSnapshot:null,currentRouterState:this.routerState,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.navigations=this.setupNavigations(this.transitions),this.processNavigations()}get browserPageId(){var e;return null===(e=this.location.getState())||void 0===e?void 0:e.\u0275routerPageId}setupNavigations(e){const i=this.events;return e.pipe(hi(r=>0!==r.id),_e(r=>Object.assign(Object.assign({},r),{extractedUrl:this.urlHandlingStrategy.extract(r.rawUrl)})),Jr(r=>{let s=!1,o=!1;return Wt(r).pipe(wr(a=>{this.currentNavigation={id:a.id,initialUrl:a.currentRawUrl,extractedUrl:a.extractedUrl,trigger:a.source,extras:a.extras,previousNavigation:this.lastSuccessfulNavigation?Object.assign(Object.assign({},this.lastSuccessfulNavigation),{previousNavigation:null}):null}}),Jr(a=>{const l=this.browserUrlTree.toString(),h=!this.navigated||a.extractedUrl.toString()!==l||l!==this.currentUrlTree.toString();if(("reload"===this.onSameUrlNavigation||h)&&this.urlHandlingStrategy.shouldProcessUrl(a.rawUrl))return KI(a.source)&&(this.browserUrlTree=a.extractedUrl),Wt(a).pipe(Jr(D=>{const k=this.transitions.getValue();return i.next(new MM(D.id,this.serializeUrl(D.extractedUrl),D.source,D.restoredState)),k!==this.transitions.getValue()?Zo:Promise.resolve(D)}),function y$(n,t,e,i){return Jr(r=>function f$(n,t,e,i,r){return new g$(n,t,e,i,r).apply()}(n,t,e,r.extractedUrl,i).pipe(_e(s=>Object.assign(Object.assign({},r),{urlAfterRedirects:s}))))}(this.ngModule.injector,this.configLoader,this.urlSerializer,this.config),wr(D=>{this.currentNavigation=Object.assign(Object.assign({},this.currentNavigation),{finalUrl:D.urlAfterRedirects})}),function j$(n,t,e,i,r){return ue(s=>function L$(n,t,e,i,r="emptyOnly",s="legacy"){try{const o=new O$(n,t,e,i,r,s).recognize();return null===o?HI(new R$):Wt(o)}catch(o){return HI(o)}}(n,t,s.urlAfterRedirects,e(s.urlAfterRedirects),i,r).pipe(_e(o=>Object.assign(Object.assign({},s),{targetSnapshot:o}))))}(this.rootComponentType,this.config,D=>this.serializeUrl(D),this.paramsInheritanceStrategy,this.relativeLinkResolution),wr(D=>{if("eager"===this.urlUpdateStrategy){if(!D.extras.skipLocationChange){const Y=this.urlHandlingStrategy.merge(D.urlAfterRedirects,D.rawUrl);this.setBrowserUrl(Y,D)}this.browserUrlTree=D.urlAfterRedirects}const k=new iI(D.id,this.serializeUrl(D.extractedUrl),this.serializeUrl(D.urlAfterRedirects),D.targetSnapshot);i.next(k)}));if(h&&this.rawUrlTree&&this.urlHandlingStrategy.shouldProcessUrl(this.rawUrlTree)){const{id:k,extractedUrl:Y,source:oe,restoredState:Fe,extras:We}=a,it=new MM(k,this.serializeUrl(Y),oe,Fe);i.next(it);const Ue=DI(Y,this.rootComponentType).snapshot;return Wt(Object.assign(Object.assign({},a),{targetSnapshot:Ue,urlAfterRedirects:Y,extras:Object.assign(Object.assign({},We),{skipLocationChange:!1,replaceUrl:!1})}))}return this.rawUrlTree=a.rawUrl,a.resolve(null),Zo}),NM(a=>{const{targetSnapshot:l,id:h,extractedUrl:f,rawUrl:D,extras:{skipLocationChange:k,replaceUrl:Y}}=a;return this.hooks.beforePreactivation(l,{navigationId:h,appliedUrlTree:f,rawUrlTree:D,skipLocationChange:!!k,replaceUrl:!!Y})}),wr(a=>{const l=new dG(a.id,this.serializeUrl(a.extractedUrl),this.serializeUrl(a.urlAfterRedirects),a.targetSnapshot);this.triggerEvent(l)}),_e(a=>Object.assign(Object.assign({},a),{guards:v$(a.targetSnapshot,a.currentSnapshot,this.rootContexts)})),function E$(n,t){return ue(e=>{const{targetSnapshot:i,currentSnapshot:r,guards:{canActivateChecks:s,canDeactivateChecks:o}}=e;return 0===o.length&&0===s.length?Wt(Object.assign(Object.assign({},e),{guardsResult:!0})):function C$(n,t,e,i){return St(n).pipe(ue(r=>function A$(n,t,e,i,r){const s=t&&t.routeConfig?t.routeConfig.canDeactivate:null;return s&&0!==s.length?Wt(s.map(a=>{const l=jg(a,t,r);let h;if(function r$(n){return n&&Ql(n.canDeactivate)}(l))h=Ra(l.canDeactivate(n,t,e,i));else{if(!Ql(l))throw new Error("Invalid CanDeactivate guard");h=Ra(l(n,t,e,i))}return h.pipe(Js())})).pipe(Mp()):Wt(!0)}(r.component,r.route,e,t,i)),Js(r=>!0!==r,!0))}(o,i,r,n).pipe(ue(a=>a&&function e$(n){return"boolean"==typeof n}(a)?function T$(n,t,e,i){return St(t).pipe(pd(r=>Dg(function k$(n,t){return null!==n&&t&&t(new fG(n)),Wt(!0)}(r.route.parent,i),function S$(n,t){return null!==n&&t&&t(new _G(n)),Wt(!0)}(r.route,i),function I$(n,t,e){const i=t[t.length-1],s=t.slice(0,t.length-1).reverse().map(o=>function b$(n){const t=n.routeConfig?n.routeConfig.canActivateChild:null;return t&&0!==t.length?{node:n,guards:t}:null}(o)).filter(o=>null!==o).map(o=>gp(()=>Wt(o.guards.map(l=>{const h=jg(l,o.node,e);let f;if(function i$(n){return n&&Ql(n.canActivateChild)}(h))f=Ra(h.canActivateChild(i,n));else{if(!Ql(h))throw new Error("Invalid CanActivateChild guard");f=Ra(h(i,n))}return f.pipe(Js())})).pipe(Mp())));return Wt(s).pipe(Mp())}(n,r.path,e),function x$(n,t,e){const i=t.routeConfig?t.routeConfig.canActivate:null;if(!i||0===i.length)return Wt(!0);const r=i.map(s=>gp(()=>{const o=jg(s,t,e);let a;if(function n$(n){return n&&Ql(n.canActivate)}(o))a=Ra(o.canActivate(t,n));else{if(!Ql(o))throw new Error("Invalid CanActivate guard");a=Ra(o(t,n))}return a.pipe(Js())}));return Wt(r).pipe(Mp())}(n,r.route,e))),Js(r=>!0!==r,!0))}(i,s,n,t):Wt(a)),_e(a=>Object.assign(Object.assign({},e),{guardsResult:a})))})}(this.ngModule.injector,a=>this.triggerEvent(a)),wr(a=>{if(Qc(a.guardsResult)){const h=DM(`Redirecting to "${this.serializeUrl(a.guardsResult)}"`);throw h.url=a.guardsResult,h}const l=new hG(a.id,this.serializeUrl(a.extractedUrl),this.serializeUrl(a.urlAfterRedirects),a.targetSnapshot,!!a.guardsResult);this.triggerEvent(l)}),hi(a=>!!a.guardsResult||(this.restoreHistory(a),this.cancelNavigationTransition(a,""),!1)),NM(a=>{if(a.guards.canActivateChecks.length)return Wt(a).pipe(wr(l=>{const h=new pG(l.id,this.serializeUrl(l.extractedUrl),this.serializeUrl(l.urlAfterRedirects),l.targetSnapshot);this.triggerEvent(h)}),Jr(l=>{let h=!1;return Wt(l).pipe(function B$(n,t){return ue(e=>{const{targetSnapshot:i,guards:{canActivateChecks:r}}=e;if(!r.length)return Wt(e);let s=0;return St(r).pipe(pd(o=>function Y$(n,t,e,i){return function H$(n,t,e,i){const r=$I(n);if(0===r.length)return Wt({});const s={};return St(r).pipe(ue(o=>function V$(n,t,e,i){const r=jg(n,t,i);return Ra(r.resolve?r.resolve(t,e):r(t,e))}(n[o],t,e,i).pipe(wr(a=>{s[o]=a}))),wM(1),ue(()=>$I(s).length===r.length?Wt(s):Zo))}(n._resolve,n,t,i).pipe(_e(s=>(n._resolvedData=s,n.data=Object.assign(Object.assign({},n.data),EI(n,e).resolve),null)))}(o.route,i,n,t)),wr(()=>s++),wM(1),ue(o=>s===r.length?Wt(e):Zo))})}(this.paramsInheritanceStrategy,this.ngModule.injector),wr({next:()=>h=!0,complete:()=>{h||(this.restoreHistory(l),this.cancelNavigationTransition(l,"At least one route resolver didn't emit any value."))}}))}),wr(l=>{const h=new mG(l.id,this.serializeUrl(l.extractedUrl),this.serializeUrl(l.urlAfterRedirects),l.targetSnapshot);this.triggerEvent(h)}))}),NM(a=>{const{targetSnapshot:l,id:h,extractedUrl:f,rawUrl:D,extras:{skipLocationChange:k,replaceUrl:Y}}=a;return this.hooks.afterPreactivation(l,{navigationId:h,appliedUrlTree:f,rawUrlTree:D,skipLocationChange:!!k,replaceUrl:!!Y})}),_e(a=>{const l=function HG(n,t,e){const i=vp(n,t._root,e?e._root:void 0);return new MI(i,t)}(this.routeReuseStrategy,a.targetSnapshot,a.currentRouterState);return Object.assign(Object.assign({},a),{targetRouterState:l})}),wr(a=>{this.currentUrlTree=a.urlAfterRedirects,this.rawUrlTree=this.urlHandlingStrategy.merge(a.urlAfterRedirects,a.rawUrl),this.routerState=a.targetRouterState,"deferred"===this.urlUpdateStrategy&&(a.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,a),this.browserUrlTree=a.urlAfterRedirects)}),((n,t,e)=>_e(i=>(new XG(t,i.targetRouterState,i.currentRouterState,e).activate(n),i)))(this.rootContexts,this.routeReuseStrategy,a=>this.triggerEvent(a)),wr({next(){s=!0},complete(){s=!0}}),Ia(()=>{var a;s||o||this.cancelNavigationTransition(r,`Navigation ID ${r.id} is not equal to the current navigation id ${this.navigationId}`),(null===(a=this.currentNavigation)||void 0===a?void 0:a.id)===r.id&&(this.currentNavigation=null)}),Ni(a=>{if(o=!0,function bG(n){return n&&n[aI]}(a)){const l=Qc(a.url);l||(this.navigated=!0,this.restoreHistory(r,!0));const h=new nI(r.id,this.serializeUrl(r.extractedUrl),a.message);i.next(h),l?setTimeout(()=>{const f=this.urlHandlingStrategy.merge(a.url,this.rawUrlTree),D={skipLocationChange:r.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy||KI(r.source)};this.scheduleNavigation(f,"imperative",null,D,{resolve:r.resolve,reject:r.reject,promise:r.promise})},0):r.resolve(!1)}else{this.restoreHistory(r,!0);const l=new uG(r.id,this.serializeUrl(r.extractedUrl),a);i.next(l);try{r.resolve(this.errorHandler(a))}catch(h){r.reject(h)}}return Zo}))}))}resetRootComponentType(e){this.rootComponentType=e,this.routerState.root.component=this.rootComponentType}setTransition(e){this.transitions.next(Object.assign(Object.assign({},this.transitions.value),e))}initialNavigation(){this.setUpLocationChangeListener(),0===this.navigationId&&this.navigateByUrl(this.location.path(!0),{replaceUrl:!0})}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe(e=>{const i="popstate"===e.type?"popstate":"hashchange";"popstate"===i&&setTimeout(()=>{var r;const s={replaceUrl:!0},o=(null===(r=e.state)||void 0===r?void 0:r.navigationId)?e.state:null;if(o){const l=Object.assign({},o);delete l.navigationId,delete l.\u0275routerPageId,0!==Object.keys(l).length&&(s.state=l)}const a=this.parseUrl(e.url);this.scheduleNavigation(a,i,o,s)},0)}))}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.currentNavigation}triggerEvent(e){this.events.next(e)}resetConfig(e){LI(e),this.config=e.map(PM),this.navigated=!1,this.lastSuccessfulId=-1}ngOnDestroy(){this.dispose()}dispose(){this.transitions.complete(),this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=void 0),this.disposed=!0}createUrlTree(e,i={}){const{relativeTo:r,queryParams:s,fragment:o,queryParamsHandling:a,preserveFragment:l}=i,h=r||this.routerState.root,f=l?this.currentUrlTree.fragment:o;let D=null;switch(a){case"merge":D=Object.assign(Object.assign({},this.currentUrlTree.queryParams),s);break;case"preserve":D=this.currentUrlTree.queryParams;break;default:D=s||null}return null!==D&&(D=this.removeEmptyProps(D)),function UG(n,t,e,i,r){if(0===e.length)return IM(t.root,t.root,t.root,i,r);const s=function zG(n){if("string"==typeof n[0]&&1===n.length&&"/"===n[0])return new kI(!0,0,n);let t=0,e=!1;const i=n.reduce((r,s,o)=>{if("object"==typeof s&&null!=s){if(s.outlets){const a={};return es(s.outlets,(l,h)=>{a[h]="string"==typeof l?l.split("/"):l}),[...r,{outlets:a}]}if(s.segmentPath)return[...r,s.segmentPath]}return"string"!=typeof s?[...r,s]:0===o?(s.split("/").forEach((a,l)=>{0==l&&"."===a||(0==l&&""===a?e=!0:".."===a?t++:""!=a&&r.push(a))}),r):[...r,s]},[]);return new kI(e,t,i)}(e);if(s.toRoot())return IM(t.root,t.root,new ci([],{}),i,r);const o=function GG(n,t,e){if(n.isAbsolute)return new AM(t.root,!0,0);if(-1===e.snapshot._lastPathIndex){const s=e.snapshot._urlSegment;return new AM(s,s===t.root,0)}const i=Ag(n.commands[0])?0:1;return function $G(n,t,e){let i=n,r=t,s=e;for(;s>r;){if(s-=r,i=i.parent,!i)throw new Error("Invalid number of '../'");r=i.segments.length}return new AM(i,!1,r-s)}(e.snapshot._urlSegment,e.snapshot._lastPathIndex+i,n.numberOfDoubleDots)}(s,t,n),a=o.processChildren?Rg(o.segmentGroup,o.index,s.commands):xI(o.segmentGroup,o.index,s.commands);return IM(t.root,o.segmentGroup,a,i,r)}(h,this.currentUrlTree,e,D,null!=f?f:null)}navigateByUrl(e,i={skipLocationChange:!1}){const r=Qc(e)?e:this.parseUrl(e),s=this.urlHandlingStrategy.merge(r,this.rawUrlTree);return this.scheduleNavigation(s,"imperative",null,i)}navigate(e,i={skipLocationChange:!1}){return function X$(n){for(let t=0;t{const s=e[r];return null!=s&&(i[r]=s),i},{})}processNavigations(){this.navigations.subscribe(e=>{this.navigated=!0,this.lastSuccessfulId=e.id,this.currentPageId=e.targetPageId,this.events.next(new bd(e.id,this.serializeUrl(e.extractedUrl),this.serializeUrl(this.currentUrlTree))),this.lastSuccessfulNavigation=this.currentNavigation,e.resolve(!0)},e=>{this.console.warn(`Unhandled Navigation Error: ${e}`)})}scheduleNavigation(e,i,r,s,o){var a,l;if(this.disposed)return Promise.resolve(!1);let h,f,D;o?(h=o.resolve,f=o.reject,D=o.promise):D=new Promise((oe,Fe)=>{h=oe,f=Fe});const k=++this.navigationId;let Y;return"computed"===this.canceledNavigationResolution?(0===this.currentPageId&&(r=this.location.getState()),Y=r&&r.\u0275routerPageId?r.\u0275routerPageId:s.replaceUrl||s.skipLocationChange?null!==(a=this.browserPageId)&&void 0!==a?a:0:(null!==(l=this.browserPageId)&&void 0!==l?l:0)+1):Y=0,this.setTransition({id:k,targetPageId:Y,source:i,restoredState:r,currentUrlTree:this.currentUrlTree,currentRawUrl:this.rawUrlTree,rawUrl:e,extras:s,resolve:h,reject:f,promise:D,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),D.catch(oe=>Promise.reject(oe))}setBrowserUrl(e,i){const r=this.urlSerializer.serialize(e),s=Object.assign(Object.assign({},i.extras.state),this.generateNgRouterState(i.id,i.targetPageId));this.location.isCurrentPathEqualTo(r)||i.extras.replaceUrl?this.location.replaceState(r,"",s):this.location.go(r,"",s)}restoreHistory(e,i=!1){var r,s;if("computed"===this.canceledNavigationResolution){const o=this.currentPageId-e.targetPageId;"popstate"!==e.source&&"eager"!==this.urlUpdateStrategy&&this.currentUrlTree!==(null===(r=this.currentNavigation)||void 0===r?void 0:r.finalUrl)||0===o?this.currentUrlTree===(null===(s=this.currentNavigation)||void 0===s?void 0:s.finalUrl)&&0===o&&(this.resetState(e),this.browserUrlTree=e.currentUrlTree,this.resetUrlToCurrentUrlTree()):this.location.historyGo(o)}else"replace"===this.canceledNavigationResolution&&(i&&this.resetState(e),this.resetUrlToCurrentUrlTree())}resetState(e){this.routerState=e.currentRouterState,this.currentUrlTree=e.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,e.rawUrl)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}cancelNavigationTransition(e,i){const r=new nI(e.id,this.serializeUrl(e.extractedUrl),i);this.triggerEvent(r),e.resolve(!1)}generateNgRouterState(e,i){return"computed"===this.canceledNavigationResolution?{navigationId:e,\u0275routerPageId:i}:{navigationId:e}}}return n.\u0275fac=function(e){Ja()},n.\u0275prov=De({token:n,factory:n.\u0275fac}),n})();function KI(n){return"imperative"!==n}let Dd=(()=>{class n{constructor(e,i,r,s,o){this.router=e,this.route=i,this.tabIndexAttribute=r,this.renderer=s,this.el=o,this.commands=null,this.onChanges=new K,this.setTabIndexIfNotOnNativeEl("0")}setTabIndexIfNotOnNativeEl(e){if(null!=this.tabIndexAttribute)return;const i=this.renderer,r=this.el.nativeElement;null!==e?i.setAttribute(r,"tabindex",e):i.removeAttribute(r,"tabindex")}ngOnChanges(e){this.onChanges.next(this)}set routerLink(e){null!=e?(this.commands=Array.isArray(e)?e:[e],this.setTabIndexIfNotOnNativeEl("0")):(this.commands=null,this.setTabIndexIfNotOnNativeEl(null))}onClick(){if(null===this.urlTree)return!0;const e={skipLocationChange:Cd(this.skipLocationChange),replaceUrl:Cd(this.replaceUrl),state:this.state};return this.router.navigateByUrl(this.urlTree,e),!0}get urlTree(){return null===this.commands?null:this.router.createUrlTree(this.commands,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:Cd(this.preserveFragment)})}}return n.\u0275fac=function(e){return new(e||n)(M(Xi),M(Xo),_r("tabindex"),M(Sa),M(Zt))},n.\u0275dir=rt({type:n,selectors:[["","routerLink","",5,"a",5,"area"]],hostBindings:function(e,i){1&e&&tt("click",function(){return i.onClick()})},inputs:{queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",state:"state",relativeTo:"relativeTo",routerLink:"routerLink"},features:[Jn]}),n})(),Ed=(()=>{class n{constructor(e,i,r){this.router=e,this.route=i,this.locationStrategy=r,this.commands=null,this.href=null,this.onChanges=new K,this.subscription=e.events.subscribe(s=>{s instanceof bd&&this.updateTargetUrlAndHref()})}set routerLink(e){this.commands=null!=e?Array.isArray(e)?e:[e]:null}ngOnChanges(e){this.updateTargetUrlAndHref(),this.onChanges.next(this)}ngOnDestroy(){this.subscription.unsubscribe()}onClick(e,i,r,s,o){if(0!==e||i||r||s||o||"string"==typeof this.target&&"_self"!=this.target||null===this.urlTree)return!0;const a={skipLocationChange:Cd(this.skipLocationChange),replaceUrl:Cd(this.replaceUrl),state:this.state};return this.router.navigateByUrl(this.urlTree,a),!1}updateTargetUrlAndHref(){this.href=null!==this.urlTree?this.locationStrategy.prepareExternalUrl(this.router.serializeUrl(this.urlTree)):null}get urlTree(){return null===this.commands?null:this.router.createUrlTree(this.commands,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:Cd(this.preserveFragment)})}}return n.\u0275fac=function(e){return new(e||n)(M(Xi),M(Xo),M(dd))},n.\u0275dir=rt({type:n,selectors:[["a","routerLink",""],["area","routerLink",""]],hostVars:2,hostBindings:function(e,i){1&e&&tt("click",function(s){return i.onClick(s.button,s.ctrlKey,s.shiftKey,s.altKey,s.metaKey)}),2&e&&dn("target",i.target)("href",i.href,Kv)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",state:"state",relativeTo:"relativeTo",routerLink:"routerLink"},features:[Jn]}),n})();function Cd(n){return""===n||!!n}class ZI{}class XI{preload(t,e){return Wt(null)}}let JI=(()=>{class n{constructor(e,i,r,s){this.router=e,this.injector=r,this.preloadingStrategy=s,this.loader=new WI(r,i,l=>e.triggerEvent(new rI(l)),l=>e.triggerEvent(new sI(l)))}setUpPreloading(){this.subscription=this.router.events.pipe(hi(e=>e instanceof bd),pd(()=>this.preload())).subscribe(()=>{})}preload(){const e=this.injector.get(el);return this.processRoutes(e,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(e,i){const r=[];for(const s of i)if(s.loadChildren&&!s.canLoad&&s._loadedConfig){const o=s._loadedConfig;r.push(this.processRoutes(o.module,o.routes))}else s.loadChildren&&!s.canLoad?r.push(this.preloadConfig(e,s)):s.children&&r.push(this.processRoutes(e,s.children));return St(r).pipe(xe(),_e(s=>{}))}preloadConfig(e,i){return this.preloadingStrategy.preload(i,()=>(i._loadedConfig?Wt(i._loadedConfig):this.loader.load(e.injector,i)).pipe(ue(s=>(i._loadedConfig=s,this.processRoutes(s.module,s.routes)))))}}return n.\u0275fac=function(e){return new(e||n)(Se(Xi),Se(Gk),Se(qi),Se(ZI))},n.\u0275prov=De({token:n,factory:n.\u0275fac}),n})(),BM=(()=>{class n{constructor(e,i,r={}){this.router=e,this.viewportScroller=i,this.options=r,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},r.scrollPositionRestoration=r.scrollPositionRestoration||"disabled",r.anchorScrolling=r.anchorScrolling||"disabled"}init(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.router.events.subscribe(e=>{e instanceof MM?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=e.navigationTrigger,this.restoredId=e.restoredState?e.restoredState.navigationId:0):e instanceof bd&&(this.lastId=e.id,this.scheduleScrollEvent(e,this.router.parseUrl(e.urlAfterRedirects).fragment))})}consumeScrollEvents(){return this.router.events.subscribe(e=>{e instanceof oI&&(e.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(e.position):e.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(e.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(e,i){this.router.triggerEvent(new oI(e,"popstate"===this.lastSource?this.store[this.restoredId]:null,i))}ngOnDestroy(){this.routerEventsSubscription&&this.routerEventsSubscription.unsubscribe(),this.scrollEventsSubscription&&this.scrollEventsSubscription.unsubscribe()}}return n.\u0275fac=function(e){Ja()},n.\u0275prov=De({token:n,factory:n.\u0275fac}),n})();const Kc=new pt("ROUTER_CONFIGURATION"),eA=new pt("ROUTER_FORROOT_GUARD"),n8=[Yc,{provide:gI,useClass:_I},{provide:Xi,useFactory:function l8(n,t,e,i,r,s,o={},a,l){const h=new Xi(null,n,t,e,i,r,cI(s));return a&&(h.urlHandlingStrategy=a),l&&(h.routeReuseStrategy=l),function c8(n,t){n.errorHandler&&(t.errorHandler=n.errorHandler),n.malformedUriErrorHandler&&(t.malformedUriErrorHandler=n.malformedUriErrorHandler),n.onSameUrlNavigation&&(t.onSameUrlNavigation=n.onSameUrlNavigation),n.paramsInheritanceStrategy&&(t.paramsInheritanceStrategy=n.paramsInheritanceStrategy),n.relativeLinkResolution&&(t.relativeLinkResolution=n.relativeLinkResolution),n.urlUpdateStrategy&&(t.urlUpdateStrategy=n.urlUpdateStrategy),n.canceledNavigationResolution&&(t.canceledNavigationResolution=n.canceledNavigationResolution)}(o,h),o.enableTracing&&h.events.subscribe(f=>{var D,k;null===(D=console.group)||void 0===D||D.call(console,`Router Event: ${f.constructor.name}`),console.log(f.toString()),console.log(f),null===(k=console.groupEnd)||void 0===k||k.call(console)}),h},deps:[gI,Dp,Yc,qi,Gk,jM,Kc,[class G${},new yr],[class q${},new yr]]},Dp,{provide:Xo,useFactory:function u8(n){return n.routerState.root},deps:[Xi]},JI,XI,class t8{preload(t,e){return e().pipe(Ni(()=>Wt(null)))}},{provide:Kc,useValue:{enableTracing:!1}}];function r8(){return new Zk("Router",Xi)}let ws=(()=>{class n{constructor(e,i){}static forRoot(e,i){return{ngModule:n,providers:[n8,tA(e),{provide:eA,useFactory:a8,deps:[[Xi,new yr,new mo]]},{provide:Kc,useValue:i||{}},{provide:dd,useFactory:o8,deps:[Bc,[new ya(ww),new yr],Kc]},{provide:BM,useFactory:s8,deps:[Xi,NU,Kc]},{provide:ZI,useExisting:i&&i.preloadingStrategy?i.preloadingStrategy:XI},{provide:Zk,multi:!0,useFactory:r8},[YM,{provide:ow,multi:!0,useFactory:d8,deps:[YM]},{provide:nA,useFactory:h8,deps:[YM]},{provide:zk,multi:!0,useExisting:nA}]]}}static forChild(e){return{ngModule:n,providers:[tA(e)]}}}return n.\u0275fac=function(e){return new(e||n)(Se(eA,8),Se(Xi,8))},n.\u0275mod=Ht({type:n}),n.\u0275inj=He({}),n})();function s8(n,t,e){return e.scrollOffset&&t.setOffset(e.scrollOffset),new BM(n,t,e)}function o8(n,t,e={}){return e.useHash?new J3(n,t):new gx(n,t)}function a8(n){return"guarded"}function tA(n){return[{provide:Mv,multi:!0,useValue:n},{provide:jM,multi:!0,useValue:n}]}let YM=(()=>{class n{constructor(e){this.injector=e,this.initNavigation=!1,this.destroyed=!1,this.resultOfPreactivationDone=new K}appInitializer(){return this.injector.get(K3,Promise.resolve(null)).then(()=>{if(this.destroyed)return Promise.resolve(!0);let i=null;const r=new Promise(a=>i=a),s=this.injector.get(Xi),o=this.injector.get(Kc);return"disabled"===o.initialNavigation?(s.setUpLocationChangeListener(),i(!0)):"enabled"===o.initialNavigation||"enabledBlocking"===o.initialNavigation?(s.hooks.afterPreactivation=()=>this.initNavigation?Wt(null):(this.initNavigation=!0,i(!0),this.resultOfPreactivationDone),s.initialNavigation()):i(!0),r})}bootstrapListener(e){const i=this.injector.get(Kc),r=this.injector.get(JI),s=this.injector.get(BM),o=this.injector.get(Xi),a=this.injector.get(Lf);e===a.components[0]&&(("enabledNonBlocking"===i.initialNavigation||void 0===i.initialNavigation)&&o.initialNavigation(),r.setUpPreloading(),s.init(),o.resetRootComponentType(a.componentTypes[0]),this.resultOfPreactivationDone.next(null),this.resultOfPreactivationDone.complete())}ngOnDestroy(){this.destroyed=!0}}return n.\u0275fac=function(e){return new(e||n)(Se(qi))},n.\u0275prov=De({token:n,factory:n.\u0275fac}),n})();function d8(n){return n.appInitializer.bind(n)}function h8(n){return n.bootstrapListener.bind(n)}const nA=new pt("Router Initializer");var Zc=w(9675),HM=w(3564),iA=w(5134),VM=w(8108);function rA(n){return new iA.ApolloLink(function(t,e){var i=(0,HM._T)(t,[]);return new VM.y$(function(r){var s;return Promise.resolve(i).then(function(o){return n(o,t.getContext())}).then(t.setContext).then(function(){s=e(t).subscribe({next:r.next.bind(r),error:r.error.bind(r),complete:r.complete.bind(r)})}).catch(r.error.bind(r)),function(){s&&s.unsubscribe()}})})}class m8 extends P{constructor(t,e){super()}schedule(t,e=0){return this}}class Bg extends m8{constructor(t,e){super(t,e),this.scheduler=t,this.work=e,this.pending=!1}schedule(t,e=0){if(this.closed)return this;this.state=t;const i=this.id,r=this.scheduler;return null!=i&&(this.id=this.recycleAsyncId(r,i,e)),this.pending=!0,this.delay=e,this.id=this.id||this.requestAsyncId(r,this.id,e),this}requestAsyncId(t,e,i=0){return setInterval(t.flush.bind(t,this),i)}recycleAsyncId(t,e,i=0){if(null!==i&&this.delay===i&&!1===this.pending)return e;clearInterval(e)}execute(t,e){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const i=this._execute(t,e);if(i)return i;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(t,e){let r,i=!1;try{this.work(t)}catch(s){i=!0,r=!!s&&s||new Error(s)}if(i)return this.unsubscribe(),r}_unsubscribe(){const t=this.id,e=this.scheduler,i=e.actions,r=i.indexOf(this);this.work=null,this.state=null,this.pending=!1,this.scheduler=null,-1!==r&&i.splice(r,1),null!=t&&(this.id=this.recycleAsyncId(e,t,null)),this.delay=null}}let sA=(()=>{class n{constructor(e,i=n.now){this.SchedulerAction=e,this.now=i}schedule(e,i=0,r){return new this.SchedulerAction(this,e).schedule(r,i)}}return n.now=()=>Date.now(),n})();class Jo extends sA{constructor(t,e=sA.now){super(t,()=>Jo.delegate&&Jo.delegate!==this?Jo.delegate.now():e()),this.actions=[],this.active=!1,this.scheduled=void 0}schedule(t,e=0,i){return Jo.delegate&&Jo.delegate!==this?Jo.delegate.schedule(t,e,i):super.schedule(t,e,i)}flush(t){const{actions:e}=this;if(this.active)return void e.push(t);let i;this.active=!0;do{if(i=t.execute(t.state,t.delay))break}while(t=e.shift());if(this.active=!1,i){for(;t=e.shift();)t.unsubscribe();throw i}}}const oA=new class g8 extends Jo{}(class f8 extends Bg{constructor(t,e){super(t,e),this.scheduler=t,this.work=e}schedule(t,e=0){return e>0?super.schedule(t,e):(this.delay=e,this.state=t,this.scheduler.flush(this),this)}execute(t,e){return e>0||this.closed?super.execute(t,e):this._execute(t,e)}requestAsyncId(t,e,i=0){return null!==i&&i>0||null===i&&this.delay>0?super.requestAsyncId(t,e,i):t.flush(this)}}),_8=oA;class Ps{constructor(t,e,i){this.kind=t,this.value=e,this.error=i,this.hasValue="N"===t}observe(t){switch(this.kind){case"N":return t.next&&t.next(this.value);case"E":return t.error&&t.error(this.error);case"C":return t.complete&&t.complete()}}do(t,e,i){switch(this.kind){case"N":return t&&t(this.value);case"E":return e&&e(this.error);case"C":return i&&i()}}accept(t,e,i){return t&&"function"==typeof t.next?this.observe(t):this.do(t,e,i)}toObservable(){switch(this.kind){case"N":return Wt(this.value);case"E":return Qi(this.error);case"C":return Eg()}throw new Error("unexpected notification kind value")}static createNext(t){return void 0!==t?new Ps("N",t):Ps.undefinedValueNotification}static createError(t){return new Ps("E",void 0,t)}static createComplete(){return Ps.completeNotification}}Ps.completeNotification=new Ps("C"),Ps.undefinedValueNotification=new Ps("N",void 0);class v8{constructor(t,e=0){this.scheduler=t,this.delay=e}call(t,e){return e.subscribe(new Yg(t,this.scheduler,this.delay))}}class Yg extends F{constructor(t,e,i=0){super(t),this.scheduler=e,this.delay=i}static dispatch(t){const{notification:e,destination:i}=t;e.observe(i),this.unsubscribe()}scheduleMessage(t){this.destination.add(this.scheduler.schedule(Yg.dispatch,this.delay,new b8(t,this.destination)))}_next(t){this.scheduleMessage(Ps.createNext(t))}_error(t){this.scheduleMessage(Ps.createError(t)),this.unsubscribe()}_complete(){this.scheduleMessage(Ps.createComplete()),this.unsubscribe()}}class b8{constructor(t,e){this.notification=t,this.destination=e}}function aA(n){return new st(t=>(n().then(e=>{t.closed||(t.next(e),t.complete())},e=>{t.closed||t.error(e)}),()=>t.unsubscribe()))}class M8{constructor(t){this.zone=t,this.now=Date.now?Date.now:()=>+new Date}schedule(t,e=0,i){return this.zone.run(()=>oA.schedule(t,e,i))}}function lA(n){return n[ct]=()=>n,n}function cA(n,t){return n.pipe(function y8(n,t=0){return function(i){return i.lift(new v8(n,t))}}(new M8(t)))}function uA(n,t,e){return n&&void 0!==n[t]?n[t]:e}class E8{constructor(t,e,i){this.obsQuery=t;const r=cA(St(lA(this.obsQuery)),e);this.valueChanges=i.useInitialLoading?r.pipe(function D8(n){return function(e){return new st(function(r){const s=n.getCurrentResult(),{loading:o,errors:a,error:l,partial:h,data:f}=s,{partialRefetch:D,fetchPolicy:k}=n.options,Y=a||l;return D&&h&&(!f||0===Object.keys(f).length)&&"cache-only"!==k&&!o&&!Y&&r.next(Object.assign(Object.assign({},s),{loading:!0,networkStatus:Zc.NetworkStatus.loading})),e.subscribe(r)})}}(this.obsQuery)):r,this.queryId=this.obsQuery.queryId}get options(){return this.obsQuery.options}get variables(){return this.obsQuery.variables}result(){return this.obsQuery.result()}getCurrentResult(){return this.obsQuery.getCurrentResult()}getLastResult(){return this.obsQuery.getLastResult()}getLastError(){return this.obsQuery.getLastError()}resetLastResults(){return this.obsQuery.resetLastResults()}refetch(t){return this.obsQuery.refetch(t)}fetchMore(t){return this.obsQuery.fetchMore(t)}subscribeToMore(t){return this.obsQuery.subscribeToMore(t)}updateQuery(t){return this.obsQuery.updateQuery(t)}stopPolling(){return this.obsQuery.stopPolling()}startPolling(t){return this.obsQuery.startPolling(t)}setOptions(t){return this.obsQuery.setOptions(t)}setVariables(t){return this.obsQuery.setVariables(t)}}const C8=new pt("APOLLO_FLAGS"),T8=new pt("APOLLO_OPTIONS"),S8=new pt("APOLLO_NAMED_OPTIONS");class dA{constructor(t,e,i){this.ngZone=t,this.flags=e,this._client=i,this.useInitialLoading=uA(e,"useInitialLoading",!1),this.useMutationLoading=uA(e,"useMutationLoading",!1)}watchQuery(t){return new E8(this.ensureClient().watchQuery(Object.assign({},t)),this.ngZone,Object.assign({useInitialLoading:this.useInitialLoading},t))}query(t){return aA(()=>this.ensureClient().query(Object.assign({},t)))}mutate(t){var e;return function w8(n,t){return t?n.pipe(hr({loading:!0}),_e(e=>Object.assign(Object.assign({},e),{loading:!!e.loading}))):n.pipe(_e(e=>Object.assign(Object.assign({},e),{loading:!1})))}(aA(()=>this.ensureClient().mutate(Object.assign({},t))),null!==(e=t.useMutationLoading)&&void 0!==e?e:this.useMutationLoading)}subscribe(t,e){const i=St(lA(this.ensureClient().subscribe(Object.assign({},t))));return e&&!0!==e.useZone?i:cA(i,this.ngZone)}getClient(){return this.client}setClient(t){this.client=t}get client(){return this._client}set client(t){if(this._client)throw new Error("Client has been already defined");this._client=t}ensureClient(){return this.checkInstance(),this._client}checkInstance(){if(!this._client)throw new Error("Client has not been defined yet")}}let Hg=(()=>{class n extends dA{constructor(e,i,r,s){if(super(e,s),this._ngZone=e,this.map=new Map,i&&this.createDefault(i),r&&"object"==typeof r)for(let o in r)r.hasOwnProperty(o)&&this.createNamed(o,r[o])}create(e,i){qM(i)?this.createDefault(e):this.createNamed(i,e)}default(){return this}use(e){return qM(e)?this.default():this.map.get(e)}createDefault(e){if(this.getClient())throw new Error("Apollo has been already created.");return this.setClient(new Zc.ApolloClient(e))}createNamed(e,i){if(this.map.has(e))throw new Error(`Client ${e} has been already created`);this.map.set(e,new dA(this._ngZone,this.flags,new Zc.ApolloClient(i)))}removeClient(e){qM(e)?this._client=void 0:this.map.delete(e)}}return n.\u0275fac=function(e){return new(e||n)(Se(yn),Se(T8,8),Se(S8,8),Se(C8,8))},n.\u0275prov=De({token:n,factory:n.\u0275fac}),n})();function qM(n){return!n||"default"===n}const k8=[Hg];let x8=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Ht({type:n}),n.\u0275inj=He({providers:k8}),n})();let Xc={async:!1,baseUrl:null,breaks:!1,extensions:null,gfm:!0,headerIds:!0,headerPrefix:"",highlight:null,hooks:null,langPrefix:"language-",mangle:!0,pedantic:!1,renderer:null,sanitize:!1,sanitizer:null,silent:!1,smartypants:!1,tokenizer:null,walkTokens:null,xhtml:!1};const pA=/[&<>"']/,A8=new RegExp(pA.source,"g"),mA=/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/,R8=new RegExp(mA.source,"g"),L8={"&":"&","<":"<",">":">",'"':""","'":"'"},fA=n=>L8[n];function us(n,t){if(t){if(pA.test(n))return n.replace(A8,fA)}else if(mA.test(n))return n.replace(R8,fA);return n}const O8=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/gi;function gA(n){return n.replace(O8,(t,e)=>"colon"===(e=e.toLowerCase())?":":"#"===e.charAt(0)?"x"===e.charAt(1)?String.fromCharCode(parseInt(e.substring(2),16)):String.fromCharCode(+e.substring(1)):"")}const P8=/(^|[^\[])\^/g;function ji(n,t){n="string"==typeof n?n:n.source,t=t||"";const e={replace:(i,r)=>(r=(r=r.source||r).replace(P8,"$1"),n=n.replace(i,r),e),getRegex:()=>new RegExp(n,t)};return e}const F8=/[^\w:]/g,N8=/^$|^[a-z][a-z0-9+.-]*:|^[?#]/i;function _A(n,t,e){if(n){let i;try{i=decodeURIComponent(gA(e)).replace(F8,"").toLowerCase()}catch(r){return null}if(0===i.indexOf("javascript:")||0===i.indexOf("vbscript:")||0===i.indexOf("data:"))return null}t&&!N8.test(e)&&(e=function H8(n,t){Vg[" "+n]||(Vg[" "+n]=j8.test(n)?n+"/":Ug(n,"/",!0));const e=-1===(n=Vg[" "+n]).indexOf(":");return"//"===t.substring(0,2)?e?t:n.replace(B8,"$1")+t:"/"===t.charAt(0)?e?t:n.replace(Y8,"$1")+t:n+t}(t,e));try{e=encodeURI(e).replace(/%25/g,"%")}catch(i){return null}return e}const Vg={},j8=/^[^:]+:\/*[^/]*$/,B8=/^([^:]+:)[\s\S]*$/,Y8=/^([^:]+:\/*[^/]*)[\s\S]*$/,qg={exec:function(){}};function yA(n,t){const i=n.replace(/\|/g,(s,o,a)=>{let l=!1,h=o;for(;--h>=0&&"\\"===a[h];)l=!l;return l?"|":" |"}).split(/ \|/);let r=0;if(i[0].trim()||i.shift(),i.length>0&&!i[i.length-1].trim()&&i.pop(),i.length>t)i.splice(t);else for(;i.length1;)1&t&&(e+=n),t>>=1,n+=n;return e+n}function bA(n,t,e,i){const r=t.href,s=t.title?us(t.title):null,o=n[1].replace(/\\([\[\]])/g,"$1");if("!"!==n[0].charAt(0)){i.state.inLink=!0;const a={type:"link",raw:e,href:r,title:s,text:o,tokens:i.inlineTokens(o)};return i.state.inLink=!1,a}return{type:"image",raw:e,href:r,title:s,text:us(o)}}class UM{constructor(t){this.options=t||Xc}space(t){const e=this.rules.block.newline.exec(t);if(e&&e[0].length>0)return{type:"space",raw:e[0]}}code(t){const e=this.rules.block.code.exec(t);if(e){const i=e[0].replace(/^ {1,4}/gm,"");return{type:"code",raw:e[0],codeBlockStyle:"indented",text:this.options.pedantic?i:Ug(i,"\n")}}}fences(t){const e=this.rules.block.fences.exec(t);if(e){const i=e[0],r=function U8(n,t){const e=n.match(/^(\s+)(?:```)/);if(null===e)return t;const i=e[1];return t.split("\n").map(r=>{const s=r.match(/^\s+/);if(null===s)return r;const[o]=s;return o.length>=i.length?r.slice(i.length):r}).join("\n")}(i,e[3]||"");return{type:"code",raw:i,lang:e[2]?e[2].trim().replace(this.rules.inline._escapes,"$1"):e[2],text:r}}}heading(t){const e=this.rules.block.heading.exec(t);if(e){let i=e[2].trim();if(/#$/.test(i)){const r=Ug(i,"#");(this.options.pedantic||!r||/ $/.test(r))&&(i=r.trim())}return{type:"heading",raw:e[0],depth:e[1].length,text:i,tokens:this.lexer.inline(i)}}}hr(t){const e=this.rules.block.hr.exec(t);if(e)return{type:"hr",raw:e[0]}}blockquote(t){const e=this.rules.block.blockquote.exec(t);if(e){const i=e[0].replace(/^ *>[ \t]?/gm,""),r=this.lexer.state.top;this.lexer.state.top=!0;const s=this.lexer.blockTokens(i);return this.lexer.state.top=r,{type:"blockquote",raw:e[0],tokens:s,text:i}}}list(t){let e=this.rules.block.list.exec(t);if(e){let i,r,s,o,a,l,h,f,D,k,Y,oe,Fe=e[1].trim();const We=Fe.length>1,it={type:"list",raw:"",ordered:We,start:We?+Fe.slice(0,-1):"",loose:!1,items:[]};Fe=We?`\\d{1,9}\\${Fe.slice(-1)}`:`\\${Fe}`,this.options.pedantic&&(Fe=We?Fe:"[*+-]");const Ue=new RegExp(`^( {0,3}${Fe})((?:[\t ][^\\n]*)?(?:\\n|$))`);for(;t&&(oe=!1,(e=Ue.exec(t))&&!this.rules.block.hr.test(t));){if(i=e[0],t=t.substring(i.length),f=e[2].split("\n",1)[0].replace(/^\t+/,Gt=>" ".repeat(3*Gt.length)),D=t.split("\n",1)[0],this.options.pedantic?(o=2,Y=f.trimLeft()):(o=e[2].search(/[^ ]/),o=o>4?1:o,Y=f.slice(o),o+=e[1].length),l=!1,!f&&/^ *$/.test(D)&&(i+=D+"\n",t=t.substring(D.length+1),oe=!0),!oe){const Gt=new RegExp(`^ {0,${Math.min(3,o-1)}}(?:[*+-]|\\d{1,9}[.)])((?:[ \t][^\\n]*)?(?:\\n|$))`),wn=new RegExp(`^ {0,${Math.min(3,o-1)}}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)`),ii=new RegExp(`^ {0,${Math.min(3,o-1)}}(?:\`\`\`|~~~)`),Mi=new RegExp(`^ {0,${Math.min(3,o-1)}}#`);for(;t&&(k=t.split("\n",1)[0],D=k,this.options.pedantic&&(D=D.replace(/^ {1,4}(?=( {4})*[^ ])/g," ")),!(ii.test(D)||Mi.test(D)||Gt.test(D)||wn.test(t)));){if(D.search(/[^ ]/)>=o||!D.trim())Y+="\n"+D.slice(o);else{if(l||f.search(/[^ ]/)>=4||ii.test(f)||Mi.test(f)||wn.test(f))break;Y+="\n"+D}!l&&!D.trim()&&(l=!0),i+=k+"\n",t=t.substring(k.length+1),f=D.slice(o)}}it.loose||(h?it.loose=!0:/\n *\n *$/.test(i)&&(h=!0)),this.options.gfm&&(r=/^\[[ xX]\] /.exec(Y),r&&(s="[ ] "!==r[0],Y=Y.replace(/^\[[ xX]\] +/,""))),it.items.push({type:"list_item",raw:i,task:!!r,checked:s,loose:!1,text:Y}),it.raw+=i}it.items[it.items.length-1].raw=i.trimRight(),it.items[it.items.length-1].text=Y.trimRight(),it.raw=it.raw.trimRight();const Lt=it.items.length;for(a=0;a"space"===ii.type),wn=Gt.length>0&&Gt.some(ii=>/\n.*\n/.test(ii.raw));it.loose=wn}if(it.loose)for(a=0;a$/,"$1").replace(this.rules.inline._escapes,"$1"):"",s=e[3]?e[3].substring(1,e[3].length-1).replace(this.rules.inline._escapes,"$1"):e[3];return{type:"def",tag:i,raw:e[0],href:r,title:s}}}table(t){const e=this.rules.block.table.exec(t);if(e){const i={type:"table",header:yA(e[1]).map(r=>({text:r})),align:e[2].replace(/^ *|\| *$/g,"").split(/ *\| */),rows:e[3]&&e[3].trim()?e[3].replace(/\n[ \t]*$/,"").split("\n"):[]};if(i.header.length===i.align.length){i.raw=e[0];let s,o,a,l,r=i.align.length;for(s=0;s({text:h}));for(r=i.header.length,o=0;o/i.test(e[0])&&(this.lexer.state.inLink=!1),!this.lexer.state.inRawBlock&&/^<(pre|code|kbd|script)(\s|>)/i.test(e[0])?this.lexer.state.inRawBlock=!0:this.lexer.state.inRawBlock&&/^<\/(pre|code|kbd|script)(\s|>)/i.test(e[0])&&(this.lexer.state.inRawBlock=!1),{type:this.options.sanitize?"text":"html",raw:e[0],inLink:this.lexer.state.inLink,inRawBlock:this.lexer.state.inRawBlock,text:this.options.sanitize?this.options.sanitizer?this.options.sanitizer(e[0]):us(e[0]):e[0]}}link(t){const e=this.rules.inline.link.exec(t);if(e){const i=e[2].trim();if(!this.options.pedantic&&/^$/.test(i))return;const o=Ug(i.slice(0,-1),"\\");if((i.length-o.length)%2==0)return}else{const o=function V8(n,t){if(-1===n.indexOf(t[1]))return-1;const e=n.length;let i=0,r=0;for(;r-1){const l=(0===e[0].indexOf("!")?5:4)+e[1].length+o;e[2]=e[2].substring(0,o),e[0]=e[0].substring(0,l).trim(),e[3]=""}}let r=e[2],s="";if(this.options.pedantic){const o=/^([^'"]*[^\s])\s+(['"])(.*)\2/.exec(r);o&&(r=o[1],s=o[3])}else s=e[3]?e[3].slice(1,-1):"";return r=r.trim(),/^$/.test(i)?r.slice(1):r.slice(1,-1)),bA(e,{href:r&&r.replace(this.rules.inline._escapes,"$1"),title:s&&s.replace(this.rules.inline._escapes,"$1")},e[0],this.lexer)}}reflink(t,e){let i;if((i=this.rules.inline.reflink.exec(t))||(i=this.rules.inline.nolink.exec(t))){let r=(i[2]||i[1]).replace(/\s+/g," ");if(r=e[r.toLowerCase()],!r){const s=i[0].charAt(0);return{type:"text",raw:s,text:s}}return bA(i,r,i[0],this.lexer)}}emStrong(t,e,i=""){let r=this.rules.inline.emStrong.lDelim.exec(t);if(!r||r[3]&&i.match(/[\p{L}\p{N}]/u))return;const s=r[1]||r[2]||"";if(!s||s&&(""===i||this.rules.inline.punctuation.exec(i))){const o=r[0].length-1;let a,l,h=o,f=0;const D="*"===r[0][0]?this.rules.inline.emStrong.rDelimAst:this.rules.inline.emStrong.rDelimUnd;for(D.lastIndex=0,e=e.slice(-1*t.length+o);null!=(r=D.exec(e));){if(a=r[1]||r[2]||r[3]||r[4]||r[5]||r[6],!a)continue;if(l=a.length,r[3]||r[4]){h+=l;continue}if((r[5]||r[6])&&o%3&&!((o+l)%3)){f+=l;continue}if(h-=l,h>0)continue;l=Math.min(l,l+h+f);const k=t.slice(0,o+r.index+(r[0].length-a.length)+l);if(Math.min(o,l)%2){const oe=k.slice(1,-1);return{type:"em",raw:k,text:oe,tokens:this.lexer.inlineTokens(oe)}}const Y=k.slice(2,-2);return{type:"strong",raw:k,text:Y,tokens:this.lexer.inlineTokens(Y)}}}}codespan(t){const e=this.rules.inline.code.exec(t);if(e){let i=e[2].replace(/\n/g," ");const r=/[^ ]/.test(i),s=/^ /.test(i)&&/ $/.test(i);return r&&s&&(i=i.substring(1,i.length-1)),i=us(i,!0),{type:"codespan",raw:e[0],text:i}}}br(t){const e=this.rules.inline.br.exec(t);if(e)return{type:"br",raw:e[0]}}del(t){const e=this.rules.inline.del.exec(t);if(e)return{type:"del",raw:e[0],text:e[2],tokens:this.lexer.inlineTokens(e[2])}}autolink(t,e){const i=this.rules.inline.autolink.exec(t);if(i){let r,s;return"@"===i[2]?(r=us(this.options.mangle?e(i[1]):i[1]),s="mailto:"+r):(r=us(i[1]),s=r),{type:"link",raw:i[0],text:r,href:s,tokens:[{type:"text",raw:r,text:r}]}}}url(t,e){let i;if(i=this.rules.inline.url.exec(t)){let r,s;if("@"===i[2])r=us(this.options.mangle?e(i[0]):i[0]),s="mailto:"+r;else{let o;do{o=i[0],i[0]=this.rules.inline._backpedal.exec(i[0])[0]}while(o!==i[0]);r=us(i[0]),s="www."===i[1]?"http://"+i[0]:i[0]}return{type:"link",raw:i[0],text:r,href:s,tokens:[{type:"text",raw:r,text:r}]}}}inlineText(t,e){const i=this.rules.inline.text.exec(t);if(i){let r;return r=this.lexer.state.inRawBlock?this.options.sanitize?this.options.sanitizer?this.options.sanitizer(i[0]):us(i[0]):i[0]:us(this.options.smartypants?e(i[0]):i[0]),{type:"text",raw:i[0],text:r}}}}const In={newline:/^(?: *(?:\n|$))+/,code:/^( {4}[^\n]+(?:\n(?: *(?:\n|$))*)?)+/,fences:/^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/,hr:/^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/,heading:/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,blockquote:/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/,list:/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/,html:"^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|\\n*|$)|\\n*|$)|)[\\s\\S]*?(?:(?:\\n *)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$)|(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$))",def:/^ {0,3}\[(label)\]: *(?:\n *)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n *)?| *\n *)(title))? *(?:\n+|$)/,table:qg,lheading:/^((?:.|\n(?!\n))+?)\n {0,3}(=+|-+) *(?:\n+|$)/,_paragraph:/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/,text:/^[^\n]+/,_label:/(?!\s*\])(?:\\.|[^\[\]\\])+/,_title:/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/};In.def=ji(In.def).replace("label",In._label).replace("title",In._title).getRegex(),In.bullet=/(?:[*+-]|\d{1,9}[.)])/,In.listItemStart=ji(/^( *)(bull) */).replace("bull",In.bullet).getRegex(),In.list=ji(In.list).replace(/bull/g,In.bullet).replace("hr","\\n+(?=\\1?(?:(?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$))").replace("def","\\n+(?="+In.def.source+")").getRegex(),In._tag="address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|section|source|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul",In._comment=/|$)/,In.html=ji(In.html,"i").replace("comment",In._comment).replace("tag",In._tag).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),In.paragraph=ji(In._paragraph).replace("hr",In.hr).replace("heading"," {0,3}#{1,6} ").replace("|lheading","").replace("|table","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|textarea|!--)").replace("tag",In._tag).getRegex(),In.blockquote=ji(In.blockquote).replace("paragraph",In.paragraph).getRegex(),In.normal=Rr({},In),In.gfm=Io(Rr({},In.normal),{table:"^ *([^\\n ].*\\|.*)\\n {0,3}(?:\\| *)?(:?-+:? *(?:\\| *:?-+:? *)*)(?:\\| *)?(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)"}),In.gfm.table=ji(In.gfm.table).replace("hr",In.hr).replace("heading"," {0,3}#{1,6} ").replace("blockquote"," {0,3}>").replace("code"," {4}[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|textarea|!--)").replace("tag",In._tag).getRegex(),In.gfm.paragraph=ji(In._paragraph).replace("hr",In.hr).replace("heading"," {0,3}#{1,6} ").replace("|lheading","").replace("table",In.gfm.table).replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|textarea|!--)").replace("tag",In._tag).getRegex(),In.pedantic=Io(Rr({},In.normal),{html:ji("^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+? *(?:\\n{2,}|\\s*$)|\\s]*)*?/?> *(?:\\n{2,}|\\s*$))").replace("comment",In._comment).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^(#{1,6})(.*)(?:\n+|$)/,fences:qg,lheading:/^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,paragraph:ji(In.normal._paragraph).replace("hr",In.hr).replace("heading"," *#{1,6} *[^\n]").replace("lheading",In.lheading).replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").getRegex()});const gn={escape:/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,autolink:/^<(scheme:[^\s\x00-\x1f<>]*|email)>/,url:qg,tag:"^comment|^|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^|^",link:/^!?\[(label)\]\(\s*(href)(?:\s+(title))?\s*\)/,reflink:/^!?\[(label)\]\[(ref)\]/,nolink:/^!?\[(ref)\](?:\[\])?/,reflinkSearch:"reflink|nolink(?!\\()",emStrong:{lDelim:/^(?:\*+(?:([punct_])|[^\s*]))|^_+(?:([punct*])|([^\s_]))/,rDelimAst:/^(?:[^_*\\]|\\.)*?\_\_(?:[^_*\\]|\\.)*?\*(?:[^_*\\]|\\.)*?(?=\_\_)|(?:[^*\\]|\\.)+(?=[^*])|[punct_](\*+)(?=[\s]|$)|(?:[^punct*_\s\\]|\\.)(\*+)(?=[punct_\s]|$)|[punct_\s](\*+)(?=[^punct*_\s])|[\s](\*+)(?=[punct_])|[punct_](\*+)(?=[punct_])|(?:[^punct*_\s\\]|\\.)(\*+)(?=[^punct*_\s])/,rDelimUnd:/^(?:[^_*\\]|\\.)*?\*\*(?:[^_*\\]|\\.)*?\_(?:[^_*\\]|\\.)*?(?=\*\*)|(?:[^_\\]|\\.)+(?=[^_])|[punct*](\_+)(?=[\s]|$)|(?:[^punct*_\s\\]|\\.)(\_+)(?=[punct*\s]|$)|[punct*\s](\_+)(?=[^punct*_\s])|[\s](\_+)(?=[punct*])|[punct*](\_+)(?=[punct*])/},code:/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,br:/^( {2,}|\\)\n(?!\s*$)/,del:qg,text:/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\.5&&(i="x"+i.toString(16)),t+="&#"+i+";";return t}gn._punctuation="!\"#$%&'()+\\-.,/:;<=>?@\\[\\]`^{|}~",gn.punctuation=ji(gn.punctuation).replace(/punctuation/g,gn._punctuation).getRegex(),gn.blockSkip=/\[[^\]]*?\]\([^\)]*?\)|`[^`]*?`|<[^>]*?>/g,gn.escapedEmSt=/(?:^|[^\\])(?:\\\\)*\\[*_]/g,gn._comment=ji(In._comment).replace("(?:--\x3e|$)","--\x3e").getRegex(),gn.emStrong.lDelim=ji(gn.emStrong.lDelim).replace(/punct/g,gn._punctuation).getRegex(),gn.emStrong.rDelimAst=ji(gn.emStrong.rDelimAst,"g").replace(/punct/g,gn._punctuation).getRegex(),gn.emStrong.rDelimUnd=ji(gn.emStrong.rDelimUnd,"g").replace(/punct/g,gn._punctuation).getRegex(),gn._escapes=/\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/g,gn._scheme=/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/,gn._email=/[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/,gn.autolink=ji(gn.autolink).replace("scheme",gn._scheme).replace("email",gn._email).getRegex(),gn._attribute=/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/,gn.tag=ji(gn.tag).replace("comment",gn._comment).replace("attribute",gn._attribute).getRegex(),gn._label=/(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/,gn._href=/<(?:\\.|[^\n<>\\])+>|[^\s\x00-\x1f]*/,gn._title=/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/,gn.link=ji(gn.link).replace("label",gn._label).replace("href",gn._href).replace("title",gn._title).getRegex(),gn.reflink=ji(gn.reflink).replace("label",gn._label).replace("ref",In._label).getRegex(),gn.nolink=ji(gn.nolink).replace("ref",In._label).getRegex(),gn.reflinkSearch=ji(gn.reflinkSearch,"g").replace("reflink",gn.reflink).replace("nolink",gn.nolink).getRegex(),gn.normal=Rr({},gn),gn.pedantic=Io(Rr({},gn.normal),{strong:{start:/^__|\*\*/,middle:/^__(?=\S)([\s\S]*?\S)__(?!_)|^\*\*(?=\S)([\s\S]*?\S)\*\*(?!\*)/,endAst:/\*\*(?!\*)/g,endUnd:/__(?!_)/g},em:{start:/^_|\*/,middle:/^()\*(?=\S)([\s\S]*?\S)\*(?!\*)|^_(?=\S)([\s\S]*?\S)_(?!_)/,endAst:/\*(?!\*)/g,endUnd:/_(?!_)/g},link:ji(/^!?\[(label)\]\((.*?)\)/).replace("label",gn._label).getRegex(),reflink:ji(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",gn._label).getRegex()}),gn.gfm=Io(Rr({},gn.normal),{escape:ji(gn.escape).replace("])","~|])").getRegex(),_extended_email:/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/,url:/^((?:ftp|https?):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/,_backpedal:/(?:[^?!.,:;*_'"~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_'"~)]+(?!$))+/,del:/^(~~?)(?=[^\s~])([\s\S]*?[^\s~])\1(?=[^~]|$)/,text:/^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\l+" ".repeat(h.length));t;)if(!(this.options.extensions&&this.options.extensions.block&&this.options.extensions.block.some(a=>!!(i=a.call({lexer:this},t,e))&&(t=t.substring(i.raw.length),e.push(i),!0)))){if(i=this.tokenizer.space(t)){t=t.substring(i.raw.length),1===i.raw.length&&e.length>0?e[e.length-1].raw+="\n":e.push(i);continue}if(i=this.tokenizer.code(t)){t=t.substring(i.raw.length),r=e[e.length-1],!r||"paragraph"!==r.type&&"text"!==r.type?e.push(i):(r.raw+="\n"+i.raw,r.text+="\n"+i.text,this.inlineQueue[this.inlineQueue.length-1].src=r.text);continue}if(i=this.tokenizer.fences(t)){t=t.substring(i.raw.length),e.push(i);continue}if(i=this.tokenizer.heading(t)){t=t.substring(i.raw.length),e.push(i);continue}if(i=this.tokenizer.hr(t)){t=t.substring(i.raw.length),e.push(i);continue}if(i=this.tokenizer.blockquote(t)){t=t.substring(i.raw.length),e.push(i);continue}if(i=this.tokenizer.list(t)){t=t.substring(i.raw.length),e.push(i);continue}if(i=this.tokenizer.html(t)){t=t.substring(i.raw.length),e.push(i);continue}if(i=this.tokenizer.def(t)){t=t.substring(i.raw.length),r=e[e.length-1],!r||"paragraph"!==r.type&&"text"!==r.type?this.tokens.links[i.tag]||(this.tokens.links[i.tag]={href:i.href,title:i.title}):(r.raw+="\n"+i.raw,r.text+="\n"+i.raw,this.inlineQueue[this.inlineQueue.length-1].src=r.text);continue}if(i=this.tokenizer.table(t)){t=t.substring(i.raw.length),e.push(i);continue}if(i=this.tokenizer.lheading(t)){t=t.substring(i.raw.length),e.push(i);continue}if(s=t,this.options.extensions&&this.options.extensions.startBlock){let a=1/0;const l=t.slice(1);let h;this.options.extensions.startBlock.forEach(function(f){h=f.call({lexer:this},l),"number"==typeof h&&h>=0&&(a=Math.min(a,h))}),a<1/0&&a>=0&&(s=t.substring(0,a+1))}if(this.state.top&&(i=this.tokenizer.paragraph(s))){r=e[e.length-1],o&&"paragraph"===r.type?(r.raw+="\n"+i.raw,r.text+="\n"+i.text,this.inlineQueue.pop(),this.inlineQueue[this.inlineQueue.length-1].src=r.text):e.push(i),o=s.length!==t.length,t=t.substring(i.raw.length);continue}if(i=this.tokenizer.text(t)){t=t.substring(i.raw.length),r=e[e.length-1],r&&"text"===r.type?(r.raw+="\n"+i.raw,r.text+="\n"+i.text,this.inlineQueue.pop(),this.inlineQueue[this.inlineQueue.length-1].src=r.text):e.push(i);continue}if(t){const a="Infinite loop on byte: "+t.charCodeAt(0);if(this.options.silent){console.error(a);break}throw new Error(a)}}return this.state.top=!0,e}inline(t,e=[]){return this.inlineQueue.push({src:t,tokens:e}),e}inlineTokens(t,e=[]){let i,r,s,a,l,h,o=t;if(this.tokens.links){const f=Object.keys(this.tokens.links);if(f.length>0)for(;null!=(a=this.tokenizer.rules.inline.reflinkSearch.exec(o));)f.includes(a[0].slice(a[0].lastIndexOf("[")+1,-1))&&(o=o.slice(0,a.index)+"["+vA("a",a[0].length-2)+"]"+o.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;null!=(a=this.tokenizer.rules.inline.blockSkip.exec(o));)o=o.slice(0,a.index)+"["+vA("a",a[0].length-2)+"]"+o.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);for(;null!=(a=this.tokenizer.rules.inline.escapedEmSt.exec(o));)o=o.slice(0,a.index+a[0].length-2)+"++"+o.slice(this.tokenizer.rules.inline.escapedEmSt.lastIndex),this.tokenizer.rules.inline.escapedEmSt.lastIndex--;for(;t;)if(l||(h=""),l=!1,!(this.options.extensions&&this.options.extensions.inline&&this.options.extensions.inline.some(f=>!!(i=f.call({lexer:this},t,e))&&(t=t.substring(i.raw.length),e.push(i),!0)))){if(i=this.tokenizer.escape(t)){t=t.substring(i.raw.length),e.push(i);continue}if(i=this.tokenizer.tag(t)){t=t.substring(i.raw.length),r=e[e.length-1],r&&"text"===i.type&&"text"===r.type?(r.raw+=i.raw,r.text+=i.text):e.push(i);continue}if(i=this.tokenizer.link(t)){t=t.substring(i.raw.length),e.push(i);continue}if(i=this.tokenizer.reflink(t,this.tokens.links)){t=t.substring(i.raw.length),r=e[e.length-1],r&&"text"===i.type&&"text"===r.type?(r.raw+=i.raw,r.text+=i.text):e.push(i);continue}if(i=this.tokenizer.emStrong(t,o,h)){t=t.substring(i.raw.length),e.push(i);continue}if(i=this.tokenizer.codespan(t)){t=t.substring(i.raw.length),e.push(i);continue}if(i=this.tokenizer.br(t)){t=t.substring(i.raw.length),e.push(i);continue}if(i=this.tokenizer.del(t)){t=t.substring(i.raw.length),e.push(i);continue}if(i=this.tokenizer.autolink(t,wA)){t=t.substring(i.raw.length),e.push(i);continue}if(!this.state.inLink&&(i=this.tokenizer.url(t,wA))){t=t.substring(i.raw.length),e.push(i);continue}if(s=t,this.options.extensions&&this.options.extensions.startInline){let f=1/0;const D=t.slice(1);let k;this.options.extensions.startInline.forEach(function(Y){k=Y.call({lexer:this},D),"number"==typeof k&&k>=0&&(f=Math.min(f,k))}),f<1/0&&f>=0&&(s=t.substring(0,f+1))}if(i=this.tokenizer.inlineText(s,z8)){t=t.substring(i.raw.length),"_"!==i.raw.slice(-1)&&(h=i.raw.slice(-1)),l=!0,r=e[e.length-1],r&&"text"===r.type?(r.raw+=i.raw,r.text+=i.text):e.push(i);continue}if(t){const f="Infinite loop on byte: "+t.charCodeAt(0);if(this.options.silent){console.error(f);break}throw new Error(f)}}return e}}class Sp{constructor(t){this.options=t||Xc}code(t,e,i){const r=(e||"").match(/\S*/)[0];if(this.options.highlight){const s=this.options.highlight(t,r);null!=s&&s!==t&&(i=!0,t=s)}return t=t.replace(/\n$/,"")+"\n",r?'
    '+(i?t:us(t,!0))+"
    \n":"
    "+(i?t:us(t,!0))+"
    \n"}blockquote(t){return`
    \n${t}
    \n`}html(t){return t}heading(t,e,i,r){return this.options.headerIds?`${t}\n`:`${t}\n`}hr(){return this.options.xhtml?"
    \n":"
    \n"}list(t,e,i){const r=e?"ol":"ul";return"<"+r+(e&&1!==i?' start="'+i+'"':"")+">\n"+t+"\n"}listitem(t){return`
  • ${t}
  • \n`}checkbox(t){return" "}paragraph(t){return`

    ${t}

    \n`}table(t,e){return e&&(e=`${e}`),"\n\n"+t+"\n"+e+"
    \n"}tablerow(t){return`\n${t}\n`}tablecell(t,e){const i=e.header?"th":"td";return(e.align?`<${i} align="${e.align}">`:`<${i}>`)+t+`\n`}strong(t){return`${t}`}em(t){return`${t}`}codespan(t){return`${t}`}br(){return this.options.xhtml?"
    ":"
    "}del(t){return`${t}`}link(t,e,i){if(null===(t=_A(this.options.sanitize,this.options.baseUrl,t)))return i;let r='
    ",r}image(t,e,i){if(null===(t=_A(this.options.sanitize,this.options.baseUrl,t)))return i;let r=`${i}":">",r}text(t){return t}}class MA{strong(t){return t}em(t){return t}codespan(t){return t}del(t){return t}html(t){return t}text(t){return t}link(t,e,i){return""+i}image(t,e,i){return""+i}br(){return""}}class DA{constructor(){this.seen={}}serialize(t){return t.toLowerCase().trim().replace(/<[!\/a-z].*?>/gi,"").replace(/[\u2000-\u206F\u2E00-\u2E7F\\'!"#$%&()*+,./:;<=>?@[\]^`{|}~]/g,"").replace(/\s/g,"-")}getNextSafeSlug(t,e){let i=t,r=0;if(this.seen.hasOwnProperty(i)){r=this.seen[t];do{r++,i=t+"-"+r}while(this.seen.hasOwnProperty(i))}return e||(this.seen[t]=r,this.seen[i]=0),i}slug(t,e={}){const i=this.serialize(t);return this.getNextSafeSlug(i,e.dryrun)}}class Zl{constructor(t){this.options=t||Xc,this.options.renderer=this.options.renderer||new Sp,this.renderer=this.options.renderer,this.renderer.options=this.options,this.textRenderer=new MA,this.slugger=new DA}static parse(t,e){return new Zl(e).parse(t)}static parseInline(t,e){return new Zl(e).parseInline(t)}parse(t,e=!0){let r,s,o,a,l,h,f,D,k,Y,oe,Fe,We,it,Ue,Lt,Gt,wn,ii,i="";const Mi=t.length;for(r=0;r0&&"paragraph"===Ue.tokens[0].type?(Ue.tokens[0].text=wn+" "+Ue.tokens[0].text,Ue.tokens[0].tokens&&Ue.tokens[0].tokens.length>0&&"text"===Ue.tokens[0].tokens[0].type&&(Ue.tokens[0].tokens[0].text=wn+" "+Ue.tokens[0].tokens[0].text)):Ue.tokens.unshift({type:"text",text:wn}):it+=wn),it+=this.parse(Ue.tokens,We),k+=this.renderer.listitem(it,Gt,Lt);i+=this.renderer.list(k,oe,Fe);continue;case"html":i+=this.renderer.html(Y.text);continue;case"paragraph":i+=this.renderer.paragraph(this.parseInline(Y.tokens));continue;case"text":for(k=Y.tokens?this.parseInline(Y.tokens):Y.text;r+1{"function"==typeof i&&(r=i,i=null);const s=Rr({},i),o=function G8(n,t,e){return i=>{if(i.message+="\nPlease report this to https://github.com/markedjs/marked.",n){const r="

    An error occurred:

    "+us(i.message+"",!0)+"
    ";return t?Promise.resolve(r):e?void e(null,r):r}if(t)return Promise.reject(i);if(!e)throw i;e(i)}}((i=Rr(Rr({},On.defaults),s)).silent,i.async,r);if(null==e)return o(new Error("marked(): input parameter is undefined or null"));if("string"!=typeof e)return o(new Error("marked(): input parameter is of type "+Object.prototype.toString.call(e)+", string expected"));if(function q8(n){n&&n.sanitize&&!n.silent&&console.warn("marked(): sanitize and sanitizer parameters are deprecated since version 0.7.0, should not be used and will be removed in the future. Read more here: https://marked.js.org/#/USING_ADVANCED.md#options")}(i),i.hooks&&(i.hooks.options=i),r){const a=i.highlight;let l;try{i.hooks&&(e=i.hooks.preprocess(e)),l=n(e,i)}catch(D){return o(D)}const h=function(D){let k;if(!D)try{i.walkTokens&&On.walkTokens(l,i.walkTokens),k=t(l,i),i.hooks&&(k=i.hooks.postprocess(k))}catch(Y){D=Y}return i.highlight=a,D?o(D):r(null,k)};if(!a||a.length<3||(delete i.highlight,!l.length))return h();let f=0;return On.walkTokens(l,function(D){"code"===D.type&&(f++,setTimeout(()=>{a(D.text,D.lang,function(k,Y){if(k)return h(k);null!=Y&&Y!==D.text&&(D.text=Y,D.escaped=!0),f--,0===f&&h()})},0))}),void(0===f&&h())}if(i.async)return Promise.resolve(i.hooks?i.hooks.preprocess(e):e).then(a=>n(a,i)).then(a=>i.walkTokens?Promise.all(On.walkTokens(a,i.walkTokens)).then(()=>a):a).then(a=>t(a,i)).then(a=>i.hooks?i.hooks.postprocess(a):a).catch(o);try{i.hooks&&(e=i.hooks.preprocess(e));const a=n(e,i);i.walkTokens&&On.walkTokens(a,i.walkTokens);let l=t(a,i);return i.hooks&&(l=i.hooks.postprocess(l)),l}catch(a){return o(a)}}}function On(n,t,e){return EA(Kl.lex,Zl.parse)(n,t,e)}BN(zg,"passThroughHooks",new Set(["preprocess","postprocess"])),On.options=On.setOptions=function(n){return function I8(n){Xc=n}(On.defaults=Rr(Rr({},On.defaults),n)),On},On.getDefaults=function hA(){return{async:!1,baseUrl:null,breaks:!1,extensions:null,gfm:!0,headerIds:!0,headerPrefix:"",highlight:null,hooks:null,langPrefix:"language-",mangle:!0,pedantic:!1,renderer:null,sanitize:!1,sanitizer:null,silent:!1,smartypants:!1,tokenizer:null,walkTokens:null,xhtml:!1}},On.defaults=Xc,On.use=function(...n){const t=On.defaults.extensions||{renderers:{},childTokens:{}};n.forEach(e=>{const i=Rr({},e);if(i.async=On.defaults.async||i.async||!1,e.extensions&&(e.extensions.forEach(r=>{if(!r.name)throw new Error("extension name required");if(r.renderer){const s=t.renderers[r.name];t.renderers[r.name]=s?function(...o){let a=r.renderer.apply(this,o);return!1===a&&(a=s.apply(this,o)),a}:r.renderer}if(r.tokenizer){if(!r.level||"block"!==r.level&&"inline"!==r.level)throw new Error("extension level must be 'block' or 'inline'");t[r.level]?t[r.level].unshift(r.tokenizer):t[r.level]=[r.tokenizer],r.start&&("block"===r.level?t.startBlock?t.startBlock.push(r.start):t.startBlock=[r.start]:"inline"===r.level&&(t.startInline?t.startInline.push(r.start):t.startInline=[r.start]))}r.childTokens&&(t.childTokens[r.name]=r.childTokens)}),i.extensions=t),e.renderer){const r=On.defaults.renderer||new Sp;for(const s in e.renderer){const o=r[s];r[s]=(...a)=>{let l=e.renderer[s].apply(r,a);return!1===l&&(l=o.apply(r,a)),l}}i.renderer=r}if(e.tokenizer){const r=On.defaults.tokenizer||new UM;for(const s in e.tokenizer){const o=r[s];r[s]=(...a)=>{let l=e.tokenizer[s].apply(r,a);return!1===l&&(l=o.apply(r,a)),l}}i.tokenizer=r}if(e.hooks){const r=On.defaults.hooks||new zg;for(const s in e.hooks){const o=r[s];r[s]=zg.passThroughHooks.has(s)?a=>{if(On.defaults.async)return Promise.resolve(e.hooks[s].call(r,a)).then(h=>o.call(r,h));const l=e.hooks[s].call(r,a);return o.call(r,l)}:(...a)=>{let l=e.hooks[s].apply(r,a);return!1===l&&(l=o.apply(r,a)),l}}i.hooks=r}if(e.walkTokens){const r=On.defaults.walkTokens;i.walkTokens=function(s){let o=[];return o.push(e.walkTokens.call(this,s)),r&&(o=o.concat(r.call(this,s))),o}}On.setOptions(i)})},On.walkTokens=function(n,t){let e=[];for(const i of n)switch(e=e.concat(t.call(On,i)),i.type){case"table":for(const r of i.header)e=e.concat(On.walkTokens(r.tokens,t));for(const r of i.rows)for(const s of r)e=e.concat(On.walkTokens(s.tokens,t));break;case"list":e=e.concat(On.walkTokens(i.items,t));break;default:On.defaults.extensions&&On.defaults.extensions.childTokens&&On.defaults.extensions.childTokens[i.type]?On.defaults.extensions.childTokens[i.type].forEach(function(r){e=e.concat(On.walkTokens(i[r],t))}):i.tokens&&(e=e.concat(On.walkTokens(i.tokens,t)))}return e},On.parseInline=EA(Kl.lexInline,Zl.parseInline),On.Parser=Zl,On.parser=Zl.parse,On.Renderer=Sp,On.TextRenderer=MA,On.Lexer=Kl,On.lexer=Kl.lex,On.Tokenizer=UM,On.Slugger=DA,On.Hooks=zg,On.parse=On;const $8=["*"];var kp=(()=>(function(n){n.CommandLine="command-line",n.LineHighlight="line-highlight",n.LineNumbers="line-numbers"}(kp||(kp={})),kp))();class CA{}const TA=new pt("SECURITY_CONTEXT");let zM=(()=>{class n{constructor(e,i,r,s,o){this.platform=e,this.securityContext=i,this.http=r,this.sanitizer=o,this.initialMarkedOptions={renderer:new Sp},this.options=s}get options(){return this._options}set options(e){this._options=Object.assign(Object.assign({},this.initialMarkedOptions),e)}get renderer(){return this.options.renderer}set renderer(e){this.options.renderer=e}compile(e,i=!1,r=!1,s=this.options){const o=this.trimIndentation(e),a=i?this.decodeHtml(o):o,h=On(r?this.renderEmoji(a):a,s);return this.sanitizer.sanitize(this.securityContext,h)||""}getSource(e){if(!this.http)throw new Error("[ngx-markdown] When using the `src` attribute you *have to* pass the `HttpClient` as a parameter of the `forRoot` method. See README for more information");return this.http.get(e,{responseType:"text"}).pipe(_e(i=>this.handleExtension(e,i)))}highlight(e){if(ap(this.platform)&&"undefined"!=typeof Prism){e||(e=document);const i=e.querySelectorAll('pre code:not([class*="language-"])');Array.prototype.forEach.call(i,r=>r.classList.add("language-none")),Prism.highlightAllUnder(e)}}renderKatex(e,i){if(!ap(this.platform))return e;if("undefined"==typeof katex||void 0===katex.renderToString)throw new Error("[ngx-markdown] When using the `katex` attribute you *have to* include KaTeX files to `angular.json` or use imports. See README for more information");return e.replace(/\$([^\s][^$]*?[^\s])\$/gm,(r,s)=>katex.renderToString(s,i))}decodeHtml(e){if(!ap(this.platform))return e;const i=document.createElement("textarea");return i.innerHTML=e,i.value}handleExtension(e,i){const r=e?e.split("?")[0].split(".").splice(-1).join():"";return"md"!==r?"```"+r+"\n"+i+"\n```":i}renderEmoji(e){if(!ap(this.platform))return e;if("undefined"==typeof joypixels||void 0===joypixels.shortnameToUnicode)throw new Error("[ngx-markdown] When using the `emoji` attribute you *have to* include Emoji-Toolkit files to `angular.json` or use imports. See README for more information");return joypixels.shortnameToUnicode(e)}trimIndentation(e){if(!e)return"";let i;return e.split("\n").map(r=>{let s=i;return r.length>0&&(s=isNaN(s)?r.search(/\S|$/):Math.min(r.search(/\S|$/),s)),isNaN(i)&&(i=s),s?r.substring(s):r}).join("\n")}}return n.\u0275fac=function(e){return new(e||n)(Se(ip),Se(TA),Se(hp,8),Se(CA,8),Se(sl))},n.\u0275prov=De({token:n,factory:n.\u0275fac}),n})(),cl=(()=>{class n{constructor(e,i){this.element=e,this.markdownService=i,this.error=new Yt,this.load=new Yt,this.ready=new Yt,this._commandLine=!1,this._emoji=!1,this._katex=!1,this._lineHighlight=!1,this._lineNumbers=!1}get emoji(){return this._emoji}set emoji(e){this._emoji=this.coerceBooleanProperty(e)}get katex(){return this._katex}set katex(e){this._katex=this.coerceBooleanProperty(e)}get lineHighlight(){return this._lineHighlight}set lineHighlight(e){this._lineHighlight=this.coerceBooleanProperty(e)}get lineNumbers(){return this._lineNumbers}set lineNumbers(e){this._lineNumbers=this.coerceBooleanProperty(e)}get commandLine(){return this._commandLine}set commandLine(e){this._commandLine=this.coerceBooleanProperty(e)}ngOnChanges(){null==this.data?null==this.src||this.handleSrc():this.handleData()}ngAfterViewInit(){!this.data&&!this.src&&this.handleTransclusion()}render(e,i=!1){let r=this.markdownService.compile(e,i,this.emoji);r=this.katex?this.markdownService.renderKatex(r,this.katexOptions):r,this.element.nativeElement.innerHTML=r,this.handlePlugins(),this.markdownService.highlight(this.element.nativeElement),this.ready.emit()}coerceBooleanProperty(e){return null!=e&&"false"!=`${String(e)}`}handleData(){this.render(this.data)}handleSrc(){this.markdownService.getSource(this.src).subscribe(e=>{this.render(e),this.load.emit(e)},e=>this.error.emit(e))}handleTransclusion(){this.render(this.element.nativeElement.innerHTML,!0)}handlePlugins(){this.commandLine&&(this.setPluginClass(this.element.nativeElement,kp.CommandLine),this.setPluginOptions(this.element.nativeElement,{dataFilterOutput:this.filterOutput,dataHost:this.host,dataPrompt:this.prompt,dataOutput:this.output,dataUser:this.user})),this.lineHighlight&&this.setPluginOptions(this.element.nativeElement,{dataLine:this.line,dataLineOffset:this.lineOffset}),this.lineNumbers&&(this.setPluginClass(this.element.nativeElement,kp.LineNumbers),this.setPluginOptions(this.element.nativeElement,{dataStart:this.start}))}setPluginClass(e,i){const r=e.querySelectorAll("pre");for(let s=0;s{const a=i[o];if(a){const l=this.toLispCase(o);r.item(s).setAttribute(l,a.toString())}})}toLispCase(e){const i=e.match(/([A-Z])/g);if(!i)return e;let r=e.toString();for(let s=0,o=i.length;s{class n{static forRoot(e){return{ngModule:n,providers:[zM,e&&e.loader||[],e&&e.markedOptions||[],{provide:TA,useValue:e&&null!=e.sanitize?e.sanitize:_i.HTML}]}}static forChild(){return{ngModule:n}}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Ht({type:n}),n.\u0275inj=He({}),n})();w(3037);var La=w(6511),Fs=(()=>(function(n){n.Closed="CLOSED",n.Open="OPEN"}(Fs||(Fs={})),Fs))();const X8=La.ZP` + fragment issueAuthor on Actor { + login + url + avatarUrl +} + `,Gg=La.ZP` + fragment issue on Issue { + id + number + title + body + state + createdAt + updatedAt + url + author { + ...issueAuthor + } +} + ${X8}`,xp=La.ZP` + fragment issueLabel on Label { + id + color + name + url +} + `,$g=La.ZP` + fragment issueAssignee on User { + id + login + url +} + `,Wg=La.ZP` + fragment issueComment on IssueComment { + id + databaseId + body + createdAt + updatedAt +} + `,J8=(La.ZP` + fragment issueModel on Issue { + ...issue + labels(first: 100) { + edges { + node { + ...issueLabel + } + } + } + assignees(first: 100) { + edges { + node { + ...issueAssignee + } + } + } + comments(first: 100) { + edges { + cursor + node { + ...issueComment + } + } + } +} + ${Gg} +${xp} +${$g} +${Wg}`,La.ZP` + query FetchIssue($owner: String!, $name: String!, $issueId: Int!, $commentCursor: String) { + repository(owner: $owner, name: $name) { + issue(number: $issueId) { + ...issue + labels(first: 100) { + edges { + node { + ...issueLabel + } + } + } + assignees(first: 100) { + edges { + node { + ...issueAssignee + } + } + } + comments(first: 100, after: $commentCursor) { + edges { + cursor + node { + ...issueComment + } + } + } + } + } +} + ${Gg} +${xp} +${$g} +${Wg}`),e6=La.ZP` + query FetchIssuesByTeam($owner: String!, $name: String!, $tutorial: String!, $filter: IssueFilters, $cursor: String, $commentCursor: String) { + repository(owner: $owner, name: $name) { + label(name: $tutorial) { + issues(first: 100, filterBy: $filter, after: $cursor) { + edges { + cursor + node { + ...issue + labels(first: 100) { + edges { + node { + ...issueLabel + } + } + } + assignees(first: 100) { + edges { + node { + ...issueAssignee + } + } + } + comments(first: 100, after: $commentCursor) { + edges { + cursor + node { + ...issueComment + } + } + } + } + } + } + } + } +} + ${Gg} +${xp} +${$g} +${Wg}`,t6=La.ZP` + query FetchIssues($owner: String!, $name: String!, $filter: IssueFilters, $cursor: String, $commentCursor: String) { + repository(owner: $owner, name: $name) { + issues(first: 100, filterBy: $filter, after: $cursor) { + edges { + cursor + node { + ...issue + labels(first: 100) { + edges { + node { + ...issueLabel + } + } + } + assignees(first: 100) { + edges { + node { + ...issueAssignee + } + } + } + comments(first: 100, after: $commentCursor) { + edges { + cursor + node { + ...issueComment + } + } + } + } + } + } + } +} + ${Gg} +${xp} +${$g} +${Wg}`,n6=La.ZP` + query FetchLabels($owner: String!, $name: String!, $cursor: String) { + repository(owner: $owner, name: $name) { + labels(first: 100, after: $cursor) { + edges { + cursor + node { + ...issueLabel + description + } + } + } + } +} + ${xp}`,i6={possibleTypes:{Actor:["Bot","EnterpriseUserAccount","Mannequin","Organization","User"],Assignable:["Issue","PullRequest"],Assignee:["Bot","Mannequin","Organization","User"],AuditEntry:["MembersCanDeleteReposClearAuditEntry","MembersCanDeleteReposDisableAuditEntry","MembersCanDeleteReposEnableAuditEntry","OauthApplicationCreateAuditEntry","OrgAddBillingManagerAuditEntry","OrgAddMemberAuditEntry","OrgBlockUserAuditEntry","OrgConfigDisableCollaboratorsOnlyAuditEntry","OrgConfigEnableCollaboratorsOnlyAuditEntry","OrgCreateAuditEntry","OrgDisableOauthAppRestrictionsAuditEntry","OrgDisableSamlAuditEntry","OrgDisableTwoFactorRequirementAuditEntry","OrgEnableOauthAppRestrictionsAuditEntry","OrgEnableSamlAuditEntry","OrgEnableTwoFactorRequirementAuditEntry","OrgInviteMemberAuditEntry","OrgInviteToBusinessAuditEntry","OrgOauthAppAccessApprovedAuditEntry","OrgOauthAppAccessDeniedAuditEntry","OrgOauthAppAccessRequestedAuditEntry","OrgRemoveBillingManagerAuditEntry","OrgRemoveMemberAuditEntry","OrgRemoveOutsideCollaboratorAuditEntry","OrgRestoreMemberAuditEntry","OrgUnblockUserAuditEntry","OrgUpdateDefaultRepositoryPermissionAuditEntry","OrgUpdateMemberAuditEntry","OrgUpdateMemberRepositoryCreationPermissionAuditEntry","OrgUpdateMemberRepositoryInvitationPermissionAuditEntry","PrivateRepositoryForkingDisableAuditEntry","PrivateRepositoryForkingEnableAuditEntry","RepoAccessAuditEntry","RepoAddMemberAuditEntry","RepoAddTopicAuditEntry","RepoArchivedAuditEntry","RepoChangeMergeSettingAuditEntry","RepoConfigDisableAnonymousGitAccessAuditEntry","RepoConfigDisableCollaboratorsOnlyAuditEntry","RepoConfigDisableContributorsOnlyAuditEntry","RepoConfigDisableSockpuppetDisallowedAuditEntry","RepoConfigEnableAnonymousGitAccessAuditEntry","RepoConfigEnableCollaboratorsOnlyAuditEntry","RepoConfigEnableContributorsOnlyAuditEntry","RepoConfigEnableSockpuppetDisallowedAuditEntry","RepoConfigLockAnonymousGitAccessAuditEntry","RepoConfigUnlockAnonymousGitAccessAuditEntry","RepoCreateAuditEntry","RepoDestroyAuditEntry","RepoRemoveMemberAuditEntry","RepoRemoveTopicAuditEntry","RepositoryVisibilityChangeDisableAuditEntry","RepositoryVisibilityChangeEnableAuditEntry","TeamAddMemberAuditEntry","TeamAddRepositoryAuditEntry","TeamChangeParentTeamAuditEntry","TeamRemoveMemberAuditEntry","TeamRemoveRepositoryAuditEntry"],AuditEntryActor:["Bot","Organization","User"],Closable:["Issue","Milestone","Project","PullRequest"],Closer:["Commit","PullRequest"],Comment:["CommitComment","GistComment","Issue","IssueComment","PullRequest","PullRequestReview","PullRequestReviewComment","TeamDiscussion","TeamDiscussionComment"],Contribution:["CreatedCommitContribution","CreatedIssueContribution","CreatedPullRequestContribution","CreatedPullRequestReviewContribution","CreatedRepositoryContribution","JoinedGitHubContribution","RestrictedContribution"],CreatedIssueOrRestrictedContribution:["CreatedIssueContribution","RestrictedContribution"],CreatedPullRequestOrRestrictedContribution:["CreatedPullRequestContribution","RestrictedContribution"],CreatedRepositoryOrRestrictedContribution:["CreatedRepositoryContribution","RestrictedContribution"],Deletable:["CommitComment","GistComment","IssueComment","PullRequestReview","PullRequestReviewComment","TeamDiscussion","TeamDiscussionComment"],EnterpriseAuditEntryData:["MembersCanDeleteReposClearAuditEntry","MembersCanDeleteReposDisableAuditEntry","MembersCanDeleteReposEnableAuditEntry","OrgInviteToBusinessAuditEntry","PrivateRepositoryForkingDisableAuditEntry","PrivateRepositoryForkingEnableAuditEntry","RepositoryVisibilityChangeDisableAuditEntry","RepositoryVisibilityChangeEnableAuditEntry"],EnterpriseMember:["EnterpriseUserAccount","User"],GitObject:["Blob","Commit","Tag","Tree"],GitSignature:["GpgSignature","SmimeSignature","UnknownSignature"],HovercardContext:["GenericHovercardContext","OrganizationTeamsHovercardContext","OrganizationsHovercardContext","ReviewStatusHovercardContext","ViewerHovercardContext"],IpAllowListOwner:["Enterprise","Organization"],IssueOrPullRequest:["Issue","PullRequest"],IssueTimelineItem:["AssignedEvent","ClosedEvent","Commit","CrossReferencedEvent","DemilestonedEvent","IssueComment","LabeledEvent","LockedEvent","MilestonedEvent","ReferencedEvent","RenamedTitleEvent","ReopenedEvent","SubscribedEvent","TransferredEvent","UnassignedEvent","UnlabeledEvent","UnlockedEvent","UnsubscribedEvent","UserBlockedEvent"],IssueTimelineItems:["AddedToProjectEvent","AssignedEvent","ClosedEvent","CommentDeletedEvent","ConnectedEvent","ConvertedNoteToIssueEvent","CrossReferencedEvent","DemilestonedEvent","DisconnectedEvent","IssueComment","LabeledEvent","LockedEvent","MarkedAsDuplicateEvent","MentionedEvent","MilestonedEvent","MovedColumnsInProjectEvent","PinnedEvent","ReferencedEvent","RemovedFromProjectEvent","RenamedTitleEvent","ReopenedEvent","SubscribedEvent","TransferredEvent","UnassignedEvent","UnlabeledEvent","UnlockedEvent","UnmarkedAsDuplicateEvent","UnpinnedEvent","UnsubscribedEvent","UserBlockedEvent"],Labelable:["Issue","PullRequest"],Lockable:["Issue","PullRequest"],MemberStatusable:["Organization","Team"],MilestoneItem:["Issue","PullRequest"],Minimizable:["CommitComment","GistComment","IssueComment","PullRequestReviewComment"],Node:["AddedToProjectEvent","App","AssignedEvent","AutomaticBaseChangeFailedEvent","AutomaticBaseChangeSucceededEvent","BaseRefChangedEvent","BaseRefDeletedEvent","BaseRefForcePushedEvent","Blob","Bot","BranchProtectionRule","CheckRun","CheckSuite","ClosedEvent","CodeOfConduct","CommentDeletedEvent","Commit","CommitComment","CommitCommentThread","ConnectedEvent","ConvertToDraftEvent","ConvertedNoteToIssueEvent","CrossReferencedEvent","DemilestonedEvent","DeployKey","DeployedEvent","Deployment","DeploymentEnvironmentChangedEvent","DeploymentStatus","DisconnectedEvent","Enterprise","EnterpriseAdministratorInvitation","EnterpriseIdentityProvider","EnterpriseRepositoryInfo","EnterpriseServerInstallation","EnterpriseServerUserAccount","EnterpriseServerUserAccountEmail","EnterpriseServerUserAccountsUpload","EnterpriseUserAccount","ExternalIdentity","Gist","GistComment","HeadRefDeletedEvent","HeadRefForcePushedEvent","HeadRefRestoredEvent","IpAllowListEntry","Issue","IssueComment","Label","LabeledEvent","Language","License","LockedEvent","Mannequin","MarkedAsDuplicateEvent","MarketplaceCategory","MarketplaceListing","MembersCanDeleteReposClearAuditEntry","MembersCanDeleteReposDisableAuditEntry","MembersCanDeleteReposEnableAuditEntry","MentionedEvent","MergedEvent","Milestone","MilestonedEvent","MovedColumnsInProjectEvent","OauthApplicationCreateAuditEntry","OrgAddBillingManagerAuditEntry","OrgAddMemberAuditEntry","OrgBlockUserAuditEntry","OrgConfigDisableCollaboratorsOnlyAuditEntry","OrgConfigEnableCollaboratorsOnlyAuditEntry","OrgCreateAuditEntry","OrgDisableOauthAppRestrictionsAuditEntry","OrgDisableSamlAuditEntry","OrgDisableTwoFactorRequirementAuditEntry","OrgEnableOauthAppRestrictionsAuditEntry","OrgEnableSamlAuditEntry","OrgEnableTwoFactorRequirementAuditEntry","OrgInviteMemberAuditEntry","OrgInviteToBusinessAuditEntry","OrgOauthAppAccessApprovedAuditEntry","OrgOauthAppAccessDeniedAuditEntry","OrgOauthAppAccessRequestedAuditEntry","OrgRemoveBillingManagerAuditEntry","OrgRemoveMemberAuditEntry","OrgRemoveOutsideCollaboratorAuditEntry","OrgRestoreMemberAuditEntry","OrgUnblockUserAuditEntry","OrgUpdateDefaultRepositoryPermissionAuditEntry","OrgUpdateMemberAuditEntry","OrgUpdateMemberRepositoryCreationPermissionAuditEntry","OrgUpdateMemberRepositoryInvitationPermissionAuditEntry","Organization","OrganizationIdentityProvider","OrganizationInvitation","Package","PackageFile","PackageTag","PackageVersion","PinnedEvent","PrivateRepositoryForkingDisableAuditEntry","PrivateRepositoryForkingEnableAuditEntry","Project","ProjectCard","ProjectColumn","PublicKey","PullRequest","PullRequestCommit","PullRequestCommitCommentThread","PullRequestReview","PullRequestReviewComment","PullRequestReviewThread","Push","PushAllowance","Reaction","ReadyForReviewEvent","Ref","ReferencedEvent","Release","ReleaseAsset","RemovedFromProjectEvent","RenamedTitleEvent","ReopenedEvent","RepoAccessAuditEntry","RepoAddMemberAuditEntry","RepoAddTopicAuditEntry","RepoArchivedAuditEntry","RepoChangeMergeSettingAuditEntry","RepoConfigDisableAnonymousGitAccessAuditEntry","RepoConfigDisableCollaboratorsOnlyAuditEntry","RepoConfigDisableContributorsOnlyAuditEntry","RepoConfigDisableSockpuppetDisallowedAuditEntry","RepoConfigEnableAnonymousGitAccessAuditEntry","RepoConfigEnableCollaboratorsOnlyAuditEntry","RepoConfigEnableContributorsOnlyAuditEntry","RepoConfigEnableSockpuppetDisallowedAuditEntry","RepoConfigLockAnonymousGitAccessAuditEntry","RepoConfigUnlockAnonymousGitAccessAuditEntry","RepoCreateAuditEntry","RepoDestroyAuditEntry","RepoRemoveMemberAuditEntry","RepoRemoveTopicAuditEntry","Repository","RepositoryInvitation","RepositoryTopic","RepositoryVisibilityChangeDisableAuditEntry","RepositoryVisibilityChangeEnableAuditEntry","RepositoryVulnerabilityAlert","ReviewDismissalAllowance","ReviewDismissedEvent","ReviewRequest","ReviewRequestRemovedEvent","ReviewRequestedEvent","SavedReply","SecurityAdvisory","SponsorsListing","SponsorsTier","Sponsorship","Status","StatusCheckRollup","StatusContext","SubscribedEvent","Tag","Team","TeamAddMemberAuditEntry","TeamAddRepositoryAuditEntry","TeamChangeParentTeamAuditEntry","TeamDiscussion","TeamDiscussionComment","TeamRemoveMemberAuditEntry","TeamRemoveRepositoryAuditEntry","Topic","TransferredEvent","Tree","UnassignedEvent","UnlabeledEvent","UnlockedEvent","UnmarkedAsDuplicateEvent","UnpinnedEvent","UnsubscribedEvent","User","UserBlockedEvent","UserContentEdit","UserStatus"],OauthApplicationAuditEntryData:["OauthApplicationCreateAuditEntry","OrgOauthAppAccessApprovedAuditEntry","OrgOauthAppAccessDeniedAuditEntry","OrgOauthAppAccessRequestedAuditEntry"],OrgRestoreMemberAuditEntryMembership:["OrgRestoreMemberMembershipOrganizationAuditEntryData","OrgRestoreMemberMembershipRepositoryAuditEntryData","OrgRestoreMemberMembershipTeamAuditEntryData"],OrganizationAuditEntry:["MembersCanDeleteReposClearAuditEntry","MembersCanDeleteReposDisableAuditEntry","MembersCanDeleteReposEnableAuditEntry","OauthApplicationCreateAuditEntry","OrgAddBillingManagerAuditEntry","OrgAddMemberAuditEntry","OrgBlockUserAuditEntry","OrgConfigDisableCollaboratorsOnlyAuditEntry","OrgConfigEnableCollaboratorsOnlyAuditEntry","OrgCreateAuditEntry","OrgDisableOauthAppRestrictionsAuditEntry","OrgDisableSamlAuditEntry","OrgDisableTwoFactorRequirementAuditEntry","OrgEnableOauthAppRestrictionsAuditEntry","OrgEnableSamlAuditEntry","OrgEnableTwoFactorRequirementAuditEntry","OrgInviteMemberAuditEntry","OrgInviteToBusinessAuditEntry","OrgOauthAppAccessApprovedAuditEntry","OrgOauthAppAccessDeniedAuditEntry","OrgOauthAppAccessRequestedAuditEntry","OrgRemoveBillingManagerAuditEntry","OrgRemoveMemberAuditEntry","OrgRemoveOutsideCollaboratorAuditEntry","OrgRestoreMemberAuditEntry","OrgUnblockUserAuditEntry","OrgUpdateDefaultRepositoryPermissionAuditEntry","OrgUpdateMemberAuditEntry","OrgUpdateMemberRepositoryCreationPermissionAuditEntry","OrgUpdateMemberRepositoryInvitationPermissionAuditEntry","PrivateRepositoryForkingDisableAuditEntry","PrivateRepositoryForkingEnableAuditEntry","RepoAccessAuditEntry","RepoAddMemberAuditEntry","RepoAddTopicAuditEntry","RepoArchivedAuditEntry","RepoChangeMergeSettingAuditEntry","RepoConfigDisableAnonymousGitAccessAuditEntry","RepoConfigDisableCollaboratorsOnlyAuditEntry","RepoConfigDisableContributorsOnlyAuditEntry","RepoConfigDisableSockpuppetDisallowedAuditEntry","RepoConfigEnableAnonymousGitAccessAuditEntry","RepoConfigEnableCollaboratorsOnlyAuditEntry","RepoConfigEnableContributorsOnlyAuditEntry","RepoConfigEnableSockpuppetDisallowedAuditEntry","RepoConfigLockAnonymousGitAccessAuditEntry","RepoConfigUnlockAnonymousGitAccessAuditEntry","RepoCreateAuditEntry","RepoDestroyAuditEntry","RepoRemoveMemberAuditEntry","RepoRemoveTopicAuditEntry","RepositoryVisibilityChangeDisableAuditEntry","RepositoryVisibilityChangeEnableAuditEntry","TeamAddMemberAuditEntry","TeamAddRepositoryAuditEntry","TeamChangeParentTeamAuditEntry","TeamRemoveMemberAuditEntry","TeamRemoveRepositoryAuditEntry"],OrganizationAuditEntryData:["MembersCanDeleteReposClearAuditEntry","MembersCanDeleteReposDisableAuditEntry","MembersCanDeleteReposEnableAuditEntry","OauthApplicationCreateAuditEntry","OrgAddBillingManagerAuditEntry","OrgAddMemberAuditEntry","OrgBlockUserAuditEntry","OrgConfigDisableCollaboratorsOnlyAuditEntry","OrgConfigEnableCollaboratorsOnlyAuditEntry","OrgCreateAuditEntry","OrgDisableOauthAppRestrictionsAuditEntry","OrgDisableSamlAuditEntry","OrgDisableTwoFactorRequirementAuditEntry","OrgEnableOauthAppRestrictionsAuditEntry","OrgEnableSamlAuditEntry","OrgEnableTwoFactorRequirementAuditEntry","OrgInviteMemberAuditEntry","OrgInviteToBusinessAuditEntry","OrgOauthAppAccessApprovedAuditEntry","OrgOauthAppAccessDeniedAuditEntry","OrgOauthAppAccessRequestedAuditEntry","OrgRemoveBillingManagerAuditEntry","OrgRemoveMemberAuditEntry","OrgRemoveOutsideCollaboratorAuditEntry","OrgRestoreMemberAuditEntry","OrgRestoreMemberMembershipOrganizationAuditEntryData","OrgUnblockUserAuditEntry","OrgUpdateDefaultRepositoryPermissionAuditEntry","OrgUpdateMemberAuditEntry","OrgUpdateMemberRepositoryCreationPermissionAuditEntry","OrgUpdateMemberRepositoryInvitationPermissionAuditEntry","PrivateRepositoryForkingDisableAuditEntry","PrivateRepositoryForkingEnableAuditEntry","RepoAccessAuditEntry","RepoAddMemberAuditEntry","RepoAddTopicAuditEntry","RepoArchivedAuditEntry","RepoChangeMergeSettingAuditEntry","RepoConfigDisableAnonymousGitAccessAuditEntry","RepoConfigDisableCollaboratorsOnlyAuditEntry","RepoConfigDisableContributorsOnlyAuditEntry","RepoConfigDisableSockpuppetDisallowedAuditEntry","RepoConfigEnableAnonymousGitAccessAuditEntry","RepoConfigEnableCollaboratorsOnlyAuditEntry","RepoConfigEnableContributorsOnlyAuditEntry","RepoConfigEnableSockpuppetDisallowedAuditEntry","RepoConfigLockAnonymousGitAccessAuditEntry","RepoConfigUnlockAnonymousGitAccessAuditEntry","RepoCreateAuditEntry","RepoDestroyAuditEntry","RepoRemoveMemberAuditEntry","RepoRemoveTopicAuditEntry","RepositoryVisibilityChangeDisableAuditEntry","RepositoryVisibilityChangeEnableAuditEntry","TeamAddMemberAuditEntry","TeamAddRepositoryAuditEntry","TeamChangeParentTeamAuditEntry","TeamRemoveMemberAuditEntry","TeamRemoveRepositoryAuditEntry"],PackageOwner:["Organization","Repository","User"],PermissionGranter:["Organization","Repository","Team"],PinnableItem:["Gist","Repository"],ProfileOwner:["Organization","User"],ProjectCardItem:["Issue","PullRequest"],ProjectOwner:["Organization","Repository","User"],PullRequestTimelineItem:["AssignedEvent","BaseRefDeletedEvent","BaseRefForcePushedEvent","ClosedEvent","Commit","CommitCommentThread","CrossReferencedEvent","DemilestonedEvent","DeployedEvent","DeploymentEnvironmentChangedEvent","HeadRefDeletedEvent","HeadRefForcePushedEvent","HeadRefRestoredEvent","IssueComment","LabeledEvent","LockedEvent","MergedEvent","MilestonedEvent","PullRequestReview","PullRequestReviewComment","PullRequestReviewThread","ReferencedEvent","RenamedTitleEvent","ReopenedEvent","ReviewDismissedEvent","ReviewRequestRemovedEvent","ReviewRequestedEvent","SubscribedEvent","UnassignedEvent","UnlabeledEvent","UnlockedEvent","UnsubscribedEvent","UserBlockedEvent"],PullRequestTimelineItems:["AddedToProjectEvent","AssignedEvent","AutomaticBaseChangeFailedEvent","AutomaticBaseChangeSucceededEvent","BaseRefChangedEvent","BaseRefDeletedEvent","BaseRefForcePushedEvent","ClosedEvent","CommentDeletedEvent","ConnectedEvent","ConvertToDraftEvent","ConvertedNoteToIssueEvent","CrossReferencedEvent","DemilestonedEvent","DeployedEvent","DeploymentEnvironmentChangedEvent","DisconnectedEvent","HeadRefDeletedEvent","HeadRefForcePushedEvent","HeadRefRestoredEvent","IssueComment","LabeledEvent","LockedEvent","MarkedAsDuplicateEvent","MentionedEvent","MergedEvent","MilestonedEvent","MovedColumnsInProjectEvent","PinnedEvent","PullRequestCommit","PullRequestCommitCommentThread","PullRequestReview","PullRequestReviewThread","PullRequestRevisionMarker","ReadyForReviewEvent","ReferencedEvent","RemovedFromProjectEvent","RenamedTitleEvent","ReopenedEvent","ReviewDismissedEvent","ReviewRequestRemovedEvent","ReviewRequestedEvent","SubscribedEvent","TransferredEvent","UnassignedEvent","UnlabeledEvent","UnlockedEvent","UnmarkedAsDuplicateEvent","UnpinnedEvent","UnsubscribedEvent","UserBlockedEvent"],PushAllowanceActor:["App","Team","User"],Reactable:["CommitComment","Issue","IssueComment","PullRequest","PullRequestReview","PullRequestReviewComment","TeamDiscussion","TeamDiscussionComment"],ReferencedSubject:["Issue","PullRequest"],RenamedTitleSubject:["Issue","PullRequest"],RepositoryAuditEntryData:["OrgRestoreMemberMembershipRepositoryAuditEntryData","PrivateRepositoryForkingDisableAuditEntry","PrivateRepositoryForkingEnableAuditEntry","RepoAccessAuditEntry","RepoAddMemberAuditEntry","RepoAddTopicAuditEntry","RepoArchivedAuditEntry","RepoChangeMergeSettingAuditEntry","RepoConfigDisableAnonymousGitAccessAuditEntry","RepoConfigDisableCollaboratorsOnlyAuditEntry","RepoConfigDisableContributorsOnlyAuditEntry","RepoConfigDisableSockpuppetDisallowedAuditEntry","RepoConfigEnableAnonymousGitAccessAuditEntry","RepoConfigEnableCollaboratorsOnlyAuditEntry","RepoConfigEnableContributorsOnlyAuditEntry","RepoConfigEnableSockpuppetDisallowedAuditEntry","RepoConfigLockAnonymousGitAccessAuditEntry","RepoConfigUnlockAnonymousGitAccessAuditEntry","RepoCreateAuditEntry","RepoDestroyAuditEntry","RepoRemoveMemberAuditEntry","RepoRemoveTopicAuditEntry","TeamAddRepositoryAuditEntry","TeamRemoveRepositoryAuditEntry"],RepositoryInfo:["Repository"],RepositoryNode:["CommitComment","CommitCommentThread","Issue","IssueComment","PullRequest","PullRequestCommitCommentThread","PullRequestReview","PullRequestReviewComment","RepositoryVulnerabilityAlert"],RepositoryOwner:["Organization","User"],RequestedReviewer:["Mannequin","Team","User"],ReviewDismissalAllowanceActor:["Team","User"],SearchResultItem:["App","Issue","MarketplaceListing","Organization","PullRequest","Repository","User"],Sponsor:["Organization","User"],Sponsorable:["Organization","User"],Starrable:["Gist","Repository","Topic"],StatusCheckRollupContext:["CheckRun","StatusContext"],Subscribable:["Commit","Issue","PullRequest","Repository","Team","TeamDiscussion"],TeamAuditEntryData:["OrgRestoreMemberMembershipTeamAuditEntryData","TeamAddMemberAuditEntry","TeamAddRepositoryAuditEntry","TeamChangeParentTeamAuditEntry","TeamRemoveMemberAuditEntry","TeamRemoveRepositoryAuditEntry"],TopicAuditEntryData:["RepoAddTopicAuditEntry","RepoRemoveTopicAuditEntry"],UniformResourceLocatable:["Bot","CheckRun","ClosedEvent","Commit","ConvertToDraftEvent","CrossReferencedEvent","Gist","Issue","Mannequin","MergedEvent","Milestone","Organization","PullRequest","PullRequestCommit","ReadyForReviewEvent","Release","Repository","RepositoryTopic","ReviewDismissedEvent","TeamDiscussion","TeamDiscussionComment","User"],Updatable:["CommitComment","GistComment","Issue","IssueComment","Project","PullRequest","PullRequestReview","PullRequestReviewComment","TeamDiscussion","TeamDiscussionComment"],UpdatableComment:["CommitComment","GistComment","Issue","IssueComment","PullRequest","PullRequestReview","PullRequestReviewComment","TeamDiscussion","TeamDiscussionComment"]}};function Oa(...n){if(1===n.length){const t=n[0];if(g(t))return Qg(t,null);if(y(t)&&Object.getPrototypeOf(t)===Object.prototype){const e=Object.keys(t);return Qg(e.map(i=>t[i]),e)}}if("function"==typeof n[n.length-1]){const t=n.pop();return Qg(n=1===n.length&&g(n[0])?n[0]:n,null).pipe(_e(e=>t(...e)))}return Qg(n,null)}function Qg(n,t){return new st(e=>{const i=n.length;if(0===i)return void e.complete();const r=new Array(i);let s=0,o=0;for(let a=0;a{h||(h=!0,o++),r[a]=f},error:f=>e.error(f),complete:()=>{s++,(s===i||!h)&&(o===i&&e.next(t?t.reduce((f,D,k)=>(f[D]=r[k],f),{}):r),e.complete())}}))}})}w(8955);let SA=(()=>{class n{constructor(e,i){this._renderer=e,this._elementRef=i,this.onChange=r=>{},this.onTouched=()=>{}}setProperty(e,i){this._renderer.setProperty(this._elementRef.nativeElement,e,i)}registerOnTouched(e){this.onTouched=e}registerOnChange(e){this.onChange=e}setDisabledState(e){this.setProperty("disabled",e)}}return n.\u0275fac=function(e){return new(e||n)(M(Sa),M(Zt))},n.\u0275dir=rt({type:n}),n})(),Jc=(()=>{class n extends SA{}return n.\u0275fac=function(){let t;return function(i){return(t||(t=Hn(n)))(i||n)}}(),n.\u0275dir=rt({type:n,features:[It]}),n})();const Br=new pt("NgValueAccessor"),s6={provide:Br,useExisting:Dt(()=>Xl),multi:!0},a6=new pt("CompositionEventMode");let Xl=(()=>{class n extends SA{constructor(e,i,r){super(e,i),this._compositionMode=r,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function o6(){const n=ka()?ka().getUserAgent():"";return/android (\d+)/.test(n.toLowerCase())}())}writeValue(e){this.setProperty("value",null==e?"":e)}_handleInput(e){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(e)}_compositionStart(){this._composing=!0}_compositionEnd(e){this._composing=!1,this._compositionMode&&this.onChange(e)}}return n.\u0275fac=function(e){return new(e||n)(M(Sa),M(Zt),M(a6,8))},n.\u0275dir=rt({type:n,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(e,i){1&e&&tt("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)})},features:[tn([s6]),It]}),n})();function Jl(n){return null==n||0===n.length}function xA(n){return null!=n&&"number"==typeof n.length}const Yr=new pt("NgValidators"),ec=new pt("NgAsyncValidators"),l6=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/;class Mr{static min(t){return function IA(n){return t=>{if(Jl(t.value)||Jl(n))return null;const e=parseFloat(t.value);return!isNaN(e)&&e{if(Jl(t.value)||Jl(n))return null;const e=parseFloat(t.value);return!isNaN(e)&&e>n?{max:{max:n,actual:t.value}}:null}}(t)}static required(t){return RA(t)}static requiredTrue(t){return function LA(n){return!0===n.value?null:{required:!0}}(t)}static email(t){return function OA(n){return Jl(n.value)||l6.test(n.value)?null:{email:!0}}(t)}static minLength(t){return function PA(n){return t=>Jl(t.value)||!xA(t.value)?null:t.value.length{if(Jl(i.value))return null;const r=i.value;return t.test(r)?null:{pattern:{requiredPattern:e,actualValue:r}}}}(t)}static nullValidator(t){return null}static compose(t){return qA(t)}static composeAsync(t){return UA(t)}}function RA(n){return Jl(n.value)?{required:!0}:null}function FA(n){return t=>xA(t.value)&&t.value.length>n?{maxlength:{requiredLength:n,actualLength:t.value.length}}:null}function Kg(n){return null}function jA(n){return null!=n}function BA(n){const t=zh(n)?St(n):n;return Lb(t),t}function YA(n){let t={};return n.forEach(e=>{t=null!=e?Object.assign(Object.assign({},t),e):t}),0===Object.keys(t).length?null:t}function HA(n,t){return t.map(e=>e(n))}function VA(n){return n.map(t=>function c6(n){return!n.validate}(t)?t:e=>t.validate(e))}function qA(n){if(!n)return null;const t=n.filter(jA);return 0==t.length?null:function(e){return YA(HA(e,t))}}function GM(n){return null!=n?qA(VA(n)):null}function UA(n){if(!n)return null;const t=n.filter(jA);return 0==t.length?null:function(e){return Oa(HA(e,t).map(BA)).pipe(_e(YA))}}function $M(n){return null!=n?UA(VA(n)):null}function zA(n,t){return null===n?[t]:Array.isArray(n)?[...n,t]:[n,t]}function GA(n){return n._rawValidators}function $A(n){return n._rawAsyncValidators}function WM(n){return n?Array.isArray(n)?n:[n]:[]}function Zg(n,t){return Array.isArray(n)?n.includes(t):n===t}function WA(n,t){const e=WM(t);return WM(n).forEach(r=>{Zg(e,r)||e.push(r)}),e}function QA(n,t){return WM(t).filter(e=>!Zg(n,e))}class KA{constructor(){this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_setValidators(t){this._rawValidators=t||[],this._composedValidatorFn=GM(this._rawValidators)}_setAsyncValidators(t){this._rawAsyncValidators=t||[],this._composedAsyncValidatorFn=$M(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(t){this._onDestroyCallbacks.push(t)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(t=>t()),this._onDestroyCallbacks=[]}reset(t){this.control&&this.control.reset(t)}hasError(t,e){return!!this.control&&this.control.hasError(t,e)}getError(t,e){return this.control?this.control.getError(t,e):null}}class Eo extends KA{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class Ms extends KA{get formDirective(){return null}get path(){return null}}class ZA{constructor(t){this._cd=t}is(t){var e,i,r;return"submitted"===t?!!(null===(e=this._cd)||void 0===e?void 0:e.submitted):!!(null===(r=null===(i=this._cd)||void 0===i?void 0:i.control)||void 0===r?void 0:r[t])}}let Co=(()=>{class n extends ZA{constructor(e){super(e)}}return n.\u0275fac=function(e){return new(e||n)(M(Eo,2))},n.\u0275dir=rt({type:n,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(e,i){2&e&&Cn("ng-untouched",i.is("untouched"))("ng-touched",i.is("touched"))("ng-pristine",i.is("pristine"))("ng-dirty",i.is("dirty"))("ng-valid",i.is("valid"))("ng-invalid",i.is("invalid"))("ng-pending",i.is("pending"))},features:[It]}),n})(),ea=(()=>{class n extends ZA{constructor(e){super(e)}}return n.\u0275fac=function(e){return new(e||n)(M(Ms,10))},n.\u0275dir=rt({type:n,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(e,i){2&e&&Cn("ng-untouched",i.is("untouched"))("ng-touched",i.is("touched"))("ng-pristine",i.is("pristine"))("ng-dirty",i.is("dirty"))("ng-valid",i.is("valid"))("ng-invalid",i.is("invalid"))("ng-pending",i.is("pending"))("ng-submitted",i.is("submitted"))},features:[It]}),n})();function Jg(n,t){return[...t.path,n]}function Ip(n,t){ZM(n,t),t.valueAccessor.writeValue(n.value),function _6(n,t){t.valueAccessor.registerOnChange(e=>{n._pendingValue=e,n._pendingChange=!0,n._pendingDirty=!0,"change"===n.updateOn&&JA(n,t)})}(n,t),function v6(n,t){const e=(i,r)=>{t.valueAccessor.writeValue(i),r&&t.viewToModelUpdate(i)};n.registerOnChange(e),t._registerOnDestroy(()=>{n._unregisterOnChange(e)})}(n,t),function y6(n,t){t.valueAccessor.registerOnTouched(()=>{n._pendingTouched=!0,"blur"===n.updateOn&&n._pendingChange&&JA(n,t),"submit"!==n.updateOn&&n.markAsTouched()})}(n,t),function g6(n,t){if(t.valueAccessor.setDisabledState){const e=i=>{t.valueAccessor.setDisabledState(i)};n.registerOnDisabledChange(e),t._registerOnDestroy(()=>{n._unregisterOnDisabledChange(e)})}}(n,t)}function e_(n,t,e=!0){const i=()=>{};t.valueAccessor&&(t.valueAccessor.registerOnChange(i),t.valueAccessor.registerOnTouched(i)),n_(n,t),n&&(t._invokeOnDestroyCallbacks(),n._registerOnCollectionChange(()=>{}))}function t_(n,t){n.forEach(e=>{e.registerOnValidatorChange&&e.registerOnValidatorChange(t)})}function ZM(n,t){const e=GA(n);null!==t.validator?n.setValidators(zA(e,t.validator)):"function"==typeof e&&n.setValidators([e]);const i=$A(n);null!==t.asyncValidator?n.setAsyncValidators(zA(i,t.asyncValidator)):"function"==typeof i&&n.setAsyncValidators([i]);const r=()=>n.updateValueAndValidity();t_(t._rawValidators,r),t_(t._rawAsyncValidators,r)}function n_(n,t){let e=!1;if(null!==n){if(null!==t.validator){const r=GA(n);if(Array.isArray(r)&&r.length>0){const s=r.filter(o=>o!==t.validator);s.length!==r.length&&(e=!0,n.setValidators(s))}}if(null!==t.asyncValidator){const r=$A(n);if(Array.isArray(r)&&r.length>0){const s=r.filter(o=>o!==t.asyncValidator);s.length!==r.length&&(e=!0,n.setAsyncValidators(s))}}}const i=()=>{};return t_(t._rawValidators,i),t_(t._rawAsyncValidators,i),e}function JA(n,t){n._pendingDirty&&n.markAsDirty(),n.setValue(n._pendingValue,{emitModelToViewChange:!1}),t.viewToModelUpdate(n._pendingValue),n._pendingChange=!1}function eR(n,t){ZM(n,t)}function XM(n,t){if(!n.hasOwnProperty("model"))return!1;const e=n.model;return!!e.isFirstChange()||!Object.is(t,e.currentValue)}function nR(n,t){n._syncPendingControls(),t.forEach(e=>{const i=e.control;"submit"===i.updateOn&&i._pendingChange&&(e.viewToModelUpdate(i._pendingValue),i._pendingChange=!1)})}function JM(n,t){if(!t)return null;let e,i,r;return Array.isArray(t),t.forEach(s=>{s.constructor===Xl?e=s:function M6(n){return Object.getPrototypeOf(n.constructor)===Jc}(s)?i=s:r=s}),r||i||e||null}function eD(n,t){const e=n.indexOf(t);e>-1&&n.splice(e,1)}const Ap="VALID",i_="INVALID",Td="PENDING",Rp="DISABLED";function nD(n){return(r_(n)?n.validators:n)||null}function iR(n){return Array.isArray(n)?GM(n):n||null}function iD(n,t){return(r_(t)?t.asyncValidators:n)||null}function rR(n){return Array.isArray(n)?$M(n):n||null}function r_(n){return null!=n&&!Array.isArray(n)&&"object"==typeof n}const rD=n=>n instanceof ta,s_=n=>n instanceof o_,sR=n=>n instanceof cR;function oR(n){return rD(n)?n.value:n.getRawValue()}function aR(n,t){const e=s_(n),i=n.controls;if(!(e?Object.keys(i):i).length)throw new W(1e3,"");if(!i[t])throw new W(1001,"")}function lR(n,t){s_(n),n._forEachChild((i,r)=>{if(void 0===t[r])throw new W(1002,"")})}class sD{constructor(t,e){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._rawValidators=t,this._rawAsyncValidators=e,this._composedValidatorFn=iR(this._rawValidators),this._composedAsyncValidatorFn=rR(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn}set validator(t){this._rawValidators=this._composedValidatorFn=t}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(t){this._rawAsyncValidators=this._composedAsyncValidatorFn=t}get parent(){return this._parent}get valid(){return this.status===Ap}get invalid(){return this.status===i_}get pending(){return this.status==Td}get disabled(){return this.status===Rp}get enabled(){return this.status!==Rp}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(t){this._rawValidators=t,this._composedValidatorFn=iR(t)}setAsyncValidators(t){this._rawAsyncValidators=t,this._composedAsyncValidatorFn=rR(t)}addValidators(t){this.setValidators(WA(t,this._rawValidators))}addAsyncValidators(t){this.setAsyncValidators(WA(t,this._rawAsyncValidators))}removeValidators(t){this.setValidators(QA(t,this._rawValidators))}removeAsyncValidators(t){this.setAsyncValidators(QA(t,this._rawAsyncValidators))}hasValidator(t){return Zg(this._rawValidators,t)}hasAsyncValidator(t){return Zg(this._rawAsyncValidators,t)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(t={}){this.touched=!0,this._parent&&!t.onlySelf&&this._parent.markAsTouched(t)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(t=>t.markAllAsTouched())}markAsUntouched(t={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(e=>{e.markAsUntouched({onlySelf:!0})}),this._parent&&!t.onlySelf&&this._parent._updateTouched(t)}markAsDirty(t={}){this.pristine=!1,this._parent&&!t.onlySelf&&this._parent.markAsDirty(t)}markAsPristine(t={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(e=>{e.markAsPristine({onlySelf:!0})}),this._parent&&!t.onlySelf&&this._parent._updatePristine(t)}markAsPending(t={}){this.status=Td,!1!==t.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!t.onlySelf&&this._parent.markAsPending(t)}disable(t={}){const e=this._parentMarkedDirty(t.onlySelf);this.status=Rp,this.errors=null,this._forEachChild(i=>{i.disable(Object.assign(Object.assign({},t),{onlySelf:!0}))}),this._updateValue(),!1!==t.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(Object.assign(Object.assign({},t),{skipPristineCheck:e})),this._onDisabledChange.forEach(i=>i(!0))}enable(t={}){const e=this._parentMarkedDirty(t.onlySelf);this.status=Ap,this._forEachChild(i=>{i.enable(Object.assign(Object.assign({},t),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent}),this._updateAncestors(Object.assign(Object.assign({},t),{skipPristineCheck:e})),this._onDisabledChange.forEach(i=>i(!1))}_updateAncestors(t){this._parent&&!t.onlySelf&&(this._parent.updateValueAndValidity(t),t.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(t){this._parent=t}updateValueAndValidity(t={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===Ap||this.status===Td)&&this._runAsyncValidator(t.emitEvent)),!1!==t.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!t.onlySelf&&this._parent.updateValueAndValidity(t)}_updateTreeValidity(t={emitEvent:!0}){this._forEachChild(e=>e._updateTreeValidity(t)),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?Rp:Ap}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(t){if(this.asyncValidator){this.status=Td,this._hasOwnPendingAsyncValidator=!0;const e=BA(this.asyncValidator(this));this._asyncValidationSubscription=e.subscribe(i=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(i,{emitEvent:t})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(t,e={}){this.errors=t,this._updateControlsErrors(!1!==e.emitEvent)}get(t){return function D6(n,t,e){if(null==t||(Array.isArray(t)||(t=t.split(e)),Array.isArray(t)&&0===t.length))return null;let i=n;return t.forEach(r=>{i=s_(i)?i.controls.hasOwnProperty(r)?i.controls[r]:null:sR(i)&&i.at(r)||null}),i}(this,t,".")}getError(t,e){const i=e?this.get(e):this;return i&&i.errors?i.errors[t]:null}hasError(t,e){return!!this.getError(t,e)}get root(){let t=this;for(;t._parent;)t=t._parent;return t}_updateControlsErrors(t){this.status=this._calculateStatus(),t&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(t)}_initObservables(){this.valueChanges=new Yt,this.statusChanges=new Yt}_calculateStatus(){return this._allControlsDisabled()?Rp:this.errors?i_:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(Td)?Td:this._anyControlsHaveStatus(i_)?i_:Ap}_anyControlsHaveStatus(t){return this._anyControls(e=>e.status===t)}_anyControlsDirty(){return this._anyControls(t=>t.dirty)}_anyControlsTouched(){return this._anyControls(t=>t.touched)}_updatePristine(t={}){this.pristine=!this._anyControlsDirty(),this._parent&&!t.onlySelf&&this._parent._updatePristine(t)}_updateTouched(t={}){this.touched=this._anyControlsTouched(),this._parent&&!t.onlySelf&&this._parent._updateTouched(t)}_isBoxedValue(t){return"object"==typeof t&&null!==t&&2===Object.keys(t).length&&"value"in t&&"disabled"in t}_registerOnCollectionChange(t){this._onCollectionChange=t}_setUpdateStrategy(t){r_(t)&&null!=t.updateOn&&(this._updateOn=t.updateOn)}_parentMarkedDirty(t){return!t&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}}class ta extends sD{constructor(t=null,e,i){super(nD(e),iD(i,e)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(t),this._setUpdateStrategy(e),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),r_(e)&&e.initialValueIsDefault&&(this.defaultValue=this._isBoxedValue(t)?t.value:t)}setValue(t,e={}){this.value=this._pendingValue=t,this._onChange.length&&!1!==e.emitModelToViewChange&&this._onChange.forEach(i=>i(this.value,!1!==e.emitViewToModelChange)),this.updateValueAndValidity(e)}patchValue(t,e={}){this.setValue(t,e)}reset(t=this.defaultValue,e={}){this._applyFormState(t),this.markAsPristine(e),this.markAsUntouched(e),this.setValue(this.value,e),this._pendingChange=!1}_updateValue(){}_anyControls(t){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(t){this._onChange.push(t)}_unregisterOnChange(t){eD(this._onChange,t)}registerOnDisabledChange(t){this._onDisabledChange.push(t)}_unregisterOnDisabledChange(t){eD(this._onDisabledChange,t)}_forEachChild(t){}_syncPendingControls(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange)||(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),0))}_applyFormState(t){this._isBoxedValue(t)?(this.value=this._pendingValue=t.value,t.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=t}}class o_ extends sD{constructor(t,e,i){super(nD(e),iD(i,e)),this.controls=t,this._initObservables(),this._setUpdateStrategy(e),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(t,e){return this.controls[t]?this.controls[t]:(this.controls[t]=e,e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange),e)}addControl(t,e,i={}){this.registerControl(t,e),this.updateValueAndValidity({emitEvent:i.emitEvent}),this._onCollectionChange()}removeControl(t,e={}){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),delete this.controls[t],this.updateValueAndValidity({emitEvent:e.emitEvent}),this._onCollectionChange()}setControl(t,e,i={}){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),delete this.controls[t],e&&this.registerControl(t,e),this.updateValueAndValidity({emitEvent:i.emitEvent}),this._onCollectionChange()}contains(t){return this.controls.hasOwnProperty(t)&&this.controls[t].enabled}setValue(t,e={}){lR(this,t),Object.keys(t).forEach(i=>{aR(this,i),this.controls[i].setValue(t[i],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)}patchValue(t,e={}){null!=t&&(Object.keys(t).forEach(i=>{this.controls[i]&&this.controls[i].patchValue(t[i],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e))}reset(t={},e={}){this._forEachChild((i,r)=>{i.reset(t[r],{onlySelf:!0,emitEvent:e.emitEvent})}),this._updatePristine(e),this._updateTouched(e),this.updateValueAndValidity(e)}getRawValue(){return this._reduceChildren({},(t,e,i)=>(t[i]=oR(e),t))}_syncPendingControls(){let t=this._reduceChildren(!1,(e,i)=>!!i._syncPendingControls()||e);return t&&this.updateValueAndValidity({onlySelf:!0}),t}_forEachChild(t){Object.keys(this.controls).forEach(e=>{const i=this.controls[e];i&&t(i,e)})}_setUpControls(){this._forEachChild(t=>{t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(t){for(const e of Object.keys(this.controls)){const i=this.controls[e];if(this.contains(e)&&t(i))return!0}return!1}_reduceValue(){return this._reduceChildren({},(t,e,i)=>((e.enabled||this.disabled)&&(t[i]=e.value),t))}_reduceChildren(t,e){let i=t;return this._forEachChild((r,s)=>{i=e(i,r,s)}),i}_allControlsDisabled(){for(const t of Object.keys(this.controls))if(this.controls[t].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}}class cR extends sD{constructor(t,e,i){super(nD(e),iD(i,e)),this.controls=t,this._initObservables(),this._setUpdateStrategy(e),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}at(t){return this.controls[t]}push(t,e={}){this.controls.push(t),this._registerControl(t),this.updateValueAndValidity({emitEvent:e.emitEvent}),this._onCollectionChange()}insert(t,e,i={}){this.controls.splice(t,0,e),this._registerControl(e),this.updateValueAndValidity({emitEvent:i.emitEvent})}removeAt(t,e={}){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),this.controls.splice(t,1),this.updateValueAndValidity({emitEvent:e.emitEvent})}setControl(t,e,i={}){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),this.controls.splice(t,1),e&&(this.controls.splice(t,0,e),this._registerControl(e)),this.updateValueAndValidity({emitEvent:i.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(t,e={}){lR(this,t),t.forEach((i,r)=>{aR(this,r),this.at(r).setValue(i,{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)}patchValue(t,e={}){null!=t&&(t.forEach((i,r)=>{this.at(r)&&this.at(r).patchValue(i,{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e))}reset(t=[],e={}){this._forEachChild((i,r)=>{i.reset(t[r],{onlySelf:!0,emitEvent:e.emitEvent})}),this._updatePristine(e),this._updateTouched(e),this.updateValueAndValidity(e)}getRawValue(){return this.controls.map(t=>oR(t))}clear(t={}){this.controls.length<1||(this._forEachChild(e=>e._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:t.emitEvent}))}_syncPendingControls(){let t=this.controls.reduce((e,i)=>!!i._syncPendingControls()||e,!1);return t&&this.updateValueAndValidity({onlySelf:!0}),t}_forEachChild(t){this.controls.forEach((e,i)=>{t(e,i)})}_updateValue(){this.value=this.controls.filter(t=>t.enabled||this.disabled).map(t=>t.value)}_anyControls(t){return this.controls.some(e=>e.enabled&&t(e))}_setUpControls(){this._forEachChild(t=>this._registerControl(t))}_allControlsDisabled(){for(const t of this.controls)if(t.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(t){t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange)}}const E6={provide:Ms,useExisting:Dt(()=>Sd)},Lp=(()=>Promise.resolve(null))();let Sd=(()=>{class n extends Ms{constructor(e,i){super(),this.submitted=!1,this._directives=new Set,this.ngSubmit=new Yt,this.form=new o_({},GM(e),$M(i))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(e){Lp.then(()=>{const i=this._findContainer(e.path);e.control=i.registerControl(e.name,e.control),Ip(e.control,e),e.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(e)})}getControl(e){return this.form.get(e.path)}removeControl(e){Lp.then(()=>{const i=this._findContainer(e.path);i&&i.removeControl(e.name),this._directives.delete(e)})}addFormGroup(e){Lp.then(()=>{const i=this._findContainer(e.path),r=new o_({});eR(r,e),i.registerControl(e.name,r),r.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(e){Lp.then(()=>{const i=this._findContainer(e.path);i&&i.removeControl(e.name)})}getFormGroup(e){return this.form.get(e.path)}updateModel(e,i){Lp.then(()=>{this.form.get(e.path).setValue(i)})}setValue(e){this.control.setValue(e)}onSubmit(e){return this.submitted=!0,nR(this.form,this._directives),this.ngSubmit.emit(e),!1}onReset(){this.resetForm()}resetForm(e){this.form.reset(e),this.submitted=!1}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}_findContainer(e){return e.pop(),e.length?this.form.get(e):this.form}}return n.\u0275fac=function(e){return new(e||n)(M(Yr,10),M(ec,10))},n.\u0275dir=rt({type:n,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(e,i){1&e&&tt("submit",function(s){return i.onSubmit(s)})("reset",function(){return i.onReset()})},inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[tn([E6]),It]}),n})();const T6={provide:Eo,useExisting:Dt(()=>oD)},hR=(()=>Promise.resolve(null))();let oD=(()=>{class n extends Eo{constructor(e,i,r,s,o){super(),this._changeDetectorRef=o,this.control=new ta,this._registered=!1,this.update=new Yt,this._parent=e,this._setValidators(i),this._setAsyncValidators(r),this.valueAccessor=JM(0,s)}ngOnChanges(e){if(this._checkForErrors(),!this._registered||"name"in e){if(this._registered&&(this._checkName(),this.formDirective)){const i=e.name.previousValue;this.formDirective.removeControl({name:i,path:this._getPath(i)})}this._setUpControl()}"isDisabled"in e&&this._updateDisabled(e),XM(e,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._getPath(this.name)}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(e){this.viewModel=e,this.update.emit(e)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!(!this.options||!this.options.standalone)}_setUpStandalone(){Ip(this.control,this),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()}_updateValue(e){hR.then(()=>{var i;this.control.setValue(e,{emitViewToModelChange:!1}),null===(i=this._changeDetectorRef)||void 0===i||i.markForCheck()})}_updateDisabled(e){const i=e.isDisabled.currentValue,r=""===i||i&&"false"!==i;hR.then(()=>{var s;r&&!this.control.disabled?this.control.disable():!r&&this.control.disabled&&this.control.enable(),null===(s=this._changeDetectorRef)||void 0===s||s.markForCheck()})}_getPath(e){return this._parent?Jg(e,this._parent):[e]}}return n.\u0275fac=function(e){return new(e||n)(M(Ms,9),M(Yr,10),M(ec,10),M(Br,10),M(Gn,8))},n.\u0275dir=rt({type:n,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:["disabled","isDisabled"],model:["ngModel","model"],options:["ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[tn([T6]),It,Jn]}),n})(),na=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=rt({type:n,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]}),n})(),mR=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Ht({type:n}),n.\u0275inj=He({}),n})();const aD=new pt("NgModelWithFormControlWarning"),A6={provide:Eo,useExisting:Dt(()=>Op)};let Op=(()=>{class n extends Eo{constructor(e,i,r,s){super(),this._ngModelWarningConfig=s,this.update=new Yt,this._ngModelWarningSent=!1,this._setValidators(e),this._setAsyncValidators(i),this.valueAccessor=JM(0,r)}set isDisabled(e){}ngOnChanges(e){if(this._isControlChanged(e)){const i=e.form.previousValue;i&&e_(i,this,!1),Ip(this.form,this),this.control.disabled&&this.valueAccessor.setDisabledState&&this.valueAccessor.setDisabledState(!0),this.form.updateValueAndValidity({emitEvent:!1})}XM(e,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.form&&e_(this.form,this,!1)}get path(){return[]}get control(){return this.form}viewToModelUpdate(e){this.viewModel=e,this.update.emit(e)}_isControlChanged(e){return e.hasOwnProperty("form")}}return n._ngModelWarningSentOnce=!1,n.\u0275fac=function(e){return new(e||n)(M(Yr,10),M(ec,10),M(Br,10),M(aD,8))},n.\u0275dir=rt({type:n,selectors:[["","formControl",""]],inputs:{form:["formControl","form"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],features:[tn([A6]),It,Jn]}),n})();const R6={provide:Ms,useExisting:Dt(()=>ds)};let ds=(()=>{class n extends Ms{constructor(e,i){super(),this.validators=e,this.asyncValidators=i,this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new Yt,this._setValidators(e),this._setAsyncValidators(i)}ngOnChanges(e){this._checkFormPresent(),e.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(n_(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(e){const i=this.form.get(e.path);return Ip(i,e),i.updateValueAndValidity({emitEvent:!1}),this.directives.push(e),i}getControl(e){return this.form.get(e.path)}removeControl(e){e_(e.control||null,e,!1),eD(this.directives,e)}addFormGroup(e){this._setUpFormContainer(e)}removeFormGroup(e){this._cleanUpFormContainer(e)}getFormGroup(e){return this.form.get(e.path)}addFormArray(e){this._setUpFormContainer(e)}removeFormArray(e){this._cleanUpFormContainer(e)}getFormArray(e){return this.form.get(e.path)}updateModel(e,i){this.form.get(e.path).setValue(i)}onSubmit(e){return this.submitted=!0,nR(this.form,this.directives),this.ngSubmit.emit(e),!1}onReset(){this.resetForm()}resetForm(e){this.form.reset(e),this.submitted=!1}_updateDomValue(){this.directives.forEach(e=>{const i=e.control,r=this.form.get(e.path);i!==r&&(e_(i||null,e),rD(r)&&(Ip(r,e),e.control=r))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(e){const i=this.form.get(e.path);eR(i,e),i.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(e){if(this.form){const i=this.form.get(e.path);i&&function b6(n,t){return n_(n,t)}(i,e)&&i.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){ZM(this.form,this),this._oldForm&&n_(this._oldForm,this)}_checkFormPresent(){}}return n.\u0275fac=function(e){return new(e||n)(M(Yr,10),M(ec,10))},n.\u0275dir=rt({type:n,selectors:[["","formGroup",""]],hostBindings:function(e,i){1&e&&tt("submit",function(s){return i.onSubmit(s)})("reset",function(){return i.onReset()})},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[tn([R6]),It,Jn]}),n})();const P6={provide:Eo,useExisting:Dt(()=>Pa)};let Pa=(()=>{class n extends Eo{constructor(e,i,r,s,o){super(),this._ngModelWarningConfig=o,this._added=!1,this.update=new Yt,this._ngModelWarningSent=!1,this._parent=e,this._setValidators(i),this._setAsyncValidators(r),this.valueAccessor=JM(0,s)}set isDisabled(e){}ngOnChanges(e){this._added||this._setUpControl(),XM(e,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(e){this.viewModel=e,this.update.emit(e)}get path(){return Jg(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}_setUpControl(){this._checkParentType(),this.control=this.formDirective.addControl(this),this.control.disabled&&this.valueAccessor.setDisabledState&&this.valueAccessor.setDisabledState(!0),this._added=!0}}return n._ngModelWarningSentOnce=!1,n.\u0275fac=function(e){return new(e||n)(M(Ms,13),M(Yr,10),M(ec,10),M(Br,10),M(aD,8))},n.\u0275dir=rt({type:n,selectors:[["","formControlName",""]],inputs:{name:["formControlName","name"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},features:[tn([P6]),It,Jn]}),n})();let eu=(()=>{class n{constructor(){this._validator=Kg}ngOnChanges(e){if(this.inputName in e){const i=this.normalizeInput(e[this.inputName].currentValue);this._enabled=this.enabled(i),this._validator=this._enabled?this.createValidator(i):Kg,this._onChange&&this._onChange()}}validate(e){return this._validator(e)}registerOnValidatorChange(e){this._onChange=e}enabled(e){return null!=e}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=rt({type:n,features:[Jn]}),n})();const z6={provide:Yr,useExisting:Dt(()=>tu),multi:!0};let tu=(()=>{class n extends eu{constructor(){super(...arguments),this.inputName="required",this.normalizeInput=e=>function V6(n){return null!=n&&!1!==n&&"false"!=`${n}`}(e),this.createValidator=e=>RA}enabled(e){return e}}return n.\u0275fac=function(){let t;return function(i){return(t||(t=Hn(n)))(i||n)}}(),n.\u0275dir=rt({type:n,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(e,i){2&e&&dn("required",i._enabled?"":null)},inputs:{required:"required"},features:[tn([z6]),It]}),n})();const Q6={provide:Yr,useExisting:Dt(()=>Pp),multi:!0};let hD,Pp=(()=>{class n extends eu{constructor(){super(...arguments),this.inputName="maxlength",this.normalizeInput=e=>function bR(n){return"number"==typeof n?n:parseInt(n,10)}(e),this.createValidator=e=>FA(e)}}return n.\u0275fac=function(){let t;return function(i){return(t||(t=Hn(n)))(i||n)}}(),n.\u0275dir=rt({type:n,selectors:[["","maxlength","","formControlName",""],["","maxlength","","formControl",""],["","maxlength","","ngModel",""]],hostVars:1,hostBindings:function(e,i){2&e&&dn("maxlength",i._enabled?i.maxlength:null)},inputs:{maxlength:"maxlength"},features:[tn([Q6]),It]}),n})(),SR=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Ht({type:n}),n.\u0275inj=He({imports:[[mR]]}),n})(),kR=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Ht({type:n}),n.\u0275inj=He({imports:[SR]}),n})(),l_=(()=>{class n{static withConfig(e){return{ngModule:n,providers:[{provide:aD,useValue:e.warnOnNgModelWithFormControl}]}}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Ht({type:n}),n.\u0275inj=He({imports:[SR]}),n})(),tc=(()=>{class n{group(e,i=null){const r=this._reduceControls(e);let a,s=null,o=null;return null!=i&&(function Z6(n){return void 0!==n.asyncValidators||void 0!==n.validators||void 0!==n.updateOn}(i)?(s=null!=i.validators?i.validators:null,o=null!=i.asyncValidators?i.asyncValidators:null,a=null!=i.updateOn?i.updateOn:void 0):(s=null!=i.validator?i.validator:null,o=null!=i.asyncValidator?i.asyncValidator:null)),new o_(r,{asyncValidators:o,updateOn:a,validators:s})}control(e,i,r){return new ta(e,i,r)}array(e,i,r){const s=e.map(o=>this._createControl(o));return new cR(s,i,r)}_reduceControls(e){const i={};return Object.keys(e).forEach(r=>{i[r]=this._createControl(e[r])}),i}_createControl(e){return rD(e)||s_(e)||sR(e)?e:Array.isArray(e)?this.control(e[0],e.length>1?e[1]:null,e.length>2?e[2]:null):this.control(e)}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=De({token:n,factory:n.\u0275fac,providedIn:l_}),n})();try{hD="undefined"!=typeof Intl&&Intl.v8BreakIterator}catch(n){hD=!1}let kd,zi=(()=>{class n{constructor(e){this._platformId=e,this.isBrowser=this._platformId?ap(this._platformId):"object"==typeof document&&!!document,this.EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent),this.TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent),this.BLINK=this.isBrowser&&!(!window.chrome&&!hD)&&"undefined"!=typeof CSS&&!this.EDGE&&!this.TRIDENT,this.WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT,this.IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window),this.FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent),this.ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT,this.SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT}}return n.\u0275fac=function(e){return new(e||n)(Se(ip))},n.\u0275prov=De({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const xR=["color","button","checkbox","date","datetime-local","email","file","hidden","image","month","number","password","radio","range","reset","search","submit","tel","text","time","url","week"];function IR(){if(kd)return kd;if("object"!=typeof document||!document)return kd=new Set(xR),kd;let n=document.createElement("input");return kd=new Set(xR.filter(t=>(n.setAttribute("type",t),n.type===t))),kd}let Fp,nu,pD;function ia(n){return function X6(){if(null==Fp&&"undefined"!=typeof window)try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>Fp=!0}))}finally{Fp=Fp||!1}return Fp}()?n:!!n.capture}function J6(){if(null==nu){if("object"!=typeof document||!document||"function"!=typeof Element||!Element)return nu=!1,nu;if("scrollBehavior"in document.documentElement.style)nu=!0;else{const n=Element.prototype.scrollTo;nu=!!n&&!/\{\s*\[native code\]\s*\}/.test(n.toString())}}return nu}function u_(n){if(function eW(){if(null==pD){const n="undefined"!=typeof document?document.head:null;pD=!(!n||!n.createShadowRoot&&!n.attachShadow)}return pD}()){const t=n.getRootNode?n.getRootNode():null;if("undefined"!=typeof ShadowRoot&&ShadowRoot&&t instanceof ShadowRoot)return t}return null}function mD(){let n="undefined"!=typeof document&&document?document.activeElement:null;for(;n&&n.shadowRoot;){const t=n.shadowRoot.activeElement;if(t===n)break;n=t}return n}function To(n){return n.composedPath?n.composedPath()[0]:n.target}function fD(){return"undefined"!=typeof __karma__&&!!__karma__||"undefined"!=typeof jasmine&&!!jasmine||"undefined"!=typeof jest&&!!jest||"undefined"!=typeof Mocha&&!!Mocha}function nn(n){return null!=n&&"false"!=`${n}`}function Ai(n,t=0){return function tW(n){return!isNaN(parseFloat(n))&&!isNaN(Number(n))}(n)?Number(n):t}function d_(n){return Array.isArray(n)?n:[n]}function Ar(n){return null==n?"":"string"==typeof n?n:`${n}px`}function Dr(n){return n instanceof Zt?n.nativeElement:n}function Qr(n,...t){return t.length?t.some(e=>n[e]):n.altKey||n.shiftKey||n.ctrlKey||n.metaKey}const xd=new Jo(Bg);function bD(n,t=xd){return e=>e.lift(new uW(n,t))}class uW{constructor(t,e){this.dueTime=t,this.scheduler=e}call(t,e){return e.subscribe(new dW(t,this.dueTime,this.scheduler))}}class dW extends F{constructor(t,e,i){super(t),this.dueTime=e,this.scheduler=i,this.debouncedSubscription=null,this.lastValue=null,this.hasValue=!1}_next(t){this.clearDebounce(),this.lastValue=t,this.hasValue=!0,this.add(this.debouncedSubscription=this.scheduler.schedule(hW,this.dueTime,this))}_complete(){this.debouncedNext(),this.destination.complete()}debouncedNext(){if(this.clearDebounce(),this.hasValue){const{lastValue:t}=this;this.lastValue=null,this.hasValue=!1,this.destination.next(t)}}clearDebounce(){const t=this.debouncedSubscription;null!==t&&(this.remove(t),t.unsubscribe(),this.debouncedSubscription=null)}}function hW(n){n.debouncedNext()}function wD(n){return t=>t.lift(new pW(n))}class pW{constructor(t){this.total=t}call(t,e){return e.subscribe(new mW(t,this.total))}}class mW extends F{constructor(t,e){super(t),this.total=e,this.count=0}_next(t){++this.count>this.total&&this.destination.next(t)}}function p_(n,t){return e=>e.lift(new fW(n,t))}class fW{constructor(t,e){this.compare=t,this.keySelector=e}call(t,e){return e.subscribe(new gW(t,this.compare,this.keySelector))}}class gW extends F{constructor(t,e,i){super(t),this.keySelector=i,this.hasKey=!1,"function"==typeof e&&(this.compare=e)}compare(t,e){return t===e}_next(t){let e;try{const{keySelector:r}=this;e=r?r(t):t}catch(r){return this.destination.error(r)}let i=!1;if(this.hasKey)try{const{compare:r}=this;i=r(this.key,e)}catch(r){return this.destination.error(r)}else this.hasKey=!0;i||(this.key=e,this.destination.next(t))}}function vn(n){return t=>t.lift(new _W(n))}class _W{constructor(t){this.notifier=t}call(t,e){const i=new yW(t),r=xn(this.notifier,new Qt(i));return r&&!i.seenValue?(i.add(r),e.subscribe(i)):i}}class yW extends Vt{constructor(t){super(t),this.seenValue=!1}notifyNext(){this.seenValue=!0,this.complete()}notifyComplete(){}}let OR=(()=>{class n{create(e){return"undefined"==typeof MutationObserver?null:new MutationObserver(e)}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=De({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),vW=(()=>{class n{constructor(e){this._mutationObserverFactory=e,this._observedElements=new Map}ngOnDestroy(){this._observedElements.forEach((e,i)=>this._cleanupObserver(i))}observe(e){const i=Dr(e);return new st(r=>{const o=this._observeElement(i).subscribe(r);return()=>{o.unsubscribe(),this._unobserveElement(i)}})}_observeElement(e){if(this._observedElements.has(e))this._observedElements.get(e).count++;else{const i=new K,r=this._mutationObserverFactory.create(s=>i.next(s));r&&r.observe(e,{characterData:!0,childList:!0,subtree:!0}),this._observedElements.set(e,{observer:r,stream:i,count:1})}return this._observedElements.get(e).stream}_unobserveElement(e){this._observedElements.has(e)&&(this._observedElements.get(e).count--,this._observedElements.get(e).count||this._cleanupObserver(e))}_cleanupObserver(e){if(this._observedElements.has(e)){const{observer:i,stream:r}=this._observedElements.get(e);i&&i.disconnect(),r.complete(),this._observedElements.delete(e)}}}return n.\u0275fac=function(e){return new(e||n)(Se(OR))},n.\u0275prov=De({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),m_=(()=>{class n{constructor(e,i,r){this._contentObserver=e,this._elementRef=i,this._ngZone=r,this.event=new Yt,this._disabled=!1,this._currentSubscription=null}get disabled(){return this._disabled}set disabled(e){this._disabled=nn(e),this._disabled?this._unsubscribe():this._subscribe()}get debounce(){return this._debounce}set debounce(e){this._debounce=Ai(e),this._subscribe()}ngAfterContentInit(){!this._currentSubscription&&!this.disabled&&this._subscribe()}ngOnDestroy(){this._unsubscribe()}_subscribe(){this._unsubscribe();const e=this._contentObserver.observe(this._elementRef);this._ngZone.runOutsideAngular(()=>{this._currentSubscription=(this.debounce?e.pipe(bD(this.debounce)):e).subscribe(this.event)})}_unsubscribe(){var e;null===(e=this._currentSubscription)||void 0===e||e.unsubscribe()}}return n.\u0275fac=function(e){return new(e||n)(M(vW),M(Zt),M(yn))},n.\u0275dir=rt({type:n,selectors:[["","cdkObserveContent",""]],inputs:{disabled:["cdkObserveContentDisabled","disabled"],debounce:"debounce"},outputs:{event:"cdkObserveContent"},exportAs:["cdkObserveContent"]}),n})(),Bp=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Ht({type:n}),n.\u0275inj=He({providers:[OR]}),n})();function f_(n,t){return(n.getAttribute(t)||"").match(/\S+/g)||[]}const FR="cdk-describedby-message",g_="cdk-describedby-host";let NR=0,jR=(()=>{class n{constructor(e,i){this._platform=i,this._messageRegistry=new Map,this._messagesContainer=null,this._id=""+NR++,this._document=e}describe(e,i,r){if(!this._canBeDescribed(e,i))return;const s=MD(i,r);"string"!=typeof i?(BR(i),this._messageRegistry.set(s,{messageElement:i,referenceCount:0})):this._messageRegistry.has(s)||this._createMessageElement(i,r),this._isElementDescribedByMessage(e,s)||this._addMessageReference(e,s)}removeDescription(e,i,r){var s;if(!i||!this._isElementNode(e))return;const o=MD(i,r);if(this._isElementDescribedByMessage(e,o)&&this._removeMessageReference(e,o),"string"==typeof i){const a=this._messageRegistry.get(o);a&&0===a.referenceCount&&this._deleteMessageElement(o)}0===(null===(s=this._messagesContainer)||void 0===s?void 0:s.childNodes.length)&&(this._messagesContainer.remove(),this._messagesContainer=null)}ngOnDestroy(){var e;const i=this._document.querySelectorAll(`[${g_}="${this._id}"]`);for(let r=0;r0!=r.indexOf(FR));e.setAttribute("aria-describedby",i.join(" "))}_addMessageReference(e,i){const r=this._messageRegistry.get(i);(function bW(n,t,e){const i=f_(n,t);i.some(r=>r.trim()==e.trim())||(i.push(e.trim()),n.setAttribute(t,i.join(" ")))})(e,"aria-describedby",r.messageElement.id),e.setAttribute(g_,this._id),r.referenceCount++}_removeMessageReference(e,i){const r=this._messageRegistry.get(i);r.referenceCount--,function wW(n,t,e){const r=f_(n,t).filter(s=>s!=e.trim());r.length?n.setAttribute(t,r.join(" ")):n.removeAttribute(t)}(e,"aria-describedby",r.messageElement.id),e.removeAttribute(g_)}_isElementDescribedByMessage(e,i){const r=f_(e,"aria-describedby"),s=this._messageRegistry.get(i),o=s&&s.messageElement.id;return!!o&&-1!=r.indexOf(o)}_canBeDescribed(e,i){if(!this._isElementNode(e))return!1;if(i&&"object"==typeof i)return!0;const r=null==i?"":`${i}`.trim(),s=e.getAttribute("aria-label");return!(!r||s&&s.trim()===r)}_isElementNode(e){return e.nodeType===this._document.ELEMENT_NODE}}return n.\u0275fac=function(e){return new(e||n)(Se(Dn),Se(zi))},n.\u0275prov=De({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();function MD(n,t){return"string"==typeof n?`${t||""}/${n}`:n}function BR(n){n.id||(n.id=`${FR}-${NR++}`)}class YR{constructor(t){this._items=t,this._activeItemIndex=-1,this._activeItem=null,this._wrap=!1,this._letterKeyStream=new K,this._typeaheadSubscription=P.EMPTY,this._vertical=!0,this._allowedModifierKeys=[],this._homeAndEnd=!1,this._skipPredicateFn=e=>e.disabled,this._pressedLetters=[],this.tabOut=new K,this.change=new K,t instanceof Vl&&t.changes.subscribe(e=>{if(this._activeItem){const r=e.toArray().indexOf(this._activeItem);r>-1&&r!==this._activeItemIndex&&(this._activeItemIndex=r)}})}skipPredicate(t){return this._skipPredicateFn=t,this}withWrap(t=!0){return this._wrap=t,this}withVerticalOrientation(t=!0){return this._vertical=t,this}withHorizontalOrientation(t){return this._horizontal=t,this}withAllowedModifierKeys(t){return this._allowedModifierKeys=t,this}withTypeAhead(t=200){return this._typeaheadSubscription.unsubscribe(),this._typeaheadSubscription=this._letterKeyStream.pipe(wr(e=>this._pressedLetters.push(e)),bD(t),hi(()=>this._pressedLetters.length>0),_e(()=>this._pressedLetters.join(""))).subscribe(e=>{const i=this._getItemsArray();for(let r=1;r!t[s]||this._allowedModifierKeys.indexOf(s)>-1);switch(e){case 9:return void this.tabOut.next();case 40:if(this._vertical&&r){this.setNextItemActive();break}return;case 38:if(this._vertical&&r){this.setPreviousItemActive();break}return;case 39:if(this._horizontal&&r){"rtl"===this._horizontal?this.setPreviousItemActive():this.setNextItemActive();break}return;case 37:if(this._horizontal&&r){"rtl"===this._horizontal?this.setNextItemActive():this.setPreviousItemActive();break}return;case 36:if(this._homeAndEnd&&r){this.setFirstItemActive();break}return;case 35:if(this._homeAndEnd&&r){this.setLastItemActive();break}return;default:return void((r||Qr(t,"shiftKey"))&&(t.key&&1===t.key.length?this._letterKeyStream.next(t.key.toLocaleUpperCase()):(e>=65&&e<=90||e>=48&&e<=57)&&this._letterKeyStream.next(String.fromCharCode(e))))}this._pressedLetters=[],t.preventDefault()}get activeItemIndex(){return this._activeItemIndex}get activeItem(){return this._activeItem}isTyping(){return this._pressedLetters.length>0}setFirstItemActive(){this._setActiveItemByIndex(0,1)}setLastItemActive(){this._setActiveItemByIndex(this._items.length-1,-1)}setNextItemActive(){this._activeItemIndex<0?this.setFirstItemActive():this._setActiveItemByDelta(1)}setPreviousItemActive(){this._activeItemIndex<0&&this._wrap?this.setLastItemActive():this._setActiveItemByDelta(-1)}updateActiveItem(t){const e=this._getItemsArray(),i="number"==typeof t?t:e.indexOf(t),r=e[i];this._activeItem=null==r?null:r,this._activeItemIndex=i}_setActiveItemByDelta(t){this._wrap?this._setActiveInWrapMode(t):this._setActiveInDefaultMode(t)}_setActiveInWrapMode(t){const e=this._getItemsArray();for(let i=1;i<=e.length;i++){const r=(this._activeItemIndex+t*i+e.length)%e.length;if(!this._skipPredicateFn(e[r]))return void this.setActiveItem(r)}}_setActiveInDefaultMode(t){this._setActiveItemByIndex(this._activeItemIndex+t,t)}_setActiveItemByIndex(t,e){const i=this._getItemsArray();if(i[t]){for(;this._skipPredicateFn(i[t]);)if(!i[t+=e])return;this.setActiveItem(t)}}_getItemsArray(){return this._items instanceof Vl?this._items.toArray():this._items}}class MW extends YR{setActiveItem(t){this.activeItem&&this.activeItem.setInactiveStyles(),super.setActiveItem(t),this.activeItem&&this.activeItem.setActiveStyles()}}class Yp extends YR{constructor(){super(...arguments),this._origin="program"}setFocusOrigin(t){return this._origin=t,this}setActiveItem(t){super.setActiveItem(t),this.activeItem&&this.activeItem.focus(this._origin)}}let HR=(()=>{class n{constructor(e){this._platform=e}isDisabled(e){return e.hasAttribute("disabled")}isVisible(e){return function EW(n){return!!(n.offsetWidth||n.offsetHeight||"function"==typeof n.getClientRects&&n.getClientRects().length)}(e)&&"visible"===getComputedStyle(e).visibility}isTabbable(e){if(!this._platform.isBrowser)return!1;const i=function DW(n){try{return n.frameElement}catch(t){return null}}(function RW(n){return n.ownerDocument&&n.ownerDocument.defaultView||window}(e));if(i&&(-1===qR(i)||!this.isVisible(i)))return!1;let r=e.nodeName.toLowerCase(),s=qR(e);return e.hasAttribute("contenteditable")?-1!==s:!("iframe"===r||"object"===r||this._platform.WEBKIT&&this._platform.IOS&&!function IW(n){let t=n.nodeName.toLowerCase(),e="input"===t&&n.type;return"text"===e||"password"===e||"select"===t||"textarea"===t}(e))&&("audio"===r?!!e.hasAttribute("controls")&&-1!==s:"video"===r?-1!==s&&(null!==s||this._platform.FIREFOX||e.hasAttribute("controls")):e.tabIndex>=0)}isFocusable(e,i){return function AW(n){return!function TW(n){return function kW(n){return"input"==n.nodeName.toLowerCase()}(n)&&"hidden"==n.type}(n)&&(function CW(n){let t=n.nodeName.toLowerCase();return"input"===t||"select"===t||"button"===t||"textarea"===t}(n)||function SW(n){return function xW(n){return"a"==n.nodeName.toLowerCase()}(n)&&n.hasAttribute("href")}(n)||n.hasAttribute("contenteditable")||VR(n))}(e)&&!this.isDisabled(e)&&((null==i?void 0:i.ignoreVisibility)||this.isVisible(e))}}return n.\u0275fac=function(e){return new(e||n)(Se(zi))},n.\u0275prov=De({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();function VR(n){if(!n.hasAttribute("tabindex")||void 0===n.tabIndex)return!1;let t=n.getAttribute("tabindex");return!(!t||isNaN(parseInt(t,10)))}function qR(n){if(!VR(n))return null;const t=parseInt(n.getAttribute("tabindex")||"",10);return isNaN(t)?-1:t}class LW{constructor(t,e,i,r,s=!1){this._element=t,this._checker=e,this._ngZone=i,this._document=r,this._hasAttached=!1,this.startAnchorListener=()=>this.focusLastTabbableElement(),this.endAnchorListener=()=>this.focusFirstTabbableElement(),this._enabled=!0,s||this.attachAnchors()}get enabled(){return this._enabled}set enabled(t){this._enabled=t,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(t,this._startAnchor),this._toggleAnchorTabIndex(t,this._endAnchor))}destroy(){const t=this._startAnchor,e=this._endAnchor;t&&(t.removeEventListener("focus",this.startAnchorListener),t.remove()),e&&(e.removeEventListener("focus",this.endAnchorListener),e.remove()),this._startAnchor=this._endAnchor=null,this._hasAttached=!1}attachAnchors(){return!!this._hasAttached||(this._ngZone.runOutsideAngular(()=>{this._startAnchor||(this._startAnchor=this._createAnchor(),this._startAnchor.addEventListener("focus",this.startAnchorListener)),this._endAnchor||(this._endAnchor=this._createAnchor(),this._endAnchor.addEventListener("focus",this.endAnchorListener))}),this._element.parentNode&&(this._element.parentNode.insertBefore(this._startAnchor,this._element),this._element.parentNode.insertBefore(this._endAnchor,this._element.nextSibling),this._hasAttached=!0),this._hasAttached)}focusInitialElementWhenReady(t){return new Promise(e=>{this._executeOnStable(()=>e(this.focusInitialElement(t)))})}focusFirstTabbableElementWhenReady(t){return new Promise(e=>{this._executeOnStable(()=>e(this.focusFirstTabbableElement(t)))})}focusLastTabbableElementWhenReady(t){return new Promise(e=>{this._executeOnStable(()=>e(this.focusLastTabbableElement(t)))})}_getRegionBoundary(t){const e=this._element.querySelectorAll(`[cdk-focus-region-${t}], [cdkFocusRegion${t}], [cdk-focus-${t}]`);return"start"==t?e.length?e[0]:this._getFirstTabbableElement(this._element):e.length?e[e.length-1]:this._getLastTabbableElement(this._element)}focusInitialElement(t){const e=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(e){if(!this._checker.isFocusable(e)){const i=this._getFirstTabbableElement(e);return null==i||i.focus(t),!!i}return e.focus(t),!0}return this.focusFirstTabbableElement(t)}focusFirstTabbableElement(t){const e=this._getRegionBoundary("start");return e&&e.focus(t),!!e}focusLastTabbableElement(t){const e=this._getRegionBoundary("end");return e&&e.focus(t),!!e}hasAttached(){return this._hasAttached}_getFirstTabbableElement(t){if(this._checker.isFocusable(t)&&this._checker.isTabbable(t))return t;const e=t.children;for(let i=0;i=0;i--){const r=e[i].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(e[i]):null;if(r)return r}return null}_createAnchor(){const t=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,t),t.classList.add("cdk-visually-hidden"),t.classList.add("cdk-focus-trap-anchor"),t.setAttribute("aria-hidden","true"),t}_toggleAnchorTabIndex(t,e){t?e.setAttribute("tabindex","0"):e.removeAttribute("tabindex")}toggleAnchors(t){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(t,this._startAnchor),this._toggleAnchorTabIndex(t,this._endAnchor))}_executeOnStable(t){this._ngZone.isStable?t():this._ngZone.onStable.pipe(Ii(1)).subscribe(t)}}let OW=(()=>{class n{constructor(e,i,r){this._checker=e,this._ngZone=i,this._document=r}create(e,i=!1){return new LW(e,this._checker,this._ngZone,this._document,i)}}return n.\u0275fac=function(e){return new(e||n)(Se(HR),Se(yn),Se(Dn))},n.\u0275prov=De({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();function __(n){return 0===n.buttons||0===n.offsetX&&0===n.offsetY}function y_(n){const t=n.touches&&n.touches[0]||n.changedTouches&&n.changedTouches[0];return!(!t||-1!==t.identifier||null!=t.radiusX&&1!==t.radiusX||null!=t.radiusY&&1!==t.radiusY)}const PW=new pt("cdk-input-modality-detector-options"),FW={ignoreKeys:[18,17,224,91,16]},Id=ia({passive:!0,capture:!0});let NW=(()=>{class n{constructor(e,i,r,s){this._platform=e,this._mostRecentTarget=null,this._modality=new xi(null),this._lastTouchMs=0,this._onKeydown=o=>{var a,l;(null===(l=null===(a=this._options)||void 0===a?void 0:a.ignoreKeys)||void 0===l?void 0:l.some(h=>h===o.keyCode))||(this._modality.next("keyboard"),this._mostRecentTarget=To(o))},this._onMousedown=o=>{Date.now()-this._lastTouchMs<650||(this._modality.next(__(o)?"keyboard":"mouse"),this._mostRecentTarget=To(o))},this._onTouchstart=o=>{y_(o)?this._modality.next("keyboard"):(this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=To(o))},this._options=Object.assign(Object.assign({},FW),s),this.modalityDetected=this._modality.pipe(wD(1)),this.modalityChanged=this.modalityDetected.pipe(p_()),e.isBrowser&&i.runOutsideAngular(()=>{r.addEventListener("keydown",this._onKeydown,Id),r.addEventListener("mousedown",this._onMousedown,Id),r.addEventListener("touchstart",this._onTouchstart,Id)})}get mostRecentModality(){return this._modality.value}ngOnDestroy(){this._modality.complete(),this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,Id),document.removeEventListener("mousedown",this._onMousedown,Id),document.removeEventListener("touchstart",this._onTouchstart,Id))}}return n.\u0275fac=function(e){return new(e||n)(Se(zi),Se(yn),Se(Dn),Se(PW,8))},n.\u0275prov=De({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const jW=new pt("liveAnnouncerElement",{providedIn:"root",factory:function BW(){return null}}),YW=new pt("LIVE_ANNOUNCER_DEFAULT_OPTIONS");let Hp=(()=>{class n{constructor(e,i,r,s){this._ngZone=i,this._defaultOptions=s,this._document=r,this._liveElement=e||this._createLiveElement()}announce(e,...i){const r=this._defaultOptions;let s,o;return 1===i.length&&"number"==typeof i[0]?o=i[0]:[s,o]=i,this.clear(),clearTimeout(this._previousTimeout),s||(s=r&&r.politeness?r.politeness:"polite"),null==o&&r&&(o=r.duration),this._liveElement.setAttribute("aria-live",s),this._ngZone.runOutsideAngular(()=>(this._currentPromise||(this._currentPromise=new Promise(a=>this._currentResolve=a)),clearTimeout(this._previousTimeout),this._previousTimeout=setTimeout(()=>{this._liveElement.textContent=e,"number"==typeof o&&(this._previousTimeout=setTimeout(()=>this.clear(),o)),this._currentResolve(),this._currentPromise=this._currentResolve=void 0},100),this._currentPromise))}clear(){this._liveElement&&(this._liveElement.textContent="")}ngOnDestroy(){var e,i;clearTimeout(this._previousTimeout),null===(e=this._liveElement)||void 0===e||e.remove(),this._liveElement=null,null===(i=this._currentResolve)||void 0===i||i.call(this),this._currentPromise=this._currentResolve=void 0}_createLiveElement(){const e="cdk-live-announcer-element",i=this._document.getElementsByClassName(e),r=this._document.createElement("div");for(let s=0;s{class n{constructor(e,i,r,s,o){this._ngZone=e,this._platform=i,this._inputModalityDetector=r,this._origin=null,this._windowFocused=!1,this._originFromTouchInteraction=!1,this._elementInfo=new Map,this._monitoredElementCount=0,this._rootNodeFocusListenerCount=new Map,this._windowFocusListener=()=>{this._windowFocused=!0,this._windowFocusTimeoutId=window.setTimeout(()=>this._windowFocused=!1)},this._stopInputModalityDetector=new K,this._rootNodeFocusAndBlurListener=a=>{const l=To(a),h="focus"===a.type?this._onFocus:this._onBlur;for(let f=l;f;f=f.parentElement)h.call(this,a,f)},this._document=s,this._detectionMode=(null==o?void 0:o.detectionMode)||0}monitor(e,i=!1){const r=Dr(e);if(!this._platform.isBrowser||1!==r.nodeType)return Wt(null);const s=u_(r)||this._getDocument(),o=this._elementInfo.get(r);if(o)return i&&(o.checkChildren=!0),o.subject;const a={checkChildren:i,subject:new K,rootNode:s};return this._elementInfo.set(r,a),this._registerGlobalListeners(a),a.subject}stopMonitoring(e){const i=Dr(e),r=this._elementInfo.get(i);r&&(r.subject.complete(),this._setClasses(i),this._elementInfo.delete(i),this._removeGlobalListeners(r))}focusVia(e,i,r){const s=Dr(e);s===this._getDocument().activeElement?this._getClosestElementsInfo(s).forEach(([a,l])=>this._originChanged(a,i,l)):(this._setOrigin(i),"function"==typeof s.focus&&s.focus(r))}ngOnDestroy(){this._elementInfo.forEach((e,i)=>this.stopMonitoring(i))}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_getFocusOrigin(e){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(e)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:"program"}_shouldBeAttributedToTouch(e){return 1===this._detectionMode||!!(null==e?void 0:e.contains(this._inputModalityDetector._mostRecentTarget))}_setClasses(e,i){e.classList.toggle("cdk-focused",!!i),e.classList.toggle("cdk-touch-focused","touch"===i),e.classList.toggle("cdk-keyboard-focused","keyboard"===i),e.classList.toggle("cdk-mouse-focused","mouse"===i),e.classList.toggle("cdk-program-focused","program"===i)}_setOrigin(e,i=!1){this._ngZone.runOutsideAngular(()=>{this._origin=e,this._originFromTouchInteraction="touch"===e&&i,0===this._detectionMode&&(clearTimeout(this._originTimeoutId),this._originTimeoutId=setTimeout(()=>this._origin=null,this._originFromTouchInteraction?650:1))})}_onFocus(e,i){const r=this._elementInfo.get(i),s=To(e);!r||!r.checkChildren&&i!==s||this._originChanged(i,this._getFocusOrigin(s),r)}_onBlur(e,i){const r=this._elementInfo.get(i);!r||r.checkChildren&&e.relatedTarget instanceof Node&&i.contains(e.relatedTarget)||(this._setClasses(i),this._emitOrigin(r.subject,null))}_emitOrigin(e,i){this._ngZone.run(()=>e.next(i))}_registerGlobalListeners(e){if(!this._platform.isBrowser)return;const i=e.rootNode,r=this._rootNodeFocusListenerCount.get(i)||0;r||this._ngZone.runOutsideAngular(()=>{i.addEventListener("focus",this._rootNodeFocusAndBlurListener,v_),i.addEventListener("blur",this._rootNodeFocusAndBlurListener,v_)}),this._rootNodeFocusListenerCount.set(i,r+1),1==++this._monitoredElementCount&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe(vn(this._stopInputModalityDetector)).subscribe(s=>{this._setOrigin(s,!0)}))}_removeGlobalListeners(e){const i=e.rootNode;if(this._rootNodeFocusListenerCount.has(i)){const r=this._rootNodeFocusListenerCount.get(i);r>1?this._rootNodeFocusListenerCount.set(i,r-1):(i.removeEventListener("focus",this._rootNodeFocusAndBlurListener,v_),i.removeEventListener("blur",this._rootNodeFocusAndBlurListener,v_),this._rootNodeFocusListenerCount.delete(i))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(e,i,r){this._setClasses(e,i),this._emitOrigin(r.subject,i),this._lastFocusOrigin=i}_getClosestElementsInfo(e){const i=[];return this._elementInfo.forEach((r,s)=>{(s===e||r.checkChildren&&s.contains(e))&&i.push([s,r])}),i}}return n.\u0275fac=function(e){return new(e||n)(Se(yn),Se(zi),Se(NW),Se(Dn,8),Se(HW,8))},n.\u0275prov=De({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),VW=(()=>{class n{constructor(e,i){this._elementRef=e,this._focusMonitor=i,this.cdkFocusChange=new Yt}ngAfterViewInit(){const e=this._elementRef.nativeElement;this._monitorSubscription=this._focusMonitor.monitor(e,1===e.nodeType&&e.hasAttribute("cdkMonitorSubtreeFocus")).subscribe(i=>this.cdkFocusChange.emit(i))}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._monitorSubscription&&this._monitorSubscription.unsubscribe()}}return n.\u0275fac=function(e){return new(e||n)(M(Zt),M(Ns))},n.\u0275dir=rt({type:n,selectors:[["","cdkMonitorElementFocus",""],["","cdkMonitorSubtreeFocus",""]],outputs:{cdkFocusChange:"cdkFocusChange"}}),n})();const zR="cdk-high-contrast-black-on-white",GR="cdk-high-contrast-white-on-black",DD="cdk-high-contrast-active";let $R=(()=>{class n{constructor(e,i){this._platform=e,this._document=i}getHighContrastMode(){if(!this._platform.isBrowser)return 0;const e=this._document.createElement("div");e.style.backgroundColor="rgb(1,2,3)",e.style.position="absolute",this._document.body.appendChild(e);const i=this._document.defaultView||window,r=i&&i.getComputedStyle?i.getComputedStyle(e):null,s=(r&&r.backgroundColor||"").replace(/ /g,"");switch(e.remove(),s){case"rgb(0,0,0)":return 2;case"rgb(255,255,255)":return 1}return 0}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){const e=this._document.body.classList;e.remove(DD),e.remove(zR),e.remove(GR),this._hasCheckedHighContrastMode=!0;const i=this.getHighContrastMode();1===i?(e.add(DD),e.add(zR)):2===i&&(e.add(DD),e.add(GR))}}}return n.\u0275fac=function(e){return new(e||n)(Se(zi),Se(Dn))},n.\u0275prov=De({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),b_=(()=>{class n{constructor(e){e._applyBodyHighContrastModeCssClasses()}}return n.\u0275fac=function(e){return new(e||n)(Se($R))},n.\u0275mod=Ht({type:n}),n.\u0275inj=He({imports:[[Bp]]}),n})();function ED(n){return!g(n)&&n-parseFloat(n)+1>=0}function UW(n){const{subscriber:t,counter:e,period:i}=n;t.next(e),this.schedule({subscriber:t,counter:e+1,period:i},i)}const WR=new class GW extends Jo{flush(t){this.active=!0,this.scheduled=void 0;const{actions:e}=this;let i,r=-1,s=e.length;t=t||e.shift();do{if(i=t.execute(t.state,t.delay))break}while(++r0?super.requestAsyncId(t,e,i):(t.actions.push(this),t.scheduled||(t.scheduled=requestAnimationFrame(()=>t.flush(null))))}recycleAsyncId(t,e,i=0){if(null!==i&&i>0||null===i&&this.delay>0)return super.recycleAsyncId(t,e,i);0===t.actions.length&&(cancelAnimationFrame(e),t.scheduled=void 0)}});function Na(n,t,e,i){return v(e)&&(i=e,e=void 0),i?Na(n,t,e).pipe(_e(r=>g(r)?i(...r):i(r))):new st(r=>{QR(n,t,function s(o){r.next(arguments.length>1?Array.prototype.slice.call(arguments):o)},r,e)})}function QR(n,t,e,i,r){let s;if(function QW(n){return n&&"function"==typeof n.addEventListener&&"function"==typeof n.removeEventListener}(n)){const o=n;n.addEventListener(t,e,r),s=()=>o.removeEventListener(t,e,r)}else if(function WW(n){return n&&"function"==typeof n.on&&"function"==typeof n.off}(n)){const o=n;n.on(t,e),s=()=>o.off(t,e)}else if(function $W(n){return n&&"function"==typeof n.addListener&&"function"==typeof n.removeListener}(n)){const o=n;n.addListener(t,e),s=()=>o.removeListener(t,e)}else{if(!n||!n.length)throw new TypeError("Invalid event target");for(let o=0,a=n.length;oKR(t)&&n()),t},clearImmediate(n){KR(n)}},CD=new class JW extends Jo{flush(t){this.active=!0,this.scheduled=void 0;const{actions:e}=this;let i,r=-1,s=e.length;t=t||e.shift();do{if(i=t.execute(t.state,t.delay))break}while(++r0?super.requestAsyncId(t,e,i):(t.actions.push(this),t.scheduled||(t.scheduled=ZR.setImmediate(t.flush.bind(t,null))))}recycleAsyncId(t,e,i=0){if(null!==i&&i>0||null===i&&this.delay>0)return super.recycleAsyncId(t,e,i);0===t.actions.length&&(ZR.clearImmediate(e),t.scheduled=void 0)}});class t9{constructor(t){this.durationSelector=t}call(t,e){return e.subscribe(new n9(t,this.durationSelector))}}class n9 extends Vt{constructor(t,e){super(t),this.durationSelector=e,this.hasValue=!1}_next(t){if(this.value=t,this.hasValue=!0,!this.throttled){let e;try{const{durationSelector:r}=this;e=r(t)}catch(r){return this.destination.error(r)}const i=xn(e,new Qt(this));!i||i.closed?this.clearThrottle():this.add(this.throttled=i)}}clearThrottle(){const{value:t,hasValue:e,throttled:i}=this;i&&(this.remove(i),this.throttled=void 0,i.unsubscribe()),e&&(this.value=void 0,this.hasValue=!1,this.destination.next(t))}notifyNext(){this.clearThrottle()}notifyComplete(){this.clearThrottle()}}function M_(n=0,t,e){let i=-1;return ED(t)?i=Number(t)<1?1:Number(t):Ne(t)&&(e=t),Ne(e)||(e=xd),new st(r=>{const s=ED(n)?n:+n-e.now();return e.schedule(r9,s,{index:0,period:i,subscriber:r})})}function r9(n){const{index:t,period:e,subscriber:i}=n;if(i.next(t),!i.closed){if(-1===e)return i.complete();n.index=t+1,this.schedule(n,e)}}function TD(n,t=xd){return function e9(n){return function(e){return e.lift(new t9(n))}}(()=>M_(n,t))}const s9=new pt("cdk-dir-doc",{providedIn:"root",factory:function o9(){return Ah(Dn)}}),a9=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;let Hr=(()=>{class n{constructor(e){if(this.value="ltr",this.change=new Yt,e){const r=e.documentElement?e.documentElement.dir:null;this.value=function l9(n){const t=(null==n?void 0:n.toLowerCase())||"";return"auto"===t&&"undefined"!=typeof navigator&&(null==navigator?void 0:navigator.language)?a9.test(navigator.language)?"rtl":"ltr":"rtl"===t?"rtl":"ltr"}((e.body?e.body.dir:null)||r||"ltr")}}ngOnDestroy(){this.change.complete()}}return n.\u0275fac=function(e){return new(e||n)(Se(s9,8))},n.\u0275prov=De({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),Ad=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Ht({type:n}),n.\u0275inj=He({}),n})(),XR=(()=>{class n{constructor(e,i,r){this._ngZone=e,this._platform=i,this._scrolled=new K,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=r}register(e){this.scrollContainers.has(e)||this.scrollContainers.set(e,e.elementScrolled().subscribe(()=>this._scrolled.next(e)))}deregister(e){const i=this.scrollContainers.get(e);i&&(i.unsubscribe(),this.scrollContainers.delete(e))}scrolled(e=20){return this._platform.isBrowser?new st(i=>{this._globalSubscription||this._addGlobalListener();const r=e>0?this._scrolled.pipe(TD(e)).subscribe(i):this._scrolled.subscribe(i);return this._scrolledCount++,()=>{r.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):Wt()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((e,i)=>this.deregister(i)),this._scrolled.complete()}ancestorScrolled(e,i){const r=this.getAncestorScrollContainers(e);return this.scrolled(i).pipe(hi(s=>!s||r.indexOf(s)>-1))}getAncestorScrollContainers(e){const i=[];return this.scrollContainers.forEach((r,s)=>{this._scrollableContainsElement(s,e)&&i.push(s)}),i}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(e,i){let r=Dr(i),s=e.getElementRef().nativeElement;do{if(r==s)return!0}while(r=r.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>Na(this._getWindow().document,"scroll").subscribe(()=>this._scrolled.next()))}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}}return n.\u0275fac=function(e){return new(e||n)(Se(yn),Se(zi),Se(Dn,8))},n.\u0275prov=De({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),So=(()=>{class n{constructor(e,i,r){this._platform=e,this._change=new K,this._changeListener=s=>{this._change.next(s)},this._document=r,i.runOutsideAngular(()=>{if(e.isBrowser){const s=this._getWindow();s.addEventListener("resize",this._changeListener),s.addEventListener("orientationchange",this._changeListener)}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){if(this._platform.isBrowser){const e=this._getWindow();e.removeEventListener("resize",this._changeListener),e.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();const e={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),e}getViewportRect(){const e=this.getViewportScrollPosition(),{width:i,height:r}=this.getViewportSize();return{top:e.top,left:e.left,bottom:e.top+r,right:e.left+i,height:r,width:i}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};const e=this._document,i=this._getWindow(),r=e.documentElement,s=r.getBoundingClientRect();return{top:-s.top||e.body.scrollTop||i.scrollY||r.scrollTop||0,left:-s.left||e.body.scrollLeft||i.scrollX||r.scrollLeft||0}}change(e=20){return e>0?this._change.pipe(TD(e)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){const e=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:e.innerWidth,height:e.innerHeight}:{width:0,height:0}}}return n.\u0275fac=function(e){return new(e||n)(Se(zi),Se(yn),Se(Dn,8))},n.\u0275prov=De({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),ja=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Ht({type:n}),n.\u0275inj=He({}),n})(),D_=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Ht({type:n}),n.\u0275inj=He({imports:[[Ad,ja],Ad,ja]}),n})();function SD(n,t,e){for(let i in t)if(t.hasOwnProperty(i)){const r=t[i];r?n.setProperty(i,r,(null==e?void 0:e.has(i))?"important":""):n.removeProperty(i)}return n}function Rd(n,t){const e=t?"":"none";SD(n.style,{"touch-action":t?"":"none","-webkit-user-drag":t?"":"none","-webkit-tap-highlight-color":t?"":"transparent","user-select":e,"-ms-user-select":e,"-webkit-user-select":e,"-moz-user-select":e})}function JR(n,t,e){SD(n.style,{position:t?"":"fixed",top:t?"":"0",opacity:t?"":"0",left:t?"":"-999em"},e)}function E_(n,t){return t&&"none"!=t?n+" "+t:n}function eL(n){const t=n.toLowerCase().indexOf("ms")>-1?1:1e3;return parseFloat(n)*t}function kD(n,t){return n.getPropertyValue(t).split(",").map(i=>i.trim())}function xD(n){const t=n.getBoundingClientRect();return{top:t.top,right:t.right,bottom:t.bottom,left:t.left,width:t.width,height:t.height,x:t.x,y:t.y}}function ID(n,t,e){const{top:i,bottom:r,left:s,right:o}=n;return e>=i&&e<=r&&t>=s&&t<=o}function Vp(n,t,e){n.top+=t,n.bottom=n.top+n.height,n.left+=e,n.right=n.left+n.width}function tL(n,t,e,i){const{top:r,right:s,bottom:o,left:a,width:l,height:h}=n,f=l*t,D=h*t;return i>r-D&&ia-f&&e{this.positions.set(e,{scrollPosition:{top:e.scrollTop,left:e.scrollLeft},clientRect:xD(e)})})}handleScroll(t){const e=To(t),i=this.positions.get(e);if(!i)return null;const r=i.scrollPosition;let s,o;if(e===this._document){const h=this.getViewportScrollPosition();s=h.top,o=h.left}else s=e.scrollTop,o=e.scrollLeft;const a=r.top-s,l=r.left-o;return this.positions.forEach((h,f)=>{h.clientRect&&e!==f&&e.contains(f)&&Vp(h.clientRect,a,l)}),r.top=s,r.left=o,{top:a,left:l}}getViewportScrollPosition(){return{top:window.scrollY,left:window.scrollX}}}function iL(n){const t=n.cloneNode(!0),e=t.querySelectorAll("[id]"),i=n.nodeName.toLowerCase();t.removeAttribute("id");for(let r=0;r{if(this.beforeStarted.next(),this._handles.length){const l=this._getTargetHandle(a);l&&!this._disabledHandles.has(l)&&!this.disabled&&this._initializeDragSequence(l,a)}else this.disabled||this._initializeDragSequence(this._rootElement,a)},this._pointerMove=a=>{const l=this._getPointerPositionOnPage(a);if(!this._hasStartedDragging){if(Math.abs(l.x-this._pickupPositionOnPage.x)+Math.abs(l.y-this._pickupPositionOnPage.y)>=this._config.dragStartThreshold){const Y=Date.now()>=this._dragStartTime+this._getDragStartDelay(a),oe=this._dropContainer;if(!Y)return void this._endDragSequence(a);(!oe||!oe.isDragging()&&!oe.isReceiving())&&(a.preventDefault(),this._hasStartedDragging=!0,this._ngZone.run(()=>this._startDragSequence(a)))}return}a.preventDefault();const h=this._getConstrainedPointerPosition(l);if(this._hasMoved=!0,this._lastKnownPointerPosition=l,this._updatePointerDirectionDelta(h),this._dropContainer)this._updateActiveDropContainer(h,l);else{const f=this._activeTransform;f.x=h.x-this._pickupPositionOnPage.x+this._passiveTransform.x,f.y=h.y-this._pickupPositionOnPage.y+this._passiveTransform.y,this._applyRootElementTransform(f.x,f.y)}this._moveEvents.observers.length&&this._ngZone.run(()=>{this._moveEvents.next({source:this,pointerPosition:h,event:a,distance:this._getDragDistance(h),delta:this._pointerDirectionDelta})})},this._pointerUp=a=>{this._endDragSequence(a)},this._nativeDragStart=a=>{if(this._handles.length){const l=this._getTargetHandle(a);l&&!this._disabledHandles.has(l)&&!this.disabled&&a.preventDefault()}else this.disabled||a.preventDefault()},this.withRootElement(t).withParent(e.parentDragRef||null),this._parentPositions=new nL(i),o.registerDragItem(this)}get disabled(){return this._disabled||!(!this._dropContainer||!this._dropContainer.disabled)}set disabled(t){const e=nn(t);e!==this._disabled&&(this._disabled=e,this._toggleNativeDragInteractions(),this._handles.forEach(i=>Rd(i,e)))}getPlaceholderElement(){return this._placeholder}getRootElement(){return this._rootElement}getVisibleElement(){return this.isDragging()?this.getPlaceholderElement():this.getRootElement()}withHandles(t){this._handles=t.map(i=>Dr(i)),this._handles.forEach(i=>Rd(i,this.disabled)),this._toggleNativeDragInteractions();const e=new Set;return this._disabledHandles.forEach(i=>{this._handles.indexOf(i)>-1&&e.add(i)}),this._disabledHandles=e,this}withPreviewTemplate(t){return this._previewTemplate=t,this}withPlaceholderTemplate(t){return this._placeholderTemplate=t,this}withRootElement(t){const e=Dr(t);return e!==this._rootElement&&(this._rootElement&&this._removeRootElementListeners(this._rootElement),this._ngZone.runOutsideAngular(()=>{e.addEventListener("mousedown",this._pointerDown,C_),e.addEventListener("touchstart",this._pointerDown,aL),e.addEventListener("dragstart",this._nativeDragStart,C_)}),this._initialTransform=void 0,this._rootElement=e),"undefined"!=typeof SVGElement&&this._rootElement instanceof SVGElement&&(this._ownerSVGElement=this._rootElement.ownerSVGElement),this}withBoundaryElement(t){return this._boundaryElement=t?Dr(t):null,this._resizeSubscription.unsubscribe(),t&&(this._resizeSubscription=this._viewportRuler.change(10).subscribe(()=>this._containInsideBoundaryOnResize())),this}withParent(t){return this._parentDragRef=t,this}dispose(){var t,e;this._removeRootElementListeners(this._rootElement),this.isDragging()&&(null===(t=this._rootElement)||void 0===t||t.remove()),null===(e=this._anchor)||void 0===e||e.remove(),this._destroyPreview(),this._destroyPlaceholder(),this._dragDropRegistry.removeDragItem(this),this._removeSubscriptions(),this.beforeStarted.complete(),this.started.complete(),this.released.complete(),this.ended.complete(),this.entered.complete(),this.exited.complete(),this.dropped.complete(),this._moveEvents.complete(),this._handles=[],this._disabledHandles.clear(),this._dropContainer=void 0,this._resizeSubscription.unsubscribe(),this._parentPositions.clear(),this._boundaryElement=this._rootElement=this._ownerSVGElement=this._placeholderTemplate=this._previewTemplate=this._anchor=this._parentDragRef=null}isDragging(){return this._hasStartedDragging&&this._dragDropRegistry.isDragging(this)}reset(){this._rootElement.style.transform=this._initialTransform||"",this._activeTransform={x:0,y:0},this._passiveTransform={x:0,y:0}}disableHandle(t){!this._disabledHandles.has(t)&&this._handles.indexOf(t)>-1&&(this._disabledHandles.add(t),Rd(t,!0))}enableHandle(t){this._disabledHandles.has(t)&&(this._disabledHandles.delete(t),Rd(t,this.disabled))}withDirection(t){return this._direction=t,this}_withDropContainer(t){this._dropContainer=t}getFreeDragPosition(){const t=this.isDragging()?this._activeTransform:this._passiveTransform;return{x:t.x,y:t.y}}setFreeDragPosition(t){return this._activeTransform={x:0,y:0},this._passiveTransform.x=t.x,this._passiveTransform.y=t.y,this._dropContainer||this._applyRootElementTransform(t.x,t.y),this}withPreviewContainer(t){return this._previewContainer=t,this}_sortFromLastPointerPosition(){const t=this._lastKnownPointerPosition;t&&this._dropContainer&&this._updateActiveDropContainer(this._getConstrainedPointerPosition(t),t)}_removeSubscriptions(){this._pointerMoveSubscription.unsubscribe(),this._pointerUpSubscription.unsubscribe(),this._scrollSubscription.unsubscribe()}_destroyPreview(){var t,e;null===(t=this._preview)||void 0===t||t.remove(),null===(e=this._previewRef)||void 0===e||e.destroy(),this._preview=this._previewRef=null}_destroyPlaceholder(){var t,e;null===(t=this._placeholder)||void 0===t||t.remove(),null===(e=this._placeholderRef)||void 0===e||e.destroy(),this._placeholder=this._placeholderRef=null}_endDragSequence(t){if(this._dragDropRegistry.isDragging(this)&&(this._removeSubscriptions(),this._dragDropRegistry.stopDragging(this),this._toggleNativeDragInteractions(),this._handles&&(this._rootElement.style.webkitTapHighlightColor=this._rootElementTapHighlight),this._hasStartedDragging))if(this.released.next({source:this}),this._dropContainer)this._dropContainer._stopScrolling(),this._animatePreviewToPlaceholder().then(()=>{this._cleanupDragArtifacts(t),this._cleanupCachedDimensions(),this._dragDropRegistry.stopDragging(this)});else{this._passiveTransform.x=this._activeTransform.x;const e=this._getPointerPositionOnPage(t);this._passiveTransform.y=this._activeTransform.y,this._ngZone.run(()=>{this.ended.next({source:this,distance:this._getDragDistance(e),dropPoint:e})}),this._cleanupCachedDimensions(),this._dragDropRegistry.stopDragging(this)}}_startDragSequence(t){qp(t)&&(this._lastTouchEventTime=Date.now()),this._toggleNativeDragInteractions();const e=this._dropContainer;if(e){const i=this._rootElement,r=i.parentNode,s=this._placeholder=this._createPlaceholderElement(),o=this._anchor=this._anchor||this._document.createComment(""),a=this._getShadowRoot();r.insertBefore(o,i),this._initialTransform=i.style.transform||"",this._preview=this._createPreviewElement(),JR(i,!1,AD),this._document.body.appendChild(r.replaceChild(s,i)),this._getPreviewInsertionPoint(r,a).appendChild(this._preview),this.started.next({source:this}),e.start(),this._initialContainer=e,this._initialIndex=e.getItemIndex(this)}else this.started.next({source:this}),this._initialContainer=this._initialIndex=void 0;this._parentPositions.cache(e?e.getScrollableParents():[])}_initializeDragSequence(t,e){this._parentDragRef&&e.stopPropagation();const i=this.isDragging(),r=qp(e),s=!r&&0!==e.button,o=this._rootElement,a=To(e),l=!r&&this._lastTouchEventTime&&this._lastTouchEventTime+800>Date.now(),h=r?y_(e):__(e);if(a&&a.draggable&&"mousedown"===e.type&&e.preventDefault(),i||s||l||h)return;if(this._handles.length){const k=o.style;this._rootElementTapHighlight=k.webkitTapHighlightColor||"",k.webkitTapHighlightColor="transparent"}this._hasStartedDragging=this._hasMoved=!1,this._removeSubscriptions(),this._pointerMoveSubscription=this._dragDropRegistry.pointerMove.subscribe(this._pointerMove),this._pointerUpSubscription=this._dragDropRegistry.pointerUp.subscribe(this._pointerUp),this._scrollSubscription=this._dragDropRegistry.scrolled(this._getShadowRoot()).subscribe(k=>this._updateOnScroll(k)),this._boundaryElement&&(this._boundaryRect=xD(this._boundaryElement));const f=this._previewTemplate;this._pickupPositionInElement=f&&f.template&&!f.matchSize?{x:0,y:0}:this._getPointerPositionInElement(t,e);const D=this._pickupPositionOnPage=this._lastKnownPointerPosition=this._getPointerPositionOnPage(e);this._pointerDirectionDelta={x:0,y:0},this._pointerPositionAtLastDirectionChange={x:D.x,y:D.y},this._dragStartTime=Date.now(),this._dragDropRegistry.startDragging(this,e)}_cleanupDragArtifacts(t){JR(this._rootElement,!0,AD),this._anchor.parentNode.replaceChild(this._rootElement,this._anchor),this._destroyPreview(),this._destroyPlaceholder(),this._boundaryRect=this._previewRect=this._initialTransform=void 0,this._ngZone.run(()=>{const e=this._dropContainer,i=e.getItemIndex(this),r=this._getPointerPositionOnPage(t),s=this._getDragDistance(r),o=e._isOverContainer(r.x,r.y);this.ended.next({source:this,distance:s,dropPoint:r}),this.dropped.next({item:this,currentIndex:i,previousIndex:this._initialIndex,container:e,previousContainer:this._initialContainer,isPointerOverContainer:o,distance:s,dropPoint:r}),e.drop(this,i,this._initialIndex,this._initialContainer,o,s,r),this._dropContainer=this._initialContainer})}_updateActiveDropContainer({x:t,y:e},{x:i,y:r}){let s=this._initialContainer._getSiblingContainerFromPosition(this,t,e);!s&&this._dropContainer!==this._initialContainer&&this._initialContainer._isOverContainer(t,e)&&(s=this._initialContainer),s&&s!==this._dropContainer&&this._ngZone.run(()=>{this.exited.next({item:this,container:this._dropContainer}),this._dropContainer.exit(this),this._dropContainer=s,this._dropContainer.enter(this,t,e,s===this._initialContainer&&s.sortingDisabled?this._initialIndex:void 0),this.entered.next({item:this,container:s,currentIndex:s.getItemIndex(this)})}),this.isDragging()&&(this._dropContainer._startScrollingIfNecessary(i,r),this._dropContainer._sortItem(this,t,e,this._pointerDirectionDelta),this._applyPreviewTransform(t-this._pickupPositionInElement.x,e-this._pickupPositionInElement.y))}_createPreviewElement(){const t=this._previewTemplate,e=this.previewClass,i=t?t.template:null;let r;if(i&&t){const s=t.matchSize?this._rootElement.getBoundingClientRect():null,o=t.viewContainer.createEmbeddedView(i,t.context);o.detectChanges(),r=cL(o,this._document),this._previewRef=o,t.matchSize?uL(r,s):r.style.transform=T_(this._pickupPositionOnPage.x,this._pickupPositionOnPage.y)}else{const s=this._rootElement;r=iL(s),uL(r,s.getBoundingClientRect()),this._initialTransform&&(r.style.transform=this._initialTransform)}return SD(r.style,{"pointer-events":"none",margin:"0",position:"fixed",top:"0",left:"0","z-index":`${this._config.zIndex||1e3}`},AD),Rd(r,!1),r.classList.add("cdk-drag-preview"),r.setAttribute("dir",this._direction),e&&(Array.isArray(e)?e.forEach(s=>r.classList.add(s)):r.classList.add(e)),r}_animatePreviewToPlaceholder(){if(!this._hasMoved)return Promise.resolve();const t=this._placeholder.getBoundingClientRect();this._preview.classList.add("cdk-drag-animating"),this._applyPreviewTransform(t.left,t.top);const e=function d9(n){const t=getComputedStyle(n),e=kD(t,"transition-property"),i=e.find(a=>"transform"===a||"all"===a);if(!i)return 0;const r=e.indexOf(i),s=kD(t,"transition-duration"),o=kD(t,"transition-delay");return eL(s[r])+eL(o[r])}(this._preview);return 0===e?Promise.resolve():this._ngZone.runOutsideAngular(()=>new Promise(i=>{const r=o=>{var a;(!o||To(o)===this._preview&&"transform"===o.propertyName)&&(null===(a=this._preview)||void 0===a||a.removeEventListener("transitionend",r),i(),clearTimeout(s))},s=setTimeout(r,1.5*e);this._preview.addEventListener("transitionend",r)}))}_createPlaceholderElement(){const t=this._placeholderTemplate,e=t?t.template:null;let i;return e?(this._placeholderRef=t.viewContainer.createEmbeddedView(e,t.context),this._placeholderRef.detectChanges(),i=cL(this._placeholderRef,this._document)):i=iL(this._rootElement),i.style.pointerEvents="none",i.classList.add("cdk-drag-placeholder"),i}_getPointerPositionInElement(t,e){const i=this._rootElement.getBoundingClientRect(),r=t===this._rootElement?null:t,s=r?r.getBoundingClientRect():i,o=qp(e)?e.targetTouches[0]:e,a=this._getViewportScrollPosition();return{x:s.left-i.left+(o.pageX-s.left-a.left),y:s.top-i.top+(o.pageY-s.top-a.top)}}_getPointerPositionOnPage(t){const e=this._getViewportScrollPosition(),i=qp(t)?t.touches[0]||t.changedTouches[0]||{pageX:0,pageY:0}:t,r=i.pageX-e.left,s=i.pageY-e.top;if(this._ownerSVGElement){const o=this._ownerSVGElement.getScreenCTM();if(o){const a=this._ownerSVGElement.createSVGPoint();return a.x=r,a.y=s,a.matrixTransform(o.inverse())}}return{x:r,y:s}}_getConstrainedPointerPosition(t){const e=this._dropContainer?this._dropContainer.lockAxis:null;let{x:i,y:r}=this.constrainPosition?this.constrainPosition(t,this):t;if("x"===this.lockAxis||"x"===e?r=this._pickupPositionOnPage.y:("y"===this.lockAxis||"y"===e)&&(i=this._pickupPositionOnPage.x),this._boundaryRect){const{x:s,y:o}=this._pickupPositionInElement,a=this._boundaryRect,{width:l,height:h}=this._getPreviewRect(),f=a.top+o,D=a.bottom-(h-o);i=lL(i,a.left+s,a.right-(l-s)),r=lL(r,f,D)}return{x:i,y:r}}_updatePointerDirectionDelta(t){const{x:e,y:i}=t,r=this._pointerDirectionDelta,s=this._pointerPositionAtLastDirectionChange,o=Math.abs(e-s.x),a=Math.abs(i-s.y);return o>this._config.pointerDirectionChangeThreshold&&(r.x=e>s.x?1:-1,s.x=e),a>this._config.pointerDirectionChangeThreshold&&(r.y=i>s.y?1:-1,s.y=i),r}_toggleNativeDragInteractions(){if(!this._rootElement||!this._handles)return;const t=this._handles.length>0||!this.isDragging();t!==this._nativeInteractionsEnabled&&(this._nativeInteractionsEnabled=t,Rd(this._rootElement,t))}_removeRootElementListeners(t){t.removeEventListener("mousedown",this._pointerDown,C_),t.removeEventListener("touchstart",this._pointerDown,aL),t.removeEventListener("dragstart",this._nativeDragStart,C_)}_applyRootElementTransform(t,e){const i=T_(t,e),r=this._rootElement.style;null==this._initialTransform&&(this._initialTransform=r.transform&&"none"!=r.transform?r.transform:""),r.transform=E_(i,this._initialTransform)}_applyPreviewTransform(t,e){var i;const r=(null===(i=this._previewTemplate)||void 0===i?void 0:i.template)?void 0:this._initialTransform,s=T_(t,e);this._preview.style.transform=E_(s,r)}_getDragDistance(t){const e=this._pickupPositionOnPage;return e?{x:t.x-e.x,y:t.y-e.y}:{x:0,y:0}}_cleanupCachedDimensions(){this._boundaryRect=this._previewRect=void 0,this._parentPositions.clear()}_containInsideBoundaryOnResize(){let{x:t,y:e}=this._passiveTransform;if(0===t&&0===e||this.isDragging()||!this._boundaryElement)return;const i=this._boundaryElement.getBoundingClientRect(),r=this._rootElement.getBoundingClientRect();if(0===i.width&&0===i.height||0===r.width&&0===r.height)return;const s=i.left-r.left,o=r.right-i.right,a=i.top-r.top,l=r.bottom-i.bottom;i.width>r.width?(s>0&&(t+=s),o>0&&(t-=o)):t=0,i.height>r.height?(a>0&&(e+=a),l>0&&(e-=l)):e=0,(t!==this._passiveTransform.x||e!==this._passiveTransform.y)&&this.setFreeDragPosition({y:e,x:t})}_getDragStartDelay(t){const e=this.dragStartDelay;return"number"==typeof e?e:qp(t)?e.touch:e?e.mouse:0}_updateOnScroll(t){const e=this._parentPositions.handleScroll(t);if(e){const i=To(t);this._boundaryRect&&i!==this._boundaryElement&&i.contains(this._boundaryElement)&&Vp(this._boundaryRect,e.top,e.left),this._pickupPositionOnPage.x+=e.left,this._pickupPositionOnPage.y+=e.top,this._dropContainer||(this._activeTransform.x-=e.left,this._activeTransform.y-=e.top,this._applyRootElementTransform(this._activeTransform.x,this._activeTransform.y))}}_getViewportScrollPosition(){var t;return(null===(t=this._parentPositions.positions.get(this._document))||void 0===t?void 0:t.scrollPosition)||this._parentPositions.getViewportScrollPosition()}_getShadowRoot(){return void 0===this._cachedShadowRoot&&(this._cachedShadowRoot=u_(this._rootElement)),this._cachedShadowRoot}_getPreviewInsertionPoint(t,e){const i=this._previewContainer||"global";if("parent"===i)return t;if("global"===i){const r=this._document;return e||r.fullscreenElement||r.webkitFullscreenElement||r.mozFullScreenElement||r.msFullscreenElement||r.body}return Dr(i)}_getPreviewRect(){return(!this._previewRect||!this._previewRect.width&&!this._previewRect.height)&&(this._previewRect=(this._preview||this._rootElement).getBoundingClientRect()),this._previewRect}_getTargetHandle(t){return this._handles.find(e=>t.target&&(t.target===e||e.contains(t.target)))}}function T_(n,t){return`translate3d(${Math.round(n)}px, ${Math.round(t)}px, 0)`}function lL(n,t,e){return Math.max(t,Math.min(e,n))}function qp(n){return"t"===n.type[0]}function cL(n,t){const e=n.rootNodes;if(1===e.length&&e[0].nodeType===t.ELEMENT_NODE)return e[0];const i=t.createElement("div");return e.forEach(r=>i.appendChild(r)),i}function uL(n,t){n.style.width=`${t.width}px`,n.style.height=`${t.height}px`,n.style.transform=T_(t.left,t.top)}function Up(n,t){return Math.max(0,Math.min(t,n))}class g9{constructor(t,e,i,r,s){this._dragDropRegistry=e,this._ngZone=r,this._viewportRuler=s,this.disabled=!1,this.sortingDisabled=!1,this.autoScrollDisabled=!1,this.autoScrollStep=2,this.enterPredicate=()=>!0,this.sortPredicate=()=>!0,this.beforeStarted=new K,this.entered=new K,this.exited=new K,this.dropped=new K,this.sorted=new K,this._isDragging=!1,this._itemPositions=[],this._previousSwap={drag:null,delta:0,overlaps:!1},this._draggables=[],this._siblings=[],this._orientation="vertical",this._activeSiblings=new Set,this._direction="ltr",this._viewportScrollSubscription=P.EMPTY,this._verticalScrollDirection=0,this._horizontalScrollDirection=0,this._stopScrollTimers=new K,this._cachedShadowRoot=null,this._startScrollInterval=()=>{this._stopScrolling(),function qW(n=0,t=xd){return(!ED(n)||n<0)&&(n=0),(!t||"function"!=typeof t.schedule)&&(t=xd),new st(e=>(e.add(t.schedule(UW,n,{subscriber:e,counter:0,period:n})),e))}(0,WR).pipe(vn(this._stopScrollTimers)).subscribe(()=>{const o=this._scrollNode,a=this.autoScrollStep;1===this._verticalScrollDirection?o.scrollBy(0,-a):2===this._verticalScrollDirection&&o.scrollBy(0,a),1===this._horizontalScrollDirection?o.scrollBy(-a,0):2===this._horizontalScrollDirection&&o.scrollBy(a,0)})},this.element=Dr(t),this._document=i,this.withScrollableParents([this.element]),e.registerDropContainer(this),this._parentPositions=new nL(i)}dispose(){this._stopScrolling(),this._stopScrollTimers.complete(),this._viewportScrollSubscription.unsubscribe(),this.beforeStarted.complete(),this.entered.complete(),this.exited.complete(),this.dropped.complete(),this.sorted.complete(),this._activeSiblings.clear(),this._scrollNode=null,this._parentPositions.clear(),this._dragDropRegistry.removeDropContainer(this)}isDragging(){return this._isDragging}start(){this._draggingStarted(),this._notifyReceivingSiblings()}enter(t,e,i,r){let s;this._draggingStarted(),null==r?(s=this.sortingDisabled?this._draggables.indexOf(t):-1,-1===s&&(s=this._getItemIndexFromPointerPosition(t,e,i))):s=r;const o=this._activeDraggables,a=o.indexOf(t),l=t.getPlaceholderElement();let h=o[s];if(h===t&&(h=o[s+1]),!h&&(null==s||-1===s||s-1&&o.splice(a,1),h&&!this._dragDropRegistry.isDragging(h)){const f=h.getRootElement();f.parentElement.insertBefore(l,f),o.splice(s,0,t)}else Dr(this.element).appendChild(l),o.push(t);l.style.transform="",this._cacheItemPositions(),this._cacheParentPositions(),this._notifyReceivingSiblings(),this.entered.next({item:t,container:this,currentIndex:this.getItemIndex(t)})}exit(t){this._reset(),this.exited.next({item:t,container:this})}drop(t,e,i,r,s,o,a){this._reset(),this.dropped.next({item:t,currentIndex:e,previousIndex:i,container:this,previousContainer:r,isPointerOverContainer:s,distance:o,dropPoint:a})}withItems(t){const e=this._draggables;return this._draggables=t,t.forEach(i=>i._withDropContainer(this)),this.isDragging()&&(e.filter(r=>r.isDragging()).every(r=>-1===t.indexOf(r))?this._reset():this._cacheItems()),this}withDirection(t){return this._direction=t,this}connectedTo(t){return this._siblings=t.slice(),this}withOrientation(t){return this._orientation=t,this}withScrollableParents(t){const e=Dr(this.element);return this._scrollableElements=-1===t.indexOf(e)?[e,...t]:t.slice(),this}getScrollableParents(){return this._scrollableElements}getItemIndex(t){return this._isDragging?("horizontal"===this._orientation&&"rtl"===this._direction?this._itemPositions.slice().reverse():this._itemPositions).findIndex(i=>i.drag===t):this._draggables.indexOf(t)}isReceiving(){return this._activeSiblings.size>0}_sortItem(t,e,i,r){if(this.sortingDisabled||!this._clientRect||!tL(this._clientRect,.05,e,i))return;const s=this._itemPositions,o=this._getItemIndexFromPointerPosition(t,e,i,r);if(-1===o&&s.length>0)return;const a="horizontal"===this._orientation,l=s.findIndex(We=>We.drag===t),h=s[o],D=h.clientRect,k=l>o?1:-1,Y=this._getItemOffsetPx(s[l].clientRect,D,k),oe=this._getSiblingOffsetPx(l,s,k),Fe=s.slice();(function f9(n,t,e){const i=Up(t,n.length-1),r=Up(e,n.length-1);if(i===r)return;const s=n[i],o=r{if(Fe[it]===We)return;const Ue=We.drag===t,Lt=Ue?Y:oe,Gt=Ue?t.getPlaceholderElement():We.drag.getRootElement();We.offset+=Lt,a?(Gt.style.transform=E_(`translate3d(${Math.round(We.offset)}px, 0, 0)`,We.initialTransform),Vp(We.clientRect,0,Lt)):(Gt.style.transform=E_(`translate3d(0, ${Math.round(We.offset)}px, 0)`,We.initialTransform),Vp(We.clientRect,Lt,0))}),this._previousSwap.overlaps=ID(D,e,i),this._previousSwap.drag=h.drag,this._previousSwap.delta=a?r.x:r.y}_startScrollingIfNecessary(t,e){if(this.autoScrollDisabled)return;let i,r=0,s=0;if(this._parentPositions.positions.forEach((o,a)=>{a===this._document||!o.clientRect||i||tL(o.clientRect,.05,t,e)&&([r,s]=function _9(n,t,e,i){const r=pL(t,i),s=mL(t,e);let o=0,a=0;if(r){const l=n.scrollTop;1===r?l>0&&(o=1):n.scrollHeight-l>n.clientHeight&&(o=2)}if(s){const l=n.scrollLeft;1===s?l>0&&(a=1):n.scrollWidth-l>n.clientWidth&&(a=2)}return[o,a]}(a,o.clientRect,t,e),(r||s)&&(i=a))}),!r&&!s){const{width:o,height:a}=this._viewportRuler.getViewportSize(),l={width:o,height:a,top:0,right:o,bottom:a,left:0};r=pL(l,e),s=mL(l,t),i=window}i&&(r!==this._verticalScrollDirection||s!==this._horizontalScrollDirection||i!==this._scrollNode)&&(this._verticalScrollDirection=r,this._horizontalScrollDirection=s,this._scrollNode=i,(r||s)&&i?this._ngZone.runOutsideAngular(this._startScrollInterval):this._stopScrolling())}_stopScrolling(){this._stopScrollTimers.next()}_draggingStarted(){const t=Dr(this.element).style;this.beforeStarted.next(),this._isDragging=!0,this._initialScrollSnap=t.msScrollSnapType||t.scrollSnapType||"",t.scrollSnapType=t.msScrollSnapType="none",this._cacheItems(),this._viewportScrollSubscription.unsubscribe(),this._listenToScrollEvents()}_cacheParentPositions(){const t=Dr(this.element);this._parentPositions.cache(this._scrollableElements),this._clientRect=this._parentPositions.positions.get(t).clientRect}_cacheItemPositions(){const t="horizontal"===this._orientation;this._itemPositions=this._activeDraggables.map(e=>{const i=e.getVisibleElement();return{drag:e,offset:0,initialTransform:i.style.transform||"",clientRect:xD(i)}}).sort((e,i)=>t?e.clientRect.left-i.clientRect.left:e.clientRect.top-i.clientRect.top)}_reset(){this._isDragging=!1;const t=Dr(this.element).style;t.scrollSnapType=t.msScrollSnapType=this._initialScrollSnap,this._activeDraggables.forEach(e=>{var i;const r=e.getRootElement();if(r){const s=null===(i=this._itemPositions.find(o=>o.drag===e))||void 0===i?void 0:i.initialTransform;r.style.transform=s||""}}),this._siblings.forEach(e=>e._stopReceiving(this)),this._activeDraggables=[],this._itemPositions=[],this._previousSwap.drag=null,this._previousSwap.delta=0,this._previousSwap.overlaps=!1,this._stopScrolling(),this._viewportScrollSubscription.unsubscribe(),this._parentPositions.clear()}_getSiblingOffsetPx(t,e,i){const r="horizontal"===this._orientation,s=e[t].clientRect,o=e[t+-1*i];let a=s[r?"width":"height"]*i;if(o){const l=r?"left":"top",h=r?"right":"bottom";-1===i?a-=o.clientRect[l]-s[h]:a+=s[l]-o.clientRect[h]}return a}_getItemOffsetPx(t,e,i){const r="horizontal"===this._orientation;let s=r?e.left-t.left:e.top-t.top;return-1===i&&(s+=r?e.width-t.width:e.height-t.height),s}_shouldEnterAsFirstChild(t,e){if(!this._activeDraggables.length)return!1;const i=this._itemPositions,r="horizontal"===this._orientation;if(i[0].drag!==this._activeDraggables[0]){const o=i[i.length-1].clientRect;return r?t>=o.right:e>=o.bottom}{const o=i[0].clientRect;return r?t<=o.left:e<=o.top}}_getItemIndexFromPointerPosition(t,e,i,r){const s="horizontal"===this._orientation,o=this._itemPositions.findIndex(({drag:a,clientRect:l})=>{if(a===t)return!1;if(r){const h=s?r.x:r.y;if(a===this._previousSwap.drag&&this._previousSwap.overlaps&&h===this._previousSwap.delta)return!1}return s?e>=Math.floor(l.left)&&e=Math.floor(l.top)&&ir._canReceive(t,e,i))}_canReceive(t,e,i){if(!this._clientRect||!ID(this._clientRect,e,i)||!this.enterPredicate(t,this))return!1;const r=this._getShadowRoot().elementFromPoint(e,i);if(!r)return!1;const s=Dr(this.element);return r===s||s.contains(r)}_startReceiving(t,e){const i=this._activeSiblings;!i.has(t)&&e.every(r=>this.enterPredicate(r,this)||this._draggables.indexOf(r)>-1)&&(i.add(t),this._cacheParentPositions(),this._listenToScrollEvents())}_stopReceiving(t){this._activeSiblings.delete(t),this._viewportScrollSubscription.unsubscribe()}_listenToScrollEvents(){this._viewportScrollSubscription=this._dragDropRegistry.scrolled(this._getShadowRoot()).subscribe(t=>{if(this.isDragging()){const e=this._parentPositions.handleScroll(t);e&&(this._itemPositions.forEach(({clientRect:i})=>{Vp(i,e.top,e.left)}),this._itemPositions.forEach(({drag:i})=>{this._dragDropRegistry.isDragging(i)&&i._sortFromLastPointerPosition()}))}else this.isReceiving()&&this._cacheParentPositions()})}_getShadowRoot(){if(!this._cachedShadowRoot){const t=u_(Dr(this.element));this._cachedShadowRoot=t||this._document}return this._cachedShadowRoot}_notifyReceivingSiblings(){const t=this._activeDraggables.filter(e=>e.isDragging());this._siblings.forEach(e=>e._startReceiving(this,t))}}function pL(n,t){const{top:e,bottom:i,height:r}=n,s=.05*r;return t>=e-s&&t<=e+s?1:t>=i-s&&t<=i+s?2:0}function mL(n,t){const{left:e,right:i,width:r}=n,s=.05*r;return t>=e-s&&t<=e+s?1:t>=i-s&&t<=i+s?2:0}const S_=ia({passive:!1,capture:!0});let y9=(()=>{class n{constructor(e,i){this._ngZone=e,this._dropInstances=new Set,this._dragInstances=new Set,this._activeDragInstances=[],this._globalListeners=new Map,this._draggingPredicate=r=>r.isDragging(),this.pointerMove=new K,this.pointerUp=new K,this.scroll=new K,this._preventDefaultWhileDragging=r=>{this._activeDragInstances.length>0&&r.preventDefault()},this._persistentTouchmoveListener=r=>{this._activeDragInstances.length>0&&(this._activeDragInstances.some(this._draggingPredicate)&&r.preventDefault(),this.pointerMove.next(r))},this._document=i}registerDropContainer(e){this._dropInstances.has(e)||this._dropInstances.add(e)}registerDragItem(e){this._dragInstances.add(e),1===this._dragInstances.size&&this._ngZone.runOutsideAngular(()=>{this._document.addEventListener("touchmove",this._persistentTouchmoveListener,S_)})}removeDropContainer(e){this._dropInstances.delete(e)}removeDragItem(e){this._dragInstances.delete(e),this.stopDragging(e),0===this._dragInstances.size&&this._document.removeEventListener("touchmove",this._persistentTouchmoveListener,S_)}startDragging(e,i){if(!(this._activeDragInstances.indexOf(e)>-1)&&(this._activeDragInstances.push(e),1===this._activeDragInstances.length)){const r=i.type.startsWith("touch");this._globalListeners.set(r?"touchend":"mouseup",{handler:s=>this.pointerUp.next(s),options:!0}).set("scroll",{handler:s=>this.scroll.next(s),options:!0}).set("selectstart",{handler:this._preventDefaultWhileDragging,options:S_}),r||this._globalListeners.set("mousemove",{handler:s=>this.pointerMove.next(s),options:S_}),this._ngZone.runOutsideAngular(()=>{this._globalListeners.forEach((s,o)=>{this._document.addEventListener(o,s.handler,s.options)})})}}stopDragging(e){const i=this._activeDragInstances.indexOf(e);i>-1&&(this._activeDragInstances.splice(i,1),0===this._activeDragInstances.length&&this._clearGlobalListeners())}isDragging(e){return this._activeDragInstances.indexOf(e)>-1}scrolled(e){const i=[this.scroll];return e&&e!==this._document&&i.push(new st(r=>this._ngZone.runOutsideAngular(()=>{const o=a=>{this._activeDragInstances.length&&r.next(a)};return e.addEventListener("scroll",o,!0),()=>{e.removeEventListener("scroll",o,!0)}}))),at(...i)}ngOnDestroy(){this._dragInstances.forEach(e=>this.removeDragItem(e)),this._dropInstances.forEach(e=>this.removeDropContainer(e)),this._clearGlobalListeners(),this.pointerMove.complete(),this.pointerUp.complete()}_clearGlobalListeners(){this._globalListeners.forEach((e,i)=>{this._document.removeEventListener(i,e.handler,e.options)}),this._globalListeners.clear()}}return n.\u0275fac=function(e){return new(e||n)(Se(yn),Se(Dn))},n.\u0275prov=De({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const v9={dragStartThreshold:5,pointerDirectionChangeThreshold:5};let b9=(()=>{class n{constructor(e,i,r,s){this._document=e,this._ngZone=i,this._viewportRuler=r,this._dragDropRegistry=s}createDrag(e,i=v9){return new m9(e,i,this._document,this._ngZone,this._viewportRuler,this._dragDropRegistry)}createDropList(e){return new g9(e,this._dragDropRegistry,this._document,this._ngZone,this._viewportRuler)}}return n.\u0275fac=function(e){return new(e||n)(Se(Dn),Se(yn),Se(So),Se(y9))},n.\u0275prov=De({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),w9=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Ht({type:n}),n.\u0275inj=He({providers:[b9],imports:[ja]}),n})();function k_(n){return n&&"function"==typeof n.connect}class fL{applyChanges(t,e,i,r,s){t.forEachOperation((o,a,l)=>{let h,f;if(null==o.previousIndex){const D=i(o,a,l);h=e.createEmbeddedView(D.templateRef,D.context,D.index),f=1}else null==l?(e.remove(a),f=3):(h=e.get(a),e.move(h,l),f=2);s&&s({context:null==h?void 0:h.context,operation:f,record:o})})}detach(){}}class zp{constructor(t=!1,e,i=!0){this._multiple=t,this._emitChanges=i,this._selection=new Set,this._deselectedToEmit=[],this._selectedToEmit=[],this.changed=new K,e&&e.length&&(t?e.forEach(r=>this._markSelected(r)):this._markSelected(e[0]),this._selectedToEmit.length=0)}get selected(){return this._selected||(this._selected=Array.from(this._selection.values())),this._selected}select(...t){this._verifyValueAssignment(t),t.forEach(e=>this._markSelected(e)),this._emitChangeEvent()}deselect(...t){this._verifyValueAssignment(t),t.forEach(e=>this._unmarkSelected(e)),this._emitChangeEvent()}toggle(t){this.isSelected(t)?this.deselect(t):this.select(t)}clear(){this._unmarkAll(),this._emitChangeEvent()}isSelected(t){return this._selection.has(t)}isEmpty(){return 0===this._selection.size}hasValue(){return!this.isEmpty()}sort(t){this._multiple&&this.selected&&this._selected.sort(t)}isMultipleSelection(){return this._multiple}_emitChangeEvent(){this._selected=null,(this._selectedToEmit.length||this._deselectedToEmit.length)&&(this.changed.next({source:this,added:this._selectedToEmit,removed:this._deselectedToEmit}),this._deselectedToEmit=[],this._selectedToEmit=[])}_markSelected(t){this.isSelected(t)||(this._multiple||this._unmarkAll(),this._selection.add(t),this._emitChanges&&this._selectedToEmit.push(t))}_unmarkSelected(t){this.isSelected(t)&&(this._selection.delete(t),this._emitChanges&&this._deselectedToEmit.push(t))}_unmarkAll(){this.isEmpty()||this._selection.forEach(t=>this._unmarkSelected(t))}_verifyValueAssignment(t){}}let RD=(()=>{class n{constructor(){this._listeners=[]}notify(e,i){for(let r of this._listeners)r(e,i)}listen(e){return this._listeners.push(e),()=>{this._listeners=this._listeners.filter(i=>e!==i)}}ngOnDestroy(){this._listeners=[]}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=De({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const Gp=new pt("_ViewRepeater");const D9=[[["caption"]],[["colgroup"],["col"]]],E9=["caption","colgroup, col"];function OD(n){return class extends n{constructor(...t){super(...t),this._sticky=!1,this._hasStickyChanged=!1}get sticky(){return this._sticky}set sticky(t){const e=this._sticky;this._sticky=nn(t),this._hasStickyChanged=e!==this._sticky}hasStickyChanged(){const t=this._hasStickyChanged;return this._hasStickyChanged=!1,t}resetStickyChanged(){this._hasStickyChanged=!1}}}const Ld=new pt("CDK_TABLE");let Od=(()=>{class n{constructor(e){this.template=e}}return n.\u0275fac=function(e){return new(e||n)(M(Wi))},n.\u0275dir=rt({type:n,selectors:[["","cdkCellDef",""]]}),n})(),Pd=(()=>{class n{constructor(e){this.template=e}}return n.\u0275fac=function(e){return new(e||n)(M(Wi))},n.\u0275dir=rt({type:n,selectors:[["","cdkHeaderCellDef",""]]}),n})(),x_=(()=>{class n{constructor(e){this.template=e}}return n.\u0275fac=function(e){return new(e||n)(M(Wi))},n.\u0275dir=rt({type:n,selectors:[["","cdkFooterCellDef",""]]}),n})();class k9{}const x9=OD(k9);let hl=(()=>{class n extends x9{constructor(e){super(),this._table=e,this._stickyEnd=!1}get name(){return this._name}set name(e){this._setNameInput(e)}get stickyEnd(){return this._stickyEnd}set stickyEnd(e){const i=this._stickyEnd;this._stickyEnd=nn(e),this._hasStickyChanged=i!==this._stickyEnd}_updateColumnCssClassName(){this._columnCssClassName=[`cdk-column-${this.cssClassFriendlyName}`]}_setNameInput(e){e&&(this._name=e,this.cssClassFriendlyName=e.replace(/[^a-z0-9_-]/gi,"-"),this._updateColumnCssClassName())}}return n.\u0275fac=function(e){return new(e||n)(M(Ld,8))},n.\u0275dir=rt({type:n,selectors:[["","cdkColumnDef",""]],contentQueries:function(e,i,r){if(1&e&&(Pn(r,Od,5),Pn(r,Pd,5),Pn(r,x_,5)),2&e){let s;Et(s=Ct())&&(i.cell=s.first),Et(s=Ct())&&(i.headerCell=s.first),Et(s=Ct())&&(i.footerCell=s.first)}},inputs:{sticky:"sticky",name:["cdkColumnDef","name"],stickyEnd:"stickyEnd"},features:[tn([{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:n}]),It]}),n})();class PD{constructor(t,e){e.nativeElement.classList.add(...t._columnCssClassName)}}let FD=(()=>{class n extends PD{constructor(e,i){super(e,i)}}return n.\u0275fac=function(e){return new(e||n)(M(hl),M(Zt))},n.\u0275dir=rt({type:n,selectors:[["cdk-header-cell"],["th","cdk-header-cell",""]],hostAttrs:["role","columnheader",1,"cdk-header-cell"],features:[It]}),n})(),ND=(()=>{class n extends PD{constructor(e,i){var r;if(super(e,i),1===(null===(r=e._table)||void 0===r?void 0:r._elementRef.nativeElement.nodeType)){const s=e._table._elementRef.nativeElement.getAttribute("role");i.nativeElement.setAttribute("role","grid"===s||"treegrid"===s?"gridcell":"cell")}}}return n.\u0275fac=function(e){return new(e||n)(M(hl),M(Zt))},n.\u0275dir=rt({type:n,selectors:[["cdk-cell"],["td","cdk-cell",""]],hostAttrs:[1,"cdk-cell"],features:[It]}),n})();class yL{constructor(){this.tasks=[],this.endTasks=[]}}const jD=new pt("_COALESCED_STYLE_SCHEDULER");let vL=(()=>{class n{constructor(e){this._ngZone=e,this._currentSchedule=null,this._destroyed=new K}schedule(e){this._createScheduleIfNeeded(),this._currentSchedule.tasks.push(e)}scheduleEnd(e){this._createScheduleIfNeeded(),this._currentSchedule.endTasks.push(e)}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}_createScheduleIfNeeded(){this._currentSchedule||(this._currentSchedule=new yL,this._getScheduleObservable().pipe(vn(this._destroyed)).subscribe(()=>{for(;this._currentSchedule.tasks.length||this._currentSchedule.endTasks.length;){const e=this._currentSchedule;this._currentSchedule=new yL;for(const i of e.tasks)i();for(const i of e.endTasks)i()}this._currentSchedule=null}))}_getScheduleObservable(){return this._ngZone.isStable?St(Promise.resolve(void 0)):this._ngZone.onStable.pipe(Ii(1))}}return n.\u0275fac=function(e){return new(e||n)(Se(yn))},n.\u0275prov=De({token:n,factory:n.\u0275fac}),n})(),BD=(()=>{class n{constructor(e,i){this.template=e,this._differs=i}ngOnChanges(e){if(!this._columnsDiffer){const i=e.columns&&e.columns.currentValue||[];this._columnsDiffer=this._differs.find(i).create(),this._columnsDiffer.diff(i)}}getColumnsDiff(){return this._columnsDiffer.diff(this.columns)}extractCellTemplate(e){return this instanceof $p?e.headerCell.template:this instanceof Wp?e.footerCell.template:e.cell.template}}return n.\u0275fac=function(e){return new(e||n)(M(Wi),M(_o))},n.\u0275dir=rt({type:n,features:[Jn]}),n})();class I9 extends BD{}const A9=OD(I9);let $p=(()=>{class n extends A9{constructor(e,i,r){super(e,i),this._table=r}ngOnChanges(e){super.ngOnChanges(e)}}return n.\u0275fac=function(e){return new(e||n)(M(Wi),M(_o),M(Ld,8))},n.\u0275dir=rt({type:n,selectors:[["","cdkHeaderRowDef",""]],inputs:{columns:["cdkHeaderRowDef","columns"],sticky:["cdkHeaderRowDefSticky","sticky"]},features:[It,Jn]}),n})();class R9 extends BD{}const L9=OD(R9);let Wp=(()=>{class n extends L9{constructor(e,i,r){super(e,i),this._table=r}ngOnChanges(e){super.ngOnChanges(e)}}return n.\u0275fac=function(e){return new(e||n)(M(Wi),M(_o),M(Ld,8))},n.\u0275dir=rt({type:n,selectors:[["","cdkFooterRowDef",""]],inputs:{columns:["cdkFooterRowDef","columns"],sticky:["cdkFooterRowDefSticky","sticky"]},features:[It,Jn]}),n})(),I_=(()=>{class n extends BD{constructor(e,i,r){super(e,i),this._table=r}}return n.\u0275fac=function(e){return new(e||n)(M(Wi),M(_o),M(Ld,8))},n.\u0275dir=rt({type:n,selectors:[["","cdkRowDef",""]],inputs:{columns:["cdkRowDefColumns","columns"],when:["cdkRowDefWhen","when"]},features:[It]}),n})(),pl=(()=>{class n{constructor(e){this._viewContainer=e,n.mostRecentCellOutlet=this}ngOnDestroy(){n.mostRecentCellOutlet===this&&(n.mostRecentCellOutlet=null)}}return n.mostRecentCellOutlet=null,n.\u0275fac=function(e){return new(e||n)(M(Si))},n.\u0275dir=rt({type:n,selectors:[["","cdkCellOutlet",""]]}),n})(),YD=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=At({type:n,selectors:[["cdk-header-row"],["tr","cdk-header-row",""]],hostAttrs:["role","row",1,"cdk-header-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(e,i){1&e&&ys(0,0)},directives:[pl],encapsulation:2}),n})(),VD=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=At({type:n,selectors:[["cdk-row"],["tr","cdk-row",""]],hostAttrs:["role","row",1,"cdk-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(e,i){1&e&&ys(0,0)},directives:[pl],encapsulation:2}),n})(),A_=(()=>{class n{constructor(e){this.templateRef=e,this._contentClassName="cdk-no-data-row"}}return n.\u0275fac=function(e){return new(e||n)(M(Wi))},n.\u0275dir=rt({type:n,selectors:[["ng-template","cdkNoDataRow",""]]}),n})();const bL=["top","bottom","left","right"];class O9{constructor(t,e,i,r,s=!0,o=!0,a){this._isNativeHtmlTable=t,this._stickCellCss=e,this.direction=i,this._coalescedStyleScheduler=r,this._isBrowser=s,this._needsPositionStickyOnElement=o,this._positionListener=a,this._cachedCellWidths=[],this._borderCellCss={top:`${e}-border-elem-top`,bottom:`${e}-border-elem-bottom`,left:`${e}-border-elem-left`,right:`${e}-border-elem-right`}}clearStickyPositioning(t,e){const i=[];for(const r of t)if(r.nodeType===r.ELEMENT_NODE){i.push(r);for(let s=0;s{for(const r of i)this._removeStickyStyle(r,e)})}updateStickyColumns(t,e,i,r=!0){if(!t.length||!this._isBrowser||!e.some(k=>k)&&!i.some(k=>k))return void(this._positionListener&&(this._positionListener.stickyColumnsUpdated({sizes:[]}),this._positionListener.stickyEndColumnsUpdated({sizes:[]})));const s=t[0],o=s.children.length,a=this._getCellWidths(s,r),l=this._getStickyStartColumnPositions(a,e),h=this._getStickyEndColumnPositions(a,i),f=e.lastIndexOf(!0),D=i.indexOf(!0);this._coalescedStyleScheduler.schedule(()=>{const k="rtl"===this.direction,Y=k?"right":"left",oe=k?"left":"right";for(const Fe of t)for(let We=0;Wee[We]?Fe:null)}),this._positionListener.stickyEndColumnsUpdated({sizes:-1===D?[]:a.slice(D).map((Fe,We)=>i[We+D]?Fe:null).reverse()}))})}stickRows(t,e,i){if(!this._isBrowser)return;const r="bottom"===i?t.slice().reverse():t,s="bottom"===i?e.slice().reverse():e,o=[],a=[],l=[];for(let f=0,D=0;f{var f,D;for(let k=0;k{e.some(r=>!r)?this._removeStickyStyle(i,["bottom"]):this._addStickyStyle(i,"bottom",0,!1)})}_removeStickyStyle(t,e){for(const r of e)t.style[r]="",t.classList.remove(this._borderCellCss[r]);bL.some(r=>-1===e.indexOf(r)&&t.style[r])?t.style.zIndex=this._getCalculatedZIndex(t):(t.style.zIndex="",this._needsPositionStickyOnElement&&(t.style.position=""),t.classList.remove(this._stickCellCss))}_addStickyStyle(t,e,i,r){t.classList.add(this._stickCellCss),r&&t.classList.add(this._borderCellCss[e]),t.style[e]=`${i}px`,t.style.zIndex=this._getCalculatedZIndex(t),this._needsPositionStickyOnElement&&(t.style.cssText+="position: -webkit-sticky; position: sticky; ")}_getCalculatedZIndex(t){const e={top:100,bottom:10,left:1,right:1};let i=0;for(const r of bL)t.style[r]&&(i+=e[r]);return i?`${i}`:""}_getCellWidths(t,e=!0){if(!e&&this._cachedCellWidths.length)return this._cachedCellWidths;const i=[],r=t.children;for(let s=0;s0;s--)e[s]&&(i[s]=r,r+=t[s]);return i}}const qD=new pt("CDK_SPL");let R_=(()=>{class n{constructor(e,i){this.viewContainer=e,this.elementRef=i}}return n.\u0275fac=function(e){return new(e||n)(M(Si),M(Zt))},n.\u0275dir=rt({type:n,selectors:[["","rowOutlet",""]]}),n})(),L_=(()=>{class n{constructor(e,i){this.viewContainer=e,this.elementRef=i}}return n.\u0275fac=function(e){return new(e||n)(M(Si),M(Zt))},n.\u0275dir=rt({type:n,selectors:[["","headerRowOutlet",""]]}),n})(),O_=(()=>{class n{constructor(e,i){this.viewContainer=e,this.elementRef=i}}return n.\u0275fac=function(e){return new(e||n)(M(Si),M(Zt))},n.\u0275dir=rt({type:n,selectors:[["","footerRowOutlet",""]]}),n})(),P_=(()=>{class n{constructor(e,i){this.viewContainer=e,this.elementRef=i}}return n.\u0275fac=function(e){return new(e||n)(M(Si),M(Zt))},n.\u0275dir=rt({type:n,selectors:[["","noDataRowOutlet",""]]}),n})(),F_=(()=>{class n{constructor(e,i,r,s,o,a,l,h,f,D,k,Y){this._differs=e,this._changeDetectorRef=i,this._elementRef=r,this._dir=o,this._platform=l,this._viewRepeater=h,this._coalescedStyleScheduler=f,this._viewportRuler=D,this._stickyPositioningListener=k,this._ngZone=Y,this._onDestroy=new K,this._columnDefsByName=new Map,this._customColumnDefs=new Set,this._customRowDefs=new Set,this._customHeaderRowDefs=new Set,this._customFooterRowDefs=new Set,this._headerRowDefChanged=!0,this._footerRowDefChanged=!0,this._stickyColumnStylesNeedReset=!0,this._forceRecalculateCellWidths=!0,this._cachedRenderRowsMap=new Map,this.stickyCssClass="cdk-table-sticky",this.needsPositionStickyOnElement=!0,this._isShowingNoDataRow=!1,this._multiTemplateDataRows=!1,this._fixedLayout=!1,this.contentChanged=new Yt,this.viewChange=new xi({start:0,end:Number.MAX_VALUE}),s||this._elementRef.nativeElement.setAttribute("role","table"),this._document=a,this._isNativeHtmlTable="TABLE"===this._elementRef.nativeElement.nodeName}get trackBy(){return this._trackByFn}set trackBy(e){this._trackByFn=e}get dataSource(){return this._dataSource}set dataSource(e){this._dataSource!==e&&this._switchDataSource(e)}get multiTemplateDataRows(){return this._multiTemplateDataRows}set multiTemplateDataRows(e){this._multiTemplateDataRows=nn(e),this._rowOutlet&&this._rowOutlet.viewContainer.length&&(this._forceRenderDataRows(),this.updateStickyColumnStyles())}get fixedLayout(){return this._fixedLayout}set fixedLayout(e){this._fixedLayout=nn(e),this._forceRecalculateCellWidths=!0,this._stickyColumnStylesNeedReset=!0}ngOnInit(){this._setupStickyStyler(),this._isNativeHtmlTable&&this._applyNativeTableSections(),this._dataDiffer=this._differs.find([]).create((e,i)=>this.trackBy?this.trackBy(i.dataIndex,i.data):i),this._viewportRuler.change().pipe(vn(this._onDestroy)).subscribe(()=>{this._forceRecalculateCellWidths=!0})}ngAfterContentChecked(){this._cacheRowDefs(),this._cacheColumnDefs();const i=this._renderUpdatedColumns()||this._headerRowDefChanged||this._footerRowDefChanged;this._stickyColumnStylesNeedReset=this._stickyColumnStylesNeedReset||i,this._forceRecalculateCellWidths=i,this._headerRowDefChanged&&(this._forceRenderHeaderRows(),this._headerRowDefChanged=!1),this._footerRowDefChanged&&(this._forceRenderFooterRows(),this._footerRowDefChanged=!1),this.dataSource&&this._rowDefs.length>0&&!this._renderChangeSubscription?this._observeRenderChanges():this._stickyColumnStylesNeedReset&&this.updateStickyColumnStyles(),this._checkStickyStates()}ngOnDestroy(){[this._rowOutlet.viewContainer,this._headerRowOutlet.viewContainer,this._footerRowOutlet.viewContainer,this._cachedRenderRowsMap,this._customColumnDefs,this._customRowDefs,this._customHeaderRowDefs,this._customFooterRowDefs,this._columnDefsByName].forEach(e=>{e.clear()}),this._headerRowDefs=[],this._footerRowDefs=[],this._defaultRowDef=null,this._onDestroy.next(),this._onDestroy.complete(),k_(this.dataSource)&&this.dataSource.disconnect(this)}renderRows(){this._renderRows=this._getAllRenderRows();const e=this._dataDiffer.diff(this._renderRows);if(!e)return this._updateNoDataRow(),void this.contentChanged.next();const i=this._rowOutlet.viewContainer;this._viewRepeater.applyChanges(e,i,(r,s,o)=>this._getEmbeddedViewArgs(r.item,o),r=>r.item.data,r=>{1===r.operation&&r.context&&this._renderCellTemplateForItem(r.record.item.rowDef,r.context)}),this._updateRowIndexContext(),e.forEachIdentityChange(r=>{i.get(r.currentIndex).context.$implicit=r.item.data}),this._updateNoDataRow(),this._ngZone&&yn.isInAngularZone()?this._ngZone.onStable.pipe(Ii(1),vn(this._onDestroy)).subscribe(()=>{this.updateStickyColumnStyles()}):this.updateStickyColumnStyles(),this.contentChanged.next()}addColumnDef(e){this._customColumnDefs.add(e)}removeColumnDef(e){this._customColumnDefs.delete(e)}addRowDef(e){this._customRowDefs.add(e)}removeRowDef(e){this._customRowDefs.delete(e)}addHeaderRowDef(e){this._customHeaderRowDefs.add(e),this._headerRowDefChanged=!0}removeHeaderRowDef(e){this._customHeaderRowDefs.delete(e),this._headerRowDefChanged=!0}addFooterRowDef(e){this._customFooterRowDefs.add(e),this._footerRowDefChanged=!0}removeFooterRowDef(e){this._customFooterRowDefs.delete(e),this._footerRowDefChanged=!0}setNoDataRow(e){this._customNoDataRow=e}updateStickyHeaderRowStyles(){const e=this._getRenderedRows(this._headerRowOutlet),r=this._elementRef.nativeElement.querySelector("thead");r&&(r.style.display=e.length?"":"none");const s=this._headerRowDefs.map(o=>o.sticky);this._stickyStyler.clearStickyPositioning(e,["top"]),this._stickyStyler.stickRows(e,s,"top"),this._headerRowDefs.forEach(o=>o.resetStickyChanged())}updateStickyFooterRowStyles(){const e=this._getRenderedRows(this._footerRowOutlet),r=this._elementRef.nativeElement.querySelector("tfoot");r&&(r.style.display=e.length?"":"none");const s=this._footerRowDefs.map(o=>o.sticky);this._stickyStyler.clearStickyPositioning(e,["bottom"]),this._stickyStyler.stickRows(e,s,"bottom"),this._stickyStyler.updateStickyFooterContainer(this._elementRef.nativeElement,s),this._footerRowDefs.forEach(o=>o.resetStickyChanged())}updateStickyColumnStyles(){const e=this._getRenderedRows(this._headerRowOutlet),i=this._getRenderedRows(this._rowOutlet),r=this._getRenderedRows(this._footerRowOutlet);(this._isNativeHtmlTable&&!this._fixedLayout||this._stickyColumnStylesNeedReset)&&(this._stickyStyler.clearStickyPositioning([...e,...i,...r],["left","right"]),this._stickyColumnStylesNeedReset=!1),e.forEach((s,o)=>{this._addStickyColumnStyles([s],this._headerRowDefs[o])}),this._rowDefs.forEach(s=>{const o=[];for(let a=0;a{this._addStickyColumnStyles([s],this._footerRowDefs[o])}),Array.from(this._columnDefsByName.values()).forEach(s=>s.resetStickyChanged())}_getAllRenderRows(){const e=[],i=this._cachedRenderRowsMap;this._cachedRenderRowsMap=new Map;for(let r=0;r{const a=r&&r.has(o)?r.get(o):[];if(a.length){const l=a.shift();return l.dataIndex=i,l}return{data:e,rowDef:o,dataIndex:i}})}_cacheColumnDefs(){this._columnDefsByName.clear(),N_(this._getOwnDefs(this._contentColumnDefs),this._customColumnDefs).forEach(i=>{this._columnDefsByName.has(i.name),this._columnDefsByName.set(i.name,i)})}_cacheRowDefs(){this._headerRowDefs=N_(this._getOwnDefs(this._contentHeaderRowDefs),this._customHeaderRowDefs),this._footerRowDefs=N_(this._getOwnDefs(this._contentFooterRowDefs),this._customFooterRowDefs),this._rowDefs=N_(this._getOwnDefs(this._contentRowDefs),this._customRowDefs);const e=this._rowDefs.filter(i=>!i.when);this._defaultRowDef=e[0]}_renderUpdatedColumns(){const e=(o,a)=>o||!!a.getColumnsDiff(),i=this._rowDefs.reduce(e,!1);i&&this._forceRenderDataRows();const r=this._headerRowDefs.reduce(e,!1);r&&this._forceRenderHeaderRows();const s=this._footerRowDefs.reduce(e,!1);return s&&this._forceRenderFooterRows(),i||r||s}_switchDataSource(e){this._data=[],k_(this.dataSource)&&this.dataSource.disconnect(this),this._renderChangeSubscription&&(this._renderChangeSubscription.unsubscribe(),this._renderChangeSubscription=null),e||(this._dataDiffer&&this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear()),this._dataSource=e}_observeRenderChanges(){if(!this.dataSource)return;let e;k_(this.dataSource)?e=this.dataSource.connect(this):function LD(n){return!!n&&(n instanceof st||"function"==typeof n.lift&&"function"==typeof n.subscribe)}(this.dataSource)?e=this.dataSource:Array.isArray(this.dataSource)&&(e=Wt(this.dataSource)),this._renderChangeSubscription=e.pipe(vn(this._onDestroy)).subscribe(i=>{this._data=i||[],this.renderRows()})}_forceRenderHeaderRows(){this._headerRowOutlet.viewContainer.length>0&&this._headerRowOutlet.viewContainer.clear(),this._headerRowDefs.forEach((e,i)=>this._renderRow(this._headerRowOutlet,e,i)),this.updateStickyHeaderRowStyles()}_forceRenderFooterRows(){this._footerRowOutlet.viewContainer.length>0&&this._footerRowOutlet.viewContainer.clear(),this._footerRowDefs.forEach((e,i)=>this._renderRow(this._footerRowOutlet,e,i)),this.updateStickyFooterRowStyles()}_addStickyColumnStyles(e,i){const r=Array.from(i.columns||[]).map(a=>this._columnDefsByName.get(a)),s=r.map(a=>a.sticky),o=r.map(a=>a.stickyEnd);this._stickyStyler.updateStickyColumns(e,s,o,!this._fixedLayout||this._forceRecalculateCellWidths)}_getRenderedRows(e){const i=[];for(let r=0;r!s.when||s.when(i,e));else{let s=this._rowDefs.find(o=>o.when&&o.when(i,e))||this._defaultRowDef;s&&r.push(s)}return r}_getEmbeddedViewArgs(e,i){return{templateRef:e.rowDef.template,context:{$implicit:e.data},index:i}}_renderRow(e,i,r,s={}){const o=e.viewContainer.createEmbeddedView(i.template,s,r);return this._renderCellTemplateForItem(i,s),o}_renderCellTemplateForItem(e,i){for(let r of this._getCellTemplates(e))pl.mostRecentCellOutlet&&pl.mostRecentCellOutlet._viewContainer.createEmbeddedView(r,i);this._changeDetectorRef.markForCheck()}_updateRowIndexContext(){const e=this._rowOutlet.viewContainer;for(let i=0,r=e.length;i{const r=this._columnDefsByName.get(i);return e.extractCellTemplate(r)}):[]}_applyNativeTableSections(){const e=this._document.createDocumentFragment(),i=[{tag:"thead",outlets:[this._headerRowOutlet]},{tag:"tbody",outlets:[this._rowOutlet,this._noDataRowOutlet]},{tag:"tfoot",outlets:[this._footerRowOutlet]}];for(const r of i){const s=this._document.createElement(r.tag);s.setAttribute("role","rowgroup");for(const o of r.outlets)s.appendChild(o.elementRef.nativeElement);e.appendChild(s)}this._elementRef.nativeElement.appendChild(e)}_forceRenderDataRows(){this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear(),this.renderRows()}_checkStickyStates(){const e=(i,r)=>i||r.hasStickyChanged();this._headerRowDefs.reduce(e,!1)&&this.updateStickyHeaderRowStyles(),this._footerRowDefs.reduce(e,!1)&&this.updateStickyFooterRowStyles(),Array.from(this._columnDefsByName.values()).reduce(e,!1)&&(this._stickyColumnStylesNeedReset=!0,this.updateStickyColumnStyles())}_setupStickyStyler(){this._stickyStyler=new O9(this._isNativeHtmlTable,this.stickyCssClass,this._dir?this._dir.value:"ltr",this._coalescedStyleScheduler,this._platform.isBrowser,this.needsPositionStickyOnElement,this._stickyPositioningListener),(this._dir?this._dir.change:Wt()).pipe(vn(this._onDestroy)).subscribe(i=>{this._stickyStyler.direction=i,this.updateStickyColumnStyles()})}_getOwnDefs(e){return e.filter(i=>!i._table||i._table===this)}_updateNoDataRow(){const e=this._customNoDataRow||this._noDataRow;if(!e)return;const i=0===this._rowOutlet.viewContainer.length;if(i===this._isShowingNoDataRow)return;const r=this._noDataRowOutlet.viewContainer;if(i){const s=r.createEmbeddedView(e.templateRef),o=s.rootNodes[0];1===s.rootNodes.length&&(null==o?void 0:o.nodeType)===this._document.ELEMENT_NODE&&(o.setAttribute("role","row"),o.classList.add(e._contentClassName))}else r.clear();this._isShowingNoDataRow=i}}return n.\u0275fac=function(e){return new(e||n)(M(_o),M(Gn),M(Zt),_r("role"),M(Hr,8),M(Dn),M(zi),M(Gp),M(jD),M(So),M(qD,12),M(yn,8))},n.\u0275cmp=At({type:n,selectors:[["cdk-table"],["table","cdk-table",""]],contentQueries:function(e,i,r){if(1&e&&(Pn(r,A_,5),Pn(r,hl,5),Pn(r,I_,5),Pn(r,$p,5),Pn(r,Wp,5)),2&e){let s;Et(s=Ct())&&(i._noDataRow=s.first),Et(s=Ct())&&(i._contentColumnDefs=s),Et(s=Ct())&&(i._contentRowDefs=s),Et(s=Ct())&&(i._contentHeaderRowDefs=s),Et(s=Ct())&&(i._contentFooterRowDefs=s)}},viewQuery:function(e,i){if(1&e&&(hn(R_,7),hn(L_,7),hn(O_,7),hn(P_,7)),2&e){let r;Et(r=Ct())&&(i._rowOutlet=r.first),Et(r=Ct())&&(i._headerRowOutlet=r.first),Et(r=Ct())&&(i._footerRowOutlet=r.first),Et(r=Ct())&&(i._noDataRowOutlet=r.first)}},hostAttrs:[1,"cdk-table"],hostVars:2,hostBindings:function(e,i){2&e&&Cn("cdk-table-fixed-layout",i.fixedLayout)},inputs:{trackBy:"trackBy",dataSource:"dataSource",multiTemplateDataRows:"multiTemplateDataRows",fixedLayout:"fixedLayout"},outputs:{contentChanged:"contentChanged"},exportAs:["cdkTable"],features:[tn([{provide:Ld,useExisting:n},{provide:Gp,useClass:fL},{provide:jD,useClass:vL},{provide:qD,useValue:null}])],ngContentSelectors:E9,decls:6,vars:0,consts:[["headerRowOutlet",""],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(e,i){1&e&&(yi(D9),Sn(0),Sn(1,1),ys(2,0)(3,1)(4,2)(5,3))},directives:[L_,R_,P_,O_],styles:[".cdk-table-fixed-layout{table-layout:fixed}\n"],encapsulation:2}),n})();function N_(n,t){return n.concat(Array.from(t))}let ML=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Ht({type:n}),n.\u0275inj=He({imports:[[D_]]}),n})(),DL=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Ht({type:n}),n.\u0275inj=He({}),n})();function Y9(n,t){if(1&n&&wt(0,"mat-pseudo-checkbox",4),2&n){const e=Ce();H("state",e.selected?"checked":"unchecked")("disabled",e.disabled)}}function H9(n,t){if(1&n&&(x(0,"span",5),Me(1),O()),2&n){const e=Ce();j(1),an("(",e.group.label,")")}}const V9=["*"];let $D=(()=>{class n{}return n.STANDARD_CURVE="cubic-bezier(0.4,0.0,0.2,1)",n.DECELERATION_CURVE="cubic-bezier(0.0,0.0,0.2,1)",n.ACCELERATION_CURVE="cubic-bezier(0.4,0.0,1,1)",n.SHARP_CURVE="cubic-bezier(0.4,0.0,0.6,1)",n})(),WD=(()=>{class n{}return n.COMPLEX="375ms",n.ENTERING="225ms",n.EXITING="195ms",n})();const U9=new pt("mat-sanity-checks",{providedIn:"root",factory:function q9(){return!0}});let mn=(()=>{class n{constructor(e,i,r){this._sanityChecks=i,this._document=r,this._hasDoneGlobalChecks=!1,e._applyBodyHighContrastModeCssClasses(),this._hasDoneGlobalChecks||(this._hasDoneGlobalChecks=!0)}_checkIsEnabled(e){return!fD()&&("boolean"==typeof this._sanityChecks?this._sanityChecks:!!this._sanityChecks[e])}}return n.\u0275fac=function(e){return new(e||n)(Se($R),Se(U9,8),Se(Dn))},n.\u0275mod=Ht({type:n}),n.\u0275inj=He({imports:[[Ad],Ad]}),n})();function eo(n){return class extends n{constructor(...t){super(...t),this._disabled=!1}get disabled(){return this._disabled}set disabled(t){this._disabled=nn(t)}}}function Ya(n,t){return class extends n{constructor(...e){super(...e),this.defaultColor=t,this.color=t}get color(){return this._color}set color(e){const i=e||this.defaultColor;i!==this._color&&(this._color&&this._elementRef.nativeElement.classList.remove(`mat-${this._color}`),i&&this._elementRef.nativeElement.classList.add(`mat-${i}`),this._color=i)}}}function to(n){return class extends n{constructor(...t){super(...t),this._disableRipple=!1}get disableRipple(){return this._disableRipple}set disableRipple(t){this._disableRipple=nn(t)}}}function nc(n,t=0){return class extends n{constructor(...e){super(...e),this._tabIndex=t,this.defaultTabIndex=t}get tabIndex(){return this.disabled?-1:this._tabIndex}set tabIndex(e){this._tabIndex=null!=e?Ai(e):this.defaultTabIndex}}}function QD(n){return class extends n{constructor(...t){super(...t),this.stateChanges=new K,this.errorState=!1}updateErrorState(){const t=this.errorState,s=(this.errorStateMatcher||this._defaultErrorStateMatcher).isErrorState(this.ngControl?this.ngControl.control:null,this._parentFormGroup||this._parentForm);s!==t&&(this.errorState=s,this.stateChanges.next())}}}function TL(n){return class extends n{constructor(...t){super(...t),this._isInitialized=!1,this._pendingSubscribers=[],this.initialized=new st(e=>{this._isInitialized?this._notifySubscriber(e):this._pendingSubscribers.push(e)})}_markInitialized(){this._isInitialized=!0,this._pendingSubscribers.forEach(this._notifySubscriber),this._pendingSubscribers=null}_notifySubscriber(t){t.next(),t.complete()}}}const z9=new pt("MAT_DATE_LOCALE",{providedIn:"root",factory:function G9(){return Ah(tl)}});class Ha{constructor(){this._localeChanges=new K,this.localeChanges=this._localeChanges}getValidDateOrNull(t){return this.isDateInstance(t)&&this.isValid(t)?t:null}deserialize(t){return null==t||this.isDateInstance(t)&&this.isValid(t)?t:this.invalid()}setLocale(t){this.locale=t,this._localeChanges.next()}compareDate(t,e){return this.getYear(t)-this.getYear(e)||this.getMonth(t)-this.getMonth(e)||this.getDate(t)-this.getDate(e)}sameDate(t,e){if(t&&e){let i=this.isValid(t),r=this.isValid(e);return i&&r?!this.compareDate(t,e):i==r}return t==e}clampDate(t,e,i){return e&&this.compareDate(t,e)<0?e:i&&this.compareDate(t,i)>0?i:t}}const KD=new pt("mat-date-formats"),$9=/^\d{4}-\d{2}-\d{2}(?:T\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|(?:(?:\+|-)\d{2}:\d{2}))?)?$/;function ZD(n,t){const e=Array(n);for(let i=0;i{class n extends Ha{constructor(e,i){super(),this.useUtcForDisplay=!1,super.setLocale(e)}getYear(e){return e.getFullYear()}getMonth(e){return e.getMonth()}getDate(e){return e.getDate()}getDayOfWeek(e){return e.getDay()}getMonthNames(e){const i=new Intl.DateTimeFormat(this.locale,{month:e,timeZone:"utc"});return ZD(12,r=>this._format(i,new Date(2017,r,1)))}getDateNames(){const e=new Intl.DateTimeFormat(this.locale,{day:"numeric",timeZone:"utc"});return ZD(31,i=>this._format(e,new Date(2017,0,i+1)))}getDayOfWeekNames(e){const i=new Intl.DateTimeFormat(this.locale,{weekday:e,timeZone:"utc"});return ZD(7,r=>this._format(i,new Date(2017,0,r+1)))}getYearName(e){const i=new Intl.DateTimeFormat(this.locale,{year:"numeric",timeZone:"utc"});return this._format(i,e)}getFirstDayOfWeek(){return 0}getNumDaysInMonth(e){return this.getDate(this._createDateWithOverflow(this.getYear(e),this.getMonth(e)+1,0))}clone(e){return new Date(e.getTime())}createDate(e,i,r){let s=this._createDateWithOverflow(e,i,r);return s.getMonth(),s}today(){return new Date}parse(e){return"number"==typeof e?new Date(e):e?new Date(Date.parse(e)):null}format(e,i){if(!this.isValid(e))throw Error("NativeDateAdapter: Cannot format invalid date.");const r=new Intl.DateTimeFormat(this.locale,Object.assign(Object.assign({},i),{timeZone:"utc"}));return this._format(r,e)}addCalendarYears(e,i){return this.addCalendarMonths(e,12*i)}addCalendarMonths(e,i){let r=this._createDateWithOverflow(this.getYear(e),this.getMonth(e)+i,this.getDate(e));return this.getMonth(r)!=((this.getMonth(e)+i)%12+12)%12&&(r=this._createDateWithOverflow(this.getYear(r),this.getMonth(r),0)),r}addCalendarDays(e,i){return this._createDateWithOverflow(this.getYear(e),this.getMonth(e),this.getDate(e)+i)}toIso8601(e){return[e.getUTCFullYear(),this._2digit(e.getUTCMonth()+1),this._2digit(e.getUTCDate())].join("-")}deserialize(e){if("string"==typeof e){if(!e)return null;if($9.test(e)){let i=new Date(e);if(this.isValid(i))return i}}return super.deserialize(e)}isDateInstance(e){return e instanceof Date}isValid(e){return!isNaN(e.getTime())}invalid(){return new Date(NaN)}_createDateWithOverflow(e,i,r){const s=new Date;return s.setFullYear(e,i,r),s.setHours(0,0,0,0),s}_2digit(e){return("00"+e).slice(-2)}_format(e,i){const r=new Date;return r.setUTCFullYear(i.getFullYear(),i.getMonth(),i.getDate()),r.setUTCHours(i.getHours(),i.getMinutes(),i.getSeconds(),i.getMilliseconds()),e.format(r)}}return n.\u0275fac=function(e){return new(e||n)(Se(z9,8),Se(zi))},n.\u0275prov=De({token:n,factory:n.\u0275fac}),n})();const Q9={parse:{dateInput:null},display:{dateInput:{year:"numeric",month:"numeric",day:"numeric"},monthYearLabel:{year:"numeric",month:"short"},dateA11yLabel:{year:"numeric",month:"long",day:"numeric"},monthYearA11yLabel:{year:"numeric",month:"long"}}};let K9=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Ht({type:n}),n.\u0275inj=He({providers:[{provide:Ha,useClass:W9}]}),n})(),Z9=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Ht({type:n}),n.\u0275inj=He({providers:[{provide:KD,useValue:Q9}],imports:[[K9]]}),n})(),Fd=(()=>{class n{isErrorState(e,i){return!!(e&&e.invalid&&(e.touched||i&&i.submitted))}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=De({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),SL=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=rt({type:n,selectors:[["","mat-line",""],["","matLine",""]],hostAttrs:[1,"mat-line"]}),n})();function Kp(n,t,e){n.nativeElement.classList.toggle(t,e)}let Y_=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Ht({type:n}),n.\u0275inj=He({imports:[[mn],mn]}),n})();class X9{constructor(t,e,i){this._renderer=t,this.element=e,this.config=i,this.state=3}fadeOut(){this._renderer.fadeOutRipple(this)}}const xL={enterDuration:225,exitDuration:150},XD=ia({passive:!0}),IL=["mousedown","touchstart"],AL=["mouseup","mouseleave","touchend","touchcancel"];class RL{constructor(t,e,i,r){this._target=t,this._ngZone=e,this._isPointerDown=!1,this._activeRipples=new Set,this._pointerUpEventsRegistered=!1,r.isBrowser&&(this._containerElement=Dr(i))}fadeInRipple(t,e,i={}){const r=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),s=Object.assign(Object.assign({},xL),i.animation);i.centered&&(t=r.left+r.width/2,e=r.top+r.height/2);const o=i.radius||function t7(n,t,e){const i=Math.max(Math.abs(n-e.left),Math.abs(n-e.right)),r=Math.max(Math.abs(t-e.top),Math.abs(t-e.bottom));return Math.sqrt(i*i+r*r)}(t,e,r),a=t-r.left,l=e-r.top,h=s.enterDuration,f=document.createElement("div");f.classList.add("mat-ripple-element"),f.style.left=a-o+"px",f.style.top=l-o+"px",f.style.height=2*o+"px",f.style.width=2*o+"px",null!=i.color&&(f.style.backgroundColor=i.color),f.style.transitionDuration=`${h}ms`,this._containerElement.appendChild(f),function e7(n){window.getComputedStyle(n).getPropertyValue("opacity")}(f),f.style.transform="scale(1)";const D=new X9(this,f,i);return D.state=0,this._activeRipples.add(D),i.persistent||(this._mostRecentTransientRipple=D),this._runTimeoutOutsideZone(()=>{const k=D===this._mostRecentTransientRipple;D.state=1,!i.persistent&&(!k||!this._isPointerDown)&&D.fadeOut()},h),D}fadeOutRipple(t){const e=this._activeRipples.delete(t);if(t===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),this._activeRipples.size||(this._containerRect=null),!e)return;const i=t.element,r=Object.assign(Object.assign({},xL),t.config.animation);i.style.transitionDuration=`${r.exitDuration}ms`,i.style.opacity="0",t.state=2,this._runTimeoutOutsideZone(()=>{t.state=3,i.remove()},r.exitDuration)}fadeOutAll(){this._activeRipples.forEach(t=>t.fadeOut())}fadeOutAllNonPersistent(){this._activeRipples.forEach(t=>{t.config.persistent||t.fadeOut()})}setupTriggerEvents(t){const e=Dr(t);!e||e===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=e,this._registerEvents(IL))}handleEvent(t){"mousedown"===t.type?this._onMousedown(t):"touchstart"===t.type?this._onTouchStart(t):this._onPointerUp(),this._pointerUpEventsRegistered||(this._registerEvents(AL),this._pointerUpEventsRegistered=!0)}_onMousedown(t){const e=__(t),i=this._lastTouchStartEvent&&Date.now(){!t.config.persistent&&(1===t.state||t.config.terminateOnPointerUp&&0===t.state)&&t.fadeOut()}))}_runTimeoutOutsideZone(t,e=0){this._ngZone.runOutsideAngular(()=>setTimeout(t,e))}_registerEvents(t){this._ngZone.runOutsideAngular(()=>{t.forEach(e=>{this._triggerElement.addEventListener(e,this,XD)})})}_removeTriggerEvents(){this._triggerElement&&(IL.forEach(t=>{this._triggerElement.removeEventListener(t,this,XD)}),this._pointerUpEventsRegistered&&AL.forEach(t=>{this._triggerElement.removeEventListener(t,this,XD)}))}}const LL=new pt("mat-ripple-global-options");let no=(()=>{class n{constructor(e,i,r,s,o){this._elementRef=e,this._animationMode=o,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=s||{},this._rippleRenderer=new RL(this,i,e,r)}get disabled(){return this._disabled}set disabled(e){e&&this.fadeOutAllNonPersistent(),this._disabled=e,this._setupTriggerEventsIfEnabled()}get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(e){this._trigger=e,this._setupTriggerEventsIfEnabled()}ngOnInit(){this._isInitialized=!0,this._setupTriggerEventsIfEnabled()}ngOnDestroy(){this._rippleRenderer._removeTriggerEvents()}fadeOutAll(){this._rippleRenderer.fadeOutAll()}fadeOutAllNonPersistent(){this._rippleRenderer.fadeOutAllNonPersistent()}get rippleConfig(){return{centered:this.centered,radius:this.radius,color:this.color,animation:Object.assign(Object.assign(Object.assign({},this._globalOptions.animation),"NoopAnimations"===this._animationMode?{enterDuration:0,exitDuration:0}:{}),this.animation),terminateOnPointerUp:this._globalOptions.terminateOnPointerUp}}get rippleDisabled(){return this.disabled||!!this._globalOptions.disabled}_setupTriggerEventsIfEnabled(){!this.disabled&&this._isInitialized&&this._rippleRenderer.setupTriggerEvents(this.trigger)}launch(e,i=0,r){return"number"==typeof e?this._rippleRenderer.fadeInRipple(e,i,Object.assign(Object.assign({},this.rippleConfig),r)):this._rippleRenderer.fadeInRipple(0,0,Object.assign(Object.assign({},this.rippleConfig),e))}}return n.\u0275fac=function(e){return new(e||n)(M(Zt),M(yn),M(zi),M(LL,8),M(Zi,8))},n.\u0275dir=rt({type:n,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(e,i){2&e&&Cn("mat-ripple-unbounded",i.unbounded)},inputs:{color:["matRippleColor","color"],unbounded:["matRippleUnbounded","unbounded"],centered:["matRippleCentered","centered"],radius:["matRippleRadius","radius"],animation:["matRippleAnimation","animation"],disabled:["matRippleDisabled","disabled"],trigger:["matRippleTrigger","trigger"]},exportAs:["matRipple"]}),n})(),sa=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Ht({type:n}),n.\u0275inj=He({imports:[[mn],mn]}),n})(),OL=(()=>{class n{constructor(e){this._animationMode=e,this.state="unchecked",this.disabled=!1}}return n.\u0275fac=function(e){return new(e||n)(M(Zi,8))},n.\u0275cmp=At({type:n,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:8,hostBindings:function(e,i){2&e&&Cn("mat-pseudo-checkbox-indeterminate","indeterminate"===i.state)("mat-pseudo-checkbox-checked","checked"===i.state)("mat-pseudo-checkbox-disabled",i.disabled)("_mat-animation-noopable","NoopAnimations"===i._animationMode)},inputs:{state:"state",disabled:"disabled"},decls:0,vars:0,template:function(e,i){},styles:['.mat-pseudo-checkbox{width:16px;height:16px;border:2px solid;border-radius:2px;cursor:pointer;display:inline-block;vertical-align:middle;box-sizing:border-box;position:relative;flex-shrink:0;transition:border-color 90ms cubic-bezier(0, 0, 0.2, 0.1),background-color 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox::after{position:absolute;opacity:0;content:"";border-bottom:2px solid currentColor;transition:opacity 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox.mat-pseudo-checkbox-checked,.mat-pseudo-checkbox.mat-pseudo-checkbox-indeterminate{border-color:transparent}._mat-animation-noopable.mat-pseudo-checkbox{transition:none;animation:none}._mat-animation-noopable.mat-pseudo-checkbox::after{transition:none}.mat-pseudo-checkbox-disabled{cursor:default}.mat-pseudo-checkbox-indeterminate::after{top:5px;left:1px;width:10px;opacity:1;border-radius:2px}.mat-pseudo-checkbox-checked::after{top:2.4px;left:1px;width:8px;height:3px;border-left:2px solid currentColor;transform:rotate(-45deg);opacity:1;box-sizing:content-box}\n'],encapsulation:2,changeDetection:0}),n})(),JD=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Ht({type:n}),n.\u0275inj=He({imports:[[mn]]}),n})();const PL=new pt("MAT_OPTION_PARENT_COMPONENT"),FL=new pt("MatOptgroup");let n7=0;class NL{constructor(t,e=!1){this.source=t,this.isUserInput=e}}let r7=(()=>{class n{constructor(e,i,r,s){this._element=e,this._changeDetectorRef=i,this._parent=r,this.group=s,this._selected=!1,this._active=!1,this._disabled=!1,this._mostRecentViewValue="",this.id="mat-option-"+n7++,this.onSelectionChange=new Yt,this._stateChanges=new K}get multiple(){return this._parent&&this._parent.multiple}get selected(){return this._selected}get disabled(){return this.group&&this.group.disabled||this._disabled}set disabled(e){this._disabled=nn(e)}get disableRipple(){return!(!this._parent||!this._parent.disableRipple)}get active(){return this._active}get viewValue(){return(this._getHostElement().textContent||"").trim()}select(){this._selected||(this._selected=!0,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent())}deselect(){this._selected&&(this._selected=!1,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent())}focus(e,i){const r=this._getHostElement();"function"==typeof r.focus&&r.focus(i)}setActiveStyles(){this._active||(this._active=!0,this._changeDetectorRef.markForCheck())}setInactiveStyles(){this._active&&(this._active=!1,this._changeDetectorRef.markForCheck())}getLabel(){return this.viewValue}_handleKeydown(e){(13===e.keyCode||32===e.keyCode)&&!Qr(e)&&(this._selectViaInteraction(),e.preventDefault())}_selectViaInteraction(){this.disabled||(this._selected=!this.multiple||!this._selected,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent(!0))}_getAriaSelected(){return this.selected||!this.multiple&&null}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._element.nativeElement}ngAfterViewChecked(){if(this._selected){const e=this.viewValue;e!==this._mostRecentViewValue&&(this._mostRecentViewValue=e,this._stateChanges.next())}}ngOnDestroy(){this._stateChanges.complete()}_emitSelectionChangeEvent(e=!1){this.onSelectionChange.emit(new NL(this,e))}}return n.\u0275fac=function(e){Ja()},n.\u0275dir=rt({type:n,inputs:{value:"value",id:"id",disabled:"disabled"},outputs:{onSelectionChange:"onSelectionChange"}}),n})(),oa=(()=>{class n extends r7{constructor(e,i,r,s){super(e,i,r,s)}}return n.\u0275fac=function(e){return new(e||n)(M(Zt),M(Gn),M(PL,8),M(FL,8))},n.\u0275cmp=At({type:n,selectors:[["mat-option"]],hostAttrs:["role","option",1,"mat-option","mat-focus-indicator"],hostVars:12,hostBindings:function(e,i){1&e&&tt("click",function(){return i._selectViaInteraction()})("keydown",function(s){return i._handleKeydown(s)}),2&e&&(go("id",i.id),dn("tabindex",i._getTabIndex())("aria-selected",i._getAriaSelected())("aria-disabled",i.disabled.toString()),Cn("mat-selected",i.selected)("mat-option-multiple",i.multiple)("mat-active",i.active)("mat-option-disabled",i.disabled))},exportAs:["matOption"],features:[It],ngContentSelectors:V9,decls:5,vars:4,consts:[["class","mat-option-pseudo-checkbox",3,"state","disabled",4,"ngIf"],[1,"mat-option-text"],["class","cdk-visually-hidden",4,"ngIf"],["mat-ripple","",1,"mat-option-ripple",3,"matRippleTrigger","matRippleDisabled"],[1,"mat-option-pseudo-checkbox",3,"state","disabled"],[1,"cdk-visually-hidden"]],template:function(e,i){1&e&&(yi(),Ae(0,Y9,1,2,"mat-pseudo-checkbox",0),x(1,"span",1),Sn(2),O(),Ae(3,H9,2,1,"span",2),wt(4,"div",3)),2&e&&(H("ngIf",i.multiple),j(3),H("ngIf",i.group&&i.group._inert),j(1),H("matRippleTrigger",i._getHostElement())("matRippleDisabled",i.disabled||i.disableRipple))},directives:[OL,ai,no],styles:[".mat-option{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;line-height:48px;height:48px;padding:0 16px;text-align:left;text-decoration:none;max-width:100%;position:relative;cursor:pointer;outline:none;display:flex;flex-direction:row;max-width:100%;box-sizing:border-box;align-items:center;-webkit-tap-highlight-color:transparent}.mat-option[disabled]{cursor:default}[dir=rtl] .mat-option{text-align:right}.mat-option .mat-icon{margin-right:16px;vertical-align:middle}.mat-option .mat-icon svg{vertical-align:top}[dir=rtl] .mat-option .mat-icon{margin-left:16px;margin-right:0}.mat-option[aria-disabled=true]{-webkit-user-select:none;user-select:none;cursor:default}.mat-optgroup .mat-option:not(.mat-option-multiple){padding-left:32px}[dir=rtl] .mat-optgroup .mat-option:not(.mat-option-multiple){padding-left:16px;padding-right:32px}.cdk-high-contrast-active .mat-option{margin:0 1px}.cdk-high-contrast-active .mat-option.mat-active{border:solid 1px currentColor;margin:0}.cdk-high-contrast-active .mat-option[aria-disabled=true]{opacity:.5}.mat-option-text{display:inline-block;flex-grow:1;overflow:hidden;text-overflow:ellipsis}.mat-option .mat-option-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-option-pseudo-checkbox{margin-right:8px}[dir=rtl] .mat-option-pseudo-checkbox{margin-left:8px;margin-right:0}\n"],encapsulation:2,changeDetection:0}),n})();function H_(n,t,e){if(e.length){let i=t.toArray(),r=e.toArray(),s=0;for(let o=0;o{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Ht({type:n}),n.\u0275inj=He({imports:[[sa,di,mn,JD]]}),n})();class e0{attach(t){return this._attachedHost=t,t.attach(this)}detach(){let t=this._attachedHost;null!=t&&(this._attachedHost=null,t.detach())}get isAttached(){return null!=this._attachedHost}setAttachedHost(t){this._attachedHost=t}}class Nd extends e0{constructor(t,e,i,r){super(),this.component=t,this.viewContainerRef=e,this.injector=i,this.componentFactoryResolver=r}}class ic extends e0{constructor(t,e,i){super(),this.templateRef=t,this.viewContainerRef=e,this.context=i}get origin(){return this.templateRef.elementRef}attach(t,e=this.context){return this.context=e,super.attach(t)}detach(){return this.context=void 0,super.detach()}}class s7 extends e0{constructor(t){super(),this.element=t instanceof Zt?t.nativeElement:t}}class q_{constructor(){this._isDisposed=!1,this.attachDomPortal=null}hasAttached(){return!!this._attachedPortal}attach(t){return t instanceof Nd?(this._attachedPortal=t,this.attachComponentPortal(t)):t instanceof ic?(this._attachedPortal=t,this.attachTemplatePortal(t)):this.attachDomPortal&&t instanceof s7?(this._attachedPortal=t,this.attachDomPortal(t)):void 0}detach(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()}dispose(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0}setDisposeFn(t){this._disposeFn=t}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}}class o7 extends q_{constructor(t,e,i,r,s){super(),this.outletElement=t,this._componentFactoryResolver=e,this._appRef=i,this._defaultInjector=r,this.attachDomPortal=o=>{const a=o.element,l=this._document.createComment("dom-portal");a.parentNode.insertBefore(l,a),this.outletElement.appendChild(a),this._attachedPortal=o,super.setDisposeFn(()=>{l.parentNode&&l.parentNode.replaceChild(a,l)})},this._document=s}attachComponentPortal(t){const i=(t.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(t.component);let r;return t.viewContainerRef?(r=t.viewContainerRef.createComponent(i,t.viewContainerRef.length,t.injector||t.viewContainerRef.injector),this.setDisposeFn(()=>r.destroy())):(r=i.create(t.injector||this._defaultInjector||qi.NULL),this._appRef.attachView(r.hostView),this.setDisposeFn(()=>{this._appRef.viewCount>0&&this._appRef.detachView(r.hostView),r.destroy()})),this.outletElement.appendChild(this._getComponentRootNode(r)),this._attachedPortal=t,r}attachTemplatePortal(t){let e=t.viewContainerRef,i=e.createEmbeddedView(t.templateRef,t.context);return i.rootNodes.forEach(r=>this.outletElement.appendChild(r)),i.detectChanges(),this.setDisposeFn(()=>{let r=e.indexOf(i);-1!==r&&e.remove(r)}),this._attachedPortal=t,i}dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(t){return t.hostView.rootNodes[0]}}let rc=(()=>{class n extends q_{constructor(e,i,r){super(),this._componentFactoryResolver=e,this._viewContainerRef=i,this._isInitialized=!1,this.attached=new Yt,this.attachDomPortal=s=>{const o=s.element,a=this._document.createComment("dom-portal");s.setAttachedHost(this),o.parentNode.insertBefore(a,o),this._getRootNode().appendChild(o),this._attachedPortal=s,super.setDisposeFn(()=>{a.parentNode&&a.parentNode.replaceChild(o,a)})},this._document=r}get portal(){return this._attachedPortal}set portal(e){this.hasAttached()&&!e&&!this._isInitialized||(this.hasAttached()&&super.detach(),e&&super.attach(e),this._attachedPortal=e||null)}get attachedRef(){return this._attachedRef}ngOnInit(){this._isInitialized=!0}ngOnDestroy(){super.dispose(),this._attachedPortal=null,this._attachedRef=null}attachComponentPortal(e){e.setAttachedHost(this);const i=null!=e.viewContainerRef?e.viewContainerRef:this._viewContainerRef,s=(e.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(e.component),o=i.createComponent(s,i.length,e.injector||i.injector);return i!==this._viewContainerRef&&this._getRootNode().appendChild(o.hostView.rootNodes[0]),super.setDisposeFn(()=>o.destroy()),this._attachedPortal=e,this._attachedRef=o,this.attached.emit(o),o}attachTemplatePortal(e){e.setAttachedHost(this);const i=this._viewContainerRef.createEmbeddedView(e.templateRef,e.context);return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=e,this._attachedRef=i,this.attached.emit(i),i}_getRootNode(){const e=this._viewContainerRef.element.nativeElement;return e.nodeType===e.ELEMENT_NODE?e:e.parentNode}}return n.\u0275fac=function(e){return new(e||n)(M(Hl),M(Si),M(Dn))},n.\u0275dir=rt({type:n,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:["cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[It]}),n})(),sc=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Ht({type:n}),n.\u0275inj=He({}),n})();class l7{constructor(t,e){this.predicate=t,this.inclusive=e}call(t,e){return e.subscribe(new c7(t,this.predicate,this.inclusive))}}class c7 extends F{constructor(t,e,i){super(t),this.predicate=e,this.inclusive=i,this.index=0}_next(t){const e=this.destination;let i;try{i=this.predicate(t,this.index++)}catch(r){return void e.error(r)}this.nextOrComplete(t,i)}nextOrComplete(t,e){const i=this.destination;Boolean(e)?i.next(t):(this.inclusive&&i.next(t),i.complete())}}const BL=J6();class u7{constructor(t,e){this._viewportRuler=t,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=e}attach(){}enable(){if(this._canBeEnabled()){const t=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=t.style.left||"",this._previousHTMLStyles.top=t.style.top||"",t.style.left=Ar(-this._previousScrollPosition.left),t.style.top=Ar(-this._previousScrollPosition.top),t.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){const t=this._document.documentElement,i=t.style,r=this._document.body.style,s=i.scrollBehavior||"",o=r.scrollBehavior||"";this._isEnabled=!1,i.left=this._previousHTMLStyles.left,i.top=this._previousHTMLStyles.top,t.classList.remove("cdk-global-scrollblock"),BL&&(i.scrollBehavior=r.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),BL&&(i.scrollBehavior=s,r.scrollBehavior=o)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;const e=this._document.body,i=this._viewportRuler.getViewportSize();return e.scrollHeight>i.height||e.scrollWidth>i.width}}class d7{constructor(t,e,i,r){this._scrollDispatcher=t,this._ngZone=e,this._viewportRuler=i,this._config=r,this._scrollSubscription=null,this._detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}}attach(t){this._overlayRef=t}enable(){if(this._scrollSubscription)return;const t=this._scrollDispatcher.scrolled(0);this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=t.subscribe(()=>{const e=this._viewportRuler.getViewportScrollPosition().top;Math.abs(e-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=t.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}class YL{enable(){}disable(){}attach(){}}function t0(n,t){return t.some(e=>n.bottome.bottom||n.righte.right)}function HL(n,t){return t.some(e=>n.tope.bottom||n.lefte.right)}class h7{constructor(t,e,i,r){this._scrollDispatcher=t,this._viewportRuler=e,this._ngZone=i,this._config=r,this._scrollSubscription=null}attach(t){this._overlayRef=t}enable(){this._scrollSubscription||(this._scrollSubscription=this._scrollDispatcher.scrolled(this._config?this._config.scrollThrottle:0).subscribe(()=>{if(this._overlayRef.updatePosition(),this._config&&this._config.autoClose){const e=this._overlayRef.overlayElement.getBoundingClientRect(),{width:i,height:r}=this._viewportRuler.getViewportSize();t0(e,[{width:i,height:r,bottom:r,right:i,top:0,left:0}])&&(this.disable(),this._ngZone.run(()=>this._overlayRef.detach()))}}))}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}let p7=(()=>{class n{constructor(e,i,r,s){this._scrollDispatcher=e,this._viewportRuler=i,this._ngZone=r,this.noop=()=>new YL,this.close=o=>new d7(this._scrollDispatcher,this._ngZone,this._viewportRuler,o),this.block=()=>new u7(this._viewportRuler,this._document),this.reposition=o=>new h7(this._scrollDispatcher,this._viewportRuler,this._ngZone,o),this._document=s}}return n.\u0275fac=function(e){return new(e||n)(Se(XR),Se(So),Se(yn),Se(Dn))},n.\u0275prov=De({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();class jd{constructor(t){if(this.scrollStrategy=new YL,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,t){const e=Object.keys(t);for(const i of e)void 0!==t[i]&&(this[i]=t[i])}}}class m7{constructor(t,e){this.connectionPair=t,this.scrollableViewProperties=e}}class f7{constructor(t,e,i,r,s,o,a,l,h){this._portalOutlet=t,this._host=e,this._pane=i,this._config=r,this._ngZone=s,this._keyboardDispatcher=o,this._document=a,this._location=l,this._outsideClickDispatcher=h,this._backdropElement=null,this._backdropClick=new K,this._attachments=new K,this._detachments=new K,this._locationChanges=P.EMPTY,this._backdropClickHandler=f=>this._backdropClick.next(f),this._backdropTransitionendHandler=f=>{this._disposeBackdrop(f.target)},this._keydownEvents=new K,this._outsidePointerEvents=new K,r.scrollStrategy&&(this._scrollStrategy=r.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=r.positionStrategy}get overlayElement(){return this._pane}get backdropElement(){return this._backdropElement}get hostElement(){return this._host}attach(t){!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host);const e=this._portalOutlet.attach(t);return this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._ngZone.onStable.pipe(Ii(1)).subscribe(()=>{this.hasAttached()&&this.updatePosition()}),this._togglePointerEvents(!0),this._config.hasBackdrop&&this._attachBackdrop(),this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!0),this._attachments.next(),this._keyboardDispatcher.add(this),this._config.disposeOnNavigation&&(this._locationChanges=this._location.subscribe(()=>this.dispose())),this._outsideClickDispatcher.add(this),e}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();const t=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenStable(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),t}dispose(){var t;const e=this.hasAttached();this._positionStrategy&&this._positionStrategy.dispose(),this._disposeScrollStrategy(),this._disposeBackdrop(this._backdropElement),this._locationChanges.unsubscribe(),this._keyboardDispatcher.remove(this),this._portalOutlet.dispose(),this._attachments.complete(),this._backdropClick.complete(),this._keydownEvents.complete(),this._outsidePointerEvents.complete(),this._outsideClickDispatcher.remove(this),null===(t=this._host)||void 0===t||t.remove(),this._previousHostParent=this._pane=this._host=null,e&&this._detachments.next(),this._detachments.complete()}hasAttached(){return this._portalOutlet.hasAttached()}backdropClick(){return this._backdropClick}attachments(){return this._attachments}detachments(){return this._detachments}keydownEvents(){return this._keydownEvents}outsidePointerEvents(){return this._outsidePointerEvents}getConfig(){return this._config}updatePosition(){this._positionStrategy&&this._positionStrategy.apply()}updatePositionStrategy(t){t!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=t,this.hasAttached()&&(t.attach(this),this.updatePosition()))}updateSize(t){this._config=Object.assign(Object.assign({},this._config),t),this._updateElementSize()}setDirection(t){this._config=Object.assign(Object.assign({},this._config),{direction:t}),this._updateElementDirection()}addPanelClass(t){this._pane&&this._toggleClasses(this._pane,t,!0)}removePanelClass(t){this._pane&&this._toggleClasses(this._pane,t,!1)}getDirection(){const t=this._config.direction;return t?"string"==typeof t?t:t.value:"ltr"}updateScrollStrategy(t){t!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=t,this.hasAttached()&&(t.attach(this),t.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;const t=this._pane.style;t.width=Ar(this._config.width),t.height=Ar(this._config.height),t.minWidth=Ar(this._config.minWidth),t.minHeight=Ar(this._config.minHeight),t.maxWidth=Ar(this._config.maxWidth),t.maxHeight=Ar(this._config.maxHeight)}_togglePointerEvents(t){this._pane.style.pointerEvents=t?"":"none"}_attachBackdrop(){const t="cdk-overlay-backdrop-showing";this._backdropElement=this._document.createElement("div"),this._backdropElement.classList.add("cdk-overlay-backdrop"),this._config.backdropClass&&this._toggleClasses(this._backdropElement,this._config.backdropClass,!0),this._host.parentElement.insertBefore(this._backdropElement,this._host),this._backdropElement.addEventListener("click",this._backdropClickHandler),"undefined"!=typeof requestAnimationFrame?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>{this._backdropElement&&this._backdropElement.classList.add(t)})}):this._backdropElement.classList.add(t)}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){const t=this._backdropElement;!t||(t.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular(()=>{t.addEventListener("transitionend",this._backdropTransitionendHandler)}),t.style.pointerEvents="none",this._backdropTimeout=this._ngZone.runOutsideAngular(()=>setTimeout(()=>{this._disposeBackdrop(t)},500)))}_toggleClasses(t,e,i){const r=d_(e||[]).filter(s=>!!s);r.length&&(i?t.classList.add(...r):t.classList.remove(...r))}_detachContentWhenStable(){this._ngZone.runOutsideAngular(()=>{const t=this._ngZone.onStable.pipe(vn(at(this._attachments,this._detachments))).subscribe(()=>{(!this._pane||!this._host||0===this._pane.children.length)&&(this._pane&&this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!1),this._host&&this._host.parentElement&&(this._previousHostParent=this._host.parentElement,this._host.remove()),t.unsubscribe())})})}_disposeScrollStrategy(){const t=this._scrollStrategy;t&&(t.disable(),t.detach&&t.detach())}_disposeBackdrop(t){t&&(t.removeEventListener("click",this._backdropClickHandler),t.removeEventListener("transitionend",this._backdropTransitionendHandler),t.remove(),this._backdropElement===t&&(this._backdropElement=null)),this._backdropTimeout&&(clearTimeout(this._backdropTimeout),this._backdropTimeout=void 0)}}let n0=(()=>{class n{constructor(e,i){this._platform=i,this._document=e}ngOnDestroy(){var e;null===(e=this._containerElement)||void 0===e||e.remove()}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){const e="cdk-overlay-container";if(this._platform.isBrowser||fD()){const r=this._document.querySelectorAll(`.${e}[platform="server"], .${e}[platform="test"]`);for(let s=0;s{this._isInitialRender=!0,this.apply()})}apply(){if(this._isDisposed||!this._platform.isBrowser)return;if(!this._isInitialRender&&this._positionLocked&&this._lastPosition)return void this.reapplyLastPosition();this._clearPanelClasses(),this._resetOverlayElementStyles(),this._resetBoundingBoxStyles(),this._viewportRect=this._getNarrowedViewportRect(),this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();const t=this._originRect,e=this._overlayRect,i=this._viewportRect,r=this._containerRect,s=[];let o;for(let a of this._preferredPositions){let l=this._getOriginPoint(t,r,a),h=this._getOverlayPoint(l,e,a),f=this._getOverlayFit(h,e,i,a);if(f.isCompletelyWithinViewport)return this._isPushed=!1,void this._applyPosition(a,l);this._canFitWithFlexibleDimensions(f,h,i)?s.push({position:a,origin:l,overlayRect:e,boundingBoxRect:this._calculateBoundingBoxRect(l,a)}):(!o||o.overlayFit.visibleAreal&&(l=f,a=h)}return this._isPushed=!1,void this._applyPosition(a.position,a.origin)}if(this._canPush)return this._isPushed=!0,void this._applyPosition(o.position,o.originPoint);this._applyPosition(o.position,o.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&ru(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(VL),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(this._isDisposed||!this._platform.isBrowser)return;const t=this._lastPosition;if(t){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();const e=this._getOriginPoint(this._originRect,this._containerRect,t);this._applyPosition(t,e)}else this.apply()}withScrollableContainers(t){return this._scrollables=t,this}withPositions(t){return this._preferredPositions=t,-1===t.indexOf(this._lastPosition)&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(t){return this._viewportMargin=t,this}withFlexibleDimensions(t=!0){return this._hasFlexibleDimensions=t,this}withGrowAfterOpen(t=!0){return this._growAfterOpen=t,this}withPush(t=!0){return this._canPush=t,this}withLockedPosition(t=!0){return this._positionLocked=t,this}setOrigin(t){return this._origin=t,this}withDefaultOffsetX(t){return this._offsetX=t,this}withDefaultOffsetY(t){return this._offsetY=t,this}withTransformOriginOn(t){return this._transformOriginSelector=t,this}_getOriginPoint(t,e,i){let r,s;if("center"==i.originX)r=t.left+t.width/2;else{const o=this._isRtl()?t.right:t.left,a=this._isRtl()?t.left:t.right;r="start"==i.originX?o:a}return e.left<0&&(r-=e.left),s="center"==i.originY?t.top+t.height/2:"top"==i.originY?t.top:t.bottom,e.top<0&&(s-=e.top),{x:r,y:s}}_getOverlayPoint(t,e,i){let r,s;return r="center"==i.overlayX?-e.width/2:"start"===i.overlayX?this._isRtl()?-e.width:0:this._isRtl()?0:-e.width,s="center"==i.overlayY?-e.height/2:"top"==i.overlayY?0:-e.height,{x:t.x+r,y:t.y+s}}_getOverlayFit(t,e,i,r){const s=UL(e);let{x:o,y:a}=t,l=this._getOffset(r,"x"),h=this._getOffset(r,"y");l&&(o+=l),h&&(a+=h);let k=0-a,Y=a+s.height-i.height,oe=this._subtractOverflows(s.width,0-o,o+s.width-i.width),Fe=this._subtractOverflows(s.height,k,Y),We=oe*Fe;return{visibleArea:We,isCompletelyWithinViewport:s.width*s.height===We,fitsInViewportVertically:Fe===s.height,fitsInViewportHorizontally:oe==s.width}}_canFitWithFlexibleDimensions(t,e,i){if(this._hasFlexibleDimensions){const r=i.bottom-e.y,s=i.right-e.x,o=qL(this._overlayRef.getConfig().minHeight),a=qL(this._overlayRef.getConfig().minWidth),h=t.fitsInViewportHorizontally||null!=a&&a<=s;return(t.fitsInViewportVertically||null!=o&&o<=r)&&h}return!1}_pushOverlayOnScreen(t,e,i){if(this._previousPushAmount&&this._positionLocked)return{x:t.x+this._previousPushAmount.x,y:t.y+this._previousPushAmount.y};const r=UL(e),s=this._viewportRect,o=Math.max(t.x+r.width-s.width,0),a=Math.max(t.y+r.height-s.height,0),l=Math.max(s.top-i.top-t.y,0),h=Math.max(s.left-i.left-t.x,0);let f=0,D=0;return f=r.width<=s.width?h||-o:t.xoe&&!this._isInitialRender&&!this._growAfterOpen&&(o=t.y-oe/2)}if("end"===e.overlayX&&!r||"start"===e.overlayX&&r)k=i.width-t.x+this._viewportMargin,f=t.x-this._viewportMargin;else if("start"===e.overlayX&&!r||"end"===e.overlayX&&r)D=t.x,f=i.right-t.x;else{const Y=Math.min(i.right-t.x+i.left,t.x),oe=this._lastBoundingBoxSize.width;f=2*Y,D=t.x-Y,f>oe&&!this._isInitialRender&&!this._growAfterOpen&&(D=t.x-oe/2)}return{top:o,left:D,bottom:a,right:k,width:f,height:s}}_setBoundingBoxStyles(t,e){const i=this._calculateBoundingBoxRect(t,e);!this._isInitialRender&&!this._growAfterOpen&&(i.height=Math.min(i.height,this._lastBoundingBoxSize.height),i.width=Math.min(i.width,this._lastBoundingBoxSize.width));const r={};if(this._hasExactPosition())r.top=r.left="0",r.bottom=r.right=r.maxHeight=r.maxWidth="",r.width=r.height="100%";else{const s=this._overlayRef.getConfig().maxHeight,o=this._overlayRef.getConfig().maxWidth;r.height=Ar(i.height),r.top=Ar(i.top),r.bottom=Ar(i.bottom),r.width=Ar(i.width),r.left=Ar(i.left),r.right=Ar(i.right),r.alignItems="center"===e.overlayX?"center":"end"===e.overlayX?"flex-end":"flex-start",r.justifyContent="center"===e.overlayY?"center":"bottom"===e.overlayY?"flex-end":"flex-start",s&&(r.maxHeight=Ar(s)),o&&(r.maxWidth=Ar(o))}this._lastBoundingBoxSize=i,ru(this._boundingBox.style,r)}_resetBoundingBoxStyles(){ru(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){ru(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(t,e){const i={},r=this._hasExactPosition(),s=this._hasFlexibleDimensions,o=this._overlayRef.getConfig();if(r){const f=this._viewportRuler.getViewportScrollPosition();ru(i,this._getExactOverlayY(e,t,f)),ru(i,this._getExactOverlayX(e,t,f))}else i.position="static";let a="",l=this._getOffset(e,"x"),h=this._getOffset(e,"y");l&&(a+=`translateX(${l}px) `),h&&(a+=`translateY(${h}px)`),i.transform=a.trim(),o.maxHeight&&(r?i.maxHeight=Ar(o.maxHeight):s&&(i.maxHeight="")),o.maxWidth&&(r?i.maxWidth=Ar(o.maxWidth):s&&(i.maxWidth="")),ru(this._pane.style,i)}_getExactOverlayY(t,e,i){let r={top:"",bottom:""},s=this._getOverlayPoint(e,this._overlayRect,t);return this._isPushed&&(s=this._pushOverlayOnScreen(s,this._overlayRect,i)),"bottom"===t.overlayY?r.bottom=this._document.documentElement.clientHeight-(s.y+this._overlayRect.height)+"px":r.top=Ar(s.y),r}_getExactOverlayX(t,e,i){let o,r={left:"",right:""},s=this._getOverlayPoint(e,this._overlayRect,t);return this._isPushed&&(s=this._pushOverlayOnScreen(s,this._overlayRect,i)),o=this._isRtl()?"end"===t.overlayX?"left":"right":"end"===t.overlayX?"right":"left","right"===o?r.right=this._document.documentElement.clientWidth-(s.x+this._overlayRect.width)+"px":r.left=Ar(s.x),r}_getScrollVisibility(){const t=this._getOriginRect(),e=this._pane.getBoundingClientRect(),i=this._scrollables.map(r=>r.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:HL(t,i),isOriginOutsideView:t0(t,i),isOverlayClipped:HL(e,i),isOverlayOutsideView:t0(e,i)}}_subtractOverflows(t,...e){return e.reduce((i,r)=>i-Math.max(r,0),t)}_getNarrowedViewportRect(){const t=this._document.documentElement.clientWidth,e=this._document.documentElement.clientHeight,i=this._viewportRuler.getViewportScrollPosition();return{top:i.top+this._viewportMargin,left:i.left+this._viewportMargin,right:i.left+t-this._viewportMargin,bottom:i.top+e-this._viewportMargin,width:t-2*this._viewportMargin,height:e-2*this._viewportMargin}}_isRtl(){return"rtl"===this._overlayRef.getDirection()}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(t,e){return"x"===e?null==t.offsetX?this._offsetX:t.offsetX:null==t.offsetY?this._offsetY:t.offsetY}_validatePositions(){}_addPanelClasses(t){this._pane&&d_(t).forEach(e=>{""!==e&&-1===this._appliedPanelClasses.indexOf(e)&&(this._appliedPanelClasses.push(e),this._pane.classList.add(e))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(t=>{this._pane.classList.remove(t)}),this._appliedPanelClasses=[])}_getOriginRect(){const t=this._origin;if(t instanceof Zt)return t.nativeElement.getBoundingClientRect();if(t instanceof Element)return t.getBoundingClientRect();const e=t.width||0,i=t.height||0;return{top:t.y,bottom:t.y+i,left:t.x,right:t.x+e,height:i,width:e}}}function ru(n,t){for(let e in t)t.hasOwnProperty(e)&&(n[e]=t[e]);return n}function qL(n){if("number"!=typeof n&&null!=n){const[t,e]=n.split(g7);return e&&"px"!==e?null:parseFloat(t)}return n||null}function UL(n){return{top:Math.floor(n.top),right:Math.floor(n.right),bottom:Math.floor(n.bottom),left:Math.floor(n.left),width:Math.floor(n.width),height:Math.floor(n.height)}}const zL="cdk-global-overlay-wrapper";class y7{constructor(){this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._leftOffset="",this._rightOffset="",this._alignItems="",this._justifyContent="",this._width="",this._height=""}attach(t){const e=t.getConfig();this._overlayRef=t,this._width&&!e.width&&t.updateSize({width:this._width}),this._height&&!e.height&&t.updateSize({height:this._height}),t.hostElement.classList.add(zL),this._isDisposed=!1}top(t=""){return this._bottomOffset="",this._topOffset=t,this._alignItems="flex-start",this}left(t=""){return this._rightOffset="",this._leftOffset=t,this._justifyContent="flex-start",this}bottom(t=""){return this._topOffset="",this._bottomOffset=t,this._alignItems="flex-end",this}right(t=""){return this._leftOffset="",this._rightOffset=t,this._justifyContent="flex-end",this}width(t=""){return this._overlayRef?this._overlayRef.updateSize({width:t}):this._width=t,this}height(t=""){return this._overlayRef?this._overlayRef.updateSize({height:t}):this._height=t,this}centerHorizontally(t=""){return this.left(t),this._justifyContent="center",this}centerVertically(t=""){return this.top(t),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;const t=this._overlayRef.overlayElement.style,e=this._overlayRef.hostElement.style,i=this._overlayRef.getConfig(),{width:r,height:s,maxWidth:o,maxHeight:a}=i,l=!("100%"!==r&&"100vw"!==r||o&&"100%"!==o&&"100vw"!==o),h=!("100%"!==s&&"100vh"!==s||a&&"100%"!==a&&"100vh"!==a);t.position=this._cssPosition,t.marginLeft=l?"0":this._leftOffset,t.marginTop=h?"0":this._topOffset,t.marginBottom=this._bottomOffset,t.marginRight=this._rightOffset,l?e.justifyContent="flex-start":"center"===this._justifyContent?e.justifyContent="center":"rtl"===this._overlayRef.getConfig().direction?"flex-start"===this._justifyContent?e.justifyContent="flex-end":"flex-end"===this._justifyContent&&(e.justifyContent="flex-start"):e.justifyContent=this._justifyContent,e.alignItems=h?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;const t=this._overlayRef.overlayElement.style,e=this._overlayRef.hostElement,i=e.style;e.classList.remove(zL),i.justifyContent=i.alignItems=t.marginTop=t.marginBottom=t.marginLeft=t.marginRight=t.position="",this._overlayRef=null,this._isDisposed=!0}}let v7=(()=>{class n{constructor(e,i,r,s){this._viewportRuler=e,this._document=i,this._platform=r,this._overlayContainer=s}global(){return new y7}flexibleConnectedTo(e){return new _7(e,this._viewportRuler,this._document,this._platform,this._overlayContainer)}}return n.\u0275fac=function(e){return new(e||n)(Se(So),Se(Dn),Se(zi),Se(n0))},n.\u0275prov=De({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),GL=(()=>{class n{constructor(e){this._attachedOverlays=[],this._document=e}ngOnDestroy(){this.detach()}add(e){this.remove(e),this._attachedOverlays.push(e)}remove(e){const i=this._attachedOverlays.indexOf(e);i>-1&&this._attachedOverlays.splice(i,1),0===this._attachedOverlays.length&&this.detach()}}return n.\u0275fac=function(e){return new(e||n)(Se(Dn))},n.\u0275prov=De({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),b7=(()=>{class n extends GL{constructor(e,i){super(e),this._ngZone=i,this._keydownListener=r=>{const s=this._attachedOverlays;for(let o=s.length-1;o>-1;o--)if(s[o]._keydownEvents.observers.length>0){const a=s[o]._keydownEvents;this._ngZone?this._ngZone.run(()=>a.next(r)):a.next(r);break}}}add(e){super.add(e),this._isAttached||(this._ngZone?this._ngZone.runOutsideAngular(()=>this._document.body.addEventListener("keydown",this._keydownListener)):this._document.body.addEventListener("keydown",this._keydownListener),this._isAttached=!0)}detach(){this._isAttached&&(this._document.body.removeEventListener("keydown",this._keydownListener),this._isAttached=!1)}}return n.\u0275fac=function(e){return new(e||n)(Se(Dn),Se(yn,8))},n.\u0275prov=De({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),w7=(()=>{class n extends GL{constructor(e,i,r){super(e),this._platform=i,this._ngZone=r,this._cursorStyleIsSet=!1,this._pointerDownListener=s=>{this._pointerDownEventTarget=To(s)},this._clickListener=s=>{const o=To(s),a="click"===s.type&&this._pointerDownEventTarget?this._pointerDownEventTarget:o;this._pointerDownEventTarget=null;const l=this._attachedOverlays.slice();for(let h=l.length-1;h>-1;h--){const f=l[h];if(f._outsidePointerEvents.observers.length<1||!f.hasAttached())continue;if(f.overlayElement.contains(o)||f.overlayElement.contains(a))break;const D=f._outsidePointerEvents;this._ngZone?this._ngZone.run(()=>D.next(s)):D.next(s)}}}add(e){if(super.add(e),!this._isAttached){const i=this._document.body;this._ngZone?this._ngZone.runOutsideAngular(()=>this._addEventListeners(i)):this._addEventListeners(i),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=i.style.cursor,i.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}detach(){if(this._isAttached){const e=this._document.body;e.removeEventListener("pointerdown",this._pointerDownListener,!0),e.removeEventListener("click",this._clickListener,!0),e.removeEventListener("auxclick",this._clickListener,!0),e.removeEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&this._cursorStyleIsSet&&(e.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1}}_addEventListeners(e){e.addEventListener("pointerdown",this._pointerDownListener,!0),e.addEventListener("click",this._clickListener,!0),e.addEventListener("auxclick",this._clickListener,!0),e.addEventListener("contextmenu",this._clickListener,!0)}}return n.\u0275fac=function(e){return new(e||n)(Se(Dn),Se(zi),Se(yn,8))},n.\u0275prov=De({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),M7=0,Ds=(()=>{class n{constructor(e,i,r,s,o,a,l,h,f,D,k){this.scrollStrategies=e,this._overlayContainer=i,this._componentFactoryResolver=r,this._positionBuilder=s,this._keyboardDispatcher=o,this._injector=a,this._ngZone=l,this._document=h,this._directionality=f,this._location=D,this._outsideClickDispatcher=k}create(e){const i=this._createHostElement(),r=this._createPaneElement(i),s=this._createPortalOutlet(r),o=new jd(e);return o.direction=o.direction||this._directionality.value,new f7(s,i,r,o,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher)}position(){return this._positionBuilder}_createPaneElement(e){const i=this._document.createElement("div");return i.id="cdk-overlay-"+M7++,i.classList.add("cdk-overlay-pane"),e.appendChild(i),i}_createHostElement(){const e=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(e),e}_createPortalOutlet(e){return this._appRef||(this._appRef=this._injector.get(Lf)),new o7(e,this._componentFactoryResolver,this._appRef,this._injector,this._document)}}return n.\u0275fac=function(e){return new(e||n)(Se(p7),Se(n0),Se(Hl),Se(v7),Se(b7),Se(qi),Se(yn),Se(Dn),Se(Hr),Se(Yc),Se(w7))},n.\u0275prov=De({token:n,factory:n.\u0275fac}),n})();const D7=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],$L=new pt("cdk-connected-overlay-scroll-strategy");let WL=(()=>{class n{constructor(e){this.elementRef=e}}return n.\u0275fac=function(e){return new(e||n)(M(Zt))},n.\u0275dir=rt({type:n,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"]}),n})(),QL=(()=>{class n{constructor(e,i,r,s,o){this._overlay=e,this._dir=o,this._hasBackdrop=!1,this._lockPosition=!1,this._growAfterOpen=!1,this._flexibleDimensions=!1,this._push=!1,this._backdropSubscription=P.EMPTY,this._attachSubscription=P.EMPTY,this._detachSubscription=P.EMPTY,this._positionSubscription=P.EMPTY,this.viewportMargin=0,this.open=!1,this.disableClose=!1,this.backdropClick=new Yt,this.positionChange=new Yt,this.attach=new Yt,this.detach=new Yt,this.overlayKeydown=new Yt,this.overlayOutsideClick=new Yt,this._templatePortal=new ic(i,r),this._scrollStrategyFactory=s,this.scrollStrategy=this._scrollStrategyFactory()}get offsetX(){return this._offsetX}set offsetX(e){this._offsetX=e,this._position&&this._updatePositionStrategy(this._position)}get offsetY(){return this._offsetY}set offsetY(e){this._offsetY=e,this._position&&this._updatePositionStrategy(this._position)}get hasBackdrop(){return this._hasBackdrop}set hasBackdrop(e){this._hasBackdrop=nn(e)}get lockPosition(){return this._lockPosition}set lockPosition(e){this._lockPosition=nn(e)}get flexibleDimensions(){return this._flexibleDimensions}set flexibleDimensions(e){this._flexibleDimensions=nn(e)}get growAfterOpen(){return this._growAfterOpen}set growAfterOpen(e){this._growAfterOpen=nn(e)}get push(){return this._push}set push(e){this._push=nn(e)}get overlayRef(){return this._overlayRef}get dir(){return this._dir?this._dir.value:"ltr"}ngOnDestroy(){this._attachSubscription.unsubscribe(),this._detachSubscription.unsubscribe(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this._overlayRef&&this._overlayRef.dispose()}ngOnChanges(e){this._position&&(this._updatePositionStrategy(this._position),this._overlayRef.updateSize({width:this.width,minWidth:this.minWidth,height:this.height,minHeight:this.minHeight}),e.origin&&this.open&&this._position.apply()),e.open&&(this.open?this._attachOverlay():this._detachOverlay())}_createOverlay(){(!this.positions||!this.positions.length)&&(this.positions=D7);const e=this._overlayRef=this._overlay.create(this._buildConfig());this._attachSubscription=e.attachments().subscribe(()=>this.attach.emit()),this._detachSubscription=e.detachments().subscribe(()=>this.detach.emit()),e.keydownEvents().subscribe(i=>{this.overlayKeydown.next(i),27===i.keyCode&&!this.disableClose&&!Qr(i)&&(i.preventDefault(),this._detachOverlay())}),this._overlayRef.outsidePointerEvents().subscribe(i=>{this.overlayOutsideClick.next(i)})}_buildConfig(){const e=this._position=this.positionStrategy||this._createPositionStrategy(),i=new jd({direction:this._dir,positionStrategy:e,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop});return(this.width||0===this.width)&&(i.width=this.width),(this.height||0===this.height)&&(i.height=this.height),(this.minWidth||0===this.minWidth)&&(i.minWidth=this.minWidth),(this.minHeight||0===this.minHeight)&&(i.minHeight=this.minHeight),this.backdropClass&&(i.backdropClass=this.backdropClass),this.panelClass&&(i.panelClass=this.panelClass),i}_updatePositionStrategy(e){const i=this.positions.map(r=>({originX:r.originX,originY:r.originY,overlayX:r.overlayX,overlayY:r.overlayY,offsetX:r.offsetX||this.offsetX,offsetY:r.offsetY||this.offsetY,panelClass:r.panelClass||void 0}));return e.setOrigin(this._getFlexibleConnectedPositionStrategyOrigin()).withPositions(i).withFlexibleDimensions(this.flexibleDimensions).withPush(this.push).withGrowAfterOpen(this.growAfterOpen).withViewportMargin(this.viewportMargin).withLockedPosition(this.lockPosition).withTransformOriginOn(this.transformOriginSelector)}_createPositionStrategy(){const e=this._overlay.position().flexibleConnectedTo(this._getFlexibleConnectedPositionStrategyOrigin());return this._updatePositionStrategy(e),e}_getFlexibleConnectedPositionStrategyOrigin(){return this.origin instanceof WL?this.origin.elementRef:this.origin}_attachOverlay(){this._overlayRef?this._overlayRef.getConfig().hasBackdrop=this.hasBackdrop:this._createOverlay(),this._overlayRef.hasAttached()||this._overlayRef.attach(this._templatePortal),this.hasBackdrop?this._backdropSubscription=this._overlayRef.backdropClick().subscribe(e=>{this.backdropClick.emit(e)}):this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.positionChange.observers.length>0&&(this._positionSubscription=this._position.positionChanges.pipe(function a7(n,t=!1){return e=>e.lift(new l7(n,t))}(()=>this.positionChange.observers.length>0)).subscribe(e=>{this.positionChange.emit(e),0===this.positionChange.observers.length&&this._positionSubscription.unsubscribe()}))}_detachOverlay(){this._overlayRef&&this._overlayRef.detach(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe()}}return n.\u0275fac=function(e){return new(e||n)(M(Ds),M(Wi),M(Si),M($L),M(Hr,8))},n.\u0275dir=rt({type:n,selectors:[["","cdk-connected-overlay",""],["","connected-overlay",""],["","cdkConnectedOverlay",""]],inputs:{origin:["cdkConnectedOverlayOrigin","origin"],positions:["cdkConnectedOverlayPositions","positions"],positionStrategy:["cdkConnectedOverlayPositionStrategy","positionStrategy"],offsetX:["cdkConnectedOverlayOffsetX","offsetX"],offsetY:["cdkConnectedOverlayOffsetY","offsetY"],width:["cdkConnectedOverlayWidth","width"],height:["cdkConnectedOverlayHeight","height"],minWidth:["cdkConnectedOverlayMinWidth","minWidth"],minHeight:["cdkConnectedOverlayMinHeight","minHeight"],backdropClass:["cdkConnectedOverlayBackdropClass","backdropClass"],panelClass:["cdkConnectedOverlayPanelClass","panelClass"],viewportMargin:["cdkConnectedOverlayViewportMargin","viewportMargin"],scrollStrategy:["cdkConnectedOverlayScrollStrategy","scrollStrategy"],open:["cdkConnectedOverlayOpen","open"],disableClose:["cdkConnectedOverlayDisableClose","disableClose"],transformOriginSelector:["cdkConnectedOverlayTransformOriginOn","transformOriginSelector"],hasBackdrop:["cdkConnectedOverlayHasBackdrop","hasBackdrop"],lockPosition:["cdkConnectedOverlayLockPosition","lockPosition"],flexibleDimensions:["cdkConnectedOverlayFlexibleDimensions","flexibleDimensions"],growAfterOpen:["cdkConnectedOverlayGrowAfterOpen","growAfterOpen"],push:["cdkConnectedOverlayPush","push"]},outputs:{backdropClick:"backdropClick",positionChange:"positionChange",attach:"attach",detach:"detach",overlayKeydown:"overlayKeydown",overlayOutsideClick:"overlayOutsideClick"},exportAs:["cdkConnectedOverlay"],features:[Jn]}),n})();const C7={provide:$L,deps:[Ds],useFactory:function E7(n){return()=>n.scrollStrategies.reposition()}};let oc=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Ht({type:n}),n.\u0275inj=He({providers:[Ds,C7],imports:[[Ad,sc,D_],D_]}),n})();const T7=["connectionContainer"],S7=["inputContainer"],k7=["label"];function x7(n,t){1&n&&(Gr(0),x(1,"div",14),wt(2,"div",15)(3,"div",16)(4,"div",17),O(),x(5,"div",18),wt(6,"div",15)(7,"div",16)(8,"div",17),O(),$r())}function I7(n,t){if(1&n){const e=on();x(0,"div",19),tt("cdkObserveContent",function(){return zt(e),Ce().updateOutlineGap()}),Sn(1,1),O()}2&n&&H("cdkObserveContentDisabled","outline"!=Ce().appearance)}function A7(n,t){if(1&n&&(Gr(0),Sn(1,2),x(2,"span"),Me(3),O(),$r()),2&n){const e=Ce(2);j(3),vi(e._control.placeholder)}}function R7(n,t){1&n&&Sn(0,3,["*ngSwitchCase","true"])}function L7(n,t){1&n&&(x(0,"span",23),Me(1," *"),O())}function O7(n,t){if(1&n){const e=on();x(0,"label",20,21),tt("cdkObserveContent",function(){return zt(e),Ce().updateOutlineGap()}),Ae(2,A7,4,1,"ng-container",12),Ae(3,R7,1,0,"ng-content",12),Ae(4,L7,2,0,"span",22),O()}if(2&n){const e=Ce();Cn("mat-empty",e._control.empty&&!e._shouldAlwaysFloat())("mat-form-field-empty",e._control.empty&&!e._shouldAlwaysFloat())("mat-accent","accent"==e.color)("mat-warn","warn"==e.color),H("cdkObserveContentDisabled","outline"!=e.appearance)("id",e._labelId)("ngSwitch",e._hasLabel()),dn("for",e._control.id)("aria-owns",e._control.id),j(2),H("ngSwitchCase",!1),j(1),H("ngSwitchCase",!0),j(1),H("ngIf",!e.hideRequiredMarker&&e._control.required&&!e._control.disabled)}}function P7(n,t){1&n&&(x(0,"div",24),Sn(1,4),O())}function F7(n,t){if(1&n&&(x(0,"div",25),wt(1,"span",26),O()),2&n){const e=Ce();j(1),Cn("mat-accent","accent"==e.color)("mat-warn","warn"==e.color)}}function N7(n,t){1&n&&(x(0,"div"),Sn(1,5),O()),2&n&&H("@transitionMessages",Ce()._subscriptAnimationState)}function j7(n,t){if(1&n&&(x(0,"div",30),Me(1),O()),2&n){const e=Ce(2);H("id",e._hintLabelId),j(1),vi(e.hintLabel)}}function B7(n,t){if(1&n&&(x(0,"div",27),Ae(1,j7,2,2,"div",28),Sn(2,6),wt(3,"div",29),Sn(4,7),O()),2&n){const e=Ce();H("@transitionMessages",e._subscriptAnimationState),j(1),H("ngIf",e.hintLabel)}}const Y7=["*",[["","matPrefix",""]],[["mat-placeholder"]],[["mat-label"]],[["","matSuffix",""]],[["mat-error"]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],H7=["*","[matPrefix]","mat-placeholder","mat-label","[matSuffix]","mat-error","mat-hint:not([align='end'])","mat-hint[align='end']"];let V7=0;const KL=new pt("MatError");let Zp=(()=>{class n{constructor(e,i){this.id="mat-error-"+V7++,e||i.nativeElement.setAttribute("aria-live","polite")}}return n.\u0275fac=function(e){return new(e||n)(_r("aria-live"),M(Zt))},n.\u0275dir=rt({type:n,selectors:[["mat-error"]],hostAttrs:["aria-atomic","true",1,"mat-error"],hostVars:1,hostBindings:function(e,i){2&e&&dn("id",i.id)},inputs:{id:"id"},features:[tn([{provide:KL,useExisting:n}])]}),n})();const q7={transitionMessages:Ki("transitionMessages",[qn("enter",ln({opacity:1,transform:"translateY(0%)"})),Zn("void => enter",[ln({opacity:0,transform:"translateY(-5px)"}),ti("300ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])};let Xp=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=rt({type:n}),n})(),U7=0;const ZL=new pt("MatHint");let r0=(()=>{class n{constructor(){this.align="start",this.id="mat-hint-"+U7++}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=rt({type:n,selectors:[["mat-hint"]],hostAttrs:[1,"mat-hint"],hostVars:4,hostBindings:function(e,i){2&e&&(dn("id",i.id)("align",null),Cn("mat-form-field-hint-end","end"===i.align))},inputs:{align:"align",id:"id"},features:[tn([{provide:ZL,useExisting:n}])]}),n})(),U_=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=rt({type:n,selectors:[["mat-label"]]}),n})(),z7=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=rt({type:n,selectors:[["mat-placeholder"]]}),n})();const G7=new pt("MatPrefix"),$7=new pt("MatSuffix");let XL=0;const Q7=Ya(class{constructor(n){this._elementRef=n}},"primary"),K7=new pt("MAT_FORM_FIELD_DEFAULT_OPTIONS"),Jp=new pt("MatFormField");let Er=(()=>{class n extends Q7{constructor(e,i,r,s,o,a,l){super(e),this._changeDetectorRef=i,this._dir=r,this._defaults=s,this._platform=o,this._ngZone=a,this._outlineGapCalculationNeededImmediately=!1,this._outlineGapCalculationNeededOnStable=!1,this._destroyed=new K,this._showAlwaysAnimate=!1,this._subscriptAnimationState="",this._hintLabel="",this._hintLabelId="mat-hint-"+XL++,this._labelId="mat-form-field-label-"+XL++,this.floatLabel=this._getDefaultFloatLabelState(),this._animationsEnabled="NoopAnimations"!==l,this.appearance=s&&s.appearance?s.appearance:"legacy",this._hideRequiredMarker=!(!s||null==s.hideRequiredMarker)&&s.hideRequiredMarker}get appearance(){return this._appearance}set appearance(e){const i=this._appearance;this._appearance=e||this._defaults&&this._defaults.appearance||"legacy","outline"===this._appearance&&i!==e&&(this._outlineGapCalculationNeededOnStable=!0)}get hideRequiredMarker(){return this._hideRequiredMarker}set hideRequiredMarker(e){this._hideRequiredMarker=nn(e)}_shouldAlwaysFloat(){return"always"===this.floatLabel&&!this._showAlwaysAnimate}_canLabelFloat(){return"never"!==this.floatLabel}get hintLabel(){return this._hintLabel}set hintLabel(e){this._hintLabel=e,this._processHints()}get floatLabel(){return"legacy"!==this.appearance&&"never"===this._floatLabel?"auto":this._floatLabel}set floatLabel(e){e!==this._floatLabel&&(this._floatLabel=e||this._getDefaultFloatLabelState(),this._changeDetectorRef.markForCheck())}get _control(){return this._explicitFormFieldControl||this._controlNonStatic||this._controlStatic}set _control(e){this._explicitFormFieldControl=e}getLabelId(){return this._hasFloatingLabel()?this._labelId:null}getConnectedOverlayOrigin(){return this._connectionContainerRef||this._elementRef}ngAfterContentInit(){this._validateControlChild();const e=this._control;e.controlType&&this._elementRef.nativeElement.classList.add(`mat-form-field-type-${e.controlType}`),e.stateChanges.pipe(hr(null)).subscribe(()=>{this._validatePlaceholders(),this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),e.ngControl&&e.ngControl.valueChanges&&e.ngControl.valueChanges.pipe(vn(this._destroyed)).subscribe(()=>this._changeDetectorRef.markForCheck()),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.pipe(vn(this._destroyed)).subscribe(()=>{this._outlineGapCalculationNeededOnStable&&this.updateOutlineGap()})}),at(this._prefixChildren.changes,this._suffixChildren.changes).subscribe(()=>{this._outlineGapCalculationNeededOnStable=!0,this._changeDetectorRef.markForCheck()}),this._hintChildren.changes.pipe(hr(null)).subscribe(()=>{this._processHints(),this._changeDetectorRef.markForCheck()}),this._errorChildren.changes.pipe(hr(null)).subscribe(()=>{this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),this._dir&&this._dir.change.pipe(vn(this._destroyed)).subscribe(()=>{"function"==typeof requestAnimationFrame?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>this.updateOutlineGap())}):this.updateOutlineGap()})}ngAfterContentChecked(){this._validateControlChild(),this._outlineGapCalculationNeededImmediately&&this.updateOutlineGap()}ngAfterViewInit(){this._subscriptAnimationState="enter",this._changeDetectorRef.detectChanges()}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}_shouldForward(e){const i=this._control?this._control.ngControl:null;return i&&i[e]}_hasPlaceholder(){return!!(this._control&&this._control.placeholder||this._placeholderChild)}_hasLabel(){return!(!this._labelChildNonStatic&&!this._labelChildStatic)}_shouldLabelFloat(){return this._canLabelFloat()&&(this._control&&this._control.shouldLabelFloat||this._shouldAlwaysFloat())}_hideControlPlaceholder(){return"legacy"===this.appearance&&!this._hasLabel()||this._hasLabel()&&!this._shouldLabelFloat()}_hasFloatingLabel(){return this._hasLabel()||"legacy"===this.appearance&&this._hasPlaceholder()}_getDisplayedMessages(){return this._errorChildren&&this._errorChildren.length>0&&this._control.errorState?"error":"hint"}_animateAndLockLabel(){this._hasFloatingLabel()&&this._canLabelFloat()&&(this._animationsEnabled&&this._label&&(this._showAlwaysAnimate=!0,Na(this._label.nativeElement,"transitionend").pipe(Ii(1)).subscribe(()=>{this._showAlwaysAnimate=!1})),this.floatLabel="always",this._changeDetectorRef.markForCheck())}_validatePlaceholders(){}_processHints(){this._validateHints(),this._syncDescribedByIds()}_validateHints(){}_getDefaultFloatLabelState(){return this._defaults&&this._defaults.floatLabel||"auto"}_syncDescribedByIds(){if(this._control){let e=[];if(this._control.userAriaDescribedBy&&"string"==typeof this._control.userAriaDescribedBy&&e.push(...this._control.userAriaDescribedBy.split(" ")),"hint"===this._getDisplayedMessages()){const i=this._hintChildren?this._hintChildren.find(s=>"start"===s.align):null,r=this._hintChildren?this._hintChildren.find(s=>"end"===s.align):null;i?e.push(i.id):this._hintLabel&&e.push(this._hintLabelId),r&&e.push(r.id)}else this._errorChildren&&e.push(...this._errorChildren.map(i=>i.id));this._control.setDescribedByIds(e)}}_validateControlChild(){}updateOutlineGap(){const e=this._label?this._label.nativeElement:null,i=this._connectionContainerRef.nativeElement,r=".mat-form-field-outline-start",s=".mat-form-field-outline-gap";if("outline"!==this.appearance||!this._platform.isBrowser)return;if(!e||!e.children.length||!e.textContent.trim()){const f=i.querySelectorAll(`${r}, ${s}`);for(let D=0;D0?.75*oe+10:0}for(let f=0;f{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Ht({type:n}),n.\u0275inj=He({imports:[[di,mn,Bp],mn]}),n})();function z_(n,t=xd){const i=function Z7(n){return n instanceof Date&&!isNaN(+n)}(n)?+n-t.now():Math.abs(n);return r=>r.lift(new X7(i,t))}class X7{constructor(t,e){this.delay=t,this.scheduler=e}call(t,e){return e.subscribe(new o0(t,this.delay,this.scheduler))}}class o0 extends F{constructor(t,e,i){super(t),this.delay=e,this.scheduler=i,this.queue=[],this.active=!1,this.errored=!1}static dispatch(t){const e=t.source,i=e.queue,r=t.scheduler,s=t.destination;for(;i.length>0&&i[0].time-r.now()<=0;)i.shift().notification.observe(s);if(i.length>0){const o=Math.max(0,i[0].time-r.now());this.schedule(t,o)}else this.unsubscribe(),e.active=!1}_schedule(t){this.active=!0,this.destination.add(t.schedule(o0.dispatch,this.delay,{source:this,destination:this.destination,scheduler:t}))}scheduleNotification(t){if(!0===this.errored)return;const e=this.scheduler,i=new J7(e.now()+this.delay,t);this.queue.push(i),!1===this.active&&this._schedule(e)}_next(t){this.scheduleNotification(Ps.createNext(t))}_error(t){this.errored=!0,this.queue=[],this.destination.error(t),this.unsubscribe()}_complete(){this.scheduleNotification(Ps.createComplete()),this.unsubscribe()}}class J7{constructor(t,e){this.time=t,this.notification=e}}const iQ={provide:new pt("mat-autocomplete-scroll-strategy"),deps:[Ds],useFactory:function nQ(n){return()=>n.scrollStrategies.reposition()}};let aQ=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Ht({type:n}),n.\u0275inj=He({providers:[iQ],imports:[[oc,V_,mn,di],ja,V_,mn]}),n})(),lQ=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Ht({type:n}),n.\u0275inj=He({imports:[[b_,mn],mn]}),n})(),cQ=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Ht({type:n}),n.\u0275inj=He({imports:[[oc,mn,sc],mn]}),n})();const uQ=["mat-button",""],dQ=["*"],pQ=["mat-button","mat-flat-button","mat-icon-button","mat-raised-button","mat-stroked-button","mat-mini-fab","mat-fab"],mQ=Ya(eo(to(class{constructor(n){this._elementRef=n}})));let bi=(()=>{class n extends mQ{constructor(e,i,r){super(e),this._focusMonitor=i,this._animationMode=r,this.isRoundButton=this._hasHostAttributes("mat-fab","mat-mini-fab"),this.isIconButton=this._hasHostAttributes("mat-icon-button");for(const s of pQ)this._hasHostAttributes(s)&&this._getHostElement().classList.add(s);e.nativeElement.classList.add("mat-button-base"),this.isRoundButton&&(this.color="accent")}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}focus(e,i){e?this._focusMonitor.focusVia(this._getHostElement(),e,i):this._getHostElement().focus(i)}_getHostElement(){return this._elementRef.nativeElement}_isRippleDisabled(){return this.disableRipple||this.disabled}_hasHostAttributes(...e){return e.some(i=>this._getHostElement().hasAttribute(i))}}return n.\u0275fac=function(e){return new(e||n)(M(Zt),M(Ns),M(Zi,8))},n.\u0275cmp=At({type:n,selectors:[["button","mat-button",""],["button","mat-raised-button",""],["button","mat-icon-button",""],["button","mat-fab",""],["button","mat-mini-fab",""],["button","mat-stroked-button",""],["button","mat-flat-button",""]],viewQuery:function(e,i){if(1&e&&hn(no,5),2&e){let r;Et(r=Ct())&&(i.ripple=r.first)}},hostAttrs:[1,"mat-focus-indicator"],hostVars:5,hostBindings:function(e,i){2&e&&(dn("disabled",i.disabled||null),Cn("_mat-animation-noopable","NoopAnimations"===i._animationMode)("mat-button-disabled",i.disabled))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color"},exportAs:["matButton"],features:[It],attrs:uQ,ngContentSelectors:dQ,decls:4,vars:5,consts:[[1,"mat-button-wrapper"],["matRipple","",1,"mat-button-ripple",3,"matRippleDisabled","matRippleCentered","matRippleTrigger"],[1,"mat-button-focus-overlay"]],template:function(e,i){1&e&&(yi(),x(0,"span",0),Sn(1),O(),wt(2,"span",1)(3,"span",2)),2&e&&(j(2),Cn("mat-button-ripple-round",i.isRoundButton||i.isIconButton),H("matRippleDisabled",i._isRippleDisabled())("matRippleCentered",i.isIconButton)("matRippleTrigger",i._getHostElement()))},directives:[no],styles:[".mat-button .mat-button-focus-overlay,.mat-icon-button .mat-button-focus-overlay{opacity:0}.mat-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay,.mat-stroked-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay{opacity:.04}@media(hover: none){.mat-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay,.mat-stroked-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay{opacity:0}}.mat-button,.mat-icon-button,.mat-stroked-button,.mat-flat-button{box-sizing:border-box;position:relative;-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible}.mat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner{border:0}.mat-button.mat-button-disabled,.mat-icon-button.mat-button-disabled,.mat-stroked-button.mat-button-disabled,.mat-flat-button.mat-button-disabled{cursor:default}.mat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-button.cdk-program-focused .mat-button-focus-overlay,.mat-icon-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-icon-button.cdk-program-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-program-focused .mat-button-focus-overlay,.mat-flat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-flat-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner{border:0}.mat-raised-button{box-sizing:border-box;position:relative;-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-raised-button::-moz-focus-inner{border:0}.mat-raised-button.mat-button-disabled{cursor:default}.mat-raised-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-raised-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-raised-button::-moz-focus-inner{border:0}._mat-animation-noopable.mat-raised-button{transition:none;animation:none}.mat-stroked-button{border:1px solid currentColor;padding:0 15px;line-height:34px}.mat-stroked-button .mat-button-ripple.mat-ripple,.mat-stroked-button .mat-button-focus-overlay{top:-1px;left:-1px;right:-1px;bottom:-1px}.mat-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);min-width:0;border-radius:50%;width:56px;height:56px;padding:0;flex-shrink:0}.mat-fab::-moz-focus-inner{border:0}.mat-fab.mat-button-disabled{cursor:default}.mat-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-fab::-moz-focus-inner{border:0}._mat-animation-noopable.mat-fab{transition:none;animation:none}.mat-fab .mat-button-wrapper{padding:16px 0;display:inline-block;line-height:24px}.mat-mini-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);min-width:0;border-radius:50%;width:40px;height:40px;padding:0;flex-shrink:0}.mat-mini-fab::-moz-focus-inner{border:0}.mat-mini-fab.mat-button-disabled{cursor:default}.mat-mini-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-mini-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-mini-fab::-moz-focus-inner{border:0}._mat-animation-noopable.mat-mini-fab{transition:none;animation:none}.mat-mini-fab .mat-button-wrapper{padding:8px 0;display:inline-block;line-height:24px}.mat-icon-button{padding:0;min-width:0;width:40px;height:40px;flex-shrink:0;line-height:40px;border-radius:50%}.mat-icon-button i,.mat-icon-button .mat-icon{line-height:24px}.mat-button-ripple.mat-ripple,.mat-button-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-button-ripple.mat-ripple:not(:empty){transform:translateZ(0)}.mat-button-focus-overlay{opacity:0;transition:opacity 200ms cubic-bezier(0.35, 0, 0.25, 1),background-color 200ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable .mat-button-focus-overlay{transition:none}.mat-button-ripple-round{border-radius:50%;z-index:1}.mat-button .mat-button-wrapper>*,.mat-flat-button .mat-button-wrapper>*,.mat-stroked-button .mat-button-wrapper>*,.mat-raised-button .mat-button-wrapper>*,.mat-icon-button .mat-button-wrapper>*,.mat-fab .mat-button-wrapper>*,.mat-mini-fab .mat-button-wrapper>*{vertical-align:middle}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button{display:inline-flex;justify-content:center;align-items:center;font-size:inherit;width:2.5em;height:2.5em}.cdk-high-contrast-active .mat-button,.cdk-high-contrast-active .mat-flat-button,.cdk-high-contrast-active .mat-raised-button,.cdk-high-contrast-active .mat-icon-button,.cdk-high-contrast-active .mat-fab,.cdk-high-contrast-active .mat-mini-fab{outline:solid 1px}.cdk-high-contrast-active .mat-button-base.cdk-keyboard-focused,.cdk-high-contrast-active .mat-button-base.cdk-program-focused{outline:solid 3px}\n"],encapsulation:2,changeDetection:0}),n})(),Bd=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Ht({type:n}),n.\u0275inj=He({imports:[[sa,mn],mn]}),n})(),wQ=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Ht({type:n}),n.\u0275inj=He({imports:[[mn,sa],mn]}),n})();const MQ=["*",[["mat-card-footer"]]],DQ=["*","mat-card-footer"],EQ=[[["","mat-card-avatar",""],["","matCardAvatar",""]],[["mat-card-title"],["mat-card-subtitle"],["","mat-card-title",""],["","mat-card-subtitle",""],["","matCardTitle",""],["","matCardSubtitle",""]],"*"],CQ=["[mat-card-avatar], [matCardAvatar]","mat-card-title, mat-card-subtitle,\n [mat-card-title], [mat-card-subtitle],\n [matCardTitle], [matCardSubtitle]","*"];let TQ=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=rt({type:n,selectors:[["mat-card-content"],["","mat-card-content",""],["","matCardContent",""]],hostAttrs:[1,"mat-card-content"]}),n})(),sO=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=rt({type:n,selectors:[["mat-card-title"],["","mat-card-title",""],["","matCardTitle",""]],hostAttrs:[1,"mat-card-title"]}),n})(),SQ=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=rt({type:n,selectors:[["mat-card-subtitle"],["","mat-card-subtitle",""],["","matCardSubtitle",""]],hostAttrs:[1,"mat-card-subtitle"]}),n})(),kQ=(()=>{class n{constructor(){this.align="start"}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=rt({type:n,selectors:[["mat-card-actions"]],hostAttrs:[1,"mat-card-actions"],hostVars:2,hostBindings:function(e,i){2&e&&Cn("mat-card-actions-align-end","end"===i.align)},inputs:{align:"align"},exportAs:["matCardActions"]}),n})(),a0=(()=>{class n{constructor(e){this._animationMode=e}}return n.\u0275fac=function(e){return new(e||n)(M(Zi,8))},n.\u0275cmp=At({type:n,selectors:[["mat-card"]],hostAttrs:[1,"mat-card","mat-focus-indicator"],hostVars:2,hostBindings:function(e,i){2&e&&Cn("_mat-animation-noopable","NoopAnimations"===i._animationMode)},exportAs:["matCard"],ngContentSelectors:DQ,decls:2,vars:0,template:function(e,i){1&e&&(yi(MQ),Sn(0),Sn(1,1))},styles:[".mat-card{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);display:block;position:relative;padding:16px;border-radius:4px}._mat-animation-noopable.mat-card{transition:none;animation:none}.mat-card .mat-divider-horizontal{position:absolute;left:0;width:100%}[dir=rtl] .mat-card .mat-divider-horizontal{left:auto;right:0}.mat-card .mat-divider-horizontal.mat-divider-inset{position:static;margin:0}[dir=rtl] .mat-card .mat-divider-horizontal.mat-divider-inset{margin-right:0}.cdk-high-contrast-active .mat-card{outline:solid 1px}.mat-card-actions,.mat-card-subtitle,.mat-card-content{display:block;margin-bottom:16px}.mat-card-title{display:block;margin-bottom:8px}.mat-card-actions{margin-left:-8px;margin-right:-8px;padding:8px 0}.mat-card-actions-align-end{display:flex;justify-content:flex-end}.mat-card-image{width:calc(100% + 32px);margin:0 -16px 16px -16px;display:block;overflow:hidden}.mat-card-image img{width:100%}.mat-card-footer{display:block;margin:0 -16px -16px -16px}.mat-card-actions .mat-button,.mat-card-actions .mat-raised-button,.mat-card-actions .mat-stroked-button{margin:0 8px}.mat-card-header{display:flex;flex-direction:row}.mat-card-header .mat-card-title{margin-bottom:12px}.mat-card-header-text{margin:0 16px}.mat-card-avatar{height:40px;width:40px;border-radius:50%;flex-shrink:0;object-fit:cover}.mat-card-title-group{display:flex;justify-content:space-between}.mat-card-sm-image{width:80px;height:80px}.mat-card-md-image{width:112px;height:112px}.mat-card-lg-image{width:152px;height:152px}.mat-card-xl-image{width:240px;height:240px;margin:-8px}.mat-card-title-group>.mat-card-xl-image{margin:-8px 0 8px}@media(max-width: 599px){.mat-card-title-group{margin:0}.mat-card-xl-image{margin-left:0;margin-right:0}}.mat-card>:first-child,.mat-card-content>:first-child{margin-top:0}.mat-card>:last-child:not(.mat-card-footer),.mat-card-content>:last-child:not(.mat-card-footer){margin-bottom:0}.mat-card-image:first-child{margin-top:-16px;border-top-left-radius:inherit;border-top-right-radius:inherit}.mat-card>.mat-card-actions:last-child{margin-bottom:-8px;padding-bottom:0}.mat-card-actions:not(.mat-card-actions-align-end) .mat-button:first-child,.mat-card-actions:not(.mat-card-actions-align-end) .mat-raised-button:first-child,.mat-card-actions:not(.mat-card-actions-align-end) .mat-stroked-button:first-child{margin-left:0;margin-right:0}.mat-card-actions-align-end .mat-button:last-child,.mat-card-actions-align-end .mat-raised-button:last-child,.mat-card-actions-align-end .mat-stroked-button:last-child{margin-left:0;margin-right:0}.mat-card-title:not(:first-child),.mat-card-subtitle:not(:first-child){margin-top:-4px}.mat-card-header .mat-card-subtitle:not(:first-child){margin-top:-8px}.mat-card>.mat-card-xl-image:first-child{margin-top:-8px}.mat-card>.mat-card-xl-image:last-child{margin-bottom:-8px}\n"],encapsulation:2,changeDetection:0}),n})(),oO=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=At({type:n,selectors:[["mat-card-header"]],hostAttrs:[1,"mat-card-header"],ngContentSelectors:CQ,decls:4,vars:0,consts:[[1,"mat-card-header-text"]],template:function(e,i){1&e&&(yi(EQ),Sn(0),x(1,"div",0),Sn(2,1),O(),Sn(3,2))},encapsulation:2,changeDetection:0}),n})(),xQ=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Ht({type:n}),n.\u0275inj=He({imports:[[mn],mn]}),n})();const IQ=["input"],AQ=function(n){return{enterDuration:n}},RQ=["*"],LQ=new pt("mat-checkbox-default-options",{providedIn:"root",factory:aO});function aO(){return{color:"accent",clickAction:"check-indeterminate"}}let OQ=0;const lO=aO(),PQ={provide:Br,useExisting:Dt(()=>ac),multi:!0};class FQ{}const NQ=nc(Ya(to(eo(class{constructor(n){this._elementRef=n}}))));let ac=(()=>{class n extends NQ{constructor(e,i,r,s,o,a,l){super(e),this._changeDetectorRef=i,this._focusMonitor=r,this._ngZone=s,this._animationMode=a,this._options=l,this.ariaLabel="",this.ariaLabelledby=null,this._uniqueId="mat-checkbox-"+ ++OQ,this.id=this._uniqueId,this.labelPosition="after",this.name=null,this.change=new Yt,this.indeterminateChange=new Yt,this._onTouched=()=>{},this._currentAnimationClass="",this._currentCheckState=0,this._controlValueAccessorChangeFn=()=>{},this._checked=!1,this._disabled=!1,this._indeterminate=!1,this._options=this._options||lO,this.color=this.defaultColor=this._options.color||lO.color,this.tabIndex=parseInt(o)||0}get inputId(){return`${this.id||this._uniqueId}-input`}get required(){return this._required}set required(e){this._required=nn(e)}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(e=>{e||Promise.resolve().then(()=>{this._onTouched(),this._changeDetectorRef.markForCheck()})}),this._syncIndeterminate(this._indeterminate)}ngAfterViewChecked(){}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}get checked(){return this._checked}set checked(e){const i=nn(e);i!=this.checked&&(this._checked=i,this._changeDetectorRef.markForCheck())}get disabled(){return this._disabled}set disabled(e){const i=nn(e);i!==this.disabled&&(this._disabled=i,this._changeDetectorRef.markForCheck())}get indeterminate(){return this._indeterminate}set indeterminate(e){const i=e!=this._indeterminate;this._indeterminate=nn(e),i&&(this._transitionCheckState(this._indeterminate?3:this.checked?1:2),this.indeterminateChange.emit(this._indeterminate)),this._syncIndeterminate(this._indeterminate)}_isRippleDisabled(){return this.disableRipple||this.disabled}_onLabelTextChange(){this._changeDetectorRef.detectChanges()}writeValue(e){this.checked=!!e}registerOnChange(e){this._controlValueAccessorChangeFn=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this.disabled=e}_getAriaChecked(){return this.checked?"true":this.indeterminate?"mixed":"false"}_transitionCheckState(e){let i=this._currentCheckState,r=this._elementRef.nativeElement;if(i!==e&&(this._currentAnimationClass.length>0&&r.classList.remove(this._currentAnimationClass),this._currentAnimationClass=this._getAnimationClassForCheckStateTransition(i,e),this._currentCheckState=e,this._currentAnimationClass.length>0)){r.classList.add(this._currentAnimationClass);const s=this._currentAnimationClass;this._ngZone.runOutsideAngular(()=>{setTimeout(()=>{r.classList.remove(s)},1e3)})}}_emitChangeEvent(){const e=new FQ;e.source=this,e.checked=this.checked,this._controlValueAccessorChangeFn(this.checked),this.change.emit(e),this._inputElement&&(this._inputElement.nativeElement.checked=this.checked)}toggle(){this.checked=!this.checked,this._controlValueAccessorChangeFn(this.checked)}_onInputClick(e){var i;const r=null===(i=this._options)||void 0===i?void 0:i.clickAction;e.stopPropagation(),this.disabled||"noop"===r?!this.disabled&&"noop"===r&&(this._inputElement.nativeElement.checked=this.checked,this._inputElement.nativeElement.indeterminate=this.indeterminate):(this.indeterminate&&"check"!==r&&Promise.resolve().then(()=>{this._indeterminate=!1,this.indeterminateChange.emit(this._indeterminate)}),this._checked=!this._checked,this._transitionCheckState(this._checked?1:2),this._emitChangeEvent())}focus(e,i){e?this._focusMonitor.focusVia(this._inputElement,e,i):this._inputElement.nativeElement.focus(i)}_onInteractionEvent(e){e.stopPropagation()}_getAnimationClassForCheckStateTransition(e,i){if("NoopAnimations"===this._animationMode)return"";let r="";switch(e){case 0:if(1===i)r="unchecked-checked";else{if(3!=i)return"";r="unchecked-indeterminate"}break;case 2:r=1===i?"unchecked-checked":"unchecked-indeterminate";break;case 1:r=2===i?"checked-unchecked":"checked-indeterminate";break;case 3:r=1===i?"indeterminate-checked":"indeterminate-unchecked"}return`mat-checkbox-anim-${r}`}_syncIndeterminate(e){const i=this._inputElement;i&&(i.nativeElement.indeterminate=e)}}return n.\u0275fac=function(e){return new(e||n)(M(Zt),M(Gn),M(Ns),M(yn),_r("tabindex"),M(Zi,8),M(LQ,8))},n.\u0275cmp=At({type:n,selectors:[["mat-checkbox"]],viewQuery:function(e,i){if(1&e&&(hn(IQ,5),hn(no,5)),2&e){let r;Et(r=Ct())&&(i._inputElement=r.first),Et(r=Ct())&&(i.ripple=r.first)}},hostAttrs:[1,"mat-checkbox"],hostVars:14,hostBindings:function(e,i){2&e&&(go("id",i.id),dn("tabindex",null)("aria-label",null)("aria-labelledby",null),Cn("mat-checkbox-indeterminate",i.indeterminate)("mat-checkbox-checked",i.checked)("mat-checkbox-disabled",i.disabled)("mat-checkbox-label-before","before"==i.labelPosition)("_mat-animation-noopable","NoopAnimations"===i._animationMode))},inputs:{disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],ariaDescribedby:["aria-describedby","ariaDescribedby"],id:"id",required:"required",labelPosition:"labelPosition",name:"name",value:"value",checked:"checked",disabled:"disabled",indeterminate:"indeterminate"},outputs:{change:"change",indeterminateChange:"indeterminateChange"},exportAs:["matCheckbox"],features:[tn([PQ]),It],ngContentSelectors:RQ,decls:17,vars:21,consts:[[1,"mat-checkbox-layout"],["label",""],[1,"mat-checkbox-inner-container"],["type","checkbox",1,"mat-checkbox-input","cdk-visually-hidden",3,"id","required","checked","disabled","tabIndex","change","click"],["input",""],["matRipple","",1,"mat-checkbox-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleRadius","matRippleCentered","matRippleAnimation"],[1,"mat-ripple-element","mat-checkbox-persistent-ripple"],[1,"mat-checkbox-frame"],[1,"mat-checkbox-background"],["version","1.1","focusable","false","viewBox","0 0 24 24","aria-hidden","true",1,"mat-checkbox-checkmark"],["fill","none","stroke","white","d","M4.1,12.7 9,17.6 20.3,6.3",1,"mat-checkbox-checkmark-path"],[1,"mat-checkbox-mixedmark"],[1,"mat-checkbox-label",3,"cdkObserveContent"],["checkboxLabel",""],[2,"display","none"]],template:function(e,i){if(1&e&&(yi(),x(0,"label",0,1)(2,"span",2)(3,"input",3,4),tt("change",function(s){return i._onInteractionEvent(s)})("click",function(s){return i._onInputClick(s)}),O(),x(5,"span",5),wt(6,"span",6),O(),wt(7,"span",7),x(8,"span",8),Gs(),x(9,"svg",9),wt(10,"path",10),O(),Wa(),wt(11,"span",11),O()(),x(12,"span",12,13),tt("cdkObserveContent",function(){return i._onLabelTextChange()}),x(14,"span",14),Me(15,"\xa0"),O(),Sn(16),O()()),2&e){const r=ki(1),s=ki(13);dn("for",i.inputId),j(2),Cn("mat-checkbox-inner-container-no-side-margin",!s.textContent||!s.textContent.trim()),j(1),H("id",i.inputId)("required",i.required)("checked",i.checked)("disabled",i.disabled)("tabIndex",i.tabIndex),dn("value",i.value)("name",i.name)("aria-label",i.ariaLabel||null)("aria-labelledby",i.ariaLabelledby)("aria-checked",i._getAriaChecked())("aria-describedby",i.ariaDescribedby),j(2),H("matRippleTrigger",r)("matRippleDisabled",i._isRippleDisabled())("matRippleRadius",20)("matRippleCentered",!0)("matRippleAnimation",$o(19,AQ,"NoopAnimations"===i._animationMode?0:150))}},directives:[no,m_],styles:["@keyframes mat-checkbox-fade-in-background{0%{opacity:0}50%{opacity:1}}@keyframes mat-checkbox-fade-out-background{0%,50%{opacity:1}100%{opacity:0}}@keyframes mat-checkbox-unchecked-checked-checkmark-path{0%,50%{stroke-dashoffset:22.910259}50%{animation-timing-function:cubic-bezier(0, 0, 0.2, 0.1)}100%{stroke-dashoffset:0}}@keyframes mat-checkbox-unchecked-indeterminate-mixedmark{0%,68.2%{transform:scaleX(0)}68.2%{animation-timing-function:cubic-bezier(0, 0, 0, 1)}100%{transform:scaleX(1)}}@keyframes mat-checkbox-checked-unchecked-checkmark-path{from{animation-timing-function:cubic-bezier(0.4, 0, 1, 1);stroke-dashoffset:0}to{stroke-dashoffset:-22.910259}}@keyframes mat-checkbox-checked-indeterminate-checkmark{from{animation-timing-function:cubic-bezier(0, 0, 0.2, 0.1);opacity:1;transform:rotate(0deg)}to{opacity:0;transform:rotate(45deg)}}@keyframes mat-checkbox-indeterminate-checked-checkmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);opacity:0;transform:rotate(45deg)}to{opacity:1;transform:rotate(360deg)}}@keyframes mat-checkbox-checked-indeterminate-mixedmark{from{animation-timing-function:cubic-bezier(0, 0, 0.2, 0.1);opacity:0;transform:rotate(-45deg)}to{opacity:1;transform:rotate(0deg)}}@keyframes mat-checkbox-indeterminate-checked-mixedmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);opacity:1;transform:rotate(0deg)}to{opacity:0;transform:rotate(315deg)}}@keyframes mat-checkbox-indeterminate-unchecked-mixedmark{0%{animation-timing-function:linear;opacity:1;transform:scaleX(1)}32.8%,100%{opacity:0;transform:scaleX(0)}}.mat-checkbox-background,.mat-checkbox-frame{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:2px;box-sizing:border-box;pointer-events:none}.mat-checkbox{display:inline-block;transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);cursor:pointer;-webkit-tap-highlight-color:transparent}._mat-animation-noopable.mat-checkbox{transition:none;animation:none}.mat-checkbox .mat-ripple-element:not(.mat-checkbox-persistent-ripple){opacity:.16}.mat-checkbox .mat-checkbox-ripple{position:absolute;left:calc(50% - 20px);top:calc(50% - 20px);height:40px;width:40px;z-index:1;pointer-events:none}.cdk-high-contrast-active .mat-checkbox.cdk-keyboard-focused .mat-checkbox-ripple{outline:solid 3px}.mat-checkbox-layout{-webkit-user-select:none;user-select:none;cursor:inherit;align-items:baseline;vertical-align:middle;display:inline-flex;white-space:nowrap}.mat-checkbox-label{-webkit-user-select:auto;user-select:auto}.mat-checkbox-inner-container{display:inline-block;height:16px;line-height:0;margin:auto;margin-right:8px;order:0;position:relative;vertical-align:middle;white-space:nowrap;width:16px;flex-shrink:0}[dir=rtl] .mat-checkbox-inner-container{margin-left:8px;margin-right:auto}.mat-checkbox-inner-container-no-side-margin{margin-left:0;margin-right:0}.mat-checkbox-frame{background-color:transparent;transition:border-color 90ms cubic-bezier(0, 0, 0.2, 0.1);border-width:2px;border-style:solid}._mat-animation-noopable .mat-checkbox-frame{transition:none}.mat-checkbox-background{align-items:center;display:inline-flex;justify-content:center;transition:background-color 90ms cubic-bezier(0, 0, 0.2, 0.1),opacity 90ms cubic-bezier(0, 0, 0.2, 0.1);-webkit-print-color-adjust:exact;color-adjust:exact}._mat-animation-noopable .mat-checkbox-background{transition:none}.cdk-high-contrast-active .mat-checkbox .mat-checkbox-background{background:none}.mat-checkbox-persistent-ripple{display:block;width:100%;height:100%;transform:none}.mat-checkbox-inner-container:hover .mat-checkbox-persistent-ripple{opacity:.04}.mat-checkbox.cdk-keyboard-focused .mat-checkbox-persistent-ripple{opacity:.12}.mat-checkbox-persistent-ripple,.mat-checkbox.mat-checkbox-disabled .mat-checkbox-inner-container:hover .mat-checkbox-persistent-ripple{opacity:0}@media(hover: none){.mat-checkbox-inner-container:hover .mat-checkbox-persistent-ripple{display:none}}.mat-checkbox-checkmark{top:0;left:0;right:0;bottom:0;position:absolute;width:100%}.mat-checkbox-checkmark-path{stroke-dashoffset:22.910259;stroke-dasharray:22.910259;stroke-width:2.1333333333px}.cdk-high-contrast-black-on-white .mat-checkbox-checkmark-path{stroke:#000 !important}.mat-checkbox-mixedmark{width:calc(100% - 6px);height:2px;opacity:0;transform:scaleX(0) rotate(0deg);border-radius:2px}.cdk-high-contrast-active .mat-checkbox-mixedmark{height:0;border-top:solid 2px;margin-top:2px}.mat-checkbox-label-before .mat-checkbox-inner-container{order:1;margin-left:8px;margin-right:auto}[dir=rtl] .mat-checkbox-label-before .mat-checkbox-inner-container{margin-left:auto;margin-right:8px}.mat-checkbox-checked .mat-checkbox-checkmark{opacity:1}.mat-checkbox-checked .mat-checkbox-checkmark-path{stroke-dashoffset:0}.mat-checkbox-checked .mat-checkbox-mixedmark{transform:scaleX(1) rotate(-45deg)}.mat-checkbox-indeterminate .mat-checkbox-checkmark{opacity:0;transform:rotate(45deg)}.mat-checkbox-indeterminate .mat-checkbox-checkmark-path{stroke-dashoffset:0}.mat-checkbox-indeterminate .mat-checkbox-mixedmark{opacity:1;transform:scaleX(1) rotate(0deg)}.mat-checkbox-unchecked .mat-checkbox-background{background-color:transparent}.mat-checkbox-disabled{cursor:default}.cdk-high-contrast-active .mat-checkbox-disabled{opacity:.5}.mat-checkbox-anim-unchecked-checked .mat-checkbox-background{animation:180ms linear 0ms mat-checkbox-fade-in-background}.mat-checkbox-anim-unchecked-checked .mat-checkbox-checkmark-path{animation:180ms linear 0ms mat-checkbox-unchecked-checked-checkmark-path}.mat-checkbox-anim-unchecked-indeterminate .mat-checkbox-background{animation:180ms linear 0ms mat-checkbox-fade-in-background}.mat-checkbox-anim-unchecked-indeterminate .mat-checkbox-mixedmark{animation:90ms linear 0ms mat-checkbox-unchecked-indeterminate-mixedmark}.mat-checkbox-anim-checked-unchecked .mat-checkbox-background{animation:180ms linear 0ms mat-checkbox-fade-out-background}.mat-checkbox-anim-checked-unchecked .mat-checkbox-checkmark-path{animation:90ms linear 0ms mat-checkbox-checked-unchecked-checkmark-path}.mat-checkbox-anim-checked-indeterminate .mat-checkbox-checkmark{animation:90ms linear 0ms mat-checkbox-checked-indeterminate-checkmark}.mat-checkbox-anim-checked-indeterminate .mat-checkbox-mixedmark{animation:90ms linear 0ms mat-checkbox-checked-indeterminate-mixedmark}.mat-checkbox-anim-indeterminate-checked .mat-checkbox-checkmark{animation:500ms linear 0ms mat-checkbox-indeterminate-checked-checkmark}.mat-checkbox-anim-indeterminate-checked .mat-checkbox-mixedmark{animation:500ms linear 0ms mat-checkbox-indeterminate-checked-mixedmark}.mat-checkbox-anim-indeterminate-unchecked .mat-checkbox-background{animation:180ms linear 0ms mat-checkbox-fade-out-background}.mat-checkbox-anim-indeterminate-unchecked .mat-checkbox-mixedmark{animation:300ms linear 0ms mat-checkbox-indeterminate-unchecked-mixedmark}.mat-checkbox-input{bottom:0;left:50%}\n"],encapsulation:2,changeDetection:0}),n})(),cO=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Ht({type:n}),n.\u0275inj=He({}),n})(),uO=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Ht({type:n}),n.\u0275inj=He({imports:[[sa,mn,Bp,cO],mn,cO]}),n})();const YQ=["*"],dO=new pt("MatChipRemove"),hO=new pt("MatChipAvatar"),pO=new pt("MatChipTrailingIcon");class HQ{constructor(t){this._elementRef=t}}const VQ=nc(Ya(to(HQ),"primary"),-1);let Yd=(()=>{class n extends VQ{constructor(e,i,r,s,o,a,l,h){super(e),this._ngZone=i,this._changeDetectorRef=o,this._hasFocus=!1,this.chipListSelectable=!0,this._chipListMultiple=!1,this._chipListDisabled=!1,this._selected=!1,this._selectable=!0,this._disabled=!1,this._removable=!0,this._onFocus=new K,this._onBlur=new K,this.selectionChange=new Yt,this.destroyed=new Yt,this.removed=new Yt,this._addHostClassName(),this._chipRippleTarget=a.createElement("div"),this._chipRippleTarget.classList.add("mat-chip-ripple"),this._elementRef.nativeElement.appendChild(this._chipRippleTarget),this._chipRipple=new RL(this,i,this._chipRippleTarget,r),this._chipRipple.setupTriggerEvents(e),this.rippleConfig=s||{},this._animationsDisabled="NoopAnimations"===l,this.tabIndex=null!=h&&parseInt(h)||-1}get rippleDisabled(){return this.disabled||this.disableRipple||this._animationsDisabled||!!this.rippleConfig.disabled}get selected(){return this._selected}set selected(e){const i=nn(e);i!==this._selected&&(this._selected=i,this._dispatchSelectionChange())}get value(){return void 0!==this._value?this._value:this._elementRef.nativeElement.textContent}set value(e){this._value=e}get selectable(){return this._selectable&&this.chipListSelectable}set selectable(e){this._selectable=nn(e)}get disabled(){return this._chipListDisabled||this._disabled}set disabled(e){this._disabled=nn(e)}get removable(){return this._removable}set removable(e){this._removable=nn(e)}get ariaSelected(){return this.selectable&&(this._chipListMultiple||this.selected)?this.selected.toString():null}_addHostClassName(){const e="mat-basic-chip",i=this._elementRef.nativeElement;i.hasAttribute(e)||i.tagName.toLowerCase()===e?i.classList.add(e):i.classList.add("mat-standard-chip")}ngOnDestroy(){this.destroyed.emit({chip:this}),this._chipRipple._removeTriggerEvents()}select(){this._selected||(this._selected=!0,this._dispatchSelectionChange(),this._changeDetectorRef.markForCheck())}deselect(){this._selected&&(this._selected=!1,this._dispatchSelectionChange(),this._changeDetectorRef.markForCheck())}selectViaInteraction(){this._selected||(this._selected=!0,this._dispatchSelectionChange(!0),this._changeDetectorRef.markForCheck())}toggleSelected(e=!1){return this._selected=!this.selected,this._dispatchSelectionChange(e),this._changeDetectorRef.markForCheck(),this.selected}focus(){this._hasFocus||(this._elementRef.nativeElement.focus(),this._onFocus.next({chip:this})),this._hasFocus=!0}remove(){this.removable&&this.removed.emit({chip:this})}_handleClick(e){this.disabled&&e.preventDefault()}_handleKeydown(e){if(!this.disabled)switch(e.keyCode){case 46:case 8:this.remove(),e.preventDefault();break;case 32:this.selectable&&this.toggleSelected(!0),e.preventDefault()}}_blur(){this._ngZone.onStable.pipe(Ii(1)).subscribe(()=>{this._ngZone.run(()=>{this._hasFocus=!1,this._onBlur.next({chip:this})})})}_dispatchSelectionChange(e=!1){this.selectionChange.emit({source:this,isUserInput:e,selected:this._selected})}}return n.\u0275fac=function(e){return new(e||n)(M(Zt),M(yn),M(zi),M(LL,8),M(Gn),M(Dn),M(Zi,8),_r("tabindex"))},n.\u0275dir=rt({type:n,selectors:[["mat-basic-chip"],["","mat-basic-chip",""],["mat-chip"],["","mat-chip",""]],contentQueries:function(e,i,r){if(1&e&&(Pn(r,hO,5),Pn(r,pO,5),Pn(r,dO,5)),2&e){let s;Et(s=Ct())&&(i.avatar=s.first),Et(s=Ct())&&(i.trailingIcon=s.first),Et(s=Ct())&&(i.removeIcon=s.first)}},hostAttrs:["role","option",1,"mat-chip","mat-focus-indicator"],hostVars:14,hostBindings:function(e,i){1&e&&tt("click",function(s){return i._handleClick(s)})("keydown",function(s){return i._handleKeydown(s)})("focus",function(){return i.focus()})("blur",function(){return i._blur()}),2&e&&(dn("tabindex",i.disabled?null:i.tabIndex)("disabled",i.disabled||null)("aria-disabled",i.disabled.toString())("aria-selected",i.ariaSelected),Cn("mat-chip-selected",i.selected)("mat-chip-with-avatar",i.avatar)("mat-chip-with-trailing-icon",i.trailingIcon||i.removeIcon)("mat-chip-disabled",i.disabled)("_mat-animation-noopable",i._animationsDisabled))},inputs:{color:"color",disableRipple:"disableRipple",tabIndex:"tabIndex",selected:"selected",value:"value",selectable:"selectable",disabled:"disabled",removable:"removable"},outputs:{selectionChange:"selectionChange",destroyed:"destroyed",removed:"removed"},exportAs:["matChip"],features:[It]}),n})(),mO=(()=>{class n{constructor(e,i){this._parentChip=e,"BUTTON"===i.nativeElement.nodeName&&i.nativeElement.setAttribute("type","button")}_handleClick(e){const i=this._parentChip;i.removable&&!i.disabled&&i.remove(),e.stopPropagation(),e.preventDefault()}}return n.\u0275fac=function(e){return new(e||n)(M(Yd),M(Zt))},n.\u0275dir=rt({type:n,selectors:[["","matChipRemove",""]],hostAttrs:[1,"mat-chip-remove","mat-chip-trailing-icon"],hostBindings:function(e,i){1&e&&tt("click",function(s){return i._handleClick(s)})},features:[tn([{provide:dO,useExisting:n}])]}),n})();const fO=new pt("mat-chips-default-options"),$Q=QD(class{constructor(n,t,e,i){this._defaultErrorStateMatcher=n,this._parentForm=t,this._parentFormGroup=e,this.ngControl=i}});let WQ=0;class QQ{constructor(t,e){this.source=t,this.value=e}}let G_=(()=>{class n extends $Q{constructor(e,i,r,s,o,a,l){super(a,s,o,l),this._elementRef=e,this._changeDetectorRef=i,this._dir=r,this.controlType="mat-chip-list",this._lastDestroyedChipIndex=null,this._destroyed=new K,this._uid="mat-chip-list-"+WQ++,this._tabIndex=0,this._userTabIndex=null,this._onTouched=()=>{},this._onChange=()=>{},this._multiple=!1,this._compareWith=(h,f)=>h===f,this._disabled=!1,this.ariaOrientation="horizontal",this._selectable=!0,this.change=new Yt,this.valueChange=new Yt,this.ngControl&&(this.ngControl.valueAccessor=this)}get selected(){var e,i;return this.multiple?(null===(e=this._selectionModel)||void 0===e?void 0:e.selected)||[]:null===(i=this._selectionModel)||void 0===i?void 0:i.selected[0]}get role(){return this.empty?null:"listbox"}get multiple(){return this._multiple}set multiple(e){this._multiple=nn(e),this._syncChipsState()}get compareWith(){return this._compareWith}set compareWith(e){this._compareWith=e,this._selectionModel&&this._initializeSelection()}get value(){return this._value}set value(e){this.writeValue(e),this._value=e}get id(){return this._chipInput?this._chipInput.id:this._uid}get required(){var e,i,r,s;return null!==(s=null!==(e=this._required)&&void 0!==e?e:null===(r=null===(i=this.ngControl)||void 0===i?void 0:i.control)||void 0===r?void 0:r.hasValidator(Mr.required))&&void 0!==s&&s}set required(e){this._required=nn(e),this.stateChanges.next()}get placeholder(){return this._chipInput?this._chipInput.placeholder:this._placeholder}set placeholder(e){this._placeholder=e,this.stateChanges.next()}get focused(){return this._chipInput&&this._chipInput.focused||this._hasFocusedChip()}get empty(){return(!this._chipInput||this._chipInput.empty)&&(!this.chips||0===this.chips.length)}get shouldLabelFloat(){return!this.empty||this.focused}get disabled(){return this.ngControl?!!this.ngControl.disabled:this._disabled}set disabled(e){this._disabled=nn(e),this._syncChipsState()}get selectable(){return this._selectable}set selectable(e){this._selectable=nn(e),this.chips&&this.chips.forEach(i=>i.chipListSelectable=this._selectable)}set tabIndex(e){this._userTabIndex=e,this._tabIndex=e}get chipSelectionChanges(){return at(...this.chips.map(e=>e.selectionChange))}get chipFocusChanges(){return at(...this.chips.map(e=>e._onFocus))}get chipBlurChanges(){return at(...this.chips.map(e=>e._onBlur))}get chipRemoveChanges(){return at(...this.chips.map(e=>e.destroyed))}ngAfterContentInit(){this._keyManager=new Yp(this.chips).withWrap().withVerticalOrientation().withHomeAndEnd().withHorizontalOrientation(this._dir?this._dir.value:"ltr"),this._dir&&this._dir.change.pipe(vn(this._destroyed)).subscribe(e=>this._keyManager.withHorizontalOrientation(e)),this._keyManager.tabOut.pipe(vn(this._destroyed)).subscribe(()=>{this._allowFocusEscape()}),this.chips.changes.pipe(hr(null),vn(this._destroyed)).subscribe(()=>{this.disabled&&Promise.resolve().then(()=>{this._syncChipsState()}),this._resetChips(),this._initializeSelection(),this._updateTabIndex(),this._updateFocusForDestroyedChips(),this.stateChanges.next()})}ngOnInit(){this._selectionModel=new zp(this.multiple,void 0,!1),this.stateChanges.next()}ngDoCheck(){this.ngControl&&(this.updateErrorState(),this.ngControl.disabled!==this._disabled&&(this.disabled=!!this.ngControl.disabled))}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete(),this.stateChanges.complete(),this._dropSubscriptions()}registerInput(e){this._chipInput=e,this._elementRef.nativeElement.setAttribute("data-mat-chip-input",e.id)}setDescribedByIds(e){this._ariaDescribedby=e.join(" ")}writeValue(e){this.chips&&this._setSelectionByValue(e,!1)}registerOnChange(e){this._onChange=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this.disabled=e,this.stateChanges.next()}onContainerClick(e){this._originatesFromChip(e)||this.focus()}focus(e){this.disabled||this._chipInput&&this._chipInput.focused||(this.chips.length>0?(this._keyManager.setFirstItemActive(),this.stateChanges.next()):(this._focusInput(e),this.stateChanges.next()))}_focusInput(e){this._chipInput&&this._chipInput.focus(e)}_keydown(e){const i=e.target;i&&i.classList.contains("mat-chip")&&(this._keyManager.onKeydown(e),this.stateChanges.next())}_updateTabIndex(){this._tabIndex=this._userTabIndex||(0===this.chips.length?-1:0)}_updateFocusForDestroyedChips(){if(null!=this._lastDestroyedChipIndex)if(this.chips.length){const e=Math.min(this._lastDestroyedChipIndex,this.chips.length-1);this._keyManager.setActiveItem(e)}else this.focus();this._lastDestroyedChipIndex=null}_isValidIndex(e){return e>=0&&er.deselect()),Array.isArray(e))e.forEach(r=>this._selectValue(r,i)),this._sortValues();else{const r=this._selectValue(e,i);r&&i&&this._keyManager.setActiveItem(r)}}_selectValue(e,i=!0){const r=this.chips.find(s=>null!=s.value&&this._compareWith(s.value,e));return r&&(i?r.selectViaInteraction():r.select(),this._selectionModel.select(r)),r}_initializeSelection(){Promise.resolve().then(()=>{(this.ngControl||this._value)&&(this._setSelectionByValue(this.ngControl?this.ngControl.value:this._value,!1),this.stateChanges.next())})}_clearSelection(e){this._selectionModel.clear(),this.chips.forEach(i=>{i!==e&&i.deselect()}),this.stateChanges.next()}_sortValues(){this._multiple&&(this._selectionModel.clear(),this.chips.forEach(e=>{e.selected&&this._selectionModel.select(e)}),this.stateChanges.next())}_propagateChanges(e){let i=null;i=Array.isArray(this.selected)?this.selected.map(r=>r.value):this.selected?this.selected.value:e,this._value=i,this.change.emit(new QQ(this,i)),this.valueChange.emit(i),this._onChange(i),this._changeDetectorRef.markForCheck()}_blur(){this._hasFocusedChip()||this._keyManager.setActiveItem(-1),this.disabled||(this._chipInput?setTimeout(()=>{this.focused||this._markAsTouched()}):this._markAsTouched())}_markAsTouched(){this._onTouched(),this._changeDetectorRef.markForCheck(),this.stateChanges.next()}_allowFocusEscape(){-1!==this._tabIndex&&(this._tabIndex=-1,setTimeout(()=>{this._tabIndex=this._userTabIndex||0,this._changeDetectorRef.markForCheck()}))}_resetChips(){this._dropSubscriptions(),this._listenToChipsFocus(),this._listenToChipsSelection(),this._listenToChipsRemoved()}_dropSubscriptions(){this._chipFocusSubscription&&(this._chipFocusSubscription.unsubscribe(),this._chipFocusSubscription=null),this._chipBlurSubscription&&(this._chipBlurSubscription.unsubscribe(),this._chipBlurSubscription=null),this._chipSelectionSubscription&&(this._chipSelectionSubscription.unsubscribe(),this._chipSelectionSubscription=null),this._chipRemoveSubscription&&(this._chipRemoveSubscription.unsubscribe(),this._chipRemoveSubscription=null)}_listenToChipsSelection(){this._chipSelectionSubscription=this.chipSelectionChanges.subscribe(e=>{e.source.selected?this._selectionModel.select(e.source):this._selectionModel.deselect(e.source),this.multiple||this.chips.forEach(i=>{!this._selectionModel.isSelected(i)&&i.selected&&i.deselect()}),e.isUserInput&&this._propagateChanges()})}_listenToChipsFocus(){this._chipFocusSubscription=this.chipFocusChanges.subscribe(e=>{let i=this.chips.toArray().indexOf(e.chip);this._isValidIndex(i)&&this._keyManager.updateActiveItem(i),this.stateChanges.next()}),this._chipBlurSubscription=this.chipBlurChanges.subscribe(()=>{this._blur(),this.stateChanges.next()})}_listenToChipsRemoved(){this._chipRemoveSubscription=this.chipRemoveChanges.subscribe(e=>{const i=e.chip,r=this.chips.toArray().indexOf(e.chip);this._isValidIndex(r)&&i._hasFocus&&(this._lastDestroyedChipIndex=r)})}_originatesFromChip(e){let i=e.target;for(;i&&i!==this._elementRef.nativeElement;){if(i.classList.contains("mat-chip"))return!0;i=i.parentElement}return!1}_hasFocusedChip(){return this.chips&&this.chips.some(e=>e._hasFocus)}_syncChipsState(){this.chips&&this.chips.forEach(e=>{e._chipListDisabled=this._disabled,e._chipListMultiple=this.multiple})}}return n.\u0275fac=function(e){return new(e||n)(M(Zt),M(Gn),M(Hr,8),M(Sd,8),M(ds,8),M(Fd),M(Eo,10))},n.\u0275cmp=At({type:n,selectors:[["mat-chip-list"]],contentQueries:function(e,i,r){if(1&e&&Pn(r,Yd,5),2&e){let s;Et(s=Ct())&&(i.chips=s)}},hostAttrs:[1,"mat-chip-list"],hostVars:15,hostBindings:function(e,i){1&e&&tt("focus",function(){return i.focus()})("blur",function(){return i._blur()})("keydown",function(s){return i._keydown(s)}),2&e&&(go("id",i._uid),dn("tabindex",i.disabled?null:i._tabIndex)("aria-describedby",i._ariaDescribedby||null)("aria-required",i.role?i.required:null)("aria-disabled",i.disabled.toString())("aria-invalid",i.errorState)("aria-multiselectable",i.multiple)("role",i.role)("aria-orientation",i.ariaOrientation),Cn("mat-chip-list-disabled",i.disabled)("mat-chip-list-invalid",i.errorState)("mat-chip-list-required",i.required))},inputs:{errorStateMatcher:"errorStateMatcher",multiple:"multiple",compareWith:"compareWith",value:"value",required:"required",placeholder:"placeholder",disabled:"disabled",ariaOrientation:["aria-orientation","ariaOrientation"],selectable:"selectable",tabIndex:"tabIndex"},outputs:{change:"change",valueChange:"valueChange"},exportAs:["matChipList"],features:[tn([{provide:Xp,useExisting:n}]),It],ngContentSelectors:YQ,decls:2,vars:0,consts:[[1,"mat-chip-list-wrapper"]],template:function(e,i){1&e&&(yi(),x(0,"div",0),Sn(1),O())},styles:['.mat-chip{position:relative;box-sizing:border-box;-webkit-tap-highlight-color:transparent;border:none;-webkit-appearance:none;-moz-appearance:none}.mat-standard-chip{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);display:inline-flex;padding:7px 12px;border-radius:16px;align-items:center;cursor:default;min-height:32px;height:1px}._mat-animation-noopable.mat-standard-chip{transition:none;animation:none}.mat-standard-chip .mat-chip-remove{border:none;-webkit-appearance:none;-moz-appearance:none;padding:0;background:none}.mat-standard-chip .mat-chip-remove.mat-icon,.mat-standard-chip .mat-chip-remove .mat-icon{width:18px;height:18px;font-size:18px}.mat-standard-chip::after{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:inherit;opacity:0;content:"";pointer-events:none;transition:opacity 200ms cubic-bezier(0.35, 0, 0.25, 1)}.mat-standard-chip:hover::after{opacity:.12}.mat-standard-chip:focus{outline:none}.mat-standard-chip:focus::after{opacity:.16}.cdk-high-contrast-active .mat-standard-chip{outline:solid 1px}.cdk-high-contrast-active .mat-standard-chip:focus{outline:dotted 2px}.cdk-high-contrast-active .mat-standard-chip.mat-chip-selected{outline-width:3px}.mat-standard-chip.mat-chip-disabled::after{opacity:0}.mat-standard-chip.mat-chip-disabled .mat-chip-remove,.mat-standard-chip.mat-chip-disabled .mat-chip-trailing-icon{cursor:default}.mat-standard-chip.mat-chip-with-trailing-icon.mat-chip-with-avatar,.mat-standard-chip.mat-chip-with-avatar{padding-top:0;padding-bottom:0}.mat-standard-chip.mat-chip-with-trailing-icon.mat-chip-with-avatar{padding-right:8px;padding-left:0}[dir=rtl] .mat-standard-chip.mat-chip-with-trailing-icon.mat-chip-with-avatar{padding-left:8px;padding-right:0}.mat-standard-chip.mat-chip-with-trailing-icon{padding-top:7px;padding-bottom:7px;padding-right:8px;padding-left:12px}[dir=rtl] .mat-standard-chip.mat-chip-with-trailing-icon{padding-left:8px;padding-right:12px}.mat-standard-chip.mat-chip-with-avatar{padding-left:0;padding-right:12px}[dir=rtl] .mat-standard-chip.mat-chip-with-avatar{padding-right:0;padding-left:12px}.mat-standard-chip .mat-chip-avatar{width:24px;height:24px;margin-right:8px;margin-left:4px}[dir=rtl] .mat-standard-chip .mat-chip-avatar{margin-left:8px;margin-right:4px}.mat-standard-chip .mat-chip-remove,.mat-standard-chip .mat-chip-trailing-icon{width:18px;height:18px;cursor:pointer}.mat-standard-chip .mat-chip-remove,.mat-standard-chip .mat-chip-trailing-icon{margin-left:8px;margin-right:0}[dir=rtl] .mat-standard-chip .mat-chip-remove,[dir=rtl] .mat-standard-chip .mat-chip-trailing-icon{margin-right:8px;margin-left:0}.mat-chip-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit;overflow:hidden;transform:translateZ(0)}.mat-chip-list-wrapper{display:flex;flex-direction:row;flex-wrap:wrap;align-items:center;margin:-4px}.mat-chip-list-wrapper input.mat-input-element,.mat-chip-list-wrapper .mat-standard-chip{margin:4px}.mat-chip-list-stacked .mat-chip-list-wrapper{flex-direction:column;align-items:flex-start}.mat-chip-list-stacked .mat-chip-list-wrapper .mat-standard-chip{width:100%}.mat-chip-avatar{border-radius:50%;justify-content:center;align-items:center;display:flex;overflow:hidden;object-fit:cover}input.mat-chip-input{width:150px;margin:4px;flex:1 0 150px}\n'],encapsulation:2,changeDetection:0}),n})(),KQ=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Ht({type:n}),n.\u0275inj=He({providers:[Fd,{provide:fO,useValue:{separatorKeyCodes:[13]}}],imports:[[mn]]}),n})(),ZQ=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Ht({type:n}),n.\u0275inj=He({imports:[[Ad]]}),n})();const XQ=["*"];let $_;function em(n){var t;return(null===(t=function JQ(){if(void 0===$_&&($_=null,"undefined"!=typeof window)){const n=window;void 0!==n.trustedTypes&&($_=n.trustedTypes.createPolicy("angular#components",{createHTML:t=>t}))}return $_}())||void 0===t?void 0:t.createHTML(n))||n}function gO(n){return Error(`Unable to find icon with the name "${n}"`)}function _O(n){return Error(`The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was "${n}".`)}function yO(n){return Error(`The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was "${n}".`)}class su{constructor(t,e,i){this.url=t,this.svgText=e,this.options=i}}let W_=(()=>{class n{constructor(e,i,r,s){this._httpClient=e,this._sanitizer=i,this._errorHandler=s,this._svgIconConfigs=new Map,this._iconSetConfigs=new Map,this._cachedIconsByUrl=new Map,this._inProgressUrlFetches=new Map,this._fontCssClassesByAlias=new Map,this._resolvers=[],this._defaultFontSetClass="material-icons",this._document=r}addSvgIcon(e,i,r){return this.addSvgIconInNamespace("",e,i,r)}addSvgIconLiteral(e,i,r){return this.addSvgIconLiteralInNamespace("",e,i,r)}addSvgIconInNamespace(e,i,r,s){return this._addSvgIconConfig(e,i,new su(r,null,s))}addSvgIconResolver(e){return this._resolvers.push(e),this}addSvgIconLiteralInNamespace(e,i,r,s){const o=this._sanitizer.sanitize(_i.HTML,r);if(!o)throw yO(r);const a=em(o);return this._addSvgIconConfig(e,i,new su("",a,s))}addSvgIconSet(e,i){return this.addSvgIconSetInNamespace("",e,i)}addSvgIconSetLiteral(e,i){return this.addSvgIconSetLiteralInNamespace("",e,i)}addSvgIconSetInNamespace(e,i,r){return this._addSvgIconSetConfig(e,new su(i,null,r))}addSvgIconSetLiteralInNamespace(e,i,r){const s=this._sanitizer.sanitize(_i.HTML,i);if(!s)throw yO(i);const o=em(s);return this._addSvgIconSetConfig(e,new su("",o,r))}registerFontClassAlias(e,i=e){return this._fontCssClassesByAlias.set(e,i),this}classNameForFontAlias(e){return this._fontCssClassesByAlias.get(e)||e}setDefaultFontSetClass(e){return this._defaultFontSetClass=e,this}getDefaultFontSetClass(){return this._defaultFontSetClass}getSvgIconFromUrl(e){const i=this._sanitizer.sanitize(_i.RESOURCE_URL,e);if(!i)throw _O(e);const r=this._cachedIconsByUrl.get(i);return r?Wt(Q_(r)):this._loadSvgIconFromConfig(new su(e,null)).pipe(wr(s=>this._cachedIconsByUrl.set(i,s)),_e(s=>Q_(s)))}getNamedSvgIcon(e,i=""){const r=vO(i,e);let s=this._svgIconConfigs.get(r);if(s)return this._getSvgFromConfig(s);if(s=this._getIconConfigFromResolvers(i,e),s)return this._svgIconConfigs.set(r,s),this._getSvgFromConfig(s);const o=this._iconSetConfigs.get(i);return o?this._getSvgFromIconSetConfigs(e,o):Qi(gO(r))}ngOnDestroy(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig(e){return e.svgText?Wt(Q_(this._svgElementFromConfig(e))):this._loadSvgIconFromConfig(e).pipe(_e(i=>Q_(i)))}_getSvgFromIconSetConfigs(e,i){const r=this._extractIconWithNameFromAnySet(e,i);return r?Wt(r):Oa(i.filter(o=>!o.svgText).map(o=>this._loadSvgIconSetFromConfig(o).pipe(Ni(a=>{const h=`Loading icon set URL: ${this._sanitizer.sanitize(_i.RESOURCE_URL,o.url)} failed: ${a.message}`;return this._errorHandler.handleError(new Error(h)),Wt(null)})))).pipe(_e(()=>{const o=this._extractIconWithNameFromAnySet(e,i);if(!o)throw gO(e);return o}))}_extractIconWithNameFromAnySet(e,i){for(let r=i.length-1;r>=0;r--){const s=i[r];if(s.svgText&&s.svgText.toString().indexOf(e)>-1){const o=this._svgElementFromConfig(s),a=this._extractSvgIconFromSet(o,e,s.options);if(a)return a}}return null}_loadSvgIconFromConfig(e){return this._fetchIcon(e).pipe(wr(i=>e.svgText=i),_e(()=>this._svgElementFromConfig(e)))}_loadSvgIconSetFromConfig(e){return e.svgText?Wt(null):this._fetchIcon(e).pipe(wr(i=>e.svgText=i))}_extractSvgIconFromSet(e,i,r){const s=e.querySelector(`[id="${i}"]`);if(!s)return null;const o=s.cloneNode(!0);if(o.removeAttribute("id"),"svg"===o.nodeName.toLowerCase())return this._setSvgAttributes(o,r);if("symbol"===o.nodeName.toLowerCase())return this._setSvgAttributes(this._toSvgElement(o),r);const a=this._svgElementFromString(em(""));return a.appendChild(o),this._setSvgAttributes(a,r)}_svgElementFromString(e){const i=this._document.createElement("DIV");i.innerHTML=e;const r=i.querySelector("svg");if(!r)throw Error(" tag not found");return r}_toSvgElement(e){const i=this._svgElementFromString(em("")),r=e.attributes;for(let s=0;sem(f)),Ia(()=>this._inProgressUrlFetches.delete(a)),Ie());return this._inProgressUrlFetches.set(a,h),h}_addSvgIconConfig(e,i,r){return this._svgIconConfigs.set(vO(e,i),r),this}_addSvgIconSetConfig(e,i){const r=this._iconSetConfigs.get(e);return r?r.push(i):this._iconSetConfigs.set(e,[i]),this}_svgElementFromConfig(e){if(!e.svgElement){const i=this._svgElementFromString(e.svgText);this._setSvgAttributes(i,e.options),e.svgElement=i}return e.svgElement}_getIconConfigFromResolvers(e,i){for(let r=0;rt?t.pathname+t.search:""}}}),bO=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],oK=bO.map(n=>`[${n}]`).join(", "),aK=/^url\(['"]?#(.*?)['"]?\)$/;let hs=(()=>{class n extends iK{constructor(e,i,r,s,o){super(e),this._iconRegistry=i,this._location=s,this._errorHandler=o,this._inline=!1,this._currentIconFetch=P.EMPTY,r||e.nativeElement.setAttribute("aria-hidden","true")}get inline(){return this._inline}set inline(e){this._inline=nn(e)}get svgIcon(){return this._svgIcon}set svgIcon(e){e!==this._svgIcon&&(e?this._updateSvgIcon(e):this._svgIcon&&this._clearSvgElement(),this._svgIcon=e)}get fontSet(){return this._fontSet}set fontSet(e){const i=this._cleanupFontValue(e);i!==this._fontSet&&(this._fontSet=i,this._updateFontIconClasses())}get fontIcon(){return this._fontIcon}set fontIcon(e){const i=this._cleanupFontValue(e);i!==this._fontIcon&&(this._fontIcon=i,this._updateFontIconClasses())}_splitIconName(e){if(!e)return["",""];const i=e.split(":");switch(i.length){case 1:return["",i[0]];case 2:return i;default:throw Error(`Invalid icon name: "${e}"`)}}ngOnInit(){this._updateFontIconClasses()}ngAfterViewChecked(){const e=this._elementsWithExternalReferences;if(e&&e.size){const i=this._location.getPathname();i!==this._previousPath&&(this._previousPath=i,this._prependPathToReferences(i))}}ngOnDestroy(){this._currentIconFetch.unsubscribe(),this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear()}_usingFontIcon(){return!this.svgIcon}_setSvgElement(e){this._clearSvgElement();const i=this._location.getPathname();this._previousPath=i,this._cacheChildrenWithExternalReferences(e),this._prependPathToReferences(i),this._elementRef.nativeElement.appendChild(e)}_clearSvgElement(){const e=this._elementRef.nativeElement;let i=e.childNodes.length;for(this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear();i--;){const r=e.childNodes[i];(1!==r.nodeType||"svg"===r.nodeName.toLowerCase())&&r.remove()}}_updateFontIconClasses(){if(!this._usingFontIcon())return;const e=this._elementRef.nativeElement,i=this.fontSet?this._iconRegistry.classNameForFontAlias(this.fontSet):this._iconRegistry.getDefaultFontSetClass();i!=this._previousFontSetClass&&(this._previousFontSetClass&&e.classList.remove(this._previousFontSetClass),i&&e.classList.add(i),this._previousFontSetClass=i),this.fontIcon!=this._previousFontIconClass&&(this._previousFontIconClass&&e.classList.remove(this._previousFontIconClass),this.fontIcon&&e.classList.add(this.fontIcon),this._previousFontIconClass=this.fontIcon)}_cleanupFontValue(e){return"string"==typeof e?e.trim().split(" ")[0]:e}_prependPathToReferences(e){const i=this._elementsWithExternalReferences;i&&i.forEach((r,s)=>{r.forEach(o=>{s.setAttribute(o.name,`url('${e}#${o.value}')`)})})}_cacheChildrenWithExternalReferences(e){const i=e.querySelectorAll(oK),r=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let s=0;s{const a=i[s],l=a.getAttribute(o),h=l?l.match(aK):null;if(h){let f=r.get(a);f||(f=[],r.set(a,f)),f.push({name:o,value:h[1]})}})}_updateSvgIcon(e){if(this._svgNamespace=null,this._svgName=null,this._currentIconFetch.unsubscribe(),e){const[i,r]=this._splitIconName(e);i&&(this._svgNamespace=i),r&&(this._svgName=r),this._currentIconFetch=this._iconRegistry.getNamedSvgIcon(r,i).pipe(Ii(1)).subscribe(s=>this._setSvgElement(s),s=>{this._errorHandler.handleError(new Error(`Error retrieving icon ${i}:${r}! ${s.message}`))})}}}return n.\u0275fac=function(e){return new(e||n)(M(Zt),M(W_),_r("aria-hidden"),M(rK),M(Ka))},n.\u0275cmp=At({type:n,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:7,hostBindings:function(e,i){2&e&&(dn("data-mat-icon-type",i._usingFontIcon()?"font":"svg")("data-mat-icon-name",i._svgName||i.fontIcon)("data-mat-icon-namespace",i._svgNamespace||i.fontSet),Cn("mat-icon-inline",i.inline)("mat-icon-no-color","primary"!==i.color&&"accent"!==i.color&&"warn"!==i.color))},inputs:{color:"color",inline:"inline",svgIcon:"svgIcon",fontSet:"fontSet",fontIcon:"fontIcon"},exportAs:["matIcon"],features:[It],ngContentSelectors:XQ,decls:1,vars:0,template:function(e,i){1&e&&(yi(),Sn(0))},styles:[".mat-icon{-webkit-user-select:none;user-select:none;background-repeat:no-repeat;display:inline-block;fill:currentColor;height:24px;width:24px}.mat-icon.mat-icon-inline{font-size:inherit;height:inherit;line-height:inherit;width:inherit}[dir=rtl] .mat-icon-rtl-mirror{transform:scale(-1, 1)}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon{display:block}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button .mat-icon{margin:auto}\n"],encapsulation:2,changeDetection:0}),n})(),l0=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Ht({type:n}),n.\u0275inj=He({imports:[[mn],mn]}),n})(),c0=(()=>{class n{constructor(){this.changes=new K,this.optionalLabel="Optional",this.completedLabel="Completed",this.editableLabel="Editable"}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=De({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const yK={provide:c0,deps:[[new yr,new mo,c0]],useFactory:function _K(n){return n||new c0}};let vK=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Ht({type:n}),n.\u0275inj=He({providers:[yK,Fd],imports:[[mn,di,sc,Bd,ZQ,l0,sa],mn]}),n})();const MO=ia({passive:!0});let bK=(()=>{class n{constructor(e,i){this._platform=e,this._ngZone=i,this._monitoredElements=new Map}monitor(e){if(!this._platform.isBrowser)return Zo;const i=Dr(e),r=this._monitoredElements.get(i);if(r)return r.subject;const s=new K,o="cdk-text-field-autofilled",a=l=>{"cdk-text-field-autofill-start"!==l.animationName||i.classList.contains(o)?"cdk-text-field-autofill-end"===l.animationName&&i.classList.contains(o)&&(i.classList.remove(o),this._ngZone.run(()=>s.next({target:l.target,isAutofilled:!1}))):(i.classList.add(o),this._ngZone.run(()=>s.next({target:l.target,isAutofilled:!0})))};return this._ngZone.runOutsideAngular(()=>{i.addEventListener("animationstart",a,MO),i.classList.add("cdk-text-field-autofill-monitored")}),this._monitoredElements.set(i,{subject:s,unlisten:()=>{i.removeEventListener("animationstart",a,MO)}}),s}stopMonitoring(e){const i=Dr(e),r=this._monitoredElements.get(i);r&&(r.unlisten(),r.subject.complete(),i.classList.remove("cdk-text-field-autofill-monitored"),i.classList.remove("cdk-text-field-autofilled"),this._monitoredElements.delete(i))}ngOnDestroy(){this._monitoredElements.forEach((e,i)=>this.stopMonitoring(i))}}return n.\u0275fac=function(e){return new(e||n)(Se(zi),Se(yn))},n.\u0275prov=De({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),wK=(()=>{class n{constructor(e,i,r,s){this._elementRef=e,this._platform=i,this._ngZone=r,this._destroyed=new K,this._enabled=!0,this._previousMinRows=-1,this._isViewInited=!1,this._handleFocusEvent=o=>{this._hasFocus="focus"===o.type},this._document=s,this._textareaElement=this._elementRef.nativeElement}get minRows(){return this._minRows}set minRows(e){this._minRows=Ai(e),this._setMinHeight()}get maxRows(){return this._maxRows}set maxRows(e){this._maxRows=Ai(e),this._setMaxHeight()}get enabled(){return this._enabled}set enabled(e){e=nn(e),this._enabled!==e&&((this._enabled=e)?this.resizeToFitContent(!0):this.reset())}get placeholder(){return this._textareaElement.placeholder}set placeholder(e){this._cachedPlaceholderHeight=void 0,e?this._textareaElement.setAttribute("placeholder",e):this._textareaElement.removeAttribute("placeholder"),this._cacheTextareaPlaceholderHeight()}_setMinHeight(){const e=this.minRows&&this._cachedLineHeight?this.minRows*this._cachedLineHeight+"px":null;e&&(this._textareaElement.style.minHeight=e)}_setMaxHeight(){const e=this.maxRows&&this._cachedLineHeight?this.maxRows*this._cachedLineHeight+"px":null;e&&(this._textareaElement.style.maxHeight=e)}ngAfterViewInit(){this._platform.isBrowser&&(this._initialHeight=this._textareaElement.style.height,this.resizeToFitContent(),this._ngZone.runOutsideAngular(()=>{Na(this._getWindow(),"resize").pipe(TD(16),vn(this._destroyed)).subscribe(()=>this.resizeToFitContent(!0)),this._textareaElement.addEventListener("focus",this._handleFocusEvent),this._textareaElement.addEventListener("blur",this._handleFocusEvent)}),this._isViewInited=!0,this.resizeToFitContent(!0))}ngOnDestroy(){this._textareaElement.removeEventListener("focus",this._handleFocusEvent),this._textareaElement.removeEventListener("blur",this._handleFocusEvent),this._destroyed.next(),this._destroyed.complete()}_cacheTextareaLineHeight(){if(this._cachedLineHeight)return;let e=this._textareaElement.cloneNode(!1);e.rows=1,e.style.position="absolute",e.style.visibility="hidden",e.style.border="none",e.style.padding="0",e.style.height="",e.style.minHeight="",e.style.maxHeight="",e.style.overflow="hidden",this._textareaElement.parentNode.appendChild(e),this._cachedLineHeight=e.clientHeight,e.remove(),this._setMinHeight(),this._setMaxHeight()}_measureScrollHeight(){const e=this._textareaElement,i=e.style.marginBottom||"",r=this._platform.FIREFOX,s=r&&this._hasFocus,o=r?"cdk-textarea-autosize-measuring-firefox":"cdk-textarea-autosize-measuring";s&&(e.style.marginBottom=`${e.clientHeight}px`),e.classList.add(o);const a=e.scrollHeight-4;return e.classList.remove(o),s&&(e.style.marginBottom=i),a}_cacheTextareaPlaceholderHeight(){if(!this._isViewInited||null!=this._cachedPlaceholderHeight)return;if(!this.placeholder)return void(this._cachedPlaceholderHeight=0);const e=this._textareaElement.value;this._textareaElement.value=this._textareaElement.placeholder,this._cachedPlaceholderHeight=this._measureScrollHeight(),this._textareaElement.value=e}ngDoCheck(){this._platform.isBrowser&&this.resizeToFitContent()}resizeToFitContent(e=!1){if(!this._enabled||(this._cacheTextareaLineHeight(),this._cacheTextareaPlaceholderHeight(),!this._cachedLineHeight))return;const i=this._elementRef.nativeElement,r=i.value;if(!e&&this._minRows===this._previousMinRows&&r===this._previousValue)return;const s=this._measureScrollHeight(),o=Math.max(s,this._cachedPlaceholderHeight||0);i.style.height=`${o}px`,this._ngZone.runOutsideAngular(()=>{"undefined"!=typeof requestAnimationFrame?requestAnimationFrame(()=>this._scrollToCaretPosition(i)):setTimeout(()=>this._scrollToCaretPosition(i))}),this._previousValue=r,this._previousMinRows=this._minRows}reset(){void 0!==this._initialHeight&&(this._textareaElement.style.height=this._initialHeight)}_noopInputHandler(){}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_scrollToCaretPosition(e){const{selectionStart:i,selectionEnd:r}=e;!this._destroyed.isStopped&&this._hasFocus&&e.setSelectionRange(i,r)}}return n.\u0275fac=function(e){return new(e||n)(M(Zt),M(zi),M(yn),M(Dn,8))},n.\u0275dir=rt({type:n,selectors:[["textarea","cdkTextareaAutosize",""]],hostAttrs:["rows","1",1,"cdk-textarea-autosize"],hostBindings:function(e,i){1&e&&tt("input",function(){return i._noopInputHandler()})},inputs:{minRows:["cdkAutosizeMinRows","minRows"],maxRows:["cdkAutosizeMaxRows","maxRows"],enabled:["cdkTextareaAutosize","enabled"],placeholder:"placeholder"},exportAs:["cdkTextareaAutosize"]}),n})(),DO=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Ht({type:n}),n.\u0275inj=He({}),n})();const EO=new pt("MAT_INPUT_VALUE_ACCESSOR"),MK=["button","checkbox","file","hidden","image","radio","range","reset","submit"];let DK=0;const EK=QD(class{constructor(n,t,e,i){this._defaultErrorStateMatcher=n,this._parentForm=t,this._parentFormGroup=e,this.ngControl=i}});let io=(()=>{class n extends EK{constructor(e,i,r,s,o,a,l,h,f,D){super(a,s,o,r),this._elementRef=e,this._platform=i,this._autofillMonitor=h,this._formField=D,this._uid="mat-input-"+DK++,this.focused=!1,this.stateChanges=new K,this.controlType="mat-input",this.autofilled=!1,this._disabled=!1,this._type="text",this._readonly=!1,this._neverEmptyInputTypes=["date","datetime","datetime-local","month","time","week"].filter(oe=>IR().has(oe)),this._iOSKeyupListener=oe=>{const Fe=oe.target;!Fe.value&&0===Fe.selectionStart&&0===Fe.selectionEnd&&(Fe.setSelectionRange(1,1),Fe.setSelectionRange(0,0))};const k=this._elementRef.nativeElement,Y=k.nodeName.toLowerCase();this._inputValueAccessor=l||k,this._previousNativeValue=this.value,this.id=this.id,i.IOS&&f.runOutsideAngular(()=>{e.nativeElement.addEventListener("keyup",this._iOSKeyupListener)}),this._isServer=!this._platform.isBrowser,this._isNativeSelect="select"===Y,this._isTextarea="textarea"===Y,this._isInFormField=!!D,this._isNativeSelect&&(this.controlType=k.multiple?"mat-native-select-multiple":"mat-native-select")}get disabled(){return this.ngControl&&null!==this.ngControl.disabled?this.ngControl.disabled:this._disabled}set disabled(e){this._disabled=nn(e),this.focused&&(this.focused=!1,this.stateChanges.next())}get id(){return this._id}set id(e){this._id=e||this._uid}get required(){var e,i,r,s;return null!==(s=null!==(e=this._required)&&void 0!==e?e:null===(r=null===(i=this.ngControl)||void 0===i?void 0:i.control)||void 0===r?void 0:r.hasValidator(Mr.required))&&void 0!==s&&s}set required(e){this._required=nn(e)}get type(){return this._type}set type(e){this._type=e||"text",this._validateType(),!this._isTextarea&&IR().has(this._type)&&(this._elementRef.nativeElement.type=this._type)}get value(){return this._inputValueAccessor.value}set value(e){e!==this.value&&(this._inputValueAccessor.value=e,this.stateChanges.next())}get readonly(){return this._readonly}set readonly(e){this._readonly=nn(e)}ngAfterViewInit(){this._platform.isBrowser&&this._autofillMonitor.monitor(this._elementRef.nativeElement).subscribe(e=>{this.autofilled=e.isAutofilled,this.stateChanges.next()})}ngOnChanges(){this.stateChanges.next()}ngOnDestroy(){this.stateChanges.complete(),this._platform.isBrowser&&this._autofillMonitor.stopMonitoring(this._elementRef.nativeElement),this._platform.IOS&&this._elementRef.nativeElement.removeEventListener("keyup",this._iOSKeyupListener)}ngDoCheck(){this.ngControl&&this.updateErrorState(),this._dirtyCheckNativeValue(),this._dirtyCheckPlaceholder()}focus(e){this._elementRef.nativeElement.focus(e)}_focusChanged(e){e!==this.focused&&(this.focused=e,this.stateChanges.next())}_onInput(){}_dirtyCheckPlaceholder(){var e,i;const r=(null===(i=null===(e=this._formField)||void 0===e?void 0:e._hideControlPlaceholder)||void 0===i?void 0:i.call(e))?null:this.placeholder;if(r!==this._previousPlaceholder){const s=this._elementRef.nativeElement;this._previousPlaceholder=r,r?s.setAttribute("placeholder",r):s.removeAttribute("placeholder")}}_dirtyCheckNativeValue(){const e=this._elementRef.nativeElement.value;this._previousNativeValue!==e&&(this._previousNativeValue=e,this.stateChanges.next())}_validateType(){MK.indexOf(this._type)}_isNeverEmpty(){return this._neverEmptyInputTypes.indexOf(this._type)>-1}_isBadInput(){let e=this._elementRef.nativeElement.validity;return e&&e.badInput}get empty(){return!(this._isNeverEmpty()||this._elementRef.nativeElement.value||this._isBadInput()||this.autofilled)}get shouldLabelFloat(){if(this._isNativeSelect){const e=this._elementRef.nativeElement,i=e.options[0];return this.focused||e.multiple||!this.empty||!!(e.selectedIndex>-1&&i&&i.label)}return this.focused||!this.empty}setDescribedByIds(e){e.length?this._elementRef.nativeElement.setAttribute("aria-describedby",e.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}onContainerClick(){this.focused||this.focus()}_isInlineSelect(){const e=this._elementRef.nativeElement;return this._isNativeSelect&&(e.multiple||e.size>1)}}return n.\u0275fac=function(e){return new(e||n)(M(Zt),M(zi),M(Eo,10),M(Sd,8),M(ds,8),M(Fd),M(EO,10),M(bK),M(yn),M(Jp,8))},n.\u0275dir=rt({type:n,selectors:[["input","matInput",""],["textarea","matInput",""],["select","matNativeControl",""],["input","matNativeControl",""],["textarea","matNativeControl",""]],hostAttrs:[1,"mat-input-element","mat-form-field-autofill-control"],hostVars:12,hostBindings:function(e,i){1&e&&tt("focus",function(){return i._focusChanged(!0)})("blur",function(){return i._focusChanged(!1)})("input",function(){return i._onInput()}),2&e&&(go("disabled",i.disabled)("required",i.required),dn("id",i.id)("data-placeholder",i.placeholder)("name",i.name||null)("readonly",i.readonly&&!i._isNativeSelect||null)("aria-invalid",i.empty&&i.required?null:i.errorState)("aria-required",i.required),Cn("mat-input-server",i._isServer)("mat-native-select-inline",i._isInlineSelect()))},inputs:{disabled:"disabled",id:"id",placeholder:"placeholder",name:"name",required:"required",type:"type",errorStateMatcher:"errorStateMatcher",userAriaDescribedBy:["aria-describedby","userAriaDescribedBy"],value:"value",readonly:"readonly"},exportAs:["matInput"],features:[tn([{provide:Xp,useExisting:n}]),It,Jn]}),n})(),CK=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Ht({type:n}),n.\u0275inj=He({providers:[Fd],imports:[[DO,s0,mn],DO,s0]}),n})(),PK=(()=>{class n{constructor(){this.changes=new K,this.calendarLabel="Calendar",this.openCalendarLabel="Open calendar",this.closeCalendarLabel="Close calendar",this.prevMonthLabel="Previous month",this.nextMonthLabel="Next month",this.prevYearLabel="Previous year",this.nextYearLabel="Next year",this.prevMultiYearLabel="Previous 24 years",this.nextMultiYearLabel="Next 24 years",this.switchToMonthViewLabel="Choose date",this.switchToMultiYearViewLabel="Choose month and year"}formatYearRange(e,i){return`${e} \u2013 ${i}`}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=De({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const jK={provide:new pt("mat-datepicker-scroll-strategy"),deps:[Ds],useFactory:function NK(n){return()=>n.scrollStrategies.reposition()}};let qK=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Ht({type:n}),n.\u0275inj=He({providers:[PK,jK],imports:[[di,Bd,oc,b_,sc,mn],ja]}),n})();function UK(n,t){}class u0{constructor(){this.role="dialog",this.panelClass="",this.hasBackdrop=!0,this.backdropClass="",this.disableClose=!1,this.width="",this.height="",this.maxWidth="80vw",this.data=null,this.ariaDescribedBy=null,this.ariaLabelledBy=null,this.ariaLabel=null,this.autoFocus="first-tabbable",this.restoreFocus=!0,this.delayFocusTrap=!0,this.closeOnNavigation=!0}}const zK={dialogContainer:Ki("dialogContainer",[qn("void, exit",ln({opacity:0,transform:"scale(0.7)"})),qn("enter",ln({transform:"none"})),Zn("* => enter",ng([ti("150ms cubic-bezier(0, 0, 0.2, 1)",ln({transform:"none",opacity:1})),gd("@*",fd(),{optional:!0})])),Zn("* => void, * => exit",ng([ti("75ms cubic-bezier(0.4, 0.0, 0.2, 1)",ln({opacity:0})),gd("@*",fd(),{optional:!0})]))])};let GK=(()=>{class n extends q_{constructor(e,i,r,s,o,a,l,h){super(),this._elementRef=e,this._focusTrapFactory=i,this._changeDetectorRef=r,this._config=o,this._interactivityChecker=a,this._ngZone=l,this._focusMonitor=h,this._animationStateChanged=new Yt,this._elementFocusedBeforeDialogWasOpened=null,this._closeInteractionType=null,this.attachDomPortal=f=>(this._portalOutlet.hasAttached(),this._portalOutlet.attachDomPortal(f)),this._ariaLabelledBy=o.ariaLabelledBy||null,this._document=s}_initializeWithAttachedContent(){this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._document&&(this._elementFocusedBeforeDialogWasOpened=mD())}attachComponentPortal(e){return this._portalOutlet.hasAttached(),this._portalOutlet.attachComponentPortal(e)}attachTemplatePortal(e){return this._portalOutlet.hasAttached(),this._portalOutlet.attachTemplatePortal(e)}_recaptureFocus(){this._containsFocus()||this._trapFocus()}_forceFocus(e,i){this._interactivityChecker.isFocusable(e)||(e.tabIndex=-1,this._ngZone.runOutsideAngular(()=>{const r=()=>{e.removeEventListener("blur",r),e.removeEventListener("mousedown",r),e.removeAttribute("tabindex")};e.addEventListener("blur",r),e.addEventListener("mousedown",r)})),e.focus(i)}_focusByCssSelector(e,i){let r=this._elementRef.nativeElement.querySelector(e);r&&this._forceFocus(r,i)}_trapFocus(){const e=this._elementRef.nativeElement;switch(this._config.autoFocus){case!1:case"dialog":this._containsFocus()||e.focus();break;case!0:case"first-tabbable":this._focusTrap.focusInitialElementWhenReady().then(i=>{i||this._focusDialogContainer()});break;case"first-heading":this._focusByCssSelector('h1, h2, h3, h4, h5, h6, [role="heading"]');break;default:this._focusByCssSelector(this._config.autoFocus)}}_restoreFocus(){const e=this._elementFocusedBeforeDialogWasOpened;if(this._config.restoreFocus&&e&&"function"==typeof e.focus){const i=mD(),r=this._elementRef.nativeElement;(!i||i===this._document.body||i===r||r.contains(i))&&(this._focusMonitor?(this._focusMonitor.focusVia(e,this._closeInteractionType),this._closeInteractionType=null):e.focus())}this._focusTrap&&this._focusTrap.destroy()}_focusDialogContainer(){this._elementRef.nativeElement.focus&&this._elementRef.nativeElement.focus()}_containsFocus(){const e=this._elementRef.nativeElement,i=mD();return e===i||e.contains(i)}}return n.\u0275fac=function(e){return new(e||n)(M(Zt),M(OW),M(Gn),M(Dn,8),M(u0),M(HR),M(yn),M(Ns))},n.\u0275dir=rt({type:n,viewQuery:function(e,i){if(1&e&&hn(rc,7),2&e){let r;Et(r=Ct())&&(i._portalOutlet=r.first)}},features:[It]}),n})(),$K=(()=>{class n extends GK{constructor(){super(...arguments),this._state="enter"}_onAnimationDone({toState:e,totalTime:i}){"enter"===e?(this._config.delayFocusTrap&&this._trapFocus(),this._animationStateChanged.next({state:"opened",totalTime:i})):"exit"===e&&(this._restoreFocus(),this._animationStateChanged.next({state:"closed",totalTime:i}))}_onAnimationStart({toState:e,totalTime:i}){"enter"===e?this._animationStateChanged.next({state:"opening",totalTime:i}):("exit"===e||"void"===e)&&this._animationStateChanged.next({state:"closing",totalTime:i})}_startExitAnimation(){this._state="exit",this._changeDetectorRef.markForCheck()}_initializeWithAttachedContent(){super._initializeWithAttachedContent(),this._config.delayFocusTrap||this._trapFocus()}}return n.\u0275fac=function(){let t;return function(i){return(t||(t=Hn(n)))(i||n)}}(),n.\u0275cmp=At({type:n,selectors:[["mat-dialog-container"]],hostAttrs:["tabindex","-1","aria-modal","true",1,"mat-dialog-container"],hostVars:6,hostBindings:function(e,i){1&e&&vf("@dialogContainer.start",function(s){return i._onAnimationStart(s)})("@dialogContainer.done",function(s){return i._onAnimationDone(s)}),2&e&&(go("id",i._id),dn("role",i._config.role)("aria-labelledby",i._config.ariaLabel?null:i._ariaLabelledBy)("aria-label",i._config.ariaLabel)("aria-describedby",i._config.ariaDescribedBy||null),wf("@dialogContainer",i._state))},features:[It],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(e,i){1&e&&Ae(0,UK,0,0,"ng-template",0)},directives:[rc],styles:[".mat-dialog-container{display:block;padding:24px;border-radius:4px;box-sizing:border-box;overflow:auto;outline:0;width:100%;height:100%;min-height:inherit;max-height:inherit}.cdk-high-contrast-active .mat-dialog-container{outline:solid 1px}.mat-dialog-content{display:block;margin:0 -24px;padding:0 24px;max-height:65vh;overflow:auto;-webkit-overflow-scrolling:touch}.mat-dialog-title{margin:0 0 20px;display:block}.mat-dialog-actions{padding:8px 0;display:flex;flex-wrap:wrap;min-height:52px;align-items:center;box-sizing:content-box;margin-bottom:-24px}.mat-dialog-actions[align=end]{justify-content:flex-end}.mat-dialog-actions[align=center]{justify-content:center}.mat-dialog-actions .mat-button-base+.mat-button-base,.mat-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-dialog-actions .mat-button-base+.mat-button-base,[dir=rtl] .mat-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:0;margin-right:8px}\n"],encapsulation:2,data:{animation:[zK.dialogContainer]}}),n})(),WK=0;class Va{constructor(t,e,i="mat-dialog-"+WK++){this._overlayRef=t,this._containerInstance=e,this.id=i,this.disableClose=this._containerInstance._config.disableClose,this._afterOpened=new K,this._afterClosed=new K,this._beforeClosed=new K,this._state=0,e._id=i,e._animationStateChanged.pipe(hi(r=>"opened"===r.state),Ii(1)).subscribe(()=>{this._afterOpened.next(),this._afterOpened.complete()}),e._animationStateChanged.pipe(hi(r=>"closed"===r.state),Ii(1)).subscribe(()=>{clearTimeout(this._closeFallbackTimeout),this._finishDialogClose()}),t.detachments().subscribe(()=>{this._beforeClosed.next(this._result),this._beforeClosed.complete(),this._afterClosed.next(this._result),this._afterClosed.complete(),this.componentInstance=null,this._overlayRef.dispose()}),t.keydownEvents().pipe(hi(r=>27===r.keyCode&&!this.disableClose&&!Qr(r))).subscribe(r=>{r.preventDefault(),d0(this,"keyboard")}),t.backdropClick().subscribe(()=>{this.disableClose?this._containerInstance._recaptureFocus():d0(this,"mouse")})}close(t){this._result=t,this._containerInstance._animationStateChanged.pipe(hi(e=>"closing"===e.state),Ii(1)).subscribe(e=>{this._beforeClosed.next(t),this._beforeClosed.complete(),this._overlayRef.detachBackdrop(),this._closeFallbackTimeout=setTimeout(()=>this._finishDialogClose(),e.totalTime+100)}),this._state=1,this._containerInstance._startExitAnimation()}afterOpened(){return this._afterOpened}afterClosed(){return this._afterClosed}beforeClosed(){return this._beforeClosed}backdropClick(){return this._overlayRef.backdropClick()}keydownEvents(){return this._overlayRef.keydownEvents()}updatePosition(t){let e=this._getPositionStrategy();return t&&(t.left||t.right)?t.left?e.left(t.left):e.right(t.right):e.centerHorizontally(),t&&(t.top||t.bottom)?t.top?e.top(t.top):e.bottom(t.bottom):e.centerVertically(),this._overlayRef.updatePosition(),this}updateSize(t="",e=""){return this._overlayRef.updateSize({width:t,height:e}),this._overlayRef.updatePosition(),this}addPanelClass(t){return this._overlayRef.addPanelClass(t),this}removePanelClass(t){return this._overlayRef.removePanelClass(t),this}getState(){return this._state}_finishDialogClose(){this._state=2,this._overlayRef.dispose()}_getPositionStrategy(){return this._overlayRef.getConfig().positionStrategy}}function d0(n,t,e){return void 0!==n._containerInstance&&(n._containerInstance._closeInteractionType=t),n.close(e)}const ou=new pt("MatDialogData"),QK=new pt("mat-dialog-default-options"),kO=new pt("mat-dialog-scroll-strategy"),ZK={provide:kO,deps:[Ds],useFactory:function KK(n){return()=>n.scrollStrategies.block()}};let XK=(()=>{class n{constructor(e,i,r,s,o,a,l,h,f,D){this._overlay=e,this._injector=i,this._defaultOptions=r,this._parentDialog=s,this._overlayContainer=o,this._dialogRefConstructor=l,this._dialogContainerType=h,this._dialogDataToken=f,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new K,this._afterOpenedAtThisLevel=new K,this._ariaHiddenElements=new Map,this.afterAllClosed=gp(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe(hr(void 0))),this._scrollStrategy=a}get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}_getAfterAllClosed(){const e=this._parentDialog;return e?e._getAfterAllClosed():this._afterAllClosedAtThisLevel}open(e,i){i=function JK(n,t){return Object.assign(Object.assign({},t),n)}(i,this._defaultOptions||new u0),i.id&&this.getDialogById(i.id);const r=this._createOverlay(i),s=this._attachDialogContainer(r,i),o=this._attachDialogContent(e,s,r,i);return this.openDialogs.length||this._hideNonDialogContentFromAssistiveTechnology(),this.openDialogs.push(o),o.afterClosed().subscribe(()=>this._removeOpenDialog(o)),this.afterOpened.next(o),s._initializeWithAttachedContent(),o}closeAll(){this._closeDialogs(this.openDialogs)}getDialogById(e){return this.openDialogs.find(i=>i.id===e)}ngOnDestroy(){this._closeDialogs(this._openDialogsAtThisLevel),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete()}_createOverlay(e){const i=this._getOverlayConfig(e);return this._overlay.create(i)}_getOverlayConfig(e){const i=new jd({positionStrategy:this._overlay.position().global(),scrollStrategy:e.scrollStrategy||this._scrollStrategy(),panelClass:e.panelClass,hasBackdrop:e.hasBackdrop,direction:e.direction,minWidth:e.minWidth,minHeight:e.minHeight,maxWidth:e.maxWidth,maxHeight:e.maxHeight,disposeOnNavigation:e.closeOnNavigation});return e.backdropClass&&(i.backdropClass=e.backdropClass),i}_attachDialogContainer(e,i){const s=qi.create({parent:i&&i.viewContainerRef&&i.viewContainerRef.injector||this._injector,providers:[{provide:u0,useValue:i}]}),o=new Nd(this._dialogContainerType,i.viewContainerRef,s,i.componentFactoryResolver);return e.attach(o).instance}_attachDialogContent(e,i,r,s){const o=new this._dialogRefConstructor(r,i,s.id);if(e instanceof Wi)i.attachTemplatePortal(new ic(e,null,{$implicit:s.data,dialogRef:o}));else{const a=this._createInjector(s,o,i),l=i.attachComponentPortal(new Nd(e,s.viewContainerRef,a,s.componentFactoryResolver));o.componentInstance=l.instance}return o.updateSize(s.width,s.height).updatePosition(s.position),o}_createInjector(e,i,r){const s=e&&e.viewContainerRef&&e.viewContainerRef.injector,o=[{provide:this._dialogContainerType,useValue:r},{provide:this._dialogDataToken,useValue:e.data},{provide:this._dialogRefConstructor,useValue:i}];return e.direction&&(!s||!s.get(Hr,null,En.Optional))&&o.push({provide:Hr,useValue:{value:e.direction,change:Wt()}}),qi.create({parent:s||this._injector,providers:o})}_removeOpenDialog(e){const i=this.openDialogs.indexOf(e);i>-1&&(this.openDialogs.splice(i,1),this.openDialogs.length||(this._ariaHiddenElements.forEach((r,s)=>{r?s.setAttribute("aria-hidden",r):s.removeAttribute("aria-hidden")}),this._ariaHiddenElements.clear(),this._getAfterAllClosed().next()))}_hideNonDialogContentFromAssistiveTechnology(){const e=this._overlayContainer.getContainerElement();if(e.parentElement){const i=e.parentElement.children;for(let r=i.length-1;r>-1;r--){let s=i[r];s!==e&&"SCRIPT"!==s.nodeName&&"STYLE"!==s.nodeName&&!s.hasAttribute("aria-live")&&(this._ariaHiddenElements.set(s,s.getAttribute("aria-hidden")),s.setAttribute("aria-hidden","true"))}}}_closeDialogs(e){let i=e.length;for(;i--;)e[i].close()}}return n.\u0275fac=function(e){Ja()},n.\u0275dir=rt({type:n}),n})(),qa=(()=>{class n extends XK{constructor(e,i,r,s,o,a,l,h){super(e,i,s,a,l,o,Va,$K,ou,h)}}return n.\u0275fac=function(e){return new(e||n)(Se(Ds),Se(qi),Se(Yc,8),Se(QK,8),Se(kO),Se(n,12),Se(n0),Se(Zi,8))},n.\u0275prov=De({token:n,factory:n.\u0275fac}),n})(),eZ=0,xO=(()=>{class n{constructor(e,i,r){this.dialogRef=e,this._elementRef=i,this._dialog=r,this.type="button"}ngOnInit(){this.dialogRef||(this.dialogRef=IO(this._elementRef,this._dialog.openDialogs))}ngOnChanges(e){const i=e._matDialogClose||e._matDialogCloseResult;i&&(this.dialogResult=i.currentValue)}_onButtonClick(e){d0(this.dialogRef,0===e.screenX&&0===e.screenY?"keyboard":"mouse",this.dialogResult)}}return n.\u0275fac=function(e){return new(e||n)(M(Va,8),M(Zt),M(qa))},n.\u0275dir=rt({type:n,selectors:[["","mat-dialog-close",""],["","matDialogClose",""]],hostVars:2,hostBindings:function(e,i){1&e&&tt("click",function(s){return i._onButtonClick(s)}),2&e&&dn("aria-label",i.ariaLabel||null)("type",i.type)},inputs:{ariaLabel:["aria-label","ariaLabel"],type:"type",dialogResult:["mat-dialog-close","dialogResult"],_matDialogClose:["matDialogClose","_matDialogClose"]},exportAs:["matDialogClose"],features:[Jn]}),n})(),au=(()=>{class n{constructor(e,i,r){this._dialogRef=e,this._elementRef=i,this._dialog=r,this.id="mat-dialog-title-"+eZ++}ngOnInit(){this._dialogRef||(this._dialogRef=IO(this._elementRef,this._dialog.openDialogs)),this._dialogRef&&Promise.resolve().then(()=>{const e=this._dialogRef._containerInstance;e&&!e._ariaLabelledBy&&(e._ariaLabelledBy=this.id)})}}return n.\u0275fac=function(e){return new(e||n)(M(Va,8),M(Zt),M(qa))},n.\u0275dir=rt({type:n,selectors:[["","mat-dialog-title",""],["","matDialogTitle",""]],hostAttrs:[1,"mat-dialog-title"],hostVars:1,hostBindings:function(e,i){2&e&&go("id",i.id)},inputs:{id:"id"},exportAs:["matDialogTitle"]}),n})(),lu=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=rt({type:n,selectors:[["","mat-dialog-content",""],["mat-dialog-content"],["","matDialogContent",""]],hostAttrs:[1,"mat-dialog-content"]}),n})(),J_=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=rt({type:n,selectors:[["","mat-dialog-actions",""],["mat-dialog-actions"],["","matDialogActions",""]],hostAttrs:[1,"mat-dialog-actions"]}),n})();function IO(n,t){let e=n.nativeElement.parentElement;for(;e&&!e.classList.contains("mat-dialog-container");)e=e.parentElement;return e?t.find(i=>i.id===e.id):null}let tZ=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Ht({type:n}),n.\u0275inj=He({providers:[qa,ZK],imports:[[oc,sc,mn],mn]}),n})(),ey=(()=>{class n{constructor(){this._vertical=!1,this._inset=!1}get vertical(){return this._vertical}set vertical(e){this._vertical=nn(e)}get inset(){return this._inset}set inset(e){this._inset=nn(e)}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=At({type:n,selectors:[["mat-divider"]],hostAttrs:["role","separator",1,"mat-divider"],hostVars:7,hostBindings:function(e,i){2&e&&(dn("aria-orientation",i.vertical?"vertical":"horizontal"),Cn("mat-divider-vertical",i.vertical)("mat-divider-horizontal",!i.vertical)("mat-divider-inset",i.inset))},inputs:{vertical:"vertical",inset:"inset"},decls:0,vars:0,template:function(e,i){},styles:[".mat-divider{display:block;margin:0;border-top-width:1px;border-top-style:solid}.mat-divider.mat-divider-vertical{border-top:0;border-right-width:1px;border-right-style:solid}.mat-divider.mat-divider-inset{margin-left:80px}[dir=rtl] .mat-divider.mat-divider-inset{margin-left:auto;margin-right:80px}\n"],encapsulation:2,changeDetection:0}),n})(),AO=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Ht({type:n}),n.\u0275inj=He({imports:[[mn],mn]}),n})(),nZ=0;const h0=new pt("CdkAccordion");let iZ=(()=>{class n{constructor(){this._stateChanges=new K,this._openCloseAllActions=new K,this.id="cdk-accordion-"+nZ++,this._multi=!1}get multi(){return this._multi}set multi(e){this._multi=nn(e)}openAll(){this._multi&&this._openCloseAllActions.next(!0)}closeAll(){this._openCloseAllActions.next(!1)}ngOnChanges(e){this._stateChanges.next(e)}ngOnDestroy(){this._stateChanges.complete(),this._openCloseAllActions.complete()}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=rt({type:n,selectors:[["cdk-accordion"],["","cdkAccordion",""]],inputs:{multi:"multi"},exportAs:["cdkAccordion"],features:[tn([{provide:h0,useExisting:n}]),Jn]}),n})(),rZ=0,sZ=(()=>{class n{constructor(e,i,r){this.accordion=e,this._changeDetectorRef=i,this._expansionDispatcher=r,this._openCloseAllSubscription=P.EMPTY,this.closed=new Yt,this.opened=new Yt,this.destroyed=new Yt,this.expandedChange=new Yt,this.id="cdk-accordion-child-"+rZ++,this._expanded=!1,this._disabled=!1,this._removeUniqueSelectionListener=()=>{},this._removeUniqueSelectionListener=r.listen((s,o)=>{this.accordion&&!this.accordion.multi&&this.accordion.id===o&&this.id!==s&&(this.expanded=!1)}),this.accordion&&(this._openCloseAllSubscription=this._subscribeToOpenCloseAllActions())}get expanded(){return this._expanded}set expanded(e){e=nn(e),this._expanded!==e&&(this._expanded=e,this.expandedChange.emit(e),e?(this.opened.emit(),this._expansionDispatcher.notify(this.id,this.accordion?this.accordion.id:this.id)):this.closed.emit(),this._changeDetectorRef.markForCheck())}get disabled(){return this._disabled}set disabled(e){this._disabled=nn(e)}ngOnDestroy(){this.opened.complete(),this.closed.complete(),this.destroyed.emit(),this.destroyed.complete(),this._removeUniqueSelectionListener(),this._openCloseAllSubscription.unsubscribe()}toggle(){this.disabled||(this.expanded=!this.expanded)}close(){this.disabled||(this.expanded=!1)}open(){this.disabled||(this.expanded=!0)}_subscribeToOpenCloseAllActions(){return this.accordion._openCloseAllActions.subscribe(e=>{this.disabled||(this.expanded=e)})}}return n.\u0275fac=function(e){return new(e||n)(M(h0,12),M(Gn),M(RD))},n.\u0275dir=rt({type:n,selectors:[["cdk-accordion-item"],["","cdkAccordionItem",""]],inputs:{expanded:"expanded",disabled:"disabled"},outputs:{closed:"closed",opened:"opened",destroyed:"destroyed",expandedChange:"expandedChange"},exportAs:["cdkAccordionItem"],features:[tn([{provide:h0,useValue:void 0}])]}),n})(),oZ=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Ht({type:n}),n.\u0275inj=He({}),n})();const aZ=["body"];function lZ(n,t){}const cZ=[[["mat-expansion-panel-header"]],"*",[["mat-action-row"]]],uZ=["mat-expansion-panel-header","*","mat-action-row"];function dZ(n,t){1&n&&wt(0,"span",2),2&n&&H("@indicatorRotate",Ce()._getExpandedState())}const hZ=[[["mat-panel-title"]],[["mat-panel-description"]],"*"],pZ=["mat-panel-title","mat-panel-description","*"],p0=new pt("MAT_ACCORDION"),RO="225ms cubic-bezier(0.4,0.0,0.2,1)",LO={indicatorRotate:Ki("indicatorRotate",[qn("collapsed, void",ln({transform:"rotate(0deg)"})),qn("expanded",ln({transform:"rotate(180deg)"})),Zn("expanded <=> collapsed, void => collapsed",ti(RO))]),bodyExpansion:Ki("bodyExpansion",[qn("collapsed, void",ln({height:"0px",visibility:"hidden"})),qn("expanded",ln({height:"*",visibility:"visible"})),Zn("expanded <=> collapsed, void => collapsed",ti(RO))])};let mZ=(()=>{class n{constructor(e){this._template=e}}return n.\u0275fac=function(e){return new(e||n)(M(Wi))},n.\u0275dir=rt({type:n,selectors:[["ng-template","matExpansionPanelContent",""]]}),n})(),fZ=0;const OO=new pt("MAT_EXPANSION_PANEL_DEFAULT_OPTIONS");let PO=(()=>{class n extends sZ{constructor(e,i,r,s,o,a,l){super(e,i,r),this._viewContainerRef=s,this._animationMode=a,this._hideToggle=!1,this.afterExpand=new Yt,this.afterCollapse=new Yt,this._inputChanges=new K,this._headerId="mat-expansion-panel-header-"+fZ++,this._bodyAnimationDone=new K,this.accordion=e,this._document=o,this._bodyAnimationDone.pipe(p_((h,f)=>h.fromState===f.fromState&&h.toState===f.toState)).subscribe(h=>{"void"!==h.fromState&&("expanded"===h.toState?this.afterExpand.emit():"collapsed"===h.toState&&this.afterCollapse.emit())}),l&&(this.hideToggle=l.hideToggle)}get hideToggle(){return this._hideToggle||this.accordion&&this.accordion.hideToggle}set hideToggle(e){this._hideToggle=nn(e)}get togglePosition(){return this._togglePosition||this.accordion&&this.accordion.togglePosition}set togglePosition(e){this._togglePosition=e}_hasSpacing(){return!!this.accordion&&this.expanded&&"default"===this.accordion.displayMode}_getExpandedState(){return this.expanded?"expanded":"collapsed"}toggle(){this.expanded=!this.expanded}close(){this.expanded=!1}open(){this.expanded=!0}ngAfterContentInit(){this._lazyContent&&this.opened.pipe(hr(null),hi(()=>this.expanded&&!this._portal),Ii(1)).subscribe(()=>{this._portal=new ic(this._lazyContent._template,this._viewContainerRef)})}ngOnChanges(e){this._inputChanges.next(e)}ngOnDestroy(){super.ngOnDestroy(),this._bodyAnimationDone.complete(),this._inputChanges.complete()}_containsFocus(){if(this._body){const e=this._document.activeElement,i=this._body.nativeElement;return e===i||i.contains(e)}return!1}}return n.\u0275fac=function(e){return new(e||n)(M(p0,12),M(Gn),M(RD),M(Si),M(Dn),M(Zi,8),M(OO,8))},n.\u0275cmp=At({type:n,selectors:[["mat-expansion-panel"]],contentQueries:function(e,i,r){if(1&e&&Pn(r,mZ,5),2&e){let s;Et(s=Ct())&&(i._lazyContent=s.first)}},viewQuery:function(e,i){if(1&e&&hn(aZ,5),2&e){let r;Et(r=Ct())&&(i._body=r.first)}},hostAttrs:[1,"mat-expansion-panel"],hostVars:6,hostBindings:function(e,i){2&e&&Cn("mat-expanded",i.expanded)("_mat-animation-noopable","NoopAnimations"===i._animationMode)("mat-expansion-panel-spacing",i._hasSpacing())},inputs:{disabled:"disabled",expanded:"expanded",hideToggle:"hideToggle",togglePosition:"togglePosition"},outputs:{opened:"opened",closed:"closed",expandedChange:"expandedChange",afterExpand:"afterExpand",afterCollapse:"afterCollapse"},exportAs:["matExpansionPanel"],features:[tn([{provide:p0,useValue:void 0}]),It,Jn],ngContentSelectors:uZ,decls:7,vars:4,consts:[["role","region",1,"mat-expansion-panel-content",3,"id"],["body",""],[1,"mat-expansion-panel-body"],[3,"cdkPortalOutlet"]],template:function(e,i){1&e&&(yi(cZ),Sn(0),x(1,"div",0,1),tt("@bodyExpansion.done",function(s){return i._bodyAnimationDone.next(s)}),x(3,"div",2),Sn(4,1),Ae(5,lZ,0,0,"ng-template",3),O(),Sn(6,2),O()),2&e&&(j(1),H("@bodyExpansion",i._getExpandedState())("id",i.id),dn("aria-labelledby",i._headerId),j(4),H("cdkPortalOutlet",i._portal))},directives:[rc],styles:['.mat-expansion-panel{box-sizing:content-box;display:block;margin:0;border-radius:4px;overflow:hidden;transition:margin 225ms cubic-bezier(0.4, 0, 0.2, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);position:relative}.mat-accordion .mat-expansion-panel:not(.mat-expanded),.mat-accordion .mat-expansion-panel:not(.mat-expansion-panel-spacing){border-radius:0}.mat-accordion .mat-expansion-panel:first-of-type{border-top-right-radius:4px;border-top-left-radius:4px}.mat-accordion .mat-expansion-panel:last-of-type{border-bottom-right-radius:4px;border-bottom-left-radius:4px}.cdk-high-contrast-active .mat-expansion-panel{outline:solid 1px}.mat-expansion-panel.ng-animate-disabled,.ng-animate-disabled .mat-expansion-panel,.mat-expansion-panel._mat-animation-noopable{transition:none}.mat-expansion-panel-content{display:flex;flex-direction:column;overflow:visible}.mat-expansion-panel-content[style*="visibility: hidden"] *{visibility:hidden !important}.mat-expansion-panel-body{padding:0 24px 16px}.mat-expansion-panel-spacing{margin:16px 0}.mat-accordion>.mat-expansion-panel-spacing:first-child,.mat-accordion>*:first-child:not(.mat-expansion-panel) .mat-expansion-panel-spacing{margin-top:0}.mat-accordion>.mat-expansion-panel-spacing:last-child,.mat-accordion>*:last-child:not(.mat-expansion-panel) .mat-expansion-panel-spacing{margin-bottom:0}.mat-action-row{border-top-style:solid;border-top-width:1px;display:flex;flex-direction:row;justify-content:flex-end;padding:16px 8px 16px 24px}.mat-action-row .mat-button-base,.mat-action-row .mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-action-row .mat-button-base,[dir=rtl] .mat-action-row .mat-mdc-button-base{margin-left:0;margin-right:8px}\n'],encapsulation:2,data:{animation:[LO.bodyExpansion]},changeDetection:0}),n})();class gZ{}const _Z=nc(gZ);let FO=(()=>{class n extends _Z{constructor(e,i,r,s,o,a,l){super(),this.panel=e,this._element=i,this._focusMonitor=r,this._changeDetectorRef=s,this._animationMode=a,this._parentChangeSubscription=P.EMPTY;const h=e.accordion?e.accordion._stateChanges.pipe(hi(f=>!(!f.hideToggle&&!f.togglePosition))):Zo;this.tabIndex=parseInt(l||"")||0,this._parentChangeSubscription=at(e.opened,e.closed,h,e._inputChanges.pipe(hi(f=>!!(f.hideToggle||f.disabled||f.togglePosition)))).subscribe(()=>this._changeDetectorRef.markForCheck()),e.closed.pipe(hi(()=>e._containsFocus())).subscribe(()=>r.focusVia(i,"program")),o&&(this.expandedHeight=o.expandedHeight,this.collapsedHeight=o.collapsedHeight)}get disabled(){return this.panel.disabled}_toggle(){this.disabled||this.panel.toggle()}_isExpanded(){return this.panel.expanded}_getExpandedState(){return this.panel._getExpandedState()}_getPanelId(){return this.panel.id}_getTogglePosition(){return this.panel.togglePosition}_showToggle(){return!this.panel.hideToggle&&!this.panel.disabled}_getHeaderHeight(){const e=this._isExpanded();return e&&this.expandedHeight?this.expandedHeight:!e&&this.collapsedHeight?this.collapsedHeight:null}_keydown(e){switch(e.keyCode){case 32:case 13:Qr(e)||(e.preventDefault(),this._toggle());break;default:return void(this.panel.accordion&&this.panel.accordion._handleHeaderKeydown(e))}}focus(e,i){e?this._focusMonitor.focusVia(this._element,e,i):this._element.nativeElement.focus(i)}ngAfterViewInit(){this._focusMonitor.monitor(this._element).subscribe(e=>{e&&this.panel.accordion&&this.panel.accordion._handleHeaderFocus(this)})}ngOnDestroy(){this._parentChangeSubscription.unsubscribe(),this._focusMonitor.stopMonitoring(this._element)}}return n.\u0275fac=function(e){return new(e||n)(M(PO,1),M(Zt),M(Ns),M(Gn),M(OO,8),M(Zi,8),_r("tabindex"))},n.\u0275cmp=At({type:n,selectors:[["mat-expansion-panel-header"]],hostAttrs:["role","button",1,"mat-expansion-panel-header","mat-focus-indicator"],hostVars:15,hostBindings:function(e,i){1&e&&tt("click",function(){return i._toggle()})("keydown",function(s){return i._keydown(s)}),2&e&&(dn("id",i.panel._headerId)("tabindex",i.tabIndex)("aria-controls",i._getPanelId())("aria-expanded",i._isExpanded())("aria-disabled",i.panel.disabled),Fr("height",i._getHeaderHeight()),Cn("mat-expanded",i._isExpanded())("mat-expansion-toggle-indicator-after","after"===i._getTogglePosition())("mat-expansion-toggle-indicator-before","before"===i._getTogglePosition())("_mat-animation-noopable","NoopAnimations"===i._animationMode))},inputs:{tabIndex:"tabIndex",expandedHeight:"expandedHeight",collapsedHeight:"collapsedHeight"},features:[It],ngContentSelectors:pZ,decls:5,vars:1,consts:[[1,"mat-content"],["class","mat-expansion-indicator",4,"ngIf"],[1,"mat-expansion-indicator"]],template:function(e,i){1&e&&(yi(hZ),x(0,"span",0),Sn(1),Sn(2,1),Sn(3,2),O(),Ae(4,dZ,1,1,"span",1)),2&e&&(j(4),H("ngIf",i._showToggle()))},directives:[ai],styles:['.mat-expansion-panel-header{display:flex;flex-direction:row;align-items:center;padding:0 24px;border-radius:inherit;transition:height 225ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-expansion-panel-header._mat-animation-noopable{transition:none}.mat-expansion-panel-header:focus,.mat-expansion-panel-header:hover{outline:none}.mat-expansion-panel-header.mat-expanded:focus,.mat-expansion-panel-header.mat-expanded:hover{background:inherit}.mat-expansion-panel-header:not([aria-disabled=true]){cursor:pointer}.mat-expansion-panel-header.mat-expansion-toggle-indicator-before{flex-direction:row-reverse}.mat-expansion-panel-header.mat-expansion-toggle-indicator-before .mat-expansion-indicator{margin:0 16px 0 0}[dir=rtl] .mat-expansion-panel-header.mat-expansion-toggle-indicator-before .mat-expansion-indicator{margin:0 0 0 16px}.mat-content{display:flex;flex:1;flex-direction:row;overflow:hidden}.mat-expansion-panel-header-title,.mat-expansion-panel-header-description{display:flex;flex-grow:1;margin-right:16px;align-items:center}[dir=rtl] .mat-expansion-panel-header-title,[dir=rtl] .mat-expansion-panel-header-description{margin-right:0;margin-left:16px}.mat-expansion-panel-header-description{flex-grow:2}.mat-expansion-indicator::after{border-style:solid;border-width:0 2px 2px 0;content:"";display:inline-block;padding:3px;transform:rotate(45deg);vertical-align:middle}.cdk-high-contrast-active .mat-expansion-panel .mat-expansion-panel-header.cdk-keyboard-focused:not([aria-disabled=true])::before,.cdk-high-contrast-active .mat-expansion-panel .mat-expansion-panel-header.cdk-program-focused:not([aria-disabled=true])::before,.cdk-high-contrast-active .mat-expansion-panel:not(.mat-expanded) .mat-expansion-panel-header:hover:not([aria-disabled=true])::before{top:0;left:0;right:0;bottom:0;position:absolute;box-sizing:border-box;pointer-events:none;border:3px solid;border-radius:4px;content:""}.cdk-high-contrast-active .mat-expansion-panel-content{border-top:1px solid;border-top-left-radius:0;border-top-right-radius:0}\n'],encapsulation:2,data:{animation:[LO.indicatorRotate]},changeDetection:0}),n})(),yZ=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=rt({type:n,selectors:[["mat-panel-description"]],hostAttrs:[1,"mat-expansion-panel-header-description"]}),n})(),vZ=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=rt({type:n,selectors:[["mat-panel-title"]],hostAttrs:[1,"mat-expansion-panel-header-title"]}),n})(),bZ=(()=>{class n extends iZ{constructor(){super(...arguments),this._ownHeaders=new Vl,this._hideToggle=!1,this.displayMode="default",this.togglePosition="after"}get hideToggle(){return this._hideToggle}set hideToggle(e){this._hideToggle=nn(e)}ngAfterContentInit(){this._headers.changes.pipe(hr(this._headers)).subscribe(e=>{this._ownHeaders.reset(e.filter(i=>i.panel.accordion===this)),this._ownHeaders.notifyOnChanges()}),this._keyManager=new Yp(this._ownHeaders).withWrap().withHomeAndEnd()}_handleHeaderKeydown(e){this._keyManager.onKeydown(e)}_handleHeaderFocus(e){this._keyManager.updateActiveItem(e)}ngOnDestroy(){super.ngOnDestroy(),this._ownHeaders.destroy()}}return n.\u0275fac=function(){let t;return function(i){return(t||(t=Hn(n)))(i||n)}}(),n.\u0275dir=rt({type:n,selectors:[["mat-accordion"]],contentQueries:function(e,i,r){if(1&e&&Pn(r,FO,5),2&e){let s;Et(s=Ct())&&(i._headers=s)}},hostAttrs:[1,"mat-accordion"],hostVars:2,hostBindings:function(e,i){2&e&&Cn("mat-accordion-multi",i.multi)},inputs:{multi:"multi",hideToggle:"hideToggle",displayMode:"displayMode",togglePosition:"togglePosition"},exportAs:["matAccordion"],features:[tn([{provide:p0,useExisting:n}]),It]}),n})(),wZ=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Ht({type:n}),n.\u0275inj=He({imports:[[di,mn,oZ,sc]]}),n})();const NO=["*"];class DZ{constructor(){this.columnIndex=0,this.rowIndex=0}get rowCount(){return this.rowIndex+1}get rowspan(){const t=Math.max(...this.tracker);return t>1?this.rowCount+t-1:this.rowCount}update(t,e){this.columnIndex=0,this.rowIndex=0,this.tracker=new Array(t),this.tracker.fill(0,0,this.tracker.length),this.positions=e.map(i=>this._trackTile(i))}_trackTile(t){const e=this._findMatchingGap(t.colspan);return this._markTilePosition(e,t),this.columnIndex=e+t.colspan,new EZ(this.rowIndex,e)}_findMatchingGap(t){let e=-1,i=-1;do{this.columnIndex+t>this.tracker.length?(this._nextRow(),e=this.tracker.indexOf(0,this.columnIndex),i=this._findGapEndIndex(e)):(e=this.tracker.indexOf(0,this.columnIndex),-1!=e?(i=this._findGapEndIndex(e),this.columnIndex=e+1):(this._nextRow(),e=this.tracker.indexOf(0,this.columnIndex),i=this._findGapEndIndex(e)))}while(i-e{class n{constructor(e,i){this._element=e,this._gridList=i,this._rowspan=1,this._colspan=1}get rowspan(){return this._rowspan}set rowspan(e){this._rowspan=Math.round(Ai(e))}get colspan(){return this._colspan}set colspan(e){this._colspan=Math.round(Ai(e))}_setStyle(e,i){this._element.nativeElement.style[e]=i}}return n.\u0275fac=function(e){return new(e||n)(M(Zt),M(jO,8))},n.\u0275cmp=At({type:n,selectors:[["mat-grid-tile"]],hostAttrs:[1,"mat-grid-tile"],hostVars:2,hostBindings:function(e,i){2&e&&dn("rowspan",i.rowspan)("colspan",i.colspan)},inputs:{rowspan:"rowspan",colspan:"colspan"},exportAs:["matGridTile"],ngContentSelectors:NO,decls:2,vars:0,consts:[[1,"mat-grid-tile-content"]],template:function(e,i){1&e&&(yi(),x(0,"div",0),Sn(1),O())},styles:[".mat-grid-list{display:block;position:relative}.mat-grid-tile{display:block;position:absolute;overflow:hidden}.mat-grid-tile .mat-grid-tile-header,.mat-grid-tile .mat-grid-tile-footer{display:flex;align-items:center;height:48px;color:#fff;background:rgba(0,0,0,.38);overflow:hidden;padding:0 16px;position:absolute;left:0;right:0}.mat-grid-tile .mat-grid-tile-header>*,.mat-grid-tile .mat-grid-tile-footer>*{margin:0;padding:0;font-weight:normal;font-size:inherit}.mat-grid-tile .mat-grid-tile-header.mat-2-line,.mat-grid-tile .mat-grid-tile-footer.mat-2-line{height:68px}.mat-grid-tile .mat-grid-list-text{display:flex;flex-direction:column;flex:auto;box-sizing:border-box;overflow:hidden}.mat-grid-tile .mat-grid-list-text>*{margin:0;padding:0;font-weight:normal;font-size:inherit}.mat-grid-tile .mat-grid-list-text:empty{display:none}.mat-grid-tile .mat-grid-tile-header{top:0}.mat-grid-tile .mat-grid-tile-footer{bottom:0}.mat-grid-tile .mat-grid-avatar{padding-right:16px}[dir=rtl] .mat-grid-tile .mat-grid-avatar{padding-right:0;padding-left:16px}.mat-grid-tile .mat-grid-avatar:empty{display:none}.mat-grid-tile-content{top:0;left:0;right:0;bottom:0;position:absolute;display:flex;align-items:center;justify-content:center;height:100%;padding:0;margin:0}\n"],encapsulation:2,changeDetection:0}),n})();const CZ=/^-?\d+((\.\d+)?[A-Za-z%$]?)+$/;class m0{constructor(){this._rows=0,this._rowspan=0}init(t,e,i,r){this._gutterSize=BO(t),this._rows=e.rowCount,this._rowspan=e.rowspan,this._cols=i,this._direction=r}getBaseTileSize(t,e){return`(${t}% - (${this._gutterSize} * ${e}))`}getTilePosition(t,e){return 0===e?"0":cu(`(${t} + ${this._gutterSize}) * ${e}`)}getTileSize(t,e){return`(${t} * ${e}) + (${e-1} * ${this._gutterSize})`}setStyle(t,e,i){let r=100/this._cols,s=(this._cols-1)/this._cols;this.setColStyles(t,i,r,s),this.setRowStyles(t,e,r,s)}setColStyles(t,e,i,r){let s=this.getBaseTileSize(i,r);t._setStyle("rtl"===this._direction?"right":"left",this.getTilePosition(s,e)),t._setStyle("width",cu(this.getTileSize(s,t.colspan)))}getGutterSpan(){return`${this._gutterSize} * (${this._rowspan} - 1)`}getTileSpan(t){return`${this._rowspan} * ${this.getTileSize(t,1)}`}getComputedHeight(){return null}}class TZ extends m0{constructor(t){super(),this.fixedRowHeight=t}init(t,e,i,r){super.init(t,e,i,r),this.fixedRowHeight=BO(this.fixedRowHeight),CZ.test(this.fixedRowHeight)}setRowStyles(t,e){t._setStyle("top",this.getTilePosition(this.fixedRowHeight,e)),t._setStyle("height",cu(this.getTileSize(this.fixedRowHeight,t.rowspan)))}getComputedHeight(){return["height",cu(`${this.getTileSpan(this.fixedRowHeight)} + ${this.getGutterSpan()}`)]}reset(t){t._setListStyle(["height",null]),t._tiles&&t._tiles.forEach(e=>{e._setStyle("top",null),e._setStyle("height",null)})}}class SZ extends m0{constructor(t){super(),this._parseRatio(t)}setRowStyles(t,e,i,r){this.baseTileHeight=this.getBaseTileSize(i/this.rowHeightRatio,r),t._setStyle("marginTop",this.getTilePosition(this.baseTileHeight,e)),t._setStyle("paddingTop",cu(this.getTileSize(this.baseTileHeight,t.rowspan)))}getComputedHeight(){return["paddingBottom",cu(`${this.getTileSpan(this.baseTileHeight)} + ${this.getGutterSpan()}`)]}reset(t){t._setListStyle(["paddingBottom",null]),t._tiles.forEach(e=>{e._setStyle("marginTop",null),e._setStyle("paddingTop",null)})}_parseRatio(t){const e=t.split(":");this.rowHeightRatio=parseFloat(e[0])/parseFloat(e[1])}}class kZ extends m0{setRowStyles(t,e){let s=this.getBaseTileSize(100/this._rowspan,(this._rows-1)/this._rows);t._setStyle("top",this.getTilePosition(s,e)),t._setStyle("height",cu(this.getTileSize(s,t.rowspan)))}reset(t){t._tiles&&t._tiles.forEach(e=>{e._setStyle("top",null),e._setStyle("height",null)})}}function cu(n){return`calc(${n})`}function BO(n){return n.match(/([A-Za-z%]+)$/)?n:`${n}px`}let fl=(()=>{class n{constructor(e,i){this._element=e,this._dir=i,this._gutter="1px"}get cols(){return this._cols}set cols(e){this._cols=Math.max(1,Math.round(Ai(e)))}get gutterSize(){return this._gutter}set gutterSize(e){this._gutter=`${null==e?"":e}`}get rowHeight(){return this._rowHeight}set rowHeight(e){const i=`${null==e?"":e}`;i!==this._rowHeight&&(this._rowHeight=i,this._setTileStyler(this._rowHeight))}ngOnInit(){this._checkCols(),this._checkRowHeight()}ngAfterContentChecked(){this._layoutTiles()}_checkCols(){}_checkRowHeight(){this._rowHeight||this._setTileStyler("1:1")}_setTileStyler(e){this._tileStyler&&this._tileStyler.reset(this),this._tileStyler="fit"===e?new kZ:e&&e.indexOf(":")>-1?new SZ(e):new TZ(e)}_layoutTiles(){this._tileCoordinator||(this._tileCoordinator=new DZ);const e=this._tileCoordinator,i=this._tiles.filter(s=>!s._gridList||s._gridList===this),r=this._dir?this._dir.value:"ltr";this._tileCoordinator.update(this.cols,i),this._tileStyler.init(this.gutterSize,e,this.cols,r),i.forEach((s,o)=>{const a=e.positions[o];this._tileStyler.setStyle(s,a.row,a.col)}),this._setListStyle(this._tileStyler.getComputedHeight())}_setListStyle(e){e&&(this._element.nativeElement.style[e[0]]=e[1])}}return n.\u0275fac=function(e){return new(e||n)(M(Zt),M(Hr,8))},n.\u0275cmp=At({type:n,selectors:[["mat-grid-list"]],contentQueries:function(e,i,r){if(1&e&&Pn(r,Ua,5),2&e){let s;Et(s=Ct())&&(i._tiles=s)}},hostAttrs:[1,"mat-grid-list"],hostVars:1,hostBindings:function(e,i){2&e&&dn("cols",i.cols)},inputs:{cols:"cols",gutterSize:"gutterSize",rowHeight:"rowHeight"},exportAs:["matGridList"],features:[tn([{provide:jO,useExisting:n}])],ngContentSelectors:NO,decls:2,vars:0,template:function(e,i){1&e&&(yi(),x(0,"div"),Sn(1),O())},styles:[".mat-grid-list{display:block;position:relative}.mat-grid-tile{display:block;position:absolute;overflow:hidden}.mat-grid-tile .mat-grid-tile-header,.mat-grid-tile .mat-grid-tile-footer{display:flex;align-items:center;height:48px;color:#fff;background:rgba(0,0,0,.38);overflow:hidden;padding:0 16px;position:absolute;left:0;right:0}.mat-grid-tile .mat-grid-tile-header>*,.mat-grid-tile .mat-grid-tile-footer>*{margin:0;padding:0;font-weight:normal;font-size:inherit}.mat-grid-tile .mat-grid-tile-header.mat-2-line,.mat-grid-tile .mat-grid-tile-footer.mat-2-line{height:68px}.mat-grid-tile .mat-grid-list-text{display:flex;flex-direction:column;flex:auto;box-sizing:border-box;overflow:hidden}.mat-grid-tile .mat-grid-list-text>*{margin:0;padding:0;font-weight:normal;font-size:inherit}.mat-grid-tile .mat-grid-list-text:empty{display:none}.mat-grid-tile .mat-grid-tile-header{top:0}.mat-grid-tile .mat-grid-tile-footer{bottom:0}.mat-grid-tile .mat-grid-avatar{padding-right:16px}[dir=rtl] .mat-grid-tile .mat-grid-avatar{padding-right:0;padding-left:16px}.mat-grid-tile .mat-grid-avatar:empty{display:none}.mat-grid-tile-content{top:0;left:0;right:0;bottom:0;position:absolute;display:flex;align-items:center;justify-content:center;height:100%;padding:0;margin:0}\n"],encapsulation:2,changeDetection:0}),n})(),IZ=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Ht({type:n}),n.\u0275inj=He({imports:[[Y_,mn],Y_,mn]}),n})();const YO=["*"],AZ=[[["","mat-list-avatar",""],["","mat-list-icon",""],["","matListAvatar",""],["","matListIcon",""]],[["","mat-line",""],["","matLine",""]],"*"],RZ=["[mat-list-avatar], [mat-list-icon], [matListAvatar], [matListIcon]","[mat-line], [matLine]","*"],NZ=eo(to(class{})),jZ=to(class{}),VO=new pt("MatList"),BZ=new pt("MatNavList");let YZ=(()=>{class n extends NZ{constructor(e){super(),this._elementRef=e,this._stateChanges=new K,"action-list"===this._getListType()&&e.nativeElement.classList.add("mat-action-list")}_getListType(){const e=this._elementRef.nativeElement.nodeName.toLowerCase();return"mat-list"===e?"list":"mat-action-list"===e?"action-list":null}ngOnChanges(){this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete()}}return n.\u0275fac=function(e){return new(e||n)(M(Zt))},n.\u0275cmp=At({type:n,selectors:[["mat-list"],["mat-action-list"]],hostAttrs:[1,"mat-list","mat-list-base"],inputs:{disableRipple:"disableRipple",disabled:"disabled"},exportAs:["matList"],features:[tn([{provide:VO,useExisting:n}]),It,Jn],ngContentSelectors:YO,decls:1,vars:0,template:function(e,i){1&e&&(yi(),Sn(0))},styles:['.mat-subheader{display:flex;box-sizing:border-box;padding:16px;align-items:center}.mat-list-base .mat-subheader{margin:0}button.mat-list-item,button.mat-list-option{padding:0;width:100%;background:none;color:inherit;border:none;outline:inherit;-webkit-tap-highlight-color:transparent;text-align:left}[dir=rtl] button.mat-list-item,[dir=rtl] button.mat-list-option{text-align:right}button.mat-list-item::-moz-focus-inner,button.mat-list-option::-moz-focus-inner{border:0}.mat-list-base{padding-top:8px;display:block;-webkit-tap-highlight-color:transparent}.mat-list-base .mat-subheader{height:48px;line-height:16px}.mat-list-base .mat-subheader:first-child{margin-top:-8px}.mat-list-base .mat-list-item,.mat-list-base .mat-list-option{display:block;height:48px;-webkit-tap-highlight-color:transparent;width:100%;padding:0}.mat-list-base .mat-list-item .mat-list-item-content,.mat-list-base .mat-list-option .mat-list-item-content{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;padding:0 16px;position:relative;height:inherit}.mat-list-base .mat-list-item .mat-list-item-content-reverse,.mat-list-base .mat-list-option .mat-list-item-content-reverse{display:flex;align-items:center;padding:0 16px;flex-direction:row-reverse;justify-content:space-around}.mat-list-base .mat-list-item .mat-list-item-ripple,.mat-list-base .mat-list-option .mat-list-item-ripple{display:block;top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-list-base .mat-list-item.mat-list-item-with-avatar,.mat-list-base .mat-list-option.mat-list-item-with-avatar{height:56px}.mat-list-base .mat-list-item.mat-2-line,.mat-list-base .mat-list-option.mat-2-line{height:72px}.mat-list-base .mat-list-item.mat-3-line,.mat-list-base .mat-list-option.mat-3-line{height:88px}.mat-list-base .mat-list-item.mat-multi-line,.mat-list-base .mat-list-option.mat-multi-line{height:auto}.mat-list-base .mat-list-item.mat-multi-line .mat-list-item-content,.mat-list-base .mat-list-option.mat-multi-line .mat-list-item-content{padding-top:16px;padding-bottom:16px}.mat-list-base .mat-list-item .mat-list-text,.mat-list-base .mat-list-option .mat-list-text{display:flex;flex-direction:column;flex:auto;box-sizing:border-box;overflow:hidden;padding:0}.mat-list-base .mat-list-item .mat-list-text>*,.mat-list-base .mat-list-option .mat-list-text>*{margin:0;padding:0;font-weight:normal;font-size:inherit}.mat-list-base .mat-list-item .mat-list-text:empty,.mat-list-base .mat-list-option .mat-list-text:empty{display:none}.mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:0;padding-left:16px}[dir=rtl] .mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:0}.mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-left:0;padding-right:16px}[dir=rtl] .mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-right:0;padding-left:16px}.mat-list-base .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:16px}.mat-list-base .mat-list-item .mat-list-avatar,.mat-list-base .mat-list-option .mat-list-avatar{flex-shrink:0;width:40px;height:40px;border-radius:50%;object-fit:cover}.mat-list-base .mat-list-item .mat-list-avatar~.mat-divider-inset,.mat-list-base .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:72px;width:calc(100% - 72px)}[dir=rtl] .mat-list-base .mat-list-item .mat-list-avatar~.mat-divider-inset,[dir=rtl] .mat-list-base .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:auto;margin-right:72px}.mat-list-base .mat-list-item .mat-list-icon,.mat-list-base .mat-list-option .mat-list-icon{flex-shrink:0;width:24px;height:24px;font-size:24px;box-sizing:content-box;border-radius:50%;padding:4px}.mat-list-base .mat-list-item .mat-list-icon~.mat-divider-inset,.mat-list-base .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:64px;width:calc(100% - 64px)}[dir=rtl] .mat-list-base .mat-list-item .mat-list-icon~.mat-divider-inset,[dir=rtl] .mat-list-base .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:auto;margin-right:64px}.mat-list-base .mat-list-item .mat-divider,.mat-list-base .mat-list-option .mat-divider{position:absolute;bottom:0;left:0;width:100%;margin:0}[dir=rtl] .mat-list-base .mat-list-item .mat-divider,[dir=rtl] .mat-list-base .mat-list-option .mat-divider{margin-left:auto;margin-right:0}.mat-list-base .mat-list-item .mat-divider.mat-divider-inset,.mat-list-base .mat-list-option .mat-divider.mat-divider-inset{position:absolute}.mat-list-base[dense]{padding-top:4px;display:block}.mat-list-base[dense] .mat-subheader{height:40px;line-height:8px}.mat-list-base[dense] .mat-subheader:first-child{margin-top:-4px}.mat-list-base[dense] .mat-list-item,.mat-list-base[dense] .mat-list-option{display:block;height:40px;-webkit-tap-highlight-color:transparent;width:100%;padding:0}.mat-list-base[dense] .mat-list-item .mat-list-item-content,.mat-list-base[dense] .mat-list-option .mat-list-item-content{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;padding:0 16px;position:relative;height:inherit}.mat-list-base[dense] .mat-list-item .mat-list-item-content-reverse,.mat-list-base[dense] .mat-list-option .mat-list-item-content-reverse{display:flex;align-items:center;padding:0 16px;flex-direction:row-reverse;justify-content:space-around}.mat-list-base[dense] .mat-list-item .mat-list-item-ripple,.mat-list-base[dense] .mat-list-option .mat-list-item-ripple{display:block;top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar{height:48px}.mat-list-base[dense] .mat-list-item.mat-2-line,.mat-list-base[dense] .mat-list-option.mat-2-line{height:60px}.mat-list-base[dense] .mat-list-item.mat-3-line,.mat-list-base[dense] .mat-list-option.mat-3-line{height:76px}.mat-list-base[dense] .mat-list-item.mat-multi-line,.mat-list-base[dense] .mat-list-option.mat-multi-line{height:auto}.mat-list-base[dense] .mat-list-item.mat-multi-line .mat-list-item-content,.mat-list-base[dense] .mat-list-option.mat-multi-line .mat-list-item-content{padding-top:16px;padding-bottom:16px}.mat-list-base[dense] .mat-list-item .mat-list-text,.mat-list-base[dense] .mat-list-option .mat-list-text{display:flex;flex-direction:column;flex:auto;box-sizing:border-box;overflow:hidden;padding:0}.mat-list-base[dense] .mat-list-item .mat-list-text>*,.mat-list-base[dense] .mat-list-option .mat-list-text>*{margin:0;padding:0;font-weight:normal;font-size:inherit}.mat-list-base[dense] .mat-list-item .mat-list-text:empty,.mat-list-base[dense] .mat-list-option .mat-list-text:empty{display:none}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:0;padding-left:16px}[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:0}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-left:0;padding-right:16px}[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-right:0;padding-left:16px}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:16px}.mat-list-base[dense] .mat-list-item .mat-list-avatar,.mat-list-base[dense] .mat-list-option .mat-list-avatar{flex-shrink:0;width:36px;height:36px;border-radius:50%;object-fit:cover}.mat-list-base[dense] .mat-list-item .mat-list-avatar~.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:68px;width:calc(100% - 68px)}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-list-avatar~.mat-divider-inset,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:auto;margin-right:68px}.mat-list-base[dense] .mat-list-item .mat-list-icon,.mat-list-base[dense] .mat-list-option .mat-list-icon{flex-shrink:0;width:20px;height:20px;font-size:20px;box-sizing:content-box;border-radius:50%;padding:4px}.mat-list-base[dense] .mat-list-item .mat-list-icon~.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:60px;width:calc(100% - 60px)}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-list-icon~.mat-divider-inset,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:auto;margin-right:60px}.mat-list-base[dense] .mat-list-item .mat-divider,.mat-list-base[dense] .mat-list-option .mat-divider{position:absolute;bottom:0;left:0;width:100%;margin:0}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-divider,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-divider{margin-left:auto;margin-right:0}.mat-list-base[dense] .mat-list-item .mat-divider.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-divider.mat-divider-inset{position:absolute}.mat-nav-list a{text-decoration:none;color:inherit}.mat-nav-list .mat-list-item{cursor:pointer;outline:none}mat-action-list .mat-list-item{cursor:pointer;outline:inherit}.mat-list-option:not(.mat-list-item-disabled){cursor:pointer;outline:none}.mat-list-item-disabled{pointer-events:none}.cdk-high-contrast-active .mat-list-item-disabled{opacity:.5}.cdk-high-contrast-active :host .mat-list-item-disabled{opacity:.5}.cdk-high-contrast-active .mat-selection-list:focus{outline-style:dotted}.cdk-high-contrast-active .mat-list-option:hover,.cdk-high-contrast-active .mat-list-option:focus,.cdk-high-contrast-active .mat-nav-list .mat-list-item:hover,.cdk-high-contrast-active .mat-nav-list .mat-list-item:focus,.cdk-high-contrast-active mat-action-list .mat-list-item:hover,.cdk-high-contrast-active mat-action-list .mat-list-item:focus{outline:dotted 1px;z-index:1}.cdk-high-contrast-active .mat-list-single-selected-option::after{content:"";position:absolute;top:50%;right:16px;transform:translateY(-50%);width:10px;height:0;border-bottom:solid 10px;border-radius:10px}.cdk-high-contrast-active [dir=rtl] .mat-list-single-selected-option::after{right:auto;left:16px}@media(hover: none){.mat-list-option:not(.mat-list-single-selected-option):not(.mat-list-item-disabled):hover,.mat-nav-list .mat-list-item:not(.mat-list-item-disabled):hover,.mat-action-list .mat-list-item:not(.mat-list-item-disabled):hover{background:none}}\n'],encapsulation:2,changeDetection:0}),n})(),qO=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=rt({type:n,selectors:[["","mat-list-avatar",""],["","matListAvatar",""]],hostAttrs:[1,"mat-list-avatar"]}),n})(),UO=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=rt({type:n,selectors:[["","mat-list-icon",""],["","matListIcon",""]],hostAttrs:[1,"mat-list-icon"]}),n})(),HZ=(()=>{class n extends jZ{constructor(e,i,r,s){super(),this._element=e,this._isInteractiveList=!1,this._destroyed=new K,this._disabled=!1,this._isInteractiveList=!!(r||s&&"action-list"===s._getListType()),this._list=r||s;const o=this._getHostElement();"button"===o.nodeName.toLowerCase()&&!o.hasAttribute("type")&&o.setAttribute("type","button"),this._list&&this._list._stateChanges.pipe(vn(this._destroyed)).subscribe(()=>{i.markForCheck()})}get disabled(){return this._disabled||!(!this._list||!this._list.disabled)}set disabled(e){this._disabled=nn(e)}ngAfterContentInit(){!function kL(n,t,e="mat"){n.changes.pipe(hr(n)).subscribe(({length:i})=>{Kp(t,`${e}-2-line`,!1),Kp(t,`${e}-3-line`,!1),Kp(t,`${e}-multi-line`,!1),2===i||3===i?Kp(t,`${e}-${i}-line`,!0):i>3&&Kp(t,`${e}-multi-line`,!0)})}(this._lines,this._element)}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}_isRippleDisabled(){return!this._isInteractiveList||this.disableRipple||!(!this._list||!this._list.disableRipple)}_getHostElement(){return this._element.nativeElement}}return n.\u0275fac=function(e){return new(e||n)(M(Zt),M(Gn),M(BZ,8),M(VO,8))},n.\u0275cmp=At({type:n,selectors:[["mat-list-item"],["a","mat-list-item",""],["button","mat-list-item",""]],contentQueries:function(e,i,r){if(1&e&&(Pn(r,qO,5),Pn(r,UO,5),Pn(r,SL,5)),2&e){let s;Et(s=Ct())&&(i._avatar=s.first),Et(s=Ct())&&(i._icon=s.first),Et(s=Ct())&&(i._lines=s)}},hostAttrs:[1,"mat-list-item","mat-focus-indicator"],hostVars:6,hostBindings:function(e,i){2&e&&Cn("mat-list-item-disabled",i.disabled)("mat-list-item-avatar",i._avatar||i._icon)("mat-list-item-with-avatar",i._avatar||i._icon)},inputs:{disableRipple:"disableRipple",disabled:"disabled"},exportAs:["matListItem"],features:[It],ngContentSelectors:RZ,decls:6,vars:2,consts:[[1,"mat-list-item-content"],["mat-ripple","",1,"mat-list-item-ripple",3,"matRippleTrigger","matRippleDisabled"],[1,"mat-list-text"]],template:function(e,i){1&e&&(yi(AZ),x(0,"span",0),wt(1,"span",1),Sn(2),x(3,"span",2),Sn(4,1),O(),Sn(5,2),O()),2&e&&(j(1),H("matRippleTrigger",i._getHostElement())("matRippleDisabled",i._isRippleDisabled()))},directives:[no],encapsulation:2,changeDetection:0}),n})(),$Z=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Ht({type:n}),n.\u0275inj=He({imports:[[Y_,sa,mn,JD,di],Y_,mn,JD,AO]}),n})();const WZ=["mat-menu-item",""];function QZ(n,t){1&n&&(Gs(),x(0,"svg",2),wt(1,"polygon",3),O())}const GO=["*"];function KZ(n,t){if(1&n){const e=on();x(0,"div",0),tt("keydown",function(r){return zt(e),Ce()._handleKeydown(r)})("click",function(){return zt(e),Ce().closed.emit("click")})("@transformMenu.start",function(r){return zt(e),Ce()._onAnimationStart(r)})("@transformMenu.done",function(r){return zt(e),Ce()._onAnimationDone(r)}),x(1,"div",1),Sn(2),O()()}if(2&n){const e=Ce();H("id",e.panelId)("ngClass",e._classList)("@transformMenu",e._panelAnimationState),dn("aria-label",e.ariaLabel||null)("aria-labelledby",e.ariaLabelledby||null)("aria-describedby",e.ariaDescribedby||null)}}const ty={transformMenu:Ki("transformMenu",[qn("void",ln({opacity:0,transform:"scale(0.8)"})),Zn("void => enter",ti("120ms cubic-bezier(0, 0, 0.2, 1)",ln({opacity:1,transform:"scale(1)"}))),Zn("* => void",ti("100ms 25ms linear",ln({opacity:0})))]),fadeInItems:Ki("fadeInItems",[qn("showing",ln({opacity:1})),Zn("void => *",[ln({opacity:0}),ti("400ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])},ZZ=new pt("MatMenuContent"),f0=new pt("MAT_MENU_PANEL"),XZ=to(eo(class{}));let lc=(()=>{class n extends XZ{constructor(e,i,r,s,o){var a;super(),this._elementRef=e,this._document=i,this._focusMonitor=r,this._parentMenu=s,this._changeDetectorRef=o,this.role="menuitem",this._hovered=new K,this._focused=new K,this._highlighted=!1,this._triggersSubmenu=!1,null===(a=null==s?void 0:s.addItem)||void 0===a||a.call(s,this)}focus(e,i){this._focusMonitor&&e?this._focusMonitor.focusVia(this._getHostElement(),e,i):this._getHostElement().focus(i),this._focused.next(this)}ngAfterViewInit(){this._focusMonitor&&this._focusMonitor.monitor(this._elementRef,!1)}ngOnDestroy(){this._focusMonitor&&this._focusMonitor.stopMonitoring(this._elementRef),this._parentMenu&&this._parentMenu.removeItem&&this._parentMenu.removeItem(this),this._hovered.complete(),this._focused.complete()}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._elementRef.nativeElement}_checkDisabled(e){this.disabled&&(e.preventDefault(),e.stopPropagation())}_handleMouseEnter(){this._hovered.next(this)}getLabel(){var e;const i=this._elementRef.nativeElement.cloneNode(!0),r=i.querySelectorAll("mat-icon, .material-icons");for(let s=0;s{class n{constructor(e,i,r,s){this._elementRef=e,this._ngZone=i,this._defaultOptions=r,this._changeDetectorRef=s,this._xPosition=this._defaultOptions.xPosition,this._yPosition=this._defaultOptions.yPosition,this._directDescendantItems=new Vl,this._tabSubscription=P.EMPTY,this._classList={},this._panelAnimationState="void",this._animationDone=new K,this.overlayPanelClass=this._defaultOptions.overlayPanelClass||"",this.backdropClass=this._defaultOptions.backdropClass,this._overlapTrigger=this._defaultOptions.overlapTrigger,this._hasBackdrop=this._defaultOptions.hasBackdrop,this.closed=new Yt,this.close=this.closed,this.panelId="mat-menu-panel-"+eX++}get xPosition(){return this._xPosition}set xPosition(e){this._xPosition=e,this.setPositionClasses()}get yPosition(){return this._yPosition}set yPosition(e){this._yPosition=e,this.setPositionClasses()}get overlapTrigger(){return this._overlapTrigger}set overlapTrigger(e){this._overlapTrigger=nn(e)}get hasBackdrop(){return this._hasBackdrop}set hasBackdrop(e){this._hasBackdrop=nn(e)}set panelClass(e){const i=this._previousPanelClass;i&&i.length&&i.split(" ").forEach(r=>{this._classList[r]=!1}),this._previousPanelClass=e,e&&e.length&&(e.split(" ").forEach(r=>{this._classList[r]=!0}),this._elementRef.nativeElement.className="")}get classList(){return this.panelClass}set classList(e){this.panelClass=e}ngOnInit(){this.setPositionClasses()}ngAfterContentInit(){this._updateDirectDescendants(),this._keyManager=new Yp(this._directDescendantItems).withWrap().withTypeAhead().withHomeAndEnd(),this._tabSubscription=this._keyManager.tabOut.subscribe(()=>this.closed.emit("tab")),this._directDescendantItems.changes.pipe(hr(this._directDescendantItems),Jr(e=>at(...e.map(i=>i._focused)))).subscribe(e=>this._keyManager.updateActiveItem(e)),this._directDescendantItems.changes.subscribe(e=>{var i;const r=this._keyManager;if("enter"===this._panelAnimationState&&(null===(i=r.activeItem)||void 0===i?void 0:i._hasFocus())){const s=e.toArray(),o=Math.max(0,Math.min(s.length-1,r.activeItemIndex||0));s[o]&&!s[o].disabled?r.setActiveItem(o):r.setNextItemActive()}})}ngOnDestroy(){this._directDescendantItems.destroy(),this._tabSubscription.unsubscribe(),this.closed.complete()}_hovered(){return this._directDescendantItems.changes.pipe(hr(this._directDescendantItems),Jr(i=>at(...i.map(r=>r._hovered))))}addItem(e){}removeItem(e){}_handleKeydown(e){const i=e.keyCode,r=this._keyManager;switch(i){case 27:Qr(e)||(e.preventDefault(),this.closed.emit("keydown"));break;case 37:this.parentMenu&&"ltr"===this.direction&&this.closed.emit("keydown");break;case 39:this.parentMenu&&"rtl"===this.direction&&this.closed.emit("keydown");break;default:return(38===i||40===i)&&r.setFocusOrigin("keyboard"),void r.onKeydown(e)}e.stopPropagation()}focusFirstItem(e="program"){this._ngZone.onStable.pipe(Ii(1)).subscribe(()=>{let i=null;if(this._directDescendantItems.length&&(i=this._directDescendantItems.first._getHostElement().closest('[role="menu"]')),!i||!i.contains(document.activeElement)){const r=this._keyManager;r.setFocusOrigin(e).setFirstItemActive(),!r.activeItem&&i&&i.focus()}})}resetActiveItem(){this._keyManager.setActiveItem(-1)}setElevation(e){const i=Math.min(this._baseElevation+e,24),r=`${this._elevationPrefix}${i}`,s=Object.keys(this._classList).find(o=>o.startsWith(this._elevationPrefix));(!s||s===this._previousElevation)&&(this._previousElevation&&(this._classList[this._previousElevation]=!1),this._classList[r]=!0,this._previousElevation=r)}setPositionClasses(e=this.xPosition,i=this.yPosition){var r;const s=this._classList;s["mat-menu-before"]="before"===e,s["mat-menu-after"]="after"===e,s["mat-menu-above"]="above"===i,s["mat-menu-below"]="below"===i,null===(r=this._changeDetectorRef)||void 0===r||r.markForCheck()}_startAnimation(){this._panelAnimationState="enter"}_resetAnimation(){this._panelAnimationState="void"}_onAnimationDone(e){this._animationDone.next(e),this._isAnimating=!1}_onAnimationStart(e){this._isAnimating=!0,"enter"===e.toState&&0===this._keyManager.activeItemIndex&&(e.element.scrollTop=0)}_updateDirectDescendants(){this._allItems.changes.pipe(hr(this._allItems)).subscribe(e=>{this._directDescendantItems.reset(e.filter(i=>i._parentMenu===this)),this._directDescendantItems.notifyOnChanges()})}}return n.\u0275fac=function(e){return new(e||n)(M(Zt),M(yn),M($O),M(Gn))},n.\u0275dir=rt({type:n,contentQueries:function(e,i,r){if(1&e&&(Pn(r,ZZ,5),Pn(r,lc,5),Pn(r,lc,4)),2&e){let s;Et(s=Ct())&&(i.lazyContent=s.first),Et(s=Ct())&&(i._allItems=s),Et(s=Ct())&&(i.items=s)}},viewQuery:function(e,i){if(1&e&&hn(Wi,5),2&e){let r;Et(r=Ct())&&(i.templateRef=r.first)}},inputs:{backdropClass:"backdropClass",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],ariaDescribedby:["aria-describedby","ariaDescribedby"],xPosition:"xPosition",yPosition:"yPosition",overlapTrigger:"overlapTrigger",hasBackdrop:"hasBackdrop",panelClass:["class","panelClass"],classList:"classList"},outputs:{closed:"closed",close:"close"}}),n})(),ny=(()=>{class n extends tm{constructor(e,i,r,s){super(e,i,r,s),this._elevationPrefix="mat-elevation-z",this._baseElevation=4}}return n.\u0275fac=function(e){return new(e||n)(M(Zt),M(yn),M($O),M(Gn))},n.\u0275cmp=At({type:n,selectors:[["mat-menu"]],hostVars:3,hostBindings:function(e,i){2&e&&dn("aria-label",null)("aria-labelledby",null)("aria-describedby",null)},exportAs:["matMenu"],features:[tn([{provide:f0,useExisting:n}]),It],ngContentSelectors:GO,decls:1,vars:0,consts:[["tabindex","-1","role","menu",1,"mat-menu-panel",3,"id","ngClass","keydown","click"],[1,"mat-menu-content"]],template:function(e,i){1&e&&(yi(),Ae(0,KZ,3,6,"ng-template"))},directives:[Hc],styles:['mat-menu{display:none}.mat-menu-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;max-height:calc(100vh - 48px);border-radius:4px;outline:0;min-height:64px}.mat-menu-panel.ng-animating{pointer-events:none}.cdk-high-contrast-active .mat-menu-panel{outline:solid 1px}.mat-menu-content:not(:empty){padding-top:8px;padding-bottom:8px}.mat-menu-item{-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;line-height:48px;height:48px;padding:0 16px;text-align:left;text-decoration:none;max-width:100%;position:relative}.mat-menu-item::-moz-focus-inner{border:0}.mat-menu-item[disabled]{cursor:default}[dir=rtl] .mat-menu-item{text-align:right}.mat-menu-item .mat-icon{margin-right:16px;vertical-align:middle}.mat-menu-item .mat-icon svg{vertical-align:top}[dir=rtl] .mat-menu-item .mat-icon{margin-left:16px;margin-right:0}.mat-menu-item[disabled]::before{display:block;position:absolute;content:"";top:0;left:0;bottom:0;right:0}.cdk-high-contrast-active .mat-menu-item{margin-top:1px}.cdk-high-contrast-active .mat-menu-item.cdk-program-focused,.cdk-high-contrast-active .mat-menu-item.cdk-keyboard-focused,.cdk-high-contrast-active .mat-menu-item-highlighted{outline:dotted 1px}.mat-menu-item-submenu-trigger{padding-right:32px}[dir=rtl] .mat-menu-item-submenu-trigger{padding-right:16px;padding-left:32px}.mat-menu-submenu-icon{position:absolute;top:50%;right:16px;transform:translateY(-50%);width:5px;height:10px;fill:currentColor}[dir=rtl] .mat-menu-submenu-icon{right:auto;left:16px;transform:translateY(-50%) scaleX(-1)}.cdk-high-contrast-active .mat-menu-submenu-icon{fill:CanvasText}button.mat-menu-item{width:100%}.mat-menu-item .mat-menu-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}\n'],encapsulation:2,data:{animation:[ty.transformMenu,ty.fadeInItems]},changeDetection:0}),n})();const WO=new pt("mat-menu-scroll-strategy"),nX={provide:WO,deps:[Ds],useFactory:function tX(n){return()=>n.scrollStrategies.reposition()}},KO=ia({passive:!0});let iX=(()=>{class n{constructor(e,i,r,s,o,a,l,h,f){this._overlay=e,this._element=i,this._viewContainerRef=r,this._menuItemInstance=a,this._dir=l,this._focusMonitor=h,this._ngZone=f,this._overlayRef=null,this._menuOpen=!1,this._closingActionsSubscription=P.EMPTY,this._hoverSubscription=P.EMPTY,this._menuCloseSubscription=P.EMPTY,this._handleTouchStart=D=>{y_(D)||(this._openedBy="touch")},this._openedBy=void 0,this.restoreFocus=!0,this.menuOpened=new Yt,this.onMenuOpen=this.menuOpened,this.menuClosed=new Yt,this.onMenuClose=this.menuClosed,this._scrollStrategy=s,this._parentMaterialMenu=o instanceof tm?o:void 0,i.nativeElement.addEventListener("touchstart",this._handleTouchStart,KO),a&&(a._triggersSubmenu=this.triggersSubmenu())}get _deprecatedMatMenuTriggerFor(){return this.menu}set _deprecatedMatMenuTriggerFor(e){this.menu=e}get menu(){return this._menu}set menu(e){e!==this._menu&&(this._menu=e,this._menuCloseSubscription.unsubscribe(),e&&(this._menuCloseSubscription=e.close.subscribe(i=>{this._destroyMenu(i),("click"===i||"tab"===i)&&this._parentMaterialMenu&&this._parentMaterialMenu.closed.emit(i)})))}ngAfterContentInit(){this._checkMenu(),this._handleHover()}ngOnDestroy(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=null),this._element.nativeElement.removeEventListener("touchstart",this._handleTouchStart,KO),this._menuCloseSubscription.unsubscribe(),this._closingActionsSubscription.unsubscribe(),this._hoverSubscription.unsubscribe()}get menuOpen(){return this._menuOpen}get dir(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}triggersSubmenu(){return!(!this._menuItemInstance||!this._parentMaterialMenu)}toggleMenu(){return this._menuOpen?this.closeMenu():this.openMenu()}openMenu(){if(this._menuOpen)return;this._checkMenu();const e=this._createOverlay(),i=e.getConfig(),r=i.positionStrategy;this._setPosition(r),i.hasBackdrop=null==this.menu.hasBackdrop?!this.triggersSubmenu():this.menu.hasBackdrop,e.attach(this._getPortal()),this.menu.lazyContent&&this.menu.lazyContent.attach(this.menuData),this._closingActionsSubscription=this._menuClosingActions().subscribe(()=>this.closeMenu()),this._initMenu(),this.menu instanceof tm&&(this.menu._startAnimation(),this.menu._directDescendantItems.changes.pipe(vn(this.menu.close)).subscribe(()=>{r.withLockedPosition(!1).reapplyLastPosition(),r.withLockedPosition(!0)}))}closeMenu(){this.menu.close.emit()}focus(e,i){this._focusMonitor&&e?this._focusMonitor.focusVia(this._element,e,i):this._element.nativeElement.focus(i)}updatePosition(){var e;null===(e=this._overlayRef)||void 0===e||e.updatePosition()}_destroyMenu(e){if(!this._overlayRef||!this.menuOpen)return;const i=this.menu;this._closingActionsSubscription.unsubscribe(),this._overlayRef.detach(),this.restoreFocus&&("keydown"===e||!this._openedBy||!this.triggersSubmenu())&&this.focus(this._openedBy),this._openedBy=void 0,i instanceof tm?(i._resetAnimation(),i.lazyContent?i._animationDone.pipe(hi(r=>"void"===r.toState),Ii(1),vn(i.lazyContent._attached)).subscribe({next:()=>i.lazyContent.detach(),complete:()=>this._setIsMenuOpen(!1)}):this._setIsMenuOpen(!1)):(this._setIsMenuOpen(!1),i.lazyContent&&i.lazyContent.detach())}_initMenu(){this.menu.parentMenu=this.triggersSubmenu()?this._parentMaterialMenu:void 0,this.menu.direction=this.dir,this._setMenuElevation(),this.menu.focusFirstItem(this._openedBy||"program"),this._setIsMenuOpen(!0)}_setMenuElevation(){if(this.menu.setElevation){let e=0,i=this.menu.parentMenu;for(;i;)e++,i=i.parentMenu;this.menu.setElevation(e)}}_setIsMenuOpen(e){this._menuOpen=e,this._menuOpen?this.menuOpened.emit():this.menuClosed.emit(),this.triggersSubmenu()&&this._menuItemInstance._setHighlighted(e)}_checkMenu(){}_createOverlay(){if(!this._overlayRef){const e=this._getOverlayConfig();this._subscribeToPositions(e.positionStrategy),this._overlayRef=this._overlay.create(e),this._overlayRef.keydownEvents().subscribe()}return this._overlayRef}_getOverlayConfig(){return new jd({positionStrategy:this._overlay.position().flexibleConnectedTo(this._element).withLockedPosition().withGrowAfterOpen().withTransformOriginOn(".mat-menu-panel, .mat-mdc-menu-panel"),backdropClass:this.menu.backdropClass||"cdk-overlay-transparent-backdrop",panelClass:this.menu.overlayPanelClass,scrollStrategy:this._scrollStrategy(),direction:this._dir})}_subscribeToPositions(e){this.menu.setPositionClasses&&e.positionChanges.subscribe(i=>{const r="start"===i.connectionPair.overlayX?"after":"before",s="top"===i.connectionPair.overlayY?"below":"above";this._ngZone?this._ngZone.run(()=>this.menu.setPositionClasses(r,s)):this.menu.setPositionClasses(r,s)})}_setPosition(e){let[i,r]="before"===this.menu.xPosition?["end","start"]:["start","end"],[s,o]="above"===this.menu.yPosition?["bottom","top"]:["top","bottom"],[a,l]=[s,o],[h,f]=[i,r],D=0;this.triggersSubmenu()?(f=i="before"===this.menu.xPosition?"start":"end",r=h="end"===i?"start":"end",D="bottom"===s?8:-8):this.menu.overlapTrigger||(a="top"===s?"bottom":"top",l="top"===o?"bottom":"top"),e.withPositions([{originX:i,originY:a,overlayX:h,overlayY:s,offsetY:D},{originX:r,originY:a,overlayX:f,overlayY:s,offsetY:D},{originX:i,originY:l,overlayX:h,overlayY:o,offsetY:-D},{originX:r,originY:l,overlayX:f,overlayY:o,offsetY:-D}])}_menuClosingActions(){const e=this._overlayRef.backdropClick(),i=this._overlayRef.detachments();return at(e,this._parentMaterialMenu?this._parentMaterialMenu.closed:Wt(),this._parentMaterialMenu?this._parentMaterialMenu._hovered().pipe(hi(o=>o!==this._menuItemInstance),hi(()=>this._menuOpen)):Wt(),i)}_handleMousedown(e){__(e)||(this._openedBy=0===e.button?"mouse":void 0,this.triggersSubmenu()&&e.preventDefault())}_handleKeydown(e){const i=e.keyCode;(13===i||32===i)&&(this._openedBy="keyboard"),this.triggersSubmenu()&&(39===i&&"ltr"===this.dir||37===i&&"rtl"===this.dir)&&(this._openedBy="keyboard",this.openMenu())}_handleClick(e){this.triggersSubmenu()?(e.stopPropagation(),this.openMenu()):this.toggleMenu()}_handleHover(){!this.triggersSubmenu()||!this._parentMaterialMenu||(this._hoverSubscription=this._parentMaterialMenu._hovered().pipe(hi(e=>e===this._menuItemInstance&&!e.disabled),z_(0,CD)).subscribe(()=>{this._openedBy="mouse",this.menu instanceof tm&&this.menu._isAnimating?this.menu._animationDone.pipe(Ii(1),z_(0,CD),vn(this._parentMaterialMenu._hovered())).subscribe(()=>this.openMenu()):this.openMenu()}))}_getPortal(){return(!this._portal||this._portal.templateRef!==this.menu.templateRef)&&(this._portal=new ic(this.menu.templateRef,this._viewContainerRef)),this._portal}}return n.\u0275fac=function(e){return new(e||n)(M(Ds),M(Zt),M(Si),M(WO),M(f0,8),M(lc,10),M(Hr,8),M(Ns),M(yn))},n.\u0275dir=rt({type:n,hostAttrs:["aria-haspopup","true"],hostVars:2,hostBindings:function(e,i){1&e&&tt("click",function(s){return i._handleClick(s)})("mousedown",function(s){return i._handleMousedown(s)})("keydown",function(s){return i._handleKeydown(s)}),2&e&&dn("aria-expanded",i.menuOpen||null)("aria-controls",i.menuOpen?i.menu.panelId:null)},inputs:{_deprecatedMatMenuTriggerFor:["mat-menu-trigger-for","_deprecatedMatMenuTriggerFor"],menu:["matMenuTriggerFor","menu"],menuData:["matMenuTriggerData","menuData"],restoreFocus:["matMenuTriggerRestoreFocus","restoreFocus"]},outputs:{menuOpened:"menuOpened",onMenuOpen:"onMenuOpen",menuClosed:"menuClosed",onMenuClose:"onMenuClose"}}),n})(),iy=(()=>{class n extends iX{}return n.\u0275fac=function(){let t;return function(i){return(t||(t=Hn(n)))(i||n)}}(),n.\u0275dir=rt({type:n,selectors:[["","mat-menu-trigger-for",""],["","matMenuTriggerFor",""]],hostAttrs:[1,"mat-menu-trigger"],exportAs:["matMenuTrigger"],features:[It]}),n})(),rX=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Ht({type:n}),n.\u0275inj=He({providers:[nX],imports:[[di,mn,sa,oc],ja,mn]}),n})();const sX=["trigger"],oX=["panel"];function aX(n,t){if(1&n&&(x(0,"span",8),Me(1),O()),2&n){const e=Ce();j(1),vi(e.placeholder)}}function lX(n,t){if(1&n&&(x(0,"span",12),Me(1),O()),2&n){const e=Ce(2);j(1),vi(e.triggerValue)}}function cX(n,t){1&n&&Sn(0,0,["*ngSwitchCase","true"])}function uX(n,t){1&n&&(x(0,"span",9),Ae(1,lX,2,1,"span",10),Ae(2,cX,1,0,"ng-content",11),O()),2&n&&(H("ngSwitch",!!Ce().customTrigger),j(2),H("ngSwitchCase",!0))}function dX(n,t){if(1&n){const e=on();x(0,"div",13)(1,"div",14,15),tt("@transformPanel.done",function(r){return zt(e),Ce()._panelDoneAnimatingStream.next(r.toState)})("keydown",function(r){return zt(e),Ce()._handleKeydown(r)}),Sn(3,1),O()()}if(2&n){const e=Ce();H("@transformPanelWrap",void 0),j(1),DS("mat-select-panel ",e._getPanelTheme(),""),Fr("transform-origin",e._transformOrigin)("font-size",e._triggerFontSize,"px"),H("ngClass",e.panelClass)("@transformPanel",e.multiple?"showing-multiple":"showing"),dn("id",e.id+"-panel")("aria-multiselectable",e.multiple)("aria-label",e.ariaLabel||null)("aria-labelledby",e._getPanelAriaLabelledby())}}const hX=[[["mat-select-trigger"]],"*"],pX=["mat-select-trigger","*"],ZO={transformPanelWrap:Ki("transformPanelWrap",[Zn("* => void",gd("@transformPanel",[fd()],{optional:!0}))]),transformPanel:Ki("transformPanel",[qn("void",ln({transform:"scaleY(0.8)",minWidth:"100%",opacity:0})),qn("showing",ln({opacity:1,minWidth:"calc(100% + 32px)",transform:"scaleY(1)"})),qn("showing-multiple",ln({opacity:1,minWidth:"calc(100% + 64px)",transform:"scaleY(1)"})),Zn("void => *",ti("120ms cubic-bezier(0, 0, 0.2, 1)")),Zn("* => void",ti("100ms 25ms linear",ln({opacity:0})))])};let XO=0;const eP=new pt("mat-select-scroll-strategy"),_X=new pt("MAT_SELECT_CONFIG"),yX={provide:eP,deps:[Ds],useFactory:function gX(n){return()=>n.scrollStrategies.reposition()}};class vX{constructor(t,e){this.source=t,this.value=e}}const bX=to(nc(eo(QD(class{constructor(n,t,e,i,r){this._elementRef=n,this._defaultErrorStateMatcher=t,this._parentForm=e,this._parentFormGroup=i,this.ngControl=r}})))),tP=new pt("MatSelectTrigger");let g0=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=rt({type:n,selectors:[["mat-select-trigger"]],features:[tn([{provide:tP,useExisting:n}])]}),n})(),wX=(()=>{class n extends bX{constructor(e,i,r,s,o,a,l,h,f,D,k,Y,oe,Fe){var We,it,Ue;super(o,s,l,h,D),this._viewportRuler=e,this._changeDetectorRef=i,this._ngZone=r,this._dir=a,this._parentFormField=f,this._liveAnnouncer=oe,this._defaultOptions=Fe,this._panelOpen=!1,this._compareWith=(Lt,Gt)=>Lt===Gt,this._uid="mat-select-"+XO++,this._triggerAriaLabelledBy=null,this._destroy=new K,this._onChange=()=>{},this._onTouched=()=>{},this._valueId="mat-select-value-"+XO++,this._panelDoneAnimatingStream=new K,this._overlayPanelClass=(null===(We=this._defaultOptions)||void 0===We?void 0:We.overlayPanelClass)||"",this._focused=!1,this.controlType="mat-select",this._multiple=!1,this._disableOptionCentering=null!==(Ue=null===(it=this._defaultOptions)||void 0===it?void 0:it.disableOptionCentering)&&void 0!==Ue&&Ue,this.ariaLabel="",this.optionSelectionChanges=gp(()=>{const Lt=this.options;return Lt?Lt.changes.pipe(hr(Lt),Jr(()=>at(...Lt.map(Gt=>Gt.onSelectionChange)))):this._ngZone.onStable.pipe(Ii(1),Jr(()=>this.optionSelectionChanges))}),this.openedChange=new Yt,this._openedStream=this.openedChange.pipe(hi(Lt=>Lt),_e(()=>{})),this._closedStream=this.openedChange.pipe(hi(Lt=>!Lt),_e(()=>{})),this.selectionChange=new Yt,this.valueChange=new Yt,this.ngControl&&(this.ngControl.valueAccessor=this),null!=(null==Fe?void 0:Fe.typeaheadDebounceInterval)&&(this._typeaheadDebounceInterval=Fe.typeaheadDebounceInterval),this._scrollStrategyFactory=Y,this._scrollStrategy=this._scrollStrategyFactory(),this.tabIndex=parseInt(k)||0,this.id=this.id}get focused(){return this._focused||this._panelOpen}get placeholder(){return this._placeholder}set placeholder(e){this._placeholder=e,this.stateChanges.next()}get required(){var e,i,r,s;return null!==(s=null!==(e=this._required)&&void 0!==e?e:null===(r=null===(i=this.ngControl)||void 0===i?void 0:i.control)||void 0===r?void 0:r.hasValidator(Mr.required))&&void 0!==s&&s}set required(e){this._required=nn(e),this.stateChanges.next()}get multiple(){return this._multiple}set multiple(e){this._multiple=nn(e)}get disableOptionCentering(){return this._disableOptionCentering}set disableOptionCentering(e){this._disableOptionCentering=nn(e)}get compareWith(){return this._compareWith}set compareWith(e){this._compareWith=e,this._selectionModel&&this._initializeSelection()}get value(){return this._value}set value(e){this._assignValue(e)&&this._onChange(e)}get typeaheadDebounceInterval(){return this._typeaheadDebounceInterval}set typeaheadDebounceInterval(e){this._typeaheadDebounceInterval=Ai(e)}get id(){return this._id}set id(e){this._id=e||this._uid,this.stateChanges.next()}ngOnInit(){this._selectionModel=new zp(this.multiple),this.stateChanges.next(),this._panelDoneAnimatingStream.pipe(p_(),vn(this._destroy)).subscribe(()=>this._panelDoneAnimating(this.panelOpen))}ngAfterContentInit(){this._initKeyManager(),this._selectionModel.changed.pipe(vn(this._destroy)).subscribe(e=>{e.added.forEach(i=>i.select()),e.removed.forEach(i=>i.deselect())}),this.options.changes.pipe(hr(null),vn(this._destroy)).subscribe(()=>{this._resetOptions(),this._initializeSelection()})}ngDoCheck(){const e=this._getTriggerAriaLabelledby(),i=this.ngControl;if(e!==this._triggerAriaLabelledBy){const r=this._elementRef.nativeElement;this._triggerAriaLabelledBy=e,e?r.setAttribute("aria-labelledby",e):r.removeAttribute("aria-labelledby")}i&&(this._previousControl!==i.control&&(void 0!==this._previousControl&&null!==i.disabled&&i.disabled!==this.disabled&&(this.disabled=i.disabled),this._previousControl=i.control),this.updateErrorState())}ngOnChanges(e){e.disabled&&this.stateChanges.next(),e.typeaheadDebounceInterval&&this._keyManager&&this._keyManager.withTypeAhead(this._typeaheadDebounceInterval)}ngOnDestroy(){this._destroy.next(),this._destroy.complete(),this.stateChanges.complete()}toggle(){this.panelOpen?this.close():this.open()}open(){this._canOpen()&&(this._panelOpen=!0,this._keyManager.withHorizontalOrientation(null),this._highlightCorrectOption(),this._changeDetectorRef.markForCheck())}close(){this._panelOpen&&(this._panelOpen=!1,this._keyManager.withHorizontalOrientation(this._isRtl()?"rtl":"ltr"),this._changeDetectorRef.markForCheck(),this._onTouched())}writeValue(e){this._assignValue(e)}registerOnChange(e){this._onChange=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this.disabled=e,this._changeDetectorRef.markForCheck(),this.stateChanges.next()}get panelOpen(){return this._panelOpen}get selected(){var e,i;return this.multiple?(null===(e=this._selectionModel)||void 0===e?void 0:e.selected)||[]:null===(i=this._selectionModel)||void 0===i?void 0:i.selected[0]}get triggerValue(){if(this.empty)return"";if(this._multiple){const e=this._selectionModel.selected.map(i=>i.viewValue);return this._isRtl()&&e.reverse(),e.join(", ")}return this._selectionModel.selected[0].viewValue}_isRtl(){return!!this._dir&&"rtl"===this._dir.value}_handleKeydown(e){this.disabled||(this.panelOpen?this._handleOpenKeydown(e):this._handleClosedKeydown(e))}_handleClosedKeydown(e){const i=e.keyCode,r=40===i||38===i||37===i||39===i,s=13===i||32===i,o=this._keyManager;if(!o.isTyping()&&s&&!Qr(e)||(this.multiple||e.altKey)&&r)e.preventDefault(),this.open();else if(!this.multiple){const a=this.selected;o.onKeydown(e);const l=this.selected;l&&a!==l&&this._liveAnnouncer.announce(l.viewValue,1e4)}}_handleOpenKeydown(e){const i=this._keyManager,r=e.keyCode,s=40===r||38===r,o=i.isTyping();if(s&&e.altKey)e.preventDefault(),this.close();else if(o||13!==r&&32!==r||!i.activeItem||Qr(e))if(!o&&this._multiple&&65===r&&e.ctrlKey){e.preventDefault();const a=this.options.some(l=>!l.disabled&&!l.selected);this.options.forEach(l=>{l.disabled||(a?l.select():l.deselect())})}else{const a=i.activeItemIndex;i.onKeydown(e),this._multiple&&s&&e.shiftKey&&i.activeItem&&i.activeItemIndex!==a&&i.activeItem._selectViaInteraction()}else e.preventDefault(),i.activeItem._selectViaInteraction()}_onFocus(){this.disabled||(this._focused=!0,this.stateChanges.next())}_onBlur(){this._focused=!1,!this.disabled&&!this.panelOpen&&(this._onTouched(),this._changeDetectorRef.markForCheck(),this.stateChanges.next())}_onAttached(){this._overlayDir.positionChange.pipe(Ii(1)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this._positioningSettled()})}_getPanelTheme(){return this._parentFormField?`mat-${this._parentFormField.color}`:""}get empty(){return!this._selectionModel||this._selectionModel.isEmpty()}_initializeSelection(){Promise.resolve().then(()=>{this.ngControl&&(this._value=this.ngControl.value),this._setSelectionByValue(this._value),this.stateChanges.next()})}_setSelectionByValue(e){if(this._selectionModel.selected.forEach(i=>i.setInactiveStyles()),this._selectionModel.clear(),this.multiple&&e)Array.isArray(e),e.forEach(i=>this._selectOptionByValue(i)),this._sortValues();else{const i=this._selectOptionByValue(e);i?this._keyManager.updateActiveItem(i):this.panelOpen||this._keyManager.updateActiveItem(-1)}this._changeDetectorRef.markForCheck()}_selectOptionByValue(e){const i=this.options.find(r=>{if(this._selectionModel.isSelected(r))return!1;try{return null!=r.value&&this._compareWith(r.value,e)}catch(s){return!1}});return i&&this._selectionModel.select(i),i}_assignValue(e){return!!(e!==this._value||this._multiple&&Array.isArray(e))&&(this.options&&this._setSelectionByValue(e),this._value=e,!0)}_initKeyManager(){this._keyManager=new MW(this.options).withTypeAhead(this._typeaheadDebounceInterval).withVerticalOrientation().withHorizontalOrientation(this._isRtl()?"rtl":"ltr").withHomeAndEnd().withAllowedModifierKeys(["shiftKey"]),this._keyManager.tabOut.pipe(vn(this._destroy)).subscribe(()=>{this.panelOpen&&(!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction(),this.focus(),this.close())}),this._keyManager.change.pipe(vn(this._destroy)).subscribe(()=>{this._panelOpen&&this.panel?this._scrollOptionIntoView(this._keyManager.activeItemIndex||0):!this._panelOpen&&!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction()})}_resetOptions(){const e=at(this.options.changes,this._destroy);this.optionSelectionChanges.pipe(vn(e)).subscribe(i=>{this._onSelect(i.source,i.isUserInput),i.isUserInput&&!this.multiple&&this._panelOpen&&(this.close(),this.focus())}),at(...this.options.map(i=>i._stateChanges)).pipe(vn(e)).subscribe(()=>{this._changeDetectorRef.markForCheck(),this.stateChanges.next()})}_onSelect(e,i){const r=this._selectionModel.isSelected(e);null!=e.value||this._multiple?(r!==e.selected&&(e.selected?this._selectionModel.select(e):this._selectionModel.deselect(e)),i&&this._keyManager.setActiveItem(e),this.multiple&&(this._sortValues(),i&&this.focus())):(e.deselect(),this._selectionModel.clear(),null!=this.value&&this._propagateChanges(e.value)),r!==this._selectionModel.isSelected(e)&&this._propagateChanges(),this.stateChanges.next()}_sortValues(){if(this.multiple){const e=this.options.toArray();this._selectionModel.sort((i,r)=>this.sortComparator?this.sortComparator(i,r,e):e.indexOf(i)-e.indexOf(r)),this.stateChanges.next()}}_propagateChanges(e){let i=null;i=this.multiple?this.selected.map(r=>r.value):this.selected?this.selected.value:e,this._value=i,this.valueChange.emit(i),this._onChange(i),this.selectionChange.emit(this._getChangeEvent(i)),this._changeDetectorRef.markForCheck()}_highlightCorrectOption(){this._keyManager&&(this.empty?this._keyManager.setFirstItemActive():this._keyManager.setActiveItem(this._selectionModel.selected[0]))}_canOpen(){var e;return!this._panelOpen&&!this.disabled&&(null===(e=this.options)||void 0===e?void 0:e.length)>0}focus(e){this._elementRef.nativeElement.focus(e)}_getPanelAriaLabelledby(){var e;if(this.ariaLabel)return null;const i=null===(e=this._parentFormField)||void 0===e?void 0:e.getLabelId();return this.ariaLabelledby?(i?i+" ":"")+this.ariaLabelledby:i}_getAriaActiveDescendant(){return this.panelOpen&&this._keyManager&&this._keyManager.activeItem?this._keyManager.activeItem.id:null}_getTriggerAriaLabelledby(){var e;if(this.ariaLabel)return null;const i=null===(e=this._parentFormField)||void 0===e?void 0:e.getLabelId();let r=(i?i+" ":"")+this._valueId;return this.ariaLabelledby&&(r+=" "+this.ariaLabelledby),r}_panelDoneAnimating(e){this.openedChange.emit(e)}setDescribedByIds(e){this._ariaDescribedby=e.join(" ")}onContainerClick(){this.focus(),this.open()}get shouldLabelFloat(){return this._panelOpen||!this.empty||this._focused&&!!this._placeholder}}return n.\u0275fac=function(e){return new(e||n)(M(So),M(Gn),M(yn),M(Fd),M(Zt),M(Hr,8),M(Sd,8),M(ds,8),M(Jp,8),M(Eo,10),_r("tabindex"),M(eP),M(Hp),M(_X,8))},n.\u0275dir=rt({type:n,viewQuery:function(e,i){if(1&e&&(hn(sX,5),hn(oX,5),hn(QL,5)),2&e){let r;Et(r=Ct())&&(i.trigger=r.first),Et(r=Ct())&&(i.panel=r.first),Et(r=Ct())&&(i._overlayDir=r.first)}},inputs:{panelClass:"panelClass",placeholder:"placeholder",required:"required",multiple:"multiple",disableOptionCentering:"disableOptionCentering",compareWith:"compareWith",value:"value",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],errorStateMatcher:"errorStateMatcher",typeaheadDebounceInterval:"typeaheadDebounceInterval",sortComparator:"sortComparator",id:"id"},outputs:{openedChange:"openedChange",_openedStream:"opened",_closedStream:"closed",selectionChange:"selectionChange",valueChange:"valueChange"},features:[It,Jn]}),n})(),ko=(()=>{class n extends wX{constructor(){super(...arguments),this._scrollTop=0,this._triggerFontSize=0,this._transformOrigin="top",this._offsetY=0,this._positions=[{originX:"start",originY:"top",overlayX:"start",overlayY:"top"},{originX:"start",originY:"bottom",overlayX:"start",overlayY:"bottom"}]}_calculateOverlayScroll(e,i,r){const s=this._getItemHeight();return Math.min(Math.max(0,s*e-i+s/2),r)}ngOnInit(){super.ngOnInit(),this._viewportRuler.change().pipe(vn(this._destroy)).subscribe(()=>{this.panelOpen&&(this._triggerRect=this.trigger.nativeElement.getBoundingClientRect(),this._changeDetectorRef.markForCheck())})}open(){super._canOpen()&&(super.open(),this._triggerRect=this.trigger.nativeElement.getBoundingClientRect(),this._triggerFontSize=parseInt(getComputedStyle(this.trigger.nativeElement).fontSize||"0"),this._calculateOverlayPosition(),this._ngZone.onStable.pipe(Ii(1)).subscribe(()=>{this._triggerFontSize&&this._overlayDir.overlayRef&&this._overlayDir.overlayRef.overlayElement&&(this._overlayDir.overlayRef.overlayElement.style.fontSize=`${this._triggerFontSize}px`)}))}_scrollOptionIntoView(e){const i=H_(e,this.options,this.optionGroups),r=this._getItemHeight();this.panel.nativeElement.scrollTop=0===e&&1===i?0:function jL(n,t,e,i){return ne+i?Math.max(0,n-i+t):e}((e+i)*r,r,this.panel.nativeElement.scrollTop,256)}_positioningSettled(){this._calculateOverlayOffsetX(),this.panel.nativeElement.scrollTop=this._scrollTop}_panelDoneAnimating(e){this.panelOpen?this._scrollTop=0:(this._overlayDir.offsetX=0,this._changeDetectorRef.markForCheck()),super._panelDoneAnimating(e)}_getChangeEvent(e){return new vX(this,e)}_calculateOverlayOffsetX(){const e=this._overlayDir.overlayRef.overlayElement.getBoundingClientRect(),i=this._viewportRuler.getViewportSize(),r=this._isRtl(),s=this.multiple?56:32;let o;if(this.multiple)o=40;else if(this.disableOptionCentering)o=16;else{let h=this._selectionModel.selected[0]||this.options.first;o=h&&h.group?32:16}r||(o*=-1);const a=0-(e.left+o-(r?s:0)),l=e.right+o-i.width+(r?0:s);a>0?o+=a+8:l>0&&(o-=l+8),this._overlayDir.offsetX=Math.round(o),this._overlayDir.overlayRef.updatePosition()}_calculateOverlayOffsetY(e,i,r){const s=this._getItemHeight(),o=(s-this._triggerRect.height)/2,a=Math.floor(256/s);let l;return this.disableOptionCentering?0:(l=0===this._scrollTop?e*s:this._scrollTop===r?(e-(this._getItemCount()-a))*s+(s-(this._getItemCount()*s-256)%s):i-s/2,Math.round(-1*l-o))}_checkOverlayWithinViewport(e){const i=this._getItemHeight(),r=this._viewportRuler.getViewportSize(),s=this._triggerRect.top-8,o=r.height-this._triggerRect.bottom-8,a=Math.abs(this._offsetY),h=Math.min(this._getItemCount()*i,256)-a-this._triggerRect.height;h>o?this._adjustPanelUp(h,o):a>s?this._adjustPanelDown(a,s,e):this._transformOrigin=this._getOriginBasedOnOption()}_adjustPanelUp(e,i){const r=Math.round(e-i);this._scrollTop-=r,this._offsetY-=r,this._transformOrigin=this._getOriginBasedOnOption(),this._scrollTop<=0&&(this._scrollTop=0,this._offsetY=0,this._transformOrigin="50% bottom 0px")}_adjustPanelDown(e,i,r){const s=Math.round(e-i);if(this._scrollTop+=s,this._offsetY+=s,this._transformOrigin=this._getOriginBasedOnOption(),this._scrollTop>=r)return this._scrollTop=r,this._offsetY=0,void(this._transformOrigin="50% top 0px")}_calculateOverlayPosition(){const e=this._getItemHeight(),i=this._getItemCount(),r=Math.min(i*e,256),o=i*e-r;let a;a=this.empty?0:Math.max(this.options.toArray().indexOf(this._selectionModel.selected[0]),0),a+=H_(a,this.options,this.optionGroups);const l=r/2;this._scrollTop=this._calculateOverlayScroll(a,l,o),this._offsetY=this._calculateOverlayOffsetY(a,l,o),this._checkOverlayWithinViewport(o)}_getOriginBasedOnOption(){const e=this._getItemHeight(),i=(e-this._triggerRect.height)/2;return`50% ${Math.abs(this._offsetY)-i+e/2}px 0px`}_getItemHeight(){return 3*this._triggerFontSize}_getItemCount(){return this.options.length+this.optionGroups.length}}return n.\u0275fac=function(){let t;return function(i){return(t||(t=Hn(n)))(i||n)}}(),n.\u0275cmp=At({type:n,selectors:[["mat-select"]],contentQueries:function(e,i,r){if(1&e&&(Pn(r,tP,5),Pn(r,oa,5),Pn(r,FL,5)),2&e){let s;Et(s=Ct())&&(i.customTrigger=s.first),Et(s=Ct())&&(i.options=s),Et(s=Ct())&&(i.optionGroups=s)}},hostAttrs:["role","combobox","aria-autocomplete","none","aria-haspopup","true",1,"mat-select"],hostVars:20,hostBindings:function(e,i){1&e&&tt("keydown",function(s){return i._handleKeydown(s)})("focus",function(){return i._onFocus()})("blur",function(){return i._onBlur()}),2&e&&(dn("id",i.id)("tabindex",i.tabIndex)("aria-controls",i.panelOpen?i.id+"-panel":null)("aria-expanded",i.panelOpen)("aria-label",i.ariaLabel||null)("aria-required",i.required.toString())("aria-disabled",i.disabled.toString())("aria-invalid",i.errorState)("aria-describedby",i._ariaDescribedby||null)("aria-activedescendant",i._getAriaActiveDescendant()),Cn("mat-select-disabled",i.disabled)("mat-select-invalid",i.errorState)("mat-select-required",i.required)("mat-select-empty",i.empty)("mat-select-multiple",i.multiple))},inputs:{disabled:"disabled",disableRipple:"disableRipple",tabIndex:"tabIndex"},exportAs:["matSelect"],features:[tn([{provide:Xp,useExisting:n},{provide:PL,useExisting:n}]),It],ngContentSelectors:pX,decls:9,vars:12,consts:[["cdk-overlay-origin","",1,"mat-select-trigger",3,"click"],["origin","cdkOverlayOrigin","trigger",""],[1,"mat-select-value",3,"ngSwitch"],["class","mat-select-placeholder mat-select-min-line",4,"ngSwitchCase"],["class","mat-select-value-text",3,"ngSwitch",4,"ngSwitchCase"],[1,"mat-select-arrow-wrapper"],[1,"mat-select-arrow"],["cdk-connected-overlay","","cdkConnectedOverlayLockPosition","","cdkConnectedOverlayHasBackdrop","","cdkConnectedOverlayBackdropClass","cdk-overlay-transparent-backdrop",3,"cdkConnectedOverlayPanelClass","cdkConnectedOverlayScrollStrategy","cdkConnectedOverlayOrigin","cdkConnectedOverlayOpen","cdkConnectedOverlayPositions","cdkConnectedOverlayMinWidth","cdkConnectedOverlayOffsetY","backdropClick","attach","detach"],[1,"mat-select-placeholder","mat-select-min-line"],[1,"mat-select-value-text",3,"ngSwitch"],["class","mat-select-min-line",4,"ngSwitchDefault"],[4,"ngSwitchCase"],[1,"mat-select-min-line"],[1,"mat-select-panel-wrap"],["role","listbox","tabindex","-1",3,"ngClass","keydown"],["panel",""]],template:function(e,i){if(1&e&&(yi(hX),x(0,"div",0,1),tt("click",function(){return i.toggle()}),x(3,"div",2),Ae(4,aX,2,1,"span",3),Ae(5,uX,3,2,"span",4),O(),x(6,"div",5),wt(7,"div",6),O()(),Ae(8,dX,4,14,"ng-template",7),tt("backdropClick",function(){return i.close()})("attach",function(){return i._onAttached()})("detach",function(){return i.close()})),2&e){const r=ki(1);dn("aria-owns",i.panelOpen?i.id+"-panel":null),j(3),H("ngSwitch",i.empty),dn("id",i._valueId),j(1),H("ngSwitchCase",!0),j(1),H("ngSwitchCase",!1),j(3),H("cdkConnectedOverlayPanelClass",i._overlayPanelClass)("cdkConnectedOverlayScrollStrategy",i._scrollStrategy)("cdkConnectedOverlayOrigin",r)("cdkConnectedOverlayOpen",i.panelOpen)("cdkConnectedOverlayPositions",i._positions)("cdkConnectedOverlayMinWidth",null==i._triggerRect?null:i._triggerRect.width)("cdkConnectedOverlayOffsetY",i._offsetY)}},directives:[WL,hd,Wf,Ox,QL,Hc],styles:['.mat-select{display:inline-block;width:100%;outline:none}.mat-select-trigger{display:inline-flex;align-items:center;cursor:pointer;position:relative;box-sizing:border-box;width:100%}.mat-select-disabled .mat-select-trigger{-webkit-user-select:none;user-select:none;cursor:default}.mat-select-value{width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mat-select-value-text{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mat-select-arrow-wrapper{height:16px;flex-shrink:0;display:inline-flex;align-items:center}.mat-form-field-appearance-fill .mat-select-arrow-wrapper{transform:translateY(-50%)}.mat-form-field-appearance-outline .mat-select-arrow-wrapper{transform:translateY(-25%)}.mat-form-field-appearance-standard.mat-form-field-has-label .mat-select:not(.mat-select-empty) .mat-select-arrow-wrapper{transform:translateY(-50%)}.mat-form-field-appearance-standard .mat-select.mat-select-empty .mat-select-arrow-wrapper{transition:transform 400ms cubic-bezier(0.25, 0.8, 0.25, 1)}._mat-animation-noopable.mat-form-field-appearance-standard .mat-select.mat-select-empty .mat-select-arrow-wrapper{transition:none}.mat-select-arrow{width:0;height:0;border-left:5px solid transparent;border-right:5px solid transparent;border-top:5px solid;margin:0 4px}.mat-form-field.mat-focused .mat-select-arrow{transform:translateX(0)}.mat-select-panel-wrap{flex-basis:100%}.mat-select-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;padding-top:0;padding-bottom:0;max-height:256px;min-width:100%;border-radius:4px;outline:0}.cdk-high-contrast-active .mat-select-panel{outline:solid 1px}.mat-select-panel .mat-optgroup-label,.mat-select-panel .mat-option{font-size:inherit;line-height:3em;height:3em}.mat-form-field-type-mat-select:not(.mat-form-field-disabled) .mat-form-field-flex{cursor:pointer}.mat-form-field-type-mat-select .mat-form-field-label{width:calc(100% - 18px)}.mat-select-placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}._mat-animation-noopable .mat-select-placeholder{transition:none}.mat-form-field-hide-placeholder .mat-select-placeholder{color:transparent;-webkit-text-fill-color:transparent;transition:none;display:block}.mat-select-min-line:empty::before{content:" ";white-space:pre;width:1px;display:inline-block;visibility:hidden}\n'],encapsulation:2,data:{animation:[ZO.transformPanelWrap,ZO.transformPanel]},changeDetection:0}),n})(),nP=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Ht({type:n}),n.\u0275inj=He({providers:[yX],imports:[[di,oc,V_,mn],ja,s0,V_,mn]}),n})();const iP=new Set;let qd,MX=(()=>{class n{constructor(e){this._platform=e,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):EX}matchMedia(e){return(this._platform.WEBKIT||this._platform.BLINK)&&function DX(n){if(!iP.has(n))try{qd||(qd=document.createElement("style"),qd.setAttribute("type","text/css"),document.head.appendChild(qd)),qd.sheet&&(qd.sheet.insertRule(`@media ${n} {body{ }}`,0),iP.add(n))}catch(t){console.error(t)}}(e),this._matchMedia(e)}}return n.\u0275fac=function(e){return new(e||n)(Se(zi))},n.\u0275prov=De({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();function EX(n){return{matches:"all"===n||""===n,media:n,addListener:()=>{},removeListener:()=>{}}}let _0=(()=>{class n{constructor(e,i){this._mediaMatcher=e,this._zone=i,this._queries=new Map,this._destroySubject=new K}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(e){return rP(d_(e)).some(r=>this._registerQuery(r).mql.matches)}observe(e){let s=bM(rP(d_(e)).map(o=>this._registerQuery(o).observable));return s=Dg(s.pipe(Ii(1)),s.pipe(wD(1),bD(0))),s.pipe(_e(o=>{const a={matches:!1,breakpoints:{}};return o.forEach(({matches:l,query:h})=>{a.matches=a.matches||l,a.breakpoints[h]=l}),a}))}_registerQuery(e){if(this._queries.has(e))return this._queries.get(e);const i=this._mediaMatcher.matchMedia(e),s={observable:new st(o=>{const a=l=>this._zone.run(()=>o.next(l));return i.addListener(a),()=>{i.removeListener(a)}}).pipe(hr(i),_e(({matches:o})=>({query:e,matches:o})),vn(this._destroySubject)),mql:i};return this._queries.set(e,s),s}}return n.\u0275fac=function(e){return new(e||n)(Se(MX),Se(yn))},n.\u0275prov=De({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();function rP(n){return n.map(t=>t.split(",")).reduce((t,e)=>t.concat(e)).map(t=>t.trim())}const CX=["tooltip"],oP="tooltip-panel",aP=ia({passive:!0}),lP=new pt("mat-tooltip-scroll-strategy"),xX={provide:lP,deps:[Ds],useFactory:function kX(n){return()=>n.scrollStrategies.reposition({scrollThrottle:20})}},IX=new pt("mat-tooltip-default-options",{providedIn:"root",factory:function AX(){return{showDelay:0,hideDelay:0,touchendHideDelay:1500}}});let RX=(()=>{class n{constructor(e,i,r,s,o,a,l,h,f,D,k,Y){this._overlay=e,this._elementRef=i,this._scrollDispatcher=r,this._viewContainerRef=s,this._ngZone=o,this._platform=a,this._ariaDescriber=l,this._focusMonitor=h,this._dir=D,this._defaultOptions=k,this._position="below",this._disabled=!1,this._viewInitialized=!1,this._pointerExitEventsInitialized=!1,this._viewportMargin=8,this._cssClassPrefix="mat",this._showDelay=this._defaultOptions.showDelay,this._hideDelay=this._defaultOptions.hideDelay,this.touchGestures="auto",this._message="",this._passiveListeners=[],this._destroyed=new K,this._scrollStrategy=f,this._document=Y,k&&(k.position&&(this.position=k.position),k.touchGestures&&(this.touchGestures=k.touchGestures)),D.change.pipe(vn(this._destroyed)).subscribe(()=>{this._overlayRef&&this._updatePosition(this._overlayRef)})}get position(){return this._position}set position(e){var i;e!==this._position&&(this._position=e,this._overlayRef&&(this._updatePosition(this._overlayRef),null===(i=this._tooltipInstance)||void 0===i||i.show(0),this._overlayRef.updatePosition()))}get disabled(){return this._disabled}set disabled(e){this._disabled=nn(e),this._disabled?this.hide(0):this._setupPointerEnterEventsIfNeeded()}get showDelay(){return this._showDelay}set showDelay(e){this._showDelay=Ai(e)}get hideDelay(){return this._hideDelay}set hideDelay(e){this._hideDelay=Ai(e),this._tooltipInstance&&(this._tooltipInstance._mouseLeaveHideDelay=this._hideDelay)}get message(){return this._message}set message(e){this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this._message,"tooltip"),this._message=null!=e?String(e).trim():"",!this._message&&this._isTooltipVisible()?this.hide(0):(this._setupPointerEnterEventsIfNeeded(),this._updateTooltipMessage(),this._ngZone.runOutsideAngular(()=>{Promise.resolve().then(()=>{this._ariaDescriber.describe(this._elementRef.nativeElement,this.message,"tooltip")})}))}get tooltipClass(){return this._tooltipClass}set tooltipClass(e){this._tooltipClass=e,this._tooltipInstance&&this._setTooltipClass(this._tooltipClass)}ngAfterViewInit(){this._viewInitialized=!0,this._setupPointerEnterEventsIfNeeded(),this._focusMonitor.monitor(this._elementRef).pipe(vn(this._destroyed)).subscribe(e=>{e?"keyboard"===e&&this._ngZone.run(()=>this.show()):this._ngZone.run(()=>this.hide(0))})}ngOnDestroy(){const e=this._elementRef.nativeElement;clearTimeout(this._touchstartTimeout),this._overlayRef&&(this._overlayRef.dispose(),this._tooltipInstance=null),this._passiveListeners.forEach(([i,r])=>{e.removeEventListener(i,r,aP)}),this._passiveListeners.length=0,this._destroyed.next(),this._destroyed.complete(),this._ariaDescriber.removeDescription(e,this.message,"tooltip"),this._focusMonitor.stopMonitoring(e)}show(e=this.showDelay){if(this.disabled||!this.message||this._isTooltipVisible()&&!this._tooltipInstance._showTimeoutId&&!this._tooltipInstance._hideTimeoutId)return;const i=this._createOverlay();this._detach(),this._portal=this._portal||new Nd(this._tooltipComponent,this._viewContainerRef);const r=this._tooltipInstance=i.attach(this._portal).instance;r._triggerElement=this._elementRef.nativeElement,r._mouseLeaveHideDelay=this._hideDelay,r.afterHidden().pipe(vn(this._destroyed)).subscribe(()=>this._detach()),this._setTooltipClass(this._tooltipClass),this._updateTooltipMessage(),r.show(e)}hide(e=this.hideDelay){this._tooltipInstance&&this._tooltipInstance.hide(e)}toggle(){this._isTooltipVisible()?this.hide():this.show()}_isTooltipVisible(){return!!this._tooltipInstance&&this._tooltipInstance.isVisible()}_createOverlay(){var e;if(this._overlayRef)return this._overlayRef;const i=this._scrollDispatcher.getAncestorScrollContainers(this._elementRef),r=this._overlay.position().flexibleConnectedTo(this._elementRef).withTransformOriginOn(`.${this._cssClassPrefix}-tooltip`).withFlexibleDimensions(!1).withViewportMargin(this._viewportMargin).withScrollableContainers(i);return r.positionChanges.pipe(vn(this._destroyed)).subscribe(s=>{this._updateCurrentPositionClass(s.connectionPair),this._tooltipInstance&&s.scrollableViewProperties.isOverlayClipped&&this._tooltipInstance.isVisible()&&this._ngZone.run(()=>this.hide(0))}),this._overlayRef=this._overlay.create({direction:this._dir,positionStrategy:r,panelClass:`${this._cssClassPrefix}-${oP}`,scrollStrategy:this._scrollStrategy()}),this._updatePosition(this._overlayRef),this._overlayRef.detachments().pipe(vn(this._destroyed)).subscribe(()=>this._detach()),this._overlayRef.outsidePointerEvents().pipe(vn(this._destroyed)).subscribe(()=>{var s;return null===(s=this._tooltipInstance)||void 0===s?void 0:s._handleBodyInteraction()}),this._overlayRef.keydownEvents().pipe(vn(this._destroyed)).subscribe(s=>{this._isTooltipVisible()&&27===s.keyCode&&!Qr(s)&&(s.preventDefault(),s.stopPropagation(),this._ngZone.run(()=>this.hide(0)))}),(null===(e=this._defaultOptions)||void 0===e?void 0:e.disableTooltipInteractivity)&&this._overlayRef.addPanelClass(`${this._cssClassPrefix}-tooltip-panel-non-interactive`),this._overlayRef}_detach(){this._overlayRef&&this._overlayRef.hasAttached()&&this._overlayRef.detach(),this._tooltipInstance=null}_updatePosition(e){const i=e.getConfig().positionStrategy,r=this._getOrigin(),s=this._getOverlayPosition();i.withPositions([this._addOffset(Object.assign(Object.assign({},r.main),s.main)),this._addOffset(Object.assign(Object.assign({},r.fallback),s.fallback))])}_addOffset(e){return e}_getOrigin(){const e=!this._dir||"ltr"==this._dir.value,i=this.position;let r;"above"==i||"below"==i?r={originX:"center",originY:"above"==i?"top":"bottom"}:"before"==i||"left"==i&&e||"right"==i&&!e?r={originX:"start",originY:"center"}:("after"==i||"right"==i&&e||"left"==i&&!e)&&(r={originX:"end",originY:"center"});const{x:s,y:o}=this._invertPosition(r.originX,r.originY);return{main:r,fallback:{originX:s,originY:o}}}_getOverlayPosition(){const e=!this._dir||"ltr"==this._dir.value,i=this.position;let r;"above"==i?r={overlayX:"center",overlayY:"bottom"}:"below"==i?r={overlayX:"center",overlayY:"top"}:"before"==i||"left"==i&&e||"right"==i&&!e?r={overlayX:"end",overlayY:"center"}:("after"==i||"right"==i&&e||"left"==i&&!e)&&(r={overlayX:"start",overlayY:"center"});const{x:s,y:o}=this._invertPosition(r.overlayX,r.overlayY);return{main:r,fallback:{overlayX:s,overlayY:o}}}_updateTooltipMessage(){this._tooltipInstance&&(this._tooltipInstance.message=this.message,this._tooltipInstance._markForCheck(),this._ngZone.onMicrotaskEmpty.pipe(Ii(1),vn(this._destroyed)).subscribe(()=>{this._tooltipInstance&&this._overlayRef.updatePosition()}))}_setTooltipClass(e){this._tooltipInstance&&(this._tooltipInstance.tooltipClass=e,this._tooltipInstance._markForCheck())}_invertPosition(e,i){return"above"===this.position||"below"===this.position?"top"===i?i="bottom":"bottom"===i&&(i="top"):"end"===e?e="start":"start"===e&&(e="end"),{x:e,y:i}}_updateCurrentPositionClass(e){const{overlayY:i,originX:r,originY:s}=e;let o;if(o="center"===i?this._dir&&"rtl"===this._dir.value?"end"===r?"left":"right":"start"===r?"left":"right":"bottom"===i&&"top"===s?"above":"below",o!==this._currentPosition){const a=this._overlayRef;if(a){const l=`${this._cssClassPrefix}-${oP}-`;a.removePanelClass(l+this._currentPosition),a.addPanelClass(l+o)}this._currentPosition=o}}_setupPointerEnterEventsIfNeeded(){this._disabled||!this.message||!this._viewInitialized||this._passiveListeners.length||(this._platformSupportsMouseEvents()?this._passiveListeners.push(["mouseenter",()=>{this._setupPointerExitEventsIfNeeded(),this.show()}]):"off"!==this.touchGestures&&(this._disableNativeGesturesIfNecessary(),this._passiveListeners.push(["touchstart",()=>{this._setupPointerExitEventsIfNeeded(),clearTimeout(this._touchstartTimeout),this._touchstartTimeout=setTimeout(()=>this.show(),500)}])),this._addListeners(this._passiveListeners))}_setupPointerExitEventsIfNeeded(){if(this._pointerExitEventsInitialized)return;this._pointerExitEventsInitialized=!0;const e=[];if(this._platformSupportsMouseEvents())e.push(["mouseleave",i=>{var r;const s=i.relatedTarget;(!s||!(null===(r=this._overlayRef)||void 0===r?void 0:r.overlayElement.contains(s)))&&this.hide()}],["wheel",i=>this._wheelListener(i)]);else if("off"!==this.touchGestures){this._disableNativeGesturesIfNecessary();const i=()=>{clearTimeout(this._touchstartTimeout),this.hide(this._defaultOptions.touchendHideDelay)};e.push(["touchend",i],["touchcancel",i])}this._addListeners(e),this._passiveListeners.push(...e)}_addListeners(e){e.forEach(([i,r])=>{this._elementRef.nativeElement.addEventListener(i,r,aP)})}_platformSupportsMouseEvents(){return!this._platform.IOS&&!this._platform.ANDROID}_wheelListener(e){if(this._isTooltipVisible()){const i=this._document.elementFromPoint(e.clientX,e.clientY),r=this._elementRef.nativeElement;i!==r&&!r.contains(i)&&this.hide()}}_disableNativeGesturesIfNecessary(){const e=this.touchGestures;if("off"!==e){const i=this._elementRef.nativeElement,r=i.style;("on"===e||"INPUT"!==i.nodeName&&"TEXTAREA"!==i.nodeName)&&(r.userSelect=r.msUserSelect=r.webkitUserSelect=r.MozUserSelect="none"),("on"===e||!i.draggable)&&(r.webkitUserDrag="none"),r.touchAction="none",r.webkitTapHighlightColor="transparent"}}}return n.\u0275fac=function(e){Ja()},n.\u0275dir=rt({type:n,inputs:{position:["matTooltipPosition","position"],disabled:["matTooltipDisabled","disabled"],showDelay:["matTooltipShowDelay","showDelay"],hideDelay:["matTooltipHideDelay","hideDelay"],touchGestures:["matTooltipTouchGestures","touchGestures"],message:["matTooltip","message"],tooltipClass:["matTooltipClass","tooltipClass"]}}),n})(),gl=(()=>{class n extends RX{constructor(e,i,r,s,o,a,l,h,f,D,k,Y){super(e,i,r,s,o,a,l,h,f,D,k,Y),this._tooltipComponent=OX}}return n.\u0275fac=function(e){return new(e||n)(M(Ds),M(Zt),M(XR),M(Si),M(yn),M(zi),M(jR),M(Ns),M(lP),M(Hr,8),M(IX,8),M(Dn))},n.\u0275dir=rt({type:n,selectors:[["","matTooltip",""]],hostAttrs:[1,"mat-tooltip-trigger"],exportAs:["matTooltip"],features:[It]}),n})(),LX=(()=>{class n{constructor(e,i){this._changeDetectorRef=e,this._visibility="initial",this._closeOnInteraction=!1,this._isVisible=!1,this._onHide=new K,this._animationsDisabled="NoopAnimations"===i}show(e){clearTimeout(this._hideTimeoutId),this._showTimeoutId=setTimeout(()=>{this._toggleVisibility(!0),this._showTimeoutId=void 0},e)}hide(e){clearTimeout(this._showTimeoutId),this._hideTimeoutId=setTimeout(()=>{this._toggleVisibility(!1),this._hideTimeoutId=void 0},e)}afterHidden(){return this._onHide}isVisible(){return this._isVisible}ngOnDestroy(){clearTimeout(this._showTimeoutId),clearTimeout(this._hideTimeoutId),this._onHide.complete(),this._triggerElement=null}_handleBodyInteraction(){this._closeOnInteraction&&this.hide(0)}_markForCheck(){this._changeDetectorRef.markForCheck()}_handleMouseLeave({relatedTarget:e}){(!e||!this._triggerElement.contains(e))&&this.hide(this._mouseLeaveHideDelay)}_onShow(){}_handleAnimationEnd({animationName:e}){(e===this._showAnimation||e===this._hideAnimation)&&this._finalizeAnimation(e===this._showAnimation)}_finalizeAnimation(e){e?this._closeOnInteraction=!0:this.isVisible()||this._onHide.next()}_toggleVisibility(e){const i=this._tooltip.nativeElement,r=this._showAnimation,s=this._hideAnimation;if(i.classList.remove(e?s:r),i.classList.add(e?r:s),this._isVisible=e,e&&!this._animationsDisabled&&"function"==typeof getComputedStyle){const o=getComputedStyle(i);("0s"===o.getPropertyValue("animation-duration")||"none"===o.getPropertyValue("animation-name"))&&(this._animationsDisabled=!0)}e&&this._onShow(),this._animationsDisabled&&(i.classList.add("_mat-animation-noopable"),this._finalizeAnimation(e))}}return n.\u0275fac=function(e){return new(e||n)(M(Gn),M(Zi,8))},n.\u0275dir=rt({type:n}),n})(),OX=(()=>{class n extends LX{constructor(e,i,r){super(e,r),this._breakpointObserver=i,this._isHandset=this._breakpointObserver.observe("(max-width: 599.98px) and (orientation: portrait), (max-width: 959.98px) and (orientation: landscape)"),this._showAnimation="mat-tooltip-show",this._hideAnimation="mat-tooltip-hide"}}return n.\u0275fac=function(e){return new(e||n)(M(Gn),M(_0),M(Zi,8))},n.\u0275cmp=At({type:n,selectors:[["mat-tooltip-component"]],viewQuery:function(e,i){if(1&e&&hn(CX,7),2&e){let r;Et(r=Ct())&&(i._tooltip=r.first)}},hostAttrs:["aria-hidden","true"],hostVars:2,hostBindings:function(e,i){1&e&&tt("mouseleave",function(s){return i._handleMouseLeave(s)}),2&e&&Fr("zoom",i.isVisible()?1:null)},features:[It],decls:4,vars:6,consts:[[1,"mat-tooltip",3,"ngClass","animationend"],["tooltip",""]],template:function(e,i){if(1&e&&(x(0,"div",0,1),tt("animationend",function(s){return i._handleAnimationEnd(s)}),ls(2,"async"),Me(3),O()),2&e){let r;Cn("mat-tooltip-handset",null==(r=cs(2,4,i._isHandset))?null:r.matches),H("ngClass",i.tooltipClass),j(3),vi(i.message)}},directives:[Hc],pipes:[rl],styles:[".mat-tooltip{color:#fff;border-radius:4px;margin:14px;max-width:250px;padding-left:8px;padding-right:8px;overflow:hidden;text-overflow:ellipsis;transform:scale(0)}.mat-tooltip._mat-animation-noopable{animation:none;transform:scale(1)}.cdk-high-contrast-active .mat-tooltip{outline:solid 1px}.mat-tooltip-handset{margin:24px;padding-left:16px;padding-right:16px}.mat-tooltip-panel-non-interactive{pointer-events:none}@keyframes mat-tooltip-show{0%{opacity:0;transform:scale(0)}50%{opacity:.5;transform:scale(0.99)}100%{opacity:1;transform:scale(1)}}@keyframes mat-tooltip-hide{0%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(1)}}.mat-tooltip-show{animation:mat-tooltip-show 200ms cubic-bezier(0, 0, 0.2, 1) forwards}.mat-tooltip-hide{animation:mat-tooltip-hide 100ms cubic-bezier(0, 0, 0.2, 1) forwards}\n"],encapsulation:2,changeDetection:0}),n})(),y0=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Ht({type:n}),n.\u0275inj=He({providers:[xX],imports:[[b_,di,oc,mn],mn,ja]}),n})();function PX(n,t){if(1&n&&(x(0,"mat-option",19),Me(1),O()),2&n){const e=t.$implicit;H("value",e),j(1),an(" ",e," ")}}function FX(n,t){if(1&n){const e=on();x(0,"mat-form-field",16)(1,"mat-select",17),tt("selectionChange",function(r){return zt(e),Ce(2)._changePageSize(r.value)}),Ae(2,PX,2,2,"mat-option",18),O()()}if(2&n){const e=Ce(2);H("appearance",e._formFieldAppearance)("color",e.color),j(1),H("value",e.pageSize)("disabled",e.disabled)("aria-label",e._intl.itemsPerPageLabel),j(1),H("ngForOf",e._displayedPageSizeOptions)}}function NX(n,t){if(1&n&&(x(0,"div",20),Me(1),O()),2&n){const e=Ce(2);j(1),vi(e.pageSize)}}function jX(n,t){if(1&n&&(x(0,"div",12)(1,"div",13),Me(2),O(),Ae(3,FX,3,6,"mat-form-field",14),Ae(4,NX,2,1,"div",15),O()),2&n){const e=Ce();j(2),an(" ",e._intl.itemsPerPageLabel," "),j(1),H("ngIf",e._displayedPageSizeOptions.length>1),j(1),H("ngIf",e._displayedPageSizeOptions.length<=1)}}function BX(n,t){if(1&n){const e=on();x(0,"button",21),tt("click",function(){return zt(e),Ce().firstPage()}),Gs(),x(1,"svg",7),wt(2,"path",22),O()()}if(2&n){const e=Ce();H("matTooltip",e._intl.firstPageLabel)("matTooltipDisabled",e._previousButtonsDisabled())("matTooltipPosition","above")("disabled",e._previousButtonsDisabled()),dn("aria-label",e._intl.firstPageLabel)}}function YX(n,t){if(1&n){const e=on();Gs(),Wa(),x(0,"button",23),tt("click",function(){return zt(e),Ce().lastPage()}),Gs(),x(1,"svg",7),wt(2,"path",24),O()()}if(2&n){const e=Ce();H("matTooltip",e._intl.lastPageLabel)("matTooltipDisabled",e._nextButtonsDisabled())("matTooltipPosition","above")("disabled",e._nextButtonsDisabled()),dn("aria-label",e._intl.lastPageLabel)}}let sy=(()=>{class n{constructor(){this.changes=new K,this.itemsPerPageLabel="Items per page:",this.nextPageLabel="Next page",this.previousPageLabel="Previous page",this.firstPageLabel="First page",this.lastPageLabel="Last page",this.getRangeLabel=(e,i,r)=>{if(0==r||0==i)return`0 of ${r}`;const s=e*i;return`${s+1} \u2013 ${s<(r=Math.max(r,0))?Math.min(s+i,r):s+i} of ${r}`}}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=De({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const VX={provide:sy,deps:[[new yr,new mo,sy]],useFactory:function HX(n){return n||new sy}},UX=new pt("MAT_PAGINATOR_DEFAULT_OPTIONS"),zX=eo(TL(class{}));let GX=(()=>{class n extends zX{constructor(e,i,r){if(super(),this._intl=e,this._changeDetectorRef=i,this._pageIndex=0,this._length=0,this._pageSizeOptions=[],this._hidePageSize=!1,this._showFirstLastButtons=!1,this.page=new Yt,this._intlChanges=e.changes.subscribe(()=>this._changeDetectorRef.markForCheck()),r){const{pageSize:s,pageSizeOptions:o,hidePageSize:a,showFirstLastButtons:l}=r;null!=s&&(this._pageSize=s),null!=o&&(this._pageSizeOptions=o),null!=a&&(this._hidePageSize=a),null!=l&&(this._showFirstLastButtons=l)}}get pageIndex(){return this._pageIndex}set pageIndex(e){this._pageIndex=Math.max(Ai(e),0),this._changeDetectorRef.markForCheck()}get length(){return this._length}set length(e){this._length=Ai(e),this._changeDetectorRef.markForCheck()}get pageSize(){return this._pageSize}set pageSize(e){this._pageSize=Math.max(Ai(e),0),this._updateDisplayedPageSizeOptions()}get pageSizeOptions(){return this._pageSizeOptions}set pageSizeOptions(e){this._pageSizeOptions=(e||[]).map(i=>Ai(i)),this._updateDisplayedPageSizeOptions()}get hidePageSize(){return this._hidePageSize}set hidePageSize(e){this._hidePageSize=nn(e)}get showFirstLastButtons(){return this._showFirstLastButtons}set showFirstLastButtons(e){this._showFirstLastButtons=nn(e)}ngOnInit(){this._initialized=!0,this._updateDisplayedPageSizeOptions(),this._markInitialized()}ngOnDestroy(){this._intlChanges.unsubscribe()}nextPage(){if(!this.hasNextPage())return;const e=this.pageIndex;this.pageIndex=this.pageIndex+1,this._emitPageEvent(e)}previousPage(){if(!this.hasPreviousPage())return;const e=this.pageIndex;this.pageIndex=this.pageIndex-1,this._emitPageEvent(e)}firstPage(){if(!this.hasPreviousPage())return;const e=this.pageIndex;this.pageIndex=0,this._emitPageEvent(e)}lastPage(){if(!this.hasNextPage())return;const e=this.pageIndex;this.pageIndex=this.getNumberOfPages()-1,this._emitPageEvent(e)}hasPreviousPage(){return this.pageIndex>=1&&0!=this.pageSize}hasNextPage(){const e=this.getNumberOfPages()-1;return this.pageIndexe-i),this._changeDetectorRef.markForCheck())}_emitPageEvent(e){this.page.emit({previousPageIndex:e,pageIndex:this.pageIndex,pageSize:this.pageSize,length:this.length})}}return n.\u0275fac=function(e){Ja()},n.\u0275dir=rt({type:n,inputs:{color:"color",pageIndex:"pageIndex",length:"length",pageSize:"pageSize",pageSizeOptions:"pageSizeOptions",hidePageSize:"hidePageSize",showFirstLastButtons:"showFirstLastButtons"},outputs:{page:"page"},features:[It]}),n})(),v0=(()=>{class n extends GX{constructor(e,i,r){super(e,i,r),r&&null!=r.formFieldAppearance&&(this._formFieldAppearance=r.formFieldAppearance)}}return n.\u0275fac=function(e){return new(e||n)(M(sy),M(Gn),M(UX,8))},n.\u0275cmp=At({type:n,selectors:[["mat-paginator"]],hostAttrs:["role","group",1,"mat-paginator"],inputs:{disabled:"disabled"},exportAs:["matPaginator"],features:[It],decls:14,vars:14,consts:[[1,"mat-paginator-outer-container"],[1,"mat-paginator-container"],["class","mat-paginator-page-size",4,"ngIf"],[1,"mat-paginator-range-actions"],[1,"mat-paginator-range-label"],["mat-icon-button","","type","button","class","mat-paginator-navigation-first",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click",4,"ngIf"],["mat-icon-button","","type","button",1,"mat-paginator-navigation-previous",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click"],["viewBox","0 0 24 24","focusable","false",1,"mat-paginator-icon"],["d","M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z"],["mat-icon-button","","type","button",1,"mat-paginator-navigation-next",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click"],["d","M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"],["mat-icon-button","","type","button","class","mat-paginator-navigation-last",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click",4,"ngIf"],[1,"mat-paginator-page-size"],[1,"mat-paginator-page-size-label"],["class","mat-paginator-page-size-select",3,"appearance","color",4,"ngIf"],["class","mat-paginator-page-size-value",4,"ngIf"],[1,"mat-paginator-page-size-select",3,"appearance","color"],[3,"value","disabled","aria-label","selectionChange"],[3,"value",4,"ngFor","ngForOf"],[3,"value"],[1,"mat-paginator-page-size-value"],["mat-icon-button","","type","button",1,"mat-paginator-navigation-first",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click"],["d","M18.41 16.59L13.82 12l4.59-4.59L17 6l-6 6 6 6zM6 6h2v12H6z"],["mat-icon-button","","type","button",1,"mat-paginator-navigation-last",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click"],["d","M5.59 7.41L10.18 12l-4.59 4.59L7 18l6-6-6-6zM16 6h2v12h-2z"]],template:function(e,i){1&e&&(x(0,"div",0)(1,"div",1),Ae(2,jX,5,3,"div",2),x(3,"div",3)(4,"div",4),Me(5),O(),Ae(6,BX,3,5,"button",5),x(7,"button",6),tt("click",function(){return i.previousPage()}),Gs(),x(8,"svg",7),wt(9,"path",8),O()(),Wa(),x(10,"button",9),tt("click",function(){return i.nextPage()}),Gs(),x(11,"svg",7),wt(12,"path",10),O()(),Ae(13,YX,3,5,"button",11),O()()()),2&e&&(j(2),H("ngIf",!i.hidePageSize),j(3),an(" ",i._intl.getRangeLabel(i.pageIndex,i.pageSize,i.length)," "),j(1),H("ngIf",i.showFirstLastButtons),j(1),H("matTooltip",i._intl.previousPageLabel)("matTooltipDisabled",i._previousButtonsDisabled())("matTooltipPosition","above")("disabled",i._previousButtonsDisabled()),dn("aria-label",i._intl.previousPageLabel),j(3),H("matTooltip",i._intl.nextPageLabel)("matTooltipDisabled",i._nextButtonsDisabled())("matTooltipPosition","above")("disabled",i._nextButtonsDisabled()),dn("aria-label",i._intl.nextPageLabel),j(3),H("ngIf",i.showFirstLastButtons))},directives:[Er,ko,oa,bi,ai,jr,gl],styles:[".mat-paginator{display:block}.mat-paginator-outer-container{display:flex}.mat-paginator-container{display:flex;align-items:center;justify-content:flex-end;padding:0 8px;flex-wrap:wrap-reverse;width:100%}.mat-paginator-page-size{display:flex;align-items:baseline;margin-right:8px}[dir=rtl] .mat-paginator-page-size{margin-right:0;margin-left:8px}.mat-paginator-page-size-label{margin:0 4px}.mat-paginator-page-size-select{margin:6px 4px 0 4px;width:56px}.mat-paginator-page-size-select.mat-form-field-appearance-outline{width:64px}.mat-paginator-page-size-select.mat-form-field-appearance-fill{width:64px}.mat-paginator-range-label{margin:0 32px 0 24px}.mat-paginator-range-actions{display:flex;align-items:center}.mat-paginator-icon{width:28px;fill:currentColor}[dir=rtl] .mat-paginator-icon{transform:rotate(180deg)}.cdk-high-contrast-active .mat-paginator-icon{fill:CanvasText}\n"],encapsulation:2,changeDetection:0}),n})(),$X=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Ht({type:n}),n.\u0275inj=He({providers:[VX],imports:[[di,Bd,nP,y0,mn]]}),n})(),cP=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Ht({type:n}),n.\u0275inj=He({imports:[[di,mn],mn]}),n})();function QX(n,t){if(1&n&&(Gs(),wt(0,"circle",4)),2&n){const e=Ce(),i=ki(1);Fr("animation-name","mat-progress-spinner-stroke-rotate-"+e._spinnerAnimationLabel)("stroke-dashoffset",e._getStrokeDashOffset(),"px")("stroke-dasharray",e._getStrokeCircumference(),"px")("stroke-width",e._getCircleStrokeWidth(),"%")("transform-origin",e._getCircleTransformOrigin(i)),dn("r",e._getCircleRadius())}}function KX(n,t){if(1&n&&(Gs(),wt(0,"circle",4)),2&n){const e=Ce(),i=ki(1);Fr("stroke-dashoffset",e._getStrokeDashOffset(),"px")("stroke-dasharray",e._getStrokeCircumference(),"px")("stroke-width",e._getCircleStrokeWidth(),"%")("transform-origin",e._getCircleTransformOrigin(i)),dn("r",e._getCircleRadius())}}const XX=Ya(class{constructor(n){this._elementRef=n}},"primary"),JX=new pt("mat-progress-spinner-default-options",{providedIn:"root",factory:function eJ(){return{diameter:100}}});class Es extends XX{constructor(t,e,i,r,s,o,a,l){super(t),this._document=i,this._diameter=100,this._value=0,this._resizeSubscription=P.EMPTY,this.mode="determinate";const h=Es._diameters;this._spinnerAnimationLabel=this._getSpinnerAnimationLabel(),h.has(i.head)||h.set(i.head,new Set([100])),this._noopAnimations="NoopAnimations"===r&&!!s&&!s._forceAnimations,"mat-spinner"===t.nativeElement.nodeName.toLowerCase()&&(this.mode="indeterminate"),s&&(s.diameter&&(this.diameter=s.diameter),s.strokeWidth&&(this.strokeWidth=s.strokeWidth)),e.isBrowser&&e.SAFARI&&a&&o&&l&&(this._resizeSubscription=a.change(150).subscribe(()=>{"indeterminate"===this.mode&&l.run(()=>o.markForCheck())}))}get diameter(){return this._diameter}set diameter(t){this._diameter=Ai(t),this._spinnerAnimationLabel=this._getSpinnerAnimationLabel(),this._styleRoot&&this._attachStyleNode()}get strokeWidth(){return this._strokeWidth||this.diameter/10}set strokeWidth(t){this._strokeWidth=Ai(t)}get value(){return"determinate"===this.mode?this._value:0}set value(t){this._value=Math.max(0,Math.min(100,Ai(t)))}ngOnInit(){const t=this._elementRef.nativeElement;this._styleRoot=u_(t)||this._document.head,this._attachStyleNode(),t.classList.add("mat-progress-spinner-indeterminate-animation")}ngOnDestroy(){this._resizeSubscription.unsubscribe()}_getCircleRadius(){return(this.diameter-10)/2}_getViewBox(){const t=2*this._getCircleRadius()+this.strokeWidth;return`0 0 ${t} ${t}`}_getStrokeCircumference(){return 2*Math.PI*this._getCircleRadius()}_getStrokeDashOffset(){return"determinate"===this.mode?this._getStrokeCircumference()*(100-this._value)/100:null}_getCircleStrokeWidth(){return this.strokeWidth/this.diameter*100}_getCircleTransformOrigin(t){var e;const i=50*(null!==(e=t.currentScale)&&void 0!==e?e:1);return`${i}% ${i}%`}_attachStyleNode(){const t=this._styleRoot,e=this._diameter,i=Es._diameters;let r=i.get(t);if(!r||!r.has(e)){const s=this._document.createElement("style");s.setAttribute("mat-spinner-animation",this._spinnerAnimationLabel),s.textContent=this._getAnimationText(),t.appendChild(s),r||(r=new Set,i.set(t,r)),r.add(e)}}_getAnimationText(){const t=this._getStrokeCircumference();return"\n @keyframes mat-progress-spinner-stroke-rotate-DIAMETER {\n 0% { stroke-dashoffset: START_VALUE; transform: rotate(0); }\n 12.5% { stroke-dashoffset: END_VALUE; transform: rotate(0); }\n 12.5001% { stroke-dashoffset: END_VALUE; transform: rotateX(180deg) rotate(72.5deg); }\n 25% { stroke-dashoffset: START_VALUE; transform: rotateX(180deg) rotate(72.5deg); }\n\n 25.0001% { stroke-dashoffset: START_VALUE; transform: rotate(270deg); }\n 37.5% { stroke-dashoffset: END_VALUE; transform: rotate(270deg); }\n 37.5001% { stroke-dashoffset: END_VALUE; transform: rotateX(180deg) rotate(161.5deg); }\n 50% { stroke-dashoffset: START_VALUE; transform: rotateX(180deg) rotate(161.5deg); }\n\n 50.0001% { stroke-dashoffset: START_VALUE; transform: rotate(180deg); }\n 62.5% { stroke-dashoffset: END_VALUE; transform: rotate(180deg); }\n 62.5001% { stroke-dashoffset: END_VALUE; transform: rotateX(180deg) rotate(251.5deg); }\n 75% { stroke-dashoffset: START_VALUE; transform: rotateX(180deg) rotate(251.5deg); }\n\n 75.0001% { stroke-dashoffset: START_VALUE; transform: rotate(90deg); }\n 87.5% { stroke-dashoffset: END_VALUE; transform: rotate(90deg); }\n 87.5001% { stroke-dashoffset: END_VALUE; transform: rotateX(180deg) rotate(341.5deg); }\n 100% { stroke-dashoffset: START_VALUE; transform: rotateX(180deg) rotate(341.5deg); }\n }\n".replace(/START_VALUE/g,""+.95*t).replace(/END_VALUE/g,""+.2*t).replace(/DIAMETER/g,`${this._spinnerAnimationLabel}`)}_getSpinnerAnimationLabel(){return this.diameter.toString().replace(".","_")}}Es._diameters=new WeakMap,Es.\u0275fac=function(t){return new(t||Es)(M(Zt),M(zi),M(Dn,8),M(Zi,8),M(JX),M(Gn),M(So),M(yn))},Es.\u0275cmp=At({type:Es,selectors:[["mat-progress-spinner"],["mat-spinner"]],hostAttrs:["role","progressbar","tabindex","-1",1,"mat-progress-spinner","mat-spinner"],hostVars:10,hostBindings:function(t,e){2&t&&(dn("aria-valuemin","determinate"===e.mode?0:null)("aria-valuemax","determinate"===e.mode?100:null)("aria-valuenow","determinate"===e.mode?e.value:null)("mode",e.mode),Fr("width",e.diameter,"px")("height",e.diameter,"px"),Cn("_mat-animation-noopable",e._noopAnimations))},inputs:{color:"color",diameter:"diameter",strokeWidth:"strokeWidth",mode:"mode",value:"value"},exportAs:["matProgressSpinner"],features:[It],decls:4,vars:8,consts:[["preserveAspectRatio","xMidYMid meet","focusable","false","aria-hidden","true",3,"ngSwitch"],["svg",""],["cx","50%","cy","50%",3,"animation-name","stroke-dashoffset","stroke-dasharray","stroke-width","transform-origin",4,"ngSwitchCase"],["cx","50%","cy","50%",3,"stroke-dashoffset","stroke-dasharray","stroke-width","transform-origin",4,"ngSwitchCase"],["cx","50%","cy","50%"]],template:function(t,e){1&t&&(Gs(),x(0,"svg",0,1),Ae(2,QX,1,11,"circle",2),Ae(3,KX,1,9,"circle",3),O()),2&t&&(Fr("width",e.diameter,"px")("height",e.diameter,"px"),H("ngSwitch","indeterminate"===e.mode),dn("viewBox",e._getViewBox()),j(2),H("ngSwitchCase",!0),j(1),H("ngSwitchCase",!1))},directives:[hd,Wf],styles:[".mat-progress-spinner{display:block;position:relative;overflow:hidden}.mat-progress-spinner svg{position:absolute;transform:rotate(-90deg);top:0;left:0;transform-origin:center;overflow:visible}.mat-progress-spinner circle{fill:transparent;transition:stroke-dashoffset 225ms linear}._mat-animation-noopable.mat-progress-spinner circle{transition:none;animation:none}.cdk-high-contrast-active .mat-progress-spinner circle{stroke:CanvasText}.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] svg{animation:mat-progress-spinner-linear-rotate 2000ms linear infinite}._mat-animation-noopable.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] svg{transition:none;animation:none}.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] circle{transition-property:stroke;animation-duration:4000ms;animation-timing-function:cubic-bezier(0.35, 0, 0.25, 1);animation-iteration-count:infinite}._mat-animation-noopable.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] circle{transition:none;animation:none}@keyframes mat-progress-spinner-linear-rotate{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes mat-progress-spinner-stroke-rotate-100{0%{stroke-dashoffset:268.606171575px;transform:rotate(0)}12.5%{stroke-dashoffset:56.5486677px;transform:rotate(0)}12.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(72.5deg)}25%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(72.5deg)}25.0001%{stroke-dashoffset:268.606171575px;transform:rotate(270deg)}37.5%{stroke-dashoffset:56.5486677px;transform:rotate(270deg)}37.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(161.5deg)}50%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(161.5deg)}50.0001%{stroke-dashoffset:268.606171575px;transform:rotate(180deg)}62.5%{stroke-dashoffset:56.5486677px;transform:rotate(180deg)}62.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(251.5deg)}75%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(251.5deg)}75.0001%{stroke-dashoffset:268.606171575px;transform:rotate(90deg)}87.5%{stroke-dashoffset:56.5486677px;transform:rotate(90deg)}87.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(341.5deg)}100%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(341.5deg)}}\n"],encapsulation:2,changeDetection:0});let uP=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Ht({type:n}),n.\u0275inj=He({imports:[[mn,di],mn]}),n})();const nJ=["input"],iJ=function(n){return{enterDuration:n}},rJ=["*"],sJ=new pt("mat-radio-default-options",{providedIn:"root",factory:function oJ(){return{color:"accent"}}});let dP=0;const aJ={provide:Br,useExisting:Dt(()=>mP),multi:!0};class hP{constructor(t,e){this.source=t,this.value=e}}const pP=new pt("MatRadioGroup");let lJ=(()=>{class n{constructor(e){this._changeDetector=e,this._value=null,this._name="mat-radio-group-"+dP++,this._selected=null,this._isInitialized=!1,this._labelPosition="after",this._disabled=!1,this._required=!1,this._controlValueAccessorChangeFn=()=>{},this.onTouched=()=>{},this.change=new Yt}get name(){return this._name}set name(e){this._name=e,this._updateRadioButtonNames()}get labelPosition(){return this._labelPosition}set labelPosition(e){this._labelPosition="before"===e?"before":"after",this._markRadiosForCheck()}get value(){return this._value}set value(e){this._value!==e&&(this._value=e,this._updateSelectedRadioFromValue(),this._checkSelectedRadioButton())}_checkSelectedRadioButton(){this._selected&&!this._selected.checked&&(this._selected.checked=!0)}get selected(){return this._selected}set selected(e){this._selected=e,this.value=e?e.value:null,this._checkSelectedRadioButton()}get disabled(){return this._disabled}set disabled(e){this._disabled=nn(e),this._markRadiosForCheck()}get required(){return this._required}set required(e){this._required=nn(e),this._markRadiosForCheck()}ngAfterContentInit(){this._isInitialized=!0}_touch(){this.onTouched&&this.onTouched()}_updateRadioButtonNames(){this._radios&&this._radios.forEach(e=>{e.name=this.name,e._markForCheck()})}_updateSelectedRadioFromValue(){this._radios&&(null===this._selected||this._selected.value!==this._value)&&(this._selected=null,this._radios.forEach(i=>{i.checked=this.value===i.value,i.checked&&(this._selected=i)}))}_emitChangeEvent(){this._isInitialized&&this.change.emit(new hP(this._selected,this._value))}_markRadiosForCheck(){this._radios&&this._radios.forEach(e=>e._markForCheck())}writeValue(e){this.value=e,this._changeDetector.markForCheck()}registerOnChange(e){this._controlValueAccessorChangeFn=e}registerOnTouched(e){this.onTouched=e}setDisabledState(e){this.disabled=e,this._changeDetector.markForCheck()}}return n.\u0275fac=function(e){return new(e||n)(M(Gn))},n.\u0275dir=rt({type:n,inputs:{color:"color",name:"name",labelPosition:"labelPosition",value:"value",selected:"selected",disabled:"disabled",required:"required"},outputs:{change:"change"}}),n})(),mP=(()=>{class n extends lJ{}return n.\u0275fac=function(){let t;return function(i){return(t||(t=Hn(n)))(i||n)}}(),n.\u0275dir=rt({type:n,selectors:[["mat-radio-group"]],contentQueries:function(e,i,r){if(1&e&&Pn(r,fP,5),2&e){let s;Et(s=Ct())&&(i._radios=s)}},hostAttrs:["role","radiogroup",1,"mat-radio-group"],exportAs:["matRadioGroup"],features:[tn([aJ,{provide:pP,useExisting:n}]),It]}),n})();class cJ{constructor(t){this._elementRef=t}}const uJ=to(nc(cJ));let dJ=(()=>{class n extends uJ{constructor(e,i,r,s,o,a,l,h){super(i),this._changeDetector=r,this._focusMonitor=s,this._radioDispatcher=o,this._providerOverride=l,this._uniqueId="mat-radio-"+ ++dP,this.id=this._uniqueId,this.change=new Yt,this._checked=!1,this._value=null,this._removeUniqueSelectionListener=()=>{},this.radioGroup=e,this._noopAnimations="NoopAnimations"===a,h&&(this.tabIndex=Ai(h,0)),this._removeUniqueSelectionListener=o.listen((f,D)=>{f!==this.id&&D===this.name&&(this.checked=!1)})}get checked(){return this._checked}set checked(e){const i=nn(e);this._checked!==i&&(this._checked=i,i&&this.radioGroup&&this.radioGroup.value!==this.value?this.radioGroup.selected=this:!i&&this.radioGroup&&this.radioGroup.value===this.value&&(this.radioGroup.selected=null),i&&this._radioDispatcher.notify(this.id,this.name),this._changeDetector.markForCheck())}get value(){return this._value}set value(e){this._value!==e&&(this._value=e,null!==this.radioGroup&&(this.checked||(this.checked=this.radioGroup.value===e),this.checked&&(this.radioGroup.selected=this)))}get labelPosition(){return this._labelPosition||this.radioGroup&&this.radioGroup.labelPosition||"after"}set labelPosition(e){this._labelPosition=e}get disabled(){return this._disabled||null!==this.radioGroup&&this.radioGroup.disabled}set disabled(e){this._setDisabled(nn(e))}get required(){return this._required||this.radioGroup&&this.radioGroup.required}set required(e){this._required=nn(e)}get color(){return this._color||this.radioGroup&&this.radioGroup.color||this._providerOverride&&this._providerOverride.color||"accent"}set color(e){this._color=e}get inputId(){return`${this.id||this._uniqueId}-input`}focus(e,i){i?this._focusMonitor.focusVia(this._inputElement,i,e):this._inputElement.nativeElement.focus(e)}_markForCheck(){this._changeDetector.markForCheck()}ngOnInit(){this.radioGroup&&(this.checked=this.radioGroup.value===this._value,this.checked&&(this.radioGroup.selected=this),this.name=this.radioGroup.name)}ngDoCheck(){this._updateTabIndex()}ngAfterViewInit(){this._updateTabIndex(),this._focusMonitor.monitor(this._elementRef,!0).subscribe(e=>{!e&&this.radioGroup&&this.radioGroup._touch()})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._removeUniqueSelectionListener()}_emitChangeEvent(){this.change.emit(new hP(this,this._value))}_isRippleDisabled(){return this.disableRipple||this.disabled}_onInputClick(e){e.stopPropagation()}_onInputInteraction(e){if(e.stopPropagation(),!this.checked&&!this.disabled){const i=this.radioGroup&&this.value!==this.radioGroup.value;this.checked=!0,this._emitChangeEvent(),this.radioGroup&&(this.radioGroup._controlValueAccessorChangeFn(this.value),i&&this.radioGroup._emitChangeEvent())}}_setDisabled(e){this._disabled!==e&&(this._disabled=e,this._changeDetector.markForCheck())}_updateTabIndex(){var e;const i=this.radioGroup;let r;if(r=i&&i.selected&&!this.disabled?i.selected===this?this.tabIndex:-1:this.tabIndex,r!==this._previousTabIndex){const s=null===(e=this._inputElement)||void 0===e?void 0:e.nativeElement;s&&(s.setAttribute("tabindex",r+""),this._previousTabIndex=r)}}}return n.\u0275fac=function(e){Ja()},n.\u0275dir=rt({type:n,viewQuery:function(e,i){if(1&e&&hn(nJ,5),2&e){let r;Et(r=Ct())&&(i._inputElement=r.first)}},inputs:{id:"id",name:"name",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],ariaDescribedby:["aria-describedby","ariaDescribedby"],checked:"checked",value:"value",labelPosition:"labelPosition",disabled:"disabled",required:"required",color:"color"},outputs:{change:"change"},features:[It]}),n})(),fP=(()=>{class n extends dJ{constructor(e,i,r,s,o,a,l,h){super(e,i,r,s,o,a,l,h)}}return n.\u0275fac=function(e){return new(e||n)(M(pP,8),M(Zt),M(Gn),M(Ns),M(RD),M(Zi,8),M(sJ,8),_r("tabindex"))},n.\u0275cmp=At({type:n,selectors:[["mat-radio-button"]],hostAttrs:[1,"mat-radio-button"],hostVars:17,hostBindings:function(e,i){1&e&&tt("focus",function(){return i._inputElement.nativeElement.focus()}),2&e&&(dn("tabindex",null)("id",i.id)("aria-label",null)("aria-labelledby",null)("aria-describedby",null),Cn("mat-radio-checked",i.checked)("mat-radio-disabled",i.disabled)("_mat-animation-noopable",i._noopAnimations)("mat-primary","primary"===i.color)("mat-accent","accent"===i.color)("mat-warn","warn"===i.color))},inputs:{disableRipple:"disableRipple",tabIndex:"tabIndex"},exportAs:["matRadioButton"],features:[It],ngContentSelectors:rJ,decls:13,vars:19,consts:[[1,"mat-radio-label"],["label",""],[1,"mat-radio-container"],[1,"mat-radio-outer-circle"],[1,"mat-radio-inner-circle"],["type","radio",1,"mat-radio-input",3,"id","checked","disabled","required","change","click"],["input",""],["mat-ripple","",1,"mat-radio-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleCentered","matRippleRadius","matRippleAnimation"],[1,"mat-ripple-element","mat-radio-persistent-ripple"],[1,"mat-radio-label-content"],[2,"display","none"]],template:function(e,i){if(1&e&&(yi(),x(0,"label",0,1)(2,"span",2),wt(3,"span",3)(4,"span",4),x(5,"input",5,6),tt("change",function(s){return i._onInputInteraction(s)})("click",function(s){return i._onInputClick(s)}),O(),x(7,"span",7),wt(8,"span",8),O()(),x(9,"span",9)(10,"span",10),Me(11,"\xa0"),O(),Sn(12),O()()),2&e){const r=ki(1);dn("for",i.inputId),j(5),H("id",i.inputId)("checked",i.checked)("disabled",i.disabled)("required",i.required),dn("name",i.name)("value",i.value)("aria-label",i.ariaLabel)("aria-labelledby",i.ariaLabelledby)("aria-describedby",i.ariaDescribedby),j(2),H("matRippleTrigger",r)("matRippleDisabled",i._isRippleDisabled())("matRippleCentered",!0)("matRippleRadius",20)("matRippleAnimation",$o(17,iJ,i._noopAnimations?0:150)),j(2),Cn("mat-radio-label-before","before"==i.labelPosition)}},directives:[no],styles:[".mat-radio-button{display:inline-block;-webkit-tap-highlight-color:transparent;outline:0}.mat-radio-label{-webkit-user-select:none;user-select:none;cursor:pointer;display:inline-flex;align-items:center;white-space:nowrap;vertical-align:middle;width:100%}.mat-radio-container{box-sizing:border-box;display:inline-block;position:relative;width:20px;height:20px;flex-shrink:0}.mat-radio-outer-circle{box-sizing:border-box;display:block;height:20px;left:0;position:absolute;top:0;transition:border-color ease 280ms;width:20px;border-width:2px;border-style:solid;border-radius:50%}._mat-animation-noopable .mat-radio-outer-circle{transition:none}.mat-radio-inner-circle{border-radius:50%;box-sizing:border-box;display:block;height:20px;left:0;position:absolute;top:0;opacity:0;transition:transform ease 280ms,background-color ease 280ms,opacity linear 1ms 280ms;width:20px;transform:scale(0.001);-webkit-print-color-adjust:exact;color-adjust:exact}.mat-radio-checked .mat-radio-inner-circle{transform:scale(0.5);opacity:1;transition:transform ease 280ms,background-color ease 280ms}.cdk-high-contrast-active .mat-radio-checked .mat-radio-inner-circle{border:solid 10px}._mat-animation-noopable .mat-radio-inner-circle{transition:none}.mat-radio-label-content{-webkit-user-select:auto;user-select:auto;display:inline-block;order:0;line-height:inherit;padding-left:8px;padding-right:0}[dir=rtl] .mat-radio-label-content{padding-right:8px;padding-left:0}.mat-radio-label-content.mat-radio-label-before{order:-1;padding-left:0;padding-right:8px}[dir=rtl] .mat-radio-label-content.mat-radio-label-before{padding-right:0;padding-left:8px}.mat-radio-disabled,.mat-radio-disabled .mat-radio-label{cursor:default}.mat-radio-button .mat-radio-ripple{position:absolute;left:calc(50% - 20px);top:calc(50% - 20px);height:40px;width:40px;z-index:1;pointer-events:none}.mat-radio-button .mat-radio-ripple .mat-ripple-element:not(.mat-radio-persistent-ripple){opacity:.16}.mat-radio-persistent-ripple{width:100%;height:100%;transform:none;top:0;left:0}.mat-radio-container:hover .mat-radio-persistent-ripple{opacity:.04}.mat-radio-button:not(.mat-radio-disabled).cdk-keyboard-focused .mat-radio-persistent-ripple,.mat-radio-button:not(.mat-radio-disabled).cdk-program-focused .mat-radio-persistent-ripple{opacity:.12}.mat-radio-persistent-ripple,.mat-radio-disabled .mat-radio-container:hover .mat-radio-persistent-ripple{opacity:0}@media(hover: none){.mat-radio-container:hover .mat-radio-persistent-ripple{display:none}}.mat-radio-input{opacity:0;position:absolute;top:0;left:0;margin:0;width:100%;height:100%;cursor:inherit;z-index:-1}.cdk-high-contrast-active .mat-radio-button:not(.mat-radio-disabled).cdk-keyboard-focused .mat-radio-ripple,.cdk-high-contrast-active .mat-radio-button:not(.mat-radio-disabled).cdk-program-focused .mat-radio-ripple{outline:solid 3px}.cdk-high-contrast-active .mat-radio-disabled{opacity:.5}\n"],encapsulation:2,changeDetection:0}),n})(),hJ=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Ht({type:n}),n.\u0275inj=He({imports:[[sa,mn],mn]}),n})(),mJ=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Ht({type:n}),n.\u0275inj=He({imports:[[di,mn,ja],ja,mn]}),n})(),CJ=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Ht({type:n}),n.\u0275inj=He({imports:[[di,mn],mn]}),n})();const TJ=["thumbContainer"],SJ=["toggleBar"],kJ=["input"],xJ=function(n){return{enterDuration:n}},IJ=["*"],AJ=new pt("mat-slide-toggle-default-options",{providedIn:"root",factory:()=>({disableToggleValue:!1})});let RJ=0;const LJ={provide:Br,useExisting:Dt(()=>M0),multi:!0};class OJ{constructor(t,e){this.source=t,this.checked=e}}const PJ=nc(Ya(to(eo(class{constructor(n){this._elementRef=n}}))));let M0=(()=>{class n extends PJ{constructor(e,i,r,s,o,a){super(e),this._focusMonitor=i,this._changeDetectorRef=r,this.defaults=o,this._onChange=l=>{},this._onTouched=()=>{},this._uniqueId="mat-slide-toggle-"+ ++RJ,this._required=!1,this._checked=!1,this.name=null,this.id=this._uniqueId,this.labelPosition="after",this.ariaLabel=null,this.ariaLabelledby=null,this.change=new Yt,this.toggleChange=new Yt,this.tabIndex=parseInt(s)||0,this.color=this.defaultColor=o.color||"accent",this._noopAnimations="NoopAnimations"===a}get required(){return this._required}set required(e){this._required=nn(e)}get checked(){return this._checked}set checked(e){this._checked=nn(e),this._changeDetectorRef.markForCheck()}get inputId(){return`${this.id||this._uniqueId}-input`}ngAfterContentInit(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(e=>{e||Promise.resolve().then(()=>this._onTouched())})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}_onChangeEvent(e){e.stopPropagation(),this.toggleChange.emit(),this.defaults.disableToggleValue?this._inputElement.nativeElement.checked=this.checked:(this.checked=this._inputElement.nativeElement.checked,this._emitChangeEvent())}_onInputClick(e){e.stopPropagation()}writeValue(e){this.checked=!!e}registerOnChange(e){this._onChange=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this.disabled=e,this._changeDetectorRef.markForCheck()}focus(e,i){i?this._focusMonitor.focusVia(this._inputElement,i,e):this._inputElement.nativeElement.focus(e)}toggle(){this.checked=!this.checked,this._onChange(this.checked)}_emitChangeEvent(){this._onChange(this.checked),this.change.emit(new OJ(this,this.checked))}_onLabelTextChange(){this._changeDetectorRef.detectChanges()}}return n.\u0275fac=function(e){return new(e||n)(M(Zt),M(Ns),M(Gn),_r("tabindex"),M(AJ),M(Zi,8))},n.\u0275cmp=At({type:n,selectors:[["mat-slide-toggle"]],viewQuery:function(e,i){if(1&e&&(hn(TJ,5),hn(SJ,5),hn(kJ,5)),2&e){let r;Et(r=Ct())&&(i._thumbEl=r.first),Et(r=Ct())&&(i._thumbBarEl=r.first),Et(r=Ct())&&(i._inputElement=r.first)}},hostAttrs:[1,"mat-slide-toggle"],hostVars:13,hostBindings:function(e,i){2&e&&(go("id",i.id),dn("tabindex",null)("aria-label",null)("aria-labelledby",null)("name",null),Cn("mat-checked",i.checked)("mat-disabled",i.disabled)("mat-slide-toggle-label-before","before"==i.labelPosition)("_mat-animation-noopable",i._noopAnimations))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex",name:"name",id:"id",labelPosition:"labelPosition",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],ariaDescribedby:["aria-describedby","ariaDescribedby"],required:"required",checked:"checked"},outputs:{change:"change",toggleChange:"toggleChange"},exportAs:["matSlideToggle"],features:[tn([LJ]),It],ngContentSelectors:IJ,decls:16,vars:20,consts:[[1,"mat-slide-toggle-label"],["label",""],[1,"mat-slide-toggle-bar"],["toggleBar",""],["type","checkbox","role","switch",1,"mat-slide-toggle-input","cdk-visually-hidden",3,"id","required","tabIndex","checked","disabled","change","click"],["input",""],[1,"mat-slide-toggle-thumb-container"],["thumbContainer",""],[1,"mat-slide-toggle-thumb"],["mat-ripple","",1,"mat-slide-toggle-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleCentered","matRippleRadius","matRippleAnimation"],[1,"mat-ripple-element","mat-slide-toggle-persistent-ripple"],[1,"mat-slide-toggle-content",3,"cdkObserveContent"],["labelContent",""],[2,"display","none"]],template:function(e,i){if(1&e&&(yi(),x(0,"label",0,1)(2,"span",2,3)(4,"input",4,5),tt("change",function(s){return i._onChangeEvent(s)})("click",function(s){return i._onInputClick(s)}),O(),x(6,"span",6,7),wt(8,"span",8),x(9,"span",9),wt(10,"span",10),O()()(),x(11,"span",11,12),tt("cdkObserveContent",function(){return i._onLabelTextChange()}),x(13,"span",13),Me(14,"\xa0"),O(),Sn(15),O()()),2&e){const r=ki(1),s=ki(12);dn("for",i.inputId),j(2),Cn("mat-slide-toggle-bar-no-side-margin",!s.textContent||!s.textContent.trim()),j(2),H("id",i.inputId)("required",i.required)("tabIndex",i.tabIndex)("checked",i.checked)("disabled",i.disabled),dn("name",i.name)("aria-checked",i.checked)("aria-label",i.ariaLabel)("aria-labelledby",i.ariaLabelledby)("aria-describedby",i.ariaDescribedby),j(5),H("matRippleTrigger",r)("matRippleDisabled",i.disableRipple||i.disabled)("matRippleCentered",!0)("matRippleRadius",20)("matRippleAnimation",$o(18,xJ,i._noopAnimations?0:150))}},directives:[no,m_],styles:[".mat-slide-toggle{display:inline-block;height:24px;max-width:100%;line-height:24px;white-space:nowrap;outline:none;-webkit-tap-highlight-color:transparent}.mat-slide-toggle.mat-checked .mat-slide-toggle-thumb-container{transform:translate3d(16px, 0, 0)}[dir=rtl] .mat-slide-toggle.mat-checked .mat-slide-toggle-thumb-container{transform:translate3d(-16px, 0, 0)}.mat-slide-toggle.mat-disabled{opacity:.38}.mat-slide-toggle.mat-disabled .mat-slide-toggle-label,.mat-slide-toggle.mat-disabled .mat-slide-toggle-thumb-container{cursor:default}.mat-slide-toggle-label{-webkit-user-select:none;user-select:none;display:flex;flex:1;flex-direction:row;align-items:center;height:inherit;cursor:pointer}.mat-slide-toggle-content{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mat-slide-toggle-label-before .mat-slide-toggle-label{order:1}.mat-slide-toggle-label-before .mat-slide-toggle-bar{order:2}[dir=rtl] .mat-slide-toggle-label-before .mat-slide-toggle-bar,.mat-slide-toggle-bar{margin-right:8px;margin-left:0}[dir=rtl] .mat-slide-toggle-bar,.mat-slide-toggle-label-before .mat-slide-toggle-bar{margin-left:8px;margin-right:0}.mat-slide-toggle-bar-no-side-margin{margin-left:0;margin-right:0}.mat-slide-toggle-thumb-container{position:absolute;z-index:1;width:20px;height:20px;top:-3px;left:0;transform:translate3d(0, 0, 0);transition:all 80ms linear;transition-property:transform}._mat-animation-noopable .mat-slide-toggle-thumb-container{transition:none}[dir=rtl] .mat-slide-toggle-thumb-container{left:auto;right:0}.mat-slide-toggle-thumb{height:20px;width:20px;border-radius:50%;display:block}.mat-slide-toggle-bar{position:relative;width:36px;height:14px;flex-shrink:0;border-radius:8px}.mat-slide-toggle-input{bottom:0;left:10px}[dir=rtl] .mat-slide-toggle-input{left:auto;right:10px}.mat-slide-toggle-bar,.mat-slide-toggle-thumb{transition:all 80ms linear;transition-property:background-color;transition-delay:50ms}._mat-animation-noopable .mat-slide-toggle-bar,._mat-animation-noopable .mat-slide-toggle-thumb{transition:none}.mat-slide-toggle .mat-slide-toggle-ripple{position:absolute;top:calc(50% - 20px);left:calc(50% - 20px);height:40px;width:40px;z-index:1;pointer-events:none}.mat-slide-toggle .mat-slide-toggle-ripple .mat-ripple-element:not(.mat-slide-toggle-persistent-ripple){opacity:.12}.mat-slide-toggle-persistent-ripple{width:100%;height:100%;transform:none}.mat-slide-toggle-bar:hover .mat-slide-toggle-persistent-ripple{opacity:.04}.mat-slide-toggle:not(.mat-disabled).cdk-keyboard-focused .mat-slide-toggle-persistent-ripple{opacity:.12}.mat-slide-toggle-persistent-ripple,.mat-slide-toggle.mat-disabled .mat-slide-toggle-bar:hover .mat-slide-toggle-persistent-ripple{opacity:0}@media(hover: none){.mat-slide-toggle-bar:hover .mat-slide-toggle-persistent-ripple{display:none}}.cdk-high-contrast-active .mat-slide-toggle-thumb,.cdk-high-contrast-active .mat-slide-toggle-bar{border:1px solid}.cdk-high-contrast-active .mat-slide-toggle.cdk-keyboard-focused .mat-slide-toggle-bar{outline:2px dotted;outline-offset:5px}\n"],encapsulation:2,changeDetection:0}),n})(),yP=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Ht({type:n}),n.\u0275inj=He({}),n})(),jJ=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Ht({type:n}),n.\u0275inj=He({imports:[[yP,sa,mn,Bp],yP,mn]}),n})();function BJ(n,t){if(1&n){const e=on();x(0,"div",2)(1,"button",3),tt("click",function(){return zt(e),Ce().action()}),Me(2),O()()}if(2&n){const e=Ce();j(2),vi(e.data.action)}}function YJ(n,t){}const rm=new pt("MatSnackBarData");class oy{constructor(){this.politeness="assertive",this.announcementMessage="",this.duration=0,this.data=null,this.horizontalPosition="center",this.verticalPosition="bottom"}}const HJ=Math.pow(2,31)-1;class sm{constructor(t,e){this._overlayRef=e,this._afterDismissed=new K,this._afterOpened=new K,this._onAction=new K,this._dismissedByAction=!1,this.containerInstance=t,t._onExit.subscribe(()=>this._finishDismiss())}dismiss(){this._afterDismissed.closed||this.containerInstance.exit(),clearTimeout(this._durationTimeoutId)}dismissWithAction(){this._onAction.closed||(this._dismissedByAction=!0,this._onAction.next(),this._onAction.complete(),this.dismiss()),clearTimeout(this._durationTimeoutId)}closeWithAction(){this.dismissWithAction()}_dismissAfter(t){this._durationTimeoutId=setTimeout(()=>this.dismiss(),Math.min(t,HJ))}_open(){this._afterOpened.closed||(this._afterOpened.next(),this._afterOpened.complete())}_finishDismiss(){this._overlayRef.dispose(),this._onAction.closed||this._onAction.complete(),this._afterDismissed.next({dismissedByAction:this._dismissedByAction}),this._afterDismissed.complete(),this._dismissedByAction=!1}afterDismissed(){return this._afterDismissed}afterOpened(){return this.containerInstance._onEnter}onAction(){return this._onAction}}let VJ=(()=>{class n{constructor(e,i){this.snackBarRef=e,this.data=i}action(){this.snackBarRef.dismissWithAction()}get hasAction(){return!!this.data.action}}return n.\u0275fac=function(e){return new(e||n)(M(sm),M(rm))},n.\u0275cmp=At({type:n,selectors:[["simple-snack-bar"]],hostAttrs:[1,"mat-simple-snackbar"],decls:3,vars:2,consts:[[1,"mat-simple-snack-bar-content"],["class","mat-simple-snackbar-action",4,"ngIf"],[1,"mat-simple-snackbar-action"],["mat-button","",3,"click"]],template:function(e,i){1&e&&(x(0,"span",0),Me(1),O(),Ae(2,BJ,3,1,"div",1)),2&e&&(j(1),vi(i.data.message),j(1),H("ngIf",i.hasAction))},directives:[bi,ai],styles:[".mat-simple-snackbar{display:flex;justify-content:space-between;align-items:center;line-height:20px;opacity:1}.mat-simple-snackbar-action{flex-shrink:0;margin:-8px -8px -8px 8px}.mat-simple-snackbar-action button{max-height:36px;min-width:0}[dir=rtl] .mat-simple-snackbar-action{margin-left:-8px;margin-right:8px}.mat-simple-snack-bar-content{overflow:hidden;text-overflow:ellipsis}\n"],encapsulation:2,changeDetection:0}),n})();const qJ={snackBarState:Ki("state",[qn("void, hidden",ln({transform:"scale(0.8)",opacity:0})),qn("visible",ln({transform:"scale(1)",opacity:1})),Zn("* => visible",ti("150ms cubic-bezier(0, 0, 0.2, 1)")),Zn("* => void, * => hidden",ti("75ms cubic-bezier(0.4, 0.0, 1, 1)",ln({opacity:0})))])};let UJ=(()=>{class n extends q_{constructor(e,i,r,s,o){super(),this._ngZone=e,this._elementRef=i,this._changeDetectorRef=r,this._platform=s,this.snackBarConfig=o,this._announceDelay=150,this._destroyed=!1,this._onAnnounce=new K,this._onExit=new K,this._onEnter=new K,this._animationState="void",this.attachDomPortal=a=>(this._assertNotAttached(),this._applySnackBarClasses(),this._portalOutlet.attachDomPortal(a)),this._live="assertive"!==o.politeness||o.announcementMessage?"off"===o.politeness?"off":"polite":"assertive",this._platform.FIREFOX&&("polite"===this._live&&(this._role="status"),"assertive"===this._live&&(this._role="alert"))}attachComponentPortal(e){return this._assertNotAttached(),this._applySnackBarClasses(),this._portalOutlet.attachComponentPortal(e)}attachTemplatePortal(e){return this._assertNotAttached(),this._applySnackBarClasses(),this._portalOutlet.attachTemplatePortal(e)}onAnimationEnd(e){const{fromState:i,toState:r}=e;if(("void"===r&&"void"!==i||"hidden"===r)&&this._completeExit(),"visible"===r){const s=this._onEnter;this._ngZone.run(()=>{s.next(),s.complete()})}}enter(){this._destroyed||(this._animationState="visible",this._changeDetectorRef.detectChanges(),this._screenReaderAnnounce())}exit(){return this._ngZone.run(()=>{this._animationState="hidden",this._elementRef.nativeElement.setAttribute("mat-exit",""),clearTimeout(this._announceTimeoutId)}),this._onExit}ngOnDestroy(){this._destroyed=!0,this._completeExit()}_completeExit(){this._ngZone.onMicrotaskEmpty.pipe(Ii(1)).subscribe(()=>{this._ngZone.run(()=>{this._onExit.next(),this._onExit.complete()})})}_applySnackBarClasses(){const e=this._elementRef.nativeElement,i=this.snackBarConfig.panelClass;i&&(Array.isArray(i)?i.forEach(r=>e.classList.add(r)):e.classList.add(i)),"center"===this.snackBarConfig.horizontalPosition&&e.classList.add("mat-snack-bar-center"),"top"===this.snackBarConfig.verticalPosition&&e.classList.add("mat-snack-bar-top")}_assertNotAttached(){this._portalOutlet.hasAttached()}_screenReaderAnnounce(){this._announceTimeoutId||this._ngZone.runOutsideAngular(()=>{this._announceTimeoutId=setTimeout(()=>{const e=this._elementRef.nativeElement.querySelector("[aria-hidden]"),i=this._elementRef.nativeElement.querySelector("[aria-live]");if(e&&i){let r=null;this._platform.isBrowser&&document.activeElement instanceof HTMLElement&&e.contains(document.activeElement)&&(r=document.activeElement),e.removeAttribute("aria-hidden"),i.appendChild(e),null==r||r.focus(),this._onAnnounce.next(),this._onAnnounce.complete()}},this._announceDelay)})}}return n.\u0275fac=function(e){return new(e||n)(M(yn),M(Zt),M(Gn),M(zi),M(oy))},n.\u0275cmp=At({type:n,selectors:[["snack-bar-container"]],viewQuery:function(e,i){if(1&e&&hn(rc,7),2&e){let r;Et(r=Ct())&&(i._portalOutlet=r.first)}},hostAttrs:[1,"mat-snack-bar-container"],hostVars:1,hostBindings:function(e,i){1&e&&vf("@state.done",function(s){return i.onAnimationEnd(s)}),2&e&&wf("@state",i._animationState)},features:[It],decls:3,vars:2,consts:[["aria-hidden","true"],["cdkPortalOutlet",""]],template:function(e,i){1&e&&(x(0,"div",0),Ae(1,YJ,0,0,"ng-template",1),O(),wt(2,"div")),2&e&&(j(2),dn("aria-live",i._live)("role",i._role))},directives:[rc],styles:[".mat-snack-bar-container{border-radius:4px;box-sizing:border-box;display:block;margin:24px;max-width:33vw;min-width:344px;padding:14px 16px;min-height:48px;transform-origin:center}.cdk-high-contrast-active .mat-snack-bar-container{border:solid 1px}.mat-snack-bar-handset{width:100%}.mat-snack-bar-handset .mat-snack-bar-container{margin:8px;max-width:100%;min-width:0;width:100%}\n"],encapsulation:2,data:{animation:[qJ.snackBarState]}}),n})(),vP=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Ht({type:n}),n.\u0275inj=He({imports:[[oc,sc,di,Bd,mn],mn]}),n})();const bP=new pt("mat-snack-bar-default-options",{providedIn:"root",factory:function zJ(){return new oy}});let GJ=(()=>{class n{constructor(e,i,r,s,o,a){this._overlay=e,this._live=i,this._injector=r,this._breakpointObserver=s,this._parentSnackBar=o,this._defaultConfig=a,this._snackBarRefAtThisLevel=null}get _openedSnackBarRef(){const e=this._parentSnackBar;return e?e._openedSnackBarRef:this._snackBarRefAtThisLevel}set _openedSnackBarRef(e){this._parentSnackBar?this._parentSnackBar._openedSnackBarRef=e:this._snackBarRefAtThisLevel=e}openFromComponent(e,i){return this._attach(e,i)}openFromTemplate(e,i){return this._attach(e,i)}open(e,i="",r){const s=Object.assign(Object.assign({},this._defaultConfig),r);return s.data={message:e,action:i},s.announcementMessage===e&&(s.announcementMessage=void 0),this.openFromComponent(this.simpleSnackBarComponent,s)}dismiss(){this._openedSnackBarRef&&this._openedSnackBarRef.dismiss()}ngOnDestroy(){this._snackBarRefAtThisLevel&&this._snackBarRefAtThisLevel.dismiss()}_attachSnackBarContainer(e,i){const s=qi.create({parent:i&&i.viewContainerRef&&i.viewContainerRef.injector||this._injector,providers:[{provide:oy,useValue:i}]}),o=new Nd(this.snackBarContainerComponent,i.viewContainerRef,s),a=e.attach(o);return a.instance.snackBarConfig=i,a.instance}_attach(e,i){const r=Object.assign(Object.assign(Object.assign({},new oy),this._defaultConfig),i),s=this._createOverlay(r),o=this._attachSnackBarContainer(s,r),a=new sm(o,s);if(e instanceof Wi){const l=new ic(e,null,{$implicit:r.data,snackBarRef:a});a.instance=o.attachTemplatePortal(l)}else{const l=this._createInjector(r,a),h=new Nd(e,void 0,l),f=o.attachComponentPortal(h);a.instance=f.instance}return this._breakpointObserver.observe("(max-width: 599.98px) and (orientation: portrait)").pipe(vn(s.detachments())).subscribe(l=>{s.overlayElement.classList.toggle(this.handsetCssClass,l.matches)}),r.announcementMessage&&o._onAnnounce.subscribe(()=>{this._live.announce(r.announcementMessage,r.politeness)}),this._animateSnackBar(a,r),this._openedSnackBarRef=a,this._openedSnackBarRef}_animateSnackBar(e,i){e.afterDismissed().subscribe(()=>{this._openedSnackBarRef==e&&(this._openedSnackBarRef=null),i.announcementMessage&&this._live.clear()}),this._openedSnackBarRef?(this._openedSnackBarRef.afterDismissed().subscribe(()=>{e.containerInstance.enter()}),this._openedSnackBarRef.dismiss()):e.containerInstance.enter(),i.duration&&i.duration>0&&e.afterOpened().subscribe(()=>e._dismissAfter(i.duration))}_createOverlay(e){const i=new jd;i.direction=e.direction;let r=this._overlay.position().global();const s="rtl"===e.direction,o="left"===e.horizontalPosition||"start"===e.horizontalPosition&&!s||"end"===e.horizontalPosition&&s,a=!o&&"center"!==e.horizontalPosition;return o?r.left("0"):a?r.right("0"):r.centerHorizontally(),"top"===e.verticalPosition?r.top("0"):r.bottom("0"),i.positionStrategy=r,this._overlay.create(i)}_createInjector(e,i){return qi.create({parent:e&&e.viewContainerRef&&e.viewContainerRef.injector||this._injector,providers:[{provide:sm,useValue:i},{provide:rm,useValue:e.data}]})}}return n.\u0275fac=function(e){return new(e||n)(Se(Ds),Se(Hp),Se(qi),Se(_0),Se(n,12),Se(bP))},n.\u0275prov=De({token:n,factory:n.\u0275fac}),n})(),wP=(()=>{class n extends GJ{constructor(e,i,r,s,o,a){super(e,i,r,s,o,a),this.simpleSnackBarComponent=VJ,this.snackBarContainerComponent=UJ,this.handsetCssClass="mat-snack-bar-handset"}}return n.\u0275fac=function(e){return new(e||n)(Se(Ds),Se(Hp),Se(qi),Se(_0),Se(n,12),Se(bP))},n.\u0275prov=De({token:n,factory:n.\u0275fac,providedIn:vP}),n})();const $J=["mat-sort-header",""];function WJ(n,t){if(1&n){const e=on();x(0,"div",3),tt("@arrowPosition.start",function(){return zt(e),Ce()._disableViewStateAnimation=!0})("@arrowPosition.done",function(){return zt(e),Ce()._disableViewStateAnimation=!1}),wt(1,"div",4),x(2,"div",5),wt(3,"div",6)(4,"div",7)(5,"div",8),O()()}if(2&n){const e=Ce();H("@arrowOpacity",e._getArrowViewState())("@arrowPosition",e._getArrowViewState())("@allowChildren",e._getArrowDirectionState()),j(2),H("@indicator",e._getArrowDirectionState()),j(1),H("@leftPointer",e._getArrowDirectionState()),j(1),H("@rightPointer",e._getArrowDirectionState())}}const QJ=["*"],cc=WD.ENTERING+" "+$D.STANDARD_CURVE,Ud={indicator:Ki("indicator",[qn("active-asc, asc",ln({transform:"translateY(0px)"})),qn("active-desc, desc",ln({transform:"translateY(10px)"})),Zn("active-asc <=> active-desc",ti(cc))]),leftPointer:Ki("leftPointer",[qn("active-asc, asc",ln({transform:"rotate(-45deg)"})),qn("active-desc, desc",ln({transform:"rotate(45deg)"})),Zn("active-asc <=> active-desc",ti(cc))]),rightPointer:Ki("rightPointer",[qn("active-asc, asc",ln({transform:"rotate(45deg)"})),qn("active-desc, desc",ln({transform:"rotate(-45deg)"})),Zn("active-asc <=> active-desc",ti(cc))]),arrowOpacity:Ki("arrowOpacity",[qn("desc-to-active, asc-to-active, active",ln({opacity:1})),qn("desc-to-hint, asc-to-hint, hint",ln({opacity:.54})),qn("hint-to-desc, active-to-desc, desc, hint-to-asc, active-to-asc, asc, void",ln({opacity:0})),Zn("* => asc, * => desc, * => active, * => hint, * => void",ti("0ms")),Zn("* <=> *",ti(cc))]),arrowPosition:Ki("arrowPosition",[Zn("* => desc-to-hint, * => desc-to-active",ti(cc,Vc([ln({transform:"translateY(-25%)"}),ln({transform:"translateY(0)"})]))),Zn("* => hint-to-desc, * => active-to-desc",ti(cc,Vc([ln({transform:"translateY(0)"}),ln({transform:"translateY(25%)"})]))),Zn("* => asc-to-hint, * => asc-to-active",ti(cc,Vc([ln({transform:"translateY(25%)"}),ln({transform:"translateY(0)"})]))),Zn("* => hint-to-asc, * => active-to-asc",ti(cc,Vc([ln({transform:"translateY(0)"}),ln({transform:"translateY(-25%)"})]))),qn("desc-to-hint, asc-to-hint, hint, desc-to-active, asc-to-active, active",ln({transform:"translateY(0)"})),qn("hint-to-desc, active-to-desc, desc",ln({transform:"translateY(-25%)"})),qn("hint-to-asc, active-to-asc, asc",ln({transform:"translateY(25%)"}))]),allowChildren:Ki("allowChildren",[Zn("* <=> *",[gd("@*",fd(),{optional:!0})])])};let ay=(()=>{class n{constructor(){this.changes=new K}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=De({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const ZJ={provide:ay,deps:[[new yr,new mo,ay]],useFactory:function KJ(n){return n||new ay}},XJ=new pt("MAT_SORT_DEFAULT_OPTIONS"),JJ=TL(eo(class{}));let D0=(()=>{class n extends JJ{constructor(e){super(),this._defaultOptions=e,this.sortables=new Map,this._stateChanges=new K,this.start="asc",this._direction="",this.sortChange=new Yt}get direction(){return this._direction}set direction(e){this._direction=e}get disableClear(){return this._disableClear}set disableClear(e){this._disableClear=nn(e)}register(e){this.sortables.set(e.id,e)}deregister(e){this.sortables.delete(e.id)}sort(e){this.active!=e.id?(this.active=e.id,this.direction=e.start?e.start:this.start):this.direction=this.getNextSortDirection(e),this.sortChange.emit({active:this.active,direction:this.direction})}getNextSortDirection(e){var i,r,s;if(!e)return"";const o=null!==(r=null!==(i=null==e?void 0:e.disableClear)&&void 0!==i?i:this.disableClear)&&void 0!==r?r:!!(null===(s=this._defaultOptions)||void 0===s?void 0:s.disableClear);let a=function eee(n,t){let e=["asc","desc"];return"desc"==n&&e.reverse(),t||e.push(""),e}(e.start||this.start,o),l=a.indexOf(this.direction)+1;return l>=a.length&&(l=0),a[l]}ngOnInit(){this._markInitialized()}ngOnChanges(){this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete()}}return n.\u0275fac=function(e){return new(e||n)(M(XJ,8))},n.\u0275dir=rt({type:n,selectors:[["","matSort",""]],hostAttrs:[1,"mat-sort"],inputs:{disabled:["matSortDisabled","disabled"],active:["matSortActive","active"],start:["matSortStart","start"],direction:["matSortDirection","direction"],disableClear:["matSortDisableClear","disableClear"]},outputs:{sortChange:"matSortChange"},exportAs:["matSort"],features:[It,Jn]}),n})();const tee=eo(class{});let nee=(()=>{class n extends tee{constructor(e,i,r,s,o,a,l){super(),this._intl=e,this._changeDetectorRef=i,this._sort=r,this._columnDef=s,this._focusMonitor=o,this._elementRef=a,this._ariaDescriber=l,this._showIndicatorHint=!1,this._viewState={},this._arrowDirection="",this._disableViewStateAnimation=!1,this.arrowPosition="after",this._sortActionDescription="Sort",this._handleStateChanges()}get sortActionDescription(){return this._sortActionDescription}set sortActionDescription(e){this._updateSortActionDescription(e)}get disableClear(){return this._disableClear}set disableClear(e){this._disableClear=nn(e)}ngOnInit(){!this.id&&this._columnDef&&(this.id=this._columnDef.name),this._updateArrowDirection(),this._setAnimationTransitionState({toState:this._isSorted()?"active":this._arrowDirection}),this._sort.register(this),this._sortButton=this._elementRef.nativeElement.querySelector(".mat-sort-header-container"),this._updateSortActionDescription(this._sortActionDescription)}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(e=>{const i=!!e;i!==this._showIndicatorHint&&(this._setIndicatorHintVisible(i),this._changeDetectorRef.markForCheck())})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._sort.deregister(this),this._rerenderSubscription.unsubscribe()}_setIndicatorHintVisible(e){this._isDisabled()&&e||(this._showIndicatorHint=e,this._isSorted()||(this._updateArrowDirection(),this._setAnimationTransitionState(this._showIndicatorHint?{fromState:this._arrowDirection,toState:"hint"}:{fromState:"hint",toState:this._arrowDirection})))}_setAnimationTransitionState(e){this._viewState=e||{},this._disableViewStateAnimation&&(this._viewState={toState:e.toState})}_toggleOnInteraction(){this._sort.sort(this),("hint"===this._viewState.toState||"active"===this._viewState.toState)&&(this._disableViewStateAnimation=!0)}_handleClick(){this._isDisabled()||this._sort.sort(this)}_handleKeydown(e){!this._isDisabled()&&(32===e.keyCode||13===e.keyCode)&&(e.preventDefault(),this._toggleOnInteraction())}_isSorted(){return this._sort.active==this.id&&("asc"===this._sort.direction||"desc"===this._sort.direction)}_getArrowDirectionState(){return`${this._isSorted()?"active-":""}${this._arrowDirection}`}_getArrowViewState(){const e=this._viewState.fromState;return(e?`${e}-to-`:"")+this._viewState.toState}_updateArrowDirection(){this._arrowDirection=this._isSorted()?this._sort.direction:this.start||this._sort.start}_isDisabled(){return this._sort.disabled||this.disabled}_getAriaSortAttribute(){return this._isSorted()?"asc"==this._sort.direction?"ascending":"descending":"none"}_renderArrow(){return!this._isDisabled()||this._isSorted()}_updateSortActionDescription(e){var i,r;this._sortButton&&(null===(i=this._ariaDescriber)||void 0===i||i.removeDescription(this._sortButton,this._sortActionDescription),null===(r=this._ariaDescriber)||void 0===r||r.describe(this._sortButton,e)),this._sortActionDescription=e}_handleStateChanges(){this._rerenderSubscription=at(this._sort.sortChange,this._sort._stateChanges,this._intl.changes).subscribe(()=>{this._isSorted()&&(this._updateArrowDirection(),("hint"===this._viewState.toState||"active"===this._viewState.toState)&&(this._disableViewStateAnimation=!0),this._setAnimationTransitionState({fromState:this._arrowDirection,toState:"active"}),this._showIndicatorHint=!1),!this._isSorted()&&this._viewState&&"active"===this._viewState.toState&&(this._disableViewStateAnimation=!1,this._setAnimationTransitionState({fromState:"active",toState:this._arrowDirection})),this._changeDetectorRef.markForCheck()})}}return n.\u0275fac=function(e){return new(e||n)(M(ay),M(Gn),M(D0,8),M("MAT_SORT_HEADER_COLUMN_DEF",8),M(Ns),M(Zt),M(jR,8))},n.\u0275cmp=At({type:n,selectors:[["","mat-sort-header",""]],hostAttrs:[1,"mat-sort-header"],hostVars:3,hostBindings:function(e,i){1&e&&tt("click",function(){return i._handleClick()})("keydown",function(s){return i._handleKeydown(s)})("mouseenter",function(){return i._setIndicatorHintVisible(!0)})("mouseleave",function(){return i._setIndicatorHintVisible(!1)}),2&e&&(dn("aria-sort",i._getAriaSortAttribute()),Cn("mat-sort-header-disabled",i._isDisabled()))},inputs:{disabled:"disabled",id:["mat-sort-header","id"],arrowPosition:"arrowPosition",start:"start",sortActionDescription:"sortActionDescription",disableClear:"disableClear"},exportAs:["matSortHeader"],features:[It],attrs:$J,ngContentSelectors:QJ,decls:4,vars:7,consts:[[1,"mat-sort-header-container","mat-focus-indicator"],[1,"mat-sort-header-content"],["class","mat-sort-header-arrow",4,"ngIf"],[1,"mat-sort-header-arrow"],[1,"mat-sort-header-stem"],[1,"mat-sort-header-indicator"],[1,"mat-sort-header-pointer-left"],[1,"mat-sort-header-pointer-right"],[1,"mat-sort-header-pointer-middle"]],template:function(e,i){1&e&&(yi(),x(0,"div",0)(1,"div",1),Sn(2),O(),Ae(3,WJ,6,6,"div",2),O()),2&e&&(Cn("mat-sort-header-sorted",i._isSorted())("mat-sort-header-position-before","before"==i.arrowPosition),dn("tabindex",i._isDisabled()?null:0)("role",i._isDisabled()?null:"button"),j(3),H("ngIf",i._renderArrow()))},directives:[ai],styles:[".mat-sort-header-container{display:flex;cursor:pointer;align-items:center;letter-spacing:normal;outline:0}[mat-sort-header].cdk-keyboard-focused .mat-sort-header-container,[mat-sort-header].cdk-program-focused .mat-sort-header-container{border-bottom:solid 1px currentColor}.mat-sort-header-disabled .mat-sort-header-container{cursor:default}.mat-sort-header-content{text-align:center;display:flex;align-items:center}.mat-sort-header-position-before{flex-direction:row-reverse}.mat-sort-header-arrow{height:12px;width:12px;min-width:12px;position:relative;display:flex;opacity:0}.mat-sort-header-arrow,[dir=rtl] .mat-sort-header-position-before .mat-sort-header-arrow{margin:0 0 0 6px}.mat-sort-header-position-before .mat-sort-header-arrow,[dir=rtl] .mat-sort-header-arrow{margin:0 6px 0 0}.mat-sort-header-stem{background:currentColor;height:10px;width:2px;margin:auto;display:flex;align-items:center}.cdk-high-contrast-active .mat-sort-header-stem{width:0;border-left:solid 2px}.mat-sort-header-indicator{width:100%;height:2px;display:flex;align-items:center;position:absolute;top:0;left:0}.mat-sort-header-pointer-middle{margin:auto;height:2px;width:2px;background:currentColor;transform:rotate(45deg)}.cdk-high-contrast-active .mat-sort-header-pointer-middle{width:0;height:0;border-top:solid 2px;border-left:solid 2px}.mat-sort-header-pointer-left,.mat-sort-header-pointer-right{background:currentColor;width:6px;height:2px;position:absolute;top:0}.cdk-high-contrast-active .mat-sort-header-pointer-left,.cdk-high-contrast-active .mat-sort-header-pointer-right{width:0;height:0;border-left:solid 6px;border-top:solid 2px}.mat-sort-header-pointer-left{transform-origin:right;left:0}.mat-sort-header-pointer-right{transform-origin:left;right:0}\n"],encapsulation:2,data:{animation:[Ud.indicator,Ud.leftPointer,Ud.rightPointer,Ud.arrowOpacity,Ud.arrowPosition,Ud.allowChildren]},changeDetection:0}),n})(),iee=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Ht({type:n}),n.\u0275inj=He({providers:[ZJ],imports:[[di,mn]]}),n})();const ree=[[["caption"]],[["colgroup"],["col"]]],see=["caption","colgroup, col"];let MP=(()=>{class n extends F_{constructor(){super(...arguments),this.stickyCssClass="mat-table-sticky",this.needsPositionStickyOnElement=!1}}return n.\u0275fac=function(){let t;return function(i){return(t||(t=Hn(n)))(i||n)}}(),n.\u0275cmp=At({type:n,selectors:[["mat-table"],["table","mat-table",""]],hostAttrs:[1,"mat-table"],hostVars:2,hostBindings:function(e,i){2&e&&Cn("mat-table-fixed-layout",i.fixedLayout)},exportAs:["matTable"],features:[tn([{provide:Gp,useClass:fL},{provide:F_,useExisting:n},{provide:Ld,useExisting:n},{provide:jD,useClass:vL},{provide:qD,useValue:null}]),It],ngContentSelectors:see,decls:6,vars:0,consts:[["headerRowOutlet",""],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(e,i){1&e&&(yi(ree),Sn(0),Sn(1,1),ys(2,0)(3,1)(4,2)(5,3))},directives:[L_,R_,P_,O_],styles:["mat-table{display:block}mat-header-row{min-height:56px}mat-row,mat-footer-row{min-height:48px}mat-row,mat-header-row,mat-footer-row{display:flex;border-width:0;border-bottom-width:1px;border-style:solid;align-items:center;box-sizing:border-box}mat-cell:first-of-type,mat-header-cell:first-of-type,mat-footer-cell:first-of-type{padding-left:24px}[dir=rtl] mat-cell:first-of-type:not(:only-of-type),[dir=rtl] mat-header-cell:first-of-type:not(:only-of-type),[dir=rtl] mat-footer-cell:first-of-type:not(:only-of-type){padding-left:0;padding-right:24px}mat-cell:last-of-type,mat-header-cell:last-of-type,mat-footer-cell:last-of-type{padding-right:24px}[dir=rtl] mat-cell:last-of-type:not(:only-of-type),[dir=rtl] mat-header-cell:last-of-type:not(:only-of-type),[dir=rtl] mat-footer-cell:last-of-type:not(:only-of-type){padding-right:0;padding-left:24px}mat-cell,mat-header-cell,mat-footer-cell{flex:1;display:flex;align-items:center;overflow:hidden;word-wrap:break-word;min-height:inherit}table.mat-table{border-spacing:0}tr.mat-header-row{height:56px}tr.mat-row,tr.mat-footer-row{height:48px}th.mat-header-cell{text-align:left}[dir=rtl] th.mat-header-cell{text-align:right}th.mat-header-cell,td.mat-cell,td.mat-footer-cell{padding:0;border-bottom-width:1px;border-bottom-style:solid}th.mat-header-cell:first-of-type,td.mat-cell:first-of-type,td.mat-footer-cell:first-of-type{padding-left:24px}[dir=rtl] th.mat-header-cell:first-of-type:not(:only-of-type),[dir=rtl] td.mat-cell:first-of-type:not(:only-of-type),[dir=rtl] td.mat-footer-cell:first-of-type:not(:only-of-type){padding-left:0;padding-right:24px}th.mat-header-cell:last-of-type,td.mat-cell:last-of-type,td.mat-footer-cell:last-of-type{padding-right:24px}[dir=rtl] th.mat-header-cell:last-of-type:not(:only-of-type),[dir=rtl] td.mat-cell:last-of-type:not(:only-of-type),[dir=rtl] td.mat-footer-cell:last-of-type:not(:only-of-type){padding-right:0;padding-left:24px}.mat-table-sticky{position:sticky !important}.mat-table-fixed-layout{table-layout:fixed}\n"],encapsulation:2}),n})(),E0=(()=>{class n extends Od{}return n.\u0275fac=function(){let t;return function(i){return(t||(t=Hn(n)))(i||n)}}(),n.\u0275dir=rt({type:n,selectors:[["","matCellDef",""]],features:[tn([{provide:Od,useExisting:n}]),It]}),n})(),C0=(()=>{class n extends Pd{}return n.\u0275fac=function(){let t;return function(i){return(t||(t=Hn(n)))(i||n)}}(),n.\u0275dir=rt({type:n,selectors:[["","matHeaderCellDef",""]],features:[tn([{provide:Pd,useExisting:n}]),It]}),n})(),T0=(()=>{class n extends hl{get name(){return this._name}set name(e){this._setNameInput(e)}_updateColumnCssClassName(){super._updateColumnCssClassName(),this._columnCssClassName.push(`mat-column-${this.cssClassFriendlyName}`)}}return n.\u0275fac=function(){let t;return function(i){return(t||(t=Hn(n)))(i||n)}}(),n.\u0275dir=rt({type:n,selectors:[["","matColumnDef",""]],inputs:{sticky:"sticky",name:["matColumnDef","name"]},features:[tn([{provide:hl,useExisting:n},{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:n}]),It]}),n})(),S0=(()=>{class n extends FD{}return n.\u0275fac=function(){let t;return function(i){return(t||(t=Hn(n)))(i||n)}}(),n.\u0275dir=rt({type:n,selectors:[["mat-header-cell"],["th","mat-header-cell",""]],hostAttrs:["role","columnheader",1,"mat-header-cell"],features:[It]}),n})(),k0=(()=>{class n extends ND{}return n.\u0275fac=function(){let t;return function(i){return(t||(t=Hn(n)))(i||n)}}(),n.\u0275dir=rt({type:n,selectors:[["mat-cell"],["td","mat-cell",""]],hostAttrs:["role","gridcell",1,"mat-cell"],features:[It]}),n})(),DP=(()=>{class n extends $p{}return n.\u0275fac=function(){let t;return function(i){return(t||(t=Hn(n)))(i||n)}}(),n.\u0275dir=rt({type:n,selectors:[["","matHeaderRowDef",""]],inputs:{columns:["matHeaderRowDef","columns"],sticky:["matHeaderRowDefSticky","sticky"]},features:[tn([{provide:$p,useExisting:n}]),It]}),n})(),EP=(()=>{class n extends I_{}return n.\u0275fac=function(){let t;return function(i){return(t||(t=Hn(n)))(i||n)}}(),n.\u0275dir=rt({type:n,selectors:[["","matRowDef",""]],inputs:{columns:["matRowDefColumns","columns"],when:["matRowDefWhen","when"]},features:[tn([{provide:I_,useExisting:n}]),It]}),n})(),CP=(()=>{class n extends YD{}return n.\u0275fac=function(){let t;return function(i){return(t||(t=Hn(n)))(i||n)}}(),n.\u0275cmp=At({type:n,selectors:[["mat-header-row"],["tr","mat-header-row",""]],hostAttrs:["role","row",1,"mat-header-row"],exportAs:["matHeaderRow"],features:[tn([{provide:YD,useExisting:n}]),It],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(e,i){1&e&&ys(0,0)},directives:[pl],encapsulation:2}),n})(),TP=(()=>{class n extends VD{}return n.\u0275fac=function(){let t;return function(i){return(t||(t=Hn(n)))(i||n)}}(),n.\u0275cmp=At({type:n,selectors:[["mat-row"],["tr","mat-row",""]],hostAttrs:["role","row",1,"mat-row"],exportAs:["matRow"],features:[tn([{provide:VD,useExisting:n}]),It],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(e,i){1&e&&ys(0,0)},directives:[pl],encapsulation:2}),n})(),fee=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Ht({type:n}),n.\u0275inj=He({imports:[[ML,mn],mn]}),n})();function _ee(n,t){1&n&&Sn(0)}const SP=["*"];function yee(n,t){}const vee=function(n){return{animationDuration:n}},bee=function(n,t){return{value:n,params:t}},wee=["tabListContainer"],Mee=["tabList"],Dee=["tabListInner"],Eee=["nextPaginator"],Cee=["previousPaginator"],Tee=["tabBodyWrapper"],See=["tabHeader"];function kee(n,t){}function xee(n,t){1&n&&Ae(0,kee,0,0,"ng-template",10),2&n&&H("cdkPortalOutlet",Ce().$implicit.templateLabel)}function Iee(n,t){1&n&&Me(0),2&n&&vi(Ce().$implicit.textLabel)}function Aee(n,t){if(1&n){const e=on();x(0,"div",6),tt("click",function(){const r=zt(e),s=r.$implicit,o=r.index,a=Ce(),l=ki(1);return a._handleClick(s,l,o)})("cdkFocusChange",function(r){const o=zt(e).index;return Ce()._tabFocusChanged(r,o)}),x(1,"div",7),Ae(2,xee,1,1,"ng-template",8),Ae(3,Iee,1,1,"ng-template",null,9,cd),O()()}if(2&n){const e=t.$implicit,i=t.index,r=ki(4),s=Ce();Cn("mat-tab-label-active",s.selectedIndex===i),H("id",s._getTabLabelId(i))("ngClass",e.labelClass)("disabled",e.disabled)("matRippleDisabled",e.disabled||s.disableRipple),dn("tabIndex",s._getTabIndex(e,i))("aria-posinset",i+1)("aria-setsize",s._tabs.length)("aria-controls",s._getTabContentId(i))("aria-selected",s.selectedIndex===i)("aria-label",e.ariaLabel||null)("aria-labelledby",!e.ariaLabel&&e.ariaLabelledby?e.ariaLabelledby:null),j(2),H("ngIf",e.templateLabel)("ngIfElse",r)}}function Ree(n,t){if(1&n){const e=on();x(0,"mat-tab-body",11),tt("_onCentered",function(){return zt(e),Ce()._removeTabBodyWrapperHeight()})("_onCentering",function(r){return zt(e),Ce()._setTabBodyWrapperHeight(r)}),O()}if(2&n){const e=t.$implicit,i=t.index,r=Ce();Cn("mat-tab-body-active",r.selectedIndex===i),H("id",r._getTabContentId(i))("ngClass",e.bodyClass)("content",e.content)("position",e.position)("origin",e.origin)("animationDuration",r.animationDuration),dn("tabindex",null!=r.contentTabIndex&&r.selectedIndex===i?r.contentTabIndex:null)("aria-labelledby",r._getTabLabelId(i))}}const Lee=new pt("MatInkBarPositioner",{providedIn:"root",factory:function Oee(){return t=>({left:t?(t.offsetLeft||0)+"px":"0",width:t?(t.offsetWidth||0)+"px":"0"})}});let kP=(()=>{class n{constructor(e,i,r,s){this._elementRef=e,this._ngZone=i,this._inkBarPositioner=r,this._animationMode=s}alignToElement(e){this.show(),this._ngZone.onStable.pipe(Ii(1)).subscribe(()=>{const i=this._inkBarPositioner(e),r=this._elementRef.nativeElement;r.style.left=i.left,r.style.width=i.width})}show(){this._elementRef.nativeElement.style.visibility="visible"}hide(){this._elementRef.nativeElement.style.visibility="hidden"}}return n.\u0275fac=function(e){return new(e||n)(M(Zt),M(yn),M(Lee),M(Zi,8))},n.\u0275dir=rt({type:n,selectors:[["mat-ink-bar"]],hostAttrs:[1,"mat-ink-bar"],hostVars:2,hostBindings:function(e,i){2&e&&Cn("_mat-animation-noopable","NoopAnimations"===i._animationMode)}}),n})();const Pee=new pt("MatTabContent"),Fee=new pt("MatTabLabel"),Nee=new pt("MAT_TAB"),jee=eo(class{}),xP=new pt("MAT_TAB_GROUP");let om=(()=>{class n extends jee{constructor(e,i){super(),this._viewContainerRef=e,this._closestTabGroup=i,this.textLabel="",this._contentPortal=null,this._stateChanges=new K,this.position=null,this.origin=null,this.isActive=!1}get templateLabel(){return this._templateLabel}set templateLabel(e){this._setTemplateLabelInput(e)}get content(){return this._contentPortal}ngOnChanges(e){(e.hasOwnProperty("textLabel")||e.hasOwnProperty("disabled"))&&this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete()}ngOnInit(){this._contentPortal=new ic(this._explicitContent||this._implicitContent,this._viewContainerRef)}_setTemplateLabelInput(e){e&&e._closestTab===this&&(this._templateLabel=e)}}return n.\u0275fac=function(e){return new(e||n)(M(Si),M(xP,8))},n.\u0275cmp=At({type:n,selectors:[["mat-tab"]],contentQueries:function(e,i,r){if(1&e&&(Pn(r,Fee,5),Pn(r,Pee,7,Wi)),2&e){let s;Et(s=Ct())&&(i.templateLabel=s.first),Et(s=Ct())&&(i._explicitContent=s.first)}},viewQuery:function(e,i){if(1&e&&hn(Wi,7),2&e){let r;Et(r=Ct())&&(i._implicitContent=r.first)}},inputs:{disabled:"disabled",textLabel:["label","textLabel"],ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],labelClass:"labelClass",bodyClass:"bodyClass"},exportAs:["matTab"],features:[tn([{provide:Nee,useExisting:n}]),It,Jn],ngContentSelectors:SP,decls:1,vars:0,template:function(e,i){1&e&&(yi(),Ae(0,_ee,1,0,"ng-template"))},encapsulation:2}),n})();const Bee={translateTab:Ki("translateTab",[qn("center, void, left-origin-center, right-origin-center",ln({transform:"none"})),qn("left",ln({transform:"translate3d(-100%, 0, 0)",minHeight:"1px"})),qn("right",ln({transform:"translate3d(100%, 0, 0)",minHeight:"1px"})),Zn("* => left, * => right, left => center, right => center",ti("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")),Zn("void => left-origin-center",[ln({transform:"translate3d(-100%, 0, 0)"}),ti("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")]),Zn("void => right-origin-center",[ln({transform:"translate3d(100%, 0, 0)"}),ti("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")])])};let Yee=(()=>{class n extends rc{constructor(e,i,r,s){super(e,i,s),this._host=r,this._centeringSub=P.EMPTY,this._leavingSub=P.EMPTY}ngOnInit(){super.ngOnInit(),this._centeringSub=this._host._beforeCentering.pipe(hr(this._host._isCenterPosition(this._host._position))).subscribe(e=>{e&&!this.hasAttached()&&this.attach(this._host._content)}),this._leavingSub=this._host._afterLeavingCenter.subscribe(()=>{this.detach()})}ngOnDestroy(){super.ngOnDestroy(),this._centeringSub.unsubscribe(),this._leavingSub.unsubscribe()}}return n.\u0275fac=function(e){return new(e||n)(M(Hl),M(Si),M(Dt(()=>IP)),M(Dn))},n.\u0275dir=rt({type:n,selectors:[["","matTabBodyHost",""]],features:[It]}),n})(),Hee=(()=>{class n{constructor(e,i,r){this._elementRef=e,this._dir=i,this._dirChangeSubscription=P.EMPTY,this._translateTabComplete=new K,this._onCentering=new Yt,this._beforeCentering=new Yt,this._afterLeavingCenter=new Yt,this._onCentered=new Yt(!0),this.animationDuration="500ms",i&&(this._dirChangeSubscription=i.change.subscribe(s=>{this._computePositionAnimationState(s),r.markForCheck()})),this._translateTabComplete.pipe(p_((s,o)=>s.fromState===o.fromState&&s.toState===o.toState)).subscribe(s=>{this._isCenterPosition(s.toState)&&this._isCenterPosition(this._position)&&this._onCentered.emit(),this._isCenterPosition(s.fromState)&&!this._isCenterPosition(this._position)&&this._afterLeavingCenter.emit()})}set position(e){this._positionIndex=e,this._computePositionAnimationState()}ngOnInit(){"center"==this._position&&null!=this.origin&&(this._position=this._computePositionFromOrigin(this.origin))}ngOnDestroy(){this._dirChangeSubscription.unsubscribe(),this._translateTabComplete.complete()}_onTranslateTabStarted(e){const i=this._isCenterPosition(e.toState);this._beforeCentering.emit(i),i&&this._onCentering.emit(this._elementRef.nativeElement.clientHeight)}_getLayoutDirection(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}_isCenterPosition(e){return"center"==e||"left-origin-center"==e||"right-origin-center"==e}_computePositionAnimationState(e=this._getLayoutDirection()){this._position=this._positionIndex<0?"ltr"==e?"left":"right":this._positionIndex>0?"ltr"==e?"right":"left":"center"}_computePositionFromOrigin(e){const i=this._getLayoutDirection();return"ltr"==i&&e<=0||"rtl"==i&&e>0?"left-origin-center":"right-origin-center"}}return n.\u0275fac=function(e){return new(e||n)(M(Zt),M(Hr,8),M(Gn))},n.\u0275dir=rt({type:n,inputs:{_content:["content","_content"],origin:"origin",animationDuration:"animationDuration",position:"position"},outputs:{_onCentering:"_onCentering",_beforeCentering:"_beforeCentering",_afterLeavingCenter:"_afterLeavingCenter",_onCentered:"_onCentered"}}),n})(),IP=(()=>{class n extends Hee{constructor(e,i,r){super(e,i,r)}}return n.\u0275fac=function(e){return new(e||n)(M(Zt),M(Hr,8),M(Gn))},n.\u0275cmp=At({type:n,selectors:[["mat-tab-body"]],viewQuery:function(e,i){if(1&e&&hn(rc,5),2&e){let r;Et(r=Ct())&&(i._portalHost=r.first)}},hostAttrs:[1,"mat-tab-body"],features:[It],decls:3,vars:6,consts:[["cdkScrollable","",1,"mat-tab-body-content"],["content",""],["matTabBodyHost",""]],template:function(e,i){1&e&&(x(0,"div",0,1),tt("@translateTab.start",function(s){return i._onTranslateTabStarted(s)})("@translateTab.done",function(s){return i._translateTabComplete.next(s)}),Ae(2,yee,0,0,"ng-template",2),O()),2&e&&H("@translateTab",$b(3,bee,i._position,$o(1,vee,i.animationDuration)))},directives:[Yee],styles:['.mat-tab-body-content{height:100%;overflow:auto}.mat-tab-group-dynamic-height .mat-tab-body-content{overflow:hidden}.mat-tab-body-content[style*="visibility: hidden"]{display:none}\n'],encapsulation:2,data:{animation:[Bee.translateTab]}}),n})();const AP=new pt("MAT_TABS_CONFIG"),Vee=eo(class{});let RP=(()=>{class n extends Vee{constructor(e){super(),this.elementRef=e}focus(){this.elementRef.nativeElement.focus()}getOffsetLeft(){return this.elementRef.nativeElement.offsetLeft}getOffsetWidth(){return this.elementRef.nativeElement.offsetWidth}}return n.\u0275fac=function(e){return new(e||n)(M(Zt))},n.\u0275dir=rt({type:n,selectors:[["","matTabLabelWrapper",""]],hostVars:3,hostBindings:function(e,i){2&e&&(dn("aria-disabled",!!i.disabled),Cn("mat-tab-disabled",i.disabled))},inputs:{disabled:"disabled"},features:[It]}),n})();const LP=ia({passive:!0});let zee=(()=>{class n{constructor(e,i,r,s,o,a,l){this._elementRef=e,this._changeDetectorRef=i,this._viewportRuler=r,this._dir=s,this._ngZone=o,this._platform=a,this._animationMode=l,this._scrollDistance=0,this._selectedIndexChanged=!1,this._destroyed=new K,this._showPaginationControls=!1,this._disableScrollAfter=!0,this._disableScrollBefore=!0,this._stopScrolling=new K,this.disablePagination=!1,this._selectedIndex=0,this.selectFocusedIndex=new Yt,this.indexFocused=new Yt,o.runOutsideAngular(()=>{Na(e.nativeElement,"mouseleave").pipe(vn(this._destroyed)).subscribe(()=>{this._stopInterval()})})}get selectedIndex(){return this._selectedIndex}set selectedIndex(e){e=Ai(e),this._selectedIndex!=e&&(this._selectedIndexChanged=!0,this._selectedIndex=e,this._keyManager&&this._keyManager.updateActiveItem(e))}ngAfterViewInit(){Na(this._previousPaginator.nativeElement,"touchstart",LP).pipe(vn(this._destroyed)).subscribe(()=>{this._handlePaginatorPress("before")}),Na(this._nextPaginator.nativeElement,"touchstart",LP).pipe(vn(this._destroyed)).subscribe(()=>{this._handlePaginatorPress("after")})}ngAfterContentInit(){const e=this._dir?this._dir.change:Wt("ltr"),i=this._viewportRuler.change(150),r=()=>{this.updatePagination(),this._alignInkBarToSelectedTab()};this._keyManager=new Yp(this._items).withHorizontalOrientation(this._getLayoutDirection()).withHomeAndEnd().withWrap(),this._keyManager.updateActiveItem(this._selectedIndex),this._ngZone.onStable.pipe(Ii(1)).subscribe(r),at(e,i,this._items.changes,this._itemsResized()).pipe(vn(this._destroyed)).subscribe(()=>{this._ngZone.run(()=>{Promise.resolve().then(()=>{this._scrollDistance=Math.max(0,Math.min(this._getMaxScrollDistance(),this._scrollDistance)),r()})}),this._keyManager.withHorizontalOrientation(this._getLayoutDirection())}),this._keyManager.change.pipe(vn(this._destroyed)).subscribe(s=>{this.indexFocused.emit(s),this._setTabFocus(s)})}_itemsResized(){return"function"!=typeof ResizeObserver?Zo:this._items.changes.pipe(hr(this._items),Jr(e=>new st(i=>this._ngZone.runOutsideAngular(()=>{const r=new ResizeObserver(()=>{i.next()});return e.forEach(s=>{r.observe(s.elementRef.nativeElement)}),()=>{r.disconnect()}}))),wD(1))}ngAfterContentChecked(){this._tabLabelCount!=this._items.length&&(this.updatePagination(),this._tabLabelCount=this._items.length,this._changeDetectorRef.markForCheck()),this._selectedIndexChanged&&(this._scrollToLabel(this._selectedIndex),this._checkScrollingControls(),this._alignInkBarToSelectedTab(),this._selectedIndexChanged=!1,this._changeDetectorRef.markForCheck()),this._scrollDistanceChanged&&(this._updateTabScrollPosition(),this._scrollDistanceChanged=!1,this._changeDetectorRef.markForCheck())}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete(),this._stopScrolling.complete()}_handleKeydown(e){if(!Qr(e))switch(e.keyCode){case 13:case 32:this.focusIndex!==this.selectedIndex&&(this.selectFocusedIndex.emit(this.focusIndex),this._itemSelected(e));break;default:this._keyManager.onKeydown(e)}}_onContentChanges(){const e=this._elementRef.nativeElement.textContent;e!==this._currentTextContent&&(this._currentTextContent=e||"",this._ngZone.run(()=>{this.updatePagination(),this._alignInkBarToSelectedTab(),this._changeDetectorRef.markForCheck()}))}updatePagination(){this._checkPaginationEnabled(),this._checkScrollingControls(),this._updateTabScrollPosition()}get focusIndex(){return this._keyManager?this._keyManager.activeItemIndex:0}set focusIndex(e){!this._isValidIndex(e)||this.focusIndex===e||!this._keyManager||this._keyManager.setActiveItem(e)}_isValidIndex(e){if(!this._items)return!0;const i=this._items?this._items.toArray()[e]:null;return!!i&&!i.disabled}_setTabFocus(e){if(this._showPaginationControls&&this._scrollToLabel(e),this._items&&this._items.length){this._items.toArray()[e].focus();const i=this._tabListContainer.nativeElement;i.scrollLeft="ltr"==this._getLayoutDirection()?0:i.scrollWidth-i.offsetWidth}}_getLayoutDirection(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}_updateTabScrollPosition(){if(this.disablePagination)return;const e=this.scrollDistance,i="ltr"===this._getLayoutDirection()?-e:e;this._tabList.nativeElement.style.transform=`translateX(${Math.round(i)}px)`,(this._platform.TRIDENT||this._platform.EDGE)&&(this._tabListContainer.nativeElement.scrollLeft=0)}get scrollDistance(){return this._scrollDistance}set scrollDistance(e){this._scrollTo(e)}_scrollHeader(e){return this._scrollTo(this._scrollDistance+("before"==e?-1:1)*this._tabListContainer.nativeElement.offsetWidth/3)}_handlePaginatorClick(e){this._stopInterval(),this._scrollHeader(e)}_scrollToLabel(e){if(this.disablePagination)return;const i=this._items?this._items.toArray()[e]:null;if(!i)return;const r=this._tabListContainer.nativeElement.offsetWidth,{offsetLeft:s,offsetWidth:o}=i.elementRef.nativeElement;let a,l;"ltr"==this._getLayoutDirection()?(a=s,l=a+o):(l=this._tabListInner.nativeElement.offsetWidth-s,a=l-o);const h=this.scrollDistance,f=this.scrollDistance+r;af&&(this.scrollDistance+=l-f+60)}_checkPaginationEnabled(){if(this.disablePagination)this._showPaginationControls=!1;else{const e=this._tabListInner.nativeElement.scrollWidth>this._elementRef.nativeElement.offsetWidth;e||(this.scrollDistance=0),e!==this._showPaginationControls&&this._changeDetectorRef.markForCheck(),this._showPaginationControls=e}}_checkScrollingControls(){this.disablePagination?this._disableScrollAfter=this._disableScrollBefore=!0:(this._disableScrollBefore=0==this.scrollDistance,this._disableScrollAfter=this.scrollDistance==this._getMaxScrollDistance(),this._changeDetectorRef.markForCheck())}_getMaxScrollDistance(){return this._tabListInner.nativeElement.scrollWidth-this._tabListContainer.nativeElement.offsetWidth||0}_alignInkBarToSelectedTab(){const e=this._items&&this._items.length?this._items.toArray()[this.selectedIndex]:null,i=e?e.elementRef.nativeElement:null;i?this._inkBar.alignToElement(i):this._inkBar.hide()}_stopInterval(){this._stopScrolling.next()}_handlePaginatorPress(e,i){i&&null!=i.button&&0!==i.button||(this._stopInterval(),M_(650,100).pipe(vn(at(this._stopScrolling,this._destroyed))).subscribe(()=>{const{maxScrollDistance:r,distance:s}=this._scrollHeader(e);(0===s||s>=r)&&this._stopInterval()}))}_scrollTo(e){if(this.disablePagination)return{maxScrollDistance:0,distance:0};const i=this._getMaxScrollDistance();return this._scrollDistance=Math.max(0,Math.min(i,e)),this._scrollDistanceChanged=!0,this._checkScrollingControls(),{maxScrollDistance:i,distance:this._scrollDistance}}}return n.\u0275fac=function(e){return new(e||n)(M(Zt),M(Gn),M(So),M(Hr,8),M(yn),M(zi),M(Zi,8))},n.\u0275dir=rt({type:n,inputs:{disablePagination:"disablePagination"}}),n})(),Gee=(()=>{class n extends zee{constructor(e,i,r,s,o,a,l){super(e,i,r,s,o,a,l),this._disableRipple=!1}get disableRipple(){return this._disableRipple}set disableRipple(e){this._disableRipple=nn(e)}_itemSelected(e){e.preventDefault()}}return n.\u0275fac=function(e){return new(e||n)(M(Zt),M(Gn),M(So),M(Hr,8),M(yn),M(zi),M(Zi,8))},n.\u0275dir=rt({type:n,inputs:{disableRipple:"disableRipple"},features:[It]}),n})(),$ee=(()=>{class n extends Gee{constructor(e,i,r,s,o,a,l){super(e,i,r,s,o,a,l)}}return n.\u0275fac=function(e){return new(e||n)(M(Zt),M(Gn),M(So),M(Hr,8),M(yn),M(zi),M(Zi,8))},n.\u0275cmp=At({type:n,selectors:[["mat-tab-header"]],contentQueries:function(e,i,r){if(1&e&&Pn(r,RP,4),2&e){let s;Et(s=Ct())&&(i._items=s)}},viewQuery:function(e,i){if(1&e&&(hn(kP,7),hn(wee,7),hn(Mee,7),hn(Dee,7),hn(Eee,5),hn(Cee,5)),2&e){let r;Et(r=Ct())&&(i._inkBar=r.first),Et(r=Ct())&&(i._tabListContainer=r.first),Et(r=Ct())&&(i._tabList=r.first),Et(r=Ct())&&(i._tabListInner=r.first),Et(r=Ct())&&(i._nextPaginator=r.first),Et(r=Ct())&&(i._previousPaginator=r.first)}},hostAttrs:[1,"mat-tab-header"],hostVars:4,hostBindings:function(e,i){2&e&&Cn("mat-tab-header-pagination-controls-enabled",i._showPaginationControls)("mat-tab-header-rtl","rtl"==i._getLayoutDirection())},inputs:{selectedIndex:"selectedIndex"},outputs:{selectFocusedIndex:"selectFocusedIndex",indexFocused:"indexFocused"},features:[It],ngContentSelectors:SP,decls:14,vars:10,consts:[["aria-hidden","true","type","button","mat-ripple","","tabindex","-1",1,"mat-tab-header-pagination","mat-tab-header-pagination-before","mat-elevation-z4",3,"matRippleDisabled","disabled","click","mousedown","touchend"],["previousPaginator",""],[1,"mat-tab-header-pagination-chevron"],[1,"mat-tab-label-container",3,"keydown"],["tabListContainer",""],["role","tablist",1,"mat-tab-list",3,"cdkObserveContent"],["tabList",""],[1,"mat-tab-labels"],["tabListInner",""],["aria-hidden","true","type","button","mat-ripple","","tabindex","-1",1,"mat-tab-header-pagination","mat-tab-header-pagination-after","mat-elevation-z4",3,"matRippleDisabled","disabled","mousedown","click","touchend"],["nextPaginator",""]],template:function(e,i){1&e&&(yi(),x(0,"button",0,1),tt("click",function(){return i._handlePaginatorClick("before")})("mousedown",function(s){return i._handlePaginatorPress("before",s)})("touchend",function(){return i._stopInterval()}),wt(2,"div",2),O(),x(3,"div",3,4),tt("keydown",function(s){return i._handleKeydown(s)}),x(5,"div",5,6),tt("cdkObserveContent",function(){return i._onContentChanges()}),x(7,"div",7,8),Sn(9),O(),wt(10,"mat-ink-bar"),O()(),x(11,"button",9,10),tt("mousedown",function(s){return i._handlePaginatorPress("after",s)})("click",function(){return i._handlePaginatorClick("after")})("touchend",function(){return i._stopInterval()}),wt(13,"div",2),O()),2&e&&(Cn("mat-tab-header-pagination-disabled",i._disableScrollBefore),H("matRippleDisabled",i._disableScrollBefore||i.disableRipple)("disabled",i._disableScrollBefore||null),j(5),Cn("_mat-animation-noopable","NoopAnimations"===i._animationMode),j(6),Cn("mat-tab-header-pagination-disabled",i._disableScrollAfter),H("matRippleDisabled",i._disableScrollAfter||i.disableRipple)("disabled",i._disableScrollAfter||null))},directives:[no,m_,kP],styles:[".mat-tab-header{display:flex;overflow:hidden;position:relative;flex-shrink:0}.mat-tab-header-pagination{-webkit-user-select:none;user-select:none;position:relative;display:none;justify-content:center;align-items:center;min-width:32px;cursor:pointer;z-index:2;-webkit-tap-highlight-color:transparent;touch-action:none;box-sizing:content-box;background:none;border:none;outline:0;padding:0}.mat-tab-header-pagination::-moz-focus-inner{border:0}.mat-tab-header-pagination-controls-enabled .mat-tab-header-pagination{display:flex}.mat-tab-header-pagination-before,.mat-tab-header-rtl .mat-tab-header-pagination-after{padding-left:4px}.mat-tab-header-pagination-before .mat-tab-header-pagination-chevron,.mat-tab-header-rtl .mat-tab-header-pagination-after .mat-tab-header-pagination-chevron{transform:rotate(-135deg)}.mat-tab-header-rtl .mat-tab-header-pagination-before,.mat-tab-header-pagination-after{padding-right:4px}.mat-tab-header-rtl .mat-tab-header-pagination-before .mat-tab-header-pagination-chevron,.mat-tab-header-pagination-after .mat-tab-header-pagination-chevron{transform:rotate(45deg)}.mat-tab-header-pagination-chevron{border-style:solid;border-width:2px 2px 0 0;height:8px;width:8px}.mat-tab-header-pagination-disabled{box-shadow:none;cursor:default}.mat-tab-list{flex-grow:1;position:relative;transition:transform 500ms cubic-bezier(0.35, 0, 0.25, 1)}.mat-ink-bar{position:absolute;bottom:0;height:2px;transition:500ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable.mat-ink-bar{transition:none;animation:none}.mat-tab-group-inverted-header .mat-ink-bar{bottom:auto;top:0}.cdk-high-contrast-active .mat-ink-bar{outline:solid 2px;height:0}.mat-tab-labels{display:flex}[mat-align-tabs=center]>.mat-tab-header .mat-tab-labels{justify-content:center}[mat-align-tabs=end]>.mat-tab-header .mat-tab-labels{justify-content:flex-end}.mat-tab-label-container{display:flex;flex-grow:1;overflow:hidden;z-index:1}._mat-animation-noopable.mat-tab-list{transition:none;animation:none}.mat-tab-label{height:48px;padding:0 24px;cursor:pointer;box-sizing:border-box;opacity:.6;min-width:160px;text-align:center;display:inline-flex;justify-content:center;align-items:center;white-space:nowrap;position:relative}.mat-tab-label:focus{outline:none}.mat-tab-label:focus:not(.mat-tab-disabled){opacity:1}.cdk-high-contrast-active .mat-tab-label:focus{outline:dotted 2px;outline-offset:-2px}.mat-tab-label.mat-tab-disabled{cursor:default}.cdk-high-contrast-active .mat-tab-label.mat-tab-disabled{opacity:.5}.mat-tab-label .mat-tab-label-content{display:inline-flex;justify-content:center;align-items:center;white-space:nowrap}.cdk-high-contrast-active .mat-tab-label{opacity:1}@media(max-width: 599px){.mat-tab-label{min-width:72px}}\n"],encapsulation:2}),n})(),Wee=0;class Qee{}const Kee=Ya(to(class{constructor(n){this._elementRef=n}}),"primary");let Zee=(()=>{class n extends Kee{constructor(e,i,r,s){var o;super(e),this._changeDetectorRef=i,this._animationMode=s,this._tabs=new Vl,this._indexToSelect=0,this._lastFocusedTabIndex=null,this._tabBodyWrapperHeight=0,this._tabsSubscription=P.EMPTY,this._tabLabelSubscription=P.EMPTY,this._selectedIndex=null,this.headerPosition="above",this.selectedIndexChange=new Yt,this.focusChange=new Yt,this.animationDone=new Yt,this.selectedTabChange=new Yt(!0),this._groupId=Wee++,this.animationDuration=r&&r.animationDuration?r.animationDuration:"500ms",this.disablePagination=!(!r||null==r.disablePagination)&&r.disablePagination,this.dynamicHeight=!(!r||null==r.dynamicHeight)&&r.dynamicHeight,this.contentTabIndex=null!==(o=null==r?void 0:r.contentTabIndex)&&void 0!==o?o:null}get dynamicHeight(){return this._dynamicHeight}set dynamicHeight(e){this._dynamicHeight=nn(e)}get selectedIndex(){return this._selectedIndex}set selectedIndex(e){this._indexToSelect=Ai(e,null)}get animationDuration(){return this._animationDuration}set animationDuration(e){this._animationDuration=/^\d+$/.test(e+"")?e+"ms":e}get contentTabIndex(){return this._contentTabIndex}set contentTabIndex(e){this._contentTabIndex=Ai(e,null)}get backgroundColor(){return this._backgroundColor}set backgroundColor(e){const i=this._elementRef.nativeElement;i.classList.remove(`mat-background-${this.backgroundColor}`),e&&i.classList.add(`mat-background-${e}`),this._backgroundColor=e}ngAfterContentChecked(){const e=this._indexToSelect=this._clampTabIndex(this._indexToSelect);if(this._selectedIndex!=e){const i=null==this._selectedIndex;if(!i){this.selectedTabChange.emit(this._createChangeEvent(e));const r=this._tabBodyWrapper.nativeElement;r.style.minHeight=r.clientHeight+"px"}Promise.resolve().then(()=>{this._tabs.forEach((r,s)=>r.isActive=s===e),i||(this.selectedIndexChange.emit(e),this._tabBodyWrapper.nativeElement.style.minHeight="")})}this._tabs.forEach((i,r)=>{i.position=r-e,null!=this._selectedIndex&&0==i.position&&!i.origin&&(i.origin=e-this._selectedIndex)}),this._selectedIndex!==e&&(this._selectedIndex=e,this._lastFocusedTabIndex=null,this._changeDetectorRef.markForCheck())}ngAfterContentInit(){this._subscribeToAllTabChanges(),this._subscribeToTabLabels(),this._tabsSubscription=this._tabs.changes.subscribe(()=>{const e=this._clampTabIndex(this._indexToSelect);if(e===this._selectedIndex){const i=this._tabs.toArray();let r;for(let s=0;s{i[e].isActive=!0,this.selectedTabChange.emit(this._createChangeEvent(e))})}this._changeDetectorRef.markForCheck()})}_subscribeToAllTabChanges(){this._allTabs.changes.pipe(hr(this._allTabs)).subscribe(e=>{this._tabs.reset(e.filter(i=>i._closestTabGroup===this||!i._closestTabGroup)),this._tabs.notifyOnChanges()})}ngOnDestroy(){this._tabs.destroy(),this._tabsSubscription.unsubscribe(),this._tabLabelSubscription.unsubscribe()}realignInkBar(){this._tabHeader&&this._tabHeader._alignInkBarToSelectedTab()}updatePagination(){this._tabHeader&&this._tabHeader.updatePagination()}focusTab(e){const i=this._tabHeader;i&&(i.focusIndex=e)}_focusChanged(e){this._lastFocusedTabIndex=e,this.focusChange.emit(this._createChangeEvent(e))}_createChangeEvent(e){const i=new Qee;return i.index=e,this._tabs&&this._tabs.length&&(i.tab=this._tabs.toArray()[e]),i}_subscribeToTabLabels(){this._tabLabelSubscription&&this._tabLabelSubscription.unsubscribe(),this._tabLabelSubscription=at(...this._tabs.map(e=>e._stateChanges)).subscribe(()=>this._changeDetectorRef.markForCheck())}_clampTabIndex(e){return Math.min(this._tabs.length-1,Math.max(e||0,0))}_getTabLabelId(e){return`mat-tab-label-${this._groupId}-${e}`}_getTabContentId(e){return`mat-tab-content-${this._groupId}-${e}`}_setTabBodyWrapperHeight(e){if(!this._dynamicHeight||!this._tabBodyWrapperHeight)return;const i=this._tabBodyWrapper.nativeElement;i.style.height=this._tabBodyWrapperHeight+"px",this._tabBodyWrapper.nativeElement.offsetHeight&&(i.style.height=e+"px")}_removeTabBodyWrapperHeight(){const e=this._tabBodyWrapper.nativeElement;this._tabBodyWrapperHeight=e.clientHeight,e.style.height="",this.animationDone.emit()}_handleClick(e,i,r){e.disabled||(this.selectedIndex=i.focusIndex=r)}_getTabIndex(e,i){var r;return e.disabled?null:i===(null!==(r=this._lastFocusedTabIndex)&&void 0!==r?r:this.selectedIndex)?0:-1}_tabFocusChanged(e,i){e&&"mouse"!==e&&"touch"!==e&&(this._tabHeader.focusIndex=i)}}return n.\u0275fac=function(e){return new(e||n)(M(Zt),M(Gn),M(AP,8),M(Zi,8))},n.\u0275dir=rt({type:n,inputs:{dynamicHeight:"dynamicHeight",selectedIndex:"selectedIndex",headerPosition:"headerPosition",animationDuration:"animationDuration",contentTabIndex:"contentTabIndex",disablePagination:"disablePagination",backgroundColor:"backgroundColor"},outputs:{selectedIndexChange:"selectedIndexChange",focusChange:"focusChange",animationDone:"animationDone",selectedTabChange:"selectedTabChange"},features:[It]}),n})(),ly=(()=>{class n extends Zee{constructor(e,i,r,s){super(e,i,r,s)}}return n.\u0275fac=function(e){return new(e||n)(M(Zt),M(Gn),M(AP,8),M(Zi,8))},n.\u0275cmp=At({type:n,selectors:[["mat-tab-group"]],contentQueries:function(e,i,r){if(1&e&&Pn(r,om,5),2&e){let s;Et(s=Ct())&&(i._allTabs=s)}},viewQuery:function(e,i){if(1&e&&(hn(Tee,5),hn(See,5)),2&e){let r;Et(r=Ct())&&(i._tabBodyWrapper=r.first),Et(r=Ct())&&(i._tabHeader=r.first)}},hostAttrs:[1,"mat-tab-group"],hostVars:4,hostBindings:function(e,i){2&e&&Cn("mat-tab-group-dynamic-height",i.dynamicHeight)("mat-tab-group-inverted-header","below"===i.headerPosition)},inputs:{color:"color",disableRipple:"disableRipple"},exportAs:["matTabGroup"],features:[tn([{provide:xP,useExisting:n}]),It],decls:6,vars:7,consts:[[3,"selectedIndex","disableRipple","disablePagination","indexFocused","selectFocusedIndex"],["tabHeader",""],["class","mat-tab-label mat-focus-indicator","role","tab","matTabLabelWrapper","","mat-ripple","","cdkMonitorElementFocus","",3,"id","mat-tab-label-active","ngClass","disabled","matRippleDisabled","click","cdkFocusChange",4,"ngFor","ngForOf"],[1,"mat-tab-body-wrapper"],["tabBodyWrapper",""],["role","tabpanel",3,"id","mat-tab-body-active","ngClass","content","position","origin","animationDuration","_onCentered","_onCentering",4,"ngFor","ngForOf"],["role","tab","matTabLabelWrapper","","mat-ripple","","cdkMonitorElementFocus","",1,"mat-tab-label","mat-focus-indicator",3,"id","ngClass","disabled","matRippleDisabled","click","cdkFocusChange"],[1,"mat-tab-label-content"],[3,"ngIf","ngIfElse"],["tabTextLabel",""],[3,"cdkPortalOutlet"],["role","tabpanel",3,"id","ngClass","content","position","origin","animationDuration","_onCentered","_onCentering"]],template:function(e,i){1&e&&(x(0,"mat-tab-header",0,1),tt("indexFocused",function(s){return i._focusChanged(s)})("selectFocusedIndex",function(s){return i.selectedIndex=s}),Ae(2,Aee,5,15,"div",2),O(),x(3,"div",3,4),Ae(5,Ree,1,10,"mat-tab-body",5),O()),2&e&&(H("selectedIndex",i.selectedIndex||0)("disableRipple",i.disableRipple)("disablePagination",i.disablePagination),j(2),H("ngForOf",i._tabs),j(1),Cn("_mat-animation-noopable","NoopAnimations"===i._animationMode),j(2),H("ngForOf",i._tabs))},directives:[$ee,IP,jr,RP,no,VW,Hc,ai,rc],styles:[".mat-tab-group{display:flex;flex-direction:column;max-width:100%}.mat-tab-group.mat-tab-group-inverted-header{flex-direction:column-reverse}.mat-tab-label{height:48px;padding:0 24px;cursor:pointer;box-sizing:border-box;opacity:.6;min-width:160px;text-align:center;display:inline-flex;justify-content:center;align-items:center;white-space:nowrap;position:relative}.mat-tab-label:focus{outline:none}.mat-tab-label:focus:not(.mat-tab-disabled){opacity:1}.cdk-high-contrast-active .mat-tab-label:focus{outline:dotted 2px;outline-offset:-2px}.mat-tab-label.mat-tab-disabled{cursor:default}.cdk-high-contrast-active .mat-tab-label.mat-tab-disabled{opacity:.5}.mat-tab-label .mat-tab-label-content{display:inline-flex;justify-content:center;align-items:center;white-space:nowrap}.cdk-high-contrast-active .mat-tab-label{opacity:1}@media(max-width: 599px){.mat-tab-label{padding:0 12px}}@media(max-width: 959px){.mat-tab-label{padding:0 12px}}.mat-tab-group[mat-stretch-tabs]>.mat-tab-header .mat-tab-label{flex-basis:0;flex-grow:1}.mat-tab-body-wrapper{position:relative;overflow:hidden;display:flex;transition:height 500ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable.mat-tab-body-wrapper{transition:none;animation:none}.mat-tab-body{top:0;left:0;right:0;bottom:0;position:absolute;display:block;overflow:hidden;outline:0;flex-basis:100%}.mat-tab-body.mat-tab-body-active{position:relative;overflow-x:hidden;overflow-y:auto;z-index:1;flex-grow:1}.mat-tab-group.mat-tab-group-dynamic-height .mat-tab-body.mat-tab-body-active{overflow-y:hidden}\n"],encapsulation:2}),n})(),Xee=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Ht({type:n}),n.\u0275inj=He({imports:[[di,mn,sc,sa,Bp,b_],mn]}),n})();const Jee=["*",[["mat-toolbar-row"]]],ete=["*","mat-toolbar-row"],tte=Ya(class{constructor(n){this._elementRef=n}});let nte=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=rt({type:n,selectors:[["mat-toolbar-row"]],hostAttrs:[1,"mat-toolbar-row"],exportAs:["matToolbarRow"]}),n})(),ite=(()=>{class n extends tte{constructor(e,i,r){super(e),this._platform=i,this._document=r}ngAfterViewInit(){this._platform.isBrowser&&(this._checkToolbarMixedModes(),this._toolbarRows.changes.subscribe(()=>this._checkToolbarMixedModes()))}_checkToolbarMixedModes(){}}return n.\u0275fac=function(e){return new(e||n)(M(Zt),M(zi),M(Dn))},n.\u0275cmp=At({type:n,selectors:[["mat-toolbar"]],contentQueries:function(e,i,r){if(1&e&&Pn(r,nte,5),2&e){let s;Et(s=Ct())&&(i._toolbarRows=s)}},hostAttrs:[1,"mat-toolbar"],hostVars:4,hostBindings:function(e,i){2&e&&Cn("mat-toolbar-multiple-rows",i._toolbarRows.length>0)("mat-toolbar-single-row",0===i._toolbarRows.length)},inputs:{color:"color"},exportAs:["matToolbar"],features:[It],ngContentSelectors:ete,decls:2,vars:0,template:function(e,i){1&e&&(yi(Jee),Sn(0),Sn(1,1))},styles:[".cdk-high-contrast-active .mat-toolbar{outline:solid 1px}.mat-toolbar-row,.mat-toolbar-single-row{display:flex;box-sizing:border-box;padding:0 16px;width:100%;flex-direction:row;align-items:center;white-space:nowrap}.mat-toolbar-multiple-rows{display:flex;box-sizing:border-box;flex-direction:column;width:100%}\n"],encapsulation:2,changeDetection:0}),n})(),rte=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Ht({type:n}),n.\u0275inj=He({imports:[[mn],mn]}),n})(),hte=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Ht({type:n}),n.\u0275inj=He({imports:[[DL,mn],mn]}),n})(),am=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Ht({type:n}),n.\u0275inj=He({imports:[ML,DL,w9,aQ,lQ,cQ,Bd,wQ,xQ,uO,KQ,vK,qK,tZ,AO,wZ,IZ,l0,CK,$Z,rX,Z9,$X,cP,uP,hJ,sa,nP,mJ,CJ,jJ,vP,iee,fee,Xee,rte,y0,hte,D_]}),n})(),pte=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Ht({type:n}),n.\u0275inj=He({imports:[[di,am]]}),n})(),PP=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Ht({type:n}),n.\u0275inj=He({imports:[[di,am]]}),n})(),js=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Ht({type:n}),n.\u0275inj=He({imports:[[di,kR,l_,Ww,ws,am,PP],di,kR,l_,Ww,ws,am,PP,pte]}),n})();const FP={githubUrl:"https://github.com",accessTokenUrl:"https://catcher-auth.herokuapp.com/authenticate",clientDataUrl:"https://raw.githubusercontent.com/CATcher-org/client_data/master/profiles-dev.json"},mte=w(4147),_te={version:w(4147).version,production:!0,test:!1,clientId:"5e1ed08cff7f0de1d68d",githubUrl:"https://github.com",accessTokenUrl:FP.accessTokenUrl,clientDataUrl:"https://raw.githubusercontent.com/CATcher-org/client_data/master/profiles.json",origin:"https://catcher-org.github.io"},Bs=Object.assign(Object.assign({},_te),{clientId:"54b9dcc49069dc2f018e",origin:"https://catcher-org.github.io"});var NP="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||"undefined"!=typeof msCrypto&&"function"==typeof msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto),yte=new Uint8Array(16);function vte(){if(!NP)throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return NP(yte)}for(var jP=[],cy=0;cy<256;++cy)jP[cy]=(cy+256).toString(16).substr(1);const Dte=function Mte(n,t,e){var i=t&&e||0;"string"==typeof n&&(t="binary"===n?new Array(16):null,n=null);var r=(n=n||{}).random||(n.rng||vte)();if(r[6]=15&r[6]|64,r[8]=63&r[8]|128,t)for(var s=0;s<16;++s)t[i+s]=r[s];return t||function bte(n,t){var e=t||0;return[jP[n[e++]],jP[n[e++]],jP[n[e++]],jP[n[e++]],"-",jP[n[e++]],jP[n[e++]],"-",jP[n[e++]],jP[n[e++]],"-",jP[n[e++]],jP[n[e++]],"-",jP[n[e++]],jP[n[e++]],jP[n[e++]],jP[n[e++]],jP[n[e++]],jP[n[e++]]].join("")}(r)};function uy(){return Dte()}var lm=w(7582);function uu(n,t){return Ot(hi(e=>n(e)),vd(t))}class Ste{constructor(){this.issueLastModified=new Map}get(t){return this.issueLastModified.get(t)||""}set(t,e){this.issueLastModified.set(t,e)}clear(){this.issueLastModified.clear()}}class kte{constructor(){this.issuesCache=[]}getEtagFor(t){const e=this.get(t);let i="";return void 0!==e&&(i=e.headers.etag),i}get(t){return this.issuesCache[t-1]}set(t,e){e.isCached=!0,this.issuesCache[t-1]=e}clear(){this.issuesCache=[]}}function I0(n,t){return n.map(e=>t?t(e.node):e.node)}let Cs=(()=>{class n{constructor(e){Object.assign(this,e),this.isCategorical()?(this.category=this.name.split(".")[0],this.label=this.name.split(".")[1]):(this.category=this.name,this.label=this.name),Object.freeze(this)}getCategory(){return this.category}getValue(){return this.label}getDescription(){return this.description}isCategorical(){return/^[^.]+\.[^.]+$/.test(this.name)}}return n.LABEL_ORDER={severity:{Low:0,Medium:1,High:2},type:{DocumentationBug:0,FunctionalityBug:1}},n.LABELS={severity:"severity",type:"type",response:"response",duplicated:"duplicated",status:"status",unsure:"unsure",pending:"pending",team:"team",tutorial:"tutorial"},n})();class Ts{constructor(t){Object.assign(this,t),this.labels=[];for(const e of t.labels)this.labels.push(new Cs(e))}findLabel(t,e=!0){if(!e){const r=this.labels.find(s=>!s.isCategorical()&&s.name===t);return r?r.getValue():void 0}const i=this.labels.filter(r=>r.isCategorical()&&r.getCategory()===t);if(0!==i.length){if(1===i.length)return i[0].getValue();if(Cs.LABEL_ORDER[t]){const r=Cs.LABEL_ORDER[t];return i.reduce((s,o)=>r[o.getValue()]>r[s.getValue()]?o:s).getValue()}return i[0].getValue()}}findTeamId(){return`${this.findLabel("team")}.${this.findLabel("tutorial")}`}}class A0 extends Ts{constructor(t){super({id:t.id,number:t.number,body:t.body,created_at:String(t.createdAt),updated_at:String(t.updatedAt),url:String(t.url),title:t.title,state:t.state,user:{login:t.author.login,url:t.author.url,avatar_url:t.author.avatarUrl},assignees:I0(t.assignees.edges),labels:I0(t.labels.edges),comments:I0(t.comments.edges,e=>Object.assign(Object.assign({},e),{id:e.databaseId}))})}}const xte=["*"];let BP=(()=>{class n{constructor(e){this.snackBarRef=e}ngOnInit(){}}return n.\u0275fac=function(e){return new(e||n)(M(sm))},n.\u0275cmp=At({type:n,selectors:[["app-toaster"]],ngContentSelectors:xte,decls:6,vars:0,consts:[[1,"toaster"],[1,"message-container"],["mat-button","","color","accent",3,"click"]],template:function(e,i){1&e&&(yi(),x(0,"div",0)(1,"div",1)(2,"p"),Sn(3),O()(),x(4,"button",2),tt("click",function(){return i.snackBarRef.dismiss()}),Me(5,"Close"),O()())},directives:[bi],styles:[".toaster[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between}.message-container[_ngcontent-%COMP%]{vertical-align:middle;flex-basis:80%;overflow-wrap:anywhere}.message-container[_ngcontent-%COMP%] > p[_ngcontent-%COMP%]{margin:auto 5px;text-align:center}button[_ngcontent-%COMP%]{vertical-align:middle;flex-basis:20%;margin:auto 5px;text-align:center}"]}),n})();function Ite(n,t){if(1&n&&(x(0,"div"),Me(1," Validation Error: "),x(2,"ul")(3,"li"),Me(4),O()()()),2&n){const e=t.$implicit;j(4),vi(e.code+" in "+e.field)}}function Ate(n,t){if(1&n&&(x(0,"div"),Ae(1,Ite,5,1,"div",2),O()),2&n){const e=Ce();j(1),H("ngForOf",e.data.errors)}}function Rte(n,t){if(1&n&&Me(0),2&n){const e=Ce();an(" ","Error code "+e.data.status+": "+e.data.message,"\n")}}let Lte=(()=>{class n{constructor(e){this.data=e}}return n.\u0275fac=function(e){return new(e||n)(M(rm))},n.\u0275cmp=At({type:n,selectors:[["app-form-error"]],decls:4,vars:2,consts:[[4,"ngIf","ngIfElse"],["generalMessage",""],[4,"ngFor","ngForOf"]],template:function(e,i){if(1&e&&(x(0,"app-toaster"),Ae(1,Ate,2,1,"div",0),O(),Ae(2,Rte,1,1,"ng-template",null,1,cd)),2&e){const r=ki(3);j(1),H("ngIf",i.data.errors)("ngIfElse",r)}},directives:[BP,ai,jr],encapsulation:2}),n})(),dy=(()=>{class n{constructor(e){this.data=e}}return n.\u0275fac=function(e){return new(e||n)(M(rm))},n.\u0275cmp=At({type:n,selectors:[["app-general-message-error"]],decls:2,vars:1,template:function(e,i){1&e&&(x(0,"app-toaster"),Me(1),O()),2&e&&(j(1),an(" ",i.data.message," "))},directives:[BP],encapsulation:2}),n})();let ts=(()=>{class n{constructor(){this.isInSession=!1,this.LOG_KEY="CATcher-Log",this.LOG_FILE_NAME="CATcher-log.txt",this.LOG_START_HEADER=`====== New CATcher v${Bs.version} Session Log ======`,this.LOG_COUNT_LIMIT=4,this.SESSION_LOG_SEPARATOR="\n".repeat(2),this.logger=console,this.startSession()}reset(){this.isInSession=!1}startSession(){window.opener&&window.opener!==window||this.isInSession||(this.isInSession=!0,this.initializeLogCache())}initializeLogCache(){this.setCachedLog(this.getTrimmedLogCache(this.getCachedLog(),this.LOG_COUNT_LIMIT))}getTrimmedLogCache(e,i){const r=(new Date).toLocaleString(),s=`${this.LOG_START_HEADER}\n${r}`,o=null==e?0:e.split("\n").filter(l=>l.includes(this.LOG_START_HEADER)).length;if(0===o)return s;if(o!!l).map(l=>`${this.LOG_START_HEADER}\n${l.trim()}`);return a.splice(0,a.length-i+1),a.push(`${s}`),a.join(this.SESSION_LOG_SEPARATOR)}getCachedLog(){return localStorage.getItem(this.LOG_KEY)}setCachedLog(e){localStorage.setItem(this.LOG_KEY,e)}updateLog(...e){this.setCachedLog(`${this.getCachedLog()}\n${e.toString()}`)}exportLogFile(){const e=this.getCachedLog();!function Ote(n,t){const e=new Blob([t],{type:"file/txt"}),i=window.URL.createObjectURL(e),r=function Pte(n,t){const e=document.createElement("a");return e.setAttribute("style","display: none;"),e.href=n,e.download=t,e}(i,n);(function Fte(n){document.body.appendChild(n),n.click()})(r),window.URL.revokeObjectURL(i),function Nte(n){document.body.removeChild(n),n.remove()}(r)}(this.LOG_FILE_NAME,e)}info(...e){this.updateLog(e),this.logger.info(e)}error(...e){this.updateLog(e),this.logger.error(e)}warn(...e){this.updateLog(e),this.logger.warn(e)}debug(...e){Bs.production||this.logger.debug(e)}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=De({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const jte=["node_modules"];let Gi=(()=>{class n{constructor(e,i){this.snackBar=e,this.logger=i}handleError(e,i){this.logger.error("ErrorHandlingService: "+e),e instanceof Error&&this.logger.debug("ErrorHandlingService: "+this.cleanStack(e.stack)),e instanceof md||"RequestError"===e.constructor.name?this.handleHttpError(e,i):this.handleGeneralError("string"==typeof e?e:e.message||JSON.stringify(e))}cleanStack(e){return e.split("\n").filter(i=>!jte.some(r=>i.includes(r))).join("\n")}handleHttpError(e,i){if(304!==e.status){if(!navigator.onLine)return void this.handleGeneralError("No Internet Connection");switch(e.status){case 500:case 400:case 401:case 404:this.snackBar.openFromComponent(dy,{data:e});break;case 422:this.snackBar.openFromComponent(Lte,{data:e});break;default:return void this.snackBar.openFromComponent(dy,{data:e})}}}handleGeneralError(e){this.snackBar.openFromComponent(dy,{data:{message:e}})}clearError(){this.snackBar.dismiss()}}return n.\u0275fac=function(e){return new(e||n)(Se(wP),Se(ts))},n.\u0275prov=De({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const{Octokit:YP}=w(8176);let pr="",py="",mr="",my="",sr=new YP,fr=(()=>{class n{constructor(e,i,r){this.errorHandlingService=e,this.apollo=i,this.logger=r,this.issuesCacheManager=new kte,this.issuesLastModifiedManager=new Ste,this.issueQueryRefs=new Map}storeOAuthAccessToken(e){sr=new YP({auth:()=>`Token ${e}`,log:{debug:(i,...r)=>this.logger.debug("GithubService: "+i,...r),info:(i,...r)=>/304 in \d+ms$/.test(i)?void 0:this.logger.info("GithubService: "+i,...r),warn:(i,...r)=>this.logger.warn("GithubService: "+i,...r),error:(i,...r)=>this.logger.error("GithubService: "+i,...r)}})}storeOrganizationDetails(e,i){py=e,my=i}storePhaseDetails(e,i){mr=i,pr=e}fetchIssuesGraphqlByTeam(e,i,r){const s=r.convertToGraphqlFilter();return this.toFetchIssues(r).pipe(hi(o=>o),ue(()=>this.fetchGraphqlList(e6,{owner:pr,name:mr,filter:Object.assign(Object.assign({},s),{labels:[...s.labels?s.labels:[],i]}),tutorial:e},o=>o.data.repository.label.issues.edges,A0)))}fetchIssuesGraphql(e){const i=e.convertToGraphqlFilter();return this.toFetchIssues(e).pipe(hi(r=>r),ue(()=>this.fetchGraphqlList(t6,{owner:pr,name:mr,filter:i},r=>r.data.repository.issues.edges,A0)))}toFetchIssues(e){let i;return this.getIssuesAPICall(e,1).pipe(_e(r=>(i=r,function Cte(n){let t=1;return n.headers.link&&(t=+function Tte(n){return n.split(",").map(t=>t.split(";").map((e,i)=>0===i?/[^_]page=(\d+)/.exec(e)[1]:1===i?/rel="(.+)"/.exec(e)[1]:void 0)).reduce((t,e)=>(t[e[1]]=e[0],t),{})}(n.headers.link).last||1),t}(r))),ue(r=>{const s=[];for(let o=2;o<=r;o++)s.push(this.getIssuesAPICall(e,o));return 0===s.length?Wt([]):Oa(s)}),_e(r=>{const s=[i,...r],o=s.reduce((a,l)=>a&&l.isCached,!0);return s.forEach((a,l)=>this.issuesCacheManager.set(l+1,a)),!o}))}isRepositoryPresent(e,i){return St(sr.repos.get({owner:e,repo:i,headers:n.IF_NONE_MATCH_EMPTY})).pipe(_e(r=>404!==r.status),Ni(r=>Wt(!1)),Ni(r=>Qi("Failed to fetch repo data.")))}createRepository(e){sr.repos.createForAuthenticatedUser({name:e})}createBranch(){return this.getDefaultBranch().pipe(ue(e=>this.getBranchHeadInfo(e)),_e(e=>e.data.object.sha),ue(e=>this.createBranchFromCommit(e)),ue(()=>this.isMainBranchPresent()),uu(e=>e,()=>new Error("Unable to create main branch.")))}createBranchFromCommit(e){return St(sr.git.createRef({owner:pr,repo:mr,ref:"refs/heads/main",sha:e}))}getDefaultBranch(){return St(sr.repos.get({owner:pr,repo:mr})).pipe(_e(e=>e.data.default_branch))}getBranchHeadInfo(e){return St(sr.git.getRef({owner:pr,repo:mr,ref:`heads/${e}`}))}isMainBranchPresent(){return St(sr.git.getRef({owner:pr,repo:mr,ref:"heads/main"})).pipe(_e(e=>404!==e.status),Ni(()=>Wt(!1)))}fetchIssueGraphql(e){if(void 0===this.issueQueryRefs.get(e)){const r=this.apollo.watchQuery({query:J8,variables:{owner:pr,name:mr,issueId:e}});this.issueQueryRefs.set(e,r)}const i=this.issueQueryRefs.get(e);return this.toFetchIssue(e).pipe(hi(r=>r),ue(()=>St(i.refetch())),_e(r=>new A0(r.data.repository.issue)),vd(()=>new md({status:304})))}toFetchIssue(e){return St(sr.issues.get({owner:pr,repo:mr,issue_number:e,headers:{"If-Modified-Since":this.issuesLastModifiedManager.get(e)}})).pipe(_e(i=>(this.issuesLastModifiedManager.set(e,i.headers["last-modified"]),!0)),Ni(i=>Qi("Failed to fetch issue.")))}fetchAllLabels(){return this.fetchGraphqlList(n6,{owner:pr,name:mr},i=>i.data.repository.labels.edges,Cs).pipe(Ni(i=>Qi("Failed to fetch labels.")))}createLabel(e,i){sr.issues.createLabel({owner:pr,repo:mr,name:e,color:i})}updateLabel(e,i){sr.issues.updateLabel({owner:pr,repo:mr,name:e,current_name:e,color:i})}closeIssue(e){return St(sr.issues.update({owner:pr,repo:mr,issue_number:e,state:"closed"})).pipe(_e(i=>(this.issuesLastModifiedManager.set(e,i.headers["last-modified"]),new Ts(i.data))))}reopenIssue(e){return St(sr.issues.update({owner:pr,repo:mr,issue_number:e,state:"open"})).pipe(_e(i=>(this.issuesLastModifiedManager.set(e,i.headers["last-modified"]),new Ts(i.data))))}createIssue(e,i,r){return St(sr.issues.create({owner:pr,repo:mr,title:e,body:i,labels:r})).pipe(_e(s=>new Ts(s.data)))}createIssueComment(e,i){return St(sr.issues.createComment({owner:pr,repo:mr,issue_number:e,body:i})).pipe(_e(r=>r.data))}updateIssue(e,i,r,s,o){return St(sr.issues.update({owner:pr,repo:mr,issue_number:e,title:i,body:r,labels:s,assignees:o})).pipe(_e(a=>(this.issuesLastModifiedManager.set(e,a.headers["last-modified"]),new Ts(a.data))),Ni(a=>Qi(a)))}updateIssueComment(e){return St(sr.issues.updateComment({owner:pr,repo:mr,comment_id:e.id,body:e.description})).pipe(_e(i=>i.data))}uploadFile(e,i){return St(sr.repos.createOrUpdateFile({owner:pr,repo:mr,branch:"main",path:`files/${e}`,message:"upload file",content:i}))}fetchEventsForRepo(){return St(sr.issues.listEventsForRepo({owner:pr,repo:mr,headers:n.IF_NONE_MATCH_EMPTY})).pipe(_e(e=>e.data),Ni(e=>Qi("Failed to fetch events for repo.")))}fetchDataFile(){return St(sr.repos.getContents({owner:py,repo:my,path:"data.csv",headers:n.IF_NONE_MATCH_EMPTY})).pipe(_e(e=>({data:atob(e.data.content)})),Ni(e=>Qi("Failed to fetch data file.")))}fetchLatestRelease(){return St(sr.repos.getLatestRelease({owner:"CATcher-org",repo:"CATcher",headers:n.IF_NONE_MATCH_EMPTY})).pipe(_e(e=>e.data),Ni(e=>Qi("Failed to fetch latest release.")))}fetchSettingsFromRawUrl(){return St(fetch(function qte(n,t){return`https://raw.githubusercontent.com/${n}/${t}/master/settings.json`}(py,my))).pipe(ue(e=>e.json()),Ni(e=>Qi("Failed to fetch settings file.")))}fetchSettingsFile(){return St(sr.repos.getContents({owner:py,repo:my,path:"settings.json",headers:n.IF_NONE_MATCH_EMPTY})).pipe(_e(e=>JSON.parse(atob(e.data.content))),Ni(e=>(this.logger.error("GithubService: Failed to fetch settings file via REST API. Trying to fetch using raw.githubusercontent.com: ",e),this.fetchSettingsFromRawUrl())))}fetchAuthenticatedUser(){return St(sr.users.getAuthenticated()).pipe(_e(e=>e.data),Ni(e=>Qi("Failed to fetch authenticated user.")))}getRepoURL(){return pr.concat("/").concat(mr)}viewIssueInBrowser(e,i){e?window.open("https://github.com/".concat(this.getRepoURL()).concat("/issues/").concat(String(e))):this.errorHandlingService.handleError(new Error("Unable to open this issue in Browser")),i.stopPropagation()}reset(){this.logger.info("GithubService: Resetting issues cache"),this.issuesCacheManager.clear(),this.issuesLastModifiedManager.clear(),this.issueQueryRefs.clear()}getProfilesData(){return fetch(Bs.clientDataUrl)}getIssuesAPICall(e,i){return St(sr.issues.listForRepo(Object.assign(Object.assign({},e),{owner:pr,repo:mr,sort:"created",direction:"desc",per_page:100,page:i,headers:{"If-None-Match":this.issuesCacheManager.getEtagFor(i)}}))).pipe(Ni(o=>Wt(this.issuesCacheManager.get(i))))}fetchGraphqlList(e,i,r,s){return St(this.withPagination(r)(e,i)).pipe(_e(o=>o.reduce((l,h)=>l.concat(r(h)),[]).map(l=>new s(l.node))),vd(()=>new md({status:304})))}withPagination(e){return(i,r={})=>(0,lm.mG)(this,void 0,void 0,function*(){const s=r.cursor||null;return this.apollo.watchQuery({query:i,variables:Object.assign(Object.assign({},r),{cursor:s})}).refetch().then(a=>(0,lm.mG)(this,void 0,void 0,function*(){const l=Array.isArray(a)?a:[a],h=e(a),f=0===h.length?null:h[h.length-1].cursor;if(h.length<100||!f)return l;const D=yield this.withPagination(e)(i,Object.assign(Object.assign({},r),{cursor:f}));return l.concat(D)}))})}}return n.IF_NONE_MATCH_EMPTY={"If-None-Match":""},n.\u0275fac=function(e){return new(e||n)(Se(Gi),Se(Hg),Se(ts))},n.\u0275prov=De({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();class zd{constructor(t){Object.assign(this,t)}get tutorialClassId(){const[t,e]=this.id.split("-");return`${t}-${e}`}get teamId(){return this.id.split("-")[2]}}var An=(()=>(function(n){n.Admin="Admin",n.Tutor="Tutor",n.Student="Student"}(An||(An={})),An))();let Li=(()=>{class n{constructor(e){this.githubService=e}getDataFile(){return this.githubService.fetchDataFile().pipe(_e(e=>this.constructData(e)),_e(e=>(this.dataFile={teamStructure:this.extractTeamStructure(e)},e)))}constructData(e){const i={},r=e.data;return i[n.ROLES]=this.parseRolesData(r),i[n.TEAM_STRUCTURE]=this.parseTeamStructureData(r),i[n.STUDENTS_ALLOCATION]=this.parseStudentAllocation(r),i[n.TUTORS_ALLOCATION]=this.parseTutorAllocation(r),i[n.ADMINS_ALLOCATION]=this.parseAdminAllocation(r),i}parseAdminAllocation(e){const i={};return this.parseUsersData(e).forEach(s=>{s[n.ROLE]===An.Admin.toLowerCase()&&(i[s[n.NAME].toLowerCase()]={})}),i}parseTutorAllocation(e){const i={};return this.parseUsersData(e).forEach(s=>{if(s[n.ROLE]!==An.Tutor.toLowerCase())return;const o=i[s[n.NAME].toLowerCase()]||{};o[s[n.TEAM]]="true",i[s[n.NAME].toLowerCase()]=o}),i}parseStudentAllocation(e){const i={};return this.parseUsersData(e).forEach(s=>{if(s[n.ROLE]!==An.Student.toLowerCase())return;const o={};o[n.TEAM_ID]=s[n.TEAM],i[s[n.NAME].toLowerCase()]=o}),i}parseTeamStructureData(e){const i={};return this.parseUsersData(e).forEach(s=>{if(s[n.ROLE]!==An.Student.toLowerCase())return;const o=i[s[n.TEAM]]||{};o[s[n.NAME].toLowerCase()]=s[n.NAME],i[s[n.TEAM]]=o}),i}parseRolesData(e){const i={},r={},s={},o={};return this.parseUsersData(e).forEach(l=>{l[n.ROLE]===An.Student.toLowerCase()?r[l[n.NAME].toLowerCase()]="true":l[n.ROLE]===An.Tutor.toLowerCase()?s[l[n.NAME].toLowerCase()]="true":l[n.ROLE]===An.Admin.toLowerCase()&&(o[l[n.NAME].toLowerCase()]="true")}),i[n.STUDENTS]=r,i[n.TUTORS]=s,i[n.ADMINS]=o,i}parseUsersData(e){const i=e.split("\n").filter(o=>o.trim()),r=i[0].split(",").map(o=>o.trim()),s=[];for(let o=1;of.trim()),h={};for(let f=0;f{const l=Object.values(r[o]).map(h=>({loginId:h,role:An.Student}));i.set(o,new zd({id:o,teamMembers:l}))}),i}reset(){this.dataFile=void 0}}return n.ROLES="roles",n.TEAM_STRUCTURE="team-structure",n.STUDENTS_ALLOCATION="students-allocation",n.TUTORS_ALLOCATION="tutors-allocation",n.ADMINS_ALLOCATION="admins-allocation",n.NAME="name",n.TEAM="team",n.ROLE="role",n.TEAM_ID="teamId",n.STUDENTS="students",n.TUTORS="tutors",n.ADMINS="admins",n.\u0275fac=function(e){return new(e||n)(Se(fr))},n.\u0275prov=De({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),Cr=(()=>{class n{constructor(e,i,r){this.githubService=e,this.dataService=i,this.logger=r}getAuthenticatedUser(){return this.githubService.fetchAuthenticatedUser().pipe(_e(e=>e))}createUserModel(e){return this.dataService.getDataFile().pipe(_e(i=>(this.currentUser=this.createUser(i,e),this.currentUser)),hi(i=>null!==i),vd(()=>new Error("Unauthorized user.")))}reset(){this.logger.info("UserService: Clearing current user"),this.currentUser=void 0}createUser(e,i){const r=i.toLowerCase(),s=this.parseUserRole(e,r);switch(s){case An.Student:return{loginId:i,role:s,team:this.createTeamModel(e[Li.TEAM_STRUCTURE],e[Li.STUDENTS_ALLOCATION][r][Li.TEAM_ID])};case An.Tutor:return{loginId:i,role:s,allocatedTeams:Object.keys(e[Li.TUTORS_ALLOCATION][r]).map(f=>this.createTeamModel(e[Li.TEAM_STRUCTURE],f))};case An.Admin:return{loginId:i,role:s,allocatedTeams:Object.keys(e[Li.ADMINS_ALLOCATION][r]).map(f=>this.createTeamModel(e[Li.TEAM_STRUCTURE],f))};default:return null}}createTeamModel(e,i){const r=Object.values(e[i]).map(s=>({loginId:s,role:An.Student}));return new zd({id:i,teamMembers:r})}parseUserRole(e,i){let r;return e[Li.ROLES][Li.STUDENTS]&&e[Li.ROLES][Li.STUDENTS][[i]]&&(r=An.Student),e[Li.ROLES][Li.TUTORS]&&e[Li.ROLES][Li.TUTORS][[i]]&&(r=An.Tutor),e[Li.ROLES][Li.ADMINS]&&e[Li.ROLES][Li.ADMINS][[i]]&&(r=An.Admin),r}}return n.\u0275fac=function(e){return new(e||n)(Se(fr),Se(Li),Se(ts))},n.\u0275prov=De({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();function L0(n,t){return t?e=>e.pipe(L0((i,r)=>St(n(i,r)).pipe(_e((s,o)=>t(i,s,r,o))))):e=>e.lift(new Ute(n))}class Ute{constructor(t){this.project=t}call(t,e){return e.subscribe(new zte(t,this.project))}}class zte extends Vt{constructor(t,e){super(t),this.project=e,this.hasSubscription=!1,this.hasCompleted=!1,this.index=0}_next(t){this.hasSubscription||this.tryNext(t)}tryNext(t){let e;const i=this.index++;try{e=this.project(t,i)}catch(r){return void this.destination.error(r)}this.hasSubscription=!0,this._innerSub(e)}_innerSub(t){const e=new Qt(this),i=this.destination;i.add(e);const r=xn(t,e);r!==e&&i.add(r)}_complete(){this.hasCompleted=!0,this.hasSubscription||this.destination.complete(),this.unsubscribe()}notifyNext(t){this.destination.next(t)}notifyError(t){this.destination.error(t)}notifyComplete(){this.hasSubscription=!1,this.hasCompleted&&this.destination.complete()}}class fy{constructor(t){Object.assign(this,t)}convertToGraphqlFilter(){return{assignee:this.assignee,createdBy:this.creator,labels:this.labels,mentioned:this.mentioned,milestone:this.milestone,since:this.since,states:["close"===this.state?Fs.Closed:Fs.Open]}}}let O0=(()=>{class n{constructor(e){this.data=new Map;const i=e.match(n.REGEX);if(this.originalStringWithoutHiddenData=e.replace(n.REGEX,"").trim(),null!==i)for(const r of i){let s=r.replace("\x3c!--","").trim();s=s.replace("--\x3e","").trim();const o=s.split(":").map(h=>h.trim());if(2!==o.length){this.originalStringWithoutHiddenData+=`\n${r}`;continue}const[a,l]=o;this.data.has(a)||this.data.set(a,l)}}static embedDataIntoString(e,i){let r=e;return i.forEach((s,o)=>{r+=`\n\x3c!--${o}: ${s}--\x3e`}),r}toString(){let e="";return this.data.forEach((i,r)=>{e+=`\x3c!--${r}: ${i}--\x3e`}),e}}return n.REGEX=//gm,n})();var Gte=w(5439),Mn=(()=>(function(n){n.phaseBugReporting="phaseBugReporting",n.phaseTeamResponse="phaseTeamResponse",n.phaseTesterResponse="phaseTesterResponse",n.phaseModeration="phaseModeration"}(Mn||(Mn={})),Mn))();class cm{constructor(t){this.parser=t}findConformingComment(t){let e,i;for(const r of t)if(i=this.parser.run(r.body),!i.isError){this.parseResult=i.result,e=r;break}return void 0===e&&(this.parseFailure=!0,i&&(this.parseError=i.error)),e}}const{endOfInput:$te,sequenceOf:Wte,startOfInput:Qte,str:Kte}=w(930),VP="Your response not required for this bug as the team has accepted the bug as it is.",Zte=Wte([Qte,Kte(VP),$te]);class Xte extends cm{constructor(t){super(Zte),this.findConformingComment(t),!this.parseFailure&&(this.teamAccepted=!0)}}const{char:Jte,choice:ene,coroutine:qP,everyCharUntil:tne,str:gy,whitespace:UP}=w(930);function P0(n){return qP(function*(){yield gy("# Team's Response"),yield UP;const t=yield tne(gy(n));return t.trim()?t.trim():"No details provided by team."})}function zP(n){return qP(function*(){yield gy("- [");const t=yield ene([Jte("x"),UP]);return yield gy("] "+n),"x"===t})}const{choice:rne,coroutine:GP,digits:sne,str:F0,whitespace:one}=w(930),$P="## Duplicate status (if any):",ane=P0($P),lne=GP(function*(){yield F0("Duplicate of #");const n=yield sne;return parseInt(n,10)}),cne=GP(function*(){const n=yield ane;return yield F0($P),yield one,{teamResponse:n,issueNumber:yield rne([lne,F0("--")]).map(i=>"--"===i?null:i)}});class une extends cm{constructor(t){super(cne);const e=this.findConformingComment(t);this.parseFailure||(this.comment=Object.assign(Object.assign({},e),{description:e.body,createdAt:e.created_at,updatedAt:e.updated_at}),this.teamResponse=this.parseResult.teamResponse,this.duplicateOf=this.parseResult.issueNumber)}}class N0{constructor(t,e){this.description=t,this.isChecked=e}setChecked(t){this.isChecked=t}toString(){return`- ${this.isChecked?"[x]":"[ ]"} ${this.description}`}}class dne{constructor(t,e,i,r,s){this.TITLE_PREFIX="## :question: ",this.DISAGREEMENT_PREFIX="**Reason for disagreement:** ",this.INITIAL_RESPONSE="[replace this with your explanation]",this.LINE_BREAK="
    \n",this.title=t,this.description=e,this.disagreeCheckbox=new N0(i,r),this.reasonForDisagreement=s}toString(){let t="";return t+=this.TITLE_PREFIX+this.title+"\n\n",t+=this.description+"\n\n",t+=this.disagreeCheckbox.toString()+"\n\n",t+=this.DISAGREEMENT_PREFIX+this.reasonForDisagreement+"\n\n",t+=this.LINE_BREAK,t}isDisagree(){return this.disagreeCheckbox.isChecked}compareTo(t){return this.isDisagree()===t.isDisagree()?this.reasonForDisagreement.localeCompare(t.reasonForDisagreement):this.isDisagree()?1:-1}getTitleInMarkDown(){return`## ${this.title}`}getDisagreementWithoutDefaultResponse(){return this.reasonForDisagreement.replace(this.INITIAL_RESPONSE," ")}setDisagree(t){this.disagreeCheckbox.setChecked(t)}setReasonForDisagreement(t){this.reasonForDisagreement=t}}const{between:hne,coroutine:j0,everyCharUntil:WP,letters:QP,lookAhead:pne,optionalWhitespace:B0,pipeParsers:KP,possibly:mne,str:za,whitespace:Gd}=w(930),ZP="
    ",XP="Team chose to mark this issue as a duplicate of another issue (as explained in the _**Team's response**_ above)",Y0=zP("I disagree");function JP(n){return hne(za("[`"+n+"."))(za("`]"))(QP)}const eF=j0(function*(){yield za("**Reason for disagreement:** ");const n=yield WP(za(ZP));return yield za(ZP),n.trim()}),Mne=j0(function*(){yield za("status"),yield Gd,yield za(XP),yield Gd;const n=yield Y0;return yield Gd,{disagreeCheckboxValue:n,reasonForDisagreement:yield eF}}),Dne=j0(function*(){yield za("## :question: Issue ");const n=yield QP;if(yield Gd,"duplicate"===n){const l=yield Mne;return yield B0,{title:n+" status",description:XP,teamChose:null,testerChose:null,disagreeCheckboxValue:l.disagreeCheckboxValue,reasonForDisagreement:l.reasonForDisagreement}}const t=yield pne(WP(Y0)),e=function bne(n){const t=JP(n);return KP([za("Team chose "),t])}(n),i=function wne(n){const t=JP(n);return KP([za("Originally "),t])}(n),r=yield e;yield Gd;const s=yield mne(i);yield B0;const o=yield Y0;yield Gd;const a=yield eF;return yield B0,{title:n,description:t.trim(),teamChose:r,testerChose:s,disagreeCheckboxValue:o,reasonForDisagreement:a}}),{coroutine:Ene,many1:Cne,str:tF,optionalWhitespace:Tne,possibly:Sne,whitespace:kne}=w(930),nF="# Items for the Tester to Verify",Ane=P0(nF),Rne=Ene(function*(){yield Sne(tF("[IMPORTANT!: Please do not edit or reply to this comment using the GitHub UI. You can respond to it using CATcher during the next phase of the PE]")),yield Tne;const n=yield Ane;yield tF(nF),yield kne;const t=yield Cne(Dne);let i,r,e=!1;const s=[];for(const a of t)a.disagreeCheckboxValue&&(e=!0),"severity"===a.title?i=a.teamChose:"type"===a.title&&(r=a.teamChose),s.push(new dne("Issue "+a.title,a.description,"I disagree",a.disagreeCheckboxValue,a.reasonForDisagreement));return{teamResponse:n,testerResponses:s,testerDisagree:e,teamChosenSeverity:i,teamChosenType:r}});class iF extends cm{constructor(t){super(Rne);const e=this.findConformingComment(t);this.parseFailure||(this.comment=Object.assign(Object.assign({},e),{description:e.body}),this.teamResponse=this.parseResult.teamResponse,this.testerResponses=this.parseResult.testerResponses,this.testerDisagree=this.parseResult.testerDisagree,this.teamChosenSeverity=this.parseResult.teamChosenSeverity,this.teamChosenType=this.parseResult.teamChosenType)}}class rF{constructor(t,e){this.TODO_DESCRIPTION="Done",this.INITIAL_RESPONSE="[replace this with your explanation]",this.TITLE_PREFIX="## :question: ",this.LINE_BREAK="
    \n",this.title=t,this.description=e,this.tutorResponse=this.INITIAL_RESPONSE,this.todo=new N0(this.TODO_DESCRIPTION,!1)}isDone(){return this.todo.isChecked}toTutorResponseString(){let t="";return t+=this.TITLE_PREFIX+this.title+"\n\n",t+=this.todo.toString()+"\n\n",t+=this.tutorResponse+"\n\n",t+=this.LINE_BREAK,t}compareTo(t){return this.isDone()===t.isDone()?this.tutorResponse.localeCompare(t.tutorResponse):this.isDone()?1:-1}toString(){let t="";return t+=this.TITLE_PREFIX+this.title+"\n\n",t+=this.description+"\n\n",t+=this.LINE_BREAK,t}setTutorResponse(t){this.tutorResponse=t}setIsDone(t){this.todo.setChecked(t)}}const{coroutine:Lne,everyCharUntil:sF,optionalWhitespace:One,str:_y}=w(930),oF="
    ",Nne=Lne(function*(){yield _y("## :question: ");const n=yield sF(_y("### Team says:")),t=yield sF(_y(oF));return yield _y(oF),yield One,new rF(n.trim(),t.trim())}),{coroutine:jne,everyCharUntil:Bne,many1:Yne,str:H0,whitespace:aF}=w(930),lF="# Disputes",qne=P0(lF),cF=jne(function*(){yield H0("# Issue Description"),yield aF;const n=yield Bne(H0("# Team's Response")),t=yield qne;yield H0(lF),yield aF;const e=yield Yne(Nne);return{description:n.trim(),teamResponse:t,issueDisputes:e}});class Une extends cm{constructor(t){super(cF);const e=cF.run(t.body);e.isError?this.parseFailure=!0:(this.parseResult=e.result,this.description=this.parseResult.description,this.teamResponse=this.parseResult.teamResponse,this.disputes=this.parseResult.issueDisputes)}}const{coroutine:zne,everyCharUntil:V0,lookAhead:Gne,optionalWhitespace:$ne,str:um,whitespace:Wne}=w(930),q0="
    ",Kne=zP("Done"),Zne=zne(function*(){yield um("## :question: ");const n=yield V0(um("- [")),t=yield Gne(V0(um(q0))),e=yield Kne;yield Wne;const i=yield V0(um(q0));yield um(q0),yield $ne;const r=new rF(n.trim(),t.trim());return r.todo=new N0("Done",e),r.tutorResponse=i.trim(),r}),{coroutine:Xne,many1:Jne,str:eie,whitespace:tie}=w(930),iie=Xne(function*(){return yield eie("# Tutor Moderation"),yield tie,{disputesToResolve:yield Jne(Zne)}});class dF extends cm{constructor(t){super(iie);const e=this.findConformingComment(t);this.parseFailure||(this.comment=Object.assign(Object.assign({},e),{description:e.body}),this.disputesToResolve=this.parseResult.disputesToResolve)}}class Bi{constructor(t){this.globalId=t.id,this.id=+t.number,this.created_at=Gte(t.created_at).format("lll"),this.title=t.title,this.hiddenDataInDescription=new O0(t.body),this.description=Bi.updateDescription(this.hiddenDataInDescription.originalStringWithoutHiddenData),this.githubIssue=t,this.severity=t.findLabel(Cs.LABELS.severity),this.type=t.findLabel(Cs.LABELS.type),this.response=t.findLabel(Cs.LABELS.response),this.duplicated=!!t.findLabel(Cs.LABELS.duplicated,!1),this.status=t.findLabel(Cs.LABELS.status),this.pending=t.findLabel(Cs.LABELS.pending)}static formatText(t){return null===t?null:void 0!==t?t.split(/[\n\r]/gi).filter(r=>""!==r.trim()).length>0?`${t}\n\n`:t:void 0}static updateDescription(t){return Bi.orDefaultString(Bi.formatText(t),"No details provided by bug reporter.")}static updateTeamResponse(t){return Bi.orDefaultString(Bi.formatText(t),"No details provided by team.")}static orDefaultString(t,e){return t&&0!==t.length?t:e}static createPhaseBugReportingIssue(t){return new Bi(t)}static createPhaseTeamResponseIssue(t,e){const i=new Bi(t),r=new une(t.comments);return i.githubComments=t.comments,i.teamAssigned=e,i.assignees=t.assignees.map(s=>s.login),i.teamResponseError=r.parseFailure,i.parseError=r.parseError,i.issueComment=r.comment,i.teamResponse=r.teamResponse,i.duplicateOf=r.duplicateOf,i.duplicated=null!=i.duplicateOf,i}static createPhaseTesterResponseIssue(t){const e=new Bi(t),i=new iF(t.comments),r=new Xte(t.comments);return e.githubComments=t.comments,e.testerResponseError=i.parseFailure&&r.parseFailure,e.parseError=i.parseError,e.teamAccepted=r.teamAccepted,e.issueComment=i.comment,e.teamResponse=i.teamResponse,e.testerResponses=i.testerResponses,e.testerDisagree=i.testerDisagree,e.teamChosenSeverity=i.teamChosenSeverity||null,e.teamChosenType=i.teamChosenType||null,e}static createPhaseModerationIssue(t,e){const i=new Bi(t),r=new Une(t),s=new dF(t.comments);return i.githubComments=t.comments,i.teamAssigned=e,i.description=r.description,i.teamResponse=r.teamResponse,i.issueDisputes=r.disputes,s.disputesToResolve&&s.comment&&(i.issueDisputes=s.disputesToResolve.map((o,a)=>(o.description=r.disputes[a].description,o)),i.issueComment=s.comment),i}clone(t){switch(t){case Mn.phaseBugReporting:return Bi.createPhaseBugReportingIssue(this.githubIssue);case Mn.phaseTeamResponse:return Bi.createPhaseTeamResponseIssue(this.githubIssue,this.teamAssigned);case Mn.phaseTesterResponse:return Bi.createPhaseTesterResponseIssue(this.githubIssue);case Mn.phaseModeration:return Bi.createPhaseModerationIssue(this.githubIssue,this.teamAssigned);default:return Bi.createPhaseBugReportingIssue(this.githubIssue)}}retainResponses(t,e){switch(this.issueComment=e.issueComment,this.githubComments=e.githubComments,t){case Mn.phaseBugReporting:this.description=e.description;break;case Mn.phaseTeamResponse:this.teamResponse=e.teamResponse;break;case Mn.phaseTesterResponse:this.testerResponses=e.testerResponses,this.teamResponse=e.teamResponse;break;case Mn.phaseModeration:this.issueDisputes=e.issueDisputes}}updateTesterResponse(t){const e=new iF([t]);this.issueComment=e.comment,this.teamResponse=e.teamResponse,this.testerResponses=e.testerResponses}updateDispute(t){const e=new dF([t]);this.issueComment=e.comment,this.issueDisputes=e.disputesToResolve.map((i,r)=>(i.description=this.issueDisputes[r].description,i))}createGithubIssueDescription(){return`${this.description}\n${this.hiddenDataInDescription.toString()}`}createGithubTeamResponse(){return`# Team's Response\n${this.teamResponse}\n## Duplicate status (if any):\n${this.duplicateOf?`Duplicate of #${this.duplicateOf}`:"--"}`}createGithubTutorResponse(){let t="# Tutor Moderation\n\n";if(void 0!==this.issueDisputes)for(const e of this.issueDisputes)t+=e.toTutorResponseString();return t}createGithubTesterResponse(){return`# Team's Response\n${this.teamResponse}\n# Items for the Tester to Verify\n${this.getTesterResponsesString(this.testerResponses)}`}numOfUnresolvedDisputes(){return this.issueDisputes?this.issueDisputes.reduce((t,e)=>t+Number(!e.isDone()),0):0}getTesterResponsesString(t){let e="";for(const i of t)e+=i.toString();return e}}const hF={"-":0,VeryLow:1,Low:2,Medium:3,High:4},pF={"-":0,DocumentationBug:1,FeatureFlaw:2,FunctionalityBug:3};var Ys=(()=>(function(n){n.Incomplete="Incomplete",n.Done="Done"}(Ys||(Ys={})),Ys))(),Ji=(()=>(function(n){n.NoFilter="NoFilter",n.NoAccess="NoAccess",n.FilterByCreator="FilterByCreator",n.FilterByTeam="FilterByTeam",n.FilterByTeamAssigned="FilterByTeamAssigned"}(Ji||(Ji={})),Ji))();const U0={phaseBugReporting:{Student:Ji.FilterByCreator,Tutor:Ji.NoFilter,Admin:Ji.NoFilter},phaseTeamResponse:{Student:Ji.FilterByTeam,Tutor:Ji.FilterByTeamAssigned,Admin:Ji.NoFilter},phaseTesterResponse:{Student:Ji.NoFilter,Tutor:Ji.NoAccess,Admin:Ji.NoFilter},phaseModeration:{Student:Ji.NoAccess,Tutor:Ji.FilterByTeamAssigned,Admin:Ji.NoFilter}},mF=Bs.version;let rie=(()=>{class n{constructor(e){this.githubService=e,this.currentVersion=mF}isApplicationOutdated(){return this.latestVersion?Wt(this.isOutdatedVersion(this.latestVersion,this.currentVersion)):this.githubService.fetchLatestRelease().pipe(_e(e=>(this.latestVersion=e.tag_name.substring(1),this.latestReleaseUrl=e.html_url,this.isOutdatedVersion(this.latestVersion,this.currentVersion))))}isOutdatedVersion(e,i){return 1===this.compareVersions(e,i)}compareVersions(e,i){const r=e.split("."),s=i.split("."),o=Math.min(e.length,i.length),a=[],l=[];for(let h=0;hl[h])return 1;if(a[h]-1&&(this.count=i-1),e.subscribe(this._unsubscribeAndRecycle())}}}function fF(){return Ot(uu(n=>void 0!==n,()=>new Error("Session Data Unavailable")),uu(pie,()=>new Error("Session data does not define an 'openPhases' key")),uu(gie,()=>new Error("There are no accessible phases")),uu(mie,()=>new Error("Invalid Open Phases detected")),uu(fie,()=>new Error("Opened Phase has no repo defined")))}function pie(n){return null!=n.openPhases}function mie(n){return n.openPhases.reduce((t,e)=>t&&e in Mn,!0)}function fie(n){return n.openPhases.reduce((t,e)=>t&&!!n[e],!0)}function gie(n){return 0!==n.openPhases.length}class ps{constructor(t,e,i,r){this.labelValue=e,this.labelColor=i,this.labelCategory=t,this.labelDefinition=r}getFormattedName(){return void 0===this.labelCategory||""===this.labelCategory?this.labelValue:this.labelCategory.concat(".",this.labelValue)}equals(t){return this.labelValue===t.labelValue&&this.labelColor===t.labelColor&&this.labelCategory===t.labelCategory}}const z0="ffffff",dm={severity:{VeryLow:new ps("severity","VeryLow","ffe0e0","

    A flaw that is purely cosmetic and does not affect usage. For example,

    • typo issues
    • spacing issues
    • layout issues
    • color issues
    • font issues
    in the docs or the UI that doesn't affect usage.

    "),Low:new ps("severity","Low","ffcccc","

    A flaw that is unlikely to affect normal operations of the product. Appears only in very rare situations and causes a minor inconvenience only.

    "),Medium:new ps("severity","Medium","ff9999","

    A flaw that causes occasional inconvenience to some users but they can continue to use the product.

    "),High:new ps("severity","High","ff6666","

    A flaw that affects most users and causes major problems for users.i.e., makes the product almost unusable for most users.

    ")},type:{DocumentationBug:new ps("type","DocumentationBug","d966ff",'

    A flaw in the documentation e.g., a missing step, a wrong instruction, typos

    '),FeatureFlaw:new ps("type","FeatureFlaw","d966ff","

    Some functionality missing from a feature delivered in the current version in a way that the feature becomes less useful to the intended target user for normal usage. i.e., the feature is not 'complete'.\nIn other words, an acceptance-testing bug that falls within the scope of the current version features. These issues are counted against the product design aspect of the project.

    "),FunctionalityBug:new ps("type","FunctionalityBug","9900cc","

    A functionality does not work as specified/expected.

    ")},response:{Accepted:new ps("response","Accepted","00802b","

    You accept it as a bug.

    "),CannotReproduce:new ps("response","CannotReproduce","ffebcc","

    You are unable to reproduce the behavior reported in the bug after multiple tries.

    "),IssueUnclear:new ps("response","IssueUnclear","ffcc80","

    The issue description is not clear.

    "),NotInScope:new ps("response","NotInScope","ffcc80",'

    It is a valid issue but not something the team should be penalized for e.g., it was not related to features delivered in this version.

    '),Rejected:new ps("response","Rejected","ff9900","

    What tester treated as a bug is in fact the expected behavior (from the user's point of view), or the tester was mistaken in some other way.

    ")},status:{Done:new ps("status","Done","a6a6a6"),Incomplete:new ps("status","Incomplete","000000")},others:{duplicate:new ps(void 0,"duplicate","0066ff")}};class ei{constructor(t,e){this.githubService=t,this.logger=e}static getRequiredLabelsAsArray(t){let e=[];return Object.values(t?this.allLabelArrays:this.testerLabelArrays).map(r=>e=e.concat(r)),e}static updateRequiredLabelColor(t,e){const i=ei.allLabelArrays[e.labelCategory];i&&(i.find(s=>s.labelValue===e.labelValue).labelColor=t)}syncLabels(t){return Ot(ue(()=>this.synchronizeRemoteLabels(t)))}synchronizeRemoteLabels(t){return this.githubService.fetchAllLabels().pipe(_e(e=>e.map(this.toLabel)),_e(e=>(this.ensureRepoHasRequiredLabels(e,ei.getRequiredLabelsAsArray(t)),e)))}getLabelList(t){switch(t){case"severity":return ei.severityLabels;case"type":return ei.typeLabels;case"response":return ei.responseLabels}this.logger.info(`LabelService: Unfiltered Attribute ${t} in getLabelList`)}getLabelTitle(t){switch(t){case"severity":return"Severity";case"type":return"Bug Type";case"response":return"Response"}this.logger.info(`LabelService: Unfiltered Attribute ${t} in getLabelTitle`)}getColorOfLabel(t,e){if(""===e||!ei.allLabelArrays[t])return this.logger.info(`LabelService: Unfiltered Attribute, ${e}: ${t} in getColorOfLabel`),z0;const i=ei.allLabelArrays[t].find(r=>r.labelValue===e);return void 0===i||void 0===i.labelColor?z0:i.labelColor}getLabelDefinition(t,e){if(""===t||null===t||""===e||null===e)return null;const i=ei.getRequiredLabelsAsArray(!0).find(r=>r.labelValue===t&&r.labelCategory===e);return void 0===i||void 0===i.labelDefinition?null:i.labelDefinition}ensureRepoHasRequiredLabels(t,e){e.forEach(i=>{const r=t.filter(s=>s.getFormattedName()===i.getFormattedName());if(0===r.length)this.githubService.createLabel(i.getFormattedName(),i.labelColor);else{if(1!==r.length)throw new Error("Unexpected error: the repo has multiple labels with the same name "+i.getFormattedName());r[0].equals(i)||ei.updateRequiredLabelColor(r[0].labelColor,i)}})}toLabel(t){let e,i;const s=String(t.name);[e,i]=/\./g.test(s)?t.name.split("."):[void 0,s];const o=t.color,a=String(t.description);return new ps(e,i,o,a)}isDarkColor(t){const e="#"===t.charAt(0)?t.substring(1,7):t,a=[parseInt(e.substring(0,2),16)/255,parseInt(e.substring(2,4),16)/255,parseInt(e.substring(4,6),16)/255].map(h=>h<=.03928?h/12.92:Math.pow((h+.055)/1.055,2.4));return.2126*a[0]+.7152*a[1]+.0722*a[2]<.184}setLabelStyle(t,e="inline-flex"){let i;return i=this.isDarkColor(t)?z0:"000000",{"background-color":`#${t}`,"border-radius":"3px",cursor:"default",padding:"3px",color:`#${i}`,"font-weight":"410",display:e}}}ei.severityLabels=Object.values(dm.severity),ei.typeLabels=Object.values(dm.type),ei.responseLabels=Object.values(dm.response),ei.statusLabels=Object.values(dm.status),ei.otherLabels=Object.values(dm.others),ei.allLabelArrays={severity:ei.severityLabels,type:ei.typeLabels,response:ei.responseLabels,status:ei.statusLabels,others:ei.otherLabels},ei.testerLabelArrays={severity:ei.severityLabels,type:ei.typeLabels},ei.\u0275fac=function(t){return new(t||ei)(Se(fr),Se(ts))},ei.\u0275prov=De({token:ei,factory:ei.\u0275fac,providedIn:"root"});let Aie=(()=>{class n{constructor(e,i){this.dialogRef=e,this.data=i}ngOnInit(){}}return n.\u0275fac=function(e){return new(e||n)(M(Va),M(ou))},n.\u0275cmp=At({type:n,selectors:[["app-session-fix-confirmation"]],decls:12,vars:4,consts:[["mat-dialog-title",""],["mat-dialog-content",""],["mat-dialog-actions",""],["mat-button","","mat-raised-button","","color","warn",3,"mat-dialog-close"],["mat-button","","mat-raised-button","","color","primary","cdkFocusInitial","",3,"mat-dialog-close"]],template:function(e,i){1&e&&(x(0,"h1",0),Me(1),O(),x(2,"div",1)(3,"p"),Me(4),O(),x(5,"p"),Me(6,"in your Github Account?"),O()(),x(7,"div",2)(8,"button",3),Me(9,"No Thanks"),O(),x(10,"button",4),Me(11,"Yes"),O()()),2&e&&(j(1),an("Hi ",i.data.user,""),j(3),an('Do you want CATcher to create a repository named "',i.data.repoName,'"'),j(4),H("mat-dialog-close",!1),j(2),H("mat-dialog-close",!0))},directives:[au,lu,J_,bi,xO],styles:[""]}),n})(),Pie=(()=>{class n{constructor(e,i,r){this.githubService=e,this.userService=i,this.repoCreationConfirmationDialog=r}requestRepoCreationPermissions(e,i){return Ot(ue(r=>r||e!==Mn.phaseBugReporting?Wt(null):this.openRepoCreationConfirmation(i)))}openRepoCreationConfirmation(e){return this.repoCreationConfirmationDialog.open(Aie,{data:{user:this.userService.currentUser.loginId,repoName:e}}).afterClosed()}verifyRepoCreationPermissions(e){return Ot(wr(i=>{if(null!==i){if(!1===i)throw new Error("You cannot proceed without the required repository.");if(e!==Mn.phaseBugReporting)throw new Error("Current Phase's Repository has not been opened.");if(this.userService.currentUser.role!==An.Student)throw new Error("'Bug-Reporting Phase's repository initialisation is only available to Students.'")}}))}attemptRepoCreation(e){return Ot(ue(i=>null===i?Wt(null):(this.githubService.createRepository(e),new st(r=>{setTimeout(()=>r.next(!0),1e3)}))))}verifyRepoCreation(e,i){return Ot(ue(r=>r?this.githubService.isRepositoryPresent(e,i):Wt(!0)))}}return n.\u0275fac=function(e){return new(e||n)(Se(fr),Se(Cr),Se(qa))},n.\u0275prov=De({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const Nie={[Mn.phaseBugReporting]:"Bug Reporting Phase",[Mn.phaseTeamResponse]:"Team's Response Phase",[Mn.phaseTesterResponse]:"Tester's Response Phase",[Mn.phaseModeration]:"Moderation Phase"};let er=(()=>{class n{constructor(e,i,r){this.githubService=e,this.labelService=i,this.repoCreatorService=r,this.phaseRepoOwners={phaseBugReporting:"",phaseTeamResponse:"",phaseTesterResponse:"",phaseModeration:""}}setPhaseOwners(e,i){this.orgName=e,this.phaseRepoOwners.phaseBugReporting=i,this.phaseRepoOwners.phaseTeamResponse=e,this.phaseRepoOwners.phaseTesterResponse=i,this.phaseRepoOwners.phaseModeration=e}getPhaseOwner(e){return this.phaseRepoOwners[e]}fetchSessionData(){return this.githubService.fetchSettingsFile().pipe(_e(e=>e))}storeSessionData(){return this.fetchSessionData().pipe(fF(),_e(e=>{localStorage.setItem("sessionData",JSON.stringify(e)),this.updateSessionParameters(e)}))}setSessionData(){const e=JSON.parse(localStorage.getItem("sessionData"));this.updateSessionParameters(e)}githubRepoPermissionLevel(){return this.sessionData.openPhases.includes(Mn.phaseModeration)?"repo":"public_repo"}verifySessionAvailability(e){return this.githubService.isRepositoryPresent(this.phaseRepoOwners[this.currentPhase],e[this.currentPhase])}updateSessionParameters(e){this.sessionData=e,this.currentPhase=Mn[e.openPhases[0]],this.repoName=e[e.openPhases[0]],this.githubService.storePhaseDetails(this.phaseRepoOwners[this.currentPhase],this.repoName)}sessionSetup(){let e=!1;return this.fetchSessionData().pipe(fF(),ue(r=>(this.updateSessionParameters(r),this.verifySessionAvailability(r))),this.repoCreatorService.requestRepoCreationPermissions(this.currentPhase,this.sessionData[this.currentPhase]),Ot(wr(r=>{e=r||!1})),this.repoCreatorService.verifyRepoCreationPermissions(this.currentPhase),this.repoCreatorService.attemptRepoCreation(this.sessionData[this.currentPhase]),this.repoCreatorService.verifyRepoCreation(this.getPhaseOwner(this.currentPhase),this.sessionData[this.currentPhase]),uu(r=>r,()=>new Error("Session Availability Fix failed.")),this.labelService.syncLabels(this.isTeamOrModerationPhase()),function sie(n=-1){return t=>t.lift(new oie(n,t))}(1))}isTeamOrModerationPhase(){return this.currentPhase===Mn.phaseTeamResponse||this.currentPhase===Mn.phaseModeration}getPhaseDetail(){return this.orgName.concat("/").concat(this.repoName)}isValidRoute(e){return e.startsWith("/"+this.currentPhase)}reset(){this.currentPhase=null}}return n.\u0275fac=function(e){return new(e||n)(Se(fr),Se(ei),Se(Pie))},n.\u0275prov=De({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),Di=(()=>{class n{constructor(e,i,r,s,o){this.githubService=e,this.userService=i,this.phaseService=r,this.dataService=s,this.logger=o,this.issueTeamFilter="All Teams",this.isLoading=new xi(!1),this.isCreatingTeamResponse=!1,this.issues$=new xi(new Array)}startPollIssues(){void 0===this.issuesPollSubscription&&(0===this.issues$.getValue().length&&this.isLoading.next(!0),this.issuesPollSubscription=M_(0,n.POLL_INTERVAL).pipe(L0(()=>this.reloadAllIssues().pipe(Ni(()=>Zo),Ia(()=>this.isLoading.next(!1))))).subscribe())}stopPollIssues(){this.issuesPollSubscription&&(this.issuesPollSubscription.unsubscribe(),this.issuesPollSubscription=void 0)}pollIssue(e){return M_(0,n.POLL_INTERVAL).pipe(L0(()=>this.isCreatingTeamResponse?Zo:this.githubService.fetchIssueGraphql(e).pipe(_e(i=>{const r=this.createIssueModel(i);return this.updateLocalStore(r),r}),Ni(i=>this.getIssue(e)))))}reloadAllIssues(){return this.initializeData()}getIssue(e){return void 0===this.issues?this.getLatestIssue(e):Wt(this.issues[e])}getLatestIssue(e){return this.githubService.fetchIssueGraphql(e).pipe(_e(i=>(this.createAndSaveIssueModel(i),this.issues[e])),Ni(i=>Wt(this.issues[e])))}createIssue(e,i,r,s){const o=[this.createLabel("severity",r),this.createLabel("type",s)],h=O0.embedDataIntoString(i,new Map([["session",this.sessionId],["Version",`Desktop v${mF}`]]));return this.githubService.createIssue(e,h,o).pipe(_e(f=>this.createIssueModel(f)))}updateIssue(e){return this.updateGithubIssue(e).pipe(_e(i=>(i.comments=e.githubComments,this.createIssueModel(i))))}updateGithubIssue(e){const i=this.phaseService.currentPhase===Mn.phaseModeration?[]:e.assignees;return this.githubService.updateIssue(e.id,e.title,this.createGithubIssueDescription(e),this.createLabelsForIssue(e),i).pipe(Ni(r=>this.parseUpdateIssueResponseError(r)))}updateIssueWithComment(e,i){return this.githubService.updateIssueComment(i).pipe(ue(r=>(e.githubComments=[r,...e.githubComments.filter(s=>s.id!==r.id)],this.updateIssue(e))))}updateTesterResponse(e,i){const s=this.issues[e.id].testerResponses?this.githubService.updateIssueComment(i):this.githubService.createIssueComment(e.id,i.description),o=e.clone(this.phaseService.currentPhase);return o.status=Ys.Done,Oa([s,this.updateIssue(o)]).pipe(_e(a=>{const[l,h]=a;return h.updateTesterResponse(l),h}))}updateTutorResponse(e,i){return Oa([this.githubService.updateIssueComment(i),this.updateIssue(e)]).pipe(_e(r=>{const[s,o]=r;return o.updateDispute(s),o}))}createTeamResponse(e){this.isCreatingTeamResponse=!0;const i=e.createGithubTeamResponse();return this.updateGithubIssue(e).pipe(ue(r=>this.githubService.createIssueComment(e.id,i).pipe(_e(s=>(this.isCreatingTeamResponse=!1,e.githubComments=[s,...e.githubComments.filter(o=>o.id!==s.id)],r.comments=e.githubComments,this.createIssueModel(r))))))}createTutorResponse(e,i){return Oa([this.githubService.createIssueComment(e.id,i),this.updateIssue(e)]).pipe(_e(r=>{const[s,o]=r;return o.updateDispute(s),o}))}createGithubIssueDescription(e){return this.phaseService.currentPhase===Mn.phaseModeration?`# Issue Description\n${e.createGithubIssueDescription()}\n# Team's Response\n${e.teamResponse}\n # Disputes\n\n${this.getIssueDisputeString(e.issueDisputes)}\n`:e.createGithubIssueDescription()}getIssueDisputeString(e){let i="";for(const r of e)i+=r.toString();return i}deleteIssue(e){return this.githubService.closeIssue(e).pipe(_e(i=>{const r=this.createIssueModel(i);return this.deleteFromLocalStore(r),r}))}undeleteIssue(e){return this.githubService.reopenIssue(e).pipe(_e(i=>{const r=this.createIssueModel(i);return this.updateLocalStore(r),r}))}deleteFromLocalStore(e){const r=e.id,o=(0,lm._T)(this.issues,["symbol"==typeof r?r:r+""]);this.issues=o,this.issues$.next(Object.values(this.issues))}updateLocalStore(e){this.issues=Object.assign(Object.assign({},this.issues),{[e.id]:e}),this.issues$.next(Object.values(this.issues))}hasTeamResponse(e){return!!this.issues[e].teamResponse}getDuplicateIssuesFor(e){return this.issues$.pipe(_e(i=>i.filter(r=>r.duplicateOf===e.id)))}reset(e){e&&(this.sessionId=void 0),this.issues=void 0,this.issues$.next(new Array),this.stopPollIssues(),this.isLoading.complete(),this.isLoading=new xi(!1)}initializeData(){const e=[];switch(U0[this.phaseService.currentPhase][this.userService.currentUser.role]){case Ji.FilterByCreator:e.push(this.githubService.fetchIssuesGraphql(new fy({creator:this.userService.currentUser.loginId})));break;case Ji.FilterByTeam:e.push(this.githubService.fetchIssuesGraphqlByTeam(this.createLabel("tutorial",this.userService.currentUser.team.tutorialClassId),this.createLabel("team",this.userService.currentUser.team.teamId),new fy({})));break;case Ji.FilterByTeamAssigned:this.userService.currentUser.allocatedTeams.forEach(r=>{e.push(this.githubService.fetchIssuesGraphqlByTeam(this.createLabel("tutorial",r.tutorialClassId),this.createLabel("team",r.teamId),new fy({})))});break;case Ji.NoFilter:e.push(this.githubService.fetchIssuesGraphql(new fy({})));break;default:return Wt([])}return Oa(e).pipe(_e(i=>{const r=[];for(const o of i)for(const a of o)r.push(this.createIssueModel(a).id),this.createAndSaveIssueModel(a);const s=this.getOutdatedIssueIds(r);return this.deleteIssuesFromLocalStore(s),Object.values(this.issues)}))}createAndSaveIssueModel(e){const i=this.createIssueModel(e);return this.updateLocalStore(i),!0}deleteIssuesFromLocalStore(e){e.forEach(i=>{this.getIssue(i).subscribe(r=>this.deleteFromLocalStore(r))})}getOutdatedIssueIds(e){if(void 0===this.issues||!e.length)return[];const i=new Set(e);return Object.keys(this.issues).map(s=>+s).filter(s=>!i.has(s))}createLabelsForIssue(e){const i=[];if(this.phaseService.currentPhase!==Mn.phaseBugReporting&&this.phaseService.currentPhase!==Mn.phaseTesterResponse){const r=e.teamAssigned.id.split("-");i.push(this.createLabel("tutorial",`${r[0]}-${r[1]}`),this.createLabel("team",r[2]))}return e.severity&&i.push(this.createLabel("severity",e.severity)),e.type&&i.push(this.createLabel("type",e.type)),e.response&&i.push(this.createLabel("response",e.response)),e.duplicated&&i.push("duplicate"),e.status&&i.push(this.createLabel("status",e.status)),e.pending&&+e.pending>0&&i.push(this.createLabel("pending",e.pending)),e.unsure&&i.push("unsure"),i}createLabel(e,i){return`${e}.${i}`}extractTeamIdFromGithubIssue(e){return e.findLabel(Cs.LABELS.tutorial).concat("-").concat(e.findLabel(Cs.LABELS.team))}createIssueModel(e){let i;switch(this.phaseService.currentPhase){case Mn.phaseBugReporting:i=Bi.createPhaseBugReportingIssue(e);break;case Mn.phaseTeamResponse:i=Bi.createPhaseTeamResponseIssue(e,this.dataService.getTeam(this.extractTeamIdFromGithubIssue(e)));break;case Mn.phaseTesterResponse:i=Bi.createPhaseTesterResponseIssue(e);break;case Mn.phaseModeration:i=Bi.createPhaseModerationIssue(e,this.dataService.getTeam(this.extractTeamIdFromGithubIssue(e)));break;default:return}return i.parseError&&this.logger.error("IssueService: "+i.parseError),i}parseUpdateIssueResponseError(e){if(this.logger.error("IssueService: ",e),422!==e.code||!e.hasOwnProperty("message"))return Qi(e.response.data.message);const s=e.message.substring("Validation Failed:".length),o=JSON.parse(s);return["field","code","value"].every(h=>o.hasOwnProperty(h))&&"assignees"===o.field&&"invalid"===o.code?Qi(`Assignee ${o.value} has not joined your organization yet. Please remove them from the assignees list.`):Qi(e.response.data.message)}setIssueTeamFilter(e){e&&(this.issueTeamFilter=e)}setSessionId(e){this.sessionId=e}getIssueTeamFilter(){return this.issueTeamFilter}}return n.POLL_INTERVAL=5e3,n.\u0275fac=function(e){return new(e||n)(Se(fr),Se(Cr),Se(er),Se(Li),Se(ts))},n.\u0275prov=De({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),hm=(()=>{class n{constructor(e,i){this.githubService=e,this.issueService=i}setLatestChangeEvent(){return this.githubService.fetchEventsForRepo().pipe(_e(e=>(0===e.length||(this.setLastModifiedTime(e[0].created_at),this.setLastModifiedCommentTime(e[0].issue.updated_at)),e)))}reloadPage(){return this.githubService.fetchEventsForRepo().pipe(ue(e=>{if(0===e.length)return Wt(!1);const i=e[0];return i.created_at!==this.lastModified||i.issue.updated_at!==this.lastModifiedComment?(this.setLastModifiedTime(i.created_at),this.setLastModifiedCommentTime(i.issue.updated_at),this.issueService.reloadAllIssues().pipe(_e(r=>!0))):Wt(!1)}))}setLastModifiedTime(e){this.lastModified=e}setLastModifiedCommentTime(e){this.lastModifiedComment=e}reset(){this.setLastModifiedTime(void 0),this.setLastModifiedCommentTime(void 0)}}return n.\u0275fac=function(e){return new(e||n)(Se(fr),Se(Di))},n.\u0275prov=De({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();var Vr=(()=>(function(n){n[n.NotAuthenticated=0]="NotAuthenticated",n[n.AwaitingAuthentication=1]="AwaitingAuthentication",n[n.ConfirmOAuthUser=2]="ConfirmOAuthUser",n[n.Authenticated=3]="Authenticated"}(Vr||(Vr={})),Vr))();let uc=(()=>{class n{constructor(e,i,r,s,o,a,l,h,f,D){this.router=e,this.ngZone=i,this.githubService=r,this.userService=s,this.issueService=o,this.phaseService=a,this.dataService=l,this.githubEventService=h,this.titleService=f,this.logger=D,this.authStateSource=new xi(Vr.NotAuthenticated),this.currentAuthState=this.authStateSource.asObservable(),this.accessToken=new xi(void 0),this.ENABLE_POPUP_MESSAGE="Please enable pop-ups in your browser"}storeNext(e){sessionStorage.setItem(n.SESSION_NEXT_KEY,e.url)}getNext(){return sessionStorage.getItem(n.SESSION_NEXT_KEY)}clearNext(){sessionStorage.removeItem(n.SESSION_NEXT_KEY)}storeOAuthAccessToken(e){this.githubService.storeOAuthAccessToken(e),this.accessToken.next(e)}reset(){this.logger.info("AuthService: Clearing access token and setting AuthState to NotAuthenticated."),this.accessToken.next(void 0),this.changeAuthState(Vr.NotAuthenticated),this.ngZone.run(()=>this.router.navigate([""]))}logOut(){this.githubService.reset(),this.userService.reset(),this.issueService.reset(!0),this.phaseService.reset(),this.dataService.reset(),this.githubEventService.reset(),this.logger.reset(),this.setLandingPageTitle(),this.issueService.setIssueTeamFilter("All Teams"),this.reset()}setTitleWithPhaseDetail(){const e=w(4147),i=`${e.name} ${e.version} - ${this.phaseService.getPhaseDetail()}`;this.logger.info(`AuthService: Setting Title as ${i}`),this.titleService.setTitle(i)}setLandingPageTitle(){const e=w(4147),i=`${e.name} ${e.version}`;this.logger.info(`AuthService: Setting LandingPageTitle as ${i}`),this.titleService.setTitle(i)}isAuthenticated(){return this.authStateSource.getValue()===Vr.Authenticated}changeAuthState(e){if(e===Vr.Authenticated){const i=function Ete(){return`${Date.now()}-${uy()}`}();this.issueService.setSessionId(i),this.logger.info(`AuthService: Successfully authenticated with session: ${i}`)}this.authStateSource.next(e)}generateStateString(){this.state=uy(),sessionStorage.setItem("state",this.state)}isReturnedStateSame(e){return e===sessionStorage.getItem("state")}startOAuthProcess(){this.logger.info("AuthService: Starting authentication");const e=this.phaseService.githubRepoPermissionLevel();this.changeAuthState(Vr.AwaitingAuthentication),this.generateStateString(),this.redirectToOAuthPage(encodeURI(`${Bs.githubUrl}/login/oauth/authorize?client_id=${Bs.clientId}&scope=${e},read:user&state=${this.state}`)),this.logger.info("AuthService: Redirecting for Github authentication")}redirectToOAuthPage(e){null!=e&&(window.location.href=e)}navigateToLandingPage(){const e=this.getNext();e&&this.phaseService.isValidRoute(e)?this.router.navigateByUrl(e):this.router.navigateByUrl(this.phaseService.currentPhase)}}return n.SESSION_NEXT_KEY="next",n.\u0275fac=function(e){return new(e||n)(Se(Xi),Se(yn),Se(fr),Se(Cr),Se(Di),Se(er),Se(Li),Se(hm),Se(eg),Se(ts))},n.\u0275prov=De({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const Bie={profileName:{required:!0,validate:n=>!!n},repoName:{required:!0,validate:n=>!!n.match(/\w+\/\w+/g)}},AF=n=>((n,t)=>Object.entries(t).every(([e,i])=>!i.required||e in n&&i.validate(n[e])))(n,Bie),RF=new Error("profiles.json is malformed");let Yie=(()=>{class n{constructor(e){this.githubService=e}fetchExternalProfiles(){return this.githubService.getProfilesData().then(e=>e.json()).then(e=>e.profiles||[]).then(e=>(this.validateProfiles(e),e))}validateProfiles(e){if(!e.every(AF))throw RF}}return n.\u0275fac=function(e){return new(e||n)(Se(fr))},n.\u0275prov=De({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),Hie=(()=>{class n{constructor(e){this.dialogRef=e}ngOnInit(){}onClick(){this.dialogRef.close()}}return n.\u0275fac=function(e){return new(e||n)(M(Va))},n.\u0275cmp=At({type:n,selectors:[["app-json-parse-error-dialog"]],decls:14,vars:0,consts:[["mat-dialog-title",""],["mat-dialog-content",""],["align","center",2,"max-width","390px"],["mat-dialog-actions","","align","center"],["mat-raised-button","","color","primary",3,"click"]],template:function(e,i){1&e&&(x(0,"h1",0),Me(1,'Error in "profiles.json" format'),O(),x(2,"div",1)(3,"p",2),Me(4,' The format of the "profiles.json" file is not as required. You might not have included '),x(5,"code"),Me(6,"profileName"),O(),Me(7," and "),x(8,"code"),Me(9,"repoName"),O(),Me(10," keys. Please refer to our User Guide for the correct format. "),O()(),x(11,"div",3)(12,"button",4),tt("click",function(){return i.onClick()}),Me(13,"Ok"),O()())},directives:[au,lu,J_,bi],styles:[""]}),n})();function Vie(n,t){if(1&n){const e=on();x(0,"mat-option",7),tt("click",function(){const s=zt(e).$implicit;return Ce().selectProfile(s)}),Me(1),O()}if(2&n){const e=t.$implicit;H("value",e.profileName),j(1),vi(e.profileName)}}let qie=(()=>{class n{constructor(e,i,r){this.errorDialog=e,this.profileService=i,this.errorHandlingService=r,this.ANIMATION_DURATION=250,this.profiles=[],this.blankProfile={profileName:"",repoName:""},this.animationActivated=!1,this.selectedProfile=this.blankProfile,this.selectedProfileEmitter=new Yt,this.profilesData={isDirectoryMessageVisible:!1,fileName:null,fileDirectory:null}}ngOnInit(){this.initProfiles()}fileSelectorInitiation(e){this.animationActivated=!0,setTimeout(()=>{this.animationActivated=!1,e.click()},this.ANIMATION_DURATION)}fileSelected(e){const i=e.target,r=i.files[0],s=new FileReader;s.onload=()=>{if(!(s.result instanceof ArrayBuffer))try{const{profiles:o}=JSON.parse(s.result);this.profileService.validateProfiles(o),this.profiles=o.concat(this.profiles).filter(a=>!!a),i.value=""}catch(o){this.openErrorDialog()}},s.readAsText(r)}initProfiles(){this.profileService.fetchExternalProfiles().then(e=>{this.profiles=this.profiles.concat(e).filter(i=>!!i)}).then(()=>this.setUrlEncodedProfile(this.profiles)).catch(e=>{e===RF?this.openErrorDialog():this.errorHandlingService.handleError(e)})}openErrorDialog(){this.errorDialog.open(Hie)}selectProfile(e){e===this.blankProfile||AF(e)?this.selectedProfileEmitter.emit(e):this.openErrorDialog()}setUrlEncodedProfile(e){if(!this.urlEncodedSessionName)return;const i=e.find(r=>r.profileName===this.urlEncodedSessionName);i?(this.selectedProfile.profileName=this.urlEncodedSessionName,this.selectProfile(i)):this.errorHandlingService.handleError(new Error("Invalid URL provided session"))}}return n.\u0275fac=function(e){return new(e||n)(M(qa),M(Yie),M(Gi))},n.\u0275cmp=At({type:n,selectors:[["app-profiles"]],inputs:{urlEncodedSessionName:"urlEncodedSessionName"},outputs:{selectedProfileEmitter:"selectedProfileEmitter"},decls:12,vars:3,consts:[[1,"profile-field"],[3,"value"],[3,"click"],[3,"value","click",4,"ngFor","ngForOf"],["type","file","accept",".json",2,"display","none",3,"change"],["fileInput",""],["type","button","mat-icon-button","","disableRipple","true","matTooltip","Configure your custom settings",1,"profile-input",3,"click","mousedown","mouseleave"],[3,"value","click"]],template:function(e,i){if(1&e){const r=on();x(0,"mat-form-field",0)(1,"mat-label"),Me(2,"Select Session"),O(),x(3,"mat-select",1)(4,"mat-option",2),tt("click",function(){return i.selectProfile(i.blankProfile)}),Me(5,"None"),O(),Ae(6,Vie,2,2,"mat-option",3),O()(),x(7,"input",4,5),tt("change",function(o){return i.fileSelected(o)}),O(),x(9,"button",6),tt("click",function(){zt(r);const o=ki(8);return i.fileSelectorInitiation(o)})("mousedown",function(){return i.animationActivated=!0})("mouseleave",function(){return i.animationActivated=!1}),x(10,"mat-icon"),Me(11,"folder_open"),O()()}2&e&&(j(3),H("value",i.selectedProfile.profileName),j(3),H("ngForOf",i.profiles),j(4),H("@triggerFileInput",i.animationActivated?"pressed":"normal"))},directives:[Er,U_,ko,oa,jr,bi,gl,hs],styles:[".profile-field[_ngcontent-%COMP%]{width:90%}.profile-input[_ngcontent-%COMP%]{width:10%;text-align:right}"],data:{animation:[Ki("triggerFileInput",[qn("normal",ln({})),qn("pressed",ln({color:"orange"})),Zn("normal => pressed",[ti("0.25s ease")]),Zn("pressed => normal",[ti("0.25s ease")])])]}}),n})();function Uie(n,t){if(1&n&&(x(0,"button",9)(1,"div"),Me(2,"Submit"),O()()),2&n){const e=Ce();H("disabled",e.profileForm.invalid||e.isSettingUpSession)}}function zie(n,t){1&n&&(x(0,"div",10),wt(1,"mat-spinner",11),O()),2&n&&(j(1),H("diameter",47))}let Gie=(()=>{class n{constructor(e,i,r,s,o,a){this.formBuilder=e,this.logger=i,this.githubService=r,this.phaseService=s,this.authService=o,this.errorHandlingService=a,this.sessionEmitter=new Yt}ngOnInit(){this.isSettingUpSession=!1,this.initProfileForm()}onProfileSelect(e){this.profileForm.get("session").setValue(e.repoName),this.sessionEmitter.emit(e.repoName)}setupSession(){if(this.profileForm.invalid)return;this.isSettingUpSession=!0;const e=this.profileForm.get("session").value,i=this.getOrgDetails(e),r=this.getDataRepoDetails(e);window.localStorage.setItem("org",i),window.localStorage.setItem("dataRepo",r),this.githubService.storeOrganizationDetails(i,r),this.logger.info(`SessionSelectionComponent: Selected Settings Repo: ${e}`),this.phaseService.storeSessionData().subscribe(()=>{try{this.authService.startOAuthProcess()}catch(s){this.errorHandlingService.handleError(s),this.authService.changeAuthState(Vr.NotAuthenticated)}},s=>{this.errorHandlingService.handleError(s),this.isSettingUpSession=!1},()=>this.isSettingUpSession=!1)}getOrgDetails(e){return e.split("/")[0]}getDataRepoDetails(e){return e.split("/")[1]}initProfileForm(){this.profileForm=this.formBuilder.group({session:["",Mr.required]})}}return n.\u0275fac=function(e){return new(e||n)(M(tc),M(ts),M(fr),M(er),M(uc),M(Gi))},n.\u0275cmp=At({type:n,selectors:[["app-session-selection"]],inputs:{urlEncodedSessionName:"urlEncodedSessionName"},outputs:{sessionEmitter:"sessionEmitter"},decls:12,vars:4,consts:[[1,"login-card"],[2,"margin-bottom","20px"],[1,"login-title"],[3,"formGroup","ngSubmit"],[1,"login-field",3,"urlEncodedSessionName","selectedProfileEmitter"],[1,"login-field"],["matInput","","placeholder","Settings Location (Org/Repo)","formControlName","session","required",""],["class","sign-in-button","type","submit","mat-stroked-button","","color","primary",3,"disabled",4,"ngIf"],["class","spinner-centralize",4,"ngIf"],["type","submit","mat-stroked-button","","color","primary",1,"sign-in-button",3,"disabled"],[1,"spinner-centralize"],[3,"diameter"]],template:function(e,i){1&e&&(x(0,"mat-card",0)(1,"mat-card-header",1)(2,"mat-card-title",2),Me(3," Select Your Session "),O()(),x(4,"form",3),tt("ngSubmit",function(){return i.setupSession()}),x(5,"app-profiles",4),tt("selectedProfileEmitter",function(s){return i.onProfileSelect(s)}),O(),x(6,"mat-card-content")(7,"mat-form-field",5),wt(8,"input",6),O(),x(9,"mat-card-actions"),Ae(10,Uie,3,1,"button",7),Ae(11,zie,2,1,"div",8),O()()()()),2&e&&(j(4),H("formGroup",i.profileForm),j(1),H("urlEncodedSessionName",i.urlEncodedSessionName),j(5),H("ngIf",!i.isSettingUpSession),j(1),H("ngIf",i.isSettingUpSession))},directives:[a0,oO,sO,na,ea,ds,qie,TQ,Er,io,Xl,Co,Pa,tu,kQ,ai,bi,Es],styles:[".login-field[_ngcontent-%COMP%]{width:100%}.sign-in-button[_ngcontent-%COMP%]{background:#f7fcfe;line-height:45px;border:1px solid currentColor;width:100%}",".login-page[_ngcontent-%COMP%]{flex-direction:row;box-sizing:border-box;display:flex;place-content:center;align-items:center;height:100%;min-height:87.9vh} .mat-card-header-text{margin:0;width:100%;text-align:center}.login-title[_ngcontent-%COMP%]{font-size:30px}.login-card[_ngcontent-%COMP%]{text-align:center;padding:40px 70px 50px}.spinner-centralize[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center}.or-text[_ngcontent-%COMP%]{color:#9e9e9e;text-align:center;font-size:1.25rem;font-weight:500;line-height:1.6;letter-spacing:.0075em;margin:10px}.login-with-oauth-btn[_ngcontent-%COMP%]{width:100%}.hover-blue[_ngcontent-%COMP%]:hover{background:#f7fcfe}.secondary-header-title[_ngcontent-%COMP%]{font-size:25px;float:left;margin-bottom:15px}.link[_ngcontent-%COMP%]{color:#24292e;font-weight:400;font-size:14px}.link[_ngcontent-%COMP%]:hover{color:#3f51b5;cursor:pointer}.centralize[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center}.error-text[_ngcontent-%COMP%]{font-size:30px;font-weight:500;text-align:center}"]}),n})(),$ie=(()=>{class n{constructor(e,i,r,s,o,a,l){this.authService=e,this.phaseService=i,this.userService=r,this.errorHandlingService=s,this.githubEventService=o,this.logger=a,this.router=l}ngOnInit(){}onGithubWebsiteClicked(){window.open("https://github.com/","_blank"),window.location.reload()}logIntoAnotherAccount(){this.logger.info("ConfirmLoginComponent: Logging into another account"),this.authService.startOAuthProcess()}handleAuthSuccess(){this.authService.setTitleWithPhaseDetail(),this.authService.changeAuthState(Vr.Authenticated),this.authService.navigateToLandingPage()}completeLoginProcess(){this.authService.changeAuthState(Vr.AwaitingAuthentication),this.phaseService.setPhaseOwners(this.currentSessionOrg,this.username),this.userService.createUserModel(this.username).pipe(ue(()=>this.phaseService.sessionSetup()),ue(()=>this.githubEventService.setLatestChangeEvent())).subscribe(()=>{this.handleAuthSuccess()},e=>{this.authService.changeAuthState(Vr.NotAuthenticated),this.errorHandlingService.handleError(e),this.logger.info(`ConfirmLoginComponent: Completion of login process failed with an error: ${e}`)})}}return n.\u0275fac=function(e){return new(e||n)(M(uc),M(er),M(Cr),M(Gi),M(hm),M(ts),M(Xi))},n.\u0275cmp=At({type:n,selectors:[["app-auth-confirm-login"]],inputs:{username:"username",currentSessionOrg:"currentSessionOrg"},decls:10,vars:1,consts:[["mat-stroked-button","","color","primary",1,"sign-in-button",3,"click"],[1,"logo"],["src","./assets/images/github-logo.png","alt","github-logo",1,"github-logo"],[1,"mat-body-1",2,"margin-top","20px"],["href","https://github.com/",3,"click"]],template:function(e,i){1&e&&(x(0,"button",0),tt("click",function(){return i.completeLoginProcess()}),x(1,"span",1),wt(2,"img",2),O(),x(3,"span"),Me(4),O()(),x(5,"div",3),Me(6," To change account, please sign into the desired account from the "),x(7,"a",4),tt("click",function(){return i.onGithubWebsiteClicked()}),Me(8,"official Github website"),O(),Me(9,".\n"),O()),2&e&&(j(4),an(" Continue as ",i.username," "))},directives:[bi],styles:[".sign-in-button[_ngcontent-%COMP%]{background:#f7fcfe;line-height:45px;border:1px solid currentColor;width:100%}.logo[_ngcontent-%COMP%]{align-items:center;display:inline-flex;margin:0 3px 3px}.github-logo[_ngcontent-%COMP%]{font-size:20px;width:20px;height:20px}"]}),n})();function Wie(n,t){if(1&n&&(x(0,"div",1),wt(1,"app-session-selection",2),O()),2&n){const e=Ce();j(1),H("urlEncodedSessionName",e.urlEncodedSessionName)}}function Qie(n,t){if(1&n&&(x(0,"div"),wt(1,"app-auth-confirm-login",10),O()),2&n){const e=Ce(2);j(1),H("username",e.currentUserName)("currentSessionOrg",e.currentSessionOrg)}}function Kie(n,t){1&n&&(x(0,"div",11),wt(1,"mat-spinner",12),O()),2&n&&(j(1),H("diameter",47))}function Zie(n,t){if(1&n){const e=on();x(0,"div",1)(1,"mat-card",3)(2,"mat-card-header",4)(3,"mat-card-title",5),Me(4," Confirm Login Account "),O(),x(5,"mat-card-subtitle"),Me(6),O()(),x(7,"div",6)(8,"button",7),tt("click",function(){return zt(e),Ce().goToSessionSelect()}),x(9,"mat-icon"),Me(10,"arrow_back_ios"),O()()(),Ae(11,Qie,2,2,"div",8),Ae(12,Kie,2,1,"div",9),O()()}if(2&n){const e=Ce();j(6),an(" Session on ",e.currentSessionOrg," "),j(2),H("disabled",e.isUserAuthenticating()),j(3),H("ngIf",!e.isUserAuthenticating()),j(1),H("ngIf",e.isUserAuthenticating())}}const Jie=[{path:"",component:(()=>{class n{constructor(e,i,r,s,o,a,l,h,f,D){this.appService=e,this.githubService=i,this.authService=r,this.userService=s,this.errorHandlingService=o,this.router=a,this.phaseService=l,this.ngZone=h,this.activatedRoute=f,this.logger=D}ngOnInit(){this.logger.startSession();const e=this.activatedRoute.snapshot.queryParamMap.get("code"),i=this.activatedRoute.snapshot.queryParamMap.get("state");this.authService.isAuthenticated()?this.router.navigate([this.phaseService.currentPhase]):(this.initAccessTokenSubscription(),this.initAuthStateSubscription(),this.createProfileFromUrlQueryParams(),e&&(this.authService.changeAuthState(Vr.AwaitingAuthentication),this.restoreOrgDetailsFromLocalStorage(),this.logger.info("AuthComponent: Obtained authorisation code from Github"),this.fetchAccessToken(e,i)))}fetchAccessToken(e,i){this.authService.isReturnedStateSame(i)?(this.logger.info("AuthComponent: Retrieving access token from Github"),fetch(`${Bs.accessTokenUrl}/${e}/client_id/${Bs.clientId}`).then(s=>s.json()).then(s=>{if(s.error)throw new Error(s.error);this.authService.storeOAuthAccessToken(s.token),this.logger.info("AuthComponent: Sucessfully obtained access token")}).catch(s=>{this.logger.info(`AuthComponent: Error in data fetched from access token URL: ${s}`),this.errorHandlingService.handleError(s),this.authService.changeAuthState(Vr.NotAuthenticated)})):this.logger.info(`AuthComponent: Received incorrect state ${i}, continue waiting for correct state`)}ngOnDestroy(){this.authStateSubscription&&this.authStateSubscription.unsubscribe(),this.accessTokenSubscription&&this.accessTokenSubscription.unsubscribe()}checkAppIsOutdated(){return this.appService.isApplicationOutdated().pipe(_e(e=>{if(e)throw new Error("Please update to the latest version of CATcher.")}))}updateSession(e){this.sessionInformation=e}goToSessionSelect(){this.authService.changeAuthState(Vr.NotAuthenticated)}isUserNotAuthenticated(){return this.authState===Vr.NotAuthenticated}isUserAuthenticating(){return this.authState===Vr.AwaitingAuthentication}isAwaitingOAuthUserConfirm(){return this.authState===Vr.ConfirmOAuthUser}get currentSessionOrg(){return this.sessionInformation?this.getOrgDetails(this.sessionInformation):window.localStorage.getItem("org")}restoreOrgDetailsFromLocalStorage(){const e=window.localStorage.getItem("org"),i=window.localStorage.getItem("dataRepo");this.githubService.storeOrganizationDetails(e,i),this.phaseService.setSessionData()}getOrgDetails(e){return e.split("/")[0]}initAuthStateSubscription(){this.authStateSubscription=this.authService.currentAuthState.subscribe(e=>{this.ngZone.run(()=>{this.authState=e})})}initAccessTokenSubscription(){this.accessTokenSubscription=this.authService.accessToken.pipe(hi(e=>!!e),ue(()=>this.userService.getAuthenticatedUser())).subscribe(e=>{this.ngZone.run(()=>{this.currentUserName=e.login,this.authService.changeAuthState(Vr.ConfirmOAuthUser)})})}createProfileFromUrlQueryParams(){const e=this.activatedRoute.snapshot.queryParamMap;e.has("session")&&(this.urlEncodedSessionName=e.get("session"))}}return n.\u0275fac=function(e){return new(e||n)(M(rie),M(fr),M(uc),M(Cr),M(Gi),M(Xi),M(er),M(yn),M(Xo),M(ts))},n.\u0275cmp=At({type:n,selectors:[["app-auth"]],decls:2,vars:2,consts:[["class","login-page",4,"ngIf"],[1,"login-page"],[3,"urlEncodedSessionName"],[1,"login-card"],[2,"margin-bottom","20px"],[1,"login-title"],[2,"position","absolute","top","15px","left","15px"],["mat-icon-button","",1,"mat-primary",3,"disabled","click"],[4,"ngIf"],["class","spinner-centralize",4,"ngIf"],[3,"username","currentSessionOrg"],[1,"spinner-centralize"],[3,"diameter"]],template:function(e,i){1&e&&(Ae(0,Wie,2,1,"div",0),Ae(1,Zie,13,4,"div",0)),2&e&&(H("ngIf",i.isUserNotAuthenticated()),j(1),H("ngIf",i.isUserAuthenticating()||i.isAwaitingOAuthUserConfirm()))},directives:[ai,Gie,a0,oO,sO,SQ,bi,hs,$ie,Es],styles:[".login-page[_ngcontent-%COMP%]{flex-direction:row;box-sizing:border-box;display:flex;place-content:center;align-items:center;height:100%;min-height:87.9vh} .mat-card-header-text{margin:0;width:100%;text-align:center}.login-title[_ngcontent-%COMP%]{font-size:30px}.login-card[_ngcontent-%COMP%]{text-align:center;padding:40px 70px 50px}.spinner-centralize[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center}.or-text[_ngcontent-%COMP%]{color:#9e9e9e;text-align:center;font-size:1.25rem;font-weight:500;line-height:1.6;letter-spacing:.0075em;margin:10px}.login-with-oauth-btn[_ngcontent-%COMP%]{width:100%}.hover-blue[_ngcontent-%COMP%]:hover{background:#f7fcfe}.secondary-header-title[_ngcontent-%COMP%]{font-size:25px;float:left;margin-bottom:15px}.link[_ngcontent-%COMP%]{color:#24292e;font-weight:400;font-size:14px}.link[_ngcontent-%COMP%]:hover{color:#3f51b5;cursor:pointer}.centralize[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center}.error-text[_ngcontent-%COMP%]{font-size:30px;font-weight:500;text-align:center}"]}),n})()}];let ere=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Ht({type:n}),n.\u0275inj=He({imports:[[ws.forChild(Jie)],ws]}),n})(),LF=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Ht({type:n}),n.\u0275inj=He({imports:[[ere,js,di]]}),n})(),ro=(()=>{class n{constructor(e,i){this.auth=e,this.router=i}canActivate(e,i){return this.auth.isAuthenticated()?(this.auth.clearNext(),!0):(this.auth.storeNext(i),this.router.navigate([""]),!1)}canLoad(e,i){return!!this.auth.isAuthenticated()||(this.router.navigate([""]),!1)}}return n.\u0275fac=function(e){return new(e||n)(Se(uc),Se(Xi))},n.\u0275prov=De({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),_l=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Ht({type:n}),n.\u0275inj=He({imports:[[js,Do.forChild()]]}),n})(),yy=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Ht({type:n}),n.\u0275inj=He({imports:[[di,am,ws]]}),n})();function tr(n,t,e,i){var o,r=arguments.length,s=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,e):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(n,t,e,i);else for(var a=n.length-1;a>=0;a--)(o=n[a])&&(s=(r<3?o(s):r>3?o(t,e,s):o(t,e))||s);return r>3&&s&&Object.defineProperty(t,e,s),s}function pm(n,t){return function(e,i){t(e,i,n)}}const nre=["searchSelectInput"],ire=["innerSelectSearch"];function rre(n,t){if(1&n){const e=on();x(0,"mat-checkbox",9),tt("change",function(r){return zt(e),Ce()._emitSelectAllBooleanToParent(r.checked)}),O()}if(2&n){const e=Ce();H("color",null==e.matFormField?null:e.matFormField.color)("checked",e.toggleAllCheckboxChecked)("indeterminate",e.toggleAllCheckboxIndeterminate)("matTooltip",e.toggleAllCheckboxTooltipMessage)("matTooltipPosition",e.toogleAllCheckboxTooltipPosition)}}function sre(n,t){1&n&&wt(0,"mat-spinner",10)}function ore(n,t){1&n&&Sn(0,1,["*ngIf","clearIcon; else defaultIcon"])}function are(n,t){1&n&&(x(0,"mat-icon"),Me(1,"close"),O())}function lre(n,t){if(1&n){const e=on();x(0,"button",11),tt("click",function(){return zt(e),Ce()._reset(!0)}),Ae(1,ore,1,0,"ng-content",12),Ae(2,are,2,0,"ng-template",null,13,cd),O()}if(2&n){const e=ki(3),i=Ce();j(1),H("ngIf",i.clearIcon)("ngIfElse",e)}}function cre(n,t){if(1&n&&(x(0,"div",14),Me(1),O()),2&n){const e=Ce();j(1),an(" ",e.noEntriesFoundLabel,"\n")}}const ure=[[["",8,"mat-select-search-custom-header-content"]],[["","ngxMatSelectSearchClear",""]]],dre=function(n,t){return{"mat-select-search-inner-multiple":n,"mat-select-search-inner-toggle-all":t}};let FF=(()=>{let n=class{};return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=rt({type:n,selectors:[["","ngxMatSelectSearchClear",""]]}),n})();var $0;let wi=$0=class{constructor(t,e,i,r=null,s,o=null){this.matSelect=t,this.changeDetectorRef=e,this._viewportRuler=i,this.matOption=r,this.liveAnnouncer=s,this.matFormField=o,this.placeholderLabel="Suche",this.type="text",this.noEntriesFoundLabel="Keine Optionen gefunden",this.indexAndLengthScreenReaderText=" of ",this.clearSearchInput=!0,this.searching=!1,this.disableInitialFocus=!1,this.enableClearOnEscapePressed=!1,this.preventHomeEndKeyPropagation=!1,this.disableScrollToActiveOnOptionsChanged=!1,this.ariaLabel="dropdown search",this.showToggleAllCheckbox=!1,this.toggleAllCheckboxChecked=!1,this.toggleAllCheckboxIndeterminate=!1,this.toggleAllCheckboxTooltipMessage="",this.toogleAllCheckboxTooltipPosition="below",this.hideClearSearchButton=!1,this.alwaysRestoreSelectedOptionsMulti=!1,this.toggleAll=new Yt,this.onTouched=a=>{},this._options$=new xi(null),this.optionsList$=this._options$.pipe(Jr(a=>a?a.changes.pipe(_e(l=>l.toArray()),hr(a.toArray())):Wt(null))),this.optionsLength$=this.optionsList$.pipe(_e(a=>a?a.length:0)),this._formControl=new ta(""),this._showNoEntriesFound$=bM([this._formControl.valueChanges,this.optionsLength$]).pipe(_e(([a,l])=>this.noEntriesFoundLabel&&a&&l===this.getOptionsLengthOffset())),this._onDestroy=new K}get isInsideMatOption(){return!!this.matOption}get value(){return this._formControl.value}set _options(t){this._options$.next(t)}get _options(){return this._options$.getValue()}ngOnInit(){const t="mat-select-search-panel";this.matSelect.panelClass?Array.isArray(this.matSelect.panelClass)?this.matSelect.panelClass.push(t):"string"==typeof this.matSelect.panelClass?this.matSelect.panelClass=[this.matSelect.panelClass,t]:"object"==typeof this.matSelect.panelClass&&(this.matSelect.panelClass[t]=!0):this.matSelect.panelClass=t,this.matOption?(this.matOption.disabled=!0,this.matOption._getHostElement().classList.add("contains-mat-select-search")):console.error(" must be placed inside a element"),this.matSelect.openedChange.pipe(z_(1),vn(this._onDestroy)).subscribe(e=>{e?(this.updateInputWidth(),this.disableInitialFocus||this._focus()):this.clearSearchInput&&this._reset()}),this.matSelect.openedChange.pipe(Ii(1)).pipe(vn(this._onDestroy)).subscribe(()=>{this.matSelect._keyManager?this.matSelect._keyManager.change.pipe(vn(this._onDestroy)).subscribe(()=>this.adjustScrollTopToFitActiveOptionIntoView()):console.log("_keyManager was not initialized."),this._options=this.matSelect.options;let e=this._options.toArray()[this.getOptionsLengthOffset()];this._options.changes.pipe(vn(this._onDestroy)).subscribe(()=>{setTimeout(()=>{const i=this._options.toArray(),r=i[this.getOptionsLengthOffset()],s=this.matSelect._keyManager;s&&this.matSelect.panelOpen&&((!this.matSelect.compareWith(e,r)||!s.activeItem||!i.find(a=>this.matSelect.compareWith(a,s.activeItem)))&&s.setFirstItemActive(),setTimeout(()=>{this.updateInputWidth()}),this.disableScrollToActiveOnOptionsChanged||this.adjustScrollTopToFitActiveOptionIntoView()),e=r})})}),this._showNoEntriesFound$.pipe(vn(this._onDestroy)).subscribe(e=>{this.matOption&&(e?this.matOption._getHostElement().classList.add("mat-select-search-no-entries-found"):this.matOption._getHostElement().classList.remove("mat-select-search-no-entries-found"))}),this._viewportRuler.change().pipe(vn(this._onDestroy)).subscribe(()=>{this.matSelect.panelOpen&&this.updateInputWidth()}),this.initMultipleHandling(),this.optionsList$.pipe(vn(this._onDestroy)).subscribe(()=>{this.changeDetectorRef.markForCheck()})}_emitSelectAllBooleanToParent(t){this.toggleAll.emit(t)}ngOnDestroy(){this._onDestroy.next(),this._onDestroy.complete()}_isToggleAllCheckboxVisible(){return this.matSelect.multiple&&this.showToggleAllCheckbox}_handleKeydown(t){(t.key&&1===t.key.length||t.keyCode>=65&&t.keyCode<=90||t.keyCode>=48&&t.keyCode<=57||32===t.keyCode||this.preventHomeEndKeyPropagation&&(36===t.keyCode||35===t.keyCode))&&t.stopPropagation(),this.matSelect.multiple&&t.key&&13===t.keyCode&&setTimeout(()=>this._focus()),!0===this.enableClearOnEscapePressed&&27===t.keyCode&&this.value&&(this._reset(!0),t.stopPropagation())}_handleKeyup(t){if(38===t.keyCode||40===t.keyCode){const e=this.matSelect._getAriaActiveDescendant(),i=this._options.toArray().findIndex(r=>r.id===e);if(-1!==i){const r=this._options.toArray()[i];this.liveAnnouncer.announce(r.viewValue+" "+this.getAriaIndex(i)+this.indexAndLengthScreenReaderText+this.getAriaLength())}}}getAriaIndex(t){return 0===this.getOptionsLengthOffset()?t+1:t}getAriaLength(){return this._options.toArray().length-this.getOptionsLengthOffset()}writeValue(t){this._lastExternalInputValue=t,this._formControl.setValue(t),this.changeDetectorRef.markForCheck()}onBlur(){this.onTouched()}registerOnChange(t){this._formControl.valueChanges.pipe(hi(e=>e!==this._lastExternalInputValue),wr(()=>this._lastExternalInputValue=void 0),vn(this._onDestroy)).subscribe(t)}registerOnTouched(t){this.onTouched=t}_focus(){if(!this.searchSelectInput||!this.matSelect.panel)return;const t=this.matSelect.panel.nativeElement,e=t.scrollTop;this.searchSelectInput.nativeElement.focus(),t.scrollTop=e}_reset(t){this._formControl.setValue(""),t&&this._focus()}initMultipleHandling(){this.matSelect.ngControl?(this.previousSelectedValues=this.matSelect.ngControl.value,this.matSelect.ngControl.valueChanges.pipe(vn(this._onDestroy)).subscribe(t=>{let e=!1;if(this.matSelect.multiple&&(this.alwaysRestoreSelectedOptionsMulti||this._formControl.value&&this._formControl.value.length)&&this.previousSelectedValues&&Array.isArray(this.previousSelectedValues)){(!t||!Array.isArray(t))&&(t=[]);const i=this.matSelect.options.map(r=>r.value);this.previousSelectedValues.forEach(r=>{!t.some(s=>this.matSelect.compareWith(s,r))&&!i.some(s=>this.matSelect.compareWith(s,r))&&(t.push(r),e=!0)})}this.previousSelectedValues=t,e&&this.matSelect._onChange(t)})):this.matSelect.multiple&&console.error("the mat-select containing ngx-mat-select-search must have a ngModel or formControl directive when multiple=true")}adjustScrollTopToFitActiveOptionIntoView(){if(this.matSelect.panel&&this.matSelect.options.length>0){const t=this.getMatOptionHeight(),e=this.matSelect._keyManager.activeItemIndex||0,i=H_(e,this.matSelect.options,this.matSelect.optionGroups),r=(this.matOption?-1:0)+i+e,s=this.matSelect.panel.nativeElement.scrollTop,o=this.innerSelectSearch.nativeElement.offsetHeight,a=Math.floor((256-o)/t),l=Math.round((s+o)/t)-1;l>=r?this.matSelect.panel.nativeElement.scrollTop=r*t:l+a<=r&&(this.matSelect.panel.nativeElement.scrollTop=(r+1)*t-(256-o))}}updateInputWidth(){if(!this.innerSelectSearch||!this.innerSelectSearch.nativeElement)return;let e,t=this.innerSelectSearch.nativeElement;for(;t=t.parentElement;)if(t.classList.contains("mat-select-panel")){e=t;break}e&&(this.innerSelectSearch.nativeElement.style.width=e.clientWidth+"px")}getMatOptionHeight(){return this.matSelect.options.length>0?this.matSelect.options.first._getHostElement().getBoundingClientRect().height:0}getOptionsLengthOffset(){return this.matOption?1:0}};wi.\u0275fac=function(t){return new(t||wi)(M(ko),M(Gn),M(So),M(oa,8),M(Hp),M(Er,8))},wi.\u0275cmp=At({type:wi,selectors:[["ngx-mat-select-search"]],contentQueries:function(t,e,i){if(1&t&&Pn(i,FF,5),2&t){let r;Et(r=Ct())&&(e.clearIcon=r.first)}},viewQuery:function(t,e){if(1&t&&(hn(nre,7,Zt),hn(ire,7,Zt)),2&t){let i;Et(i=Ct())&&(e.searchSelectInput=i.first),Et(i=Ct())&&(e.innerSelectSearch=i.first)}},hostVars:2,hostBindings:function(t,e){2&t&&Cn("mat-select-search-inside-mat-option",e.isInsideMatOption)},inputs:{placeholderLabel:"placeholderLabel",type:"type",noEntriesFoundLabel:"noEntriesFoundLabel",indexAndLengthScreenReaderText:"indexAndLengthScreenReaderText",clearSearchInput:"clearSearchInput",searching:"searching",disableInitialFocus:"disableInitialFocus",enableClearOnEscapePressed:"enableClearOnEscapePressed",preventHomeEndKeyPropagation:"preventHomeEndKeyPropagation",disableScrollToActiveOnOptionsChanged:"disableScrollToActiveOnOptionsChanged",ariaLabel:"ariaLabel",showToggleAllCheckbox:"showToggleAllCheckbox",toggleAllCheckboxChecked:"toggleAllCheckboxChecked",toggleAllCheckboxIndeterminate:"toggleAllCheckboxIndeterminate",toggleAllCheckboxTooltipMessage:"toggleAllCheckboxTooltipMessage",toogleAllCheckboxTooltipPosition:"toogleAllCheckboxTooltipPosition",hideClearSearchButton:"hideClearSearchButton",alwaysRestoreSelectedOptionsMulti:"alwaysRestoreSelectedOptionsMulti"},outputs:{toggleAll:"toggleAll"},features:[tn([{provide:Br,useExisting:Dt(()=>$0),multi:!0}])],ngContentSelectors:[".mat-select-search-custom-header-content","[ngxMatSelectSearchClear]"],decls:11,vars:14,consts:[["matInput","",1,"mat-select-search-input","mat-select-search-hidden"],[1,"mat-select-search-inner","mat-typography","mat-datepicker-content","mat-tab-header",3,"ngClass"],["innerSelectSearch",""],["class","mat-select-search-toggle-all-checkbox","matTooltipClass","ngx-mat-select-search-toggle-all-tooltip",3,"color","checked","indeterminate","matTooltip","matTooltipPosition","change",4,"ngIf"],["autocomplete","off",1,"mat-select-search-input","mat-input-element",3,"type","formControl","placeholder","keydown","keyup","blur"],["searchSelectInput",""],["class","mat-select-search-spinner","diameter","16",4,"ngIf"],["mat-button","","mat-icon-button","","aria-label","Clear","class","mat-select-search-clear",3,"click",4,"ngIf"],["class","mat-select-search-no-entries-found",4,"ngIf"],["matTooltipClass","ngx-mat-select-search-toggle-all-tooltip",1,"mat-select-search-toggle-all-checkbox",3,"color","checked","indeterminate","matTooltip","matTooltipPosition","change"],["diameter","16",1,"mat-select-search-spinner"],["mat-button","","mat-icon-button","","aria-label","Clear",1,"mat-select-search-clear",3,"click"],[4,"ngIf","ngIfElse"],["defaultIcon",""],[1,"mat-select-search-no-entries-found"]],template:function(t,e){1&t&&(yi(ure),wt(0,"input",0),x(1,"div",1,2),Ae(3,rre,1,5,"mat-checkbox",3),x(4,"input",4,5),tt("keydown",function(r){return e._handleKeydown(r)})("keyup",function(r){return e._handleKeyup(r)})("blur",function(){return e.onBlur()}),O(),Ae(6,sre,1,0,"mat-spinner",6),Ae(7,lre,4,2,"button",7),Sn(8),O(),Ae(9,cre,2,1,"div",8),ls(10,"async")),2&t&&(j(1),H("ngClass",$b(11,dre,e.matSelect.multiple,e._isToggleAllCheckboxVisible())),j(2),H("ngIf",e._isToggleAllCheckboxVisible()),j(1),H("type",e.type)("formControl",e._formControl)("placeholder",e.placeholderLabel),dn("aria-label",e.ariaLabel),j(2),H("ngIf",e.searching),j(1),H("ngIf",!e.hideClearSearchButton&&e.value&&!e.searching),j(2),H("ngIf",cs(10,9,e._showNoEntriesFound$)))},directives:[Hc,ai,ac,gl,Xl,Co,Op,Es,bi,hs],pipes:[rl],styles:[".mat-select-search-hidden[_ngcontent-%COMP%]{visibility:hidden}.mat-select-search-inner[_ngcontent-%COMP%]{position:absolute;top:0;width:100%;border-bottom-width:1px;border-bottom-style:solid;z-index:100;font-size:inherit;box-shadow:none;border-radius:4px 4px 0 0;-webkit-transform:translate3d(0,0,0)}.mat-select-search-inner.mat-select-search-inner-multiple[_ngcontent-%COMP%]{width:100%}.mat-select-search-inner.mat-select-search-inner-multiple.mat-select-search-inner-toggle-all[_ngcontent-%COMP%]{display:flex;align-items:center}.mat-select-search-inner[_ngcontent-%COMP%] .mat-input-element[_ngcontent-%COMP%]{flex-basis:auto}.mat-select-search-inner[_ngcontent-%COMP%] .mat-input-element[_ngcontent-%COMP%]:-ms-input-placeholder{-ms-user-select:text} .mat-select-search-panel{transform:none!important;overflow-x:hidden}.mat-select-search-input[_ngcontent-%COMP%]{padding:16px 44px 16px 16px;box-sizing:border-box;width:100%}[dir=rtl][_nghost-%COMP%] .mat-select-search-input[_ngcontent-%COMP%], [dir=rtl] [_nghost-%COMP%] .mat-select-search-input[_ngcontent-%COMP%]{padding-right:16px;padding-left:44px}.mat-select-search-no-entries-found[_ngcontent-%COMP%]{padding:16px}.mat-select-search-clear[_ngcontent-%COMP%]{position:absolute;right:4px;top:5px}[dir=rtl][_nghost-%COMP%] .mat-select-search-clear[_ngcontent-%COMP%], [dir=rtl] [_nghost-%COMP%] .mat-select-search-clear[_ngcontent-%COMP%]{right:auto;left:4px}.mat-select-search-spinner[_ngcontent-%COMP%]{position:absolute;right:16px;top:calc(50% - 8px)}[dir=rtl][_nghost-%COMP%] .mat-select-search-spinner[_ngcontent-%COMP%], [dir=rtl] [_nghost-%COMP%] .mat-select-search-spinner[_ngcontent-%COMP%]{right:auto;left:16px}.mat-select-search-inside-mat-option[_nghost-%COMP%] .mat-select-search-input[_ngcontent-%COMP%]{padding-top:0;padding-bottom:0;height:3em;line-height:3em}.mat-select-search-inside-mat-option[_nghost-%COMP%] .mat-select-search-clear[_ngcontent-%COMP%]{top:3px} .mat-option[aria-disabled=true].contains-mat-select-search{position:static;padding:0} .mat-option[aria-disabled=true].contains-mat-select-search .mat-icon{margin-right:0;margin-left:0} .mat-option[aria-disabled=true].contains-mat-select-search .mat-option-pseudo-checkbox{display:none} .mat-option[aria-disabled=true].contains-mat-select-search.mat-select-search-no-entries-found{height:6em}.mat-select-search-toggle-all-checkbox[_ngcontent-%COMP%]{padding-left:16px;padding-bottom:2px}[dir=rtl][_nghost-%COMP%] .mat-select-search-toggle-all-checkbox[_ngcontent-%COMP%], [dir=rtl] [_nghost-%COMP%] .mat-select-search-toggle-all-checkbox[_ngcontent-%COMP%]{padding-left:0;padding-right:16px}"],changeDetection:0}),wi.ctorParameters=()=>[{type:ko,decorators:[{type:ya,args:[ko]}]},{type:Gn},{type:So},{type:oa,decorators:[{type:yr},{type:ya,args:[oa]}]},{type:Hp},{type:Er,decorators:[{type:yr},{type:ya,args:[Er]}]}],tr([Wr()],wi.prototype,"placeholderLabel",void 0),tr([Wr()],wi.prototype,"type",void 0),tr([Wr()],wi.prototype,"noEntriesFoundLabel",void 0),tr([Wr()],wi.prototype,"indexAndLengthScreenReaderText",void 0),tr([Wr()],wi.prototype,"clearSearchInput",void 0),tr([Wr()],wi.prototype,"searching",void 0),tr([Wr()],wi.prototype,"disableInitialFocus",void 0),tr([Wr()],wi.prototype,"enableClearOnEscapePressed",void 0),tr([Wr()],wi.prototype,"preventHomeEndKeyPropagation",void 0),tr([Wr()],wi.prototype,"disableScrollToActiveOnOptionsChanged",void 0),tr([Wr()],wi.prototype,"ariaLabel",void 0),tr([Wr()],wi.prototype,"showToggleAllCheckbox",void 0),tr([Wr()],wi.prototype,"toggleAllCheckboxChecked",void 0),tr([Wr()],wi.prototype,"toggleAllCheckboxIndeterminate",void 0),tr([Wr()],wi.prototype,"toggleAllCheckboxTooltipMessage",void 0),tr([Wr()],wi.prototype,"toogleAllCheckboxTooltipPosition",void 0),tr([Wr()],wi.prototype,"hideClearSearchButton",void 0),tr([Wr()],wi.prototype,"alwaysRestoreSelectedOptionsMulti",void 0),tr([s3()],wi.prototype,"toggleAll",void 0),tr([Qa("searchSelectInput",{read:Zt,static:!0})],wi.prototype,"searchSelectInput",void 0),tr([Qa("innerSelectSearch",{read:Zt,static:!0})],wi.prototype,"innerSelectSearch",void 0),tr([Dv(FF,{static:!1})],wi.prototype,"clearIcon",void 0),tr([o3("class.mat-select-search-inside-mat-option")],wi.prototype,"isInsideMatOption",null),wi=$0=tr([pm(0,ya(ko)),pm(3,yr()),pm(3,ya(oa)),pm(5,yr()),pm(5,ya(Er))],wi);let jF=(()=>{let n=class{};return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Ht({type:n}),n.\u0275inj=He({imports:[[di,l_,Bd,uO,l0,uP,y0]]}),n})(),dc=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Ht({type:n}),n.\u0275inj=He({imports:[[js,_l,cP,jF,Do.forChild()]]}),n})(),$d=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Ht({type:n}),n.\u0275inj=He({imports:[[di,js]]}),n})(),pre=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Ht({type:n}),n.\u0275inj=He({imports:[[di,_l,js,dc,$d,Do.forChild()]]}),n})(),mre=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Ht({type:n}),n.\u0275inj=He({imports:[[di,_l,js,dc,$d,Do.forChild(),jF]]}),n})(),fre=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Ht({type:n}),n.\u0275inj=He({imports:[[di]]}),n})(),gre=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Ht({type:n}),n.\u0275inj=He({imports:[[di]]}),n})(),_re=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Ht({type:n}),n.\u0275inj=He({imports:[[di,_l,js,dc,$d,Do.forChild()]]}),n})(),yre=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Ht({type:n}),n.\u0275inj=He({imports:[[di,_l,js,dc,$d,Do.forChild()]]}),n})();const BF={[Mn.phaseBugReporting]:{[An.Student]:{isIssueCreatable:!0,isIssueDeletable:!0,isIssueTitleEditable:!0,isIssueDescriptionEditable:!0,isIssueLabelsEditable:!0,isTeamResponseEditable:!1,isTesterResponseEditable:!1,isTutorResponseEditable:!1},[An.Tutor]:{isIssueCreatable:!1,isIssueDeletable:!1,isIssueTitleEditable:!1,isIssueDescriptionEditable:!1,isIssueLabelsEditable:!1,isTeamResponseEditable:!1,isTesterResponseEditable:!1,isTutorResponseEditable:!1},[An.Admin]:{isIssueCreatable:!0,isIssueDeletable:!0,isIssueTitleEditable:!0,isIssueDescriptionEditable:!0,isIssueLabelsEditable:!0,isTeamResponseEditable:!1,isTesterResponseEditable:!1,isTutorResponseEditable:!1}},[Mn.phaseTeamResponse]:{[An.Student]:{isIssueCreatable:!1,isIssueDeletable:!1,isIssueTitleEditable:!1,isIssueDescriptionEditable:!1,isIssueLabelsEditable:!0,isTeamResponseEditable:!0,isTesterResponseEditable:!1,isTutorResponseEditable:!1},[An.Tutor]:{isIssueCreatable:!1,isIssueDeletable:!1,isIssueTitleEditable:!1,isIssueDescriptionEditable:!1,isIssueLabelsEditable:!1,isTeamResponseEditable:!1,isTesterResponseEditable:!1,isTutorResponseEditable:!1},[An.Admin]:{isIssueCreatable:!1,isIssueDeletable:!1,isIssueTitleEditable:!1,isIssueDescriptionEditable:!0,isIssueLabelsEditable:!0,isTeamResponseEditable:!0,isTesterResponseEditable:!1,isTutorResponseEditable:!1}},[Mn.phaseTesterResponse]:{[An.Student]:{isIssueCreatable:!1,isIssueDeletable:!1,isIssueTitleEditable:!1,isIssueDescriptionEditable:!1,isIssueLabelsEditable:!1,isTeamResponseEditable:!1,isTesterResponseEditable:!0,isTutorResponseEditable:!1},[An.Tutor]:{isIssueCreatable:!1,isIssueDeletable:!1,isIssueTitleEditable:!1,isIssueDescriptionEditable:!1,isIssueLabelsEditable:!1,isTeamResponseEditable:!1,isTesterResponseEditable:!1,isTutorResponseEditable:!1},[An.Admin]:{isIssueCreatable:!1,isIssueDeletable:!1,isIssueTitleEditable:!1,isIssueDescriptionEditable:!0,isIssueLabelsEditable:!0,isTeamResponseEditable:!0,isTesterResponseEditable:!0,isTutorResponseEditable:!1}},[Mn.phaseModeration]:{[An.Student]:{isIssueCreatable:!1,isIssueDeletable:!1,isIssueTitleEditable:!1,isIssueDescriptionEditable:!1,isIssueLabelsEditable:!1,isTeamResponseEditable:!1,isTesterResponseEditable:!1,isTutorResponseEditable:!1},[An.Tutor]:{isIssueCreatable:!1,isIssueDeletable:!1,isIssueTitleEditable:!1,isIssueDescriptionEditable:!0,isIssueLabelsEditable:!0,isTeamResponseEditable:!1,isTesterResponseEditable:!1,isTutorResponseEditable:!0},[An.Admin]:{isIssueCreatable:!1,isIssueDeletable:!1,isIssueTitleEditable:!1,isIssueDescriptionEditable:!0,isIssueLabelsEditable:!0,isTeamResponseEditable:!1,isTesterResponseEditable:!1,isTutorResponseEditable:!0}}};let Hs=(()=>{class n{constructor(e,i){this.userService=e,this.phaseService=i}isIssueCreatable(){return this.askForPermission("User","isIssueCreatable")}isIssueDeletable(){return this.askForPermission("User","isIssueDeletable")}isIssueTitleEditable(){return this.askForPermission("User","isIssueTitleEditable")}isIssueDescriptionEditable(){return this.askForPermission("User","isIssueDescriptionEditable")}isIssueLabelsEditable(){return this.askForPermission("User","isIssueLabelsEditable")}isTesterResponseEditable(){return this.askForPermission("User","isTesterResponseEditable")}isTeamResponseEditable(){return this.askForPermission("User","isTeamResponseEditable")}isTutorResponseEditable(){return this.askForPermission("User","isTutorResponseEditable")}isIssueEditable(){return this.isIssueTitleEditable()||this.isIssueDescriptionEditable()||this.isIssueLabelsEditable()||this.isTeamResponseEditable()||this.isTesterResponseEditable()||this.isTutorResponseEditable()}askForPermission(e,i){switch(e){case"Phase":return BF[this.phaseService.currentPhase][i];case"User":return BF[this.phaseService.currentPhase][this.userService.currentUser.role][i];default:return!1}}}return n.\u0275fac=function(e){return new(e||n)(Se(Cr),Se(er))},n.\u0275prov=De({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();function vre(n,t){1&n&&(x(0,"div",2),wt(1,"mat-spinner",3),O()),2&n&&(j(1),H("diameter",47))}function bre(n,t){if(1&n){const e=on();x(0,"app-issue-description",13),tt("changeEditState",function(r){return zt(e),Ce(2).updateDescriptionEditState(r)})("issueUpdated",function(r){return zt(e),Ce(2).updateIssue(r)}),O()}if(2&n){const e=Ce(2);H("isEditing",e.isIssueDescriptionEditing)("issue",e.issue)}}function wre(n,t){if(1&n){const e=on();x(0,"app-team-response",14),tt("updateEditState",function(r){return zt(e),Ce(2).updateTeamResponseEditState(r)})("issueUpdated",function(r){return zt(e),Ce(2).updateIssue(r)}),O()}if(2&n){const e=Ce(2);H("issue",e.issue)("isEditing",e.isTeamResponseEditing)}}function Mre(n,t){if(1&n){const e=on();x(0,"app-new-team-response",4),tt("issueUpdated",function(r){return zt(e),Ce(2).updateIssue(r)}),O()}2&n&&H("issue",Ce(2).issue)}function Dre(n,t){1&n&&wt(0,"app-parse-error",15),2&n&&H("phase","Team Response")}function Ere(n,t){if(1&n){const e=on();x(0,"app-tester-response",14),tt("updateEditState",function(r){return zt(e),Ce(2).updateTesterResponseEditState(r)})("issueUpdated",function(r){return zt(e),Ce(2).updateIssue(r)}),O()}if(2&n){const e=Ce(2);H("issue",e.issue)("isEditing",e.isTesterResponseEditing)}}function Cre(n,t){1&n&&wt(0,"app-parse-error",15),2&n&&H("phase","Tester Response")}function Tre(n,t){1&n&&wt(0,"app-team-accepted")}function Sre(n,t){if(1&n){const e=on();x(0,"app-issue-dispute",16),tt("issueUpdated",function(r){return zt(e),Ce(2).updateIssue(r)})("updateEditState",function(r){return zt(e),Ce(2).updateTutorResponseEditState(r)}),O()}if(2&n){const e=Ce(2);H("issue",e.issue)("isEditing",e.isTutorResponseEditing)}}function kre(n,t){if(1&n){const e=on();x(0,"app-issue-label",19),tt("issueUpdated",function(r){return zt(e),Ce(3).updateIssue(r)}),O()}2&n&&H("issue",Ce(3).issue)}function xre(n,t){if(1&n){const e=on();x(0,"div"),wt(1,"mat-divider"),x(2,"app-issue-label",20),tt("issueUpdated",function(r){return zt(e),Ce(3).updateIssue(r)}),O()()}if(2&n){const e=Ce(3);j(2),H("issue",e.issue)}}function Ire(n,t){if(1&n){const e=on();x(0,"div"),wt(1,"mat-divider"),x(2,"app-issue-label",21),tt("issueUpdated",function(r){return zt(e),Ce(3).updateIssue(r)}),O()()}if(2&n){const e=Ce(3);j(2),H("issue",e.issue)}}function Are(n,t){if(1&n){const e=on();x(0,"div"),wt(1,"mat-divider"),x(2,"app-assignee-component",22),tt("issueUpdated",function(r){return zt(e),Ce(3).updateIssue(r)}),O()()}if(2&n){const e=Ce(3);j(2),H("issue",e.issue)("team",e.issue.teamAssigned)}}function Rre(n,t){if(1&n&&(x(0,"div"),wt(1,"mat-divider")(2,"app-duplicated-issues-component",23)(3,"br"),O()),2&n){const e=Ce(3);j(2),H("issue",e.issue)}}function Lre(n,t){if(1&n){const e=on();x(0,"div"),wt(1,"mat-divider"),x(2,"app-duplicate-of-component",4),tt("issueUpdated",function(r){return zt(e),Ce(3).updateIssue(r)}),O()()}if(2&n){const e=Ce(3);j(2),H("issue",e.issue)}}function Ore(n,t){1&n&&(x(0,"div",24),Me(1," * Need your resolution. An issue cannot have both duplicated issues and duplicated status. "),O())}function Pre(n,t){if(1&n){const e=on();x(0,"div"),wt(1,"mat-divider"),x(2,"app-unsure-checkbox",4),tt("issueUpdated",function(r){return zt(e),Ce(3).updateIssue(r)}),O()()}if(2&n){const e=Ce(3);j(2),H("issue",e.issue)}}function Fre(n,t){if(1&n&&(x(0,"div"),Ae(1,kre,1,1,"app-issue-label",17),Ae(2,xre,3,1,"div",1),Ae(3,Ire,3,1,"div",1),Ae(4,Are,3,2,"div",1),Ae(5,Rre,4,1,"div",1),ls(6,"async"),Ae(7,Lre,3,1,"div",1),ls(8,"async"),Ae(9,Ore,2,0,"div",18),ls(10,"async"),ls(11,"async"),Ae(12,Pre,3,1,"div",1),O()),2&n){const e=Ce(2);j(1),H("ngIf",e.isComponentVisible(e.issueComponentsEnum.SEVERITY_LABEL)),j(1),H("ngIf",e.isComponentVisible(e.issueComponentsEnum.TYPE_LABEL)),j(1),H("ngIf",e.isComponentVisible(e.issueComponentsEnum.RESPONSE_LABEL)),j(1),H("ngIf",e.isComponentVisible(e.issueComponentsEnum.ASSIGNEE)),j(1),H("ngIf",e.isComponentVisible(e.issueComponentsEnum.DUPLICATE)&&0!==cs(6,8,e.issueService.getDuplicateIssuesFor(e.issue)).length),j(2),H("ngIf",e.isComponentVisible(e.issueComponentsEnum.DUPLICATE)&&(e.issue.duplicateOf||0===cs(8,10,e.issueService.getDuplicateIssuesFor(e.issue)).length)),j(2),H("ngIf",e.isComponentVisible(e.issueComponentsEnum.DUPLICATE)&&0!==cs(10,12,e.issueService.getDuplicateIssuesFor(e.issue)).length&&(e.issue.duplicateOf||0===cs(11,14,e.issueService.getDuplicateIssuesFor(e.issue)).length)),j(3),H("ngIf",e.isComponentVisible(e.issueComponentsEnum.UNSURE_CHECKBOX))}}function Nre(n,t){if(1&n){const e=on();x(0,"div")(1,"app-issue-title",4),tt("issueUpdated",function(r){return zt(e),Ce().updateIssue(r)}),O(),wt(2,"mat-divider"),x(3,"div",5)(4,"div",6),Ae(5,bre,1,2,"app-issue-description",7),Ae(6,wre,1,2,"app-team-response",8),Ae(7,Mre,1,1,"app-new-team-response",9),Ae(8,Dre,1,1,"app-parse-error",10),Ae(9,Ere,1,2,"app-tester-response",8),Ae(10,Cre,1,1,"app-parse-error",10),Ae(11,Tre,1,0,"app-team-accepted",1),Ae(12,Sre,1,2,"app-issue-dispute",11),O(),x(13,"div",12),Ae(14,Fre,13,16,"div",1),O()()()}if(2&n){const e=Ce();j(1),H("issue",e.issue),j(4),H("ngIf",e.isComponentVisible(e.issueComponentsEnum.TESTER_POST)),j(1),H("ngIf",e.isComponentVisible(e.issueComponentsEnum.TEAM_RESPONSE)&&e.issue.teamResponse),j(1),H("ngIf",e.hasNoTeamResponse()),j(1),H("ngIf",e.hasTeamResponseParseError()),j(1),H("ngIf",e.isComponentVisible(e.issueComponentsEnum.TESTER_RESPONSE)&&e.issue.testerResponses&&0!==e.issue.testerResponses.length),j(1),H("ngIf",e.isComponentVisible(e.issueComponentsEnum.TESTER_RESPONSE)&&e.issue.testerResponseError),j(1),H("ngIf",e.isComponentVisible(e.issueComponentsEnum.TESTER_RESPONSE)&&e.issue.teamAccepted),j(1),H("ngIf",e.isComponentVisible(e.issueComponentsEnum.ISSUE_DISPUTE)),j(2),H("ngIf",e.isComponentVisible(e.issueComponentsEnum.NEW_TEAM_RESPONSE)&&e.issue.teamResponse||e.isComponentVisible(e.issueComponentsEnum.TESTER_RESPONSE)&&e.userService.currentUser.role===e.userRole.Student||e.isComponentVisible(e.issueComponentsEnum.ISSUE_DISPUTE)||!e.isComponentVisible(e.issueComponentsEnum.TEAM_RESPONSE))}}var Oi=(()=>(function(n){n[n.TESTER_POST=0]="TESTER_POST",n[n.TEAM_RESPONSE=1]="TEAM_RESPONSE",n[n.NEW_TEAM_RESPONSE=2]="NEW_TEAM_RESPONSE",n[n.TESTER_RESPONSE=3]="TESTER_RESPONSE",n[n.ISSUE_DISPUTE=4]="ISSUE_DISPUTE",n[n.SEVERITY_LABEL=5]="SEVERITY_LABEL",n[n.TYPE_LABEL=6]="TYPE_LABEL",n[n.RESPONSE_LABEL=7]="RESPONSE_LABEL",n[n.ASSIGNEE=8]="ASSIGNEE",n[n.DUPLICATE=9]="DUPLICATE",n[n.UNSURE_CHECKBOX=10]="UNSURE_CHECKBOX"}(Oi||(Oi={})),Oi))();let yl=(()=>{class n{constructor(e,i,r,s,o,a){this.errorHandlingService=e,this.permissions=i,this.userService=r,this.issueService=s,this.phaseService=o,this.router=a,this.isIssueLoading=!0,this.isTutorResponseEditing=!1,this.isIssueDescriptionEditing=!1,this.isTeamResponseEditing=!1,this.isTesterResponseEditing=!1,this.issueComponentsEnum=Oi,this.userRole=An}ngOnInit(){this.getAndPollIssue(this.issueId)}ngOnChanges(e){e.issueId.firstChange||(this.stopPolling(),this.isIssueLoading=!0,this.getAndPollIssue(e.issueId.currentValue))}ngOnDestroy(){this.stopPolling()}isComponentVisible(e){return this.issueComponents.includes(e)}isEditing(){return this.isIssueDescriptionEditing||this.isTutorResponseEditing||this.isTeamResponseEditing}updateIssue(e){this.issue=e,this.issueService.updateLocalStore(e)}updateDescriptionEditState(e){this.isIssueDescriptionEditing=e}updateTeamResponseEditState(e){this.isTeamResponseEditing=e}updateTesterResponseEditState(e){this.isTesterResponseEditing=e}updateTutorResponseEditState(e){this.isTutorResponseEditing=e}hasNoTeamResponse(){return this.isComponentVisible(this.issueComponentsEnum.NEW_TEAM_RESPONSE)&&this.permissions.isTeamResponseEditable()&&!this.issue.teamResponse&&!this.issue.status}hasTeamResponseParseError(){return this.isComponentVisible(this.issueComponentsEnum.NEW_TEAM_RESPONSE)&&this.permissions.isTeamResponseEditable()&&this.issue.teamResponseError&&!!this.issue.status}getAndPollIssue(e){this.issueService.getIssue(e).subscribe(i=>{this.isIssueLoading=!1,this.issue=i,this.pollIssue(e)},i=>{this.router.navigateByUrl(this.phaseService.currentPhase).then(()=>{this.errorHandlingService.handleError(new Error("Invalid URL provided!"))})})}pollIssue(e){this.issueSubscription=this.issueService.pollIssue(e).subscribe(i=>{const r=i.clone(this.phaseService.currentPhase);this.isIssueLoading||(this.isIssueDescriptionEditing||this.isTeamResponseEditing||!this.issue.teamResponse&&r.teamResponse||this.isTesterResponseEditing||this.isTutorResponseEditing)&&r.retainResponses(this.phaseService.currentPhase,this.issue),this.issue=r,this.isIssueLoading=!1},i=>{this.errorHandlingService.handleError(i,()=>this.pollIssue(e))})}stopPolling(){this.issueSubscription&&this.issueSubscription.unsubscribe()}}return n.\u0275fac=function(e){return new(e||n)(M(Gi),M(Hs),M(Cr),M(Di),M(er),M(Xi))},n.\u0275cmp=At({type:n,selectors:[["app-view-issue"]],inputs:{issueId:"issueId",issueComponents:"issueComponents"},features:[Jn],decls:2,vars:2,consts:[["class","centralize",4,"ngIf"],[4,"ngIf"],[1,"centralize"],[3,"diameter"],[3,"issue","issueUpdated"],[1,"row"],[1,"column","left"],["descriptionTitle","Description of Issue",3,"isEditing","issue","changeEditState","issueUpdated",4,"ngIf"],[3,"issue","isEditing","updateEditState","issueUpdated",4,"ngIf"],[3,"issue","issueUpdated",4,"ngIf"],[3,"phase",4,"ngIf"],[3,"issue","isEditing","issueUpdated","updateEditState",4,"ngIf"],[1,"column","right"],["descriptionTitle","Description of Issue",3,"isEditing","issue","changeEditState","issueUpdated"],[3,"issue","isEditing","updateEditState","issueUpdated"],[3,"phase"],[3,"issue","isEditing","issueUpdated","updateEditState"],["attributeName","severity",3,"issue","issueUpdated",4,"ngIf"],["style","margin-top: 15px; color: red",4,"ngIf"],["attributeName","severity",3,"issue","issueUpdated"],["attributeName","type",3,"issue","issueUpdated"],["attributeName","response",3,"issue","issueUpdated"],[3,"issue","team","issueUpdated"],[3,"issue"],[2,"margin-top","15px","color","red"]],template:function(e,i){1&e&&(Ae(0,vre,2,1,"div",0),Ae(1,Nre,15,10,"div",1)),2&e&&(H("ngIf",i.isIssueLoading),j(1),H("ngIf",!i.isIssueLoading))},styles:[".row[_ngcontent-%COMP%]{display:flex}.column[_ngcontent-%COMP%]{padding:10px;height:100%}.left[_ngcontent-%COMP%]{width:85%}.right[_ngcontent-%COMP%]{width:15%}"]}),n})();function YF(){return n=>n.lift(new jre)}class jre{call(t,e){return e.subscribe(new Bre(t))}}class Bre extends F{constructor(t){super(t),this.hasPrev=!1}_next(t){let e;this.hasPrev?e=[this.prev,t]:this.hasPrev=!0,this.prev=t,e&&this.destination.next(e)}}let Wd=(()=>{class n{constructor(e,i,r){this.spinnerContainerRef=e,this.injector=i,this.document=r,this.isLoading=new xi(!1),this.spinnerComponentRef=null,this.animationMode="indeterminate",this.spinnerTheme="primary",this.classList=[],this.isLoading.pipe(YF()).subscribe(([s,o])=>this.onIsLoadingChange(s,o))}ngOnDestroy(){this.isLoading.complete(),this.detachSpinnerFromDom(),this.spinnerContainerRef=null}addAnimationMode(e){return this.animationMode=e,this}addSpinnerOptions(e){return this.options=e,this}addViewContainerRef(e){return void 0===e||(this.spinnerContainerRef=e),this}addTheme(e){return this.spinnerTheme=e,this}addCssClasses(e){return this.classList=[],this.classList.push(...e),this}showLoader(){this.isLoading.next(!0)}hideLoader(){this.isLoading.next(!1)}onIsLoadingChange(e,i){if(e!==i)return i?this.attachSpinnerToDom():this.detachSpinnerFromDom()}attachSpinnerToDom(){if(null!==this.spinnerComponentRef)return;const e=this.getInjector(),i=this.createSpinner(e);this.isAttachableToDocument()?i.location.nativeElement instanceof Node&&this.document.body.appendChild(i.location.nativeElement):this.spinnerContainerRef.insert(i.hostView),i.changeDetectorRef.detectChanges(),this.spinnerComponentRef=i}detachSpinnerFromDom(){null!==this.spinnerComponentRef&&(this.isAttachableToDocument()?this.spinnerComponentRef.location.nativeElement instanceof Node&&this.document.body.removeChild(this.spinnerComponentRef.location.nativeElement):this.spinnerContainerRef.remove(),this.spinnerComponentRef.destroy(),this.spinnerComponentRef=null)}getInjector(){return this.isAttachableToDocument()?this.injector:this.spinnerContainerRef.injector}isAttachableToDocument(){return null===this.spinnerContainerRef}createSpinner(e){const i=this.spinnerContainerRef.createComponent(Es,{injector:e});this.options&&(i.instance.diameter=this.options.diameter,i.instance.strokeWidth=this.options.strokeWidth),i.instance.mode=this.animationMode,i.instance.color=this.spinnerTheme;const r=i.injector.get(Sa);for(const s of this.classList)r.addClass(i.location.nativeElement,s);return i}}return n.\u0275fac=function(e){return new(e||n)(Se(Si),Se(qi),Se(Dn))},n.\u0275prov=De({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),Yre=(()=>{class n{constructor(e,i,r){this.dialogRef=e,this.data=i,this._sanitizer=r,this.labelName=i.header,this.labelDefinitionHtmlTemplate=r.bypassSecurityTrustHtml(i.body)}onNoClick(){this.dialogRef.close(!1)}}return n.\u0275fac=function(e){return new(e||n)(M(Va),M(ou),M(sl))},n.\u0275cmp=At({type:n,selectors:[["app-label-definition-popup"]],decls:8,vars:2,consts:[[1,"modalPopup"],["mat-dialog-title",""],["mat-dialog-content",""],[3,"innerHTML"],["mat-dialog-actions",""],["mat-raised-button","","color","primary",3,"click"]],template:function(e,i){1&e&&(x(0,"div",0)(1,"h1",1),Me(2),O(),x(3,"div",2),wt(4,"div",3),O(),x(5,"div",4)(6,"button",5),tt("click",function(){return i.onNoClick()}),Me(7,"Close"),O()()()),2&e&&(j(2),vi(i.labelName),j(2),H("innerHTML",i.labelDefinitionHtmlTemplate,Lc))},directives:[au,lu,J_,bi],styles:[".modalPopup[_ngcontent-%COMP%]{min-width:800px}"]}),n})();function Hre(n,t){if(1&n&&(x(0,"p"),Me(1),O()),2&n){const e=t.$implicit;j(1),an(" ",e," ")}}let Vre=(()=>{class n{constructor(e,i){this.dialogRef=e,this.data=i}ngOnInit(){}onNoClick(){this.dialogRef.close(!1)}}return n.\u0275fac=function(e){return new(e||n)(M(Va),M(ou))},n.\u0275cmp=At({type:n,selectors:[["app-user-confirmation"]],decls:9,vars:4,consts:[["mat-dialog-title",""],["mat-dialog-content",""],[4,"ngFor","ngForOf"],["mat-dialog-actions",""],["mat-raised-button","","color","primary",3,"click"],["mat-raised-button","","color","warn",3,"mat-dialog-close"]],template:function(e,i){1&e&&(x(0,"h1",0),Me(1,"Warning"),O(),x(2,"div",1),Ae(3,Hre,2,1,"p",2),O(),x(4,"div",3)(5,"button",4),tt("click",function(){return i.onNoClick()}),Me(6),O(),x(7,"button",5),Me(8),O()()),2&e&&(j(3),H("ngForOf",i.data.messages),j(3),vi(i.data.noMessage),j(1),H("mat-dialog-close",!0),j(1),vi(i.data.yesMessage))},directives:[au,lu,jr,J_,bi,xO],styles:[""]}),n})(),vl=(()=>{class n{constructor(e){this.dialog=e}openUserConfirmationModal(e,i,r){return this.dialog.open(Vre,{data:{messages:e,yesMessage:i,noMessage:r}})}openLabelDefinitionDialog(e,i){return this.dialog.open(Yre,{data:{header:e,body:i}})}checkIfFieldIsModified(e,i,r,s){const o=s[i]||"";return e.get(r).value!==o}performActionIfModified(e,i,r){e?i():r()}}return n.\u0275fac=function(e){return new(e||n)(Se(qa))},n.\u0275prov=De({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const qre=["loadingSpinnerContainer"];function Ure(n,t){if(1&n){const e=on();x(0,"button",7),tt("click",function(){return zt(e),Ce(2).changeToEditMode()}),Me(1," Edit "),O()}}function zre(n,t){1&n&&(x(0,"button",8),Me(1," New Issue "),O()),2&n&&H("routerLink","/"+Ce(2).phaseService.currentPhase+"/issues/new")}function Gre(n,t){if(1&n&&(x(0,"div",2)(1,"h1",3),Me(2),x(3,"span",4),Me(4),O()(),x(5,"div",2),Ae(6,Ure,2,0,"button",5),Ae(7,zre,2,1,"button",6),O()()),2&n){const e=Ce();j(2),an(" ",e.issue.title," "),j(2),an("#",e.issue.id,""),j(2),H("ngIf",e.permissions.isIssueTitleEditable()),j(1),H("ngIf",e.permissions.isIssueCreatable())}}function $re(n,t){1&n&&(x(0,"mat-error"),Me(1," Title is required. "),O())}function Wre(n,t){1&n&&(x(0,"mat-error"),Me(1," Title cannot exceed 256 characters. "),O())}function Qre(n,t){if(1&n&&(x(0,"mat-hint"),Me(1),O()),2&n){const e=Ce(2);j(1),an(" ",256-(null==e.issueTitleForm.get("title").value?null:e.issueTitleForm.get("title").value.length)," characters remaining. ")}}function Kre(n,t){if(1&n){const e=on();x(0,"div")(1,"form",9,10),tt("ngSubmit",function(){zt(e);const r=ki(2);return Ce().updateTitle(r)}),x(3,"mat-form-field",11),wt(4,"input",12),Ae(5,$re,2,0,"mat-error",1),Ae(6,Wre,2,0,"mat-error",1),Ae(7,Qre,2,1,"mat-hint",1),O(),x(8,"button",13),Me(9," Save "),ys(10,null,14),O(),x(12,"button",15),tt("click",function(){return zt(e),Ce().openCancelDialogIfModified()}),Me(13," Cancel "),O()()()}if(2&n){const e=Ce();j(1),H("formGroup",e.issueTitleForm),j(4),H("ngIf",e.issueTitleForm.get("title").hasError("required")),j(1),H("ngIf",e.issueTitleForm.get("title").hasError("maxlength")),j(1),H("ngIf",(null==e.issueTitleForm.get("title").value?null:e.issueTitleForm.get("title").value.length)>=206),j(1),H("disabled",e.issueTitleForm.invalid||e.isSavePending),j(4),H("disabled",e.isSavePending)}}let Zre=(()=>{class n{constructor(e,i,r,s,o,a,l){this.issueService=e,this.formBuilder=i,this.errorHandlingService=r,this.permissions=s,this.phaseService=o,this.dialogService=a,this.loadingService=l,this.isEditing=!1,this.isSavePending=!1,this.issueUpdated=new Yt,this.cancelEditModalMessages=["Do you wish to cancel?","Your changes will be discarded."],this.yesButtonModalMessage="Cancel",this.noButtonModalMessage="Continue editing"}ngOnInit(){this.issueTitleForm=this.formBuilder.group({title:new ta("",[Mr.required,Mr.maxLength(256)])}),this.loadingService.addAnimationMode("indeterminate").addSpinnerOptions({diameter:15,strokeWidth:2}).addCssClasses(["mat-progress-spinner"])}changeToEditMode(){this.isEditing=!0,this.issueTitleForm.setValue({title:this.issue.title||""})}cancelEditMode(){this.isEditing=!1}updateTitle(e){if(this.issueTitleForm.invalid)return;this.showSpinner();const i=this.issue.clone(this.phaseService.currentPhase);i.title=this.issueTitleForm.get("title").value,this.issueService.updateIssue(i).pipe(Ia(()=>{this.isEditing=!1})).subscribe(r=>{this.issueUpdated.emit(r),e.resetForm(),this.hideSpinner()},r=>{this.errorHandlingService.handleError(r),this.hideSpinner()})}openCancelDialogIfModified(){const e=this.dialogService.checkIfFieldIsModified(this.issueTitleForm,"title","title",this.issue);this.dialogService.performActionIfModified(e,()=>this.openCancelDialog(),()=>this.cancelEditMode())}openCancelDialog(){this.dialogService.openUserConfirmationModal(this.cancelEditModalMessages,this.yesButtonModalMessage,this.noButtonModalMessage).afterClosed().subscribe(i=>{i&&this.cancelEditMode()})}showSpinner(){this.loadingService.addViewContainerRef(this.loadingSpinnerContainer).showLoader(),this.isSavePending=!0}hideSpinner(){this.loadingService.hideLoader(),this.isSavePending=!1}}return n.\u0275fac=function(e){return new(e||n)(M(Di),M(tc),M(Gi),M(Hs),M(er),M(vl),M(Wd))},n.\u0275cmp=At({type:n,selectors:[["app-issue-title"]],viewQuery:function(e,i){if(1&e&&hn(qre,5,Si),2&e){let r;Et(r=Ct())&&(i.loadingSpinnerContainer=r.first)}},inputs:{issue:"issue"},outputs:{issueUpdated:"issueUpdated"},features:[tn([Wd])],decls:2,vars:2,consts:[["class","row",4,"ngIf"],[4,"ngIf"],[1,"row"],[1,"mat-display-1","title"],[2,"color","#a3aab1"],["mat-stroked-button","","color","primary","class","title-button",3,"click",4,"ngIf"],["mat-stroked-button","","color","primary","class","title-button",3,"routerLink",4,"ngIf"],["mat-stroked-button","","color","primary",1,"title-button",3,"click"],["mat-stroked-button","","color","primary",1,"title-button",3,"routerLink"],[3,"formGroup","ngSubmit"],["myForm","ngForm"],[2,"width","80%"],["id","title","formControlName","title","matInput","","placeholder","Title","required","","maxlength","256"],["type","submit","mat-stroked-button","","color","primary",1,"title-button",3,"disabled"],["loadingSpinnerContainer",""],["type","button","mat-stroked-button","","color","warn",1,"title-button",3,"disabled","click"]],template:function(e,i){1&e&&(Ae(0,Gre,8,4,"div",0),Ae(1,Kre,14,6,"div",1)),2&e&&(H("ngIf",!i.isEditing),j(1),H("ngIf",i.isEditing))},directives:[ai,bi,Dd,na,ea,ds,Er,Xl,io,Co,Pa,tu,Pp,Zp,r0],styles:[".row[_ngcontent-%COMP%]{display:flex;flex-direction:row;justify-content:space-between;align-items:flex-start}.title[_ngcontent-%COMP%]{margin:0 0 16px;overflow-wrap:anywhere}.title-button[_ngcontent-%COMP%]{display:flex;flex-direction:row;align-items:center;margin:5px;float:right}[_nghost-%COMP%] .mat-progress-spinner{color:#00000080;display:inline-block;vertical-align:middle;margin-left:5px}"]}),n})();var Xre=w(3969);function W0(n){return n.replace(/&/g,"&").replace(//g,">").replace(/"/g,""").replace(/'/g,"'")}function Q0(n){return n.replace(/\n/g,"
    ")}class K0{getHtmlString(){return`<${this.TAG} style="${this.STYLES.join(";")}">${W0(this.content)}`}}class Jre extends K0{constructor(t){super(),this.TYPE="ADDITION",this.TAG="ins",this.STYLES=["background: #d4fcbc","text-decoration: none"],this.content=t}}class ese extends K0{constructor(t){super(),this.TYPE="NO_CHANGE",this.TAG="span",this.STYLES=[],this.content=t}}class tse extends K0{constructor(t){super(),this.TYPE="REMOVAL",this.TAG="del",this.STYLES=["background: #fbb"],this.content=t}}class by{constructor(t,e){this.changes=[],this.outdatedContent=t,this.updatedContent=e;const i=new Xre.diff_match_patch,r=i.diff_main(t,e);i.diff_cleanupSemantic(r);for(const s of r)this.changes.push(-1===s[0]?new tse(s[1]):1===s[0]?new Jre(s[1]):new ese(s[1]))}getHtmlDiffString(){let t="";for(const e of this.changes)t+=e.getHtmlString();return Q0(t)}getHtmlUpdatedString(){return Q0(W0(this.updatedContent))}}function nse(n,t){if(1&n){const e=on();x(0,"mat-slide-toggle",11),tt("change",function(){return zt(e),Ce().handleChangeShowDiff()}),Me(1," Show Difference "),O()}2&n&&H("checked",Ce().showDiff)}function ise(n,t){1&n&&wt(0,"div",13),2&n&&H("innerHTML",Ce(2).diffHtml,Lc)}function rse(n,t){1&n&&wt(0,"div",13),2&n&&H("innerHTML",Ce(2).updatedHtml,Lc)}function sse(n,t){if(1&n&&(x(0,"div",10),Ae(1,ise,1,1,"div",12),Ae(2,rse,1,1,"div",12),O()),2&n){const e=Ce();j(1),H("ngIf",e.showDiff),j(1),H("ngIf",!e.showDiff)}}let HF=(()=>{class n{constructor(e,i,r,s,o){this.dialogRef=e,this.data=i,this.sanitizer=r,this.labelService=s,this.issueService=o,this.isOnPreview=!1,this.isReady=!1,this.showDiff=!0,this.diffHtml=this.sanitizer.bypassSecurityTrustHtml(i.getHtmlDiffString()),this.updatedHtml=this.sanitizer.bypassSecurityTrustHtml(i.getHtmlUpdatedString()),this.isReady=!0}close(){this.dialogRef.close()}handleChangeShowDiff(){this.showDiff=!this.showDiff}handleTabChange(e){this.isOnPreview=1===e.index}}return n.\u0275fac=function(e){return new(e||n)(M(Va),M(ou),M(sl),M(ei),M(Di))},n.\u0275cmp=At({type:n,selectors:[["app-conflict-dialog"]],decls:16,vars:4,consts:[[2,"display","flex","margin-bottom","20px","align-items","center"],["mat-dialog-title","",2,"margin","0"],["style","display: inline-block; margin-left: 50px","color","primary",3,"checked","change",4,"ngIf"],["mat-icon-button","","color","default",2,"margin","0 0 0 auto",3,"click"],["mat-dialog-content","",2,"display","flex"],[1,"full-width"],["animationDuration","0ms",1,"mat-elevation-z1",3,"selectedTabChange"],["label","Markdown Text"],["class","tab-content",4,"ngIf"],["label","Preview Updated Content"],[1,"tab-content"],["color","primary",2,"display","inline-block","margin-left","50px",3,"checked","change"],[3,"innerHTML",4,"ngIf"],[3,"innerHTML"]],template:function(e,i){1&e&&(x(0,"div",0)(1,"h1",1),Me(2),O(),Ae(3,nse,2,1,"mat-slide-toggle",2),x(4,"button",3),tt("click",function(){return i.close()}),x(5,"mat-icon"),Me(6,"close"),O()()(),x(7,"div",4)(8,"div",5)(9,"mat-tab-group",6),tt("selectedTabChange",function(s){return i.handleTabChange(s)}),x(10,"mat-tab",7),Ae(11,sse,3,2,"div",8),O(),x(12,"mat-tab",9)(13,"div",10)(14,"markdown"),Me(15),O()()()()()()),2&e&&(j(2),vi("The content you are editing has changed"),j(1),H("ngIf",!i.isOnPreview),j(8),H("ngIf",i.isReady),j(4),vi(i.data.updatedContent))},directives:[au,ai,M0,bi,hs,lu,ly,om,cl],styles:[".tab-content[_ngcontent-%COMP%]{padding:10px;min-height:300px;max-height:55vh}.full-width[_ngcontent-%COMP%]{min-width:80vh;width:100%}"]}),n})();class Z0 extends Error{constructor(){super("Invalid link!"),Object.setPrototypeOf(this,Z0.prototype)}}let Qd=(()=>{class n{constructor(e){this.errorHandlingService=e}onClick(e){const i=e.target;i instanceof HTMLAnchorElement&&i.href.startsWith(i.baseURI)&&(this.errorHandlingService.handleError(new Z0),e.preventDefault(),e.stopPropagation())}}return n.\u0275fac=function(e){return new(e||n)(M(Gi))},n.\u0275dir=rt({type:n,selectors:[["","disableInternalLink",""]],hostBindings:function(e,i){1&e&&tt("click",function(s){return i.onClick(s)})}}),n})();class X0{constructor(t,e,i=0){this.historyArray=new Array(t),this.firstEntryIndex=0,this.lastEntryIndex=-1,this.currIndex=-1,this.getState=e,this.isSaved=!1,this.saveRunning=!1,this.intervalTime=i}static isUndo(t){return 0===navigator.platform.indexOf("Mac")?t.metaKey&&"KeyZ"===t.code&&!t.shiftKey:t.ctrlKey&&"KeyZ"===t.code&&!t.shiftKey}static isRedo(t){return 0===navigator.platform.indexOf("Mac")?t.metaKey&&t.shiftKey&&"KeyZ"===t.code:t.ctrlKey&&t.shiftKey&&"KeyZ"===t.code||t.ctrlKey&&"KeyY"===t.code}updateBeforeChange(t){if(-1===this.currIndex)return this.addEntry(null!=t?t:this.getState(),!1);this.createDelayedSave()}createDelayedSave(){this.saveRunning||(this.isSaved=!1,this.saveRunning=!0,this.timeout=setTimeout(()=>{this.addEntry(this.getState(),!!this.intervalTime)},this.intervalTime))}addEntry(t,e=!0){this.isSaved=e;const i=this.incrementIndex(this.currIndex);i===this.firstEntryIndex&&-1!==this.currIndex&&(this.firstEntryIndex=this.incrementIndex(this.firstEntryIndex)),this.lastEntryIndex=i,this.currIndex=i,this.historyArray[this.currIndex]=t,this.saveRunning=!1}incrementIndex(t){return(t+1)%this.historyArray.length}decrementIndex(t){return(t-1+this.historyArray.length)%this.historyArray.length}forceSave(t,e=!1,i=!0){clearTimeout(this.timeout),(!e||!this.isSaved)&&this.addEntry(null!=t?t:this.getState(),i),this.isSaved=i}wrapSave(t,e=!0){clearTimeout(this.timeout),(!e||!this.isSaved)&&this.addEntry(this.getState(),!1),t(),this.addEntry(this.getState(),!0)}undo(){return this.forceSave(void 0,!0),this.currIndex===this.firstEntryIndex||-1===this.currIndex?null:(this.currIndex=this.decrementIndex(this.currIndex),this.historyArray[this.currIndex])}redo(){return this.forceSave(void 0,!0),this.currIndex===this.lastEntryIndex?null:(this.currIndex=this.incrementIndex(this.currIndex),this.historyArray[this.currIndex])}}const VF=["mp4","mov"],wy=["gif","jpeg","jpg","png","docx","gz","log","pdf","pptx","txt","xlsx","zip",...VF],qF="We don't support that file type. Try again with "+wy.join(", ")+".",UF=(n,t)=>`Oops, ${n} is too big. Keep it under ${t}MiB.`;let ose=(()=>{class n{constructor(e){this.githubService=e}uploadFile(e,i){let r;r=e instanceof ArrayBuffer?String.fromCharCode.apply(null,new Uint16Array(e)):e;const s=this.getFileExtension(i);if(wy.includes(s.toLowerCase())){r=r.split(",")[1];const o=uy(),a=()=>this.githubService.uploadFile(`${o}.${s}`,r);return a().pipe(Ni(l=>404!==l.status?Qi(l):Wt(!1)),ue(l=>l?Wt(l):this.githubService.createBranch().pipe(ue(a))))}return Qi(qF)}getFileExtension(e){return e.split(".").pop()}isVideoFile(e){const i=this.getFileExtension(e);return VF.includes(i.toLowerCase())}isSupportedFileType(e){const i=this.getFileExtension(e);return wy.includes(i.toLowerCase())}}return n.\u0275fac=function(e){return new(e||n)(Se(fr))},n.\u0275prov=De({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const ase=["gif","jpeg","jpg","png"];function zF(n,t,e,i){const r=i.nativeElement.selectionEnd,s=`[Uploading ${n}...]`,o=e.value.indexOf(s),a=o+s.length,l=o+t.length,f=r>o-1&&r<=a?l:r ",multiline:!0,surroundWithNewlines:!0},code:{prefix:"`",suffix:"`",blockPrefix:"```",blockSuffix:"```"},link:{prefix:"[",suffix:"](url)",replaceNext:"url",scanFor:"https?://"},image:{prefix:"![",suffix:"](url)",replaceNext:"url",scanFor:"https?://"},"unordered-list":{prefix:"- ",multiline:!0,unorderedList:!0},"ordered-list":{prefix:"1. ",multiline:!0,orderedList:!0},"task-list":{prefix:"- [ ] ",multiline:!0,surroundWithNewlines:!0},mention:{prefix:"@",prefixSpace:!0},ref:{prefix:"#",prefixSpace:!0},strikethrough:{prefix:"~~",suffix:"~~",trimFirst:!0}};class so extends HTMLElement{constructor(){super();const t=e=>{const i=Ss.get(this);!i||(e.preventDefault(),iE(this,i))};this.addEventListener("keydown",WF(t)),this.addEventListener("click",t)}connectedCallback(){this.hasAttribute("role")||this.setAttribute("role","button")}click(){const t=Ss.get(this);!t||iE(this,t)}}class QF extends so{constructor(){super(...arguments),My.add(this)}connectedCallback(){const t=parseInt(this.getAttribute("level")||"3",10);GF(this,My,"m",J0).call(this,t)}static get observedAttributes(){return["level"]}attributeChangedCallback(t,e,i){if("level"!==t)return;const r=parseInt(i||"3",10);GF(this,My,"m",J0).call(this,r)}}My=new WeakSet,J0=function(t){if(t<1||t>6)return;const e=`${"#".repeat(t)} `;Ss.set(this,{prefix:e})},window.customElements.get("md-header")||(window.MarkdownHeaderButtonElement=QF,window.customElements.define("md-header",QF));class KF extends so{connectedCallback(){Ss.set(this,{prefix:"**",suffix:"**",trimFirst:!0})}}window.customElements.get("md-bold")||(window.MarkdownBoldButtonElement=KF,window.customElements.define("md-bold",KF));class ZF extends so{connectedCallback(){Ss.set(this,{prefix:"_",suffix:"_",trimFirst:!0})}}window.customElements.get("md-italic")||(window.MarkdownItalicButtonElement=ZF,window.customElements.define("md-italic",ZF));class XF extends so{connectedCallback(){Ss.set(this,{prefix:"> ",multiline:!0,surroundWithNewlines:!0})}}window.customElements.get("md-quote")||(window.MarkdownQuoteButtonElement=XF,window.customElements.define("md-quote",XF));class JF extends so{connectedCallback(){Ss.set(this,{prefix:"`",suffix:"`",blockPrefix:"```",blockSuffix:"```"})}}window.customElements.get("md-code")||(window.MarkdownCodeButtonElement=JF,window.customElements.define("md-code",JF));class eN extends so{connectedCallback(){Ss.set(this,{prefix:"[",suffix:"](url)",replaceNext:"url",scanFor:"https?://"})}}window.customElements.get("md-link")||(window.MarkdownLinkButtonElement=eN,window.customElements.define("md-link",eN));class tN extends so{connectedCallback(){Ss.set(this,{prefix:"![",suffix:"](url)",replaceNext:"url",scanFor:"https?://"})}}window.customElements.get("md-image")||(window.MarkdownImageButtonElement=tN,window.customElements.define("md-image",tN));class nN extends so{connectedCallback(){Ss.set(this,{prefix:"- ",multiline:!0,unorderedList:!0})}}window.customElements.get("md-unordered-list")||(window.MarkdownUnorderedListButtonElement=nN,window.customElements.define("md-unordered-list",nN));class iN extends so{connectedCallback(){Ss.set(this,{prefix:"1. ",multiline:!0,orderedList:!0})}}window.customElements.get("md-ordered-list")||(window.MarkdownOrderedListButtonElement=iN,window.customElements.define("md-ordered-list",iN));class rN extends so{connectedCallback(){Ss.set(this,{prefix:"- [ ] ",multiline:!0,surroundWithNewlines:!0})}}window.customElements.get("md-task-list")||(window.MarkdownTaskListButtonElement=rN,window.customElements.define("md-task-list",rN));class sN extends so{connectedCallback(){Ss.set(this,{prefix:"@",prefixSpace:!0})}}window.customElements.get("md-mention")||(window.MarkdownMentionButtonElement=sN,window.customElements.define("md-mention",sN));class oN extends so{connectedCallback(){Ss.set(this,{prefix:"#",prefixSpace:!0})}}window.customElements.get("md-ref")||(window.MarkdownRefButtonElement=oN,window.customElements.define("md-ref",oN));class aN extends so{connectedCallback(){Ss.set(this,{prefix:"~~",suffix:"~~",trimFirst:!0})}}function lN(n){const{target:t,currentTarget:e}=n;if(!(t instanceof Element))return;const i=t.closest("[data-md-button]");if(!i||i.closest("markdown-toolbar")!==e)return;const r=i.getAttribute("data-md-button"),s=hse[r];!s||(n.preventDefault(),iE(t,s))}function cN(n){n.addEventListener("keydown",hN),n.setAttribute("tabindex","0"),n.addEventListener("focus",dN,{once:!0})}function uN(n){n.removeEventListener("keydown",hN),n.removeAttribute("tabindex"),n.removeEventListener("focus",dN)}window.customElements.get("md-strikethrough")||(window.MarkdownStrikethroughButtonElement=aN,window.customElements.define("md-strikethrough",aN));let eE=(()=>{class n extends HTMLElement{connectedCallback(){this.hasAttribute("role")||this.setAttribute("role","toolbar"),this.hasAttribute("data-no-focus")||cN(this),this.addEventListener("keydown",WF(lN)),this.addEventListener("click",lN)}attributeChangedCallback(e,i,r){"data-no-focus"===e&&(null===r?cN(this):uN(this))}disconnectedCallback(){uN(this)}get field(){const e=this.getAttribute("for");if(!e)return null;const i="getRootNode"in this?this.getRootNode():document;let r;return(i instanceof Document||i instanceof ShadowRoot)&&(r=i.getElementById(e)),r instanceof HTMLTextAreaElement?r:null}}return n.observedAttributes=["data-no-focus"],n})();function dN({target:n}){if(!(n instanceof Element))return;n.removeAttribute("tabindex");let t="0";for(const e of $F(n))e.setAttribute("tabindex",t),"0"===t&&(e.focus(),t="-1")}function hN(n){const t=n.key;if("ArrowRight"!==t&&"ArrowLeft"!==t&&"Home"!==t&&"End"!==t)return;const e=n.currentTarget;if(!(e instanceof HTMLElement))return;const i=$F(e),r=i.indexOf(n.target),s=i.length;if(-1===r)return;let o=0;"ArrowLeft"===t&&(o=r-1),"ArrowRight"===t&&(o=r+1),"End"===t&&(o=s-1),o<0&&(o=s-1),o>s-1&&(o=0);for(let a=0;a1}function pN(n,t){return Array(t+1).join(n)}window.customElements.get("markdown-toolbar")||(window.MarkdownToolbarElement=eE,window.customElements.define("markdown-toolbar",eE));let du=null;function nE(n){const t=n.value.slice(0,n.selectionStart),e=n.value.slice(n.selectionEnd),i=t.match(/\n*$/),r=e.match(/^\n*/),s=i?i[0].length:0,o=r?r[0].length:0;let a,l;return t.match(/\S/)&&s<2&&(a=pN("\n",2-s)),e.match(/\S/)&&o<2&&(l=pN("\n",2-o)),null==a&&(a=""),null==l&&(l=""),{newlinesToAppend:a,newlinesToPrepend:l}}function mN(n){const t=n.split("\n"),e=/^\d+\.\s+/,i=t.every(s=>e.test(s));let r=t;return i&&(r=t.map(s=>s.replace(e,""))),{text:r.join("\n"),processed:i}}function fN(n){const t=n.split("\n"),i=t.every(s=>s.startsWith("- "));let r=t;return i&&(r=t.map(s=>s.slice("- ".length,s.length))),{text:r.join("\n"),processed:i}}function mm(n,t){return t?"- ":`${n+1}. `}function iE(n,t){const e=n.closest("markdown-toolbar");if(!(e instanceof eE))return;const r=Object.assign(Object.assign({},{prefix:"",suffix:"",blockPrefix:"",blockSuffix:"",multiline:!1,replaceNext:"",prefixSpace:!1,scanFor:"",surroundWithNewlines:!1,orderedList:!1,unorderedList:!1,trimFirst:!1}),t),s=e.field;s&&(s.focus(),function gse(n,t){const e=n.value.slice(n.selectionStart,n.selectionEnd);let i;i=t.orderedList||t.unorderedList?function Mse(n,t){const e=n.selectionStart===n.selectionEnd;let i=n.selectionStart,r=n.selectionEnd;!function _se(n){const t=n.value.split("\n");let e=0;for(let i=0;i=e&&n.selectionStart=e&&n.selectionEnd`${mm(We,t.unorderedList)}${Fe}`),f=h.reduce((Fe,We,it)=>Fe+mm(it,t.unorderedList).length,0),D=h.reduce((Fe,We,it)=>Fe+mm(it,!t.unorderedList).length,0);if(o.processed)return e?(i=Math.max(i-mm(0,t.unorderedList).length,0),r=i):(i=n.selectionStart,r=n.selectionEnd-f),{text:l,selectionStart:i,selectionEnd:r};const{newlinesToAppend:k,newlinesToPrepend:Y}=nE(n),oe=k+h.join("\n")+Y;return e?(i=Math.max(i+mm(0,t.unorderedList).length+k.length,0),r=i):a.processed?(i=Math.max(n.selectionStart+k.length,0),r=n.selectionEnd+k.length+f-D):(i=Math.max(n.selectionStart+k.length,0),r=n.selectionEnd+k.length+f),{text:oe,selectionStart:i,selectionEnd:r}}(n,t):t.multiline&&tE(e)?function bse(n,t){const{prefix:e,suffix:i,surroundWithNewlines:r}=t;let s=n.value.slice(n.selectionStart,n.selectionEnd),o=n.selectionStart,a=n.selectionEnd;const l=s.split("\n");if(l.every(f=>f.startsWith(e)&&f.endsWith(i)))s=l.map(f=>f.slice(e.length,f.length-i.length)).join("\n"),a=o+s.length;else if(s=l.map(f=>e+f+i).join("\n"),r){const{newlinesToAppend:f,newlinesToPrepend:D}=nE(n);o+=f.length,a=o+s.length,s=f+s+D}return{text:s,selectionStart:o,selectionEnd:a}}(n,t):function vse(n,t){let e,i;const{prefix:r,suffix:s,blockPrefix:o,blockSuffix:a,replaceNext:l,prefixSpace:h,scanFor:f,surroundWithNewlines:D}=t,k=n.selectionStart,Y=n.selectionEnd;let oe=n.value.slice(n.selectionStart,n.selectionEnd),Fe=tE(oe)&&o.length>0?`${o}\n`:r,We=tE(oe)&&a.length>0?`\n${a}`:s;if(h){const Gt=n.value[n.selectionStart-1];0!==n.selectionStart&&null!=Gt&&!Gt.match(/\s/)&&(Fe=` ${Fe}`)}oe=function yse(n,t,e,i=!1){if(n.selectionStart===n.selectionEnd)n.selectionStart=function pse(n,t){let e=t;for(;n[e]&&null!=n[e-1]&&!n[e-1].match(/\s/);)e--;return e}(n.value,n.selectionStart),n.selectionEnd=function mse(n,t,e){let i=t;const r=e?/\n/:/\s/;for(;n[i]&&!n[i].match(r);)i++;return i}(n.value,n.selectionEnd,i);else{const r=n.selectionStart-t.length,s=n.selectionEnd+e.length,o=n.value.slice(r,n.selectionStart)===t,a=n.value.slice(n.selectionEnd,s)===e;o&&a&&(n.selectionStart=r,n.selectionEnd=s)}return n.value.slice(n.selectionStart,n.selectionEnd)}(n,Fe,We,t.multiline);let it=n.selectionStart,Ue=n.selectionEnd;const Lt=l.length>0&&We.indexOf(l)>-1&&oe.length>0;if(D){const Gt=nE(n);e=Gt.newlinesToAppend,i=Gt.newlinesToPrepend,Fe=e+r,We+=i}if(oe.startsWith(Fe)&&oe.endsWith(We)){const Gt=oe.slice(Fe.length,oe.length-We.length);if(k===Y){let wn=k-Fe.length;wn=Math.max(wn,it),wn=Math.min(wn,it+Gt.length),it=Ue=wn}else Ue=it+Gt.length;return{text:Gt,selectionStart:it,selectionEnd:Ue}}if(Lt){if(f.length>0&&oe.match(f))return We=We.replace(l,oe),it=Ue=it+Fe.length,{text:Fe+We,selectionStart:it,selectionEnd:Ue};{const Gt=Fe+oe+We;return it=it+Fe.length+oe.length+We.indexOf(l),Ue=it+l.length,{text:Gt,selectionStart:it,selectionEnd:Ue}}}{let Gt=Fe+oe+We;it=k+Fe.length,Ue=Y+Fe.length;const wn=oe.match(/^\s*|\s*$/g);if(t.trimFirst&&wn){const ii=wn[0]||"",Mi=wn[1]||"";Gt=ii+Fe+oe.trim()+We+Mi,it+=ii.length,Ue-=Mi.length}return{text:Gt,selectionStart:it,selectionEnd:Ue}}}(n,t),function fse(n,{text:t,selectionStart:e,selectionEnd:i}){const r=n.selectionStart,s=n.value.slice(0,r),o=n.value.slice(n.selectionEnd);if(null===du||!0===du){n.contentEditable="true";try{du=document.execCommand("insertText",!1,t)}catch(a){du=!1}n.contentEditable="false"}if(du&&!n.value.slice(0,n.selectionStart).endsWith(t)&&(du=!1),!du){try{document.execCommand("ms-beginUndoUnit")}catch(a){}n.value=s+t+o;try{document.execCommand("ms-endUndoUnit")}catch(a){}n.dispatchEvent(new CustomEvent("input",{bubbles:!0,cancelable:!0}))}null!=e&&null!=i?n.setSelectionRange(e,i):n.setSelectionRange(r,n.selectionEnd)}(n,i)}(s,r))}let Dse=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=At({type:n,selectors:[["app-markdown-toolbar"]],inputs:{forTextAreaId:"forTextAreaId"},decls:42,vars:1,consts:[["matTooltip","Add bold text","mat-icon-button","","color","accent"],["matTooltip","Add italic text","mat-icon-button","","color","accent"],["matTooltip","Add heading text","mat-icon-button","","color","accent"],["matTooltip","Add a quote","mat-icon-button","","color","accent"],["matTooltip","Add code","mat-icon-button","","color","accent"],["matTooltip","Add a link","mat-icon-button","","color","accent"],["matTooltip","Add a image via link","mat-icon-button","","color","accent"],["matTooltip","Add a bulleted list","mat-icon-button","","color","accent"],["matTooltip","Add a numbered list","mat-icon-button","","color","accent"],["matTooltip","Add a task list","mat-icon-button","","color","accent"]],template:function(e,i){1&e&&(x(0,"markdown-toolbar")(1,"md-bold")(2,"button",0)(3,"mat-icon"),Me(4,"format_bold"),O()()(),x(5,"md-italic")(6,"button",1)(7,"mat-icon"),Me(8,"format_italic"),O()()(),x(9,"md-header")(10,"button",2)(11,"mat-icon"),Me(12,"title"),O()()(),x(13,"md-quote")(14,"button",3)(15,"mat-icon"),Me(16,"format_quote"),O()()(),x(17,"md-code")(18,"button",4)(19,"mat-icon"),Me(20,"code"),O()()(),x(21,"md-link")(22,"button",5)(23,"mat-icon"),Me(24,"link"),O()()(),x(25,"md-image")(26,"button",6)(27,"mat-icon"),Me(28,"image"),O()()(),x(29,"md-unordered-list")(30,"button",7)(31,"mat-icon"),Me(32,"format_list_bulleted"),O()()(),x(33,"md-ordered-list")(34,"button",8)(35,"mat-icon"),Me(36,"format_list_numbered"),O()()(),x(37,"md-task-list")(38,"md-header")(39,"button",9)(40,"mat-icon"),Me(41,"task"),O()()()()()),2&e&&dn("for",i.forTextAreaId)},directives:[bi,gl,hs],styles:[""]}),n})();const Ese=["dropArea"],Cse=["commentTextArea"],Tse=["markdownArea"];function Sse(n,t){1&n&&(x(0,"mat-error"),Me(1," Description required. "),O())}function kse(n,t){if(1&n&&(x(0,"mat-error"),Me(1),O()),2&n){const e=Ce();j(1),an(" Description cannot exceed ",e.maxLength," characters. ")}}function xse(n,t){if(1&n&&(x(0,"mat-hint"),Me(1),O()),2&n){const e=Ce();j(1),an(" ",e.maxLength-(null==e.commentField.value?null:e.commentField.value.length)," character(s) remaining. ")}}function Ise(n,t){1&n&&(x(0,"span"),Me(1," Attach files by dragging & dropping or select them by clicking here. "),O())}function Ase(n,t){if(1&n&&(x(0,"span",17),Me(1),O()),2&n){const e=Ce();j(1),an(" ",e.uploadErrorMessage," ")}}function Rse(n,t){1&n&&wt(0,"markdown",18,19),2&n&&H("data",Ce().commentField.value)}function Lse(n,t){1&n&&(x(0,"div"),Me(1,"Nothing to preview."),O())}let hc=(()=>{class n{constructor(e,i,r){this.uploadService=e,this.errorHandlingService=i,this.logger=r,this.SUPPORTED_FILE_TYPES=wy,this.placeholderText="No details provided.",this.isFormPendingChange=new Yt,this.submitButtonTextChange=new Yt,this.dragActiveCounter=0,this.maxLength=4e4}formatFileUploadingButtonText(e){return e+" (Waiting for File Upload to finish...)"}ngOnInit(){if(void 0!==this.initialDescription&&this.commentField.setValue(this.initialDescription),void 0===this.commentField||void 0===this.commentForm||void 0===this.id)throw new Error("Comment Editor's compulsory properties are not defined.");this.initialSubmitButtonText=this.submitButtonText,this.commentField.setValidators([Mr.maxLength(this.maxLength)]),this.history=new X0(75,()=>({text:this.commentTextArea.nativeElement.value,selectStart:this.commentTextArea.nativeElement.selectionStart,selectEnd:this.commentTextArea.nativeElement.selectionEnd}),500)}onKeyPress(e){if(X0.isUndo(e))return e.preventDefault(),void this.undo();if(X0.isRedo(e))return this.redo(),void e.preventDefault();if(this.isControlKeyPressed(e)&&!e.shiftKey)switch(e.code){case"KeyB":e.preventDefault(),this.history.wrapSave(()=>this.insertOrRemoveCharsFromHighlightedText("**"));break;case"KeyI":e.preventDefault(),this.history.wrapSave(()=>this.insertOrRemoveCharsFromHighlightedText("_"));break;default:return}}onDragEnter(e){e.preventDefault(),e.stopPropagation(),this.dragActiveCounter++,this.dropArea.nativeElement.classList.add(this.commentField.disabled?"highlight-drag-box-disabled":"highlight-drag-box")}disableCaretMovement(e){e.preventDefault()}enableFileDrop(e){e.preventDefault()}onDrop(e){if(e.preventDefault(),e.stopPropagation(),this.removeHighlightBorderStyle(),this.commentField.disabled)return;const i=e.dataTransfer.files;if(!(void 0===i||i.length<=0)){this.commentTextArea.nativeElement.focus();for(let r=0;r{this.logger.info(`CommentEditorComponent: File ${r+1} of ${i.length}. Begin uploading ${i[r].name}.`),this.readAndUploadFile(i[r])},250*r)}}onDragExit(e){e.preventDefault(),e.stopPropagation(),this.removeHighlightBorderStyle()}onFileInputUpload(e,i){e.preventDefault(),e.stopPropagation();const r=i.files;r.length>0&&(this.readAndUploadFile(r[0]),i.value="")}updateParentFormsSubmittability(e,i){this.isFormPendingChange.emit(e),this.submitButtonTextChange.emit(i)}readAndUploadFile(e){this.uploadErrorMessage=null;const i=new FileReader,r=e.name,s=function lse(n,t,e){const i=t.value,r=n.split(".").pop();let s;s=ase.includes(r.toLowerCase())?`![Uploading ${n}...]\n`:`[Uploading ${n}...]\n`;const o=e.nativeElement.selectionEnd,a=i.indexOf("\n",o),l=o+s.length;if(-1===a)t.setValue(""===t.value?s:`${t.value}\n${s}`);else{const h=i.slice(0,a+1),f=i.slice(a);t.setValue(`${h+s+f}`)}return e.nativeElement.setSelectionRange(l,l),s}(r,this.commentField,this.commentTextArea);if(e.size>=11534336)return void this.handleUploadError(UF("file",10),s);if(this.uploadService.isVideoFile(r)&&e.size>=6291456)return void this.handleUploadError(UF("video",5),s);if(!this.uploadService.isSupportedFileType(r))return void this.handleUploadError(qF,s);this.lastUploadingTime=(new Date).getTime().toString();const o=this.lastUploadingTime;this.updateParentFormsSubmittability(!0,this.formatFileUploadingButtonText(this.initialSubmitButtonText)),i.onload=()=>{this.uploadService.uploadFile(i.result,r).subscribe(a=>{this.uploadService.isVideoFile(r)?function cse(n,t,e,i){zF(n,`
    video:${t}
    `,e,i)}(r,a.data.content.download_url,this.commentField,this.commentTextArea):function use(n,t,e,i){zF(n,`[${n}](${t})`,e,i)}(r,a.data.content.download_url,this.commentField,this.commentTextArea),this.history.forceSave()},a=>{this.handleUploadError(a,s),o===this.lastUploadingTime&&this.updateParentFormsSubmittability(!1,this.initialSubmitButtonText)},()=>{o===this.lastUploadingTime&&this.updateParentFormsSubmittability(!1,this.initialSubmitButtonText)})},i.readAsDataURL(e)}onPaste(e){this.history.forceSave(null,!0,!1);const i=e.clipboardData.items;let r=null;for(const s of i)if(0===s.type.indexOf("image")){r=s.getAsFile(),e.stopPropagation();break}r&&this.readAndUploadFile(r)}handleBeforeInputChange(e){switch(e.inputType){case"historyUndo":case"historyRedo":e.preventDefault();break;case"insertFromPaste":break;default:this.history.updateBeforeChange()}}handleInputChange(e){switch(e.inputType){case"historyUndo":case"historyRedo":e.preventDefault();break;case"insertFromPaste":break;default:this.history.createDelayedSave()}}undo(){const e=this.history.undo();null!==e&&(this.commentField.setValue(e.text),this.commentTextArea.nativeElement.setSelectionRange(e.selectStart,e.selectEnd))}redo(){const e=this.history.redo();null!==e&&(this.commentTextArea.nativeElement.value=e.text,this.commentTextArea.nativeElement.setSelectionRange(e.selectStart,e.selectEnd))}get isInErrorState(){return!!this.uploadErrorMessage}handleUploadError(e,i){e instanceof md?(this.errorHandlingService.handleError(e),this.uploadErrorMessage="Something went wrong while uploading your file. Please try again."):this.uploadErrorMessage=e,this.commentField.setValue(this.commentField.value.replace(i,"")),this.history.forceSave()}removeHighlightBorderStyle(){this.dragActiveCounter--,0===this.dragActiveCounter&&(this.dropArea.nativeElement.classList.remove("highlight-drag-box"),this.dropArea.nativeElement.classList.remove("highlight-drag-box-disabled"))}isControlKeyPressed(e){return 0===navigator.platform.indexOf("Mac")?e.metaKey:e.ctrlKey}insertOrRemoveCharsFromHighlightedText(e){const i=this.commentTextArea.nativeElement.selectionStart,r=this.commentTextArea.nativeElement.selectionEnd,s=this.commentTextArea.nativeElement.value,o=s.slice(i,r),a=o.trim(),l=o.trimRight().length-a.length,h=o.trimLeft().length-a.length;this.hasCharsBeforeAndAfterHighlight(i,r,s,e)?this.removeCharsBeforeAndAfterHighlightedText(i,r,s,o,e):this.hasCharsInTrimmedHighlight(o,e)?this.removeCharsFromHighlightedText(i,r,s,a,e,l,h):this.insertCharsToHighlightedText(i,r,s,a,e,l,h)}hasCharsBeforeAndAfterHighlight(e,i,r,s){const o=r.slice(e-s.length,e)===s,a=r.slice(i,i+s.length)===s;return o&&a}hasCharsInTrimmedHighlight(e,i){const r=e.trim(),s=r.slice(0,i.length)===i,o=r.slice(-i.length)===i;return s&&o}removeCharsBeforeAndAfterHighlightedText(e,i,r,s,o){this.commentField.setValue(r.slice(0,e-o.length)+s+r.slice(i+o.length)),this.commentTextArea.nativeElement.setSelectionRange(e-o.length,i-o.length)}removeCharsFromHighlightedText(e,i,r,s,o,a,l){this.commentField.setValue(r.slice(0,e)+" ".repeat(a)+s.slice(o.length,-o.length)+" ".repeat(l)+r.slice(i)),this.commentTextArea.nativeElement.setSelectionRange(e+a,i-2*o.length-l)}insertCharsToHighlightedText(e,i,r,s,o,a,l){this.commentField.setValue(r.slice(0,e)+" ".repeat(a)+o+s+o+" ".repeat(l)+r.slice(i)),this.commentTextArea.nativeElement.setSelectionRange(e+o.length+a,i+o.length-l)}}return n.\u0275fac=function(e){return new(e||n)(M(ose),M(Gi),M(ts))},n.\u0275cmp=At({type:n,selectors:[["app-comment-editor"]],viewQuery:function(e,i){if(1&e&&(hn(Ese,7),hn(Cse,7),hn(Tse,5)),2&e){let r;Et(r=Ct())&&(i.dropArea=r.first),Et(r=Ct())&&(i.commentTextArea=r.first),Et(r=Ct())&&(i.markdownArea=r.first)}},inputs:{commentField:"commentField",commentForm:"commentForm",id:"id",initialDescription:"initialDescription",isFormPending:"isFormPending",submitButtonText:"submitButtonText"},outputs:{isFormPendingChange:"isFormPendingChange",submitButtonTextChange:"submitButtonTextChange"},decls:23,vars:15,consts:[[2,"min-height","350px",3,"formGroup"],["animationDuration","0ms",1,"mat-elevation-z1",3,"selectedTabChange"],["label","Write"],[1,"tab-content",3,"dragleave","dragenter","drop","dragover"],["dropArea",""],[3,"forTextAreaId"],["appearance","outline",2,"width","100%"],["matInput","","cdkTextareaAutosize","","cdkAutosizeMinRows","10","cdkAutosizeMaxRows","20",1,"text-input-area",3,"id","formControlName","placeholder","maxlength","paste","keydown","beforeinput","input","dragover"],["commentTextArea","","autosize","cdkTextareaAutosize"],[4,"ngIf"],[1,"drag-and-drop"],["class","error",4,"ngIf"],["type","file",1,"file",3,"disabled","accept","change"],["fileInput",""],["label","Preview"],[1,"tab-content",2,"min-height","228px"],["disableInternalLink","",3,"data",4,"ngIf"],[1,"error"],["disableInternalLink","",3,"data"],["markdownArea",""]],template:function(e,i){if(1&e){const r=on();x(0,"form",0)(1,"mat-tab-group",1),tt("selectedTabChange",function(){zt(r);const o=ki(9);return i.commentField.setValue(o.value)}),x(2,"mat-tab",2)(3,"div",3,4),tt("dragleave",function(o){return i.onDragExit(o)})("dragenter",function(o){return i.onDragEnter(o)})("drop",function(o){return i.onDrop(o)})("dragover",function(o){return i.enableFileDrop(o)}),wt(5,"app-markdown-toolbar",5),x(6,"mat-form-field",6),wt(7,"mat-label"),x(8,"textarea",7,8),tt("paste",function(o){return i.onPaste(o)})("keydown",function(o){return i.onKeyPress(o)})("beforeinput",function(o){return i.handleBeforeInputChange(o)})("input",function(o){return i.handleInputChange(o)})("dragover",function(o){return i.disableCaretMovement(o)}),O(),Ae(11,Sse,2,0,"mat-error",9),Ae(12,kse,2,1,"mat-error",9),Ae(13,xse,2,1,"mat-hint",9),x(14,"div",10),Ae(15,Ise,2,0,"span",9),Ae(16,Ase,2,1,"span",11),x(17,"input",12,13),tt("change",function(o){zt(r);const a=ki(18);return i.onFileInputUpload(o,a)}),O()()()()(),x(19,"mat-tab",14)(20,"div",15),Ae(21,Rse,2,1,"markdown",16),Ae(22,Lse,2,0,"div",9),O()()()()}2&e&&(H("formGroup",i.commentForm),j(5),H("forTextAreaId",i.id),j(3),Ea("id",i.id),Ea("formControlName",i.id),Ea("placeholder",i.placeholderText),Ea("maxlength",i.maxLength),j(3),H("ngIf",i.commentField.errors&&i.commentField.errors.required&&i.commentField.touched),j(1),H("ngIf",i.commentField.errors&&i.commentField.errors.maxLength),j(1),H("ngIf",(null==i.commentField.value?null:i.commentField.value.length)>=i.maxLength-50),j(2),H("ngIf",!i.isInErrorState),j(1),H("ngIf",i.isInErrorState),j(1),H("disabled",i.commentField.disabled)("accept",i.SUPPORTED_FILE_TYPES),j(4),H("ngIf",""!==i.commentField.value),j(1),H("ngIf",""===i.commentField.value))},directives:[na,ea,ds,ly,om,Dse,Er,U_,io,wK,Xl,Co,Pa,Pp,ai,Zp,r0,cl,Qd],styles:[".tab-content[_ngcontent-%COMP%]{padding:10px}.highlight-drag-box[_ngcontent-%COMP%]{border-style:dashed;border-color:#98fb98;border-width:2px}.highlight-drag-box-disabled[_ngcontent-%COMP%]{border-style:dashed;border-color:#fb2a5c;border-width:2px}.drag-and-drop[_ngcontent-%COMP%]{color:#586069;font-size:13px;line-height:16px;position:relative;border-top-style:dashed;border-top-color:#3f51b5;border-top-width:2px;margin-top:5px;padding-top:5px}.error[_ngcontent-%COMP%]{color:#b22222}.file[_ngcontent-%COMP%]{position:absolute;top:0;left:0;opacity:0;width:100%;height:100%;cursor:pointer}"]}),n})();const jse=["loadingSpinnerContainer"];function Bse(n,t){if(1&n){const e=on();x(0,"button",8),tt("click",function(){return zt(e),Ce().changeToEditMode()}),Me(1," Edit "),O()}}function Yse(n,t){if(1&n&&(x(0,"div",9),wt(1,"markdown",10),O()),2&n){const e=Ce();j(1),H("data",e.issue.description)}}function Hse(n,t){if(1&n){const e=on();x(0,"button",17),tt("click",function(){return zt(e),Ce(2).viewChanges()}),Me(1," View Updated Description "),O()}2&n&&H("disabled",Ce(2).isSavePending)}function Vse(n,t){if(1&n&&(x(0,"button",18),Me(1),O()),2&n){const e=Ce(2);H("disabled",e.issueDescriptionForm.invalid||e.isSavePending),j(1),an(" ",e.submitButtonText," ")}}function qse(n,t){if(1&n&&(x(0,"button",19)(1,"mat-button-content"),Me(2),ys(3,null,20),O()()),2&n){const e=Ce(2);H("disabled",e.issueDescriptionForm.invalid||e.isSavePending),j(2),an(" ",e.submitButtonText," ")}}function Use(n,t){if(1&n){const e=on();x(0,"div")(1,"app-comment-editor",11),tt("isFormPendingChange",function(r){return zt(e),Ce().isSavePending=r})("submitButtonTextChange",function(r){return zt(e),Ce().submitButtonText=r}),O(),x(2,"div",12),Ae(3,Hse,2,1,"button",13),x(4,"button",14),tt("click",function(){return zt(e),Ce().openCancelDialogIfModified()}),Me(5," Cancel "),O(),Ae(6,Vse,2,2,"button",15),Ae(7,qse,5,2,"button",16),O()()}if(2&n){const e=Ce();j(1),H("id","description")("commentField",e.issueDescriptionForm.get("description"))("commentForm",e.issueDescriptionForm)("isFormPending",e.isSavePending)("submitButtonText",e.submitButtonText),j(2),H("ngIf",e.conflict),j(1),H("disabled",e.isSavePending),j(2),H("ngIf",e.conflict),j(1),H("ngIf",!e.conflict)}}let zse=(()=>{class n{constructor(e,i,r,s,o,a,l,h){this.issueService=e,this.formBuilder=i,this.errorHandlingService=r,this.dialog=s,this.phaseService=o,this.permissions=a,this.dialogService=l,this.loadingService=h,this.isSavePending=!1,this.issueUpdated=new Yt,this.changeEditState=new Yt,this.cancelEditModalMessages=["Do you wish to cancel?","Your changes will be discarded."],this.yesButtonModalMessage="Cancel",this.noButtonModalMessage="Continue editing"}showSpinner(){this.loadingService.addViewContainerRef(this.loadingSpinnerContainer).showLoader(),this.isSavePending=!0}hideSpinner(){this.loadingService.hideLoader(),this.isSavePending=!1}ngOnInit(){this.issueDescriptionForm=this.formBuilder.group({description:[""]}),this.submitButtonText="Save",this.loadingService.addAnimationMode("indeterminate").addSpinnerOptions({diameter:15,strokeWidth:2}).addTheme("warn").addCssClasses(["mat-progress-spinner"])}changeToEditMode(){this.changeEditState.emit(!0),this.issueDescriptionForm.setValue({description:this.issue.description||""})}updateDescription(e){this.issueDescriptionForm.invalid||(this.showSpinner(),this.issueService.getLatestIssue(this.issue.id).pipe(_e(i=>i.description===this.issue.description),ue(i=>i||"Overwrite"===this.submitButtonText?this.issueService.updateIssue(this.getUpdatedIssue()):(this.conflict=new by(this.issue.description,this.issueService.issues[this.issue.id].description),this.submitButtonText="Overwrite",this.viewChanges(),Qi("The content you are editing has changed. Please verify the changes and try again.")))).subscribe(i=>{this.issueUpdated.emit(i),this.resetToDefault(),e.resetForm(),this.hideSpinner()},i=>{this.errorHandlingService.handleError(i),this.hideSpinner()}))}viewChanges(){this.dialog.open(HF,{data:this.conflict,autoFocus:!1})}resetToDefault(){this.submitButtonText="Save",this.conflict=void 0,this.changeEditState.emit(!1)}cancelEditMode(){this.issueService.getIssue(this.issue.id).subscribe(e=>{this.issueUpdated.emit(e),this.resetToDefault()})}openCancelDialogIfModified(){const e=this.dialogService.checkIfFieldIsModified(this.issueDescriptionForm,"description","description",this.issue);this.dialogService.performActionIfModified(e,()=>this.openCancelDialog(),()=>this.cancelEditMode())}openCancelDialog(){this.dialogService.openUserConfirmationModal(this.cancelEditModalMessages,this.yesButtonModalMessage,this.noButtonModalMessage).afterClosed().subscribe(i=>{i&&this.cancelEditMode()})}getUpdatedIssue(){const e=this.issue.clone(this.phaseService.currentPhase);return e.description=Bi.updateDescription(this.issueDescriptionForm.get("description").value),e}}return n.\u0275fac=function(e){return new(e||n)(M(Di),M(tc),M(Gi),M(qa),M(er),M(Hs),M(vl),M(Wd))},n.\u0275cmp=At({type:n,selectors:[["app-issue-description"]],viewQuery:function(e,i){if(1&e&&hn(jse,5,Si),2&e){let r;Et(r=Ct())&&(i.loadingSpinnerContainer=r.first)}},inputs:{issue:"issue",descriptionTitle:"descriptionTitle",isEditing:"isEditing"},outputs:{issueUpdated:"issueUpdated",changeEditState:"changeEditState"},features:[tn([Wd])],decls:13,vars:6,consts:[[1,"mat-title"],[3,"formGroup","ngSubmit"],["myForm","ngForm"],[1,"timeline-comment"],[1,"timeline-header"],["style","float: right","mat-button","",3,"click",4,"ngIf"],["class","comment",4,"ngIf"],[4,"ngIf"],["mat-button","",2,"float","right",3,"click"],[1,"comment"],["disableInternalLink","",3,"data"],[3,"id","commentField","commentForm","isFormPending","submitButtonText","isFormPendingChange","submitButtonTextChange"],[1,"editor-actions"],["class","editor-action","type","button","mat-raised-button","","color","primary",3,"disabled","click",4,"ngIf"],["type","button","mat-stroked-button","","color","warn",1,"editor-action",3,"disabled","click"],["class","editor-action","type","submit","mat-raised-button","","color","warn",3,"disabled",4,"ngIf"],["class","editor-action additional-editor-style","type","submit","mat-stroked-button","","color","primary",3,"disabled",4,"ngIf"],["type","button","mat-raised-button","","color","primary",1,"editor-action",3,"disabled","click"],["type","submit","mat-raised-button","","color","warn",1,"editor-action",3,"disabled"],["type","submit","mat-stroked-button","","color","primary",1,"editor-action","additional-editor-style",3,"disabled"],["loadingSpinnerContainer",""]],template:function(e,i){if(1&e){const r=on();x(0,"h3",0),Me(1),O(),x(2,"form",1,2),tt("ngSubmit",function(){zt(r);const o=ki(3);return i.updateDescription(o)}),x(4,"div",3)(5,"div",4)(6,"span")(7,"strong"),Me(8," Tester "),O(),Me(9),O(),Ae(10,Bse,2,0,"button",5),O(),Ae(11,Yse,2,1,"div",6),Ae(12,Use,8,9,"div",7),O()()}2&e&&(j(1),vi(i.descriptionTitle),j(1),H("formGroup",i.issueDescriptionForm),j(7),an(" posted on ",i.issue.created_at,". "),j(1),H("ngIf",i.permissions.isIssueDescriptionEditable()&&!i.isEditing),j(1),H("ngIf",!i.isEditing),j(1),H("ngIf",i.isEditing))},directives:[na,ea,ds,ai,bi,cl,Qd,hc],styles:["span[_ngcontent-%COMP%]{vertical-align:middle;margin-left:5px}[_nghost-%COMP%] .mat-progress-spinner{color:#00000080;display:inline-block;vertical-align:middle;margin-left:5px}"]}),n})();function Gse(n,t){if(1&n){const e=on();x(0,"button",8),tt("click",function(){return zt(e),Ce().changeToEditMode()}),Me(1,"Edit"),O()}}function $se(n,t){if(1&n&&(x(0,"div",9),wt(1,"markdown",10),O()),2&n){const e=Ce();j(1),H("data",e.issue.teamResponse)}}function Wse(n,t){if(1&n){const e=on();x(0,"button",17),tt("click",function(){return zt(e),Ce(2).viewChanges()}),Me(1," View Updated Response "),O()}2&n&&H("disabled",Ce(2).isSavePending)}function Qse(n,t){if(1&n&&(x(0,"button",18),Me(1),O()),2&n){const e=Ce(2);H("disabled",e.responseForm.invalid||e.isSavePending),j(1),an(" ",e.submitButtonText," ")}}function Kse(n,t){if(1&n&&(x(0,"button",19),Me(1),O()),2&n){const e=Ce(2);H("disabled",e.responseForm.invalid||e.isSavePending),j(1),an(" ",e.submitButtonText," ")}}function Zse(n,t){if(1&n){const e=on();x(0,"div")(1,"app-comment-editor",11),tt("isFormPendingChange",function(r){return zt(e),Ce().isSavePending=r})("submitButtonTextChange",function(r){return zt(e),Ce().submitButtonText=r}),O(),x(2,"div",12),Ae(3,Wse,2,1,"button",13),Ae(4,Qse,2,2,"button",14),Ae(5,Kse,2,2,"button",15),x(6,"button",16),tt("click",function(){return zt(e),Ce().openCancelDialogIfModified()}),Me(7," Cancel "),O()()()}if(2&n){const e=Ce();j(1),H("id","description")("commentField",e.responseForm.get("description"))("commentForm",e.responseForm)("isFormPending",e.isSavePending)("submitButtonText",e.submitButtonText),j(2),H("ngIf",e.conflict),j(1),H("ngIf",e.conflict),j(1),H("ngIf",!e.conflict),j(1),H("disabled",e.isSavePending)}}let Xse=(()=>{class n{constructor(e,i,r,s,o,a,l){this.issueService=e,this.formBuilder=i,this.errorHandlingService=r,this.permissions=s,this.dialog=o,this.phaseService=a,this.dialogService=l,this.isSavePending=!1,this.issueUpdated=new Yt,this.updateEditState=new Yt,this.cancelEditModalMessages=["Do you wish to cancel?","Your changes will be discarded."],this.yesButtonModalMessage="Cancel",this.noButtonModalMessage="Continue editing"}ngOnInit(){this.responseForm=this.formBuilder.group({description:[""]}),this.submitButtonText="Save"}changeToEditMode(){this.updateEditState.emit(!0),this.responseForm.setValue({description:this.issue.teamResponse||""})}updateResponse(e){if(this.responseForm.invalid)return;this.isSavePending=!0;const i=this.getUpdatedIssue(),r=Object.assign(Object.assign({},i.issueComment),{description:i.createGithubTeamResponse()});this.isSafeToUpdate().pipe(ue(s=>s||"Overwrite"===this.submitButtonText?this.issueService.updateIssueWithComment(i,r):this.isUpdatingDeletedResponse()?this.issueService.createTeamResponse(i):(this.conflict=new by(this.issue.teamResponse,this.issueService.issues[this.issue.id].teamResponse),this.submitButtonText="Overwrite",this.viewChanges(),Qi("The content you are editing has changed. Please verify the changes and try again."))),Ia(()=>this.isSavePending=!1)).subscribe(s=>{this.issueUpdated.emit(s),this.resetToDefault(),e.resetForm()},s=>{this.errorHandlingService.handleError(s)})}isSafeToUpdate(){return this.issueService.getLatestIssue(this.issue.id).pipe(_e(e=>e.teamResponse===this.issue.teamResponse))}isUpdatingDeletedResponse(){return this.issue.teamResponse&&!this.issueService.issues[this.issue.id].teamResponse}canEditIssue(){return this.permissions.isTeamResponseEditable()}resetToDefault(){this.submitButtonText="Save",this.conflict=void 0,this.updateEditState.emit(!1)}viewChanges(){this.dialog.open(HF,{data:this.conflict,autoFocus:!1})}cancelEditMode(){this.issueService.getIssue(this.issue.id).subscribe(e=>{this.issueUpdated.emit(e),this.resetToDefault()})}openCancelDialogIfModified(){const e=this.dialogService.checkIfFieldIsModified(this.responseForm,"teamResponse","description",this.issue);this.dialogService.performActionIfModified(e,()=>this.openCancelDialog(),()=>this.cancelEditMode())}openCancelDialog(){this.dialogService.openUserConfirmationModal(this.cancelEditModalMessages,this.yesButtonModalMessage,this.noButtonModalMessage).afterClosed().subscribe(i=>{i&&this.cancelEditMode()})}getUpdatedIssue(){const e=this.issue.clone(this.phaseService.currentPhase);return e.teamResponse=Bi.updateTeamResponse(this.responseForm.get("description").value),e.status||(e.status=""===e.teamResponse?Ys.Incomplete:Ys.Done),e}}return n.\u0275fac=function(e){return new(e||n)(M(Di),M(tc),M(Gi),M(Hs),M(qa),M(er),M(vl))},n.\u0275cmp=At({type:n,selectors:[["app-team-response"]],inputs:{issue:"issue",isEditing:"isEditing"},outputs:{issueUpdated:"issueUpdated",updateEditState:"updateEditState"},decls:13,vars:4,consts:[[1,"mat-title"],[3,"formGroup","ngSubmit"],["myForm","ngForm"],[1,"timeline-comment"],[1,"timeline-header"],["style","float: right","mat-button","",3,"click",4,"ngIf"],["class","comment",4,"ngIf"],[4,"ngIf"],["mat-button","",2,"float","right",3,"click"],[1,"comment"],["disableInternalLink","",3,"data"],[3,"id","commentField","commentForm","isFormPending","submitButtonText","isFormPendingChange","submitButtonTextChange"],[1,"editor-actions"],["class","editor-action","type","button","mat-raised-button","","color","primary",3,"disabled","click",4,"ngIf"],["class","editor-action","type","submit","mat-raised-button","","color","warn",3,"disabled",4,"ngIf"],["class","editor-action","type","submit","mat-stroked-button","","color","primary",3,"disabled",4,"ngIf"],["type","button","mat-stroked-button","","color","warn",1,"editor-action",3,"disabled","click"],["type","button","mat-raised-button","","color","primary",1,"editor-action",3,"disabled","click"],["type","submit","mat-raised-button","","color","warn",1,"editor-action",3,"disabled"],["type","submit","mat-stroked-button","","color","primary",1,"editor-action",3,"disabled"]],template:function(e,i){if(1&e){const r=on();x(0,"h3",0),Me(1,"Team's Response"),O(),x(2,"form",1,2),tt("ngSubmit",function(){zt(r);const o=ki(3);return i.updateResponse(o)}),x(4,"div",3)(5,"div",4)(6,"span")(7,"strong"),Me(8," Team "),O(),Me(9," responded. "),O(),Ae(10,Gse,2,0,"button",5),O(),Ae(11,$se,2,1,"div",6),Ae(12,Zse,8,9,"div",7),O()()}2&e&&(j(2),H("formGroup",i.responseForm),j(8),H("ngIf",i.canEditIssue()&&!i.isEditing),j(1),H("ngIf",!i.isEditing),j(1),H("ngIf",i.isEditing))},directives:[na,ea,ds,ai,bi,cl,Qd,hc],styles:["span[_ngcontent-%COMP%]{vertical-align:middle;margin-left:5px}"]}),n})();class vN extends K{constructor(t=Number.POSITIVE_INFINITY,e=Number.POSITIVE_INFINITY,i){super(),this.scheduler=i,this._events=[],this._infiniteTimeWindow=!1,this._bufferSize=t<1?1:t,this._windowTime=e<1?1:e,e===Number.POSITIVE_INFINITY?(this._infiniteTimeWindow=!0,this.next=this.nextInfiniteTimeWindow):this.next=this.nextTimeWindow}nextInfiniteTimeWindow(t){if(!this.isStopped){const e=this._events;e.push(t),e.length>this._bufferSize&&e.shift()}super.next(t)}nextTimeWindow(t){this.isStopped||(this._events.push(new Jse(this._getNow(),t)),this._trimBufferThenGetEvents()),super.next(t)}_subscribe(t){const e=this._infiniteTimeWindow,i=e?this._events:this._trimBufferThenGetEvents(),r=this.scheduler,s=i.length;let o;if(this.closed)throw new E;if(this.isStopped||this.hasError?o=P.EMPTY:(this.observers.push(t),o=new G(this,t)),r&&t.add(t=new Yg(t,r)),e)for(let a=0;ae&&(o=Math.max(o,s-e)),o>0&&r.splice(0,o),r}}class Jse{constructor(t,e){this.time=t,this.value=e}}var Kt=(()=>(function(n){n.ID="id",n.TITLE="title",n.TEAM_ASSIGNED="teamAssigned",n.TYPE="type",n.SEVERITY="severity",n.RESPONSE="response",n.TESTER_DISAGREE="testerDisagree",n.ASSIGNEE="assignees",n.DUPLICATED_ISSUES="duplicatedIssues",n.TODO="Todo Remaining",n.ACTIONS="actions"}(Kt||(Kt={})),Kt))();function rE(n,t,e,i){const r=n.toLowerCase();return i.slice().filter(o=>{for(const a of t)switch(a){case Kt.ASSIGNEE:if(toe(o.assignees,r))return!0;break;case Kt.DUPLICATED_ISSUES:if(noe(e,o.id,r))return!0;break;default:if(ioe(o,a,r))return!0}return!1})}function bN(n,t){return-1!==n.indexOf(t)}function toe(n,t){return n.some(e=>bN(e.toLowerCase(),t))}function noe(n,t,e){return function eoe(n,t){return 0!==n.filter(e=>`#${String(e.id)}`.includes(t)).length}(n.issues$.getValue().filter(r=>r.duplicateOf===t),e)}function ioe(n,t,e){return bN(String(n[t]).toLowerCase(),e)}function roe(n,t){if(1&n){const e=on();x(0,"button",6),tt("click",function(){return zt(e),Ce().openSelector()}),x(1,"mat-icon",7),Me(2," edit "),O()()}}function soe(n,t){if(1&n&&(x(0,"mat-option",8),Me(1),O()),2&n){const e=t.$implicit;H("value",e),j(1),vi(e)}}function ooe(n,t){1&n&&(x(0,"p",9),Me(1,"-"),O())}function aoe(n,t){if(1&n&&(x(0,"mat-list-item",12),Me(1),O()),2&n){const e=t.$implicit;j(1),vi(e)}}function loe(n,t){if(1&n&&(x(0,"mat-list",10),Ae(1,aoe,2,1,"mat-list-item",11),O()),2&n){const e=Ce();j(1),H("ngForOf",e.issue.assignees)}}let wN=(()=>{class n{constructor(e,i,r,s){this.issueService=e,this.errorHandlingService=i,this.phaseService=r,this.permissions=s,this.isInEditMode=!1,this.isEditable=!0,this.issueUpdated=new Yt}ngOnInit(){this.teamMembers=this.team.teamMembers.map(e=>e.loginId),this.assignees=this.issue.assignees.map(e=>e)}openSelector(){this.isInEditMode=!0,this.assigneeSelection.open()}handleEditMode(e){e||(this.isInEditMode=!1)}updateAssignee(){const e=this.issue.clone(this.phaseService.currentPhase),i=e.assignees;e.assignees=this.assignees,this.issueService.updateIssue(e).subscribe(r=>{this.issueUpdated.emit(r),this.issueService.getDuplicateIssuesFor(this.issue).pipe(Js()).subscribe(s=>{s.forEach(o=>{const a=o.clone(this.phaseService.currentPhase);a.assignees=this.assignees,this.issueService.updateIssue(a)})})},r=>{this.errorHandlingService.handleError(r),this.assignees=i})}}return n.\u0275fac=function(e){return new(e||n)(M(Di),M(Gi),M(er),M(Hs))},n.\u0275cmp=At({type:n,selectors:[["app-assignee-component"]],viewQuery:function(e,i){if(1&e&&hn(ko,7),2&e){let r;Et(r=Ct())&&(i.assigneeSelection=r.first)}},inputs:{issue:"issue",team:"team",isEditable:"isEditable"},outputs:{issueUpdated:"issueUpdated"},decls:9,vars:7,consts:[[1,"mat-title"],["style","float: right","mat-icon-button","",3,"click",4,"ngIf"],["placeholder","-","multiple","",1,"no-arrow",3,"ngModel","openedChange","closed","ngModelChange"],[3,"value",4,"ngFor","ngForOf"],["style","margin-top: 5px",4,"ngIf"],["style","padding-top: 0","dense","",4,"ngIf"],["mat-icon-button","",2,"float","right",3,"click"],[2,"font-size","20px","margin-bottom","7px","color","#586069"],[3,"value"],[2,"margin-top","5px"],["dense","",2,"padding-top","0"],["style","font-size: 1em",4,"ngFor","ngForOf"],[2,"font-size","1em"]],template:function(e,i){1&e&&(x(0,"div")(1,"span",0),Me(2," Assignees "),O(),Ae(3,roe,3,0,"button",1),x(4,"mat-select",2),tt("openedChange",function(s){return i.handleEditMode(s)})("closed",function(){return i.updateAssignee()})("ngModelChange",function(s){return i.assignees=s}),wt(5,"mat-select-trigger"),Ae(6,soe,2,2,"mat-option",3),O(),Ae(7,ooe,2,0,"p",4),Ae(8,loe,2,1,"mat-list",5),O()),2&e&&(j(3),H("ngIf",i.permissions.isIssueLabelsEditable()&&i.isEditable&&!i.issue.duplicateOf),j(1),Fr("display",i.isInEditMode?"block":"none"),H("ngModel",i.assignees),j(2),H("ngForOf",i.teamMembers),j(1),H("ngIf",0===i.issue.assignees.length),j(1),H("ngIf",i.issue.assignees.length>0))},directives:[ai,bi,hs,ko,Co,oD,g0,jr,oa,YZ,HZ],styles:[".no-arrow .mat-select-arrow{visibility:hidden}mat-list-item div.mat-list-item-content{padding-left:0}\n"],encapsulation:2}),n})();function coe(n,t){if(1&n&&(x(0,"div",9),wt(1,"div",12),O()),2&n){const e=Ce();j(1),H("innerHTML",e.updatedHtml,Lc)}}function uoe(n,t){if(1&n&&(x(0,"div"),wt(1,"mat-divider"),x(2,"span",13),Me(3," Type "),O(),x(4,"p",14),Me(5),O()()),2&n){const e=Ce();j(4),H("ngStyle",e.labelService.setLabelStyle(e.labelService.getColorOfLabel(e.data.type))),j(1),an(" ",e.data.type||"-"," ")}}function doe(n,t){if(1&n&&(x(0,"div"),wt(1,"mat-divider"),x(2,"span",13),Me(3," Severity "),O(),x(4,"p",14),Me(5),O()()),2&n){const e=Ce();j(4),H("ngStyle",e.labelService.setLabelStyle(e.labelService.getColorOfLabel(e.data.severity))),j(1),an(" ",e.data.severity||"-"," ")}}function hoe(n,t){if(1&n&&(x(0,"div"),wt(1,"mat-divider"),x(2,"span",13),Me(3," Response "),O(),x(4,"p",14),Me(5),O()()),2&n){const e=Ce();j(4),H("ngStyle",e.labelService.setLabelStyle(e.labelService.getColorOfLabel(e.data.response))),j(1),an(" ",e.data.response||"-"," ")}}function poe(n,t){if(1&n&&(x(0,"div"),wt(1,"mat-divider")(2,"app-assignee-component",15),O()),2&n){const e=Ce();j(2),H("issue",e.data)("team",e.data.teamAssigned)("isEditable",!1)}}function moe(n,t){if(1&n&&(x(0,"div"),wt(1,"mat-divider"),x(2,"div")(3,"span",13),Me(4,"A Duplicate Of:"),O(),x(5,"p",16),Me(6),ls(7,"async"),O()()()),2&n){const e=Ce();j(6),an(" ","#"+e.data.duplicateOf+": "+cs(7,1,e.issueService.getIssue(e.data.duplicateOf)).title," ")}}let foe=(()=>{class n{constructor(e,i,r,s,o){this.dialogRef=e,this.data=i,this.sanitizer=r,this.labelService=s,this.issueService=o,this.isOnPreview=!1,this.isReady=!1,this.updatedHtml=this.sanitizer.bypassSecurityTrustHtml(Q0(W0(i.teamResponse))),this.isReady=!0}close(){this.dialogRef.close()}handleTabChange(e){this.isOnPreview=1===e.index}}return n.\u0275fac=function(e){return new(e||n)(M(Va),M(ou),M(sl),M(ei),M(Di))},n.\u0275cmp=At({type:n,selectors:[["app-conflict-dialog"]],decls:21,vars:8,consts:[[2,"display","flex","margin-bottom","20px","align-items","center"],["mat-dialog-title","",2,"margin","0"],["mat-icon-button","","color","default",2,"margin","0 0 0 auto",3,"click"],["mat-dialog-content","",2,"display","flex"],[1,"column","left"],["animationDuration","0ms",1,"mat-elevation-z1",3,"selectedTabChange"],["label","Updated Markdown Text"],["class","tab-content",4,"ngIf"],["label","Preview"],[1,"tab-content"],[1,"column","right"],[4,"ngIf"],[3,"innerHTML"],[1,"mat-title"],[3,"ngStyle"],[3,"issue","team","isEditable"],[2,"margin-top","5px"]],template:function(e,i){1&e&&(x(0,"div",0)(1,"h1",1),Me(2),O(),x(3,"button",2),tt("click",function(){return i.close()}),x(4,"mat-icon"),Me(5,"close"),O()()(),x(6,"div",3)(7,"div",4)(8,"mat-tab-group",5),tt("selectedTabChange",function(s){return i.handleTabChange(s)}),x(9,"mat-tab",6),Ae(10,coe,2,1,"div",7),O(),x(11,"mat-tab",8)(12,"div",9)(13,"markdown"),Me(14),O()()()()(),x(15,"div",10),Ae(16,uoe,6,2,"div",11),Ae(17,doe,6,2,"div",11),Ae(18,hoe,6,2,"div",11),Ae(19,poe,3,3,"div",11),Ae(20,moe,8,3,"div",11),O()()),2&e&&(j(2),vi("A new response was submitted by another user"),j(8),H("ngIf",i.isReady),j(4),vi(i.data.teamResponse),j(2),H("ngIf",i.data.type),j(1),H("ngIf",i.data.severity),j(1),H("ngIf",i.data.response),j(1),H("ngIf",i.data.assignees),j(1),H("ngIf",i.data.duplicateOf))},directives:[au,bi,hs,lu,ly,om,ai,cl,ey,ql,wN],pipes:[rl],styles:[".tab-content[_ngcontent-%COMP%]{padding:10px;min-height:300px;max-height:55vh}.column.left[_ngcontent-%COMP%]{min-width:60vh;width:100%}.column.right[_ngcontent-%COMP%]{max-width:15%;min-width:20vh;width:100%}.column[_ngcontent-%COMP%]{padding:10px}"]}),n})();function goe(n,t){1&n&&(x(0,"mat-icon",5),Me(1,"cancel"),O())}const _oe=function(n){return[n]};function yoe(n,t){if(1&n){const e=on();x(0,"mat-chip",2),tt("removed",function(){const s=zt(e).$implicit;return Ce().removeDuplicateStatus(s)}),x(1,"a",3),Me(2),O(),Ae(3,goe,2,0,"mat-icon",4),O()}if(2&n){const e=t.$implicit,i=Ce();H("matTooltip",e.title),j(1),H("routerLink",$o(4,_oe,"../"+e.id)),j(1),an(" #",e.id," "),j(1),H("ngIf",i.permissions.isTeamResponseEditable()||i.permissions.isTutorResponseEditable())}}let MN=(()=>{class n{constructor(e,i,r,s){this.issueService=e,this.errorHandlingService=i,this.phaseService=r,this.permissions=s}ngOnInit(){this.duplicatedIssues=this.issueService.getDuplicateIssuesFor(this.issue)}removeDuplicateStatus(e){const i=this.getUpdatedIssueWithRemovedDuplicate(e);this.issueService.updateIssueWithComment(i,i.issueComment).subscribe(r=>this.issueService.updateLocalStore(r),r=>this.errorHandlingService.handleError(r))}getUpdatedIssueWithRemovedDuplicate(e){const i=e.clone(this.phaseService.currentPhase);return i.duplicated=!1,i.duplicateOf=null,i.issueComment.description=i.createGithubTeamResponse(),i}}return n.\u0275fac=function(e){return new(e||n)(M(Di),M(Gi),M(er),M(Hs))},n.\u0275cmp=At({type:n,selectors:[["app-duplicated-issues-component"]],inputs:{issue:"issue"},decls:6,vars:3,consts:[[1,"mat-title"],["style","cursor: pointer","matTooltipPosition","above",3,"matTooltip","removed",4,"ngFor","ngForOf"],["matTooltipPosition","above",2,"cursor","pointer",3,"matTooltip","removed"],[1,"no-underline","link-grey-dark",3,"routerLink"],["matChipRemove","",4,"ngIf"],["matChipRemove",""]],template:function(e,i){1&e&&(x(0,"div")(1,"span",0),Me(2," Duplicated Issues "),O(),x(3,"mat-chip-list"),Ae(4,yoe,4,6,"mat-chip",1),ls(5,"async"),O()()),2&e&&(j(4),H("ngForOf",cs(5,1,i.duplicatedIssues)))},directives:[G_,jr,Yd,gl,Ed,ai,hs,mO],pipes:[rl],styles:[""],encapsulation:2}),n})();function voe(n,t){if(1&n){const e=on();x(0,"button",9),tt("click",function(){zt(e);const r=Ce().$implicit;return Ce().openModalPopup(r)}),x(1,"mat-icon",10),Me(2,"info"),O()()}}const boe=function(){return{background:"transparent"}},woe=function(n){return{color:n}};function Moe(n,t){if(1&n&&(x(0,"div",5)(1,"mat-option",6)(2,"mat-icon",7),Me(3,"stop"),O(),x(4,"span"),Me(5),O()(),Ae(6,voe,3,0,"button",8),O()),2&n){const e=t.$implicit,i=Ce();j(1),H("value",e.labelValue)("ngStyle",kf(5,boe)),j(1),H("ngStyle",$o(6,woe,"#"+e.labelColor)),j(3),an(" ",e.labelValue,""),j(1),H("ngIf",i.hasLabelDefinition(e))}}function Doe(n,t){if(1&n&&(x(0,"mat-error"),Me(1),O()),2&n){const e=Ce();j(1),an(" ",e.labelService.getLabelTitle(e.attributeName)," required. ")}}let DN=(()=>{class n{constructor(e,i){this.labelService=e,this.dialogService=i}ngOnInit(){this.selectedColor=this.labelService.getColorOfLabel(this.attributeName,this.initialValue),this.labelList=this.labelService.getLabelList(this.attributeName),this.dropdownControl=this.dropdownForm.get(this.attributeName)}setSelectedLabelColor(e,i){this.selectedColor=this.labelService.getColorOfLabel(e,i)}openModalPopup(e){this.dialogService.openLabelDefinitionDialog(e.getFormattedName(),this.labelService.getLabelDefinition(e.labelValue,e.labelCategory))}hasLabelDefinition(e){return null!==this.labelService.getLabelDefinition(e.labelValue,e.labelCategory)}get dropdownTextColor(){return this.labelService.isDarkColor(this.selectedColor)?"white-text":"black-text"}}return n.\u0275fac=function(e){return new(e||n)(M(ei),M(vl))},n.\u0275cmp=At({type:n,selectors:[["app-label-dropdown"]],inputs:{attributeName:"attributeName",initialValue:"initialValue",dropdownForm:"dropdownForm"},decls:7,vars:8,consts:[[3,"formGroup"],[2,"width","100%"],["required","","disableOptionCentering","",3,"ngClass","formControlName","placeholder","ngStyle","selectionChange"],["mat-menu-item","","class","labelLine",4,"ngFor","ngForOf"],[4,"ngIf"],["mat-menu-item","",1,"labelLine"],[3,"value","ngStyle"],[3,"ngStyle"],["class","infoPopup",3,"click",4,"ngIf"],[1,"infoPopup",3,"click"],[2,"font-size","20px"]],template:function(e,i){1&e&&(x(0,"form",0)(1,"mat-form-field",1)(2,"mat-select",2),tt("selectionChange",function(s){return i.setSelectedLabelColor(i.attributeName,s.value)}),x(3,"mat-select-trigger"),Me(4),O(),Ae(5,Moe,7,8,"div",3),O(),Ae(6,Doe,2,1,"mat-error",4),O()()),2&e&&(H("formGroup",i.dropdownForm),j(2),Ea("formControlName",i.attributeName),Ea("placeholder",i.labelService.getLabelTitle(i.attributeName)),H("ngClass",i.dropdownTextColor)("ngStyle",i.labelService.setLabelStyle(i.selectedColor,"inline-block")),j(2),an(" ",i.dropdownControl.value," "),j(1),H("ngForOf",i.labelList),j(1),H("ngIf",i.dropdownControl.errors&&i.dropdownControl.errors.required&&i.dropdownControl.touched))},directives:[na,ea,ds,Er,ko,tu,Hc,Co,Pa,ql,g0,jr,lc,oa,hs,ai,Zp],styles:[".white-text .mat-select-value-text{color:#fff!important} .black-text .mat-select-value-text{color:#000!important}.infoPopup[_ngcontent-%COMP%]{background:transparent;border:none;outline:none;text-align:center}.labelLine[_ngcontent-%COMP%]{display:grid;grid-template-columns:auto 20%}"]}),n})();function Toe(n,t){if(1&n&&(x(0,"span",30),Me(1),O()),2&n){const e=Ce().$implicit,i=Ce(2);j(1),an(" (",i.getDisabledDupOptionErrorText(e),") ")}}function Soe(n,t){if(1&n&&(x(0,"mat-option",26)(1,"span",27),Me(2),O(),x(3,"span",28),Me(4),O(),Ae(5,Toe,2,1,"span",29),O()),2&n){const e=t.$implicit,i=Ce(2);H("disabled",i.dupIssueOptionIsDisabled(e))("value",e.id),j(2),an(" #",e.id,": "),j(2),vi(e.title),j(1),H("ngIf",i.dupIssueOptionIsDisabled(e))}}function koe(n,t){1&n&&(x(0,"mat-error"),Me(1," Need to specify the duplicated issue. "),O())}function xoe(n,t){if(1&n){const e=on();x(0,"div",6)(1,"div")(2,"mat-checkbox",21),tt("change",function(r){return zt(e),Ce().handleChangeOfDuplicateCheckbox(r)}),Me(3," A Duplicate Of: "),O(),x(4,"mat-form-field",22)(5,"mat-select",23)(6,"mat-option"),wt(7,"ngx-mat-select-search",24),O(),Ae(8,Soe,6,5,"mat-option",25),ls(9,"async"),O(),Ae(10,koe,2,0,"mat-error",13),O()()()}if(2&n){const e=Ce();j(4),Fr("visibility",e.duplicated.value?"visible":"hidden"),j(3),H("formControl",e.searchFilterCtrl),j(1),H("ngForOf",cs(9,5,e.filteredDuplicateIssueList)),j(2),H("ngIf",e.duplicateOf.errors&&e.duplicateOf.errors.required&&e.duplicateOf.touched)}}function Ioe(n,t){if(1&n&&(x(0,"div",6),wt(1,"app-duplicated-issues-component",31),O()),2&n){const e=Ce();j(1),H("issue",e.issue)}}function Aoe(n,t){if(1&n&&(x(0,"mat-option",32),Me(1),O()),2&n){const e=t.$implicit;H("value",e),j(1),vi(e)}}function Roe(n,t){1&n&&(x(0,"mat-error"),Me(1," Assignee(s) required. "),O())}function Loe(n,t){if(1&n){const e=on();x(0,"button",33),tt("click",function(){return zt(e),Ce().viewUpdatedResponse()}),Me(1," View Updated Response "),O()}2&n&&H("disabled",Ce().isFormPending)}function Ooe(n,t){if(1&n&&(x(0,"button",34),Me(1),O()),2&n){const e=Ce();H("disabled",e.newTeamResponseForm.invalid||e.isFormPending),j(1),an(" ",e.submitButtonText," ")}}function Poe(n,t){if(1&n&&(x(0,"button",35),Me(1),O()),2&n){const e=Ce();H("disabled",e.newTeamResponseForm.invalid||e.isFormPending),j(1),an(" ",e.submitButtonText," ")}}function Foe(n,t){if(1&n){const e=on();x(0,"button",36),tt("click",function(){return zt(e),Ce().refresh()}),Me(1," Cancel "),O()}2&n&&H("disabled",Ce().isFormPending)}let Noe=(()=>{class n{constructor(e,i,r,s,o,a){this.issueService=e,this.formBuilder=i,this.labelService=r,this.errorHandlingService=s,this.dialog=o,this.phaseService=a,this.searchFilterCtrl=new ta,this.filteredDuplicateIssueList=new vN(1),this.isFormPending=!1,this.issueUpdated=new Yt,this._onDestroy=new K}ngOnInit(){this.teamMembers=this.issue.teamAssigned.teamMembers.map(e=>e.loginId),this.duplicatedIssueList=this.getDupIssueList(),this.duplicatedIssueList.pipe(Js()).subscribe(e=>this.filteredDuplicateIssueList.next(e)),this.searchFilterCtrl.valueChanges.pipe(vn(this._onDestroy)).subscribe(e=>this.filterIssues()),this.newTeamResponseForm=this.formBuilder.group({description:[""],severity:[this.issue.severity,Mr.required],type:[this.issue.type,Mr.required],response:[this.issue.response,Mr.required],assignees:[this.issue.assignees.map(e=>e.toLowerCase())],duplicated:[!1],duplicateOf:[""]}),this.duplicated.valueChanges.subscribe(e=>{e?(this.duplicateOf.setValidators(Mr.required),this.responseTag.setValidators(null)):(this.duplicateOf.setValidators(null),this.responseTag.setValidators(Mr.required)),this.duplicateOf.updateValueAndValidity(),this.responseTag.updateValueAndValidity()}),this.submitButtonText="Submit"}filterIssues(){this.changeFilter(this.duplicatedIssueList,this.searchFilterCtrl.value).subscribe(e=>this.filteredDuplicateIssueList.next(e))}changeFilter(e,i){return e.pipe(Js(),_e(r=>rE(i,[Kt.ID,Kt.TITLE],this.issueService,r)))}ngOnDestroy(){this._onDestroy.next(),this._onDestroy.complete()}submitNewTeamResponse(e){if(this.newTeamResponseForm.invalid)return;this.isFormPending=!0;const i=this.getUpdatedIssue();this.isSafeToSubmit().pipe(ue(r=>{const s=i.createGithubTeamResponse();return r?this.issueService.createTeamResponse(i):"Overwrite"===this.submitButtonText?this.issueService.updateIssueWithComment(i,{id:this.issueService.issues[this.issue.id].issueComment.id,description:s}):(this.conflict=new by(" ",this.issueService.issues[this.issue.id].teamResponse),this.submitButtonText="Overwrite",this.viewUpdatedResponse(),Qi("A response has been submitted. Please verify the changes and try again."))}),Ia(()=>this.isFormPending=!1)).subscribe(r=>{this.issueUpdated.emit(r),e.resetForm()},r=>{this.errorHandlingService.handleError(r)})}isSafeToSubmit(){return this.issueService.getLatestIssue(this.issue.id).pipe(_e(e=>!e.teamResponse))}getUpdatedIssue(){const e=this.issue.clone(this.phaseService.currentPhase);if(e.duplicated=this.duplicated.value,e.duplicateOf=this.duplicateOf.value,e.duplicated){const i=this.issueService.issues[e.duplicateOf];e.severity=i.severity,e.type=i.type,e.assignees=i.assignees,e.response=i.response}else e.severity=this.severity.value,e.type=this.type.value,e.assignees=this.assignees.value,e.response=this.responseTag.value;return e.status=Ys.Done,e.teamResponse=Bi.updateTeamResponse(this.description.value),e}dupIssueOptionIsDisabled(e){return e.duplicated||!!e.duplicateOf}getDisabledDupOptionErrorText(e){return this.dupIssueOptionIsDisabled(e)?"Duplicate of #"+e.duplicateOf:""}handleChangeOfDuplicateCheckbox(e){e.checked?(this.responseTag.setValue(""),this.assignees.setValue([]),this.responseTag.markAsUntouched()):(this.duplicateOf.setValue(""),this.duplicateOf.markAsUntouched())}viewUpdatedResponse(){this.dialog.open(foe,{data:this.issueService.issues[this.issue.id],autoFocus:!1})}refresh(){this.issueUpdated.emit(this.issueService.issues[this.issue.id])}getDupIssueList(){return this.issueService.issues$.pipe(_e(e=>e.filter(i=>this.issue.id!==i.id)))}get description(){return this.newTeamResponseForm.get("description")}get severity(){return this.newTeamResponseForm.get("severity")}get type(){return this.newTeamResponseForm.get("type")}get assignees(){return this.newTeamResponseForm.get("assignees")}get responseTag(){return this.newTeamResponseForm.get("response")}get duplicated(){return this.newTeamResponseForm.get("duplicated")}get duplicateOf(){return this.newTeamResponseForm.get("duplicateOf")}}return n.\u0275fac=function(e){return new(e||n)(M(Di),M(tc),M(ei),M(Gi),M(qa),M(er))},n.\u0275cmp=At({type:n,selectors:[["app-new-team-response"]],inputs:{issue:"issue"},outputs:{issueUpdated:"issueUpdated"},decls:29,vars:26,consts:[[3,"formGroup","ngSubmit"],["myForm","ngForm"],[1,"timeline-comment"],[1,"timeline-header"],["class","container",4,"ngIf","ngIfElse"],["displayDuplicates",""],[1,"container"],[1,"left-half"],["attributeName","severity",3,"initialValue","dropdownForm"],[1,"right-half"],["attributeName","type",3,"initialValue","dropdownForm"],["placeholder","Assignees","formControlName","assignees","multiple",""],[3,"value",4,"ngFor","ngForOf"],[4,"ngIf"],["attributeName","response",3,"initialValue","dropdownForm"],[3,"id","commentField","commentForm","isFormPending","submitButtonText","isFormPendingChange","submitButtonTextChange"],[1,"editor-actions"],["class","editor-action","type","button","mat-raised-button","","color","primary",3,"disabled","click",4,"ngIf"],["class","editor-action","type","submit","mat-raised-button","","color","warn",3,"disabled",4,"ngIf"],["type","submit","class","editor-action","mat-stroked-button","","color","primary",3,"disabled",4,"ngIf"],["class","editor-action","type","button","mat-stroked-button","","color","warn","matTooltip","Updated response will overwrite your changes",3,"disabled","click",4,"ngIf"],["formControlName","duplicated",2,"display","inline-block","width","20%",3,"change"],[2,"display","inline-block","width","50%"],["formControlName","duplicateOf","placeholder","Duplicate of"],["placeholderLabel","Search issues","noEntriesFoundLabel","No issues found",3,"formControl"],[3,"disabled","value",4,"ngFor","ngForOf"],[3,"disabled","value"],[1,"mat-body-strong"],[1,"mat-body"],["class","mat-caption","style","color: #f44336",4,"ngIf"],[1,"mat-caption",2,"color","#f44336"],[3,"issue"],[3,"value"],["type","button","mat-raised-button","","color","primary",1,"editor-action",3,"disabled","click"],["type","submit","mat-raised-button","","color","warn",1,"editor-action",3,"disabled"],["type","submit","mat-stroked-button","","color","primary",1,"editor-action",3,"disabled"],["type","button","mat-stroked-button","","color","warn","matTooltip","Updated response will overwrite your changes",1,"editor-action",3,"disabled","click"]],template:function(e,i){if(1&e){const r=on();x(0,"form",0,1),tt("ngSubmit",function(){zt(r);const o=ki(1);return i.submitNewTeamResponse(o)}),x(2,"div",2)(3,"div",3)(4,"span"),Me(5," Post your team's response here. "),O()(),x(6,"div"),Ae(7,xoe,11,7,"div",4),ls(8,"async"),Ae(9,Ioe,2,1,"ng-template",null,5,cd),x(11,"div",6)(12,"div",7),wt(13,"app-label-dropdown",8),O(),x(14,"div",9),wt(15,"app-label-dropdown",10),O()(),x(16,"div",6)(17,"mat-form-field",7)(18,"mat-select",11),Ae(19,Aoe,2,2,"mat-option",12),O(),Ae(20,Roe,2,0,"mat-error",13),O(),x(21,"div",9),wt(22,"app-label-dropdown",14),O()(),x(23,"app-comment-editor",15),tt("isFormPendingChange",function(o){return i.isFormPending=o})("submitButtonTextChange",function(o){return i.submitButtonText=o}),O(),x(24,"div",16),Ae(25,Loe,2,1,"button",17),Ae(26,Ooe,2,2,"button",18),Ae(27,Poe,2,2,"button",19),Ae(28,Foe,2,1,"button",20),O()()()()}if(2&e){const r=ki(10);H("formGroup",i.newTeamResponseForm),j(7),H("ngIf",0===cs(8,24,i.issueService.getDuplicateIssuesFor(i.issue)).length)("ngIfElse",r),j(4),Fr("display",i.duplicated.value?"none":"grid"),j(2),H("initialValue",i.issue.severity)("dropdownForm",i.newTeamResponseForm),j(2),H("initialValue",i.issue.type)("dropdownForm",i.newTeamResponseForm),j(1),Fr("display",i.duplicated.value?"none":"grid"),j(3),H("ngForOf",i.teamMembers),j(1),H("ngIf",i.assignees.errors&&i.assignees.errors.required&&i.assignees.touched),j(2),H("initialValue",i.issue.response)("dropdownForm",i.newTeamResponseForm),j(1),H("id","description")("commentField",i.newTeamResponseForm.get("description"))("commentForm",i.newTeamResponseForm)("isFormPending",i.isFormPending)("submitButtonText",i.submitButtonText),j(2),H("ngIf",i.conflict),j(1),H("ngIf",i.conflict),j(1),H("ngIf",!i.conflict),j(1),H("ngIf",i.conflict)}},directives:[na,ea,ds,ai,ac,Co,Pa,Er,ko,oa,wi,Op,jr,Zp,MN,DN,hc,bi,gl],pipes:[rl],styles:[".left-half[_ngcontent-%COMP%]{grid-column:1;padding-right:5px}.right-half[_ngcontent-%COMP%]{grid-column:2;padding-left:5px}.container[_ngcontent-%COMP%]{padding:10px 20px 0;display:grid}"]}),n})(),joe=(()=>{class n{constructor(){}ngOnInit(){}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=At({type:n,selectors:[["app-parse-error"]],inputs:{phase:"phase"},decls:7,vars:2,consts:[[1,"timeline-comment"],[1,"timeline-header"],[1,"comment"]],template:function(e,i){1&e&&(x(0,"div",0)(1,"div",1)(2,"span")(3,"strong"),Me(4),O()()(),x(5,"div",2),Me(6),O()()),2&e&&(j(4),an("Error in parsing ",i.phase,""),j(2),an("No valid ",i.phase," was found. Please contact the teaching team for assistance."))},styles:[".timeline-header[_ngcontent-%COMP%]{background-color:#f7d2d2;border-bottom:1px solid #ebc0c0;border-top-left-radius:3px;border-top-right-radius:3px;color:#586069;height:35px;padding:5px 10px;display:flex;align-items:center;justify-content:space-between}.timeline-comment[_ngcontent-%COMP%]{overflow:auto;border:1px solid #ebc0c0;background-color:#fff;border-radius:3px;margin-bottom:30px;white-space:pre-line}.comment[_ngcontent-%COMP%]{padding:15px}"]}),n})();function Boe(n,t){1&n&&(x(0,"mat-chip",19),Me(1," No Changes "),O())}function Yoe(n,t){if(1&n&&(x(0,"div",20)(1,"mat-checkbox",21),Me(2," I disagree "),O()()),2&n){const e=Ce().index,i=Ce();j(1),H("disabled",!0)("checked",i.data.updatedResponses[e].isDisagree())}}function Hoe(n,t){1&n&&(x(0,"div",22)(1,"i",23),Me(2,"add_box"),O(),x(3,"ins",24),Me(4," I disagree "),O()())}function Voe(n,t){1&n&&(x(0,"div",22)(1,"i",25),Me(2,"indeterminate_check_box"),O(),x(3,"del",26),Me(4,"I disagree"),O()())}function qoe(n,t){if(1&n&&wt(0,"div",28),2&n){const e=Ce(2).index;H("innerHTML",Ce().diffHtmls[e],Lc)}}function Uoe(n,t){if(1&n&&wt(0,"div",28),2&n){const e=Ce(2).index;H("innerHTML",Ce().updatedHtmls[e],Lc)}}function zoe(n,t){if(1&n&&(x(0,"div",18),Ae(1,qoe,1,1,"div",27),Ae(2,Uoe,1,1,"div",27),O()),2&n){const e=Ce(2);j(1),H("ngIf",e.showDiff),j(1),H("ngIf",!e.showDiff)}}function Goe(n,t){if(1&n&&(x(0,"mat-expansion-panel",7)(1,"mat-expansion-panel-header")(2,"mat-panel-title",8)(3,"div",9),Me(4,"?"),O(),wt(5,"markdown",10),O(),x(6,"mat-panel-description")(7,"mat-chip-list"),Ae(8,Boe,2,0,"mat-chip",11),O()()(),wt(9,"br")(10,"markdown",10)(11,"br"),Ae(12,Yoe,3,2,"div",12),Ae(13,Hoe,5,0,"div",13),Ae(14,Voe,5,0,"div",13),x(15,"mat-tab-group",14)(16,"mat-tab",15),Ae(17,zoe,3,2,"div",16),O(),x(18,"mat-tab",17)(19,"div",18)(20,"markdown"),Me(21),O()()()()()),2&n){const e=t.$implicit,i=t.index,r=Ce();H("expanded",r.panelOpenStates[i]),j(5),H("data",r.data.updatedResponses[i].getTitleInMarkDown()),j(3),H("ngIf",0===r.data.outdatedResponses[i].compareTo(r.data.updatedResponses[i])),j(2),H("data",r.data.updatedResponses[i].description),j(2),H("ngIf",r.data.updatedResponses[i].isDisagree()===r.data.outdatedResponses[i].isDisagree()||!r.showDiff),j(1),H("ngIf",!r.data.outdatedResponses[i].isDisagree()&&r.data.updatedResponses[i].isDisagree()&&r.showDiff),j(1),H("ngIf",r.data.outdatedResponses[i].isDisagree()&&!r.data.updatedResponses[i].isDisagree()&&r.showDiff),j(3),H("ngIf",r.isReady),j(4),vi(e.updatedContent)}}let $oe=(()=>{class n{constructor(e,i,r,s,o){this.dialogRef=e,this.data=i,this.sanitizer=r,this.labelService=s,this.issueService=o,this.isReady=!1,this.showDiff=!0,this.conflicts=[],this.diffHtmls=[],this.updatedHtmls=[],this.panelOpenStates=[];for(let a=0;a{class n{constructor(e){this.ngControl=e}set disableControl(e){var i,r;e?null===(i=this.ngControl.control)||void 0===i||i.disable():null===(r=this.ngControl.control)||void 0===r||r.enable()}}return n.\u0275fac=function(e){return new(e||n)(M(Eo))},n.\u0275dir=rt({type:n,selectors:[["","disableControl",""]],inputs:{disableControl:"disableControl"}}),n})();function Woe(n,t){1&n&&(x(0,"span"),Me(1," Please verify the following item(s). "),O())}function Qoe(n,t){1&n&&(x(0,"span")(1,"strong"),Me(2,"Tester"),O(),Me(3," responded. "),O())}function Koe(n,t){if(1&n){const e=on();x(0,"button",8),tt("click",function(){return zt(e),Ce().changeToEditMode()}),Me(1,"Edit"),O()}}function Zoe(n,t){1&n&&wt(0,"markdown",12),2&n&&H("data",Ce(2).$implicit.reasonForDisagreement)}function Xoe(n,t){if(1&n){const e=on();x(0,"div")(1,"app-comment-editor",18),tt("isFormPendingChange",function(r){return zt(e),Ce(3).isFormPending=r})("submitButtonTextChange",function(r){return zt(e),Ce(3).submitButtonText=r}),O()()}if(2&n){const e=Ce(2).index,i=Ce();j(1),H("commentField",i.testerResponseForm.get(i.getTesterResponseFormId(e)))("id",i.getTesterResponseFormId(e))("commentForm",i.testerResponseForm)("isFormPending",i.isFormPending)("submitButtonText",i.submitButtonText)}}function Joe(n,t){if(1&n&&(x(0,"div")(1,"div")(2,"p",16),Me(3,"Reason for Disagreement:"),O(),Ae(4,Zoe,1,1,"markdown",17),O(),Ae(5,Xoe,2,5,"div",4),O()),2&n){const e=Ce(2);j(4),H("ngIf",!e.isEditing),j(1),H("ngIf",e.isEditing)}}function eae(n,t){if(1&n){const e=on();x(0,"div",9)(1,"div",10)(2,"div",11),Me(3,"?"),O(),wt(4,"markdown",12),O(),wt(5,"br")(6,"markdown",12)(7,"br"),x(8,"div")(9,"mat-radio-group",13),tt("change",function(r){const o=zt(e).index;return Ce().handleChangeOfDisagreeRadioButton(r,o)}),x(10,"mat-radio-button",14),Me(11," I Agree "),O(),x(12,"mat-radio-button",14),Me(13," I Disagree "),O()()(),Ae(14,Joe,6,2,"div",4),wt(15,"br")(16,"markdown",15)(17,"br"),O()}if(2&n){const e=t.$implicit,i=t.index,r=Ce();j(4),H("data",e.getTitleInMarkDown()),j(2),H("data",e.description),j(3),H("disableControl",!r.isEditing)("id",r.getDisagreeRadioFormId(i))("formControlName",r.getDisagreeRadioFormId(i)),j(1),H("value",!1),j(2),H("value",!0),j(2),H("ngIf",r.testerResponseForm.get(r.getDisagreeRadioFormId(i)).value)}}function tae(n,t){if(1&n){const e=on();x(0,"button",24),tt("click",function(){return zt(e),Ce(2).viewChanges()}),Me(1," View Updated Response "),O()}2&n&&H("disabled",Ce(2).isFormPending)}function nae(n,t){if(1&n&&(x(0,"button",25),Me(1),O()),2&n){const e=Ce(2);H("disabled",e.testerResponseForm.invalid||e.isFormPending),j(1),an(" ",e.submitButtonText," ")}}function iae(n,t){if(1&n&&(x(0,"button",26),Me(1),O()),2&n){const e=Ce(2);H("disabled",e.testerResponseForm.invalid||e.isFormPending),j(1),an(" ",e.submitButtonText," ")}}function rae(n,t){if(1&n){const e=on();x(0,"button",27),tt("click",function(){return zt(e),Ce(2).openCancelDialogIfModified()}),Me(1," Cancel "),O()}2&n&&H("disabled",Ce(2).isFormPending)}function sae(n,t){if(1&n&&(x(0,"div",19),Ae(1,tae,2,1,"button",20),Ae(2,nae,2,2,"button",21),Ae(3,iae,2,2,"button",22),Ae(4,rae,2,1,"button",23),O()),2&n){const e=Ce();j(1),H("ngIf",e.conflict),j(1),H("ngIf",!e.conflict),j(1),H("ngIf",e.conflict),j(1),H("ngIf",!e.isNewResponse())}}let oae=(()=>{class n{constructor(e,i,r,s,o,a,l){this.formBuilder=e,this.issueService=i,this.userService=r,this.errorHandlingService=s,this.dialog=o,this.phaseService=a,this.dialogService=l,this.isFormPending=!1,this.issueUpdated=new Yt,this.updateEditState=new Yt,this.cancelEditModalMessages=["Do you wish to cancel?","Your changes will be discarded."],this.yesButtonModalMessage="Cancel",this.noButtonModalMessage="Continue editing",this.responseRadioIdentifier="response-radio",this.responseTextIdentifier="tester-response"}ngOnInit(){this.resetForm(),this.submitButtonText=this.isNewResponse()?"Submit":"Save",setTimeout(()=>{this.updateEditState.emit(this.isNewResponse())})}ngOnChanges(e){!this.isEditing&&e.issue&&e.issue.previousValue!==e.issue.currentValue&&this.resetForm()}submitTesterResponseForm(){this.testerResponseForm.invalid||(this.isFormPending=!0,this.isSafeToSubmit().pipe(ue(e=>e||this.isUpdatingDeletedResponse()||"Overwrite"===this.submitButtonText?this.issueService.updateTesterResponse(this.issue,Object.assign(Object.assign({},this.issue.issueComment),{description:this.getTesterResponseFromForm()})):(this.submitButtonText="Overwrite",this.viewChanges(),Qi("The content you are editing has changed. Please verify the changes and try again."))),Ia(()=>this.isFormPending=!1)).subscribe(e=>{this.issueUpdated.emit(e),this.resetToDefault()},e=>{this.errorHandlingService.handleError(e)}))}isSafeToSubmit(){return this.issueService.getLatestIssue(this.issue.id).pipe(_e(e=>!!e.testerResponses&&e.testerResponses.reduce((i,r,s)=>i&&0===r.compareTo(this.issue.testerResponses[s]),!0)))}isUpdatingDeletedResponse(){return this.issue.testerResponses&&!this.issueService.issues[this.issue.id].testerResponses}viewChanges(){this.dialog.open($oe,{data:{outdatedResponses:this.issue.testerResponses,updatedResponses:this.issueService.issues[this.issue.id].testerResponses},autoFocus:!1})}changeToEditMode(){this.updateEditState.emit(!0)}openCancelDialogIfModified(){const e=this.issue.testerResponses.filter((s,o)=>this.isResponseDisagreed(o)).map((s,o)=>this.getTesterResponseText(o)!==(s.reasonForDisagreement||"")).reduce((s,o)=>s||o,!1),i=this.issue.testerResponses.map((s,o)=>this.isResponseDisagreed(o)!==s.isDisagree()).reduce((s,o)=>s||o,!1);this.dialogService.performActionIfModified(e||i,()=>this.openCancelDialog(),()=>this.cancelEditMode())}openCancelDialog(){this.dialogService.openUserConfirmationModal(this.cancelEditModalMessages,this.yesButtonModalMessage,this.noButtonModalMessage).afterClosed().subscribe(i=>{i&&this.cancelEditMode()})}cancelEditMode(){this.issueService.getIssue(this.issue.id).subscribe(e=>{this.issueUpdated.emit(e),this.resetToDefault()})}resetToDefault(){this.submitButtonText="Save",this.updateEditState.emit(!1),this.resetForm()}handleChangeOfDisagreeRadioButton(e,i){const r=this.testerResponseForm.get(this.getTesterResponseFormId(i));this.isResponseDisagreed(i)?r.enable():r.disable()}trackDisagreeList(e,i){return i[e]}isNewResponse(){return!this.issue.status&&this.userService.currentUser.role===An.Student}createFormGroup(){const e={};for(let i=0;i{const s=this.isResponseDisagreed(r),o=s?this.getTesterResponseText(r)||i.reasonForDisagreement:i.INITIAL_RESPONSE;return i.setDisagree(s),i.setReasonForDisagreement(o),i}),e.createGithubTesterResponse()}getTesterResponseFormId(e){return`${this.responseTextIdentifier}-${e}`}getTesterResponseText(e){return this.testerResponseForm.get(this.getTesterResponseFormId(e)).value}getDisagreeRadioFormId(e){return`${this.responseRadioIdentifier}-${e}`}isResponseDisagreed(e){return this.testerResponseForm.get(this.getDisagreeRadioFormId(e)).value}get conflict(){return"Overwrite"===this.submitButtonText}}return n.\u0275fac=function(e){return new(e||n)(M(tc),M(Di),M(Cr),M(Gi),M(qa),M(er),M(vl))},n.\u0275cmp=At({type:n,selectors:[["app-tester-response"]],viewQuery:function(e,i){if(1&e&&hn(hc,5),2&e){let r;Et(r=Ct())&&(i.commentEditor=r.first)}},inputs:{issue:"issue",isEditing:"isEditing"},outputs:{issueUpdated:"issueUpdated",updateEditState:"updateEditState"},features:[Jn],decls:12,vars:7,consts:[[1,"mat-title"],[3,"formGroup","ngSubmit"],[1,"timeline-comment"],[1,"timeline-header"],[4,"ngIf"],["mat-button","","style","float: right",3,"click",4,"ngIf"],["class","container",4,"ngFor","ngForOf","ngForTrackBy"],["class","editor-actions",4,"ngIf"],["mat-button","",2,"float","right",3,"click"],[1,"container"],[2,"display","flex","align-items","center"],[1,"question-mark"],["disableInternalLink","",3,"data"],["aria-label","Select Agree or Disagree to Team's Response",2,"display","inline-block","width","20%",3,"disableControl","id","formControlName","change"],[3,"value"],["data","-------------------"],[2,"font-weight","500"],["disableInternalLink","",3,"data",4,"ngIf"],[3,"commentField","id","commentForm","isFormPending","submitButtonText","isFormPendingChange","submitButtonTextChange"],[1,"editor-actions"],["class","editor-action","type","button","mat-raised-button","","color","primary",3,"disabled","click",4,"ngIf"],["type","submit","mat-stroked-button","","color","primary",3,"disabled",4,"ngIf"],["class","editor-action","type","submit","mat-raised-button","","color","warn",3,"disabled",4,"ngIf"],["class","editor-action","type","button","mat-stroked-button","","color","warn",3,"disabled","click",4,"ngIf"],["type","button","mat-raised-button","","color","primary",1,"editor-action",3,"disabled","click"],["type","submit","mat-stroked-button","","color","primary",3,"disabled"],["type","submit","mat-raised-button","","color","warn",1,"editor-action",3,"disabled"],["type","button","mat-stroked-button","","color","warn",1,"editor-action",3,"disabled","click"]],template:function(e,i){1&e&&(x(0,"h3",0),Me(1,"Tester's Response"),O(),x(2,"form",1),tt("ngSubmit",function(){return i.submitTesterResponseForm()}),x(3,"div",2)(4,"div",3),Ae(5,Woe,2,0,"span",4),Ae(6,Qoe,4,0,"span",4),Ae(7,Koe,2,0,"button",5),O(),x(8,"div"),Ae(9,eae,18,8,"div",6),wt(10,"mat-divider"),Ae(11,sae,5,4,"div",7),O()()()),2&e&&(j(2),H("formGroup",i.testerResponseForm),j(3),H("ngIf",i.isNewResponse()),j(1),H("ngIf",!i.isNewResponse()),j(1),H("ngIf",!i.isEditing),j(2),H("ngForOf",i.issue.testerResponses)("ngForTrackBy",i.trackDisagreeList),j(2),H("ngIf",i.isEditing))},directives:[na,ea,ds,ai,bi,jr,cl,Qd,mP,EN,Co,Pa,fP,hc,ey],styles:[".container[_ngcontent-%COMP%]{padding:10px 20px 0;display:grid}.mat-radio-button[_ngcontent-%COMP%] ~ .mat-radio-button[_ngcontent-%COMP%]{margin-left:16px}"]}),n})(),aae=(()=>{class n{constructor(){}ngOnInit(){this.message=VP}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=At({type:n,selectors:[["app-team-accepted"]],decls:8,vars:1,consts:[[1,"timeline-comment"],[1,"timeline-header"],[1,"comment"]],template:function(e,i){1&e&&(x(0,"div",0)(1,"div",1)(2,"span")(3,"strong"),Me(4,"Team"),O(),Me(5," responded"),O()(),x(6,"div",2),Me(7),O()()),2&e&&(j(7),vi(i.message))},styles:[""]}),n})();function lae(n,t){if(1&n){const e=on();x(0,"button",8),tt("click",function(){return zt(e),Ce().changeToEditMode()}),Me(1,"Edit"),O()}}function cae(n,t){1&n&&wt(0,"markdown",12),2&n&&H("data",Ce().$implicit.tutorResponse)}function uae(n,t){if(1&n){const e=on();x(0,"div")(1,"app-comment-editor",18),tt("isFormPendingChange",function(r){return zt(e),Ce(2).isFormPending=r})("submitButtonTextChange",function(r){return zt(e),Ce(2).submitButtonText=r}),O()()}if(2&n){const e=Ce().index,i=Ce();j(1),H("commentField",i.tutorResponseForm.get(i.getTutorResponseFormId(e)))("commentForm",i.tutorResponseForm)("id",i.getTutorResponseFormId(e))("isFormPending",i.isFormPending)("submitButtonText",i.submitButtonText)}}function dae(n,t){if(1&n&&(x(0,"div",9)(1,"div",10)(2,"div",11),Me(3,"?"),O(),wt(4,"markdown",12),O(),wt(5,"br")(6,"markdown",12)(7,"br"),x(8,"div")(9,"mat-checkbox",13),Me(10," Done "),O()(),wt(11,"br"),x(12,"div"),wt(13,"markdown",14),Ae(14,cae,1,1,"markdown",15),O(),Ae(15,uae,2,5,"div",16),wt(16,"br")(17,"markdown",17)(18,"br"),O()),2&n){const e=t.$implicit,i=t.index,r=Ce();j(4),H("data",r.getItemTitleText(e.title)),j(2),H("data",e.description),j(3),H("id",r.getTodoFormId(i))("formControlName",r.getTodoFormId(i))("disableControl",!r.isEditing),j(5),H("ngIf",!r.isEditing),j(1),H("ngIf",r.isEditing)}}function hae(n,t){if(1&n){const e=on();x(0,"button",24),tt("click",function(){return zt(e),Ce(2).viewInGithub()}),Me(1," View Updated Response On Github "),O()}2&n&&H("disabled",Ce(2).isFormPending)}function pae(n,t){if(1&n&&(x(0,"button",25),Me(1),O()),2&n){const e=Ce(2);H("disabled",e.tutorResponseForm.invalid||e.isFormPending),j(1),an(" ",e.submitButtonText," ")}}function mae(n,t){if(1&n&&(x(0,"button",26),Me(1),O()),2&n){const e=Ce(2);H("disabled",e.tutorResponseForm.invalid||e.isFormPending),j(1),an(" ",e.submitButtonText," ")}}function fae(n,t){if(1&n){const e=on();x(0,"button",27),tt("click",function(){return zt(e),Ce(2).cancelEditMode()}),Me(1," Cancel "),O()}2&n&&H("disabled",Ce(2).isFormPending)}function gae(n,t){if(1&n&&(x(0,"div",19),Ae(1,hae,2,1,"button",20),Ae(2,pae,2,2,"button",21),Ae(3,mae,2,2,"button",22),Ae(4,fae,2,1,"button",23),O()),2&n){const e=Ce();j(1),H("ngIf",e.conflict),j(1),H("ngIf",!e.conflict),j(1),H("ngIf",e.conflict),j(1),H("ngIf",!e.isNewResponse())}}let _ae=(()=>{class n{constructor(e,i,r,s,o,a){this.formBuilder=e,this.issueService=i,this.userService=r,this.errorHandlingService=s,this.githubService=o,this.phaseService=a,this.isFormPending=!1,this.issueUpdated=new Yt,this.updateEditState=new Yt}ngOnInit(){this.resetForm(),this.submitButtonText=this.isNewResponse()?"Submit":"Save",setTimeout(()=>{this.updateEditState.emit(this.isNewResponse())})}ngOnChanges(e){!this.isEditing&&e.issue&&e.issue.previousValue!==e.issue.currentValue&&this.resetForm()}submitTutorResponseForm(e){this.tutorResponseForm.invalid||(this.isFormPending=!0,this.issue.pending=""+this.getNumOfPending(),this.isSafeToSubmitTutorResponse().pipe(ue(i=>i||this.isUpdatingDeletedResponse()?this.issue.issueComment&&!this.isUpdatingDeletedResponse()?this.updateTutorResponse():this.createTutorResponse():(this.submitButtonText="Overwrite",Qi("The content you are editing has changed. Please verify the changes and try again."))),Ia(()=>this.isFormPending=!1)).subscribe(i=>{this.issueUpdated.emit(i),this.resetToDefault()},i=>{this.errorHandlingService.handleError(i)}))}updateTutorResponse(){return this.issueService.updateTutorResponse(this.issue,Object.assign(Object.assign({},this.issue.issueComment),{description:this.getTutorResponseFromForm()}))}createTutorResponse(){const e=this.getTutorResponseFromForm();return this.issueService.createTutorResponse(this.issue,e)}isSafeToSubmitTutorResponse(){return this.issueService.getLatestIssue(this.issue.id).pipe(_e(e=>{if(e.issueComment&&!!e.issueComment==!!this.issue.issueComment){for(let i=0;i{this.issueUpdated.emit(e),this.resetToDefault()})}trackDisputeList(e,i){return i[e]}isNewResponse(){return!this.issue.issueComment}resetForm(){this.tutorResponseForm=this.formBuilder.group(this.createFormGroup())}getItemTitleText(e){return"## "+e}getNumOfPending(){let e=this.issue.issueDisputes.length;for(const i of this.issue.issueDisputes)i.isDone()&&e--;return e}createFormGroup(){const e={};for(let i=0;i{class n{constructor(e,i,r,s,o,a,l){this.issueService=e,this.errorHandlingService=i,this.phaseService=r,this.labelService=s,this.permissions=o,this.dialogService=a,this.loadingService=l,this.issueUpdated=new Yt}showSpinner(){this.loadingService.addViewContainerRef(this.loadingSpinnerContainer).showLoader(),this.isSavePending=!0}hideSpinner(){this.loadingService.hideLoader(),this.isSavePending=!1}ngOnInit(){this.labelValues=this.labelService.getLabelList(this.attributeName),this.loadingService.addAnimationMode("indeterminate").addSpinnerOptions({diameter:15,strokeWidth:2}).addCssClasses(["mat-progress-spinner"])}ngOnChanges(){this.labelColor=this.labelService.getColorOfLabel(this.attributeName,this.issue[this.attributeName])}updateLabel(e){this.showSpinner();const i=this.issue.clone(this.phaseService.currentPhase);i[this.attributeName]=e,this.issueService.updateIssue(i).subscribe(r=>{this.issueUpdated.emit(r),this.labelColor=this.labelService.getColorOfLabel(this.attributeName,r[this.attributeName]),this.hideSpinner()},r=>{this.errorHandlingService.handleError(r),this.hideSpinner()}),this.issueService.getDuplicateIssuesFor(this.issue).pipe(Js()).subscribe(r=>{r.forEach(s=>{const o=s.clone(this.phaseService.currentPhase);o[this.attributeName]=e,this.issueService.updateIssue(o)})})}openDefinitionPage(e){this.labelDefinition=this.labelService.getLabelDefinition(e.labelValue,e.labelCategory),this.dialogService.openLabelDefinitionDialog(e.getFormattedName(),this.labelDefinition)}hasLabelDefinition(e){return null!==this.labelService.getLabelDefinition(e.labelValue,e.labelCategory)}}return n.\u0275fac=function(e){return new(e||n)(M(Di),M(Gi),M(er),M(ei),M(Hs),M(vl),M(Wd))},n.\u0275cmp=At({type:n,selectors:[["app-issue-label"]],viewQuery:function(e,i){if(1&e&&hn(yae,5,Si),2&e){let r;Et(r=Ct())&&(i.loadingSpinnerContainer=r.first)}},inputs:{issue:"issue",attributeName:"attributeName"},outputs:{issueUpdated:"issueUpdated"},features:[tn([Wd]),Jn],decls:8,vars:5,consts:[[1,"mat-title"],["style","float: right","mat-icon-button","",3,"matMenuTriggerFor",4,"ngIf"],["labelList",""],["mat-menu-item","","class","labelLine",3,"ngStyle",4,"ngFor","ngForOf"],[3,"ngStyle"],["mat-icon-button","",2,"float","right",3,"matMenuTriggerFor"],["style","font-size: 20px; margin-bottom: 7px; color: #586069",4,"ngIf"],["loadingSpinnerContainer",""],[2,"font-size","20px","margin-bottom","7px","color","#586069"],["mat-menu-item","",1,"labelLine",3,"ngStyle"],[1,"labelInfo","option",3,"disabled","click"],["class","infoPopup",3,"click",4,"ngIf"],[1,"infoPopup",3,"click"],[2,"font-size","20px"]],template:function(e,i){1&e&&(x(0,"span",0),Me(1),O(),Ae(2,bae,4,2,"button",1),x(3,"mat-menu",null,2),Ae(5,Eae,7,8,"div",3),O(),x(6,"p",4),Me(7),O()),2&e&&(j(1),an(" ",i.labelService.getLabelTitle(i.attributeName)," "),j(1),H("ngIf",i.permissions.isIssueLabelsEditable()&&!i.issue.duplicateOf),j(3),H("ngForOf",i.labelValues),j(1),H("ngStyle",i.labelService.setLabelStyle(i.labelColor)),j(1),vi(i.issue[i.attributeName]||"-"))},directives:[ai,bi,iy,hs,ny,jr,lc,ql],styles:[".no-arrow[_ngcontent-%COMP%] .mat-select-arrow[_ngcontent-%COMP%]{visibility:hidden}[_nghost-%COMP%] .mat-progress-spinner{color:#00000080;display:inline-block;vertical-align:middle}.option[_ngcontent-%COMP%]{background-color:Transparent;border:none;outline:none;margin-right:30px}.infoPopup[_ngcontent-%COMP%]{background:transparent;border:none;outline:none;text-align:center}.labelLine[_ngcontent-%COMP%]{display:grid;grid-template-columns:3fr 1fr}.labelInfo[_ngcontent-%COMP%]{font-size:1em;text-align:left}"]}),n})();function Tae(n,t){if(1&n){const e=on();x(0,"button",7),tt("click",function(){return zt(e),Ce().openSelection()}),x(1,"mat-icon",8),Me(2," edit "),O()()}2&n&&Fr("visibility",Ce().issue.duplicated?"inherit":"hidden")}function Sae(n,t){if(1&n&&(x(0,"span",14),Me(1),O()),2&n){const e=Ce().$implicit,i=Ce();j(1),an(" (",i.getDisabledDupOptionErrorText(e),") ")}}const kae=function(n){return{width:n}};function xae(n,t){if(1&n&&(x(0,"mat-option",9)(1,"div",10)(2,"span",11),Me(3),O(),x(4,"span",12),Me(5),O()(),Ae(6,Sae,2,1,"span",13),O()),2&n){const e=t.$implicit,i=Ce();H("matTooltip",e.title)("matTooltipDisabled",!i.isTooltipNecessary(e))("matTooltipPosition","left")("disabled",i.dupIssueOptionIsDisabled(e))("value",e.id),j(1),H("ngStyle",$o(9,kae,i.dupIssueOptionIsDisabled(e)?"150px":"auto")),j(2),an(" #",e.id,": "),j(2),vi(e.title),j(1),H("ngIf",i.dupIssueOptionIsDisabled(e))}}function Iae(n,t){if(1&n&&(x(0,"span",15),Me(1),ls(2,"async"),O()),2&n){const e=Ce();j(1),an(" ",e.issue.duplicateOf?"#"+e.issue.duplicateOf+": "+cs(2,1,e.issueService.getIssue(e.issue.duplicateOf)).title:"Not specified"," ")}}function Aae(n,t){1&n&&(x(0,"span",15),Me(1," - "),O())}let Rae=(()=>{class n{constructor(e,i,r,s){this.issueService=e,this.permissions=i,this.errorHandlingService=r,this.phaseService=s,this.isEditing=!1,this.searchFilterCtrl=new ta,this.filteredDuplicateIssueList=new vN(1),this.issueUpdated=new Yt,this._onDestroy=new K,this.MAX_TITLE_LENGTH_FOR_DUPLICATE_ISSUE=17,this.MAX_TITLE_LENGTH_FOR_NON_DUPLICATE_ISSUE=37}isTooltipNecessary(e){let i;return i=e.duplicated?this.MAX_TITLE_LENGTH_FOR_DUPLICATE_ISSUE:this.MAX_TITLE_LENGTH_FOR_NON_DUPLICATE_ISSUE,e.title.length>i}ngOnDestroy(){this._onDestroy.next(),this._onDestroy.complete()}ngOnInit(){this.duplicatedIssueList=this.getDupIssueList(),this.duplicatedIssueList.pipe(Js()).subscribe(e=>this.filteredDuplicateIssueList.next(e)),this.searchFilterCtrl.valueChanges.pipe(vn(this._onDestroy)).subscribe(e=>this.filterIssues())}filterIssues(){this.changeFilter(this.duplicatedIssueList,this.searchFilterCtrl.value).subscribe(e=>this.filteredDuplicateIssueList.next(e))}updateDuplicateStatus(e){const i=this.getUpdatedIssue(e);this.issueService.updateIssueWithComment(i,i.issueComment).subscribe(r=>this.issueUpdated.emit(r),r=>this.errorHandlingService.handleError(r))}dupIssueOptionIsDisabled(e){return e.duplicated||!!e.duplicateOf}getDisabledDupOptionErrorText(e){return this.dupIssueOptionIsDisabled(e)?"Duplicate of #"+e.duplicateOf:""}handleCheckboxChange(e){e.checked?this.openSelection():(this.isEditing=!1,this.duplicateOfSelection.close(),this.duplicateOfSelection.value=null,this.updateDuplicateStatus(null))}openSelection(){this.isEditing=!0,this.duplicateOfSelection.open()}handleSelectionOpenChange(e){e||(this.isEditing=!1,this.duplicatedCheckbox.checked=this.duplicateOfSelection.value)}getUpdatedIssue(e){const i=this.issue.clone(this.phaseService.currentPhase);if(i.duplicated=!!e,i.duplicateOf=e?e.value:null,e){const r=this.issueService.issues[i.duplicateOf];i.severity=r.severity,i.type=r.type,i.assignees=r.assignees,i.response=r.response}return i.issueComment.description=i.createGithubTeamResponse(),i}changeFilter(e,i){return e.pipe(Js(),_e(r=>rE(i,[Kt.ID,Kt.TITLE],this.issueService,r)))}getDupIssueList(){return this.issueService.issues$.pipe(_e(e=>e.filter(i=>this.issue.id!==i.id&&this.issue.teamAssigned.id===i.teamAssigned.id)))}}return n.\u0275fac=function(e){return new(e||n)(M(Di),M(Hs),M(Gi),M(er))},n.\u0275cmp=At({type:n,selectors:[["app-duplicate-of-component"]],viewQuery:function(e,i){if(1&e&&(hn(ko,7),hn(ac,7)),2&e){let r;Et(r=Ct())&&(i.duplicateOfSelection=r.first),Et(r=Ct())&&(i.duplicatedCheckbox=r.first)}},inputs:{issue:"issue"},outputs:{issueUpdated:"issueUpdated"},decls:14,vars:12,consts:[["labelPosition","after",3,"disabled","checked","change"],[1,"mat-title"],["style","float: right","mat-icon-button","",3,"visibility","click",4,"ngIf"],["placeholder","-",1,"no-arrow",2,"width","100%",3,"value","selectionChange","openedChange"],["placeholderLabel","Search issues","noEntriesFoundLabel","No issues found",3,"formControl"],[3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","value",4,"ngFor","ngForOf"],["style","margin-top: 5px",4,"ngIf"],["mat-icon-button","",2,"float","right",3,"click"],[2,"font-size","20px","margin-bottom","7px","color","#586069"],[3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","value"],[1,"duplicate-dropdown-issuedetails",3,"ngStyle"],[1,"mat-body-strong"],[1,"mat-body"],["class","mat-caption","style","display: inline-block; color: #f44336",4,"ngIf"],[1,"mat-caption",2,"display","inline-block","color","#f44336"],[2,"margin-top","5px"]],template:function(e,i){1&e&&(x(0,"div")(1,"mat-checkbox",0),tt("change",function(s){return i.handleCheckboxChange(s)}),x(2,"span",1),Me(3,"A Duplicate Of:"),O()(),Ae(4,Tae,3,2,"button",2),x(5,"mat-select",3),tt("selectionChange",function(s){return i.updateDuplicateStatus(s)})("openedChange",function(s){return i.handleSelectionOpenChange(s)}),x(6,"mat-option"),wt(7,"ngx-mat-select-search",4),O(),wt(8,"mat-select-trigger"),Ae(9,xae,7,11,"mat-option",5),ls(10,"async"),O(),x(11,"div"),Ae(12,Iae,3,3,"span",6),Ae(13,Aae,2,0,"span",6),O()()),2&e&&(j(1),H("disabled",!i.permissions.isTeamResponseEditable()&&!i.permissions.isTutorResponseEditable())("checked",i.issue.duplicated),j(3),H("ngIf",i.permissions.isIssueLabelsEditable()),j(1),Fr("display",i.isEditing?"block":"none"),H("value",i.issue.duplicateOf),j(2),H("formControl",i.searchFilterCtrl),j(2),H("ngForOf",cs(10,10,i.filteredDuplicateIssueList)),j(3),H("ngIf",i.issue.duplicated),j(1),H("ngIf",!i.issue.duplicated))},directives:[ac,ai,bi,hs,ko,oa,wi,Co,Op,g0,jr,gl,ql],pipes:[rl],styles:[".mat-checkbox-disabled .mat-checkbox-label{color:#000}.duplicate-dropdown-issuedetails{display:inline-block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;vertical-align:bottom!important}\n"],encapsulation:2}),n})(),Lae=(()=>{class n{constructor(e,i,r){this.issueService=e,this.errorHandlingService=i,this.phaseService=r,this.issueUpdated=new Yt}ngOnInit(){}handleChangeOfUnsureCheckbox(e){let i=!1;e.checked&&(i=!0);const r=this.issue.clone(this.phaseService.currentPhase);r.unsure=i,this.issueService.updateIssue(r).subscribe(s=>{this.issueUpdated.emit(s)},s=>{this.errorHandlingService.handleError(s)})}}return n.\u0275fac=function(e){return new(e||n)(M(Di),M(Gi),M(er))},n.\u0275cmp=At({type:n,selectors:[["app-unsure-checkbox"]],inputs:{issue:"issue"},outputs:{issueUpdated:"issueUpdated"},decls:3,vars:1,consts:[["labelPosition","before",3,"checked","change"],[1,"mat-title"]],template:function(e,i){1&e&&(x(0,"mat-checkbox",0),tt("change",function(s){return i.handleChangeOfUnsureCheckbox(s)}),x(1,"span",1),Me(2," Unsure "),O()()),2&e&&H("checked",i.issue.unsure)},directives:[ac],styles:[".mat-checkbox-disabled[_ngcontent-%COMP%] .mat-checkbox-label[_ngcontent-%COMP%]{color:#000}"]}),n})(),Ey=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Ht({type:n}),n.\u0275inj=He({imports:[[di,_l,mre,_re,fre,pre,yre,js,dc,$d,Do.forChild(),gre]]}),n})();!function bm(n,t,e){const i=n.\u0275cmp;i.directiveDefs=()=>t.map(wm),i.pipeDefs=()=>e.map(Mm)}(yl,[ai,Es,Zre,ey,zse,Xse,Noe,joe,oae,aae,_ae,Cae,wN,MN,Rae,Lae],[rl]);let fm=(()=>{class n{constructor(e,i,r){this.location=e,this.router=i,this.dialogService=r,this.modalDialogMessages=["Do you wish to leave the page?","You have unsaved changes that will be discarded."],this.yesButtonDialogMessage="Yes, I wish to leave",this.noButtonDialogMessage="No, I don't wish to leave"}openDialog(){return this.dialogService.openUserConfirmationModal(this.modalDialogMessages,this.yesButtonDialogMessage,this.noButtonDialogMessage).afterClosed()}canDeactivate(e,i,r,s){if(e.canDeactivate&&!e.canDeactivate()&&"/"!==s.url){const a=this.router.createUrlTree([],i).toString();return this.location.go(a),this.openDialog()}return Wt(!0)}}return n.\u0275fac=function(e){return new(e||n)(Se(Yc),Se(Xi),Se(vl))},n.\u0275prov=De({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),Oae=(()=>{class n{constructor(e){this.route=e,this.issueComponents=[Oi.TESTER_POST,Oi.SEVERITY_LABEL,Oi.TYPE_LABEL]}ngOnInit(){this.route.params.subscribe(e=>{this.issueId=+e.issue_id})}canDeactivate(){return!this.viewIssue.isEditing()}}return n.\u0275fac=function(e){return new(e||n)(M(Xo))},n.\u0275cmp=At({type:n,selectors:[["app-issue"]],viewQuery:function(e,i){if(1&e&&hn(yl,7),2&e){let r;Et(r=Ct())&&(i.viewIssue=r.first)}},decls:2,vars:2,consts:[[3,"issueId","issueComponents"]],template:function(e,i){1&e&&(x(0,"div"),wt(1,"app-view-issue",0),O()),2&e&&(j(1),H("issueId",i.issueId)("issueComponents",i.issueComponents))},directives:[yl],styles:[".row[_ngcontent-%COMP%]{display:flex}.column[_ngcontent-%COMP%]{padding:10px;height:100%}.left[_ngcontent-%COMP%]{width:85%}.right[_ngcontent-%COMP%]{width:15%}"]}),n})();function Fae(n,t){1&n&&(x(0,"mat-error"),Me(1," Title required. "),O())}function Nae(n,t){1&n&&(x(0,"mat-error"),Me(1," Title cannot contain only whitespaces. "),O())}function jae(n,t){1&n&&(x(0,"mat-error"),Me(1," Title cannot exceed 256 characters. "),O())}function Bae(n,t){if(1&n&&(x(0,"mat-hint"),Me(1),O()),2&n){const e=Ce();j(1),an(" ",256-(null==e.title.value?null:e.title.value.length)," characters remaining. ")}}let Yae=(()=>{class n{constructor(e,i,r,s,o){this.issueService=e,this.formBuilder=i,this.errorHandlingService=r,this.labelService=s,this.router=o,this.isFormPending=!1}ngOnInit(){this.newIssueForm=this.formBuilder.group({title:["",[Mr.required,Mr.maxLength(256),n=>n.value&&""===n.value.trim()?{whitespace:!0}:null]],description:[""],severity:["",Mr.required],type:["",Mr.required]}),this.submitButtonText="Submit"}submitNewIssue(e){this.newIssueForm.invalid||(this.isFormPending=!0,this.issueService.createIssue(this.title.value,Bi.updateDescription(this.description.value),this.severity.value,this.type.value).pipe(Ia(()=>this.isFormPending=!1)).subscribe(i=>{this.issueService.updateLocalStore(i),this.router.navigateByUrl(`phaseBugReporting/issues/${i.id}`),e.resetForm()},i=>{this.errorHandlingService.handleError(i)}))}canDeactivate(){return!(this.isAttributeEditing(this.title)||this.isAttributeEditing(this.description)||this.isAttributeEditing(this.severity)||this.isAttributeEditing(this.type))}isAttributeEditing(e){return null!==e.value&&""!==e.value}get title(){return this.newIssueForm.get("title")}get description(){return this.newIssueForm.get("description")}get severity(){return this.newIssueForm.get("severity")}get type(){return this.newIssueForm.get("type")}}return n.\u0275fac=function(e){return new(e||n)(M(Di),M(tc),M(Gi),M(ei),M(Xi))},n.\u0275cmp=At({type:n,selectors:[["app-new-issue"]],decls:22,vars:14,consts:[[1,"mat-display-1","title"],[3,"formGroup","ngSubmit"],["myForm","ngForm"],[1,"form"],[1,"row"],[1,"column","left"],["id","title","formControlName","title","matInput","","placeholder","Title","required","","maxlength","256"],[4,"ngIf"],[2,"margin","10px 0 10px 0"],[3,"id","commentField","commentForm","isFormPending","submitButtonText","isFormPendingChange","submitButtonTextChange"],["type","submit","mat-stroked-button","","color","primary",1,"submit-new-bug-report",2,"float","right",3,"disabled"],[1,"column","right"],[1,"severity-dropdown"],["initialValue","","attributeName","severity",3,"dropdownForm"],[1,"bug-dropdown"],["initialValue","","attributeName","type",3,"dropdownForm"]],template:function(e,i){if(1&e){const r=on();x(0,"h1",0),Me(1,"New Issue"),O(),x(2,"form",1,2),tt("ngSubmit",function(){zt(r);const o=ki(3);return i.submitNewIssue(o)}),x(4,"div",3)(5,"div",4)(6,"div",5)(7,"mat-form-field"),wt(8,"input",6),Ae(9,Fae,2,0,"mat-error",7),Ae(10,Nae,2,0,"mat-error",7),Ae(11,jae,2,0,"mat-error",7),Ae(12,Bae,2,1,"mat-hint",7),O(),x(13,"div",8)(14,"app-comment-editor",9),tt("isFormPendingChange",function(o){return i.isFormPending=o})("submitButtonTextChange",function(o){return i.submitButtonText=o}),O()(),x(15,"button",10),Me(16),O()(),x(17,"div",11)(18,"div",12),wt(19,"app-label-dropdown",13),O(),x(20,"div",14),wt(21,"app-label-dropdown",15),O()()()()()}2&e&&(j(2),H("formGroup",i.newIssueForm),j(7),H("ngIf",i.title.errors&&i.title.errors.required&&(i.title.touched||i.title.dirty)),j(1),H("ngIf",i.title.errors&&i.title.errors.whitespace),j(1),H("ngIf",i.title.errors&&i.title.errors.maxlength),j(1),H("ngIf",(null==i.title.value?null:i.title.value.length)>=206),j(2),H("id","description")("commentField",i.description)("commentForm",i.newIssueForm)("isFormPending",i.isFormPending)("submitButtonText",i.submitButtonText),j(1),H("disabled",!i.newIssueForm.valid||i.isFormPending),j(1),an(" ",i.submitButtonText," "),j(3),H("dropdownForm",i.newIssueForm),j(2),H("dropdownForm",i.newIssueForm))},directives:[na,ea,ds,Er,Xl,io,Co,Pa,tu,Pp,ai,Zp,r0,hc,bi,DN],styles:[".form[_ngcontent-%COMP%]{width:80%;margin:0 auto}mat-form-field[_ngcontent-%COMP%]{width:100%}.row[_ngcontent-%COMP%]{display:flex}.column[_ngcontent-%COMP%]{padding:10px;height:100%}.left[_ngcontent-%COMP%]{width:75%}.right[_ngcontent-%COMP%]{width:25%}"]}),n})(),Hae=(()=>{class n{constructor(e,i){this.snackBarRef=e,this.data=i}}return n.\u0275fac=function(e){return new(e||n)(M(sm),M(rm))},n.\u0275cmp=At({type:n,selectors:[["app-undo-action"]],decls:4,vars:1,consts:[[2,"display","inline-block","max-width","300px"],["mat-button","","color","accent",2,"float","right","margin-top","8px",3,"click"]],template:function(e,i){1&e&&(x(0,"p",0),Me(1),O(),x(2,"button",1),tt("click",function(){return i.snackBarRef.dismissWithAction()}),Me(3," Undo "),O()),2&e&&(j(1),an(" ",i.data.message," "))},directives:[bi],encapsulation:2}),n})();function CN(n,t,e){return e.splice(n*t,t)}function sE(n,t){return String(n||"").toUpperCase(){let e=Object.values(this.issueService.issues$.getValue()).reverse();return this.defaultFilter&&(e=e.filter(this.defaultFilter)),e=function qae(n,t){if(!n.active)return t;const e="asc"===n.direction?1:-1;return t.sort((i,r)=>{switch(n.active){case"type":return e*function zae(n,t){return Cy(pF[n],pF[t])}(i.type,r.type);case"severity":return e*function Uae(n,t){return Cy(hF[n],hF[t])}(i.severity,r.severity);case"assignees":return e*sE(i.assignees.join(", "),r.assignees.join(", "));case"teamAssigned":return e*sE(i.teamAssigned.id,r.teamAssigned.id);case"Todo Remaining":return-e*Cy(i.numOfUnresolvedDisputes(),r.numOfUnresolvedDisputes());case"id":return e*Cy(i.id,r.id);default:return e*sE(i[n.active],r[n.active])}})}(this.sort,e),e=this.getFilteredTeamData(e),e=rE(this.filter,this.displayedColumn,this.issueService,e),e=function Vae(n,t){n.length=t.length;let e=CN(n.pageIndex,n.pageSize,t);return 0===e.length&&(n.pageIndex=n.pageIndex-1,e=CN(n.pageIndex,n.pageSize,t)),e}(this.paginator,e),e})).subscribe(e=>{this.issuesSubject.next(e)})}get filter(){return this.filterChange.value}set filter(t){this.filterChange.next(t)}get teamFilter(){return this.teamFilterChange.value}set teamFilter(t){this.teamFilterChange.next(t),this.issueService.setIssueTeamFilter(this.teamFilterChange.value)}getFilteredTeamData(t){return t.filter(e=>!this.teamFilter||"All Teams"===this.teamFilter||e.teamAssigned.id===this.teamFilter)}}class $ae{constructor(){this.sortActiveId="",this.sortDirection="",this.pageSize=20,this.pageIndex=0}}let TN=(()=>{class n{constructor(){this._tableSettingsMap={}}getTableSettings(e){return this._tableSettingsMap[e]||new $ae}setTableSettings(e,i){this._tableSettingsMap[e]=i}clearTableSettings(){this._tableSettingsMap={}}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=De({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),Wae=(()=>{class n{constructor(e){this.el=e,this.element=e}get pageSize(){const e=sessionStorage.getItem(this.key)||this.element.pageSize;return Number(e)}set pageSize(e){const i=String(e);sessionStorage.setItem(this.key,i)}ngOnInit(){this.key=this.paginatorLocalStorage+"-PageSize",this.element.pageSize=this.pageSize,this.element.page.subscribe(e=>{this.pageSize=e.pageSize})}}return n.\u0275fac=function(e){return new(e||n)(M(v0))},n.\u0275dir=rt({type:n,selectors:[["","paginatorLocalStorage",""]],inputs:{paginatorLocalStorage:"paginatorLocalStorage"}}),n})();function Qae(n,t){1&n&&(x(0,"mat-header-cell",20),Me(1," ID "),O())}function Kae(n,t){if(1&n&&(x(0,"mat-cell")(1,"span",21),tt("click",function(i){return i.stopPropagation()}),Me(2),O()()),2&n){const e=t.$implicit;j(2),vi(e.id)}}function Zae(n,t){1&n&&(x(0,"mat-header-cell",20),Me(1," Title "),O())}function Xae(n,t){if(1&n&&(x(0,"mat-cell")(1,"a",22),Me(2),O()()),2&n){const e=t.$implicit;j(1),H("routerLink","issues/"+e.id),j(1),an(" ",e.title," ")}}function Jae(n,t){1&n&&(x(0,"mat-header-cell",20),Me(1," Team "),O())}function ele(n,t){if(1&n&&(x(0,"mat-cell"),Me(1),O()),2&n){const e=t.$implicit;j(1),an(" ",e.teamAssigned&&e.teamAssigned.id||"-"," ")}}function tle(n,t){1&n&&(Gr(0,23),Ae(1,Jae,2,0,"mat-header-cell",2),Ae(2,ele,2,1,"mat-cell",3),$r())}function nle(n,t){1&n&&(x(0,"mat-header-cell",20),Me(1," Type "),O())}function ile(n,t){1&n&&(x(0,"span",27),tt("click",function(i){return i.stopPropagation()}),x(1,"mat-icon",28),Me(2,"arrow_right_alt"),O()())}function rle(n,t){if(1&n&&(x(0,"span",24),tt("click",function(i){return i.stopPropagation()}),Me(1),O()),2&n){const e=Ce().$implicit,i=Ce();H("ngStyle",i.labelService.setLabelStyle(i.labelService.getColorOfLabel("type",e.teamChosenType))),j(1),an(" ",e.teamChosenType," ")}}function sle(n,t){if(1&n&&(x(0,"mat-cell")(1,"span",24),tt("click",function(i){return i.stopPropagation()}),Me(2),O(),Ae(3,ile,3,0,"span",25),Ae(4,rle,2,2,"span",26),O()),2&n){const e=t.$implicit,i=Ce();j(1),H("ngStyle",i.labelService.setLabelStyle(i.labelService.getColorOfLabel("type",e.type))),j(1),an(" ",e.type||"-"," "),j(1),H("ngIf",e.teamChosenType&&e.teamChosenType!=e.type),j(1),H("ngIf",e.teamChosenType&&e.teamChosenType!=e.type)}}function ole(n,t){1&n&&(x(0,"mat-header-cell",20),Me(1," Severity "),O())}function ale(n,t){1&n&&(x(0,"span",30),tt("click",function(i){return i.stopPropagation()}),x(1,"mat-icon",28),Me(2,"arrow_right_alt"),O()())}function lle(n,t){if(1&n&&(x(0,"span",24),tt("click",function(i){return i.stopPropagation()}),Me(1),O()),2&n){const e=Ce().$implicit,i=Ce();H("ngStyle",i.labelService.setLabelStyle(i.labelService.getColorOfLabel("severity",e.teamChosenSeverity))),j(1),an(" ",e.teamChosenSeverity," ")}}function cle(n,t){if(1&n&&(x(0,"mat-cell")(1,"span",24),tt("click",function(i){return i.stopPropagation()}),Me(2),O(),Ae(3,ale,3,0,"span",29),Ae(4,lle,2,2,"span",26),O()),2&n){const e=t.$implicit,i=Ce();j(1),H("ngStyle",i.labelService.setLabelStyle(i.labelService.getColorOfLabel("severity",e.severity))),j(1),an(" ",e.severity||"-"," "),j(1),H("ngIf",e.teamChosenSeverity&&e.teamChosenSeverity!=e.severity),j(1),H("ngIf",e.teamChosenSeverity&&e.teamChosenSeverity!=e.severity)}}function ule(n,t){1&n&&(x(0,"mat-header-cell",20),Me(1," Response "),O())}function dle(n,t){if(1&n&&(x(0,"span",24),tt("click",function(i){return i.stopPropagation()}),Me(1),O()),2&n){const e=Ce().$implicit,i=Ce();H("ngStyle",i.labelService.setLabelStyle(i.labelService.getColorOfLabel("response",e.response))),j(1),an(" ",e.response," ")}}function hle(n,t){1&n&&(x(0,"span",32)(1,"mat-icon",33),Me(2,"warning"),O()())}function ple(n,t){if(1&n&&(x(0,"mat-cell"),Ae(1,dle,2,2,"span",26),Ae(2,hle,3,0,"span",31),O()),2&n){const e=t.$implicit;j(1),H("ngIf",e.response),j(1),H("ngIf",!e.response)}}function mle(n,t){1&n&&(x(0,"mat-header-cell",34),Me(1," Assignees "),O())}function fle(n,t){if(1&n&&(x(0,"span",21),tt("click",function(i){return i.stopPropagation()}),Me(1),O()),2&n){const e=Ce().$implicit;j(1),an(" ",e.assignees.join(", ")," ")}}function gle(n,t){1&n&&(x(0,"span",37)(1,"mat-icon",38),Me(2," warning "),O()())}function _le(n,t){if(1&n&&(x(0,"mat-cell"),Ae(1,fle,2,1,"span",35),Ae(2,gle,3,0,"span",36),O()),2&n){const e=t.$implicit;j(1),H("ngIf",0!==e.assignees.length),j(1),H("ngIf",0===e.assignees.length)}}function yle(n,t){1&n&&(x(0,"mat-header-cell"),Me(1," Duplicates "),O())}function vle(n,t){1&n&&(x(0,"div"),Me(1,"-"),O())}const ble=function(n){return[n]};function wle(n,t){if(1&n&&(x(0,"mat-chip-list",41)(1,"mat-chip",42),Me(2),O()()),2&n){const e=t.$implicit;j(1),H("routerLink",$o(3,ble,"issues/"+e.id))("matTooltip",e.title),j(1),an(" #",e.id," ")}}function Mle(n,t){if(1&n&&(x(0,"mat-cell"),Ae(1,vle,2,0,"div",39),ls(2,"async"),Ae(3,wle,3,5,"mat-chip-list",40),ls(4,"async"),O()),2&n){const e=t.$implicit,i=Ce();j(1),H("ngIf",0===cs(2,2,i.issueService.getDuplicateIssuesFor(e)).length),j(2),H("ngForOf",cs(4,4,i.issueService.getDuplicateIssuesFor(e)))}}function Dle(n,t){1&n&&(x(0,"mat-header-cell",20),Me(1," Todo Remaining "),O())}function Ele(n,t){1&n&&(x(0,"span")(1,"font",44),Me(2,"All tasks are completed"),O()())}function Cle(n,t){if(1&n&&(x(0,"span")(1,"font",45),Me(2),O()()),2&n){const e=Ce().$implicit,i=Ce();j(2),Nb("",e.issueDisputes.length-i.todoFinished(e),"/",e.issueDisputes.length," tasks pending.")}}function Tle(n,t){if(1&n&&wt(0,"progress",46),2&n){const e=Ce().$implicit;Ea("value",Ce().todoFinished(e)),Ea("max",e.issueDisputes.length)}}function Sle(n,t){1&n&&(x(0,"span"),Me(1," No Todo List for this issue "),O())}function kle(n,t){if(1&n&&(x(0,"mat-cell"),Ae(1,Ele,3,0,"span",39),Ae(2,Cle,3,2,"span",39),Ae(3,Tle,1,2,"progress",43),Ae(4,Sle,2,0,"span",39),O()),2&n){const e=t.$implicit,i=Ce();j(1),H("ngIf",i.isTodoListChecked(e)&&e.issueDisputes.length>0),j(1),H("ngIf",!i.isTodoListChecked(e)),j(1),H("ngIf",e.issueDisputes.length>0),j(1),H("ngIf",0===e.issueDisputes.length)}}function xle(n,t){1&n&&(x(0,"mat-header-cell",34),Me(1,"Response"),O())}function Ile(n,t){if(1&n&&(x(0,"span",24),tt("click",function(i){return i.stopPropagation()}),Me(1," Disagree "),O()),2&n){const e=Ce(2);H("ngStyle",e.labelService.setLabelStyle(e.labelService.getColorOfLabel("response","Rejected")))}}function Ale(n,t){if(1&n&&(x(0,"span",24),tt("click",function(i){return i.stopPropagation()}),Me(1," Agree "),O()),2&n){const e=Ce(2);H("ngStyle",e.labelService.setLabelStyle(e.labelService.getColorOfLabel("response","Accepted")))}}function Rle(n,t){if(1&n&&(x(0,"mat-cell"),Ae(1,Ile,2,1,"span",26),Ae(2,Ale,2,1,"span",26),O()),2&n){const e=t.$implicit;j(1),H("ngIf",e.testerDisagree),j(1),H("ngIf",!e.testerDisagree)}}function Lle(n,t){1&n&&(x(0,"mat-header-cell"),Me(1," Actions "),O())}function Ole(n,t){if(1&n){const e=on();x(0,"button",54),tt("click",function(r){zt(e);const s=Ce().$implicit;return Ce().viewIssueInBrowser(s.id,r)}),x(1,"mat-icon"),Me(2,"open_in_new"),O()()}}function Ple(n,t){if(1&n){const e=on();x(0,"button",55),tt("click",function(){zt(e);const r=Ce().$implicit;return Ce().logIssueRespondRouting(r.id)}),x(1,"mat-icon"),Me(2,"feedback"),O()()}2&n&&H("routerLink","issues/"+Ce().$implicit.id)}function Fle(n,t){1&n&&(x(0,"button",57)(1,"mat-icon"),Me(2,"edit"),O()())}function Nle(n,t){if(1&n&&Ae(0,Fle,3,0,"button",56),2&n){const e=Ce(2);H("ngIf",e.permissions.isIssueEditable()&&e.isActionVisible(e.action_buttons.FIX_ISSUE))}}function jle(n,t){if(1&n){const e=on();x(0,"button",58),tt("click",function(r){zt(e);const s=Ce().$implicit;return Ce().markAsResponded(s,r)}),x(1,"mat-icon"),Me(2,"check_circle"),O()()}}function Ble(n,t){if(1&n){const e=on();x(0,"button",59),tt("click",function(r){zt(e);const s=Ce().$implicit;return Ce().markAsPending(s,r)}),x(1,"mat-icon"),Me(2,"cancel"),O()()}}function Yle(n,t){if(1&n){const e=on();x(0,"button",60),tt("click",function(r){zt(e);const s=Ce().$implicit;return Ce().openDeleteDialog(s.id,r),r.stopPropagation()}),x(1,"mat-icon"),Me(2,"delete_outline"),O()()}}function Hle(n,t){1&n&&wt(0,"mat-spinner",61),2&n&&H("diameter",25)}function Vle(n,t){if(1&n&&(x(0,"mat-cell"),Ae(1,Ole,3,0,"button",47),Ae(2,Ple,3,1,"button",48),Ae(3,Nle,1,1,"ng-template",null,49,cd),Ae(5,jle,3,0,"button",50),Ae(6,Ble,3,0,"button",51),Ae(7,Yle,3,0,"button",52),Ae(8,Hle,1,1,"mat-spinner",53),O()),2&n){const e=t.$implicit,i=ki(4),r=Ce();j(1),H("ngIf",r.isActionVisible(r.action_buttons.VIEW_IN_WEB)),j(1),H("ngIf",r.isResponseEditable()&&!e.status&&r.isActionVisible(r.action_buttons.RESPOND_TO_ISSUE))("ngIfElse",i),j(3),H("ngIf",r.isResponseEditable()&&e.status&&r.isActionVisible(r.action_buttons.MARK_AS_RESPONDED)),j(1),H("ngIf",("Student"===r.userService.currentUser.role||"Admin"===r.userService.currentUser.role)&&r.isActionVisible(r.action_buttons.MARK_AS_PENDING)),j(1),H("ngIf",r.permissions.isIssueDeletable()&&!r.issuesPendingDeletion[e.id]&&r.isActionVisible(r.action_buttons.DELETE_ISSUE)),j(1),H("ngIf",r.issuesPendingDeletion[e.id]&&r.isActionVisible(r.action_buttons.DELETE_ISSUE))}}function qle(n,t){1&n&&wt(0,"mat-header-row")}function Ule(n,t){if(1&n){const e=on();x(0,"mat-row",62),tt("click",function(){const s=zt(e).$implicit;return Ce().logIssueEditRouting(s.id)}),O()}2&n&&H("routerLink","issues/"+t.$implicit.id)}function zle(n,t){1&n&&(x(0,"mat-card",63),wt(1,"mat-progress-spinner",64),O())}const Gle=function(){return[10,20,50]};var Pi=(()=>(function(n){n[n.VIEW_IN_WEB=0]="VIEW_IN_WEB",n[n.MARK_AS_RESPONDED=1]="MARK_AS_RESPONDED",n[n.MARK_AS_PENDING=2]="MARK_AS_PENDING",n[n.RESPOND_TO_ISSUE=3]="RESPOND_TO_ISSUE",n[n.FIX_ISSUE=4]="FIX_ISSUE",n[n.DELETE_ISSUE=5]="DELETE_ISSUE"}(Pi||(Pi={})),Pi))();let Kr=(()=>{class n{constructor(e,i,r,s,o,a,l,h,f,D,k=null){this.userService=e,this.permissions=i,this.labelService=r,this.githubService=s,this.issueService=o,this.issueTableSettingsService=a,this.phaseService=l,this.errorHandlingService=h,this.logger=f,this.dialogService=D,this.snackBar=k,this.snackBarAutoCloseTime=3e3,this.filters=void 0,this.action_buttons=Pi,this.deleteIssueModalMessages=["Do you wish to delete this issue?","This action is irreversible!"],this.yesButtonModalMessage="Yes, I wish to delete this issue",this.noButtonModalMessage="No, I don't wish to delete this issue"}ngOnInit(){this.issues=new Gae(this.issueService,this.sort,this.paginator,this.headers,this.filters),this.issuesPendingDeletion={},this.tableSettings=this.issueTableSettingsService.getTableSettings(this.table_name)}ngAfterViewInit(){setTimeout(()=>{this.issues.loadIssues()})}sortChange(e){this.tableSettings.sortActiveId=e.active,this.tableSettings.sortDirection=e.direction,this.issueTableSettingsService.setTableSettings(this.table_name,this.tableSettings)}pageChange(e){this.tableSettings.pageSize=e.pageSize,this.tableSettings.pageIndex=e.pageIndex,this.issueTableSettingsService.setTableSettings(this.table_name,this.tableSettings)}isActionVisible(e){return this.actions.includes(e)}markAsResponded(e,i){this.logger.info(`IssueTablesComponent: Marking Issue ${e.id} as Responded`);const r=e.clone(this.phaseService.currentPhase);r.status=Ys.Done,this.issueService.updateIssue(r).subscribe(s=>{this.issueService.updateLocalStore(s)},s=>{this.errorHandlingService.handleError(s)}),i.stopPropagation()}isResponseEditable(){return this.permissions.isTeamResponseEditable()||this.permissions.isTesterResponseEditable()}markAsPending(e,i){this.logger.info(`IssueTablesComponent: Marking Issue ${e.id} as Pending`);const r=e.clone(this.phaseService.currentPhase);r.status=Ys.Incomplete,this.issueService.updateIssue(r).subscribe(s=>{this.issueService.updateLocalStore(s)},s=>{this.errorHandlingService.handleError(s)}),i.stopPropagation()}logIssueRespondRouting(e){this.logger.info(`IssueTablesComponent: Proceeding to Respond to Issue ${e}`)}logIssueEditRouting(e){this.logger.info(`IssueTablesComponent: Proceeding to Edit Issue ${e}`)}todoFinished(e){return e.issueDisputes.length-e.numOfUnresolvedDisputes()}isTodoListChecked(e){return e.issueDisputes&&0===e.numOfUnresolvedDisputes()}viewIssueInBrowser(e,i){this.logger.info(`IssueTablesComponent: Opening Issue ${e} on Github`),this.githubService.viewIssueInBrowser(e,i)}deleteIssue(e,i){this.logger.info(`IssueTablesComponent: Deleting Issue ${e}`),this.issuesPendingDeletion=Object.assign(Object.assign({},this.issuesPendingDeletion),{[e]:!0}),this.issueService.deleteIssue(e).pipe(Ia(()=>{const l=(0,lm._T)(this.issuesPendingDeletion,["symbol"==typeof e?e:e+""]);this.issuesPendingDeletion=l})).subscribe(s=>{},s=>{this.errorHandlingService.handleError(s)}),i.stopPropagation();let r=null;r=this.snackBar.openFromComponent(Hae,{data:{message:`Deleted issue ${e}`},duration:this.snackBarAutoCloseTime}),r.onAction().subscribe(()=>{this.undeleteIssue(e,i)})}undeleteIssue(e,i){this.logger.info(`IssueTablesComponent: Undeleting Issue ${e}`),this.issueService.undeleteIssue(e).subscribe(r=>{},r=>{this.errorHandlingService.handleError(r)}),i.stopPropagation(),this.snackBar.open(`Restored issue ${e}`,"",{duration:this.snackBarAutoCloseTime})}openDeleteDialog(e,i){this.dialogService.openUserConfirmationModal(this.deleteIssueModalMessages,this.yesButtonModalMessage,this.noButtonModalMessage).afterClosed().subscribe(s=>{s&&(this.logger.info(`IssueTablesComponent: Deleting issue ${e}`),this.deleteIssue(e,i))})}}return n.\u0275fac=function(e){return new(e||n)(M(Cr),M(Hs),M(ei),M(fr),M(Di),M(TN),M(er),M(Gi),M(ts),M(vl),M(wP))},n.\u0275cmp=At({type:n,selectors:[["app-issue-tables"]],viewQuery:function(e,i){if(1&e&&(hn(D0,7),hn(v0,7)),2&e){let r;Et(r=Ct())&&(i.sort=r.first),Et(r=Ct())&&(i.paginator=r.first)}},inputs:{headers:"headers",actions:"actions",filters:"filters",table_name:"table_name"},decls:38,vars:14,consts:[["matSort","",1,"mat-elevation-z8",3,"dataSource","matSortActive","matSortDirection","matSortChange"],["matColumnDef","id"],["mat-sort-header","",4,"matHeaderCellDef"],[4,"matCellDef"],["matColumnDef","title"],["matColumnDef","teamAssigned",4,"ngIf"],["matColumnDef","type"],["matColumnDef","severity"],["matColumnDef","response"],["matColumnDef","assignees"],["mat-header-cell","","mat-sort-header","",4,"matHeaderCellDef"],["matColumnDef","duplicatedIssues"],[4,"matHeaderCellDef"],["matColumnDef","Todo Remaining"],["matColumnDef","testerDisagree"],["matColumnDef","actions"],[4,"matHeaderRowDef"],["style","cursor: pointer",3,"routerLink","click",4,"matRowDef","matRowDefColumns"],["style","display: flex; justify-content: center; align-items: center",4,"ngIf"],[3,"paginatorLocalStorage","pageSize","pageSizeOptions","pageIndex","page"],["mat-sort-header",""],[2,"cursor","default",3,"click"],[1,"no-underline","link-grey-dark","title-wrap",3,"routerLink"],["matColumnDef","teamAssigned"],[3,"ngStyle","click"],["style","display: inline; padding: 1px 2px",3,"click",4,"ngIf"],[3,"ngStyle","click",4,"ngIf"],[2,"display","inline","padding","1px 2px",3,"click"],[1,"arrow-right"],["style","display: inline; margin: 3px",3,"click",4,"ngIf"],[2,"display","inline","margin","3px",3,"click"],["style","margin-left: 10%",4,"ngIf"],[2,"margin-left","10%"],["matTooltip","Should not be empty","matTooltipPosition","above","color","warn"],["mat-header-cell","","mat-sort-header",""],["style","cursor: default",3,"click",4,"ngIf"],["style","margin-left: 5%",4,"ngIf"],[2,"margin-left","5%"],["matTooltip","We strongly recommend assigning all issues to someone","matTooltipPosition","above",2,"color","#ffab40"],[4,"ngIf"],["style","display: inline-block; margin-left: 5px",4,"ngFor","ngForOf"],[2,"display","inline-block","margin-left","5px"],["matTooltipPosition","above",2,"font-size","12px","cursor","pointer",3,"routerLink","matTooltip"],["role","progressbar","style","width: 100%","aria-valuenow","100","aria-valuemin","0","aria-valuemax","100",3,"value","max",4,"ngIf"],["color","green"],["color","red"],["role","progressbar","aria-valuenow","100","aria-valuemin","0","aria-valuemax","100",2,"width","100%",3,"value","max"],["mat-button","","matTooltip","View this issue on GitHub","style","transform: scale(0.8)",3,"click",4,"ngIf"],["mat-button","","color","accent","style","transform: scale(0.8)","matTooltip","Respond to this issue",3,"routerLink","click",4,"ngIf","ngIfElse"],["tryEditIssue",""],["mat-button","","color","primary","style","transform: scale(0.8)","matTooltip","Mark this issue as Responded",3,"click",4,"ngIf"],["color","primary","matTooltip","Mark this issue as Pending","mat-button","","style","transform: scale(0.8)",3,"click",4,"ngIf"],["mat-button","","color","warn","matTooltip","Delete this issue","style","transform: scale(0.8)",3,"click",4,"ngIf"],["color","warn","style","display: inline; padding-right: 30px; margin-left: 5px",3,"diameter",4,"ngIf"],["mat-button","","matTooltip","View this issue on GitHub",2,"transform","scale(0.8)",3,"click"],["mat-button","","color","accent","matTooltip","Respond to this issue",2,"transform","scale(0.8)",3,"routerLink","click"],["mat-button","","color","accent","style","transform: scale(0.8)","matTooltip","Edit this issue",4,"ngIf"],["mat-button","","color","accent","matTooltip","Edit this issue",2,"transform","scale(0.8)"],["mat-button","","color","primary","matTooltip","Mark this issue as Responded",2,"transform","scale(0.8)",3,"click"],["color","primary","matTooltip","Mark this issue as Pending","mat-button","",2,"transform","scale(0.8)",3,"click"],["mat-button","","color","warn","matTooltip","Delete this issue",2,"transform","scale(0.8)",3,"click"],["color","warn",2,"display","inline","padding-right","30px","margin-left","5px",3,"diameter"],[2,"cursor","pointer",3,"routerLink","click"],[2,"display","flex","justify-content","center","align-items","center"],["color","primary","mode","indeterminate","diameter","50","strokeWidth","5"]],template:function(e,i){1&e&&(x(0,"mat-table",0),tt("matSortChange",function(s){return i.sortChange(s)}),Gr(1,1),Ae(2,Qae,2,0,"mat-header-cell",2),Ae(3,Kae,3,1,"mat-cell",3),$r(),Gr(4,4),Ae(5,Zae,2,0,"mat-header-cell",2),Ae(6,Xae,3,2,"mat-cell",3),$r(),Ae(7,tle,3,0,"ng-container",5),Gr(8,6),Ae(9,nle,2,0,"mat-header-cell",2),Ae(10,sle,5,4,"mat-cell",3),$r(),Gr(11,7),Ae(12,ole,2,0,"mat-header-cell",2),Ae(13,cle,5,4,"mat-cell",3),$r(),Gr(14,8),Ae(15,ule,2,0,"mat-header-cell",2),Ae(16,ple,3,2,"mat-cell",3),$r(),Gr(17,9),Ae(18,mle,2,0,"mat-header-cell",10),Ae(19,_le,3,2,"mat-cell",3),$r(),Gr(20,11),Ae(21,yle,2,0,"mat-header-cell",12),Ae(22,Mle,5,6,"mat-cell",3),$r(),Gr(23,13),Ae(24,Dle,2,0,"mat-header-cell",2),Ae(25,kle,5,4,"mat-cell",3),$r(),Gr(26,14),Ae(27,xle,2,0,"mat-header-cell",10),Ae(28,Rle,3,2,"mat-cell",3),$r(),Gr(29,15),Ae(30,Lle,2,0,"mat-header-cell",12),Ae(31,Vle,9,7,"mat-cell",3),$r(),Ae(32,qle,1,0,"mat-header-row",16),Me(33,"> "),Ae(34,Ule,1,1,"mat-row",17),O(),Ae(35,zle,2,0,"mat-card",18),ls(36,"async"),x(37,"mat-paginator",19),tt("page",function(s){return i.pageChange(s)}),O()),2&e&&(H("dataSource",i.issues)("matSortActive",i.tableSettings.sortActiveId)("matSortDirection",i.tableSettings.sortDirection),j(7),H("ngIf","Student"!==i.userService.currentUser.role),j(25),H("matHeaderRowDef",i.headers),j(2),H("matRowDefColumns",i.headers),j(1),H("ngIf",cs(36,11,i.issues.isLoading$)),j(2),H("paginatorLocalStorage",i.table_name)("pageSize",i.tableSettings.pageSize)("pageSizeOptions",kf(13,Gle))("pageIndex",i.tableSettings.pageIndex))},directives:[MP,D0,T0,C0,S0,nee,E0,k0,Ed,ai,ql,hs,gl,jr,G_,Yd,Dd,bi,Es,DP,CP,EP,TP,a0,v0,Wae],pipes:[rl],styles:[".mat-table[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;min-width:1000px}.mat-paginator[_ngcontent-%COMP%]{min-width:1000px}.mat-column-id[_ngcontent-%COMP%]{flex:0 1 5%}.mat-column-type[_ngcontent-%COMP%], .mat-column-responseTag[_ngcontent-%COMP%], .mat-column-duplicatedIssues[_ngcontent-%COMP%]{overflow-x:auto}.mat-column-assignees[_ngcontent-%COMP%]{word-wrap:normal}.mat-column-actions[_ngcontent-%COMP%]{overflow-x:auto;text-align:center!important}.mat-header-row[_ngcontent-%COMP%], .mat-row[_ngcontent-%COMP%]{-moz-column-gap:10px;column-gap:10px;min-width:100%}.mat-icon.arrow-right[_ngcontent-%COMP%]{cursor:default;vertical-align:middle}.mat-cell.mat-column-type[_ngcontent-%COMP%]{flex-wrap:wrap}.mat-cell.mat-column-actions[_ngcontent-%COMP%] > button[_ngcontent-%COMP%]{min-width:32px}.mat-column-type[_ngcontent-%COMP%]{flex-basis:12px}.title-wrap[_ngcontent-%COMP%]{overflow-wrap:anywhere}"]}),n})();function $le(n,t){1&n&&(x(0,"button",8),Me(1," New Issue "),O())}const Wle=[{path:"phaseBugReporting",component:(()=>{class n{constructor(e,i){this.permissions=e,this.userService=i,this.displayedColumns=[Kt.ID,Kt.TITLE,Kt.TYPE,Kt.SEVERITY,Kt.ACTIONS],this.actionButtons=[Pi.VIEW_IN_WEB,Pi.DELETE_ISSUE,Pi.FIX_ISSUE]}ngOnInit(){}applyFilter(e){this.table.issues.filter=e}}return n.\u0275fac=function(e){return new(e||n)(M(Hs),M(Cr))},n.\u0275cmp=At({type:n,selectors:[["app-phase-bug-reporting"]],viewQuery:function(e,i){if(1&e&&hn(Kr,7),2&e){let r;Et(r=Ct())&&(i.table=r.first)}},decls:13,vars:4,consts:[["cols","3","rowHeight","80px"],[1,"grid-flush-left"],[1,"mat-headline",2,"margin","0px"],[1,"full-grid-width"],["matInput","","placeholder","Search",3,"keyup"],[1,"grid-flush-right"],["mat-stroked-button","","class","create-new-bug-report-button","color","primary","routerLink","issues/new",4,"ngIf"],["table_name","tableBugReporting",3,"headers","actions"],["mat-stroked-button","","color","primary","routerLink","issues/new",1,"create-new-bug-report-button"]],template:function(e,i){1&e&&(x(0,"div")(1,"mat-grid-list",0)(2,"mat-grid-tile")(3,"div",1)(4,"h1",2),Me(5),O()()(),x(6,"mat-grid-tile")(7,"mat-form-field",3)(8,"input",4),tt("keyup",function(s){return i.applyFilter(s.target.value)}),O()()(),x(9,"mat-grid-tile")(10,"div",5),Ae(11,$le,2,0,"button",6),O()()(),wt(12,"app-issue-tables",7),O()),2&e&&(j(5),an(" ","Student"===i.userService.currentUser.role?"Issues you posted":"All Issues"," "),j(6),H("ngIf",i.permissions.isIssueCreatable()),j(1),H("headers",i.displayedColumns)("actions",i.actionButtons))},directives:[fl,Ua,Er,io,ai,bi,Dd,Kr],styles:[".container[_ngcontent-%COMP%]{display:block;align-items:center;justify-content:center;text-align:center}.title[_ngcontent-%COMP%]{color:#000;margin:0;padding:30px 20px}.mat-column-actions[_ngcontent-%COMP%]{width:20%;text-align:center}.mat-column-id[_ngcontent-%COMP%]{width:10%}.mat-column-title[_ngcontent-%COMP%]{width:35%}.mat-column-type[_ngcontent-%COMP%]{width:25%}.mat-column-severity[_ngcontent-%COMP%]{width:23%}"]}),n})(),canActivate:[ro]},{path:"phaseBugReporting/issues/new",component:Yae,canActivate:[ro],canDeactivate:[fm]},{path:"phaseBugReporting/issues/:issue_id",component:Oae,canActivate:[ro],canDeactivate:[fm]}];let Qle=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Ht({type:n}),n.\u0275inj=He({imports:[[ws.forChild(Wle)],ws]}),n})(),SN=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Ht({type:n}),n.\u0275inj=He({imports:[[Qle,js,dc,_l,Ey,Do.forChild(),yy,$d]]}),n})(),Kle=(()=>{class n{constructor(e,i,r,s){this.route=e,this.userService=i,this.permissions=r,this.issueService=s,this.issueComponents=[Oi.TESTER_POST,Oi.TEAM_RESPONSE,Oi.ISSUE_DISPUTE,Oi.SEVERITY_LABEL,Oi.TYPE_LABEL,Oi.RESPONSE_LABEL,Oi.DUPLICATE,Oi.UNSURE_CHECKBOX]}ngOnInit(){this.route.params.subscribe(e=>{this.issueId=+e.issue_id})}canDeactivate(){return!this.viewIssue.isEditing()}}return n.\u0275fac=function(e){return new(e||n)(M(Xo),M(Cr),M(Hs),M(Di))},n.\u0275cmp=At({type:n,selectors:[["app-issue"]],viewQuery:function(e,i){if(1&e&&hn(yl,7),2&e){let r;Et(r=Ct())&&(i.viewIssue=r.first)}},decls:2,vars:2,consts:[[3,"issueId","issueComponents"]],template:function(e,i){1&e&&(x(0,"div"),wt(1,"app-view-issue",0),O()),2&e&&(j(1),H("issueId",i.issueId)("issueComponents",i.issueComponents))},directives:[yl],styles:[".row[_ngcontent-%COMP%]{display:flex}.column[_ngcontent-%COMP%]{padding:10px;height:100%}.left[_ngcontent-%COMP%]{width:85%}.right[_ngcontent-%COMP%]{width:15%}"]}),n})();function Zle(n,t){1&n&&(x(0,"button",11)(1,"mat-icon",12),Me(2," settings "),O()()),2&n&&(Ce(),H("matMenuTriggerFor",ki(6)))}function Xle(n,t){if(1&n){const e=on();x(0,"button",13),tt("click",function(){const s=zt(e).$implicit;return Ce().updateDisplayedTeam(s)}),x(1,"span"),Me(2),O()()}if(2&n){const e=t.$implicit;H("disabled",e===Ce().teamFilter),j(2),an(" ",e," ")}}const Jle=[{path:"phaseModeration",component:(()=>{class n{constructor(e,i,r){this.issueService=e,this.userService=i,this.dataService=r,this.displayedColumns=[Kt.ID,Kt.TITLE,Kt.TYPE,Kt.SEVERITY,Kt.TODO,Kt.ACTIONS],this.teamFilter="All Teams",this.actionButtons=[Pi.VIEW_IN_WEB,Pi.FIX_ISSUE]}ngOnInit(){this.issueService.setIssueTeamFilter(this.teamFilter)}applyFilter(e){this.table.issues.filter=e}get teamList(){const e=this.dataService.getTeams();switch(U0[Mn.phaseModeration][this.userService.currentUser.role]){case Ji.FilterByTeamAssigned:return["All Teams",...this.userService.currentUser.allocatedTeams.map(i=>i.id)];case Ji.NoFilter:return["All Teams",...e]}}updateDisplayedTeam(e){this.teamFilter=e,this.table.issues.teamFilter=this.teamFilter}}return n.\u0275fac=function(e){return new(e||n)(M(Di),M(Cr),M(Li))},n.\u0275cmp=At({type:n,selectors:[["app-phase-moderation"]],viewQuery:function(e,i){if(1&e&&hn(Kr,7),2&e){let r;Et(r=Ct())&&(i.table=r.first)}},decls:18,vars:5,consts:[[2,"text-align","center","margin-bottom","20px"],[1,"mat-display-1"],["mat-icon-button","",3,"matMenuTriggerFor",4,"ngIf"],["teamMenu",""],["mat-menu-item","",3,"disabled","click",4,"ngFor","ngForOf"],["cols","3","rowHeight","80px"],[1,"grid-flush-left"],[1,"mat-headline",2,"margin","0px"],[1,"full-grid-width"],["matInput","","placeholder","Search",3,"keyup"],["table_name","tableModeration",3,"headers","actions"],["mat-icon-button","",3,"matMenuTriggerFor"],[2,"font-size","20px","margin-bottom","7px","color","#586069"],["mat-menu-item","",3,"disabled","click"]],template:function(e,i){1&e&&(x(0,"div")(1,"div",0)(2,"span",1),Me(3),O(),Ae(4,Zle,3,1,"button",2),x(5,"mat-menu",null,3),Ae(7,Xle,3,2,"button",4),O()(),x(8,"mat-grid-list",5)(9,"mat-grid-tile")(10,"div",6)(11,"h1",7),Me(12,"Issues Submitted by Students"),O()()(),wt(13,"br"),x(14,"mat-grid-tile")(15,"mat-form-field",8)(16,"input",9),tt("keyup",function(s){return i.applyFilter(s.target.value)}),O()()()(),wt(17,"app-issue-tables",10),O()),2&e&&(j(3),an(" ",i.teamList?i.teamFilter:i.userService.currentUser.team.id," "),j(1),H("ngIf",i.teamList),j(3),H("ngForOf",i.teamList),j(10),H("headers",i.displayedColumns)("actions",i.actionButtons))},directives:[ai,bi,iy,hs,ny,jr,lc,fl,Ua,Er,io,Kr],styles:[".mat-column-id[_ngcontent-%COMP%]{width:10%}.mat-column-title[_ngcontent-%COMP%]{width:20%}.mat-column-type[_ngcontent-%COMP%]{width:15%}.mat-column-severity[_ngcontent-%COMP%]{width:10%}.mat-column-Todo-Remaining[_ngcontent-%COMP%]{width:20%}.mat-column-actions[_ngcontent-%COMP%]{width:10%;text-align:center}"]}),n})(),canActivate:[ro]},{path:"phaseModeration/issues/:issue_id",component:Kle,canActivate:[ro],canDeactivate:[fm]}];let ece=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Ht({type:n}),n.\u0275inj=He({imports:[[ws.forChild(Jle)],ws]}),n})(),kN=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Ht({type:n}),n.\u0275inj=He({imports:[[ece,js,dc,_l,Ey,Do.forChild(),yy]]}),n})(),tce=(()=>{class n{constructor(e,i,r){this.issueService=e,this.route=i,this.permissions=r,this.issueComponents=[Oi.TESTER_POST,Oi.TEAM_RESPONSE,Oi.NEW_TEAM_RESPONSE,Oi.SEVERITY_LABEL,Oi.TYPE_LABEL,Oi.RESPONSE_LABEL,Oi.ASSIGNEE,Oi.DUPLICATE]}ngOnInit(){this.route.params.subscribe(e=>{this.issueId=+e.issue_id})}canDeactivate(){return!this.viewIssue.isEditing()}}return n.\u0275fac=function(e){return new(e||n)(M(Di),M(Xo),M(Hs))},n.\u0275cmp=At({type:n,selectors:[["app-issue"]],viewQuery:function(e,i){if(1&e&&hn(yl,7),2&e){let r;Et(r=Ct())&&(i.viewIssue=r.first)}},decls:2,vars:2,consts:[[3,"issueId","issueComponents"]],template:function(e,i){1&e&&(x(0,"div"),wt(1,"app-view-issue",0),O()),2&e&&(j(1),H("issueId",i.issueId)("issueComponents",i.issueComponents))},directives:[yl],styles:[".row[_ngcontent-%COMP%]{display:flex}.column[_ngcontent-%COMP%]{padding:10px;height:100%}.left[_ngcontent-%COMP%]{width:85%}.right[_ngcontent-%COMP%]{width:15%}"]}),n})(),nce=(()=>{class n{constructor(e,i,r){this.issueService=e,this.permissions=i,this.userService=r,this.actionButtons=[Pi.VIEW_IN_WEB,Pi.RESPOND_TO_ISSUE,Pi.MARK_AS_RESPONDED,Pi.FIX_ISSUE],this.displayedColumns=r.currentUser.role!==An.Student?[Kt.ID,Kt.TITLE,Kt.TEAM_ASSIGNED,Kt.TYPE,Kt.SEVERITY,Kt.DUPLICATED_ISSUES,Kt.ACTIONS]:[Kt.ID,Kt.TITLE,Kt.TYPE,Kt.SEVERITY,Kt.DUPLICATED_ISSUES,Kt.ACTIONS]}ngOnChanges(e){e.teamFilter.isFirstChange()||(this.table.issues.teamFilter=e.teamFilter.currentValue)}ngOnInit(){const i=s=>!this.issueService.hasTeamResponse(s.id)||!s.status||s.status===Ys.Incomplete;this.filter=s=>i(s)&&(s=>!s.duplicateOf)(s)&&(s=>!s.status||!s.teamResponseError)(s)}applyFilter(e){this.table.issues.filter=e}}return n.\u0275fac=function(e){return new(e||n)(M(Di),M(Hs),M(Cr))},n.\u0275cmp=At({type:n,selectors:[["app-issues-pending"]],viewQuery:function(e,i){if(1&e&&hn(Kr,7),2&e){let r;Et(r=Ct())&&(i.table=r.first)}},inputs:{teamFilter:"teamFilter"},features:[Jn],decls:10,vars:3,consts:[["cols","3","rowHeight","80px"],[1,"grid-flush-left"],[1,"mat-headline",2,"margin","0"],[1,"full-grid-width"],["matInput","","placeholder","Search",3,"keyup"],["table_name","tableTeamResponsePending",3,"headers","actions","filters"]],template:function(e,i){1&e&&(x(0,"div")(1,"mat-grid-list",0)(2,"mat-grid-tile")(3,"div",1)(4,"h1",2),Me(5,"Issues Pending Response"),O()()(),x(6,"mat-grid-tile")(7,"mat-form-field",3)(8,"input",4),tt("keyup",function(s){return i.applyFilter(s.target.value)}),O()()()(),wt(9,"app-issue-tables",5),O()),2&e&&(j(9),H("headers",i.displayedColumns)("actions",i.actionButtons)("filters",i.filter))},directives:[fl,Ua,Er,io,Kr],styles:[".container[_ngcontent-%COMP%]{display:block;align-items:center;justify-content:center;text-align:center}.title[_ngcontent-%COMP%]{color:#000;margin:0;padding:30px 20px}.mat-column-actions[_ngcontent-%COMP%]{width:13%;text-align:center}.mat-column-id[_ngcontent-%COMP%]{width:10%}.mat-column-title[_ngcontent-%COMP%]{width:26%}.mat-column-teamAssigned[_ngcontent-%COMP%]{width:10%}.mat-column-type[_ngcontent-%COMP%]{width:12%}.mat-column-severity[_ngcontent-%COMP%]{width:10%}.mat-column-duplicateOf[_ngcontent-%COMP%]{width:12%}"]}),n})(),ice=(()=>{class n{constructor(e,i){this.issueService=e,this.userService=i,this.actionButtons=[Pi.VIEW_IN_WEB,Pi.MARK_AS_PENDING,Pi.FIX_ISSUE],this.displayedColumns=i.currentUser.role===An.Student?[Kt.ID,Kt.TITLE,Kt.TYPE,Kt.SEVERITY,Kt.RESPONSE,Kt.ASSIGNEE,Kt.DUPLICATED_ISSUES,Kt.ACTIONS]:[Kt.ID,Kt.TITLE,Kt.TEAM_ASSIGNED,Kt.TYPE,Kt.SEVERITY,Kt.RESPONSE,Kt.ASSIGNEE,Kt.DUPLICATED_ISSUES,Kt.ACTIONS]}ngOnChanges(e){e.teamFilter.isFirstChange()||(this.table.issues.teamFilter=e.teamFilter.currentValue)}ngOnInit(){this.filter=e=>(o=>this.issueService.hasTeamResponse(o.id))(e)&&!e.duplicateOf&&e.status===Ys.Done}applyFilter(e){this.table.issues.filter=e}}return n.\u0275fac=function(e){return new(e||n)(M(Di),M(Cr))},n.\u0275cmp=At({type:n,selectors:[["app-issues-responded"]],viewQuery:function(e,i){if(1&e&&hn(Kr,7),2&e){let r;Et(r=Ct())&&(i.table=r.first)}},inputs:{teamFilter:"teamFilter"},features:[Jn],decls:10,vars:3,consts:[["cols","3","rowHeight","80px"],[1,"grid-flush-left"],[1,"mat-headline",2,"margin","0px"],[1,"full-grid-width"],["matInput","","placeholder","Search",3,"keyup"],["table_name","tableTeamResponseResponded",3,"headers","actions","filters"]],template:function(e,i){1&e&&(x(0,"div")(1,"mat-grid-list",0)(2,"mat-grid-tile")(3,"div",1)(4,"h1",2),Me(5,"Issues Responded"),O()()(),x(6,"mat-grid-tile")(7,"mat-form-field",3)(8,"input",4),tt("keyup",function(s){return i.applyFilter(s.target.value)}),O()()()(),wt(9,"app-issue-tables",5),O()),2&e&&(j(9),H("headers",i.displayedColumns)("actions",i.actionButtons)("filters",i.filter))},directives:[fl,Ua,Er,io,Kr],styles:[".container[_ngcontent-%COMP%]{display:block;align-items:center;justify-content:center;text-align:center}.title[_ngcontent-%COMP%]{color:#000;margin:0;padding:30px 20px}.mat-column-id[_ngcontent-%COMP%]{width:5%}.mat-column-title[_ngcontent-%COMP%]{width:20%}.mat-column-type[_ngcontent-%COMP%]{width:11%}.mat-column-severity[_ngcontent-%COMP%]{width:6%}.mat-column-responseTag[_ngcontent-%COMP%], .mat-column-assignees[_ngcontent-%COMP%]{width:10%}.mat-column-teamAssigned[_ngcontent-%COMP%]{width:6%}.mat-column-duplicatedIssues[_ngcontent-%COMP%]{width:10%}.mat-column-actions[_ngcontent-%COMP%]{width:13%;text-align:center}.grid-flush-right[_ngcontent-%COMP%]{position:absolute;right:5px}"]}),n})(),rce=(()=>{class n{constructor(e,i,r){this.issueService=e,this.userService=i,this.permissions=r,this.actionButtons=[Pi.VIEW_IN_WEB,Pi.FIX_ISSUE],this.displayedColumns=i.currentUser.role===An.Student?[Kt.ID,Kt.TITLE,Kt.TYPE,Kt.SEVERITY,Kt.RESPONSE,Kt.ASSIGNEE,Kt.DUPLICATED_ISSUES,Kt.ACTIONS]:[Kt.ID,Kt.TITLE,Kt.TEAM_ASSIGNED,Kt.TYPE,Kt.SEVERITY,Kt.RESPONSE,Kt.ASSIGNEE,Kt.DUPLICATED_ISSUES,Kt.ACTIONS]}ngOnChanges(e){e.teamFilter.isFirstChange()||(this.table.issues.teamFilter=e.teamFilter.currentValue)}ngOnInit(){this.filter=e=>{const o=(f=>this.issueService.hasTeamResponse(f.id))(e)&&!!e.duplicateOf&&(f=>!!this.issueService.issues$.getValue().filter(D=>D.duplicateOf===f.id).length)(e),h=!!e.status&&(f=>!!f.teamResponseError)(e);return o||h}}applyFilter(e){this.table.issues.filter=e}}return n.\u0275fac=function(e){return new(e||n)(M(Di),M(Cr),M(Hs))},n.\u0275cmp=At({type:n,selectors:[["app-issues-faulty"]],viewQuery:function(e,i){if(1&e&&hn(Kr,7),2&e){let r;Et(r=Ct())&&(i.table=r.first)}},inputs:{teamFilter:"teamFilter"},features:[Jn],decls:10,vars:3,consts:[["cols","3","rowHeight","80px"],[1,"grid-flush-left"],[1,"mat-headline",2,"margin","0px"],[1,"full-grid-width"],["matInput","","placeholder","Search",3,"keyup"],["table_name","tableTeamResponseFaulty",3,"headers","actions","filters"]],template:function(e,i){1&e&&(x(0,"div")(1,"mat-grid-list",0)(2,"mat-grid-tile")(3,"div",1)(4,"h1",2),Me(5,"Faulty Issues"),O()()(),x(6,"mat-grid-tile")(7,"mat-form-field",3)(8,"input",4),tt("keyup",function(s){return i.applyFilter(s.target.value)}),O()()()(),wt(9,"app-issue-tables",5),O()),2&e&&(j(9),H("headers",i.displayedColumns)("actions",i.actionButtons)("filters",i.filter))},directives:[fl,Ua,Er,io,Kr],styles:[".container[_ngcontent-%COMP%]{display:block;align-items:center;justify-content:center;text-align:center}.title[_ngcontent-%COMP%]{color:#000;margin:0;padding:30px 20px}.mat-column-id[_ngcontent-%COMP%]{width:5%}.mat-column-title[_ngcontent-%COMP%]{width:20%}.mat-column-type[_ngcontent-%COMP%]{width:15%}.mat-column-severity[_ngcontent-%COMP%], .mat-column-responseTag[_ngcontent-%COMP%], .mat-column-assignees[_ngcontent-%COMP%]{width:10%}.mat-column-teamAssigned[_ngcontent-%COMP%]{width:7%}.mat-column-duplicatedIssues[_ngcontent-%COMP%]{width:10%}.mat-column-actions[_ngcontent-%COMP%]{width:15%;text-align:center}"]}),n})();function sce(n,t){1&n&&(x(0,"button",6)(1,"mat-icon",7),Me(2," settings "),O()()),2&n&&(Ce(),H("matMenuTriggerFor",ki(6)))}function oce(n,t){if(1&n){const e=on();x(0,"button",8),tt("click",function(){const s=zt(e).$implicit;return Ce().updateDisplayedTeam(s)}),x(1,"span"),Me(2),O()()}if(2&n){const e=t.$implicit;H("disabled",e===Ce().teamFilter),j(2),an(" ",e," ")}}const ace=[{path:"phaseTeamResponse",component:(()=>{class n{constructor(e,i,r){this.userService=e,this.dataService=i,this.issueService=r,this.teamFilter="All Teams"}ngOnInit(){this.issueService.setIssueTeamFilter(this.teamFilter)}get teamList(){const e=this.dataService.getTeams();switch(U0[Mn.phaseTeamResponse][this.userService.currentUser.role]){case Ji.FilterByTeamAssigned:return["All Teams",...this.userService.currentUser.allocatedTeams.map(i=>i.id)];case Ji.NoFilter:return["All Teams",...e]}}updateDisplayedTeam(e){this.teamFilter=e}}return n.\u0275fac=function(e){return new(e||n)(M(Cr),M(Li),M(Di))},n.\u0275cmp=At({type:n,selectors:[["app-phase-team-response"]],decls:11,vars:6,consts:[[2,"text-align","center","margin-bottom","20px"],[1,"mat-display-1"],["mat-icon-button","",3,"matMenuTriggerFor",4,"ngIf"],["teamMenu",""],["mat-menu-item","",3,"disabled","click",4,"ngFor","ngForOf"],[3,"teamFilter"],["mat-icon-button","",3,"matMenuTriggerFor"],[2,"font-size","20px","margin-bottom","7px","color","#586069"],["mat-menu-item","",3,"disabled","click"]],template:function(e,i){1&e&&(x(0,"div")(1,"div",0)(2,"span",1),Me(3),O(),Ae(4,sce,3,1,"button",2),x(5,"mat-menu",null,3),Ae(7,oce,3,2,"button",4),O()(),wt(8,"app-issues-pending",5)(9,"app-issues-responded",5)(10,"app-issues-faulty",5),O()),2&e&&(j(3),an(" ",i.teamList?i.teamFilter:i.userService.currentUser.team.id," "),j(1),H("ngIf",i.teamList),j(3),H("ngForOf",i.teamList),j(1),H("teamFilter",i.teamFilter),j(1),H("teamFilter",i.teamFilter),j(1),H("teamFilter",i.teamFilter))},directives:[ai,bi,iy,hs,ny,jr,lc,nce,ice,rce],styles:[".container[_ngcontent-%COMP%]{display:block;align-items:center;justify-content:center;text-align:center}.title[_ngcontent-%COMP%]{color:#000;margin:0;padding:30px 20px}.mat-column-actions[_ngcontent-%COMP%]{width:80px;text-align:center}.mat-column-id[_ngcontent-%COMP%]{width:10%}.mat-column-title[_ngcontent-%COMP%]{width:40%}.mat-column-type[_ngcontent-%COMP%]{width:30%}.mat-column-severity[_ngcontent-%COMP%]{width:12%}"]}),n})(),canActivate:[ro]},{path:"phaseTeamResponse/issues/:issue_id",component:tce,canActivate:[ro],canDeactivate:[fm]}];let lce=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Ht({type:n}),n.\u0275inj=He({imports:[[ws.forChild(ace)],ws]}),n})(),xN=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Ht({type:n}),n.\u0275inj=He({imports:[[lce,js,dc,_l,Ey,Do.forChild(),yy]]}),n})(),cce=(()=>{class n{constructor(e){this.route=e,this.issueComponents=[Oi.TESTER_POST,Oi.SEVERITY_LABEL,Oi.TYPE_LABEL,Oi.TEAM_RESPONSE,Oi.TESTER_RESPONSE]}ngOnInit(){this.route.params.subscribe(e=>{this.issueId=+e.issue_id})}canDeactivate(){return!this.viewIssue.isEditing()}}return n.\u0275fac=function(e){return new(e||n)(M(Xo))},n.\u0275cmp=At({type:n,selectors:[["app-issue"]],viewQuery:function(e,i){if(1&e&&hn(yl,7),2&e){let r;Et(r=Ct())&&(i.viewIssue=r.first)}},decls:2,vars:2,consts:[[3,"issueId","issueComponents"]],template:function(e,i){1&e&&(x(0,"div"),wt(1,"app-view-issue",0),O()),2&e&&(j(1),H("issueId",i.issueId)("issueComponents",i.issueComponents))},directives:[yl],styles:[""]}),n})(),uce=(()=>{class n{constructor(){this.displayedColumns=[Kt.ID,Kt.TITLE,Kt.TYPE,Kt.SEVERITY,Kt.ACTIONS],this.actionButtons=[Pi.VIEW_IN_WEB,Pi.RESPOND_TO_ISSUE,Pi.MARK_AS_RESPONDED,Pi.FIX_ISSUE]}ngOnInit(){this.filter=r=>(r=>!r.status||r.status===Ys.Incomplete)(r)&&(r=>!!r.issueComment)(r)}applyFilter(e){this.table.issues.filter=e}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=At({type:n,selectors:[["app-issue-pending"]],viewQuery:function(e,i){if(1&e&&hn(Kr,7),2&e){let r;Et(r=Ct())&&(i.table=r.first)}},decls:10,vars:3,consts:[["cols","3","rowHeight","80px"],[1,"grid-flush-left"],[1,"mat-headline",2,"margin","0"],[1,"full-grid-width"],["matInput","","placeholder","Search",3,"keyup"],["table_name","tableTesterResponsePending",3,"headers","actions","filters"]],template:function(e,i){1&e&&(x(0,"div")(1,"mat-grid-list",0)(2,"mat-grid-tile")(3,"div",1)(4,"h1",2),Me(5,"Issues Pending Response"),O()()(),x(6,"mat-grid-tile")(7,"mat-form-field",3)(8,"input",4),tt("keyup",function(s){return i.applyFilter(s.target.value)}),O()()()(),wt(9,"app-issue-tables",5),O()),2&e&&(j(9),H("headers",i.displayedColumns)("actions",i.actionButtons)("filters",i.filter))},directives:[fl,Ua,Er,io,Kr],styles:[""]}),n})(),dce=(()=>{class n{constructor(){this.displayedColumns=[Kt.ID,Kt.TITLE,Kt.TYPE,Kt.SEVERITY,Kt.TESTER_DISAGREE,Kt.ACTIONS],this.actionButtons=[Pi.VIEW_IN_WEB,Pi.MARK_AS_PENDING,Pi.FIX_ISSUE]}ngOnInit(){this.filter=r=>(r=>r.status===Ys.Done)(r)&&(r=>!!r.issueComment)(r)}applyFilter(e){this.table.issues.filter=e}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=At({type:n,selectors:[["app-issue-responded"]],viewQuery:function(e,i){if(1&e&&hn(Kr,7),2&e){let r;Et(r=Ct())&&(i.table=r.first)}},decls:10,vars:3,consts:[["cols","3","rowHeight","80px"],[1,"grid-flush-left"],[1,"mat-headline",2,"margin","0"],[1,"full-grid-width"],["matInput","","placeholder","Search",3,"keyup"],["table_name","tableTesterResponseResponded",3,"headers","actions","filters"]],template:function(e,i){1&e&&(x(0,"div")(1,"mat-grid-list",0)(2,"mat-grid-tile")(3,"div",1)(4,"h1",2),Me(5,"Issues Responded"),O()()(),x(6,"mat-grid-tile")(7,"mat-form-field",3)(8,"input",4),tt("keyup",function(s){return i.applyFilter(s.target.value)}),O()()()(),wt(9,"app-issue-tables",5),O()),2&e&&(j(9),H("headers",i.displayedColumns)("actions",i.actionButtons)("filters",i.filter))},directives:[fl,Ua,Er,io,Kr],styles:[""]}),n})(),hce=(()=>{class n{constructor(){this.displayedColumns=[Kt.ID,Kt.TITLE,Kt.TYPE,Kt.SEVERITY,Kt.ACTIONS],this.actionButtons=[Pi.VIEW_IN_WEB,Pi.FIX_ISSUE]}ngOnInit(){this.filter=e=>e.testerResponseError}applyFilter(e){this.table.issues.filter=e}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=At({type:n,selectors:[["app-issue-faulty"]],viewQuery:function(e,i){if(1&e&&hn(Kr,7),2&e){let r;Et(r=Ct())&&(i.table=r.first)}},decls:10,vars:3,consts:[["cols","3","rowHeight","80px"],[1,"grid-flush-left"],[1,"mat-headline",2,"margin","0px"],[1,"full-grid-width"],["matInput","","placeholder","Search",3,"keyup"],["table_name","tableTesterResponseFaulty",3,"headers","actions","filters"]],template:function(e,i){1&e&&(x(0,"div")(1,"mat-grid-list",0)(2,"mat-grid-tile")(3,"div",1)(4,"h1",2),Me(5,"Faulty Issues"),O()()(),x(6,"mat-grid-tile")(7,"mat-form-field",3)(8,"input",4),tt("keyup",function(s){return i.applyFilter(s.target.value)}),O()()()(),wt(9,"app-issue-tables",5),O()),2&e&&(j(9),H("headers",i.displayedColumns)("actions",i.actionButtons)("filters",i.filter))},directives:[fl,Ua,Er,io,Kr],styles:[""]}),n})(),pce=(()=>{class n{constructor(){this.displayedColumns=[Kt.ID,Kt.TITLE,Kt.TYPE,Kt.SEVERITY,Kt.ACTIONS],this.actionButtons=[Pi.VIEW_IN_WEB]}ngOnInit(){this.filter=e=>e.teamAccepted}applyFilter(e){this.table.issues.filter=e}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=At({type:n,selectors:[["app-issue-accepted"]],viewQuery:function(e,i){if(1&e&&hn(Kr,7),2&e){let r;Et(r=Ct())&&(i.table=r.first)}},decls:10,vars:3,consts:[["cols","3","rowHeight","80px"],[1,"grid-flush-left"],[1,"mat-headline",2,"margin","0"],[1,"full-grid-width"],["matInput","","placeholder","Search",3,"keyup"],["table_name","tableTesterResponseAccepted",3,"headers","actions","filters"]],template:function(e,i){1&e&&(x(0,"div")(1,"mat-grid-list",0)(2,"mat-grid-tile")(3,"div",1)(4,"h1",2),Me(5,"Accepted by Dev Team (No Action Required)"),O()()(),x(6,"mat-grid-tile")(7,"mat-form-field",3)(8,"input",4),tt("keyup",function(s){return i.applyFilter(s.target.value)}),O()()()(),wt(9,"app-issue-tables",5),O()),2&e&&(j(9),H("headers",i.displayedColumns)("actions",i.actionButtons)("filters",i.filter))},directives:[fl,Ua,Er,io,Kr],styles:[""]}),n})();const mce=[{path:"phaseTesterResponse",component:(()=>{class n{constructor(){}ngOnInit(){}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=At({type:n,selectors:[["app-phase-tester-response"]],decls:5,vars:0,template:function(e,i){1&e&&(x(0,"div"),wt(1,"app-issue-pending")(2,"app-issue-responded")(3,"app-issue-faulty")(4,"app-issue-accepted"),O())},directives:[uce,dce,hce,pce],styles:[""]}),n})(),canActivate:[ro]},{path:"phaseTesterResponse/issues/:issue_id",component:cce,canActivate:[ro],canDeactivate:[fm]}];let fce=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Ht({type:n}),n.\u0275inj=He({imports:[[ws.forChild(mce)],ws]}),n})(),IN=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Ht({type:n}),n.\u0275inj=He({imports:[[di,fce,js,Ey,yy,Do.forChild()]]}),n})();const gce=[{path:"",loadChildren:()=>LF},{path:"phaseBugReporting",loadChildren:()=>SN,canLoad:[ro]},{path:"phaseTeamResponse",loadChildren:()=>xN,canLoad:[ro]},{path:"phaseTesterResponse",loadChildren:()=>IN,canLoad:[ro]},{path:"phaseModeration",loadChildren:()=>kN,canLoad:[ro]},{path:"**",redirectTo:""}];let _ce=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Ht({type:n}),n.\u0275inj=He({imports:[[ws.forRoot(gce)],ws]}),n})();function yce(n,t){if(1&n){const e=on();x(0,"button",12),tt("click",function(){return zt(e),Ce().goBack()}),x(1,"mat-icon"),Me(2,"arrow_back_ios"),O()()}}function vce(n,t){if(1&n&&(x(0,"span",13),Me(1),O()),2&n){const e=Ce();j(1),an(" (",e.getPhaseDescription(e.phaseService.currentPhase),") ")}}const bce=function(n){return{color:"green",visibility:n}};function wce(n,t){if(1&n){const e=on();x(0,"button",18),tt("click",function(){const s=zt(e).$implicit;return Ce(2).routeToSelectedPhase(s)}),x(1,"span")(2,"mat-icon",19),Me(3,"done"),O(),Me(4),O()()}if(2&n){const e=t.$implicit,i=Ce(2);j(2),H("ngStyle",$o(2,bce,i.phaseService.currentPhase===e?"visible":"hidden")),j(2),an(" ",i.getPhaseDescription(e)," ")}}function Mce(n,t){if(1&n&&(x(0,"div")(1,"button",14)(2,"mat-icon",15),Me(3,"expand_more"),O()(),x(4,"mat-menu",null,16),Ae(6,wce,5,4,"button",17),O()()),2&n){const e=ki(5),i=Ce();j(1),H("matMenuTriggerFor",e),j(5),H("ngForOf",i.phaseService.sessionData.openPhases)}}function Dce(n,t){if(1&n){const e=on();x(0,"button",20),tt("click",function(){return zt(e),Ce().viewBrowser()}),x(1,"mat-icon"),Me(2,"open_in_new"),O()()}}function Ece(n,t){if(1&n){const e=on();x(0,"button",21),tt("click",function(){return zt(e),Ce().reload()}),Me(1," Sync "),x(2,"mat-icon"),Me(3,"refresh"),O()()}}function Cce(n,t){1&n&&(x(0,"div",22)(1,"span",23),Me(2,"Sync"),O(),wt(3,"mat-spinner",24),O()),2&n&&(j(3),H("diameter",20))}function Tce(n,t){if(1&n){const e=on();x(0,"button",25),tt("click",function(r){return zt(e),Ce().openLogOutDialog(),r.stopPropagation()}),Me(1),x(2,"mat-icon",26),Me(3,"exit_to_app"),O()()}if(2&n){const e=Ce();j(1),an(" (",e.userService.currentUser.loginId,") ")}}let kce=(()=>{class n{constructor(e,i,r,s,o,a,l,h,f,D,k,Y){this.router=e,this.auth=i,this.phaseService=r,this.userService=s,this.logger=o,this.location=a,this.githubEventService=l,this.issueService=h,this.errorHandlingService=f,this.githubService=D,this.dialogService=k,this.issueTableSettingsService=Y,this.isReloadButtonDisabled=!1,this.ISSUE_FILTER="/issues?q=is:issue+is:open",this.TUTORIAL_LABEL="+label:tutorial.",this.TEAM_LABEL="+label:team.",this.EXCLUDE_DUPLICATE="+-label:duplicate",this.logOutDialogMessages=["Do you wish to log out?"],this.yesButtonDialogMessage="Yes, I wish to log out",this.noButtonDialogMessage="No, I don't wish to log out",e.events.pipe(hi(oe=>oe instanceof iI),YF()).subscribe(oe=>{this.prevUrl=oe[0].urlAfterRedirects})}ngOnInit(){}routeToSelectedPhase(e){this.phaseService.currentPhase!==Mn[e]&&(this.phaseService.currentPhase=Mn[e],this.githubService.storePhaseDetails(this.phaseService.getPhaseOwner(this.phaseService.currentPhase),this.phaseService.sessionData[e]),this.githubService.reset(),this.issueService.reset(!1),this.reload(),this.issueTableSettingsService.clearTableSettings(),this.router.navigateByUrl(this.phaseService.currentPhase))}isBackButtonShown(){return`/${this.phaseService.currentPhase}`!==this.router.url&&"/"!==this.router.url&&!this.router.url.startsWith("/?code")}isReloadButtonShown(){return"/phaseBugReporting/issues/new"!==this.router.url}isOpenUrlButtonShown(){return this.phaseService.currentPhase===Mn.phaseBugReporting||this.userService.currentUser.role===An.Student||"All Teams"!==this.issueService.getIssueTeamFilter()||this.router.url.includes("/issues")}getVersion(){return Bs.version}getPhaseDescription(e){return Nie[e]}goBack(){this.prevUrl===`/${this.phaseService.currentPhase}/issues/new`?this.router.navigate(["/phaseBugReporting"]):this.location.back()}viewBrowser(){const e=this.router.url.substring(1),i=e.indexOf("/");let r;r=i<0?this.ISSUE_FILTER.concat(this.getTeamFilterString()):e.substring(i),window.open("https://github.com/".concat(this.githubService.getRepoURL()).concat(r))}openIssueTracker(){window.open("https://github.com/CATcher-org/CATcher/issues")}getTeamFilterString(){if(this.phaseService.currentPhase===Mn.phaseBugReporting||this.phaseService.currentPhase===Mn.phaseTesterResponse)return"";this.userService.currentUser.team&&this.issueService.setIssueTeamFilter(this.userService.currentUser.team.id);const e=this.issueService.getIssueTeamFilter().split("-"),i=this.TUTORIAL_LABEL.concat(`${e[0]}-${e[1]}`).concat(this.TEAM_LABEL).concat(e[2]);return this.phaseService.currentPhase===Mn.phaseModeration?i:this.EXCLUDE_DUPLICATE.concat(i)}reload(){this.isReloadButtonDisabled=!0,this.githubEventService.reloadPage().subscribe(e=>e,e=>{this.errorHandlingService.handleError(e,()=>this.githubEventService.reloadPage())}),setTimeout(()=>{this.isReloadButtonDisabled=!1},3e3)}logOut(){this.auth.logOut()}openLogOutDialog(){this.dialogService.openUserConfirmationModal(this.logOutDialogMessages,this.yesButtonDialogMessage,this.noButtonDialogMessage).afterClosed().subscribe(i=>{i&&(this.logger.info(`HeaderComponent: Logging out from ${this.userService.currentUser.loginId}`),this.logOut())})}exportLogFile(){this.logger.exportLogFile()}}return n.\u0275fac=function(e){return new(e||n)(M(Xi),M(uc),M(er),M(Cr),M(ts),M(Yc),M(hm),M(Di),M(Gi),M(fr),M(vl),M(TN))},n.\u0275cmp=At({type:n,selectors:[["app-layout-header"]],decls:17,vars:9,consts:[["color","primary",2,"position","sticky","position","-webkit-sticky","top","0","z-index","1000"],["mat-icon-button","","class","mat-toolbar mat-primary back-button","style","transform: scale(0.9)",3,"click",4,"ngIf"],[1,"mat-toolbar","mat-primary",2,"text-decoration","none",3,"routerLink"],["id","phase-descriptor","style","margin-left: 10px",4,"ngIf"],[4,"ngIf"],[2,"flex","1 1 auto"],["mat-button","","matTooltip","Download CATcher Log",3,"click"],["mat-button","","matTooltip","Give feedback about CATcher",3,"click"],["mat-button","","matTooltip","View current page on GitHub",3,"click",4,"ngIf"],["mat-button","","matTooltip","Synchronize with Github data",3,"click",4,"ngIf"],["class","sync-spinner",4,"ngIf"],["mat-button","","matTooltip","Log out",3,"click",4,"ngIf"],["mat-icon-button","",1,"mat-toolbar","mat-primary","back-button",2,"transform","scale(0.9)",3,"click"],["id","phase-descriptor",2,"margin-left","10px"],["mat-button","",3,"matMenuTriggerFor"],[2,"color","white"],["menu","matMenu"],["mat-menu-item","",3,"click",4,"ngFor","ngForOf"],["mat-menu-item","",3,"click"],[3,"ngStyle"],["mat-button","","matTooltip","View current page on GitHub",3,"click"],["mat-button","","matTooltip","Synchronize with Github data",3,"click"],[1,"sync-spinner"],[2,"font-size","14px","margin-right","7px"],[1,"white-spinner",3,"diameter"],["mat-button","","matTooltip","Log out",3,"click"],[2,"margin-left","2px"]],template:function(e,i){1&e&&(x(0,"mat-toolbar",0),Ae(1,yce,3,0,"button",1),x(2,"a",2),Me(3),O(),Ae(4,vce,2,1,"span",3),Ae(5,Mce,7,2,"div",4),wt(6,"span",5),x(7,"button",6),tt("click",function(){return i.exportLogFile()}),x(8,"mat-icon"),Me(9,"receipt"),O()(),x(10,"button",7),tt("click",function(){return i.openIssueTracker()}),x(11,"mat-icon"),Me(12,"mail"),O()(),Ae(13,Dce,3,0,"button",8),Ae(14,Ece,4,0,"button",9),Ae(15,Cce,4,1,"div",10),Ae(16,Tce,4,1,"button",11),O()),2&e&&(j(1),H("ngIf",i.isBackButtonShown()),j(1),H("routerLink",i.phaseService.currentPhase),j(1),an("CATcher v",i.getVersion(),""),j(1),H("ngIf",i.auth.isAuthenticated()),j(1),H("ngIf",i.auth.isAuthenticated()&&i.phaseService.sessionData.openPhases.length>1),j(8),H("ngIf",i.auth.isAuthenticated()&&i.isOpenUrlButtonShown()),j(1),H("ngIf",i.auth.isAuthenticated()&&i.isReloadButtonShown()&&!i.isReloadButtonDisabled),j(1),H("ngIf",i.auth.isAuthenticated()&&i.isReloadButtonShown()&&i.isReloadButtonDisabled),j(1),H("ngIf",i.auth.isAuthenticated()))},directives:[ite,ai,bi,hs,Ed,iy,ny,jr,lc,ql,gl,Es],encapsulation:2}),n})(),xce=(()=>{class n{constructor(e,i){this.errorHandlingService=i,this.NOT_CONNECTED_ERROR=new Error("You are not connected to the internet."),e.info("AppComponent: AppConfig",Bs),e.info("AppComponent: Mode web")}ngAfterViewInit(){this.addListenerForNetworkOffline()}addListenerForNetworkOffline(){window.addEventListener("offline",e=>{this.errorHandlingService.handleError(this.NOT_CONNECTED_ERROR)},!1)}}return n.\u0275fac=function(e){return new(e||n)(M(ts),M(Gi))},n.\u0275cmp=At({type:n,selectors:[["app-root"]],decls:3,vars:0,consts:[[1,"container"]],template:function(e,i){1&e&&(wt(0,"app-layout-header"),x(1,"div",0),wt(2,"router-outlet"),O())},directives:[kce,OM],styles:[".container[_ngcontent-%COMP%]{padding:30px;min-height:87.9vh}"]}),n})();var hu=(()=>(function(n){n[n.NotAuthenticated=0]="NotAuthenticated",n[n.AwaitingAuthentication=1]="AwaitingAuthentication",n[n.ConfirmOAuthUser=2]="ConfirmOAuthUser",n[n.Authenticated=3]="Authenticated"}(hu||(hu={})),hu))();let Ice=(()=>{class n{constructor(e,i,r,s,o,a,l,h,f,D){this.router=e,this.ngZone=i,this.githubService=r,this.userService=s,this.issueService=o,this.phaseService=a,this.dataService=l,this.githubEventService=h,this.titleService=f,this.logger=D,this.authStateSource=new xi(hu.NotAuthenticated),this.currentAuthState=this.authStateSource.asObservable(),this.accessToken=new xi(void 0)}storeOAuthAccessToken(e){this.githubService.storeOAuthAccessToken(e),this.accessToken.next(e)}reset(){this.accessToken.next(void 0),this.changeAuthState(hu.NotAuthenticated),this.ngZone.run(()=>this.router.navigate([""]))}logOut(){this.githubService.reset(),this.userService.reset(),this.issueService.reset(!0),this.phaseService.reset(),this.dataService.reset(),this.githubEventService.reset(),this.logger.reset(),this.setLandingPageTitle(),this.issueService.setIssueTeamFilter("All Teams"),this.reset()}isAuthenticated(){return this.authStateSource.getValue()===hu.Authenticated}changeAuthState(e){if(e===hu.Authenticated){const i=`${Date.now()}-${uy()}`;this.issueService.setSessionId(i),this.logger.info(`MockAuthService: Successfully authenticated with session: ${i}`)}this.authStateSource.next(e)}setTitleWithPhaseDetail(){const e=w(4147),i=`${e.name} ${e.version} - ${this.phaseService.getPhaseDetail()}`;this.titleService.setTitle(i)}setLandingPageTitle(){const e=w(4147);this.titleService.setTitle(`${e.name} ${e.version}`)}startOAuthProcess(){this.accessToken.next("FabricatedToken")}navigateToLandingPage(){this.router.navigateByUrl(this.phaseService.currentPhase)}clearNext(){}getNext(){}storeNext(e){}}return n.\u0275fac=function(e){return new(e||n)(Se(Xi),Se(yn),Se(fr),Se(Cr),Se(Di),Se(er),Se(Li),Se(hm),Se(eg),Se(ts))},n.\u0275prov=De({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();function Ace(n,t,e,i,r,s,o,a,l,h){return Bs.test?new Ice(n,t,e,i,r,s,o,a,l,h):(console.log(h),new uc(n,t,e,i,r,s,o,a,l,h))}const gm=Object.assign({},function gte(){return Object.assign(Object.assign({},function fte(){return Object.assign(Object.assign({},FP),{version:mte.version,production:!1,test:!1,clientId:"0cbc5e651d8b01e36687",origin:"http://localhost:4200"})}()),{test:!0,role:"student",username:"CAT-Tester",team:"CS2103T-W12-3"})}()),{Octokit:AN}=w(8176);let Rce="",Lce="",Oce="",Pce="",Fce=new AN,Nce=(()=>{class n{constructor(){this.numIssuesCreated=0}storeOAuthAccessToken(e){Fce=new AN({auth:()=>`Token ${e}`})}storeOrganizationDetails(e,i){Lce=e,Pce=i}storePhaseDetails(e,i){Oce=i,Rce=e}isRepositoryPresent(e,i){return Wt(!0)}createIssue(e,i,r){const s=r.map(a=>new Cs({name:a})),o={number:this.numIssuesCreated,title:e,body:i,labels:s};return this.numIssuesCreated++,Wt(new Ts(o))}fetchAllLabels(){return Wt(ei.getRequiredLabelsAsArray(!0).map(e=>({name:e.labelCategory?`${e.labelCategory}.${e.labelValue}`:`${e.labelValue}`,color:`${e.labelColor}`})))}fetchEventsForRepo(){return Wt([])}fetchDataFile(){return Wt({data:`role,name,team\n${gm.role},${gm.username},${gm.team}\n`})}fetchLatestRelease(){const e=w(4147);return Wt({html_url:`www.github.com/CATcher-org/releases/v${e.version}`,tag_name:`v${e.version}`})}fetchSettingsFile(){return Wt({openPhases:[Mn.phaseBugReporting,Mn.phaseTeamResponse,Mn.phaseTesterResponse,Mn.phaseModeration],[Mn.phaseBugReporting]:"undefined",[Mn.phaseTeamResponse]:"undefined",[Mn.phaseTesterResponse]:"undefined",[Mn.phaseModeration]:"undefined"})}fetchAuthenticatedUser(){return Wt({login:gm.username,name:gm.username})}getProfilesData(){const e=[{profileName:"CATcher",repoName:"CATcher-org/public_data"}],i={json:()=>Promise.resolve({profiles:e})};return Promise.resolve(i)}reset(){}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=De({token:n,factory:n.\u0275fac}),n})();function jce(n,t,e){return Bs.test?new Nce:new fr(n,t,e)}new zd({id:"CS2103T-W12-3",teamMembers:[{loginId:"JunWei96",role:An.Student},{loginId:"003-samuel",role:An.Student},{loginId:"damithc",role:An.Student},{loginId:"ptvrajsk",role:An.Student}]}),new zd({id:"CS2103T-W12-4",teamMembers:[{loginId:"RonakLakhotia",role:An.Student}]});const Hce=(new zd({id:"CS2103T-W12-3",teamMembers:[{loginId:"JunWei96",role:An.Student},{loginId:"003-samuel",role:An.Student},{loginId:"damithc",role:An.Student},{loginId:"ptvrajsk",role:An.Student}]}),new zd({id:"CS2103T-W12-4",teamMembers:[{loginId:"RonakLakhotia",role:An.Student}]}),{body:"# Team's Response\n\n ## Duplicate status (if any):\n--",created_at:"2020-02-16T18:31:38Z",id:586737495,issue_url:"https://api.github.com/repos/CATcher-org/pe-results/issues/91",updated_at:"2020-03-02T12:50:02Z",url:"https://api.github.com/repos/CATcher-org/pe-results/issues/comments/586737495",user:{login:"testathorStudent",id:46639862,avatar_url:"https://avatars3.githubusercontent.com/u/46639862?v=4",url:"https://api.github.com/users/testathorStudent"}}),oE={body:"# Tutor Moderation\n\n## :question: Issue Type\n\n- [x] Done\n\ntest\n\n
    \n## :question: Issue Severity\n\n- [ ] Done\n\n[replace this with your explanation]\n\n
    \n## :question: Not Related Question\n\n- [ ] Done\n\n[replace this with your explanation]\n\n
    \n",created_at:"2020-08-15T06:39:24Z",id:674357972,issue_url:"https://api.github.com/repos/CATcher-org/pe-evaluation/issues/26",updated_at:"2020-08-15T06:39:40Z",url:"https://api.github.com/repos/CATcher-org/pe-evaluation/issues/comments/674357972",user:{login:"testathorTutor",id:46640218,avatar_url:"https://avatars2.githubusercontent.com/u/46640218?v=4",url:"https://api.github.com/users/testathorTutor"}},Ty={color:"9900cc",name:"type.FunctionalityBug",id:1226647550,url:"https://api.github.com/repos/CATcher-org/pe-results/labels/type.FunctionalityBug"},aE={id:1462485994,url:"https://api.github.com/repos/CATcher-org/pe-results/labels/type.FeatureFlaw",name:"type.FeatureFlaw",color:"d966ff"},Sy={id:1226647431,url:"https://api.github.com/repos/CATcher-org/pe-results/labels/type.DocumentationBug",name:"type.DocumentationBug",color:"d966ff"},lE={id:1226646828,url:"https://api.github.com/repos/CATcher-org/pe-results/labels/severity.Low",name:"severity.Low",color:"ffcccc"},ky={id:1226646649,url:"https://api.github.com/repos/CATcher-org/pe-results/labels/severity.High",name:"severity.High",color:"ff6666"},xy={color:"ff9999",name:"severity.Medium",id:1226647149,url:"https://api.github.com/repos/CATcher-org/pe-results/labels/severity.Medium"},bl={url:"https://api.github.com/repos/CATcher-org/pe-results/labels/tutorial.CS2103T-W12",name:"tutorial.CS2103T-W12",color:"c2e0c6",id:1226649736},wl={id:1226649835,url:"https://api.github.com/repos/CATcher-org/pe-results/labels/team.3",name:"team.3",color:"d4c5f9"},Kd={login:"anubh-v",avatar_url:"https://avatars1.githubusercontent.com/u/35621759?v=4",url:"https://api.github.com/users/anubh-v"},zce={login:"anubh-v",id:35621759,url:"https://api.github.com/users/anubh-v"},cE={login:"geshuming",avatar_url:"https://avatars0.githubusercontent.com/u/43642522?v=4",url:"https://api.github.com/users/geshuming"},Iy={login:"geshuming",id:43642522,url:"https://api.github.com/users/geshuming"},uE="# Issue Description\n{original issue description}\n# Team's Response\n{team's response}\n # Disputes\n\n## :question: Issue Type\n\n### Team says:\r\n{the team's action that is being disputed}\r\n\r\n### Tester says:\r\n{tester's objection}\n\n
    \n## :question: Issue Severity\n\n### Team says:\r\n{the team's action that is being disputed}\r\n\r\n### Tester says:\r\n{tester's objection}\n\n
    \n## :question: Not Related Question\n\n### Team says:\r\n{the team's action that is being disputed}\r\n\r\n### Tester says:\r\n{tester's objection}\n\n
    \n\n",Gce=(new Ts({id:"574085971",number:92,assignees:[],comments:[],body:"",created_at:"2020-03-02T16:19:02Z",labels:[wl,bl,Ty,xy],state:Fs.Open,title:"App starts to lag when given large amount of input",updated_at:"2020-03-13T13:37:32Z",url:"https://api.github.com/repos/CATcher-org/pe-results/issues/92",user:Kd}),new Ts({id:"384830567",number:130,assignees:[],comments:[],body:"",created_at:"2020-03-02T16:19:02Z",labels:[wl,bl,aE,lE],state:Fs.Open,title:"App is sometimes slow",updated_at:"2020-03-13T13:37:32Z",url:"https://api.github.com/repos/CATcher-org/pe-results/issues/130",user:Kd}),new Ts({id:"573957398",number:32,assignees:[],comments:[],body:"",created_at:"2010-03-12T19:12:02Z",labels:[wl,bl,Sy,ky],state:Fs.Open,title:"Too many typos",updated_at:"2012-03-12T19:12:02Z",url:"https://api.github.com/repos/CATcher-org/pe-results/issues/130",user:Kd}),new Ts({id:"573957399",number:33,assignees:[],comments:[],body:"",created_at:"2010-04-12T19:12:02Z",labels:[wl,bl,Sy,ky],state:Fs.Open,title:"Too many typos 2",updated_at:"2012-04-12T19:12:02Z",url:"https://api.github.com/repos/CATcher-org/pe-results/issues/130",user:Kd}),new Ts({id:"551732011",number:91,assignees:[zce,Iy],body:"Screen freezes every few minutes",created_at:"2020-01-18T07:01:45Z",labels:[wl,bl,Ty,xy],state:Fs.Open,title:"Screen freezes",updated_at:"2020-03-02T12:50:02Z",url:"https://api.github.com/repos/CATcher-org/pe-results/issues/91",user:Kd,comments:[Hce]}),()=>{const n=((n=new Date(2020,1,1),t=new Date)=>new Date(n.getTime()+Math.random()*(n.getTime()-t.getTime())).toISOString())(),t=Math.round(1e3*Math.random()),e=[lE,xy,ky],i=[Ty,aE,Sy];return new Ts({id:Math.floor(1e9*Math.random()).toString(),number:t,assignees:[],comments:[],body:`Issue No.: ${t}\nSample Content.`,created_at:n,labels:[wl,bl,i[t%3],e[t%3]],state:Fs.Open,title:`Random Issue: ${t}`,updated_at:n,url:`https://api.github.com/repos/CATcher-org/pe-results/issues/${t}`,user:Kd})});new Ts({id:"574674360",number:26,assignees:[Iy],body:uE,created_at:"2020-03-03T13:38:32Z",labels:[wl,bl,Ty,xy],state:Fs.Open,title:"Basic Issue, Three Disputes, Unsure",updated_at:"2020-08-15T06:39:40Z",url:"https://api.github.com/repos/CATcher-org/pe-results/issues/26",user:cE,comments:[oE]}),new Ts({id:"239538360",number:93,assignees:[Iy],body:uE,created_at:"2020-10-14T10:28:32Z",labels:[wl,bl,aE,ky],state:Fs.Open,title:"Redundant buggy feature",updated_at:"2020-11-25T13:19:40Z",url:"https://api.github.com/repos/CATcher-org/pe-results/issues/26",user:cE,comments:[oE]}),new Ts({id:"384756360",number:6,assignees:[Iy],body:uE,created_at:"2020-03-26T09:08:12Z",labels:[wl,bl,Sy,lE],state:Fs.Open,title:"Documentation bug, too many typos",updated_at:"2020-11-10T16:59:40Z",url:"https://api.github.com/repos/CATcher-org/pe-results/issues/26",user:cE,comments:[oE]});let $ce=(()=>{class n{constructor(e,i,r){this.githubService=e,this.phaseService=i,this.dataService=r,this.issueTeamFilter="All Teams",this.isLoading=new xi(!1),this.issues$=new xi(new Array)}startPollIssues(){void 0===this.issuesPollSubscription&&(0===this.issues$.getValue().length&&this.isLoading.next(!0),this.issuesPollSubscription=Wt(this.reloadAllIssues()).subscribe(e=>this.isLoading.next(!1)))}stopPollIssues(){this.issuesPollSubscription&&(this.issuesPollSubscription.unsubscribe(),this.issuesPollSubscription=void 0)}pollIssue(e){return Wt(this.issues[e])}reloadAllIssues(){return this.initializeData()}getIssue(e){return void 0===this.issues?this.getLatestIssue(e):Wt(this.issues[e])}getLatestIssue(e){return this.githubService.fetchIssueGraphql(e).pipe(_e(i=>(this.createAndSaveIssueModel(i),this.issues[e])),Ni(i=>Wt(this.issues[e])))}createIssue(e,i,r,s){const o=[this.createLabel("severity",r),this.createLabel("type",s)],l=O0.embedDataIntoString(i,new Map([["session",this.sessionId]]));return this.githubService.createIssue(e,l,o).pipe(_e(h=>this.createIssueModel(h)))}updateIssue(e){const i=this.phaseService.currentPhase===Mn.phaseModeration?[]:e.assignees;return this.githubService.updateIssue(e.id,e.title,this.createGithubIssueDescription(e),this.createLabelsForIssue(e),i).pipe(_e(r=>(r.comments=e.githubComments,this.createIssueModel(r))))}updateIssueWithComment(e,i){return this.githubService.updateIssueComment(i).pipe(ue(r=>(e.githubComments=[r,...e.githubComments.filter(s=>s.id!==r.id)],this.updateIssue(e))))}updateTesterResponse(e,i){const s=this.issues[e.id].testerResponses?this.githubService.updateIssueComment(i):this.githubService.createIssueComment(e.id,i.description),o=e.clone(this.phaseService.currentPhase);return o.status=Ys.Done,Oa([s,this.updateIssue(o)]).pipe(_e(a=>{const[l,h]=a;return h.updateTesterResponse(l),h}))}updateTutorResponse(e,i){return Oa([this.githubService.updateIssueComment(i),this.updateIssue(e)]).pipe(_e(r=>{const[s,o]=r;return o.updateDispute(s),o}))}createTeamResponse(e){const i=e.createGithubTeamResponse();return this.githubService.createIssueComment(e.id,i).pipe(ue(r=>(e.githubComments=[r,...e.githubComments.filter(s=>s.id!==r.id)],this.updateIssue(e))))}createTutorResponse(e,i){return Oa([this.githubService.createIssueComment(e.id,i),this.updateIssue(e)]).pipe(_e(r=>{const[s,o]=r;return o.updateDispute(s),o}))}createGithubIssueDescription(e){return this.phaseService.currentPhase===Mn.phaseModeration?`# Issue Description\n${e.createGithubIssueDescription()}\n# Team's Response\n${e.teamResponse}\n # Disputes\n\n${this.getIssueDisputeString(e.issueDisputes)}\n`:e.createGithubIssueDescription()}getIssueDisputeString(e){let i="";for(const r of e)i+=r.toString();return i}deleteIssue(e){return this.githubService.closeIssue(e).pipe(_e(i=>{const r=this.createIssueModel(i);return this.deleteFromLocalStore(r),r}))}deleteFromLocalStore(e){const r=e.id,o=(0,lm._T)(this.issues,["symbol"==typeof r?r:r+""]);this.issues=o,this.issues$.next(Object.values(this.issues))}updateLocalStore(e){this.issues=Object.assign(Object.assign({},this.issues),{[e.id]:e}),this.issues$.next(Object.values(this.issues))}hasTeamResponse(e){return!!this.issues[e].teamResponse}getDuplicateIssuesFor(e){return this.issues$.pipe(_e(i=>i.filter(r=>r.duplicateOf===e.id)))}reset(){this.issues=void 0,this.sessionId=void 0,this.issues$.next(new Array),this.stopPollIssues(),this.isLoading.complete(),this.isLoading=new xi(!1)}initializeData(){if(null!=this.issues)return Wt(Object.values(this.issues));const i=[];if(this.phaseService.currentPhase===Mn.phaseBugReporting)for(let r=0;r<10;r++)i.push(Gce());for(const r of i)this.createAndSaveIssueModel(r);return Wt(Object.values(this.issues))}createAndSaveIssueModel(e){const i=this.createIssueModel(e);return this.updateLocalStore(i),!0}createLabelsForIssue(e){const i=[];if(this.phaseService.currentPhase!==Mn.phaseBugReporting&&this.phaseService.currentPhase!==Mn.phaseTesterResponse){const r=e.teamAssigned.id.split("-");i.push(this.createLabel("tutorial",`${r[0]}-${r[1]}`),this.createLabel("team",r[2]))}return e.severity&&i.push(this.createLabel("severity",e.severity)),e.type&&i.push(this.createLabel("type",e.type)),e.response&&i.push(this.createLabel("response",e.response)),e.duplicated&&i.push("duplicate"),e.status&&i.push(this.createLabel("status",e.status)),e.pending&&+e.pending>0&&i.push(this.createLabel("pending",e.pending)),e.unsure&&i.push("unsure"),i}createLabel(e,i){return`${e}.${i}`}extractTeamIdFromGithubIssue(e){return e.findLabel(Cs.LABELS.tutorial).concat("-").concat(e.findLabel(Cs.LABELS.team))}createIssueModel(e){switch(this.phaseService.currentPhase){case Mn.phaseBugReporting:return Bi.createPhaseBugReportingIssue(e);case Mn.phaseTeamResponse:return Bi.createPhaseTeamResponseIssue(e,this.dataService.getTeam(this.extractTeamIdFromGithubIssue(e)));case Mn.phaseTesterResponse:return Bi.createPhaseTesterResponseIssue(e);case Mn.phaseModeration:return Bi.createPhaseModerationIssue(e,this.dataService.getTeam(this.extractTeamIdFromGithubIssue(e)));default:return}}setIssueTeamFilter(e){e&&(this.issueTeamFilter=e)}setSessionId(e){this.sessionId=e}getIssueTeamFilter(){return this.issueTeamFilter}}return n.POLL_INTERVAL=5e3,n.\u0275fac=function(e){return new(e||n)(Se(fr),Se(er),Se(Li))},n.\u0275prov=De({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();function Wce(n,t,e,i,r){return Bs.test?new $ce(n,e,i):new Di(n,t,e,i,r)}function Qce(){const n=new Sp,t=n.link;return n.link=(e,i,r)=>t.call(n,e,i,r).replace(/^
    e?' ':' ',{renderer:n,gfm:!0,breaks:!0,pedantic:!1,smartLists:!0,smartypants:!1}}var Kce=w(4989),Zce=function(){function n(t){var e=t.batchInterval,i=t.batchMax,r=t.batchHandler,s=t.batchKey;this.queuedRequests=new Map,this.batchInterval=e,this.batchMax=i||0,this.batchHandler=r,this.batchKey=s||function(){return""}}return n.prototype.enqueueRequest=function(t){var e=this,i=(0,HM.pi)({},t),r=!1,s=this.batchKey(t.operation);return i.observable||(i.observable=new VM.y$(function(o){e.queuedRequests.has(s)||e.queuedRequests.set(s,[]),r||(e.queuedRequests.get(s).push(i),r=!0),i.next=i.next||[],o.next&&i.next.push(o.next.bind(o)),i.error=i.error||[],o.error&&i.error.push(o.error.bind(o)),i.complete=i.complete||[],o.complete&&i.complete.push(o.complete.bind(o)),1===e.queuedRequests.get(s).length&&e.scheduleQueueConsumption(s),e.queuedRequests.get(s).length===e.batchMax&&e.consumeQueue(s)})),i.observable},n.prototype.consumeQueue=function(t){var e=t||"",i=this.queuedRequests.get(e);if(i){this.queuedRequests.delete(e);var r=i.map(function(k){return k.operation}),s=i.map(function(k){return k.forward}),o=[],a=[],l=[],h=[];i.forEach(function(k,Y){o.push(k.observable),a.push(k.next),l.push(k.error),h.push(k.complete)});var f=this.batchHandler(r,s)||VM.y$.of(),D=function(k){l.forEach(function(Y){Y&&Y.forEach(function(oe){return oe(k)})})};return f.subscribe({next:function(k){if(Array.isArray(k)||(k=[k]),a.length!==k.length){var Y=new Error("server returned results with length "+k.length+", expected length of "+a.length);return Y.result=k,D(Y)}k.forEach(function(oe,Fe){a[Fe]&&a[Fe].forEach(function(We){return We(oe)})})},error:D,complete:function(){h.forEach(function(k){k&&k.forEach(function(Y){return Y()})})}}),o}},n.prototype.scheduleQueueConsumption=function(t){var e=this,i=t||"";setTimeout(function(){e.queuedRequests.get(i)&&e.queuedRequests.get(i).length&&e.consumeQueue(i)},this.batchInterval)},n}();!function(n){function t(e){var i=n.call(this)||this,r=e||{},s=r.batchInterval,a=r.batchMax,h=r.batchHandler,D=r.batchKey;return i.batcher=new Zce({batchInterval:void 0===s?10:s,batchMax:void 0===a?0:a,batchHandler:void 0===h?function(){return null}:h,batchKey:void 0===D?function(){return""}:D}),e.batchHandler.length<=1&&(i.request=function(Y){return i.batcher.enqueueRequest({operation:Y})}),i}(0,HM.ZT)(t,n),t.prototype.request=function(e,i){return this.batcher.enqueueRequest({operation:e,forward:i})}}(iA.ApolloLink);class Xce extends Zc.ApolloLink{constructor(t,e){super(),this.httpClient=t,this.options=e,this.print=Kce.S,this.options.operationPrinter&&(this.print=this.options.operationPrinter),this.requester=i=>new Zc.Observable(r=>{const s=i.getContext(),o=(Ue,Lt)=>function pu(...n){const t=n.find(e=>void 0!==e);return void 0===t?n[n.length-1]:t}(s[Ue],this.options[Ue],Lt);let a=o("method","POST");const l=o("includeQuery",!0),h=o("includeExtensions",!1),f=o("uri","graphql"),D=o("withCredentials"),k=o("useMultipart"),Y=!0===this.options.useGETForQueries,oe=i.query.definitions.some(Ue=>"OperationDefinition"===Ue.kind&&"query"===Ue.operation);Y&&oe&&(a="GET");const Fe={method:a,url:"function"==typeof f?f(i):f,body:{operationName:i.operationName,variables:i.variables},options:{withCredentials:D,useMultipart:k,headers:this.options.headers}};h&&(Fe.body.extensions=i.extensions),l&&(Fe.body.query=this.print(i.query));const We=function FN(n){let t=n.headers&&n.headers instanceof Ko?n.headers:new Ko(n.headers);if(n.clientAwareness){const{name:e,version:i}=n.clientAwareness;e&&!t.has("apollographql-client-name")&&(t=t.set("apollographql-client-name",e)),i&&!t.has("apollographql-client-version")&&(t=t.set("apollographql-client-version",i))}return t}(s);Fe.options.headers=((n,t)=>n&&t?t.keys().reduce((i,r)=>i.set(r,t.getAll(r)),n):t||n)(Fe.options.headers,We);const it=((n,t,e)=>{const i=-1!==["POST","PUT","PATCH"].indexOf(n.method.toUpperCase()),s=n.body.length;let a,o=n.options&&n.options.useMultipart;if(o){if(s)return new st(h=>h.error(new Error("File upload is not available when combined with Batching")));if(!i)return new st(h=>h.error(new Error("File upload is not available when GET is used")));if(!e)return new st(h=>h.error(new Error('To use File upload you need to pass "extractFiles" function from "extract-files" library to HttpLink\'s options')));a=e(n.body),o=!!a.files.size}let l={};if(s){if(!i)return new st(h=>h.error(new Error("Batching is not available for GET requests")));l={body:n.body}}else{const h=o?a.clone:n.body;l=i?{body:h}:{params:Object.keys(n.body).reduce((D,k)=>{const Y=n.body[k];return D[k]=(h=>-1!==["variables","extensions"].indexOf(h.toLowerCase()))(k)?JSON.stringify(Y):Y,D},{})}}if(o&&i){const h=new FormData;h.append("operations",JSON.stringify(l.body));const f={},D=a.files;let k=0;D.forEach(Y=>{f[++k]=Y}),h.append("map",JSON.stringify(f)),k=0,D.forEach((Y,oe)=>{h.append(++k+"",oe,oe.name)}),l.body=h}return t.request(n.method,n.url,Object.assign(Object.assign({observe:"response",responseType:"json",reportProgress:!1},l),n.options))})(Fe,this.httpClient,this.options.extractFiles).subscribe({next:Ue=>{i.setContext({response:Ue}),r.next(Ue.body)},error:Ue=>r.error(Ue),complete:()=>r.complete()});return()=>{it.closed||it.unsubscribe()}})}request(t){return this.requester(t)}}let Jce=(()=>{class n{constructor(e){this.httpClient=e}create(e){return new Xce(this.httpClient,e)}}return n.\u0275fac=function(e){return new(e||n)(Se(hp))},n.\u0275prov=De({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),eue=(()=>{class n{constructor(e,i,r,s,o){this.apollo=e,this.httpLink=i,this.authService=r,this.router=s,this.errorHandlingService=o;const l=rA(()=>({headers:{Accept:"charset=utf-8"}})),h=rA(()=>({headers:{Authorization:`Token ${this.authService.accessToken.getValue()}`}})),f=Zc.ApolloLink.from([l,h,this.httpLink.create({uri:"https://api.github.com/graphql"})]),D=new Zc.InMemoryCache({possibleTypes:i6.possibleTypes});this.apollo.create({link:f,cache:D}),this.router.events.subscribe(k=>{k instanceof bd&&this.errorHandlingService.clearError()})}}return n.\u0275fac=function(e){return new(e||n)(Se(Hg),Se(Jce),Se(uc),Se(Xi),Se(Gi))},n.\u0275mod=Ht({type:n,bootstrap:[xce]}),n.\u0275inj=He({providers:[{provide:fr,useFactory:jce,deps:[Gi,Hg,ts]},{provide:uc,useFactory:Ace,deps:[Xi,yn,fr,Cr,Di,er,Li,hm,eg,ts]},{provide:Di,useFactory:Wce,deps:[fr,Cr,er,Li,ts]},{provide:Ka,useClass:Gi}],imports:[[Qx,IN,Pz,LF,SN,xN,kN,js,Ww,Do.forRoot({markedOptions:{provide:CA,useFactory:Qce}}),x8,_ce]]}),n})();Bs.production&&function x3(){nx=!1}(),u4().bootstrapModule(eue,{preserveWhitespaces:!1}).catch(n=>console.error(n))},8955:(se,q,w)=>{"use strict";const v="undefined"!=typeof globalThis&&globalThis,m="undefined"!=typeof window&&window,d="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,p=v||"undefined"!=typeof global&&global||m||d,g=function(N,...R){if(g.translate){const F=g.translate(N,R);N=F[0],R=F[1]}let B=b(N[0],N.raw[0]);for(let F=1;F{"use strict";w.r(q),w.d(q,{paginateRest:()=>y});const m=[/^\/search\//,/^\/repos\/[^/]+\/[^/]+\/commits\/[^/]+\/(check-runs|check-suites)([^/]|$)/,/^\/installation\/repositories([^/]|$)/,/^\/user\/installations([^/]|$)/,/^\/repos\/[^/]+\/[^/]+\/actions\/secrets([^/]|$)/,/^\/repos\/[^/]+\/[^/]+\/actions\/workflows(\/[^/]+\/runs)?([^/]|$)/,/^\/repos\/[^/]+\/[^/]+\/actions\/runs(\/[^/]+\/(artifacts|jobs))?([^/]|$)/];function u(b,C,P){const N=b.request.endpoint(C,P),R=N.method,B=N.headers;let F=N.url;return{[Symbol.asyncIterator]:()=>({next:()=>F?b.request({method:R,url:F,headers:B}).then(L=>(function d(b,C,P){const N=C.replace(b.request.endpoint.DEFAULTS.baseUrl,"");if(!m.find(ct=>ct.test(N)))return;const B=P.data.incomplete_results,F=P.data.repository_selection,L=P.data.total_count;delete P.data.incomplete_results,delete P.data.repository_selection,delete P.data.total_count;const te=Object.keys(P.data)[0],$e=P.data[te];P.data=$e,void 0!==B&&(P.data.incomplete_results=B),void 0!==F&&(P.data.repository_selection=F),P.data.total_count=L,Object.defineProperty(P.data,te,{get:()=>(b.log.warn(`[@octokit/paginate-rest] "response.data.${te}" is deprecated for "GET ${N}". Get the results directly from "response.data"`),Array.from($e))})}(b,F,L),F=((L.headers.link||"").match(/<([^>]+)>;\s*rel="next"/)||[])[1],{value:L})):Promise.resolve({done:!0})})}}function p(b,C,P,N){return"function"==typeof P&&(N=P,P=void 0),g(b,[],u(b,C,P)[Symbol.asyncIterator](),N)}function g(b,C,P,N){return P.next().then(R=>{if(R.done)return C;let B=!1;return C=C.concat(N?N(R.value,function F(){B=!0}):R.value.data),B?C:g(b,C,P,N)})}function y(b){return{paginate:Object.assign(p.bind(null,b),{iterator:u.bind(null,b)})}}y.VERSION="1.1.2"},1243:(se,q,w)=>{"use strict";function m(d){d.hook.wrap("request",(u,p)=>{d.log.debug("request",p);const g=Date.now(),y=d.request.endpoint.parse(p),b=y.url.replace(p.baseUrl,"");return u(p).then(C=>(d.log.info(`${y.method} ${b} - ${C.status} in ${Date.now()-g}ms`),C)).catch(C=>{throw d.log.info(`${y.method} ${b} - ${C.status} in ${Date.now()-g}ms`),C})})}w.r(q),w.d(q,{requestLog:()=>m}),m.VERSION="1.0.4"},7985:(se,q,w)=>{"use strict";w.r(q),w.d(q,{restEndpointMethods:()=>g});var v=w(505),m={actions:{cancelWorkflowRun:{method:"POST",params:{owner:{required:!0,type:"string"},repo:{required:!0,type:"string"},run_id:{required:!0,type:"integer"}},url:"/repos/:owner/:repo/actions/runs/:run_id/cancel"},createOrUpdateSecretForRepo:{method:"PUT",params:{encrypted_value:{type:"string"},key_id:{type:"string"},name:{required:!0,type:"string"},owner:{required:!0,type:"string"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/actions/secrets/:name"},createRegistrationToken:{method:"POST",params:{owner:{required:!0,type:"string"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/actions/runners/registration-token"},createRemoveToken:{method:"POST",params:{owner:{required:!0,type:"string"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/actions/runners/remove-token"},deleteArtifact:{method:"DELETE",params:{artifact_id:{required:!0,type:"integer"},owner:{required:!0,type:"string"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/actions/artifacts/:artifact_id"},deleteSecretFromRepo:{method:"DELETE",params:{name:{required:!0,type:"string"},owner:{required:!0,type:"string"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/actions/secrets/:name"},downloadArtifact:{method:"GET",params:{archive_format:{required:!0,type:"string"},artifact_id:{required:!0,type:"integer"},owner:{required:!0,type:"string"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/actions/artifacts/:artifact_id/:archive_format"},getArtifact:{method:"GET",params:{artifact_id:{required:!0,type:"integer"},owner:{required:!0,type:"string"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/actions/artifacts/:artifact_id"},getPublicKey:{method:"GET",params:{owner:{required:!0,type:"string"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/actions/secrets/public-key"},getSecret:{method:"GET",params:{name:{required:!0,type:"string"},owner:{required:!0,type:"string"},page:{type:"integer"},per_page:{type:"integer"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/actions/secrets/:name"},getSelfHostedRunner:{method:"GET",params:{owner:{required:!0,type:"string"},repo:{required:!0,type:"string"},runner_id:{required:!0,type:"integer"}},url:"/repos/:owner/:repo/actions/runners/:runner_id"},getWorkflow:{method:"GET",params:{owner:{required:!0,type:"string"},repo:{required:!0,type:"string"},workflow_id:{required:!0,type:"integer"}},url:"/repos/:owner/:repo/actions/workflows/:workflow_id"},getWorkflowJob:{method:"GET",params:{job_id:{required:!0,type:"integer"},owner:{required:!0,type:"string"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/actions/jobs/:job_id"},getWorkflowRun:{method:"GET",params:{owner:{required:!0,type:"string"},repo:{required:!0,type:"string"},run_id:{required:!0,type:"integer"}},url:"/repos/:owner/:repo/actions/runs/:run_id"},listDownloadsForSelfHostedRunnerApplication:{method:"GET",params:{owner:{required:!0,type:"string"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/actions/runners/downloads"},listJobsForWorkflowRun:{method:"GET",params:{owner:{required:!0,type:"string"},page:{type:"integer"},per_page:{type:"integer"},repo:{required:!0,type:"string"},run_id:{required:!0,type:"integer"}},url:"/repos/:owner/:repo/actions/runs/:run_id/jobs"},listRepoWorkflowRuns:{method:"GET",params:{actor:{type:"string"},branch:{type:"string"},event:{type:"string"},owner:{required:!0,type:"string"},page:{type:"integer"},per_page:{type:"integer"},repo:{required:!0,type:"string"},status:{enum:["completed","status","conclusion"],type:"string"}},url:"/repos/:owner/:repo/actions/runs"},listRepoWorkflows:{method:"GET",params:{owner:{required:!0,type:"string"},page:{type:"integer"},per_page:{type:"integer"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/actions/workflows"},listSecretsForRepo:{method:"GET",params:{owner:{required:!0,type:"string"},page:{type:"integer"},per_page:{type:"integer"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/actions/secrets"},listSelfHostedRunnersForRepo:{method:"GET",params:{owner:{required:!0,type:"string"},page:{type:"integer"},per_page:{type:"integer"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/actions/runners"},listWorkflowJobLogs:{method:"GET",params:{job_id:{required:!0,type:"integer"},owner:{required:!0,type:"string"},page:{type:"integer"},per_page:{type:"integer"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/actions/jobs/:job_id/logs"},listWorkflowRunArtifacts:{method:"GET",params:{owner:{required:!0,type:"string"},page:{type:"integer"},per_page:{type:"integer"},repo:{required:!0,type:"string"},run_id:{required:!0,type:"integer"}},url:"/repos/:owner/:repo/actions/runs/:run_id/artifacts"},listWorkflowRunLogs:{method:"GET",params:{owner:{required:!0,type:"string"},page:{type:"integer"},per_page:{type:"integer"},repo:{required:!0,type:"string"},run_id:{required:!0,type:"integer"}},url:"/repos/:owner/:repo/actions/runs/:run_id/logs"},listWorkflowRuns:{method:"GET",params:{actor:{type:"string"},branch:{type:"string"},event:{type:"string"},owner:{required:!0,type:"string"},page:{type:"integer"},per_page:{type:"integer"},repo:{required:!0,type:"string"},status:{enum:["completed","status","conclusion"],type:"string"},workflow_id:{required:!0,type:"integer"}},url:"/repos/:owner/:repo/actions/workflows/:workflow_id/runs"},reRunWorkflow:{method:"POST",params:{owner:{required:!0,type:"string"},repo:{required:!0,type:"string"},run_id:{required:!0,type:"integer"}},url:"/repos/:owner/:repo/actions/runs/:run_id/rerun"},removeSelfHostedRunner:{method:"DELETE",params:{owner:{required:!0,type:"string"},repo:{required:!0,type:"string"},runner_id:{required:!0,type:"integer"}},url:"/repos/:owner/:repo/actions/runners/:runner_id"}},activity:{checkStarringRepo:{method:"GET",params:{owner:{required:!0,type:"string"},repo:{required:!0,type:"string"}},url:"/user/starred/:owner/:repo"},deleteRepoSubscription:{method:"DELETE",params:{owner:{required:!0,type:"string"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/subscription"},deleteThreadSubscription:{method:"DELETE",params:{thread_id:{required:!0,type:"integer"}},url:"/notifications/threads/:thread_id/subscription"},getRepoSubscription:{method:"GET",params:{owner:{required:!0,type:"string"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/subscription"},getThread:{method:"GET",params:{thread_id:{required:!0,type:"integer"}},url:"/notifications/threads/:thread_id"},getThreadSubscription:{method:"GET",params:{thread_id:{required:!0,type:"integer"}},url:"/notifications/threads/:thread_id/subscription"},listEventsForOrg:{method:"GET",params:{org:{required:!0,type:"string"},page:{type:"integer"},per_page:{type:"integer"},username:{required:!0,type:"string"}},url:"/users/:username/events/orgs/:org"},listEventsForUser:{method:"GET",params:{page:{type:"integer"},per_page:{type:"integer"},username:{required:!0,type:"string"}},url:"/users/:username/events"},listFeeds:{method:"GET",params:{},url:"/feeds"},listNotifications:{method:"GET",params:{all:{type:"boolean"},before:{type:"string"},page:{type:"integer"},participating:{type:"boolean"},per_page:{type:"integer"},since:{type:"string"}},url:"/notifications"},listNotificationsForRepo:{method:"GET",params:{all:{type:"boolean"},before:{type:"string"},owner:{required:!0,type:"string"},page:{type:"integer"},participating:{type:"boolean"},per_page:{type:"integer"},repo:{required:!0,type:"string"},since:{type:"string"}},url:"/repos/:owner/:repo/notifications"},listPublicEvents:{method:"GET",params:{page:{type:"integer"},per_page:{type:"integer"}},url:"/events"},listPublicEventsForOrg:{method:"GET",params:{org:{required:!0,type:"string"},page:{type:"integer"},per_page:{type:"integer"}},url:"/orgs/:org/events"},listPublicEventsForRepoNetwork:{method:"GET",params:{owner:{required:!0,type:"string"},page:{type:"integer"},per_page:{type:"integer"},repo:{required:!0,type:"string"}},url:"/networks/:owner/:repo/events"},listPublicEventsForUser:{method:"GET",params:{page:{type:"integer"},per_page:{type:"integer"},username:{required:!0,type:"string"}},url:"/users/:username/events/public"},listReceivedEventsForUser:{method:"GET",params:{page:{type:"integer"},per_page:{type:"integer"},username:{required:!0,type:"string"}},url:"/users/:username/received_events"},listReceivedPublicEventsForUser:{method:"GET",params:{page:{type:"integer"},per_page:{type:"integer"},username:{required:!0,type:"string"}},url:"/users/:username/received_events/public"},listRepoEvents:{method:"GET",params:{owner:{required:!0,type:"string"},page:{type:"integer"},per_page:{type:"integer"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/events"},listReposStarredByAuthenticatedUser:{method:"GET",params:{direction:{enum:["asc","desc"],type:"string"},page:{type:"integer"},per_page:{type:"integer"},sort:{enum:["created","updated"],type:"string"}},url:"/user/starred"},listReposStarredByUser:{method:"GET",params:{direction:{enum:["asc","desc"],type:"string"},page:{type:"integer"},per_page:{type:"integer"},sort:{enum:["created","updated"],type:"string"},username:{required:!0,type:"string"}},url:"/users/:username/starred"},listReposWatchedByUser:{method:"GET",params:{page:{type:"integer"},per_page:{type:"integer"},username:{required:!0,type:"string"}},url:"/users/:username/subscriptions"},listStargazersForRepo:{method:"GET",params:{owner:{required:!0,type:"string"},page:{type:"integer"},per_page:{type:"integer"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/stargazers"},listWatchedReposForAuthenticatedUser:{method:"GET",params:{page:{type:"integer"},per_page:{type:"integer"}},url:"/user/subscriptions"},listWatchersForRepo:{method:"GET",params:{owner:{required:!0,type:"string"},page:{type:"integer"},per_page:{type:"integer"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/subscribers"},markAsRead:{method:"PUT",params:{last_read_at:{type:"string"}},url:"/notifications"},markNotificationsAsReadForRepo:{method:"PUT",params:{last_read_at:{type:"string"},owner:{required:!0,type:"string"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/notifications"},markThreadAsRead:{method:"PATCH",params:{thread_id:{required:!0,type:"integer"}},url:"/notifications/threads/:thread_id"},setRepoSubscription:{method:"PUT",params:{ignored:{type:"boolean"},owner:{required:!0,type:"string"},repo:{required:!0,type:"string"},subscribed:{type:"boolean"}},url:"/repos/:owner/:repo/subscription"},setThreadSubscription:{method:"PUT",params:{ignored:{type:"boolean"},thread_id:{required:!0,type:"integer"}},url:"/notifications/threads/:thread_id/subscription"},starRepo:{method:"PUT",params:{owner:{required:!0,type:"string"},repo:{required:!0,type:"string"}},url:"/user/starred/:owner/:repo"},unstarRepo:{method:"DELETE",params:{owner:{required:!0,type:"string"},repo:{required:!0,type:"string"}},url:"/user/starred/:owner/:repo"}},apps:{addRepoToInstallation:{headers:{accept:"application/vnd.github.machine-man-preview+json"},method:"PUT",params:{installation_id:{required:!0,type:"integer"},repository_id:{required:!0,type:"integer"}},url:"/user/installations/:installation_id/repositories/:repository_id"},checkAccountIsAssociatedWithAny:{method:"GET",params:{account_id:{required:!0,type:"integer"}},url:"/marketplace_listing/accounts/:account_id"},checkAccountIsAssociatedWithAnyStubbed:{method:"GET",params:{account_id:{required:!0,type:"integer"}},url:"/marketplace_listing/stubbed/accounts/:account_id"},checkAuthorization:{deprecated:"octokit.apps.checkAuthorization() is deprecated, see https://developer.github.com/v3/apps/oauth_applications/#check-an-authorization",method:"GET",params:{access_token:{required:!0,type:"string"},client_id:{required:!0,type:"string"}},url:"/applications/:client_id/tokens/:access_token"},checkToken:{headers:{accept:"application/vnd.github.doctor-strange-preview+json"},method:"POST",params:{access_token:{type:"string"},client_id:{required:!0,type:"string"}},url:"/applications/:client_id/token"},createContentAttachment:{headers:{accept:"application/vnd.github.corsair-preview+json"},method:"POST",params:{body:{required:!0,type:"string"},content_reference_id:{required:!0,type:"integer"},title:{required:!0,type:"string"}},url:"/content_references/:content_reference_id/attachments"},createFromManifest:{headers:{accept:"application/vnd.github.fury-preview+json"},method:"POST",params:{code:{required:!0,type:"string"}},url:"/app-manifests/:code/conversions"},createInstallationToken:{headers:{accept:"application/vnd.github.machine-man-preview+json"},method:"POST",params:{installation_id:{required:!0,type:"integer"},permissions:{type:"object"},repository_ids:{type:"integer[]"}},url:"/app/installations/:installation_id/access_tokens"},deleteAuthorization:{headers:{accept:"application/vnd.github.doctor-strange-preview+json"},method:"DELETE",params:{access_token:{type:"string"},client_id:{required:!0,type:"string"}},url:"/applications/:client_id/grant"},deleteInstallation:{headers:{accept:"application/vnd.github.gambit-preview+json,application/vnd.github.machine-man-preview+json"},method:"DELETE",params:{installation_id:{required:!0,type:"integer"}},url:"/app/installations/:installation_id"},deleteToken:{headers:{accept:"application/vnd.github.doctor-strange-preview+json"},method:"DELETE",params:{access_token:{type:"string"},client_id:{required:!0,type:"string"}},url:"/applications/:client_id/token"},findOrgInstallation:{deprecated:"octokit.apps.findOrgInstallation() has been renamed to octokit.apps.getOrgInstallation() (2019-04-10)",headers:{accept:"application/vnd.github.machine-man-preview+json"},method:"GET",params:{org:{required:!0,type:"string"}},url:"/orgs/:org/installation"},findRepoInstallation:{deprecated:"octokit.apps.findRepoInstallation() has been renamed to octokit.apps.getRepoInstallation() (2019-04-10)",headers:{accept:"application/vnd.github.machine-man-preview+json"},method:"GET",params:{owner:{required:!0,type:"string"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/installation"},findUserInstallation:{deprecated:"octokit.apps.findUserInstallation() has been renamed to octokit.apps.getUserInstallation() (2019-04-10)",headers:{accept:"application/vnd.github.machine-man-preview+json"},method:"GET",params:{username:{required:!0,type:"string"}},url:"/users/:username/installation"},getAuthenticated:{headers:{accept:"application/vnd.github.machine-man-preview+json"},method:"GET",params:{},url:"/app"},getBySlug:{headers:{accept:"application/vnd.github.machine-man-preview+json"},method:"GET",params:{app_slug:{required:!0,type:"string"}},url:"/apps/:app_slug"},getInstallation:{headers:{accept:"application/vnd.github.machine-man-preview+json"},method:"GET",params:{installation_id:{required:!0,type:"integer"}},url:"/app/installations/:installation_id"},getOrgInstallation:{headers:{accept:"application/vnd.github.machine-man-preview+json"},method:"GET",params:{org:{required:!0,type:"string"}},url:"/orgs/:org/installation"},getRepoInstallation:{headers:{accept:"application/vnd.github.machine-man-preview+json"},method:"GET",params:{owner:{required:!0,type:"string"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/installation"},getUserInstallation:{headers:{accept:"application/vnd.github.machine-man-preview+json"},method:"GET",params:{username:{required:!0,type:"string"}},url:"/users/:username/installation"},listAccountsUserOrOrgOnPlan:{method:"GET",params:{direction:{enum:["asc","desc"],type:"string"},page:{type:"integer"},per_page:{type:"integer"},plan_id:{required:!0,type:"integer"},sort:{enum:["created","updated"],type:"string"}},url:"/marketplace_listing/plans/:plan_id/accounts"},listAccountsUserOrOrgOnPlanStubbed:{method:"GET",params:{direction:{enum:["asc","desc"],type:"string"},page:{type:"integer"},per_page:{type:"integer"},plan_id:{required:!0,type:"integer"},sort:{enum:["created","updated"],type:"string"}},url:"/marketplace_listing/stubbed/plans/:plan_id/accounts"},listInstallationReposForAuthenticatedUser:{headers:{accept:"application/vnd.github.machine-man-preview+json"},method:"GET",params:{installation_id:{required:!0,type:"integer"},page:{type:"integer"},per_page:{type:"integer"}},url:"/user/installations/:installation_id/repositories"},listInstallations:{headers:{accept:"application/vnd.github.machine-man-preview+json"},method:"GET",params:{page:{type:"integer"},per_page:{type:"integer"}},url:"/app/installations"},listInstallationsForAuthenticatedUser:{headers:{accept:"application/vnd.github.machine-man-preview+json"},method:"GET",params:{page:{type:"integer"},per_page:{type:"integer"}},url:"/user/installations"},listMarketplacePurchasesForAuthenticatedUser:{method:"GET",params:{page:{type:"integer"},per_page:{type:"integer"}},url:"/user/marketplace_purchases"},listMarketplacePurchasesForAuthenticatedUserStubbed:{method:"GET",params:{page:{type:"integer"},per_page:{type:"integer"}},url:"/user/marketplace_purchases/stubbed"},listPlans:{method:"GET",params:{page:{type:"integer"},per_page:{type:"integer"}},url:"/marketplace_listing/plans"},listPlansStubbed:{method:"GET",params:{page:{type:"integer"},per_page:{type:"integer"}},url:"/marketplace_listing/stubbed/plans"},listRepos:{headers:{accept:"application/vnd.github.machine-man-preview+json"},method:"GET",params:{page:{type:"integer"},per_page:{type:"integer"}},url:"/installation/repositories"},removeRepoFromInstallation:{headers:{accept:"application/vnd.github.machine-man-preview+json"},method:"DELETE",params:{installation_id:{required:!0,type:"integer"},repository_id:{required:!0,type:"integer"}},url:"/user/installations/:installation_id/repositories/:repository_id"},resetAuthorization:{deprecated:"octokit.apps.resetAuthorization() is deprecated, see https://developer.github.com/v3/apps/oauth_applications/#reset-an-authorization",method:"POST",params:{access_token:{required:!0,type:"string"},client_id:{required:!0,type:"string"}},url:"/applications/:client_id/tokens/:access_token"},resetToken:{headers:{accept:"application/vnd.github.doctor-strange-preview+json"},method:"PATCH",params:{access_token:{type:"string"},client_id:{required:!0,type:"string"}},url:"/applications/:client_id/token"},revokeAuthorizationForApplication:{deprecated:"octokit.apps.revokeAuthorizationForApplication() is deprecated, see https://developer.github.com/v3/apps/oauth_applications/#revoke-an-authorization-for-an-application",method:"DELETE",params:{access_token:{required:!0,type:"string"},client_id:{required:!0,type:"string"}},url:"/applications/:client_id/tokens/:access_token"},revokeGrantForApplication:{deprecated:"octokit.apps.revokeGrantForApplication() is deprecated, see https://developer.github.com/v3/apps/oauth_applications/#revoke-a-grant-for-an-application",method:"DELETE",params:{access_token:{required:!0,type:"string"},client_id:{required:!0,type:"string"}},url:"/applications/:client_id/grants/:access_token"},revokeInstallationToken:{headers:{accept:"application/vnd.github.gambit-preview+json"},method:"DELETE",params:{},url:"/installation/token"}},checks:{create:{headers:{accept:"application/vnd.github.antiope-preview+json"},method:"POST",params:{actions:{type:"object[]"},"actions[].description":{required:!0,type:"string"},"actions[].identifier":{required:!0,type:"string"},"actions[].label":{required:!0,type:"string"},completed_at:{type:"string"},conclusion:{enum:["success","failure","neutral","cancelled","timed_out","action_required"],type:"string"},details_url:{type:"string"},external_id:{type:"string"},head_sha:{required:!0,type:"string"},name:{required:!0,type:"string"},output:{type:"object"},"output.annotations":{type:"object[]"},"output.annotations[].annotation_level":{enum:["notice","warning","failure"],required:!0,type:"string"},"output.annotations[].end_column":{type:"integer"},"output.annotations[].end_line":{required:!0,type:"integer"},"output.annotations[].message":{required:!0,type:"string"},"output.annotations[].path":{required:!0,type:"string"},"output.annotations[].raw_details":{type:"string"},"output.annotations[].start_column":{type:"integer"},"output.annotations[].start_line":{required:!0,type:"integer"},"output.annotations[].title":{type:"string"},"output.images":{type:"object[]"},"output.images[].alt":{required:!0,type:"string"},"output.images[].caption":{type:"string"},"output.images[].image_url":{required:!0,type:"string"},"output.summary":{required:!0,type:"string"},"output.text":{type:"string"},"output.title":{required:!0,type:"string"},owner:{required:!0,type:"string"},repo:{required:!0,type:"string"},started_at:{type:"string"},status:{enum:["queued","in_progress","completed"],type:"string"}},url:"/repos/:owner/:repo/check-runs"},createSuite:{headers:{accept:"application/vnd.github.antiope-preview+json"},method:"POST",params:{head_sha:{required:!0,type:"string"},owner:{required:!0,type:"string"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/check-suites"},get:{headers:{accept:"application/vnd.github.antiope-preview+json"},method:"GET",params:{check_run_id:{required:!0,type:"integer"},owner:{required:!0,type:"string"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/check-runs/:check_run_id"},getSuite:{headers:{accept:"application/vnd.github.antiope-preview+json"},method:"GET",params:{check_suite_id:{required:!0,type:"integer"},owner:{required:!0,type:"string"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/check-suites/:check_suite_id"},listAnnotations:{headers:{accept:"application/vnd.github.antiope-preview+json"},method:"GET",params:{check_run_id:{required:!0,type:"integer"},owner:{required:!0,type:"string"},page:{type:"integer"},per_page:{type:"integer"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/check-runs/:check_run_id/annotations"},listForRef:{headers:{accept:"application/vnd.github.antiope-preview+json"},method:"GET",params:{check_name:{type:"string"},filter:{enum:["latest","all"],type:"string"},owner:{required:!0,type:"string"},page:{type:"integer"},per_page:{type:"integer"},ref:{required:!0,type:"string"},repo:{required:!0,type:"string"},status:{enum:["queued","in_progress","completed"],type:"string"}},url:"/repos/:owner/:repo/commits/:ref/check-runs"},listForSuite:{headers:{accept:"application/vnd.github.antiope-preview+json"},method:"GET",params:{check_name:{type:"string"},check_suite_id:{required:!0,type:"integer"},filter:{enum:["latest","all"],type:"string"},owner:{required:!0,type:"string"},page:{type:"integer"},per_page:{type:"integer"},repo:{required:!0,type:"string"},status:{enum:["queued","in_progress","completed"],type:"string"}},url:"/repos/:owner/:repo/check-suites/:check_suite_id/check-runs"},listSuitesForRef:{headers:{accept:"application/vnd.github.antiope-preview+json"},method:"GET",params:{app_id:{type:"integer"},check_name:{type:"string"},owner:{required:!0,type:"string"},page:{type:"integer"},per_page:{type:"integer"},ref:{required:!0,type:"string"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/commits/:ref/check-suites"},rerequestSuite:{headers:{accept:"application/vnd.github.antiope-preview+json"},method:"POST",params:{check_suite_id:{required:!0,type:"integer"},owner:{required:!0,type:"string"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/check-suites/:check_suite_id/rerequest"},setSuitesPreferences:{headers:{accept:"application/vnd.github.antiope-preview+json"},method:"PATCH",params:{auto_trigger_checks:{type:"object[]"},"auto_trigger_checks[].app_id":{required:!0,type:"integer"},"auto_trigger_checks[].setting":{required:!0,type:"boolean"},owner:{required:!0,type:"string"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/check-suites/preferences"},update:{headers:{accept:"application/vnd.github.antiope-preview+json"},method:"PATCH",params:{actions:{type:"object[]"},"actions[].description":{required:!0,type:"string"},"actions[].identifier":{required:!0,type:"string"},"actions[].label":{required:!0,type:"string"},check_run_id:{required:!0,type:"integer"},completed_at:{type:"string"},conclusion:{enum:["success","failure","neutral","cancelled","timed_out","action_required"],type:"string"},details_url:{type:"string"},external_id:{type:"string"},name:{type:"string"},output:{type:"object"},"output.annotations":{type:"object[]"},"output.annotations[].annotation_level":{enum:["notice","warning","failure"],required:!0,type:"string"},"output.annotations[].end_column":{type:"integer"},"output.annotations[].end_line":{required:!0,type:"integer"},"output.annotations[].message":{required:!0,type:"string"},"output.annotations[].path":{required:!0,type:"string"},"output.annotations[].raw_details":{type:"string"},"output.annotations[].start_column":{type:"integer"},"output.annotations[].start_line":{required:!0,type:"integer"},"output.annotations[].title":{type:"string"},"output.images":{type:"object[]"},"output.images[].alt":{required:!0,type:"string"},"output.images[].caption":{type:"string"},"output.images[].image_url":{required:!0,type:"string"},"output.summary":{required:!0,type:"string"},"output.text":{type:"string"},"output.title":{type:"string"},owner:{required:!0,type:"string"},repo:{required:!0,type:"string"},started_at:{type:"string"},status:{enum:["queued","in_progress","completed"],type:"string"}},url:"/repos/:owner/:repo/check-runs/:check_run_id"}},codesOfConduct:{getConductCode:{headers:{accept:"application/vnd.github.scarlet-witch-preview+json"},method:"GET",params:{key:{required:!0,type:"string"}},url:"/codes_of_conduct/:key"},getForRepo:{headers:{accept:"application/vnd.github.scarlet-witch-preview+json"},method:"GET",params:{owner:{required:!0,type:"string"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/community/code_of_conduct"},listConductCodes:{headers:{accept:"application/vnd.github.scarlet-witch-preview+json"},method:"GET",params:{},url:"/codes_of_conduct"}},emojis:{get:{method:"GET",params:{},url:"/emojis"}},gists:{checkIsStarred:{method:"GET",params:{gist_id:{required:!0,type:"string"}},url:"/gists/:gist_id/star"},create:{method:"POST",params:{description:{type:"string"},files:{required:!0,type:"object"},"files.content":{type:"string"},public:{type:"boolean"}},url:"/gists"},createComment:{method:"POST",params:{body:{required:!0,type:"string"},gist_id:{required:!0,type:"string"}},url:"/gists/:gist_id/comments"},delete:{method:"DELETE",params:{gist_id:{required:!0,type:"string"}},url:"/gists/:gist_id"},deleteComment:{method:"DELETE",params:{comment_id:{required:!0,type:"integer"},gist_id:{required:!0,type:"string"}},url:"/gists/:gist_id/comments/:comment_id"},fork:{method:"POST",params:{gist_id:{required:!0,type:"string"}},url:"/gists/:gist_id/forks"},get:{method:"GET",params:{gist_id:{required:!0,type:"string"}},url:"/gists/:gist_id"},getComment:{method:"GET",params:{comment_id:{required:!0,type:"integer"},gist_id:{required:!0,type:"string"}},url:"/gists/:gist_id/comments/:comment_id"},getRevision:{method:"GET",params:{gist_id:{required:!0,type:"string"},sha:{required:!0,type:"string"}},url:"/gists/:gist_id/:sha"},list:{method:"GET",params:{page:{type:"integer"},per_page:{type:"integer"},since:{type:"string"}},url:"/gists"},listComments:{method:"GET",params:{gist_id:{required:!0,type:"string"},page:{type:"integer"},per_page:{type:"integer"}},url:"/gists/:gist_id/comments"},listCommits:{method:"GET",params:{gist_id:{required:!0,type:"string"},page:{type:"integer"},per_page:{type:"integer"}},url:"/gists/:gist_id/commits"},listForks:{method:"GET",params:{gist_id:{required:!0,type:"string"},page:{type:"integer"},per_page:{type:"integer"}},url:"/gists/:gist_id/forks"},listPublic:{method:"GET",params:{page:{type:"integer"},per_page:{type:"integer"},since:{type:"string"}},url:"/gists/public"},listPublicForUser:{method:"GET",params:{page:{type:"integer"},per_page:{type:"integer"},since:{type:"string"},username:{required:!0,type:"string"}},url:"/users/:username/gists"},listStarred:{method:"GET",params:{page:{type:"integer"},per_page:{type:"integer"},since:{type:"string"}},url:"/gists/starred"},star:{method:"PUT",params:{gist_id:{required:!0,type:"string"}},url:"/gists/:gist_id/star"},unstar:{method:"DELETE",params:{gist_id:{required:!0,type:"string"}},url:"/gists/:gist_id/star"},update:{method:"PATCH",params:{description:{type:"string"},files:{type:"object"},"files.content":{type:"string"},"files.filename":{type:"string"},gist_id:{required:!0,type:"string"}},url:"/gists/:gist_id"},updateComment:{method:"PATCH",params:{body:{required:!0,type:"string"},comment_id:{required:!0,type:"integer"},gist_id:{required:!0,type:"string"}},url:"/gists/:gist_id/comments/:comment_id"}},git:{createBlob:{method:"POST",params:{content:{required:!0,type:"string"},encoding:{type:"string"},owner:{required:!0,type:"string"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/git/blobs"},createCommit:{method:"POST",params:{author:{type:"object"},"author.date":{type:"string"},"author.email":{type:"string"},"author.name":{type:"string"},committer:{type:"object"},"committer.date":{type:"string"},"committer.email":{type:"string"},"committer.name":{type:"string"},message:{required:!0,type:"string"},owner:{required:!0,type:"string"},parents:{required:!0,type:"string[]"},repo:{required:!0,type:"string"},signature:{type:"string"},tree:{required:!0,type:"string"}},url:"/repos/:owner/:repo/git/commits"},createRef:{method:"POST",params:{owner:{required:!0,type:"string"},ref:{required:!0,type:"string"},repo:{required:!0,type:"string"},sha:{required:!0,type:"string"}},url:"/repos/:owner/:repo/git/refs"},createTag:{method:"POST",params:{message:{required:!0,type:"string"},object:{required:!0,type:"string"},owner:{required:!0,type:"string"},repo:{required:!0,type:"string"},tag:{required:!0,type:"string"},tagger:{type:"object"},"tagger.date":{type:"string"},"tagger.email":{type:"string"},"tagger.name":{type:"string"},type:{enum:["commit","tree","blob"],required:!0,type:"string"}},url:"/repos/:owner/:repo/git/tags"},createTree:{method:"POST",params:{base_tree:{type:"string"},owner:{required:!0,type:"string"},repo:{required:!0,type:"string"},tree:{required:!0,type:"object[]"},"tree[].content":{type:"string"},"tree[].mode":{enum:["100644","100755","040000","160000","120000"],type:"string"},"tree[].path":{type:"string"},"tree[].sha":{allowNull:!0,type:"string"},"tree[].type":{enum:["blob","tree","commit"],type:"string"}},url:"/repos/:owner/:repo/git/trees"},deleteRef:{method:"DELETE",params:{owner:{required:!0,type:"string"},ref:{required:!0,type:"string"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/git/refs/:ref"},getBlob:{method:"GET",params:{file_sha:{required:!0,type:"string"},owner:{required:!0,type:"string"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/git/blobs/:file_sha"},getCommit:{method:"GET",params:{commit_sha:{required:!0,type:"string"},owner:{required:!0,type:"string"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/git/commits/:commit_sha"},getRef:{method:"GET",params:{owner:{required:!0,type:"string"},ref:{required:!0,type:"string"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/git/ref/:ref"},getTag:{method:"GET",params:{owner:{required:!0,type:"string"},repo:{required:!0,type:"string"},tag_sha:{required:!0,type:"string"}},url:"/repos/:owner/:repo/git/tags/:tag_sha"},getTree:{method:"GET",params:{owner:{required:!0,type:"string"},recursive:{enum:["1"],type:"integer"},repo:{required:!0,type:"string"},tree_sha:{required:!0,type:"string"}},url:"/repos/:owner/:repo/git/trees/:tree_sha"},listMatchingRefs:{method:"GET",params:{owner:{required:!0,type:"string"},page:{type:"integer"},per_page:{type:"integer"},ref:{required:!0,type:"string"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/git/matching-refs/:ref"},listRefs:{method:"GET",params:{namespace:{type:"string"},owner:{required:!0,type:"string"},page:{type:"integer"},per_page:{type:"integer"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/git/refs/:namespace"},updateRef:{method:"PATCH",params:{force:{type:"boolean"},owner:{required:!0,type:"string"},ref:{required:!0,type:"string"},repo:{required:!0,type:"string"},sha:{required:!0,type:"string"}},url:"/repos/:owner/:repo/git/refs/:ref"}},gitignore:{getTemplate:{method:"GET",params:{name:{required:!0,type:"string"}},url:"/gitignore/templates/:name"},listTemplates:{method:"GET",params:{},url:"/gitignore/templates"}},interactions:{addOrUpdateRestrictionsForOrg:{headers:{accept:"application/vnd.github.sombra-preview+json"},method:"PUT",params:{limit:{enum:["existing_users","contributors_only","collaborators_only"],required:!0,type:"string"},org:{required:!0,type:"string"}},url:"/orgs/:org/interaction-limits"},addOrUpdateRestrictionsForRepo:{headers:{accept:"application/vnd.github.sombra-preview+json"},method:"PUT",params:{limit:{enum:["existing_users","contributors_only","collaborators_only"],required:!0,type:"string"},owner:{required:!0,type:"string"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/interaction-limits"},getRestrictionsForOrg:{headers:{accept:"application/vnd.github.sombra-preview+json"},method:"GET",params:{org:{required:!0,type:"string"}},url:"/orgs/:org/interaction-limits"},getRestrictionsForRepo:{headers:{accept:"application/vnd.github.sombra-preview+json"},method:"GET",params:{owner:{required:!0,type:"string"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/interaction-limits"},removeRestrictionsForOrg:{headers:{accept:"application/vnd.github.sombra-preview+json"},method:"DELETE",params:{org:{required:!0,type:"string"}},url:"/orgs/:org/interaction-limits"},removeRestrictionsForRepo:{headers:{accept:"application/vnd.github.sombra-preview+json"},method:"DELETE",params:{owner:{required:!0,type:"string"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/interaction-limits"}},issues:{addAssignees:{method:"POST",params:{assignees:{type:"string[]"},issue_number:{required:!0,type:"integer"},number:{alias:"issue_number",deprecated:!0,type:"integer"},owner:{required:!0,type:"string"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/issues/:issue_number/assignees"},addLabels:{method:"POST",params:{issue_number:{required:!0,type:"integer"},labels:{required:!0,type:"string[]"},number:{alias:"issue_number",deprecated:!0,type:"integer"},owner:{required:!0,type:"string"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/issues/:issue_number/labels"},checkAssignee:{method:"GET",params:{assignee:{required:!0,type:"string"},owner:{required:!0,type:"string"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/assignees/:assignee"},create:{method:"POST",params:{assignee:{type:"string"},assignees:{type:"string[]"},body:{type:"string"},labels:{type:"string[]"},milestone:{type:"integer"},owner:{required:!0,type:"string"},repo:{required:!0,type:"string"},title:{required:!0,type:"string"}},url:"/repos/:owner/:repo/issues"},createComment:{method:"POST",params:{body:{required:!0,type:"string"},issue_number:{required:!0,type:"integer"},number:{alias:"issue_number",deprecated:!0,type:"integer"},owner:{required:!0,type:"string"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/issues/:issue_number/comments"},createLabel:{method:"POST",params:{color:{required:!0,type:"string"},description:{type:"string"},name:{required:!0,type:"string"},owner:{required:!0,type:"string"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/labels"},createMilestone:{method:"POST",params:{description:{type:"string"},due_on:{type:"string"},owner:{required:!0,type:"string"},repo:{required:!0,type:"string"},state:{enum:["open","closed"],type:"string"},title:{required:!0,type:"string"}},url:"/repos/:owner/:repo/milestones"},deleteComment:{method:"DELETE",params:{comment_id:{required:!0,type:"integer"},owner:{required:!0,type:"string"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/issues/comments/:comment_id"},deleteLabel:{method:"DELETE",params:{name:{required:!0,type:"string"},owner:{required:!0,type:"string"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/labels/:name"},deleteMilestone:{method:"DELETE",params:{milestone_number:{required:!0,type:"integer"},number:{alias:"milestone_number",deprecated:!0,type:"integer"},owner:{required:!0,type:"string"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/milestones/:milestone_number"},get:{method:"GET",params:{issue_number:{required:!0,type:"integer"},number:{alias:"issue_number",deprecated:!0,type:"integer"},owner:{required:!0,type:"string"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/issues/:issue_number"},getComment:{method:"GET",params:{comment_id:{required:!0,type:"integer"},owner:{required:!0,type:"string"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/issues/comments/:comment_id"},getEvent:{method:"GET",params:{event_id:{required:!0,type:"integer"},owner:{required:!0,type:"string"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/issues/events/:event_id"},getLabel:{method:"GET",params:{name:{required:!0,type:"string"},owner:{required:!0,type:"string"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/labels/:name"},getMilestone:{method:"GET",params:{milestone_number:{required:!0,type:"integer"},number:{alias:"milestone_number",deprecated:!0,type:"integer"},owner:{required:!0,type:"string"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/milestones/:milestone_number"},list:{method:"GET",params:{direction:{enum:["asc","desc"],type:"string"},filter:{enum:["assigned","created","mentioned","subscribed","all"],type:"string"},labels:{type:"string"},page:{type:"integer"},per_page:{type:"integer"},since:{type:"string"},sort:{enum:["created","updated","comments"],type:"string"},state:{enum:["open","closed","all"],type:"string"}},url:"/issues"},listAssignees:{method:"GET",params:{owner:{required:!0,type:"string"},page:{type:"integer"},per_page:{type:"integer"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/assignees"},listComments:{method:"GET",params:{issue_number:{required:!0,type:"integer"},number:{alias:"issue_number",deprecated:!0,type:"integer"},owner:{required:!0,type:"string"},page:{type:"integer"},per_page:{type:"integer"},repo:{required:!0,type:"string"},since:{type:"string"}},url:"/repos/:owner/:repo/issues/:issue_number/comments"},listCommentsForRepo:{method:"GET",params:{direction:{enum:["asc","desc"],type:"string"},owner:{required:!0,type:"string"},repo:{required:!0,type:"string"},since:{type:"string"},sort:{enum:["created","updated"],type:"string"}},url:"/repos/:owner/:repo/issues/comments"},listEvents:{method:"GET",params:{issue_number:{required:!0,type:"integer"},number:{alias:"issue_number",deprecated:!0,type:"integer"},owner:{required:!0,type:"string"},page:{type:"integer"},per_page:{type:"integer"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/issues/:issue_number/events"},listEventsForRepo:{method:"GET",params:{owner:{required:!0,type:"string"},page:{type:"integer"},per_page:{type:"integer"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/issues/events"},listEventsForTimeline:{headers:{accept:"application/vnd.github.mockingbird-preview+json"},method:"GET",params:{issue_number:{required:!0,type:"integer"},number:{alias:"issue_number",deprecated:!0,type:"integer"},owner:{required:!0,type:"string"},page:{type:"integer"},per_page:{type:"integer"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/issues/:issue_number/timeline"},listForAuthenticatedUser:{method:"GET",params:{direction:{enum:["asc","desc"],type:"string"},filter:{enum:["assigned","created","mentioned","subscribed","all"],type:"string"},labels:{type:"string"},page:{type:"integer"},per_page:{type:"integer"},since:{type:"string"},sort:{enum:["created","updated","comments"],type:"string"},state:{enum:["open","closed","all"],type:"string"}},url:"/user/issues"},listForOrg:{method:"GET",params:{direction:{enum:["asc","desc"],type:"string"},filter:{enum:["assigned","created","mentioned","subscribed","all"],type:"string"},labels:{type:"string"},org:{required:!0,type:"string"},page:{type:"integer"},per_page:{type:"integer"},since:{type:"string"},sort:{enum:["created","updated","comments"],type:"string"},state:{enum:["open","closed","all"],type:"string"}},url:"/orgs/:org/issues"},listForRepo:{method:"GET",params:{assignee:{type:"string"},creator:{type:"string"},direction:{enum:["asc","desc"],type:"string"},labels:{type:"string"},mentioned:{type:"string"},milestone:{type:"string"},owner:{required:!0,type:"string"},page:{type:"integer"},per_page:{type:"integer"},repo:{required:!0,type:"string"},since:{type:"string"},sort:{enum:["created","updated","comments"],type:"string"},state:{enum:["open","closed","all"],type:"string"}},url:"/repos/:owner/:repo/issues"},listLabelsForMilestone:{method:"GET",params:{milestone_number:{required:!0,type:"integer"},number:{alias:"milestone_number",deprecated:!0,type:"integer"},owner:{required:!0,type:"string"},page:{type:"integer"},per_page:{type:"integer"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/milestones/:milestone_number/labels"},listLabelsForRepo:{method:"GET",params:{owner:{required:!0,type:"string"},page:{type:"integer"},per_page:{type:"integer"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/labels"},listLabelsOnIssue:{method:"GET",params:{issue_number:{required:!0,type:"integer"},number:{alias:"issue_number",deprecated:!0,type:"integer"},owner:{required:!0,type:"string"},page:{type:"integer"},per_page:{type:"integer"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/issues/:issue_number/labels"},listMilestonesForRepo:{method:"GET",params:{direction:{enum:["asc","desc"],type:"string"},owner:{required:!0,type:"string"},page:{type:"integer"},per_page:{type:"integer"},repo:{required:!0,type:"string"},sort:{enum:["due_on","completeness"],type:"string"},state:{enum:["open","closed","all"],type:"string"}},url:"/repos/:owner/:repo/milestones"},lock:{method:"PUT",params:{issue_number:{required:!0,type:"integer"},lock_reason:{enum:["off-topic","too heated","resolved","spam"],type:"string"},number:{alias:"issue_number",deprecated:!0,type:"integer"},owner:{required:!0,type:"string"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/issues/:issue_number/lock"},removeAssignees:{method:"DELETE",params:{assignees:{type:"string[]"},issue_number:{required:!0,type:"integer"},number:{alias:"issue_number",deprecated:!0,type:"integer"},owner:{required:!0,type:"string"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/issues/:issue_number/assignees"},removeLabel:{method:"DELETE",params:{issue_number:{required:!0,type:"integer"},name:{required:!0,type:"string"},number:{alias:"issue_number",deprecated:!0,type:"integer"},owner:{required:!0,type:"string"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/issues/:issue_number/labels/:name"},removeLabels:{method:"DELETE",params:{issue_number:{required:!0,type:"integer"},number:{alias:"issue_number",deprecated:!0,type:"integer"},owner:{required:!0,type:"string"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/issues/:issue_number/labels"},replaceLabels:{method:"PUT",params:{issue_number:{required:!0,type:"integer"},labels:{type:"string[]"},number:{alias:"issue_number",deprecated:!0,type:"integer"},owner:{required:!0,type:"string"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/issues/:issue_number/labels"},unlock:{method:"DELETE",params:{issue_number:{required:!0,type:"integer"},number:{alias:"issue_number",deprecated:!0,type:"integer"},owner:{required:!0,type:"string"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/issues/:issue_number/lock"},update:{method:"PATCH",params:{assignee:{type:"string"},assignees:{type:"string[]"},body:{type:"string"},issue_number:{required:!0,type:"integer"},labels:{type:"string[]"},milestone:{allowNull:!0,type:"integer"},number:{alias:"issue_number",deprecated:!0,type:"integer"},owner:{required:!0,type:"string"},repo:{required:!0,type:"string"},state:{enum:["open","closed"],type:"string"},title:{type:"string"}},url:"/repos/:owner/:repo/issues/:issue_number"},updateComment:{method:"PATCH",params:{body:{required:!0,type:"string"},comment_id:{required:!0,type:"integer"},owner:{required:!0,type:"string"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/issues/comments/:comment_id"},updateLabel:{method:"PATCH",params:{color:{type:"string"},current_name:{required:!0,type:"string"},description:{type:"string"},name:{type:"string"},owner:{required:!0,type:"string"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/labels/:current_name"},updateMilestone:{method:"PATCH",params:{description:{type:"string"},due_on:{type:"string"},milestone_number:{required:!0,type:"integer"},number:{alias:"milestone_number",deprecated:!0,type:"integer"},owner:{required:!0,type:"string"},repo:{required:!0,type:"string"},state:{enum:["open","closed"],type:"string"},title:{type:"string"}},url:"/repos/:owner/:repo/milestones/:milestone_number"}},licenses:{get:{method:"GET",params:{license:{required:!0,type:"string"}},url:"/licenses/:license"},getForRepo:{method:"GET",params:{owner:{required:!0,type:"string"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/license"},list:{deprecated:"octokit.licenses.list() has been renamed to octokit.licenses.listCommonlyUsed() (2019-03-05)",method:"GET",params:{},url:"/licenses"},listCommonlyUsed:{method:"GET",params:{},url:"/licenses"}},markdown:{render:{method:"POST",params:{context:{type:"string"},mode:{enum:["markdown","gfm"],type:"string"},text:{required:!0,type:"string"}},url:"/markdown"},renderRaw:{headers:{"content-type":"text/plain; charset=utf-8"},method:"POST",params:{data:{mapTo:"data",required:!0,type:"string"}},url:"/markdown/raw"}},meta:{get:{method:"GET",params:{},url:"/meta"}},migrations:{cancelImport:{method:"DELETE",params:{owner:{required:!0,type:"string"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/import"},deleteArchiveForAuthenticatedUser:{headers:{accept:"application/vnd.github.wyandotte-preview+json"},method:"DELETE",params:{migration_id:{required:!0,type:"integer"}},url:"/user/migrations/:migration_id/archive"},deleteArchiveForOrg:{headers:{accept:"application/vnd.github.wyandotte-preview+json"},method:"DELETE",params:{migration_id:{required:!0,type:"integer"},org:{required:!0,type:"string"}},url:"/orgs/:org/migrations/:migration_id/archive"},downloadArchiveForOrg:{headers:{accept:"application/vnd.github.wyandotte-preview+json"},method:"GET",params:{migration_id:{required:!0,type:"integer"},org:{required:!0,type:"string"}},url:"/orgs/:org/migrations/:migration_id/archive"},getArchiveForAuthenticatedUser:{headers:{accept:"application/vnd.github.wyandotte-preview+json"},method:"GET",params:{migration_id:{required:!0,type:"integer"}},url:"/user/migrations/:migration_id/archive"},getArchiveForOrg:{deprecated:"octokit.migrations.getArchiveForOrg() has been renamed to octokit.migrations.downloadArchiveForOrg() (2020-01-27)",headers:{accept:"application/vnd.github.wyandotte-preview+json"},method:"GET",params:{migration_id:{required:!0,type:"integer"},org:{required:!0,type:"string"}},url:"/orgs/:org/migrations/:migration_id/archive"},getCommitAuthors:{method:"GET",params:{owner:{required:!0,type:"string"},repo:{required:!0,type:"string"},since:{type:"string"}},url:"/repos/:owner/:repo/import/authors"},getImportProgress:{method:"GET",params:{owner:{required:!0,type:"string"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/import"},getLargeFiles:{method:"GET",params:{owner:{required:!0,type:"string"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/import/large_files"},getStatusForAuthenticatedUser:{headers:{accept:"application/vnd.github.wyandotte-preview+json"},method:"GET",params:{migration_id:{required:!0,type:"integer"}},url:"/user/migrations/:migration_id"},getStatusForOrg:{headers:{accept:"application/vnd.github.wyandotte-preview+json"},method:"GET",params:{migration_id:{required:!0,type:"integer"},org:{required:!0,type:"string"}},url:"/orgs/:org/migrations/:migration_id"},listForAuthenticatedUser:{headers:{accept:"application/vnd.github.wyandotte-preview+json"},method:"GET",params:{page:{type:"integer"},per_page:{type:"integer"}},url:"/user/migrations"},listForOrg:{headers:{accept:"application/vnd.github.wyandotte-preview+json"},method:"GET",params:{org:{required:!0,type:"string"},page:{type:"integer"},per_page:{type:"integer"}},url:"/orgs/:org/migrations"},listReposForOrg:{headers:{accept:"application/vnd.github.wyandotte-preview+json"},method:"GET",params:{migration_id:{required:!0,type:"integer"},org:{required:!0,type:"string"},page:{type:"integer"},per_page:{type:"integer"}},url:"/orgs/:org/migrations/:migration_id/repositories"},listReposForUser:{headers:{accept:"application/vnd.github.wyandotte-preview+json"},method:"GET",params:{migration_id:{required:!0,type:"integer"},page:{type:"integer"},per_page:{type:"integer"}},url:"/user/:migration_id/repositories"},mapCommitAuthor:{method:"PATCH",params:{author_id:{required:!0,type:"integer"},email:{type:"string"},name:{type:"string"},owner:{required:!0,type:"string"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/import/authors/:author_id"},setLfsPreference:{method:"PATCH",params:{owner:{required:!0,type:"string"},repo:{required:!0,type:"string"},use_lfs:{enum:["opt_in","opt_out"],required:!0,type:"string"}},url:"/repos/:owner/:repo/import/lfs"},startForAuthenticatedUser:{method:"POST",params:{exclude_attachments:{type:"boolean"},lock_repositories:{type:"boolean"},repositories:{required:!0,type:"string[]"}},url:"/user/migrations"},startForOrg:{method:"POST",params:{exclude_attachments:{type:"boolean"},lock_repositories:{type:"boolean"},org:{required:!0,type:"string"},repositories:{required:!0,type:"string[]"}},url:"/orgs/:org/migrations"},startImport:{method:"PUT",params:{owner:{required:!0,type:"string"},repo:{required:!0,type:"string"},tfvc_project:{type:"string"},vcs:{enum:["subversion","git","mercurial","tfvc"],type:"string"},vcs_password:{type:"string"},vcs_url:{required:!0,type:"string"},vcs_username:{type:"string"}},url:"/repos/:owner/:repo/import"},unlockRepoForAuthenticatedUser:{headers:{accept:"application/vnd.github.wyandotte-preview+json"},method:"DELETE",params:{migration_id:{required:!0,type:"integer"},repo_name:{required:!0,type:"string"}},url:"/user/migrations/:migration_id/repos/:repo_name/lock"},unlockRepoForOrg:{headers:{accept:"application/vnd.github.wyandotte-preview+json"},method:"DELETE",params:{migration_id:{required:!0,type:"integer"},org:{required:!0,type:"string"},repo_name:{required:!0,type:"string"}},url:"/orgs/:org/migrations/:migration_id/repos/:repo_name/lock"},updateImport:{method:"PATCH",params:{owner:{required:!0,type:"string"},repo:{required:!0,type:"string"},vcs_password:{type:"string"},vcs_username:{type:"string"}},url:"/repos/:owner/:repo/import"}},oauthAuthorizations:{checkAuthorization:{deprecated:"octokit.oauthAuthorizations.checkAuthorization() has been renamed to octokit.apps.checkAuthorization() (2019-11-05)",method:"GET",params:{access_token:{required:!0,type:"string"},client_id:{required:!0,type:"string"}},url:"/applications/:client_id/tokens/:access_token"},createAuthorization:{deprecated:"octokit.oauthAuthorizations.createAuthorization() is deprecated, see https://developer.github.com/v3/oauth_authorizations/#create-a-new-authorization",method:"POST",params:{client_id:{type:"string"},client_secret:{type:"string"},fingerprint:{type:"string"},note:{required:!0,type:"string"},note_url:{type:"string"},scopes:{type:"string[]"}},url:"/authorizations"},deleteAuthorization:{deprecated:"octokit.oauthAuthorizations.deleteAuthorization() is deprecated, see https://developer.github.com/v3/oauth_authorizations/#delete-an-authorization",method:"DELETE",params:{authorization_id:{required:!0,type:"integer"}},url:"/authorizations/:authorization_id"},deleteGrant:{deprecated:"octokit.oauthAuthorizations.deleteGrant() is deprecated, see https://developer.github.com/v3/oauth_authorizations/#delete-a-grant",method:"DELETE",params:{grant_id:{required:!0,type:"integer"}},url:"/applications/grants/:grant_id"},getAuthorization:{deprecated:"octokit.oauthAuthorizations.getAuthorization() is deprecated, see https://developer.github.com/v3/oauth_authorizations/#get-a-single-authorization",method:"GET",params:{authorization_id:{required:!0,type:"integer"}},url:"/authorizations/:authorization_id"},getGrant:{deprecated:"octokit.oauthAuthorizations.getGrant() is deprecated, see https://developer.github.com/v3/oauth_authorizations/#get-a-single-grant",method:"GET",params:{grant_id:{required:!0,type:"integer"}},url:"/applications/grants/:grant_id"},getOrCreateAuthorizationForApp:{deprecated:"octokit.oauthAuthorizations.getOrCreateAuthorizationForApp() is deprecated, see https://developer.github.com/v3/oauth_authorizations/#get-or-create-an-authorization-for-a-specific-app",method:"PUT",params:{client_id:{required:!0,type:"string"},client_secret:{required:!0,type:"string"},fingerprint:{type:"string"},note:{type:"string"},note_url:{type:"string"},scopes:{type:"string[]"}},url:"/authorizations/clients/:client_id"},getOrCreateAuthorizationForAppAndFingerprint:{deprecated:"octokit.oauthAuthorizations.getOrCreateAuthorizationForAppAndFingerprint() is deprecated, see https://developer.github.com/v3/oauth_authorizations/#get-or-create-an-authorization-for-a-specific-app-and-fingerprint",method:"PUT",params:{client_id:{required:!0,type:"string"},client_secret:{required:!0,type:"string"},fingerprint:{required:!0,type:"string"},note:{type:"string"},note_url:{type:"string"},scopes:{type:"string[]"}},url:"/authorizations/clients/:client_id/:fingerprint"},getOrCreateAuthorizationForAppFingerprint:{deprecated:"octokit.oauthAuthorizations.getOrCreateAuthorizationForAppFingerprint() has been renamed to octokit.oauthAuthorizations.getOrCreateAuthorizationForAppAndFingerprint() (2018-12-27)",method:"PUT",params:{client_id:{required:!0,type:"string"},client_secret:{required:!0,type:"string"},fingerprint:{required:!0,type:"string"},note:{type:"string"},note_url:{type:"string"},scopes:{type:"string[]"}},url:"/authorizations/clients/:client_id/:fingerprint"},listAuthorizations:{deprecated:"octokit.oauthAuthorizations.listAuthorizations() is deprecated, see https://developer.github.com/v3/oauth_authorizations/#list-your-authorizations",method:"GET",params:{page:{type:"integer"},per_page:{type:"integer"}},url:"/authorizations"},listGrants:{deprecated:"octokit.oauthAuthorizations.listGrants() is deprecated, see https://developer.github.com/v3/oauth_authorizations/#list-your-grants",method:"GET",params:{page:{type:"integer"},per_page:{type:"integer"}},url:"/applications/grants"},resetAuthorization:{deprecated:"octokit.oauthAuthorizations.resetAuthorization() has been renamed to octokit.apps.resetAuthorization() (2019-11-05)",method:"POST",params:{access_token:{required:!0,type:"string"},client_id:{required:!0,type:"string"}},url:"/applications/:client_id/tokens/:access_token"},revokeAuthorizationForApplication:{deprecated:"octokit.oauthAuthorizations.revokeAuthorizationForApplication() has been renamed to octokit.apps.revokeAuthorizationForApplication() (2019-11-05)",method:"DELETE",params:{access_token:{required:!0,type:"string"},client_id:{required:!0,type:"string"}},url:"/applications/:client_id/tokens/:access_token"},revokeGrantForApplication:{deprecated:"octokit.oauthAuthorizations.revokeGrantForApplication() has been renamed to octokit.apps.revokeGrantForApplication() (2019-11-05)",method:"DELETE",params:{access_token:{required:!0,type:"string"},client_id:{required:!0,type:"string"}},url:"/applications/:client_id/grants/:access_token"},updateAuthorization:{deprecated:"octokit.oauthAuthorizations.updateAuthorization() is deprecated, see https://developer.github.com/v3/oauth_authorizations/#update-an-existing-authorization",method:"PATCH",params:{add_scopes:{type:"string[]"},authorization_id:{required:!0,type:"integer"},fingerprint:{type:"string"},note:{type:"string"},note_url:{type:"string"},remove_scopes:{type:"string[]"},scopes:{type:"string[]"}},url:"/authorizations/:authorization_id"}},orgs:{addOrUpdateMembership:{method:"PUT",params:{org:{required:!0,type:"string"},role:{enum:["admin","member"],type:"string"},username:{required:!0,type:"string"}},url:"/orgs/:org/memberships/:username"},blockUser:{method:"PUT",params:{org:{required:!0,type:"string"},username:{required:!0,type:"string"}},url:"/orgs/:org/blocks/:username"},checkBlockedUser:{method:"GET",params:{org:{required:!0,type:"string"},username:{required:!0,type:"string"}},url:"/orgs/:org/blocks/:username"},checkMembership:{method:"GET",params:{org:{required:!0,type:"string"},username:{required:!0,type:"string"}},url:"/orgs/:org/members/:username"},checkPublicMembership:{method:"GET",params:{org:{required:!0,type:"string"},username:{required:!0,type:"string"}},url:"/orgs/:org/public_members/:username"},concealMembership:{method:"DELETE",params:{org:{required:!0,type:"string"},username:{required:!0,type:"string"}},url:"/orgs/:org/public_members/:username"},convertMemberToOutsideCollaborator:{method:"PUT",params:{org:{required:!0,type:"string"},username:{required:!0,type:"string"}},url:"/orgs/:org/outside_collaborators/:username"},createHook:{method:"POST",params:{active:{type:"boolean"},config:{required:!0,type:"object"},"config.content_type":{type:"string"},"config.insecure_ssl":{type:"string"},"config.secret":{type:"string"},"config.url":{required:!0,type:"string"},events:{type:"string[]"},name:{required:!0,type:"string"},org:{required:!0,type:"string"}},url:"/orgs/:org/hooks"},createInvitation:{method:"POST",params:{email:{type:"string"},invitee_id:{type:"integer"},org:{required:!0,type:"string"},role:{enum:["admin","direct_member","billing_manager"],type:"string"},team_ids:{type:"integer[]"}},url:"/orgs/:org/invitations"},deleteHook:{method:"DELETE",params:{hook_id:{required:!0,type:"integer"},org:{required:!0,type:"string"}},url:"/orgs/:org/hooks/:hook_id"},get:{method:"GET",params:{org:{required:!0,type:"string"}},url:"/orgs/:org"},getHook:{method:"GET",params:{hook_id:{required:!0,type:"integer"},org:{required:!0,type:"string"}},url:"/orgs/:org/hooks/:hook_id"},getMembership:{method:"GET",params:{org:{required:!0,type:"string"},username:{required:!0,type:"string"}},url:"/orgs/:org/memberships/:username"},getMembershipForAuthenticatedUser:{method:"GET",params:{org:{required:!0,type:"string"}},url:"/user/memberships/orgs/:org"},list:{method:"GET",params:{page:{type:"integer"},per_page:{type:"integer"},since:{type:"integer"}},url:"/organizations"},listBlockedUsers:{method:"GET",params:{org:{required:!0,type:"string"}},url:"/orgs/:org/blocks"},listForAuthenticatedUser:{method:"GET",params:{page:{type:"integer"},per_page:{type:"integer"}},url:"/user/orgs"},listForUser:{method:"GET",params:{page:{type:"integer"},per_page:{type:"integer"},username:{required:!0,type:"string"}},url:"/users/:username/orgs"},listHooks:{method:"GET",params:{org:{required:!0,type:"string"},page:{type:"integer"},per_page:{type:"integer"}},url:"/orgs/:org/hooks"},listInstallations:{headers:{accept:"application/vnd.github.machine-man-preview+json"},method:"GET",params:{org:{required:!0,type:"string"},page:{type:"integer"},per_page:{type:"integer"}},url:"/orgs/:org/installations"},listInvitationTeams:{method:"GET",params:{invitation_id:{required:!0,type:"integer"},org:{required:!0,type:"string"},page:{type:"integer"},per_page:{type:"integer"}},url:"/orgs/:org/invitations/:invitation_id/teams"},listMembers:{method:"GET",params:{filter:{enum:["2fa_disabled","all"],type:"string"},org:{required:!0,type:"string"},page:{type:"integer"},per_page:{type:"integer"},role:{enum:["all","admin","member"],type:"string"}},url:"/orgs/:org/members"},listMemberships:{method:"GET",params:{page:{type:"integer"},per_page:{type:"integer"},state:{enum:["active","pending"],type:"string"}},url:"/user/memberships/orgs"},listOutsideCollaborators:{method:"GET",params:{filter:{enum:["2fa_disabled","all"],type:"string"},org:{required:!0,type:"string"},page:{type:"integer"},per_page:{type:"integer"}},url:"/orgs/:org/outside_collaborators"},listPendingInvitations:{method:"GET",params:{org:{required:!0,type:"string"},page:{type:"integer"},per_page:{type:"integer"}},url:"/orgs/:org/invitations"},listPublicMembers:{method:"GET",params:{org:{required:!0,type:"string"},page:{type:"integer"},per_page:{type:"integer"}},url:"/orgs/:org/public_members"},pingHook:{method:"POST",params:{hook_id:{required:!0,type:"integer"},org:{required:!0,type:"string"}},url:"/orgs/:org/hooks/:hook_id/pings"},publicizeMembership:{method:"PUT",params:{org:{required:!0,type:"string"},username:{required:!0,type:"string"}},url:"/orgs/:org/public_members/:username"},removeMember:{method:"DELETE",params:{org:{required:!0,type:"string"},username:{required:!0,type:"string"}},url:"/orgs/:org/members/:username"},removeMembership:{method:"DELETE",params:{org:{required:!0,type:"string"},username:{required:!0,type:"string"}},url:"/orgs/:org/memberships/:username"},removeOutsideCollaborator:{method:"DELETE",params:{org:{required:!0,type:"string"},username:{required:!0,type:"string"}},url:"/orgs/:org/outside_collaborators/:username"},unblockUser:{method:"DELETE",params:{org:{required:!0,type:"string"},username:{required:!0,type:"string"}},url:"/orgs/:org/blocks/:username"},update:{method:"PATCH",params:{billing_email:{type:"string"},company:{type:"string"},default_repository_permission:{enum:["read","write","admin","none"],type:"string"},description:{type:"string"},email:{type:"string"},has_organization_projects:{type:"boolean"},has_repository_projects:{type:"boolean"},location:{type:"string"},members_allowed_repository_creation_type:{enum:["all","private","none"],type:"string"},members_can_create_internal_repositories:{type:"boolean"},members_can_create_private_repositories:{type:"boolean"},members_can_create_public_repositories:{type:"boolean"},members_can_create_repositories:{type:"boolean"},name:{type:"string"},org:{required:!0,type:"string"}},url:"/orgs/:org"},updateHook:{method:"PATCH",params:{active:{type:"boolean"},config:{type:"object"},"config.content_type":{type:"string"},"config.insecure_ssl":{type:"string"},"config.secret":{type:"string"},"config.url":{required:!0,type:"string"},events:{type:"string[]"},hook_id:{required:!0,type:"integer"},org:{required:!0,type:"string"}},url:"/orgs/:org/hooks/:hook_id"},updateMembership:{method:"PATCH",params:{org:{required:!0,type:"string"},state:{enum:["active"],required:!0,type:"string"}},url:"/user/memberships/orgs/:org"}},projects:{addCollaborator:{headers:{accept:"application/vnd.github.inertia-preview+json"},method:"PUT",params:{permission:{enum:["read","write","admin"],type:"string"},project_id:{required:!0,type:"integer"},username:{required:!0,type:"string"}},url:"/projects/:project_id/collaborators/:username"},createCard:{headers:{accept:"application/vnd.github.inertia-preview+json"},method:"POST",params:{column_id:{required:!0,type:"integer"},content_id:{type:"integer"},content_type:{type:"string"},note:{type:"string"}},url:"/projects/columns/:column_id/cards"},createColumn:{headers:{accept:"application/vnd.github.inertia-preview+json"},method:"POST",params:{name:{required:!0,type:"string"},project_id:{required:!0,type:"integer"}},url:"/projects/:project_id/columns"},createForAuthenticatedUser:{headers:{accept:"application/vnd.github.inertia-preview+json"},method:"POST",params:{body:{type:"string"},name:{required:!0,type:"string"}},url:"/user/projects"},createForOrg:{headers:{accept:"application/vnd.github.inertia-preview+json"},method:"POST",params:{body:{type:"string"},name:{required:!0,type:"string"},org:{required:!0,type:"string"}},url:"/orgs/:org/projects"},createForRepo:{headers:{accept:"application/vnd.github.inertia-preview+json"},method:"POST",params:{body:{type:"string"},name:{required:!0,type:"string"},owner:{required:!0,type:"string"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/projects"},delete:{headers:{accept:"application/vnd.github.inertia-preview+json"},method:"DELETE",params:{project_id:{required:!0,type:"integer"}},url:"/projects/:project_id"},deleteCard:{headers:{accept:"application/vnd.github.inertia-preview+json"},method:"DELETE",params:{card_id:{required:!0,type:"integer"}},url:"/projects/columns/cards/:card_id"},deleteColumn:{headers:{accept:"application/vnd.github.inertia-preview+json"},method:"DELETE",params:{column_id:{required:!0,type:"integer"}},url:"/projects/columns/:column_id"},get:{headers:{accept:"application/vnd.github.inertia-preview+json"},method:"GET",params:{project_id:{required:!0,type:"integer"}},url:"/projects/:project_id"},getCard:{headers:{accept:"application/vnd.github.inertia-preview+json"},method:"GET",params:{card_id:{required:!0,type:"integer"}},url:"/projects/columns/cards/:card_id"},getColumn:{headers:{accept:"application/vnd.github.inertia-preview+json"},method:"GET",params:{column_id:{required:!0,type:"integer"}},url:"/projects/columns/:column_id"},listCards:{headers:{accept:"application/vnd.github.inertia-preview+json"},method:"GET",params:{archived_state:{enum:["all","archived","not_archived"],type:"string"},column_id:{required:!0,type:"integer"},page:{type:"integer"},per_page:{type:"integer"}},url:"/projects/columns/:column_id/cards"},listCollaborators:{headers:{accept:"application/vnd.github.inertia-preview+json"},method:"GET",params:{affiliation:{enum:["outside","direct","all"],type:"string"},page:{type:"integer"},per_page:{type:"integer"},project_id:{required:!0,type:"integer"}},url:"/projects/:project_id/collaborators"},listColumns:{headers:{accept:"application/vnd.github.inertia-preview+json"},method:"GET",params:{page:{type:"integer"},per_page:{type:"integer"},project_id:{required:!0,type:"integer"}},url:"/projects/:project_id/columns"},listForOrg:{headers:{accept:"application/vnd.github.inertia-preview+json"},method:"GET",params:{org:{required:!0,type:"string"},page:{type:"integer"},per_page:{type:"integer"},state:{enum:["open","closed","all"],type:"string"}},url:"/orgs/:org/projects"},listForRepo:{headers:{accept:"application/vnd.github.inertia-preview+json"},method:"GET",params:{owner:{required:!0,type:"string"},page:{type:"integer"},per_page:{type:"integer"},repo:{required:!0,type:"string"},state:{enum:["open","closed","all"],type:"string"}},url:"/repos/:owner/:repo/projects"},listForUser:{headers:{accept:"application/vnd.github.inertia-preview+json"},method:"GET",params:{page:{type:"integer"},per_page:{type:"integer"},state:{enum:["open","closed","all"],type:"string"},username:{required:!0,type:"string"}},url:"/users/:username/projects"},moveCard:{headers:{accept:"application/vnd.github.inertia-preview+json"},method:"POST",params:{card_id:{required:!0,type:"integer"},column_id:{type:"integer"},position:{required:!0,type:"string",validation:"^(top|bottom|after:\\d+)$"}},url:"/projects/columns/cards/:card_id/moves"},moveColumn:{headers:{accept:"application/vnd.github.inertia-preview+json"},method:"POST",params:{column_id:{required:!0,type:"integer"},position:{required:!0,type:"string",validation:"^(first|last|after:\\d+)$"}},url:"/projects/columns/:column_id/moves"},removeCollaborator:{headers:{accept:"application/vnd.github.inertia-preview+json"},method:"DELETE",params:{project_id:{required:!0,type:"integer"},username:{required:!0,type:"string"}},url:"/projects/:project_id/collaborators/:username"},reviewUserPermissionLevel:{headers:{accept:"application/vnd.github.inertia-preview+json"},method:"GET",params:{project_id:{required:!0,type:"integer"},username:{required:!0,type:"string"}},url:"/projects/:project_id/collaborators/:username/permission"},update:{headers:{accept:"application/vnd.github.inertia-preview+json"},method:"PATCH",params:{body:{type:"string"},name:{type:"string"},organization_permission:{type:"string"},private:{type:"boolean"},project_id:{required:!0,type:"integer"},state:{enum:["open","closed"],type:"string"}},url:"/projects/:project_id"},updateCard:{headers:{accept:"application/vnd.github.inertia-preview+json"},method:"PATCH",params:{archived:{type:"boolean"},card_id:{required:!0,type:"integer"},note:{type:"string"}},url:"/projects/columns/cards/:card_id"},updateColumn:{headers:{accept:"application/vnd.github.inertia-preview+json"},method:"PATCH",params:{column_id:{required:!0,type:"integer"},name:{required:!0,type:"string"}},url:"/projects/columns/:column_id"}},pulls:{checkIfMerged:{method:"GET",params:{number:{alias:"pull_number",deprecated:!0,type:"integer"},owner:{required:!0,type:"string"},pull_number:{required:!0,type:"integer"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/pulls/:pull_number/merge"},create:{method:"POST",params:{base:{required:!0,type:"string"},body:{type:"string"},draft:{type:"boolean"},head:{required:!0,type:"string"},maintainer_can_modify:{type:"boolean"},owner:{required:!0,type:"string"},repo:{required:!0,type:"string"},title:{required:!0,type:"string"}},url:"/repos/:owner/:repo/pulls"},createComment:{method:"POST",params:{body:{required:!0,type:"string"},commit_id:{required:!0,type:"string"},in_reply_to:{deprecated:!0,description:"The comment ID to reply to. **Note**: This must be the ID of a top-level comment, not a reply to that comment. Replies to replies are not supported.",type:"integer"},line:{type:"integer"},number:{alias:"pull_number",deprecated:!0,type:"integer"},owner:{required:!0,type:"string"},path:{required:!0,type:"string"},position:{type:"integer"},pull_number:{required:!0,type:"integer"},repo:{required:!0,type:"string"},side:{enum:["LEFT","RIGHT"],type:"string"},start_line:{type:"integer"},start_side:{enum:["LEFT","RIGHT","side"],type:"string"}},url:"/repos/:owner/:repo/pulls/:pull_number/comments"},createCommentReply:{deprecated:"octokit.pulls.createCommentReply() has been renamed to octokit.pulls.createComment() (2019-09-09)",method:"POST",params:{body:{required:!0,type:"string"},commit_id:{required:!0,type:"string"},in_reply_to:{deprecated:!0,description:"The comment ID to reply to. **Note**: This must be the ID of a top-level comment, not a reply to that comment. Replies to replies are not supported.",type:"integer"},line:{type:"integer"},number:{alias:"pull_number",deprecated:!0,type:"integer"},owner:{required:!0,type:"string"},path:{required:!0,type:"string"},position:{type:"integer"},pull_number:{required:!0,type:"integer"},repo:{required:!0,type:"string"},side:{enum:["LEFT","RIGHT"],type:"string"},start_line:{type:"integer"},start_side:{enum:["LEFT","RIGHT","side"],type:"string"}},url:"/repos/:owner/:repo/pulls/:pull_number/comments"},createFromIssue:{deprecated:"octokit.pulls.createFromIssue() is deprecated, see https://developer.github.com/v3/pulls/#create-a-pull-request",method:"POST",params:{base:{required:!0,type:"string"},draft:{type:"boolean"},head:{required:!0,type:"string"},issue:{required:!0,type:"integer"},maintainer_can_modify:{type:"boolean"},owner:{required:!0,type:"string"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/pulls"},createReview:{method:"POST",params:{body:{type:"string"},comments:{type:"object[]"},"comments[].body":{required:!0,type:"string"},"comments[].path":{required:!0,type:"string"},"comments[].position":{required:!0,type:"integer"},commit_id:{type:"string"},event:{enum:["APPROVE","REQUEST_CHANGES","COMMENT"],type:"string"},number:{alias:"pull_number",deprecated:!0,type:"integer"},owner:{required:!0,type:"string"},pull_number:{required:!0,type:"integer"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/pulls/:pull_number/reviews"},createReviewCommentReply:{method:"POST",params:{body:{required:!0,type:"string"},comment_id:{required:!0,type:"integer"},owner:{required:!0,type:"string"},pull_number:{required:!0,type:"integer"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/pulls/:pull_number/comments/:comment_id/replies"},createReviewRequest:{method:"POST",params:{number:{alias:"pull_number",deprecated:!0,type:"integer"},owner:{required:!0,type:"string"},pull_number:{required:!0,type:"integer"},repo:{required:!0,type:"string"},reviewers:{type:"string[]"},team_reviewers:{type:"string[]"}},url:"/repos/:owner/:repo/pulls/:pull_number/requested_reviewers"},deleteComment:{method:"DELETE",params:{comment_id:{required:!0,type:"integer"},owner:{required:!0,type:"string"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/pulls/comments/:comment_id"},deletePendingReview:{method:"DELETE",params:{number:{alias:"pull_number",deprecated:!0,type:"integer"},owner:{required:!0,type:"string"},pull_number:{required:!0,type:"integer"},repo:{required:!0,type:"string"},review_id:{required:!0,type:"integer"}},url:"/repos/:owner/:repo/pulls/:pull_number/reviews/:review_id"},deleteReviewRequest:{method:"DELETE",params:{number:{alias:"pull_number",deprecated:!0,type:"integer"},owner:{required:!0,type:"string"},pull_number:{required:!0,type:"integer"},repo:{required:!0,type:"string"},reviewers:{type:"string[]"},team_reviewers:{type:"string[]"}},url:"/repos/:owner/:repo/pulls/:pull_number/requested_reviewers"},dismissReview:{method:"PUT",params:{message:{required:!0,type:"string"},number:{alias:"pull_number",deprecated:!0,type:"integer"},owner:{required:!0,type:"string"},pull_number:{required:!0,type:"integer"},repo:{required:!0,type:"string"},review_id:{required:!0,type:"integer"}},url:"/repos/:owner/:repo/pulls/:pull_number/reviews/:review_id/dismissals"},get:{method:"GET",params:{number:{alias:"pull_number",deprecated:!0,type:"integer"},owner:{required:!0,type:"string"},pull_number:{required:!0,type:"integer"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/pulls/:pull_number"},getComment:{method:"GET",params:{comment_id:{required:!0,type:"integer"},owner:{required:!0,type:"string"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/pulls/comments/:comment_id"},getCommentsForReview:{method:"GET",params:{number:{alias:"pull_number",deprecated:!0,type:"integer"},owner:{required:!0,type:"string"},page:{type:"integer"},per_page:{type:"integer"},pull_number:{required:!0,type:"integer"},repo:{required:!0,type:"string"},review_id:{required:!0,type:"integer"}},url:"/repos/:owner/:repo/pulls/:pull_number/reviews/:review_id/comments"},getReview:{method:"GET",params:{number:{alias:"pull_number",deprecated:!0,type:"integer"},owner:{required:!0,type:"string"},pull_number:{required:!0,type:"integer"},repo:{required:!0,type:"string"},review_id:{required:!0,type:"integer"}},url:"/repos/:owner/:repo/pulls/:pull_number/reviews/:review_id"},list:{method:"GET",params:{base:{type:"string"},direction:{enum:["asc","desc"],type:"string"},head:{type:"string"},owner:{required:!0,type:"string"},page:{type:"integer"},per_page:{type:"integer"},repo:{required:!0,type:"string"},sort:{enum:["created","updated","popularity","long-running"],type:"string"},state:{enum:["open","closed","all"],type:"string"}},url:"/repos/:owner/:repo/pulls"},listComments:{method:"GET",params:{direction:{enum:["asc","desc"],type:"string"},number:{alias:"pull_number",deprecated:!0,type:"integer"},owner:{required:!0,type:"string"},page:{type:"integer"},per_page:{type:"integer"},pull_number:{required:!0,type:"integer"},repo:{required:!0,type:"string"},since:{type:"string"},sort:{enum:["created","updated"],type:"string"}},url:"/repos/:owner/:repo/pulls/:pull_number/comments"},listCommentsForRepo:{method:"GET",params:{direction:{enum:["asc","desc"],type:"string"},owner:{required:!0,type:"string"},page:{type:"integer"},per_page:{type:"integer"},repo:{required:!0,type:"string"},since:{type:"string"},sort:{enum:["created","updated"],type:"string"}},url:"/repos/:owner/:repo/pulls/comments"},listCommits:{method:"GET",params:{number:{alias:"pull_number",deprecated:!0,type:"integer"},owner:{required:!0,type:"string"},page:{type:"integer"},per_page:{type:"integer"},pull_number:{required:!0,type:"integer"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/pulls/:pull_number/commits"},listFiles:{method:"GET",params:{number:{alias:"pull_number",deprecated:!0,type:"integer"},owner:{required:!0,type:"string"},page:{type:"integer"},per_page:{type:"integer"},pull_number:{required:!0,type:"integer"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/pulls/:pull_number/files"},listReviewRequests:{method:"GET",params:{number:{alias:"pull_number",deprecated:!0,type:"integer"},owner:{required:!0,type:"string"},page:{type:"integer"},per_page:{type:"integer"},pull_number:{required:!0,type:"integer"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/pulls/:pull_number/requested_reviewers"},listReviews:{method:"GET",params:{number:{alias:"pull_number",deprecated:!0,type:"integer"},owner:{required:!0,type:"string"},page:{type:"integer"},per_page:{type:"integer"},pull_number:{required:!0,type:"integer"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/pulls/:pull_number/reviews"},merge:{method:"PUT",params:{commit_message:{type:"string"},commit_title:{type:"string"},merge_method:{enum:["merge","squash","rebase"],type:"string"},number:{alias:"pull_number",deprecated:!0,type:"integer"},owner:{required:!0,type:"string"},pull_number:{required:!0,type:"integer"},repo:{required:!0,type:"string"},sha:{type:"string"}},url:"/repos/:owner/:repo/pulls/:pull_number/merge"},submitReview:{method:"POST",params:{body:{type:"string"},event:{enum:["APPROVE","REQUEST_CHANGES","COMMENT"],required:!0,type:"string"},number:{alias:"pull_number",deprecated:!0,type:"integer"},owner:{required:!0,type:"string"},pull_number:{required:!0,type:"integer"},repo:{required:!0,type:"string"},review_id:{required:!0,type:"integer"}},url:"/repos/:owner/:repo/pulls/:pull_number/reviews/:review_id/events"},update:{method:"PATCH",params:{base:{type:"string"},body:{type:"string"},maintainer_can_modify:{type:"boolean"},number:{alias:"pull_number",deprecated:!0,type:"integer"},owner:{required:!0,type:"string"},pull_number:{required:!0,type:"integer"},repo:{required:!0,type:"string"},state:{enum:["open","closed"],type:"string"},title:{type:"string"}},url:"/repos/:owner/:repo/pulls/:pull_number"},updateBranch:{headers:{accept:"application/vnd.github.lydian-preview+json"},method:"PUT",params:{expected_head_sha:{type:"string"},owner:{required:!0,type:"string"},pull_number:{required:!0,type:"integer"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/pulls/:pull_number/update-branch"},updateComment:{method:"PATCH",params:{body:{required:!0,type:"string"},comment_id:{required:!0,type:"integer"},owner:{required:!0,type:"string"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/pulls/comments/:comment_id"},updateReview:{method:"PUT",params:{body:{required:!0,type:"string"},number:{alias:"pull_number",deprecated:!0,type:"integer"},owner:{required:!0,type:"string"},pull_number:{required:!0,type:"integer"},repo:{required:!0,type:"string"},review_id:{required:!0,type:"integer"}},url:"/repos/:owner/:repo/pulls/:pull_number/reviews/:review_id"}},rateLimit:{get:{method:"GET",params:{},url:"/rate_limit"}},reactions:{createForCommitComment:{headers:{accept:"application/vnd.github.squirrel-girl-preview+json"},method:"POST",params:{comment_id:{required:!0,type:"integer"},content:{enum:["+1","-1","laugh","confused","heart","hooray","rocket","eyes"],required:!0,type:"string"},owner:{required:!0,type:"string"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/comments/:comment_id/reactions"},createForIssue:{headers:{accept:"application/vnd.github.squirrel-girl-preview+json"},method:"POST",params:{content:{enum:["+1","-1","laugh","confused","heart","hooray","rocket","eyes"],required:!0,type:"string"},issue_number:{required:!0,type:"integer"},number:{alias:"issue_number",deprecated:!0,type:"integer"},owner:{required:!0,type:"string"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/issues/:issue_number/reactions"},createForIssueComment:{headers:{accept:"application/vnd.github.squirrel-girl-preview+json"},method:"POST",params:{comment_id:{required:!0,type:"integer"},content:{enum:["+1","-1","laugh","confused","heart","hooray","rocket","eyes"],required:!0,type:"string"},owner:{required:!0,type:"string"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/issues/comments/:comment_id/reactions"},createForPullRequestReviewComment:{headers:{accept:"application/vnd.github.squirrel-girl-preview+json"},method:"POST",params:{comment_id:{required:!0,type:"integer"},content:{enum:["+1","-1","laugh","confused","heart","hooray","rocket","eyes"],required:!0,type:"string"},owner:{required:!0,type:"string"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/pulls/comments/:comment_id/reactions"},createForTeamDiscussion:{deprecated:"octokit.reactions.createForTeamDiscussion() has been renamed to octokit.reactions.createForTeamDiscussionLegacy() (2020-01-16)",headers:{accept:"application/vnd.github.squirrel-girl-preview+json"},method:"POST",params:{content:{enum:["+1","-1","laugh","confused","heart","hooray","rocket","eyes"],required:!0,type:"string"},discussion_number:{required:!0,type:"integer"},team_id:{required:!0,type:"integer"}},url:"/teams/:team_id/discussions/:discussion_number/reactions"},createForTeamDiscussionComment:{deprecated:"octokit.reactions.createForTeamDiscussionComment() has been renamed to octokit.reactions.createForTeamDiscussionCommentLegacy() (2020-01-16)",headers:{accept:"application/vnd.github.squirrel-girl-preview+json"},method:"POST",params:{comment_number:{required:!0,type:"integer"},content:{enum:["+1","-1","laugh","confused","heart","hooray","rocket","eyes"],required:!0,type:"string"},discussion_number:{required:!0,type:"integer"},team_id:{required:!0,type:"integer"}},url:"/teams/:team_id/discussions/:discussion_number/comments/:comment_number/reactions"},createForTeamDiscussionCommentInOrg:{headers:{accept:"application/vnd.github.squirrel-girl-preview+json"},method:"POST",params:{comment_number:{required:!0,type:"integer"},content:{enum:["+1","-1","laugh","confused","heart","hooray","rocket","eyes"],required:!0,type:"string"},discussion_number:{required:!0,type:"integer"},org:{required:!0,type:"string"},team_slug:{required:!0,type:"string"}},url:"/orgs/:org/teams/:team_slug/discussions/:discussion_number/comments/:comment_number/reactions"},createForTeamDiscussionCommentLegacy:{deprecated:"octokit.reactions.createForTeamDiscussionCommentLegacy() is deprecated, see https://developer.github.com/v3/reactions/#create-reaction-for-a-team-discussion-comment-legacy",headers:{accept:"application/vnd.github.squirrel-girl-preview+json"},method:"POST",params:{comment_number:{required:!0,type:"integer"},content:{enum:["+1","-1","laugh","confused","heart","hooray","rocket","eyes"],required:!0,type:"string"},discussion_number:{required:!0,type:"integer"},team_id:{required:!0,type:"integer"}},url:"/teams/:team_id/discussions/:discussion_number/comments/:comment_number/reactions"},createForTeamDiscussionInOrg:{headers:{accept:"application/vnd.github.squirrel-girl-preview+json"},method:"POST",params:{content:{enum:["+1","-1","laugh","confused","heart","hooray","rocket","eyes"],required:!0,type:"string"},discussion_number:{required:!0,type:"integer"},org:{required:!0,type:"string"},team_slug:{required:!0,type:"string"}},url:"/orgs/:org/teams/:team_slug/discussions/:discussion_number/reactions"},createForTeamDiscussionLegacy:{deprecated:"octokit.reactions.createForTeamDiscussionLegacy() is deprecated, see https://developer.github.com/v3/reactions/#create-reaction-for-a-team-discussion-legacy",headers:{accept:"application/vnd.github.squirrel-girl-preview+json"},method:"POST",params:{content:{enum:["+1","-1","laugh","confused","heart","hooray","rocket","eyes"],required:!0,type:"string"},discussion_number:{required:!0,type:"integer"},team_id:{required:!0,type:"integer"}},url:"/teams/:team_id/discussions/:discussion_number/reactions"},delete:{headers:{accept:"application/vnd.github.squirrel-girl-preview+json"},method:"DELETE",params:{reaction_id:{required:!0,type:"integer"}},url:"/reactions/:reaction_id"},listForCommitComment:{headers:{accept:"application/vnd.github.squirrel-girl-preview+json"},method:"GET",params:{comment_id:{required:!0,type:"integer"},content:{enum:["+1","-1","laugh","confused","heart","hooray","rocket","eyes"],type:"string"},owner:{required:!0,type:"string"},page:{type:"integer"},per_page:{type:"integer"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/comments/:comment_id/reactions"},listForIssue:{headers:{accept:"application/vnd.github.squirrel-girl-preview+json"},method:"GET",params:{content:{enum:["+1","-1","laugh","confused","heart","hooray","rocket","eyes"],type:"string"},issue_number:{required:!0,type:"integer"},number:{alias:"issue_number",deprecated:!0,type:"integer"},owner:{required:!0,type:"string"},page:{type:"integer"},per_page:{type:"integer"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/issues/:issue_number/reactions"},listForIssueComment:{headers:{accept:"application/vnd.github.squirrel-girl-preview+json"},method:"GET",params:{comment_id:{required:!0,type:"integer"},content:{enum:["+1","-1","laugh","confused","heart","hooray","rocket","eyes"],type:"string"},owner:{required:!0,type:"string"},page:{type:"integer"},per_page:{type:"integer"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/issues/comments/:comment_id/reactions"},listForPullRequestReviewComment:{headers:{accept:"application/vnd.github.squirrel-girl-preview+json"},method:"GET",params:{comment_id:{required:!0,type:"integer"},content:{enum:["+1","-1","laugh","confused","heart","hooray","rocket","eyes"],type:"string"},owner:{required:!0,type:"string"},page:{type:"integer"},per_page:{type:"integer"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/pulls/comments/:comment_id/reactions"},listForTeamDiscussion:{deprecated:"octokit.reactions.listForTeamDiscussion() has been renamed to octokit.reactions.listForTeamDiscussionLegacy() (2020-01-16)",headers:{accept:"application/vnd.github.squirrel-girl-preview+json"},method:"GET",params:{content:{enum:["+1","-1","laugh","confused","heart","hooray","rocket","eyes"],type:"string"},discussion_number:{required:!0,type:"integer"},page:{type:"integer"},per_page:{type:"integer"},team_id:{required:!0,type:"integer"}},url:"/teams/:team_id/discussions/:discussion_number/reactions"},listForTeamDiscussionComment:{deprecated:"octokit.reactions.listForTeamDiscussionComment() has been renamed to octokit.reactions.listForTeamDiscussionCommentLegacy() (2020-01-16)",headers:{accept:"application/vnd.github.squirrel-girl-preview+json"},method:"GET",params:{comment_number:{required:!0,type:"integer"},content:{enum:["+1","-1","laugh","confused","heart","hooray","rocket","eyes"],type:"string"},discussion_number:{required:!0,type:"integer"},page:{type:"integer"},per_page:{type:"integer"},team_id:{required:!0,type:"integer"}},url:"/teams/:team_id/discussions/:discussion_number/comments/:comment_number/reactions"},listForTeamDiscussionCommentInOrg:{headers:{accept:"application/vnd.github.squirrel-girl-preview+json"},method:"GET",params:{comment_number:{required:!0,type:"integer"},content:{enum:["+1","-1","laugh","confused","heart","hooray","rocket","eyes"],type:"string"},discussion_number:{required:!0,type:"integer"},org:{required:!0,type:"string"},page:{type:"integer"},per_page:{type:"integer"},team_slug:{required:!0,type:"string"}},url:"/orgs/:org/teams/:team_slug/discussions/:discussion_number/comments/:comment_number/reactions"},listForTeamDiscussionCommentLegacy:{deprecated:"octokit.reactions.listForTeamDiscussionCommentLegacy() is deprecated, see https://developer.github.com/v3/reactions/#list-reactions-for-a-team-discussion-comment-legacy",headers:{accept:"application/vnd.github.squirrel-girl-preview+json"},method:"GET",params:{comment_number:{required:!0,type:"integer"},content:{enum:["+1","-1","laugh","confused","heart","hooray","rocket","eyes"],type:"string"},discussion_number:{required:!0,type:"integer"},page:{type:"integer"},per_page:{type:"integer"},team_id:{required:!0,type:"integer"}},url:"/teams/:team_id/discussions/:discussion_number/comments/:comment_number/reactions"},listForTeamDiscussionInOrg:{headers:{accept:"application/vnd.github.squirrel-girl-preview+json"},method:"GET",params:{content:{enum:["+1","-1","laugh","confused","heart","hooray","rocket","eyes"],type:"string"},discussion_number:{required:!0,type:"integer"},org:{required:!0,type:"string"},page:{type:"integer"},per_page:{type:"integer"},team_slug:{required:!0,type:"string"}},url:"/orgs/:org/teams/:team_slug/discussions/:discussion_number/reactions"},listForTeamDiscussionLegacy:{deprecated:"octokit.reactions.listForTeamDiscussionLegacy() is deprecated, see https://developer.github.com/v3/reactions/#list-reactions-for-a-team-discussion-legacy",headers:{accept:"application/vnd.github.squirrel-girl-preview+json"},method:"GET",params:{content:{enum:["+1","-1","laugh","confused","heart","hooray","rocket","eyes"],type:"string"},discussion_number:{required:!0,type:"integer"},page:{type:"integer"},per_page:{type:"integer"},team_id:{required:!0,type:"integer"}},url:"/teams/:team_id/discussions/:discussion_number/reactions"}},repos:{acceptInvitation:{method:"PATCH",params:{invitation_id:{required:!0,type:"integer"}},url:"/user/repository_invitations/:invitation_id"},addCollaborator:{method:"PUT",params:{owner:{required:!0,type:"string"},permission:{enum:["pull","push","admin"],type:"string"},repo:{required:!0,type:"string"},username:{required:!0,type:"string"}},url:"/repos/:owner/:repo/collaborators/:username"},addDeployKey:{method:"POST",params:{key:{required:!0,type:"string"},owner:{required:!0,type:"string"},read_only:{type:"boolean"},repo:{required:!0,type:"string"},title:{type:"string"}},url:"/repos/:owner/:repo/keys"},addProtectedBranchAdminEnforcement:{method:"POST",params:{branch:{required:!0,type:"string"},owner:{required:!0,type:"string"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/branches/:branch/protection/enforce_admins"},addProtectedBranchAppRestrictions:{method:"POST",params:{apps:{mapTo:"data",required:!0,type:"string[]"},branch:{required:!0,type:"string"},owner:{required:!0,type:"string"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/branches/:branch/protection/restrictions/apps"},addProtectedBranchRequiredSignatures:{headers:{accept:"application/vnd.github.zzzax-preview+json"},method:"POST",params:{branch:{required:!0,type:"string"},owner:{required:!0,type:"string"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/branches/:branch/protection/required_signatures"},addProtectedBranchRequiredStatusChecksContexts:{method:"POST",params:{branch:{required:!0,type:"string"},contexts:{mapTo:"data",required:!0,type:"string[]"},owner:{required:!0,type:"string"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/branches/:branch/protection/required_status_checks/contexts"},addProtectedBranchTeamRestrictions:{method:"POST",params:{branch:{required:!0,type:"string"},owner:{required:!0,type:"string"},repo:{required:!0,type:"string"},teams:{mapTo:"data",required:!0,type:"string[]"}},url:"/repos/:owner/:repo/branches/:branch/protection/restrictions/teams"},addProtectedBranchUserRestrictions:{method:"POST",params:{branch:{required:!0,type:"string"},owner:{required:!0,type:"string"},repo:{required:!0,type:"string"},users:{mapTo:"data",required:!0,type:"string[]"}},url:"/repos/:owner/:repo/branches/:branch/protection/restrictions/users"},checkCollaborator:{method:"GET",params:{owner:{required:!0,type:"string"},repo:{required:!0,type:"string"},username:{required:!0,type:"string"}},url:"/repos/:owner/:repo/collaborators/:username"},checkVulnerabilityAlerts:{headers:{accept:"application/vnd.github.dorian-preview+json"},method:"GET",params:{owner:{required:!0,type:"string"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/vulnerability-alerts"},compareCommits:{method:"GET",params:{base:{required:!0,type:"string"},head:{required:!0,type:"string"},owner:{required:!0,type:"string"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/compare/:base...:head"},createCommitComment:{method:"POST",params:{body:{required:!0,type:"string"},commit_sha:{required:!0,type:"string"},line:{type:"integer"},owner:{required:!0,type:"string"},path:{type:"string"},position:{type:"integer"},repo:{required:!0,type:"string"},sha:{alias:"commit_sha",deprecated:!0,type:"string"}},url:"/repos/:owner/:repo/commits/:commit_sha/comments"},createDeployment:{method:"POST",params:{auto_merge:{type:"boolean"},description:{type:"string"},environment:{type:"string"},owner:{required:!0,type:"string"},payload:{type:"string"},production_environment:{type:"boolean"},ref:{required:!0,type:"string"},repo:{required:!0,type:"string"},required_contexts:{type:"string[]"},task:{type:"string"},transient_environment:{type:"boolean"}},url:"/repos/:owner/:repo/deployments"},createDeploymentStatus:{method:"POST",params:{auto_inactive:{type:"boolean"},deployment_id:{required:!0,type:"integer"},description:{type:"string"},environment:{enum:["production","staging","qa"],type:"string"},environment_url:{type:"string"},log_url:{type:"string"},owner:{required:!0,type:"string"},repo:{required:!0,type:"string"},state:{enum:["error","failure","inactive","in_progress","queued","pending","success"],required:!0,type:"string"},target_url:{type:"string"}},url:"/repos/:owner/:repo/deployments/:deployment_id/statuses"},createDispatchEvent:{method:"POST",params:{client_payload:{type:"object"},event_type:{type:"string"},owner:{required:!0,type:"string"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/dispatches"},createFile:{deprecated:"octokit.repos.createFile() has been renamed to octokit.repos.createOrUpdateFile() (2019-06-07)",method:"PUT",params:{author:{type:"object"},"author.email":{required:!0,type:"string"},"author.name":{required:!0,type:"string"},branch:{type:"string"},committer:{type:"object"},"committer.email":{required:!0,type:"string"},"committer.name":{required:!0,type:"string"},content:{required:!0,type:"string"},message:{required:!0,type:"string"},owner:{required:!0,type:"string"},path:{required:!0,type:"string"},repo:{required:!0,type:"string"},sha:{type:"string"}},url:"/repos/:owner/:repo/contents/:path"},createForAuthenticatedUser:{method:"POST",params:{allow_merge_commit:{type:"boolean"},allow_rebase_merge:{type:"boolean"},allow_squash_merge:{type:"boolean"},auto_init:{type:"boolean"},delete_branch_on_merge:{type:"boolean"},description:{type:"string"},gitignore_template:{type:"string"},has_issues:{type:"boolean"},has_projects:{type:"boolean"},has_wiki:{type:"boolean"},homepage:{type:"string"},is_template:{type:"boolean"},license_template:{type:"string"},name:{required:!0,type:"string"},private:{type:"boolean"},team_id:{type:"integer"},visibility:{enum:["public","private","visibility","internal"],type:"string"}},url:"/user/repos"},createFork:{method:"POST",params:{organization:{type:"string"},owner:{required:!0,type:"string"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/forks"},createHook:{method:"POST",params:{active:{type:"boolean"},config:{required:!0,type:"object"},"config.content_type":{type:"string"},"config.insecure_ssl":{type:"string"},"config.secret":{type:"string"},"config.url":{required:!0,type:"string"},events:{type:"string[]"},name:{type:"string"},owner:{required:!0,type:"string"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/hooks"},createInOrg:{method:"POST",params:{allow_merge_commit:{type:"boolean"},allow_rebase_merge:{type:"boolean"},allow_squash_merge:{type:"boolean"},auto_init:{type:"boolean"},delete_branch_on_merge:{type:"boolean"},description:{type:"string"},gitignore_template:{type:"string"},has_issues:{type:"boolean"},has_projects:{type:"boolean"},has_wiki:{type:"boolean"},homepage:{type:"string"},is_template:{type:"boolean"},license_template:{type:"string"},name:{required:!0,type:"string"},org:{required:!0,type:"string"},private:{type:"boolean"},team_id:{type:"integer"},visibility:{enum:["public","private","visibility","internal"],type:"string"}},url:"/orgs/:org/repos"},createOrUpdateFile:{method:"PUT",params:{author:{type:"object"},"author.email":{required:!0,type:"string"},"author.name":{required:!0,type:"string"},branch:{type:"string"},committer:{type:"object"},"committer.email":{required:!0,type:"string"},"committer.name":{required:!0,type:"string"},content:{required:!0,type:"string"},message:{required:!0,type:"string"},owner:{required:!0,type:"string"},path:{required:!0,type:"string"},repo:{required:!0,type:"string"},sha:{type:"string"}},url:"/repos/:owner/:repo/contents/:path"},createRelease:{method:"POST",params:{body:{type:"string"},draft:{type:"boolean"},name:{type:"string"},owner:{required:!0,type:"string"},prerelease:{type:"boolean"},repo:{required:!0,type:"string"},tag_name:{required:!0,type:"string"},target_commitish:{type:"string"}},url:"/repos/:owner/:repo/releases"},createStatus:{method:"POST",params:{context:{type:"string"},description:{type:"string"},owner:{required:!0,type:"string"},repo:{required:!0,type:"string"},sha:{required:!0,type:"string"},state:{enum:["error","failure","pending","success"],required:!0,type:"string"},target_url:{type:"string"}},url:"/repos/:owner/:repo/statuses/:sha"},createUsingTemplate:{headers:{accept:"application/vnd.github.baptiste-preview+json"},method:"POST",params:{description:{type:"string"},name:{required:!0,type:"string"},owner:{type:"string"},private:{type:"boolean"},template_owner:{required:!0,type:"string"},template_repo:{required:!0,type:"string"}},url:"/repos/:template_owner/:template_repo/generate"},declineInvitation:{method:"DELETE",params:{invitation_id:{required:!0,type:"integer"}},url:"/user/repository_invitations/:invitation_id"},delete:{method:"DELETE",params:{owner:{required:!0,type:"string"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo"},deleteCommitComment:{method:"DELETE",params:{comment_id:{required:!0,type:"integer"},owner:{required:!0,type:"string"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/comments/:comment_id"},deleteDownload:{method:"DELETE",params:{download_id:{required:!0,type:"integer"},owner:{required:!0,type:"string"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/downloads/:download_id"},deleteFile:{method:"DELETE",params:{author:{type:"object"},"author.email":{type:"string"},"author.name":{type:"string"},branch:{type:"string"},committer:{type:"object"},"committer.email":{type:"string"},"committer.name":{type:"string"},message:{required:!0,type:"string"},owner:{required:!0,type:"string"},path:{required:!0,type:"string"},repo:{required:!0,type:"string"},sha:{required:!0,type:"string"}},url:"/repos/:owner/:repo/contents/:path"},deleteHook:{method:"DELETE",params:{hook_id:{required:!0,type:"integer"},owner:{required:!0,type:"string"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/hooks/:hook_id"},deleteInvitation:{method:"DELETE",params:{invitation_id:{required:!0,type:"integer"},owner:{required:!0,type:"string"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/invitations/:invitation_id"},deleteRelease:{method:"DELETE",params:{owner:{required:!0,type:"string"},release_id:{required:!0,type:"integer"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/releases/:release_id"},deleteReleaseAsset:{method:"DELETE",params:{asset_id:{required:!0,type:"integer"},owner:{required:!0,type:"string"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/releases/assets/:asset_id"},disableAutomatedSecurityFixes:{headers:{accept:"application/vnd.github.london-preview+json"},method:"DELETE",params:{owner:{required:!0,type:"string"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/automated-security-fixes"},disablePagesSite:{headers:{accept:"application/vnd.github.switcheroo-preview+json"},method:"DELETE",params:{owner:{required:!0,type:"string"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/pages"},disableVulnerabilityAlerts:{headers:{accept:"application/vnd.github.dorian-preview+json"},method:"DELETE",params:{owner:{required:!0,type:"string"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/vulnerability-alerts"},enableAutomatedSecurityFixes:{headers:{accept:"application/vnd.github.london-preview+json"},method:"PUT",params:{owner:{required:!0,type:"string"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/automated-security-fixes"},enablePagesSite:{headers:{accept:"application/vnd.github.switcheroo-preview+json"},method:"POST",params:{owner:{required:!0,type:"string"},repo:{required:!0,type:"string"},source:{type:"object"},"source.branch":{enum:["master","gh-pages"],type:"string"},"source.path":{type:"string"}},url:"/repos/:owner/:repo/pages"},enableVulnerabilityAlerts:{headers:{accept:"application/vnd.github.dorian-preview+json"},method:"PUT",params:{owner:{required:!0,type:"string"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/vulnerability-alerts"},get:{method:"GET",params:{owner:{required:!0,type:"string"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo"},getAppsWithAccessToProtectedBranch:{method:"GET",params:{branch:{required:!0,type:"string"},owner:{required:!0,type:"string"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/branches/:branch/protection/restrictions/apps"},getArchiveLink:{method:"GET",params:{archive_format:{required:!0,type:"string"},owner:{required:!0,type:"string"},ref:{required:!0,type:"string"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/:archive_format/:ref"},getBranch:{method:"GET",params:{branch:{required:!0,type:"string"},owner:{required:!0,type:"string"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/branches/:branch"},getBranchProtection:{method:"GET",params:{branch:{required:!0,type:"string"},owner:{required:!0,type:"string"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/branches/:branch/protection"},getClones:{method:"GET",params:{owner:{required:!0,type:"string"},per:{enum:["day","week"],type:"string"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/traffic/clones"},getCodeFrequencyStats:{method:"GET",params:{owner:{required:!0,type:"string"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/stats/code_frequency"},getCollaboratorPermissionLevel:{method:"GET",params:{owner:{required:!0,type:"string"},repo:{required:!0,type:"string"},username:{required:!0,type:"string"}},url:"/repos/:owner/:repo/collaborators/:username/permission"},getCombinedStatusForRef:{method:"GET",params:{owner:{required:!0,type:"string"},ref:{required:!0,type:"string"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/commits/:ref/status"},getCommit:{method:"GET",params:{commit_sha:{alias:"ref",deprecated:!0,type:"string"},owner:{required:!0,type:"string"},ref:{required:!0,type:"string"},repo:{required:!0,type:"string"},sha:{alias:"ref",deprecated:!0,type:"string"}},url:"/repos/:owner/:repo/commits/:ref"},getCommitActivityStats:{method:"GET",params:{owner:{required:!0,type:"string"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/stats/commit_activity"},getCommitComment:{method:"GET",params:{comment_id:{required:!0,type:"integer"},owner:{required:!0,type:"string"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/comments/:comment_id"},getCommitRefSha:{deprecated:"octokit.repos.getCommitRefSha() is deprecated, see https://developer.github.com/v3/repos/commits/#get-a-single-commit",headers:{accept:"application/vnd.github.v3.sha"},method:"GET",params:{owner:{required:!0,type:"string"},ref:{required:!0,type:"string"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/commits/:ref"},getContents:{method:"GET",params:{owner:{required:!0,type:"string"},path:{required:!0,type:"string"},ref:{type:"string"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/contents/:path"},getContributorsStats:{method:"GET",params:{owner:{required:!0,type:"string"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/stats/contributors"},getDeployKey:{method:"GET",params:{key_id:{required:!0,type:"integer"},owner:{required:!0,type:"string"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/keys/:key_id"},getDeployment:{method:"GET",params:{deployment_id:{required:!0,type:"integer"},owner:{required:!0,type:"string"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/deployments/:deployment_id"},getDeploymentStatus:{method:"GET",params:{deployment_id:{required:!0,type:"integer"},owner:{required:!0,type:"string"},repo:{required:!0,type:"string"},status_id:{required:!0,type:"integer"}},url:"/repos/:owner/:repo/deployments/:deployment_id/statuses/:status_id"},getDownload:{method:"GET",params:{download_id:{required:!0,type:"integer"},owner:{required:!0,type:"string"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/downloads/:download_id"},getHook:{method:"GET",params:{hook_id:{required:!0,type:"integer"},owner:{required:!0,type:"string"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/hooks/:hook_id"},getLatestPagesBuild:{method:"GET",params:{owner:{required:!0,type:"string"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/pages/builds/latest"},getLatestRelease:{method:"GET",params:{owner:{required:!0,type:"string"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/releases/latest"},getPages:{method:"GET",params:{owner:{required:!0,type:"string"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/pages"},getPagesBuild:{method:"GET",params:{build_id:{required:!0,type:"integer"},owner:{required:!0,type:"string"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/pages/builds/:build_id"},getParticipationStats:{method:"GET",params:{owner:{required:!0,type:"string"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/stats/participation"},getProtectedBranchAdminEnforcement:{method:"GET",params:{branch:{required:!0,type:"string"},owner:{required:!0,type:"string"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/branches/:branch/protection/enforce_admins"},getProtectedBranchPullRequestReviewEnforcement:{method:"GET",params:{branch:{required:!0,type:"string"},owner:{required:!0,type:"string"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/branches/:branch/protection/required_pull_request_reviews"},getProtectedBranchRequiredSignatures:{headers:{accept:"application/vnd.github.zzzax-preview+json"},method:"GET",params:{branch:{required:!0,type:"string"},owner:{required:!0,type:"string"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/branches/:branch/protection/required_signatures"},getProtectedBranchRequiredStatusChecks:{method:"GET",params:{branch:{required:!0,type:"string"},owner:{required:!0,type:"string"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/branches/:branch/protection/required_status_checks"},getProtectedBranchRestrictions:{method:"GET",params:{branch:{required:!0,type:"string"},owner:{required:!0,type:"string"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/branches/:branch/protection/restrictions"},getPunchCardStats:{method:"GET",params:{owner:{required:!0,type:"string"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/stats/punch_card"},getReadme:{method:"GET",params:{owner:{required:!0,type:"string"},ref:{type:"string"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/readme"},getRelease:{method:"GET",params:{owner:{required:!0,type:"string"},release_id:{required:!0,type:"integer"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/releases/:release_id"},getReleaseAsset:{method:"GET",params:{asset_id:{required:!0,type:"integer"},owner:{required:!0,type:"string"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/releases/assets/:asset_id"},getReleaseByTag:{method:"GET",params:{owner:{required:!0,type:"string"},repo:{required:!0,type:"string"},tag:{required:!0,type:"string"}},url:"/repos/:owner/:repo/releases/tags/:tag"},getTeamsWithAccessToProtectedBranch:{method:"GET",params:{branch:{required:!0,type:"string"},owner:{required:!0,type:"string"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/branches/:branch/protection/restrictions/teams"},getTopPaths:{method:"GET",params:{owner:{required:!0,type:"string"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/traffic/popular/paths"},getTopReferrers:{method:"GET",params:{owner:{required:!0,type:"string"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/traffic/popular/referrers"},getUsersWithAccessToProtectedBranch:{method:"GET",params:{branch:{required:!0,type:"string"},owner:{required:!0,type:"string"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/branches/:branch/protection/restrictions/users"},getViews:{method:"GET",params:{owner:{required:!0,type:"string"},per:{enum:["day","week"],type:"string"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/traffic/views"},list:{method:"GET",params:{affiliation:{type:"string"},direction:{enum:["asc","desc"],type:"string"},page:{type:"integer"},per_page:{type:"integer"},sort:{enum:["created","updated","pushed","full_name"],type:"string"},type:{enum:["all","owner","public","private","member"],type:"string"},visibility:{enum:["all","public","private"],type:"string"}},url:"/user/repos"},listAppsWithAccessToProtectedBranch:{deprecated:"octokit.repos.listAppsWithAccessToProtectedBranch() has been renamed to octokit.repos.getAppsWithAccessToProtectedBranch() (2019-09-13)",method:"GET",params:{branch:{required:!0,type:"string"},owner:{required:!0,type:"string"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/branches/:branch/protection/restrictions/apps"},listAssetsForRelease:{method:"GET",params:{owner:{required:!0,type:"string"},page:{type:"integer"},per_page:{type:"integer"},release_id:{required:!0,type:"integer"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/releases/:release_id/assets"},listBranches:{method:"GET",params:{owner:{required:!0,type:"string"},page:{type:"integer"},per_page:{type:"integer"},protected:{type:"boolean"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/branches"},listBranchesForHeadCommit:{headers:{accept:"application/vnd.github.groot-preview+json"},method:"GET",params:{commit_sha:{required:!0,type:"string"},owner:{required:!0,type:"string"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/commits/:commit_sha/branches-where-head"},listCollaborators:{method:"GET",params:{affiliation:{enum:["outside","direct","all"],type:"string"},owner:{required:!0,type:"string"},page:{type:"integer"},per_page:{type:"integer"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/collaborators"},listCommentsForCommit:{method:"GET",params:{commit_sha:{required:!0,type:"string"},owner:{required:!0,type:"string"},page:{type:"integer"},per_page:{type:"integer"},ref:{alias:"commit_sha",deprecated:!0,type:"string"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/commits/:commit_sha/comments"},listCommitComments:{method:"GET",params:{owner:{required:!0,type:"string"},page:{type:"integer"},per_page:{type:"integer"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/comments"},listCommits:{method:"GET",params:{author:{type:"string"},owner:{required:!0,type:"string"},page:{type:"integer"},path:{type:"string"},per_page:{type:"integer"},repo:{required:!0,type:"string"},sha:{type:"string"},since:{type:"string"},until:{type:"string"}},url:"/repos/:owner/:repo/commits"},listContributors:{method:"GET",params:{anon:{type:"string"},owner:{required:!0,type:"string"},page:{type:"integer"},per_page:{type:"integer"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/contributors"},listDeployKeys:{method:"GET",params:{owner:{required:!0,type:"string"},page:{type:"integer"},per_page:{type:"integer"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/keys"},listDeploymentStatuses:{method:"GET",params:{deployment_id:{required:!0,type:"integer"},owner:{required:!0,type:"string"},page:{type:"integer"},per_page:{type:"integer"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/deployments/:deployment_id/statuses"},listDeployments:{method:"GET",params:{environment:{type:"string"},owner:{required:!0,type:"string"},page:{type:"integer"},per_page:{type:"integer"},ref:{type:"string"},repo:{required:!0,type:"string"},sha:{type:"string"},task:{type:"string"}},url:"/repos/:owner/:repo/deployments"},listDownloads:{method:"GET",params:{owner:{required:!0,type:"string"},page:{type:"integer"},per_page:{type:"integer"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/downloads"},listForOrg:{method:"GET",params:{direction:{enum:["asc","desc"],type:"string"},org:{required:!0,type:"string"},page:{type:"integer"},per_page:{type:"integer"},sort:{enum:["created","updated","pushed","full_name"],type:"string"},type:{enum:["all","public","private","forks","sources","member","internal"],type:"string"}},url:"/orgs/:org/repos"},listForUser:{method:"GET",params:{direction:{enum:["asc","desc"],type:"string"},page:{type:"integer"},per_page:{type:"integer"},sort:{enum:["created","updated","pushed","full_name"],type:"string"},type:{enum:["all","owner","member"],type:"string"},username:{required:!0,type:"string"}},url:"/users/:username/repos"},listForks:{method:"GET",params:{owner:{required:!0,type:"string"},page:{type:"integer"},per_page:{type:"integer"},repo:{required:!0,type:"string"},sort:{enum:["newest","oldest","stargazers"],type:"string"}},url:"/repos/:owner/:repo/forks"},listHooks:{method:"GET",params:{owner:{required:!0,type:"string"},page:{type:"integer"},per_page:{type:"integer"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/hooks"},listInvitations:{method:"GET",params:{owner:{required:!0,type:"string"},page:{type:"integer"},per_page:{type:"integer"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/invitations"},listInvitationsForAuthenticatedUser:{method:"GET",params:{page:{type:"integer"},per_page:{type:"integer"}},url:"/user/repository_invitations"},listLanguages:{method:"GET",params:{owner:{required:!0,type:"string"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/languages"},listPagesBuilds:{method:"GET",params:{owner:{required:!0,type:"string"},page:{type:"integer"},per_page:{type:"integer"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/pages/builds"},listProtectedBranchRequiredStatusChecksContexts:{method:"GET",params:{branch:{required:!0,type:"string"},owner:{required:!0,type:"string"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/branches/:branch/protection/required_status_checks/contexts"},listProtectedBranchTeamRestrictions:{deprecated:"octokit.repos.listProtectedBranchTeamRestrictions() has been renamed to octokit.repos.getTeamsWithAccessToProtectedBranch() (2019-09-09)",method:"GET",params:{branch:{required:!0,type:"string"},owner:{required:!0,type:"string"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/branches/:branch/protection/restrictions/teams"},listProtectedBranchUserRestrictions:{deprecated:"octokit.repos.listProtectedBranchUserRestrictions() has been renamed to octokit.repos.getUsersWithAccessToProtectedBranch() (2019-09-09)",method:"GET",params:{branch:{required:!0,type:"string"},owner:{required:!0,type:"string"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/branches/:branch/protection/restrictions/users"},listPublic:{method:"GET",params:{page:{type:"integer"},per_page:{type:"integer"},since:{type:"integer"}},url:"/repositories"},listPullRequestsAssociatedWithCommit:{headers:{accept:"application/vnd.github.groot-preview+json"},method:"GET",params:{commit_sha:{required:!0,type:"string"},owner:{required:!0,type:"string"},page:{type:"integer"},per_page:{type:"integer"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/commits/:commit_sha/pulls"},listReleases:{method:"GET",params:{owner:{required:!0,type:"string"},page:{type:"integer"},per_page:{type:"integer"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/releases"},listStatusesForRef:{method:"GET",params:{owner:{required:!0,type:"string"},page:{type:"integer"},per_page:{type:"integer"},ref:{required:!0,type:"string"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/commits/:ref/statuses"},listTags:{method:"GET",params:{owner:{required:!0,type:"string"},page:{type:"integer"},per_page:{type:"integer"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/tags"},listTeams:{method:"GET",params:{owner:{required:!0,type:"string"},page:{type:"integer"},per_page:{type:"integer"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/teams"},listTeamsWithAccessToProtectedBranch:{deprecated:"octokit.repos.listTeamsWithAccessToProtectedBranch() has been renamed to octokit.repos.getTeamsWithAccessToProtectedBranch() (2019-09-13)",method:"GET",params:{branch:{required:!0,type:"string"},owner:{required:!0,type:"string"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/branches/:branch/protection/restrictions/teams"},listTopics:{headers:{accept:"application/vnd.github.mercy-preview+json"},method:"GET",params:{owner:{required:!0,type:"string"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/topics"},listUsersWithAccessToProtectedBranch:{deprecated:"octokit.repos.listUsersWithAccessToProtectedBranch() has been renamed to octokit.repos.getUsersWithAccessToProtectedBranch() (2019-09-13)",method:"GET",params:{branch:{required:!0,type:"string"},owner:{required:!0,type:"string"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/branches/:branch/protection/restrictions/users"},merge:{method:"POST",params:{base:{required:!0,type:"string"},commit_message:{type:"string"},head:{required:!0,type:"string"},owner:{required:!0,type:"string"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/merges"},pingHook:{method:"POST",params:{hook_id:{required:!0,type:"integer"},owner:{required:!0,type:"string"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/hooks/:hook_id/pings"},removeBranchProtection:{method:"DELETE",params:{branch:{required:!0,type:"string"},owner:{required:!0,type:"string"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/branches/:branch/protection"},removeCollaborator:{method:"DELETE",params:{owner:{required:!0,type:"string"},repo:{required:!0,type:"string"},username:{required:!0,type:"string"}},url:"/repos/:owner/:repo/collaborators/:username"},removeDeployKey:{method:"DELETE",params:{key_id:{required:!0,type:"integer"},owner:{required:!0,type:"string"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/keys/:key_id"},removeProtectedBranchAdminEnforcement:{method:"DELETE",params:{branch:{required:!0,type:"string"},owner:{required:!0,type:"string"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/branches/:branch/protection/enforce_admins"},removeProtectedBranchAppRestrictions:{method:"DELETE",params:{apps:{mapTo:"data",required:!0,type:"string[]"},branch:{required:!0,type:"string"},owner:{required:!0,type:"string"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/branches/:branch/protection/restrictions/apps"},removeProtectedBranchPullRequestReviewEnforcement:{method:"DELETE",params:{branch:{required:!0,type:"string"},owner:{required:!0,type:"string"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/branches/:branch/protection/required_pull_request_reviews"},removeProtectedBranchRequiredSignatures:{headers:{accept:"application/vnd.github.zzzax-preview+json"},method:"DELETE",params:{branch:{required:!0,type:"string"},owner:{required:!0,type:"string"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/branches/:branch/protection/required_signatures"},removeProtectedBranchRequiredStatusChecks:{method:"DELETE",params:{branch:{required:!0,type:"string"},owner:{required:!0,type:"string"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/branches/:branch/protection/required_status_checks"},removeProtectedBranchRequiredStatusChecksContexts:{method:"DELETE",params:{branch:{required:!0,type:"string"},contexts:{mapTo:"data",required:!0,type:"string[]"},owner:{required:!0,type:"string"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/branches/:branch/protection/required_status_checks/contexts"},removeProtectedBranchRestrictions:{method:"DELETE",params:{branch:{required:!0,type:"string"},owner:{required:!0,type:"string"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/branches/:branch/protection/restrictions"},removeProtectedBranchTeamRestrictions:{method:"DELETE",params:{branch:{required:!0,type:"string"},owner:{required:!0,type:"string"},repo:{required:!0,type:"string"},teams:{mapTo:"data",required:!0,type:"string[]"}},url:"/repos/:owner/:repo/branches/:branch/protection/restrictions/teams"},removeProtectedBranchUserRestrictions:{method:"DELETE",params:{branch:{required:!0,type:"string"},owner:{required:!0,type:"string"},repo:{required:!0,type:"string"},users:{mapTo:"data",required:!0,type:"string[]"}},url:"/repos/:owner/:repo/branches/:branch/protection/restrictions/users"},replaceProtectedBranchAppRestrictions:{method:"PUT",params:{apps:{mapTo:"data",required:!0,type:"string[]"},branch:{required:!0,type:"string"},owner:{required:!0,type:"string"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/branches/:branch/protection/restrictions/apps"},replaceProtectedBranchRequiredStatusChecksContexts:{method:"PUT",params:{branch:{required:!0,type:"string"},contexts:{mapTo:"data",required:!0,type:"string[]"},owner:{required:!0,type:"string"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/branches/:branch/protection/required_status_checks/contexts"},replaceProtectedBranchTeamRestrictions:{method:"PUT",params:{branch:{required:!0,type:"string"},owner:{required:!0,type:"string"},repo:{required:!0,type:"string"},teams:{mapTo:"data",required:!0,type:"string[]"}},url:"/repos/:owner/:repo/branches/:branch/protection/restrictions/teams"},replaceProtectedBranchUserRestrictions:{method:"PUT",params:{branch:{required:!0,type:"string"},owner:{required:!0,type:"string"},repo:{required:!0,type:"string"},users:{mapTo:"data",required:!0,type:"string[]"}},url:"/repos/:owner/:repo/branches/:branch/protection/restrictions/users"},replaceTopics:{headers:{accept:"application/vnd.github.mercy-preview+json"},method:"PUT",params:{names:{required:!0,type:"string[]"},owner:{required:!0,type:"string"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/topics"},requestPageBuild:{method:"POST",params:{owner:{required:!0,type:"string"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/pages/builds"},retrieveCommunityProfileMetrics:{method:"GET",params:{owner:{required:!0,type:"string"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/community/profile"},testPushHook:{method:"POST",params:{hook_id:{required:!0,type:"integer"},owner:{required:!0,type:"string"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/hooks/:hook_id/tests"},transfer:{method:"POST",params:{new_owner:{type:"string"},owner:{required:!0,type:"string"},repo:{required:!0,type:"string"},team_ids:{type:"integer[]"}},url:"/repos/:owner/:repo/transfer"},update:{method:"PATCH",params:{allow_merge_commit:{type:"boolean"},allow_rebase_merge:{type:"boolean"},allow_squash_merge:{type:"boolean"},archived:{type:"boolean"},default_branch:{type:"string"},delete_branch_on_merge:{type:"boolean"},description:{type:"string"},has_issues:{type:"boolean"},has_projects:{type:"boolean"},has_wiki:{type:"boolean"},homepage:{type:"string"},is_template:{type:"boolean"},name:{type:"string"},owner:{required:!0,type:"string"},private:{type:"boolean"},repo:{required:!0,type:"string"},visibility:{enum:["public","private","visibility","internal"],type:"string"}},url:"/repos/:owner/:repo"},updateBranchProtection:{method:"PUT",params:{allow_deletions:{type:"boolean"},allow_force_pushes:{allowNull:!0,type:"boolean"},branch:{required:!0,type:"string"},enforce_admins:{allowNull:!0,required:!0,type:"boolean"},owner:{required:!0,type:"string"},repo:{required:!0,type:"string"},required_linear_history:{type:"boolean"},required_pull_request_reviews:{allowNull:!0,required:!0,type:"object"},"required_pull_request_reviews.dismiss_stale_reviews":{type:"boolean"},"required_pull_request_reviews.dismissal_restrictions":{type:"object"},"required_pull_request_reviews.dismissal_restrictions.teams":{type:"string[]"},"required_pull_request_reviews.dismissal_restrictions.users":{type:"string[]"},"required_pull_request_reviews.require_code_owner_reviews":{type:"boolean"},"required_pull_request_reviews.required_approving_review_count":{type:"integer"},required_status_checks:{allowNull:!0,required:!0,type:"object"},"required_status_checks.contexts":{required:!0,type:"string[]"},"required_status_checks.strict":{required:!0,type:"boolean"},restrictions:{allowNull:!0,required:!0,type:"object"},"restrictions.apps":{type:"string[]"},"restrictions.teams":{required:!0,type:"string[]"},"restrictions.users":{required:!0,type:"string[]"}},url:"/repos/:owner/:repo/branches/:branch/protection"},updateCommitComment:{method:"PATCH",params:{body:{required:!0,type:"string"},comment_id:{required:!0,type:"integer"},owner:{required:!0,type:"string"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/comments/:comment_id"},updateFile:{deprecated:"octokit.repos.updateFile() has been renamed to octokit.repos.createOrUpdateFile() (2019-06-07)",method:"PUT",params:{author:{type:"object"},"author.email":{required:!0,type:"string"},"author.name":{required:!0,type:"string"},branch:{type:"string"},committer:{type:"object"},"committer.email":{required:!0,type:"string"},"committer.name":{required:!0,type:"string"},content:{required:!0,type:"string"},message:{required:!0,type:"string"},owner:{required:!0,type:"string"},path:{required:!0,type:"string"},repo:{required:!0,type:"string"},sha:{type:"string"}},url:"/repos/:owner/:repo/contents/:path"},updateHook:{method:"PATCH",params:{active:{type:"boolean"},add_events:{type:"string[]"},config:{type:"object"},"config.content_type":{type:"string"},"config.insecure_ssl":{type:"string"},"config.secret":{type:"string"},"config.url":{required:!0,type:"string"},events:{type:"string[]"},hook_id:{required:!0,type:"integer"},owner:{required:!0,type:"string"},remove_events:{type:"string[]"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/hooks/:hook_id"},updateInformationAboutPagesSite:{method:"PUT",params:{cname:{type:"string"},owner:{required:!0,type:"string"},repo:{required:!0,type:"string"},source:{enum:['"gh-pages"','"master"','"master /docs"'],type:"string"}},url:"/repos/:owner/:repo/pages"},updateInvitation:{method:"PATCH",params:{invitation_id:{required:!0,type:"integer"},owner:{required:!0,type:"string"},permissions:{enum:["read","write","admin"],type:"string"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/invitations/:invitation_id"},updateProtectedBranchPullRequestReviewEnforcement:{method:"PATCH",params:{branch:{required:!0,type:"string"},dismiss_stale_reviews:{type:"boolean"},dismissal_restrictions:{type:"object"},"dismissal_restrictions.teams":{type:"string[]"},"dismissal_restrictions.users":{type:"string[]"},owner:{required:!0,type:"string"},repo:{required:!0,type:"string"},require_code_owner_reviews:{type:"boolean"},required_approving_review_count:{type:"integer"}},url:"/repos/:owner/:repo/branches/:branch/protection/required_pull_request_reviews"},updateProtectedBranchRequiredStatusChecks:{method:"PATCH",params:{branch:{required:!0,type:"string"},contexts:{type:"string[]"},owner:{required:!0,type:"string"},repo:{required:!0,type:"string"},strict:{type:"boolean"}},url:"/repos/:owner/:repo/branches/:branch/protection/required_status_checks"},updateRelease:{method:"PATCH",params:{body:{type:"string"},draft:{type:"boolean"},name:{type:"string"},owner:{required:!0,type:"string"},prerelease:{type:"boolean"},release_id:{required:!0,type:"integer"},repo:{required:!0,type:"string"},tag_name:{type:"string"},target_commitish:{type:"string"}},url:"/repos/:owner/:repo/releases/:release_id"},updateReleaseAsset:{method:"PATCH",params:{asset_id:{required:!0,type:"integer"},label:{type:"string"},name:{type:"string"},owner:{required:!0,type:"string"},repo:{required:!0,type:"string"}},url:"/repos/:owner/:repo/releases/assets/:asset_id"},uploadReleaseAsset:{method:"POST",params:{data:{mapTo:"data",required:!0,type:"string | object"},file:{alias:"data",deprecated:!0,type:"string | object"},headers:{required:!0,type:"object"},"headers.content-length":{required:!0,type:"integer"},"headers.content-type":{required:!0,type:"string"},label:{type:"string"},name:{required:!0,type:"string"},url:{required:!0,type:"string"}},url:":url"}},search:{code:{method:"GET",params:{order:{enum:["desc","asc"],type:"string"},page:{type:"integer"},per_page:{type:"integer"},q:{required:!0,type:"string"},sort:{enum:["indexed"],type:"string"}},url:"/search/code"},commits:{headers:{accept:"application/vnd.github.cloak-preview+json"},method:"GET",params:{order:{enum:["desc","asc"],type:"string"},page:{type:"integer"},per_page:{type:"integer"},q:{required:!0,type:"string"},sort:{enum:["author-date","committer-date"],type:"string"}},url:"/search/commits"},issues:{deprecated:"octokit.search.issues() has been renamed to octokit.search.issuesAndPullRequests() (2018-12-27)",method:"GET",params:{order:{enum:["desc","asc"],type:"string"},page:{type:"integer"},per_page:{type:"integer"},q:{required:!0,type:"string"},sort:{enum:["comments","reactions","reactions-+1","reactions--1","reactions-smile","reactions-thinking_face","reactions-heart","reactions-tada","interactions","created","updated"],type:"string"}},url:"/search/issues"},issuesAndPullRequests:{method:"GET",params:{order:{enum:["desc","asc"],type:"string"},page:{type:"integer"},per_page:{type:"integer"},q:{required:!0,type:"string"},sort:{enum:["comments","reactions","reactions-+1","reactions--1","reactions-smile","reactions-thinking_face","reactions-heart","reactions-tada","interactions","created","updated"],type:"string"}},url:"/search/issues"},labels:{method:"GET",params:{order:{enum:["desc","asc"],type:"string"},q:{required:!0,type:"string"},repository_id:{required:!0,type:"integer"},sort:{enum:["created","updated"],type:"string"}},url:"/search/labels"},repos:{method:"GET",params:{order:{enum:["desc","asc"],type:"string"},page:{type:"integer"},per_page:{type:"integer"},q:{required:!0,type:"string"},sort:{enum:["stars","forks","help-wanted-issues","updated"],type:"string"}},url:"/search/repositories"},topics:{method:"GET",params:{q:{required:!0,type:"string"}},url:"/search/topics"},users:{method:"GET",params:{order:{enum:["desc","asc"],type:"string"},page:{type:"integer"},per_page:{type:"integer"},q:{required:!0,type:"string"},sort:{enum:["followers","repositories","joined"],type:"string"}},url:"/search/users"}},teams:{addMember:{deprecated:"octokit.teams.addMember() has been renamed to octokit.teams.addMemberLegacy() (2020-01-16)",method:"PUT",params:{team_id:{required:!0,type:"integer"},username:{required:!0,type:"string"}},url:"/teams/:team_id/members/:username"},addMemberLegacy:{deprecated:"octokit.teams.addMemberLegacy() is deprecated, see https://developer.github.com/v3/teams/members/#add-team-member-legacy",method:"PUT",params:{team_id:{required:!0,type:"integer"},username:{required:!0,type:"string"}},url:"/teams/:team_id/members/:username"},addOrUpdateMembership:{deprecated:"octokit.teams.addOrUpdateMembership() has been renamed to octokit.teams.addOrUpdateMembershipLegacy() (2020-01-16)",method:"PUT",params:{role:{enum:["member","maintainer"],type:"string"},team_id:{required:!0,type:"integer"},username:{required:!0,type:"string"}},url:"/teams/:team_id/memberships/:username"},addOrUpdateMembershipInOrg:{method:"PUT",params:{org:{required:!0,type:"string"},role:{enum:["member","maintainer"],type:"string"},team_slug:{required:!0,type:"string"},username:{required:!0,type:"string"}},url:"/orgs/:org/teams/:team_slug/memberships/:username"},addOrUpdateMembershipLegacy:{deprecated:"octokit.teams.addOrUpdateMembershipLegacy() is deprecated, see https://developer.github.com/v3/teams/members/#add-or-update-team-membership-legacy",method:"PUT",params:{role:{enum:["member","maintainer"],type:"string"},team_id:{required:!0,type:"integer"},username:{required:!0,type:"string"}},url:"/teams/:team_id/memberships/:username"},addOrUpdateProject:{deprecated:"octokit.teams.addOrUpdateProject() has been renamed to octokit.teams.addOrUpdateProjectLegacy() (2020-01-16)",headers:{accept:"application/vnd.github.inertia-preview+json"},method:"PUT",params:{permission:{enum:["read","write","admin"],type:"string"},project_id:{required:!0,type:"integer"},team_id:{required:!0,type:"integer"}},url:"/teams/:team_id/projects/:project_id"},addOrUpdateProjectInOrg:{headers:{accept:"application/vnd.github.inertia-preview+json"},method:"PUT",params:{org:{required:!0,type:"string"},permission:{enum:["read","write","admin"],type:"string"},project_id:{required:!0,type:"integer"},team_slug:{required:!0,type:"string"}},url:"/orgs/:org/teams/:team_slug/projects/:project_id"},addOrUpdateProjectLegacy:{deprecated:"octokit.teams.addOrUpdateProjectLegacy() is deprecated, see https://developer.github.com/v3/teams/#add-or-update-team-project-legacy",headers:{accept:"application/vnd.github.inertia-preview+json"},method:"PUT",params:{permission:{enum:["read","write","admin"],type:"string"},project_id:{required:!0,type:"integer"},team_id:{required:!0,type:"integer"}},url:"/teams/:team_id/projects/:project_id"},addOrUpdateRepo:{deprecated:"octokit.teams.addOrUpdateRepo() has been renamed to octokit.teams.addOrUpdateRepoLegacy() (2020-01-16)",method:"PUT",params:{owner:{required:!0,type:"string"},permission:{enum:["pull","push","admin"],type:"string"},repo:{required:!0,type:"string"},team_id:{required:!0,type:"integer"}},url:"/teams/:team_id/repos/:owner/:repo"},addOrUpdateRepoInOrg:{method:"PUT",params:{org:{required:!0,type:"string"},owner:{required:!0,type:"string"},permission:{enum:["pull","push","admin"],type:"string"},repo:{required:!0,type:"string"},team_slug:{required:!0,type:"string"}},url:"/orgs/:org/teams/:team_slug/repos/:owner/:repo"},addOrUpdateRepoLegacy:{deprecated:"octokit.teams.addOrUpdateRepoLegacy() is deprecated, see https://developer.github.com/v3/teams/#add-or-update-team-repository-legacy",method:"PUT",params:{owner:{required:!0,type:"string"},permission:{enum:["pull","push","admin"],type:"string"},repo:{required:!0,type:"string"},team_id:{required:!0,type:"integer"}},url:"/teams/:team_id/repos/:owner/:repo"},checkManagesRepo:{deprecated:"octokit.teams.checkManagesRepo() has been renamed to octokit.teams.checkManagesRepoLegacy() (2020-01-16)",method:"GET",params:{owner:{required:!0,type:"string"},repo:{required:!0,type:"string"},team_id:{required:!0,type:"integer"}},url:"/teams/:team_id/repos/:owner/:repo"},checkManagesRepoInOrg:{method:"GET",params:{org:{required:!0,type:"string"},owner:{required:!0,type:"string"},repo:{required:!0,type:"string"},team_slug:{required:!0,type:"string"}},url:"/orgs/:org/teams/:team_slug/repos/:owner/:repo"},checkManagesRepoLegacy:{deprecated:"octokit.teams.checkManagesRepoLegacy() is deprecated, see https://developer.github.com/v3/teams/#check-if-a-team-manages-a-repository-legacy",method:"GET",params:{owner:{required:!0,type:"string"},repo:{required:!0,type:"string"},team_id:{required:!0,type:"integer"}},url:"/teams/:team_id/repos/:owner/:repo"},create:{method:"POST",params:{description:{type:"string"},maintainers:{type:"string[]"},name:{required:!0,type:"string"},org:{required:!0,type:"string"},parent_team_id:{type:"integer"},permission:{enum:["pull","push","admin"],type:"string"},privacy:{enum:["secret","closed"],type:"string"},repo_names:{type:"string[]"}},url:"/orgs/:org/teams"},createDiscussion:{deprecated:"octokit.teams.createDiscussion() has been renamed to octokit.teams.createDiscussionLegacy() (2020-01-16)",method:"POST",params:{body:{required:!0,type:"string"},private:{type:"boolean"},team_id:{required:!0,type:"integer"},title:{required:!0,type:"string"}},url:"/teams/:team_id/discussions"},createDiscussionComment:{deprecated:"octokit.teams.createDiscussionComment() has been renamed to octokit.teams.createDiscussionCommentLegacy() (2020-01-16)",method:"POST",params:{body:{required:!0,type:"string"},discussion_number:{required:!0,type:"integer"},team_id:{required:!0,type:"integer"}},url:"/teams/:team_id/discussions/:discussion_number/comments"},createDiscussionCommentInOrg:{method:"POST",params:{body:{required:!0,type:"string"},discussion_number:{required:!0,type:"integer"},org:{required:!0,type:"string"},team_slug:{required:!0,type:"string"}},url:"/orgs/:org/teams/:team_slug/discussions/:discussion_number/comments"},createDiscussionCommentLegacy:{deprecated:"octokit.teams.createDiscussionCommentLegacy() is deprecated, see https://developer.github.com/v3/teams/discussion_comments/#create-a-comment-legacy",method:"POST",params:{body:{required:!0,type:"string"},discussion_number:{required:!0,type:"integer"},team_id:{required:!0,type:"integer"}},url:"/teams/:team_id/discussions/:discussion_number/comments"},createDiscussionInOrg:{method:"POST",params:{body:{required:!0,type:"string"},org:{required:!0,type:"string"},private:{type:"boolean"},team_slug:{required:!0,type:"string"},title:{required:!0,type:"string"}},url:"/orgs/:org/teams/:team_slug/discussions"},createDiscussionLegacy:{deprecated:"octokit.teams.createDiscussionLegacy() is deprecated, see https://developer.github.com/v3/teams/discussions/#create-a-discussion-legacy",method:"POST",params:{body:{required:!0,type:"string"},private:{type:"boolean"},team_id:{required:!0,type:"integer"},title:{required:!0,type:"string"}},url:"/teams/:team_id/discussions"},delete:{deprecated:"octokit.teams.delete() has been renamed to octokit.teams.deleteLegacy() (2020-01-16)",method:"DELETE",params:{team_id:{required:!0,type:"integer"}},url:"/teams/:team_id"},deleteDiscussion:{deprecated:"octokit.teams.deleteDiscussion() has been renamed to octokit.teams.deleteDiscussionLegacy() (2020-01-16)",method:"DELETE",params:{discussion_number:{required:!0,type:"integer"},team_id:{required:!0,type:"integer"}},url:"/teams/:team_id/discussions/:discussion_number"},deleteDiscussionComment:{deprecated:"octokit.teams.deleteDiscussionComment() has been renamed to octokit.teams.deleteDiscussionCommentLegacy() (2020-01-16)",method:"DELETE",params:{comment_number:{required:!0,type:"integer"},discussion_number:{required:!0,type:"integer"},team_id:{required:!0,type:"integer"}},url:"/teams/:team_id/discussions/:discussion_number/comments/:comment_number"},deleteDiscussionCommentInOrg:{method:"DELETE",params:{comment_number:{required:!0,type:"integer"},discussion_number:{required:!0,type:"integer"},org:{required:!0,type:"string"},team_slug:{required:!0,type:"string"}},url:"/orgs/:org/teams/:team_slug/discussions/:discussion_number/comments/:comment_number"},deleteDiscussionCommentLegacy:{deprecated:"octokit.teams.deleteDiscussionCommentLegacy() is deprecated, see https://developer.github.com/v3/teams/discussion_comments/#delete-a-comment-legacy",method:"DELETE",params:{comment_number:{required:!0,type:"integer"},discussion_number:{required:!0,type:"integer"},team_id:{required:!0,type:"integer"}},url:"/teams/:team_id/discussions/:discussion_number/comments/:comment_number"},deleteDiscussionInOrg:{method:"DELETE",params:{discussion_number:{required:!0,type:"integer"},org:{required:!0,type:"string"},team_slug:{required:!0,type:"string"}},url:"/orgs/:org/teams/:team_slug/discussions/:discussion_number"},deleteDiscussionLegacy:{deprecated:"octokit.teams.deleteDiscussionLegacy() is deprecated, see https://developer.github.com/v3/teams/discussions/#delete-a-discussion-legacy",method:"DELETE",params:{discussion_number:{required:!0,type:"integer"},team_id:{required:!0,type:"integer"}},url:"/teams/:team_id/discussions/:discussion_number"},deleteInOrg:{method:"DELETE",params:{org:{required:!0,type:"string"},team_slug:{required:!0,type:"string"}},url:"/orgs/:org/teams/:team_slug"},deleteLegacy:{deprecated:"octokit.teams.deleteLegacy() is deprecated, see https://developer.github.com/v3/teams/#delete-team-legacy",method:"DELETE",params:{team_id:{required:!0,type:"integer"}},url:"/teams/:team_id"},get:{deprecated:"octokit.teams.get() has been renamed to octokit.teams.getLegacy() (2020-01-16)",method:"GET",params:{team_id:{required:!0,type:"integer"}},url:"/teams/:team_id"},getByName:{method:"GET",params:{org:{required:!0,type:"string"},team_slug:{required:!0,type:"string"}},url:"/orgs/:org/teams/:team_slug"},getDiscussion:{deprecated:"octokit.teams.getDiscussion() has been renamed to octokit.teams.getDiscussionLegacy() (2020-01-16)",method:"GET",params:{discussion_number:{required:!0,type:"integer"},team_id:{required:!0,type:"integer"}},url:"/teams/:team_id/discussions/:discussion_number"},getDiscussionComment:{deprecated:"octokit.teams.getDiscussionComment() has been renamed to octokit.teams.getDiscussionCommentLegacy() (2020-01-16)",method:"GET",params:{comment_number:{required:!0,type:"integer"},discussion_number:{required:!0,type:"integer"},team_id:{required:!0,type:"integer"}},url:"/teams/:team_id/discussions/:discussion_number/comments/:comment_number"},getDiscussionCommentInOrg:{method:"GET",params:{comment_number:{required:!0,type:"integer"},discussion_number:{required:!0,type:"integer"},org:{required:!0,type:"string"},team_slug:{required:!0,type:"string"}},url:"/orgs/:org/teams/:team_slug/discussions/:discussion_number/comments/:comment_number"},getDiscussionCommentLegacy:{deprecated:"octokit.teams.getDiscussionCommentLegacy() is deprecated, see https://developer.github.com/v3/teams/discussion_comments/#get-a-single-comment-legacy",method:"GET",params:{comment_number:{required:!0,type:"integer"},discussion_number:{required:!0,type:"integer"},team_id:{required:!0,type:"integer"}},url:"/teams/:team_id/discussions/:discussion_number/comments/:comment_number"},getDiscussionInOrg:{method:"GET",params:{discussion_number:{required:!0,type:"integer"},org:{required:!0,type:"string"},team_slug:{required:!0,type:"string"}},url:"/orgs/:org/teams/:team_slug/discussions/:discussion_number"},getDiscussionLegacy:{deprecated:"octokit.teams.getDiscussionLegacy() is deprecated, see https://developer.github.com/v3/teams/discussions/#get-a-single-discussion-legacy",method:"GET",params:{discussion_number:{required:!0,type:"integer"},team_id:{required:!0,type:"integer"}},url:"/teams/:team_id/discussions/:discussion_number"},getLegacy:{deprecated:"octokit.teams.getLegacy() is deprecated, see https://developer.github.com/v3/teams/#get-team-legacy",method:"GET",params:{team_id:{required:!0,type:"integer"}},url:"/teams/:team_id"},getMember:{deprecated:"octokit.teams.getMember() has been renamed to octokit.teams.getMemberLegacy() (2020-01-16)",method:"GET",params:{team_id:{required:!0,type:"integer"},username:{required:!0,type:"string"}},url:"/teams/:team_id/members/:username"},getMemberLegacy:{deprecated:"octokit.teams.getMemberLegacy() is deprecated, see https://developer.github.com/v3/teams/members/#get-team-member-legacy",method:"GET",params:{team_id:{required:!0,type:"integer"},username:{required:!0,type:"string"}},url:"/teams/:team_id/members/:username"},getMembership:{deprecated:"octokit.teams.getMembership() has been renamed to octokit.teams.getMembershipLegacy() (2020-01-16)",method:"GET",params:{team_id:{required:!0,type:"integer"},username:{required:!0,type:"string"}},url:"/teams/:team_id/memberships/:username"},getMembershipInOrg:{method:"GET",params:{org:{required:!0,type:"string"},team_slug:{required:!0,type:"string"},username:{required:!0,type:"string"}},url:"/orgs/:org/teams/:team_slug/memberships/:username"},getMembershipLegacy:{deprecated:"octokit.teams.getMembershipLegacy() is deprecated, see https://developer.github.com/v3/teams/members/#get-team-membership-legacy",method:"GET",params:{team_id:{required:!0,type:"integer"},username:{required:!0,type:"string"}},url:"/teams/:team_id/memberships/:username"},list:{method:"GET",params:{org:{required:!0,type:"string"},page:{type:"integer"},per_page:{type:"integer"}},url:"/orgs/:org/teams"},listChild:{deprecated:"octokit.teams.listChild() has been renamed to octokit.teams.listChildLegacy() (2020-01-16)",method:"GET",params:{page:{type:"integer"},per_page:{type:"integer"},team_id:{required:!0,type:"integer"}},url:"/teams/:team_id/teams"},listChildInOrg:{method:"GET",params:{org:{required:!0,type:"string"},page:{type:"integer"},per_page:{type:"integer"},team_slug:{required:!0,type:"string"}},url:"/orgs/:org/teams/:team_slug/teams"},listChildLegacy:{deprecated:"octokit.teams.listChildLegacy() is deprecated, see https://developer.github.com/v3/teams/#list-child-teams-legacy",method:"GET",params:{page:{type:"integer"},per_page:{type:"integer"},team_id:{required:!0,type:"integer"}},url:"/teams/:team_id/teams"},listDiscussionComments:{deprecated:"octokit.teams.listDiscussionComments() has been renamed to octokit.teams.listDiscussionCommentsLegacy() (2020-01-16)",method:"GET",params:{direction:{enum:["asc","desc"],type:"string"},discussion_number:{required:!0,type:"integer"},page:{type:"integer"},per_page:{type:"integer"},team_id:{required:!0,type:"integer"}},url:"/teams/:team_id/discussions/:discussion_number/comments"},listDiscussionCommentsInOrg:{method:"GET",params:{direction:{enum:["asc","desc"],type:"string"},discussion_number:{required:!0,type:"integer"},org:{required:!0,type:"string"},page:{type:"integer"},per_page:{type:"integer"},team_slug:{required:!0,type:"string"}},url:"/orgs/:org/teams/:team_slug/discussions/:discussion_number/comments"},listDiscussionCommentsLegacy:{deprecated:"octokit.teams.listDiscussionCommentsLegacy() is deprecated, see https://developer.github.com/v3/teams/discussion_comments/#list-comments-legacy",method:"GET",params:{direction:{enum:["asc","desc"],type:"string"},discussion_number:{required:!0,type:"integer"},page:{type:"integer"},per_page:{type:"integer"},team_id:{required:!0,type:"integer"}},url:"/teams/:team_id/discussions/:discussion_number/comments"},listDiscussions:{deprecated:"octokit.teams.listDiscussions() has been renamed to octokit.teams.listDiscussionsLegacy() (2020-01-16)",method:"GET",params:{direction:{enum:["asc","desc"],type:"string"},page:{type:"integer"},per_page:{type:"integer"},team_id:{required:!0,type:"integer"}},url:"/teams/:team_id/discussions"},listDiscussionsInOrg:{method:"GET",params:{direction:{enum:["asc","desc"],type:"string"},org:{required:!0,type:"string"},page:{type:"integer"},per_page:{type:"integer"},team_slug:{required:!0,type:"string"}},url:"/orgs/:org/teams/:team_slug/discussions"},listDiscussionsLegacy:{deprecated:"octokit.teams.listDiscussionsLegacy() is deprecated, see https://developer.github.com/v3/teams/discussions/#list-discussions-legacy",method:"GET",params:{direction:{enum:["asc","desc"],type:"string"},page:{type:"integer"},per_page:{type:"integer"},team_id:{required:!0,type:"integer"}},url:"/teams/:team_id/discussions"},listForAuthenticatedUser:{method:"GET",params:{page:{type:"integer"},per_page:{type:"integer"}},url:"/user/teams"},listMembers:{deprecated:"octokit.teams.listMembers() has been renamed to octokit.teams.listMembersLegacy() (2020-01-16)",method:"GET",params:{page:{type:"integer"},per_page:{type:"integer"},role:{enum:["member","maintainer","all"],type:"string"},team_id:{required:!0,type:"integer"}},url:"/teams/:team_id/members"},listMembersInOrg:{method:"GET",params:{org:{required:!0,type:"string"},page:{type:"integer"},per_page:{type:"integer"},role:{enum:["member","maintainer","all"],type:"string"},team_slug:{required:!0,type:"string"}},url:"/orgs/:org/teams/:team_slug/members"},listMembersLegacy:{deprecated:"octokit.teams.listMembersLegacy() is deprecated, see https://developer.github.com/v3/teams/members/#list-team-members-legacy",method:"GET",params:{page:{type:"integer"},per_page:{type:"integer"},role:{enum:["member","maintainer","all"],type:"string"},team_id:{required:!0,type:"integer"}},url:"/teams/:team_id/members"},listPendingInvitations:{deprecated:"octokit.teams.listPendingInvitations() has been renamed to octokit.teams.listPendingInvitationsLegacy() (2020-01-16)",method:"GET",params:{page:{type:"integer"},per_page:{type:"integer"},team_id:{required:!0,type:"integer"}},url:"/teams/:team_id/invitations"},listPendingInvitationsInOrg:{method:"GET",params:{org:{required:!0,type:"string"},page:{type:"integer"},per_page:{type:"integer"},team_slug:{required:!0,type:"string"}},url:"/orgs/:org/teams/:team_slug/invitations"},listPendingInvitationsLegacy:{deprecated:"octokit.teams.listPendingInvitationsLegacy() is deprecated, see https://developer.github.com/v3/teams/members/#list-pending-team-invitations-legacy",method:"GET",params:{page:{type:"integer"},per_page:{type:"integer"},team_id:{required:!0,type:"integer"}},url:"/teams/:team_id/invitations"},listProjects:{deprecated:"octokit.teams.listProjects() has been renamed to octokit.teams.listProjectsLegacy() (2020-01-16)",headers:{accept:"application/vnd.github.inertia-preview+json"},method:"GET",params:{page:{type:"integer"},per_page:{type:"integer"},team_id:{required:!0,type:"integer"}},url:"/teams/:team_id/projects"},listProjectsInOrg:{headers:{accept:"application/vnd.github.inertia-preview+json"},method:"GET",params:{org:{required:!0,type:"string"},page:{type:"integer"},per_page:{type:"integer"},team_slug:{required:!0,type:"string"}},url:"/orgs/:org/teams/:team_slug/projects"},listProjectsLegacy:{deprecated:"octokit.teams.listProjectsLegacy() is deprecated, see https://developer.github.com/v3/teams/#list-team-projects-legacy",headers:{accept:"application/vnd.github.inertia-preview+json"},method:"GET",params:{page:{type:"integer"},per_page:{type:"integer"},team_id:{required:!0,type:"integer"}},url:"/teams/:team_id/projects"},listRepos:{deprecated:"octokit.teams.listRepos() has been renamed to octokit.teams.listReposLegacy() (2020-01-16)",method:"GET",params:{page:{type:"integer"},per_page:{type:"integer"},team_id:{required:!0,type:"integer"}},url:"/teams/:team_id/repos"},listReposInOrg:{method:"GET",params:{org:{required:!0,type:"string"},page:{type:"integer"},per_page:{type:"integer"},team_slug:{required:!0,type:"string"}},url:"/orgs/:org/teams/:team_slug/repos"},listReposLegacy:{deprecated:"octokit.teams.listReposLegacy() is deprecated, see https://developer.github.com/v3/teams/#list-team-repos-legacy",method:"GET",params:{page:{type:"integer"},per_page:{type:"integer"},team_id:{required:!0,type:"integer"}},url:"/teams/:team_id/repos"},removeMember:{deprecated:"octokit.teams.removeMember() has been renamed to octokit.teams.removeMemberLegacy() (2020-01-16)",method:"DELETE",params:{team_id:{required:!0,type:"integer"},username:{required:!0,type:"string"}},url:"/teams/:team_id/members/:username"},removeMemberLegacy:{deprecated:"octokit.teams.removeMemberLegacy() is deprecated, see https://developer.github.com/v3/teams/members/#remove-team-member-legacy",method:"DELETE",params:{team_id:{required:!0,type:"integer"},username:{required:!0,type:"string"}},url:"/teams/:team_id/members/:username"},removeMembership:{deprecated:"octokit.teams.removeMembership() has been renamed to octokit.teams.removeMembershipLegacy() (2020-01-16)",method:"DELETE",params:{team_id:{required:!0,type:"integer"},username:{required:!0,type:"string"}},url:"/teams/:team_id/memberships/:username"},removeMembershipInOrg:{method:"DELETE",params:{org:{required:!0,type:"string"},team_slug:{required:!0,type:"string"},username:{required:!0,type:"string"}},url:"/orgs/:org/teams/:team_slug/memberships/:username"},removeMembershipLegacy:{deprecated:"octokit.teams.removeMembershipLegacy() is deprecated, see https://developer.github.com/v3/teams/members/#remove-team-membership-legacy",method:"DELETE",params:{team_id:{required:!0,type:"integer"},username:{required:!0,type:"string"}},url:"/teams/:team_id/memberships/:username"},removeProject:{deprecated:"octokit.teams.removeProject() has been renamed to octokit.teams.removeProjectLegacy() (2020-01-16)",method:"DELETE",params:{project_id:{required:!0,type:"integer"},team_id:{required:!0,type:"integer"}},url:"/teams/:team_id/projects/:project_id"},removeProjectInOrg:{method:"DELETE",params:{org:{required:!0,type:"string"},project_id:{required:!0,type:"integer"},team_slug:{required:!0,type:"string"}},url:"/orgs/:org/teams/:team_slug/projects/:project_id"},removeProjectLegacy:{deprecated:"octokit.teams.removeProjectLegacy() is deprecated, see https://developer.github.com/v3/teams/#remove-team-project-legacy",method:"DELETE",params:{project_id:{required:!0,type:"integer"},team_id:{required:!0,type:"integer"}},url:"/teams/:team_id/projects/:project_id"},removeRepo:{deprecated:"octokit.teams.removeRepo() has been renamed to octokit.teams.removeRepoLegacy() (2020-01-16)",method:"DELETE",params:{owner:{required:!0,type:"string"},repo:{required:!0,type:"string"},team_id:{required:!0,type:"integer"}},url:"/teams/:team_id/repos/:owner/:repo"},removeRepoInOrg:{method:"DELETE",params:{org:{required:!0,type:"string"},owner:{required:!0,type:"string"},repo:{required:!0,type:"string"},team_slug:{required:!0,type:"string"}},url:"/orgs/:org/teams/:team_slug/repos/:owner/:repo"},removeRepoLegacy:{deprecated:"octokit.teams.removeRepoLegacy() is deprecated, see https://developer.github.com/v3/teams/#remove-team-repository-legacy",method:"DELETE",params:{owner:{required:!0,type:"string"},repo:{required:!0,type:"string"},team_id:{required:!0,type:"integer"}},url:"/teams/:team_id/repos/:owner/:repo"},reviewProject:{deprecated:"octokit.teams.reviewProject() has been renamed to octokit.teams.reviewProjectLegacy() (2020-01-16)",headers:{accept:"application/vnd.github.inertia-preview+json"},method:"GET",params:{project_id:{required:!0,type:"integer"},team_id:{required:!0,type:"integer"}},url:"/teams/:team_id/projects/:project_id"},reviewProjectInOrg:{headers:{accept:"application/vnd.github.inertia-preview+json"},method:"GET",params:{org:{required:!0,type:"string"},project_id:{required:!0,type:"integer"},team_slug:{required:!0,type:"string"}},url:"/orgs/:org/teams/:team_slug/projects/:project_id"},reviewProjectLegacy:{deprecated:"octokit.teams.reviewProjectLegacy() is deprecated, see https://developer.github.com/v3/teams/#review-a-team-project-legacy",headers:{accept:"application/vnd.github.inertia-preview+json"},method:"GET",params:{project_id:{required:!0,type:"integer"},team_id:{required:!0,type:"integer"}},url:"/teams/:team_id/projects/:project_id"},update:{deprecated:"octokit.teams.update() has been renamed to octokit.teams.updateLegacy() (2020-01-16)",method:"PATCH",params:{description:{type:"string"},name:{required:!0,type:"string"},parent_team_id:{type:"integer"},permission:{enum:["pull","push","admin"],type:"string"},privacy:{enum:["secret","closed"],type:"string"},team_id:{required:!0,type:"integer"}},url:"/teams/:team_id"},updateDiscussion:{deprecated:"octokit.teams.updateDiscussion() has been renamed to octokit.teams.updateDiscussionLegacy() (2020-01-16)",method:"PATCH",params:{body:{type:"string"},discussion_number:{required:!0,type:"integer"},team_id:{required:!0,type:"integer"},title:{type:"string"}},url:"/teams/:team_id/discussions/:discussion_number"},updateDiscussionComment:{deprecated:"octokit.teams.updateDiscussionComment() has been renamed to octokit.teams.updateDiscussionCommentLegacy() (2020-01-16)",method:"PATCH",params:{body:{required:!0,type:"string"},comment_number:{required:!0,type:"integer"},discussion_number:{required:!0,type:"integer"},team_id:{required:!0,type:"integer"}},url:"/teams/:team_id/discussions/:discussion_number/comments/:comment_number"},updateDiscussionCommentInOrg:{method:"PATCH",params:{body:{required:!0,type:"string"},comment_number:{required:!0,type:"integer"},discussion_number:{required:!0,type:"integer"},org:{required:!0,type:"string"},team_slug:{required:!0,type:"string"}},url:"/orgs/:org/teams/:team_slug/discussions/:discussion_number/comments/:comment_number"},updateDiscussionCommentLegacy:{deprecated:"octokit.teams.updateDiscussionCommentLegacy() is deprecated, see https://developer.github.com/v3/teams/discussion_comments/#edit-a-comment-legacy",method:"PATCH",params:{body:{required:!0,type:"string"},comment_number:{required:!0,type:"integer"},discussion_number:{required:!0,type:"integer"},team_id:{required:!0,type:"integer"}},url:"/teams/:team_id/discussions/:discussion_number/comments/:comment_number"},updateDiscussionInOrg:{method:"PATCH",params:{body:{type:"string"},discussion_number:{required:!0,type:"integer"},org:{required:!0,type:"string"},team_slug:{required:!0,type:"string"},title:{type:"string"}},url:"/orgs/:org/teams/:team_slug/discussions/:discussion_number"},updateDiscussionLegacy:{deprecated:"octokit.teams.updateDiscussionLegacy() is deprecated, see https://developer.github.com/v3/teams/discussions/#edit-a-discussion-legacy",method:"PATCH",params:{body:{type:"string"},discussion_number:{required:!0,type:"integer"},team_id:{required:!0,type:"integer"},title:{type:"string"}},url:"/teams/:team_id/discussions/:discussion_number"},updateInOrg:{method:"PATCH",params:{description:{type:"string"},name:{required:!0,type:"string"},org:{required:!0,type:"string"},parent_team_id:{type:"integer"},permission:{enum:["pull","push","admin"],type:"string"},privacy:{enum:["secret","closed"],type:"string"},team_slug:{required:!0,type:"string"}},url:"/orgs/:org/teams/:team_slug"},updateLegacy:{deprecated:"octokit.teams.updateLegacy() is deprecated, see https://developer.github.com/v3/teams/#edit-team-legacy",method:"PATCH",params:{description:{type:"string"},name:{required:!0,type:"string"},parent_team_id:{type:"integer"},permission:{enum:["pull","push","admin"],type:"string"},privacy:{enum:["secret","closed"],type:"string"},team_id:{required:!0,type:"integer"}},url:"/teams/:team_id"}},users:{addEmails:{method:"POST",params:{emails:{required:!0,type:"string[]"}},url:"/user/emails"},block:{method:"PUT",params:{username:{required:!0,type:"string"}},url:"/user/blocks/:username"},checkBlocked:{method:"GET",params:{username:{required:!0,type:"string"}},url:"/user/blocks/:username"},checkFollowing:{method:"GET",params:{username:{required:!0,type:"string"}},url:"/user/following/:username"},checkFollowingForUser:{method:"GET",params:{target_user:{required:!0,type:"string"},username:{required:!0,type:"string"}},url:"/users/:username/following/:target_user"},createGpgKey:{method:"POST",params:{armored_public_key:{type:"string"}},url:"/user/gpg_keys"},createPublicKey:{method:"POST",params:{key:{type:"string"},title:{type:"string"}},url:"/user/keys"},deleteEmails:{method:"DELETE",params:{emails:{required:!0,type:"string[]"}},url:"/user/emails"},deleteGpgKey:{method:"DELETE",params:{gpg_key_id:{required:!0,type:"integer"}},url:"/user/gpg_keys/:gpg_key_id"},deletePublicKey:{method:"DELETE",params:{key_id:{required:!0,type:"integer"}},url:"/user/keys/:key_id"},follow:{method:"PUT",params:{username:{required:!0,type:"string"}},url:"/user/following/:username"},getAuthenticated:{method:"GET",params:{},url:"/user"},getByUsername:{method:"GET",params:{username:{required:!0,type:"string"}},url:"/users/:username"},getContextForUser:{method:"GET",params:{subject_id:{type:"string"},subject_type:{enum:["organization","repository","issue","pull_request"],type:"string"},username:{required:!0,type:"string"}},url:"/users/:username/hovercard"},getGpgKey:{method:"GET",params:{gpg_key_id:{required:!0,type:"integer"}},url:"/user/gpg_keys/:gpg_key_id"},getPublicKey:{method:"GET",params:{key_id:{required:!0,type:"integer"}},url:"/user/keys/:key_id"},list:{method:"GET",params:{page:{type:"integer"},per_page:{type:"integer"},since:{type:"string"}},url:"/users"},listBlocked:{method:"GET",params:{},url:"/user/blocks"},listEmails:{method:"GET",params:{page:{type:"integer"},per_page:{type:"integer"}},url:"/user/emails"},listFollowersForAuthenticatedUser:{method:"GET",params:{page:{type:"integer"},per_page:{type:"integer"}},url:"/user/followers"},listFollowersForUser:{method:"GET",params:{page:{type:"integer"},per_page:{type:"integer"},username:{required:!0,type:"string"}},url:"/users/:username/followers"},listFollowingForAuthenticatedUser:{method:"GET",params:{page:{type:"integer"},per_page:{type:"integer"}},url:"/user/following"},listFollowingForUser:{method:"GET",params:{page:{type:"integer"},per_page:{type:"integer"},username:{required:!0,type:"string"}},url:"/users/:username/following"},listGpgKeys:{method:"GET",params:{page:{type:"integer"},per_page:{type:"integer"}},url:"/user/gpg_keys"},listGpgKeysForUser:{method:"GET",params:{page:{type:"integer"},per_page:{type:"integer"},username:{required:!0,type:"string"}},url:"/users/:username/gpg_keys"},listPublicEmails:{method:"GET",params:{page:{type:"integer"},per_page:{type:"integer"}},url:"/user/public_emails"},listPublicKeys:{method:"GET",params:{page:{type:"integer"},per_page:{type:"integer"}},url:"/user/keys"},listPublicKeysForUser:{method:"GET",params:{page:{type:"integer"},per_page:{type:"integer"},username:{required:!0,type:"string"}},url:"/users/:username/keys"},togglePrimaryEmailVisibility:{method:"PATCH",params:{email:{required:!0,type:"string"},visibility:{required:!0,type:"string"}},url:"/user/email/visibility"},unblock:{method:"DELETE",params:{username:{required:!0,type:"string"}},url:"/user/blocks/:username"},unfollow:{method:"DELETE",params:{username:{required:!0,type:"string"}},url:"/user/following/:username"},updateAuthenticated:{method:"PATCH",params:{bio:{type:"string"},blog:{type:"string"},company:{type:"string"},email:{type:"string"},hireable:{type:"boolean"},location:{type:"string"},name:{type:"string"}},url:"/user"}}};function u(y,b){Object.keys(b).forEach(C=>{y[C]||(y[C]={}),Object.keys(b[C]).forEach(P=>{const N=b[C][P],R=["method","url","headers"].reduce((L,te)=>(void 0!==N[te]&&(L[te]=N[te]),L),{});R.request={validate:N.params};let B=y.request.defaults(R);if(Object.keys(N.params||{}).find(L=>N.params[L].deprecated)){const L=p.bind(null,y,N);B=L(y.request.defaults(R),`.${C}.${P}()`),B.endpoint=L(B.endpoint,`.${C}.${P}.endpoint()`),B.endpoint.merge=L(B.endpoint.merge,`.${C}.${P}.endpoint.merge()`)}y[C][P]=N.deprecated?Object.assign(function(){return y.log.warn(new v.Deprecation(`[@octokit/rest] ${N.deprecated}`)),y[C][P]=B,B.apply(null,arguments)},B):B})})}function p(y,b,C,P){const N=R=>(R=Object.assign({},R),Object.keys(R).forEach(B=>{if(b.params[B]&&b.params[B].deprecated){const F=b.params[B].alias;y.log.warn(new v.Deprecation(`[@octokit/rest] "${B}" parameter is deprecated for "${P}". Use "${F}" instead`)),F in R||(R[F]=R[B]),delete R[B]}}),C(R));return Object.keys(C).forEach(R=>{N[R]=C[R]}),N}function g(y){return y.registerEndpoints=u.bind(null,y),u(y,m),[["gitdata","git"],["authorization","oauthAuthorizations"],["pullRequests","pulls"]].forEach(([b,C])=>{Object.defineProperty(y,b,{get:()=>(y.log.warn(new v.Deprecation(`[@octokit/plugin-rest-endpoint-methods] "octokit.${b}.*" methods are deprecated, use "octokit.${C}.*" instead`)),y[C])})}),{}}g.VERSION="2.4.0"},8176:(se,q,w)=>{const{requestLog:v}=w(1243),{restEndpointMethods:m}=w(7985),d=w(4855),u=[w(2259),w(1688),v,w(4360),m,w(6650),w(6051)],p=d.plugin(u),y=Object.assign(function g(b){return(b&&b.log&&b.log.warn?b.log.warn:console.warn)('[@octokit/rest] `const Octokit = require("@octokit/rest")` is deprecated. Use `const { Octokit } = require("@octokit/rest")` instead'),new p(b)},{Octokit:p});Object.keys(p).forEach(b=>{p.hasOwnProperty(b)&&(y[b]=p[b])}),se.exports=y},7257:(se,q,w)=>{se.exports=function u(p,g){g=g||{};const y=new m.Collection,b=Object.assign({debug:()=>{},info:()=>{},warn:console.warn,error:console.error},g&&g.log),C={hook:y,log:b,request:v.defaults(d(g,b,y))};return p.forEach(P=>P(C,g)),C};const{request:v}=w(4222),m=w(4833),d=w(7973)},4855:(se,q,w)=>{const v=w(8466);se.exports=v()},8466:(se,q,w)=>{se.exports=function d(u){const p=v.bind(null,u||[]);return p.plugin=m.bind(null,u||[]),p};const v=w(7257),m=w(2850)},7973:(se,q,w)=>{se.exports=function b(C,P,N){C.headers&&(C.headers=Object.keys(C.headers).reduce((L,te)=>(L[te.toLowerCase()]=C.headers[te],L),{}));const R={headers:C.headers||{},request:C.request||{},mediaType:{previews:[],format:""}};C.baseUrl&&(R.baseUrl=C.baseUrl),C.userAgent&&(R.headers["user-agent"]=C.userAgent),C.previews&&(R.mediaType.previews=C.previews),C.timeZone&&(R.headers["time-zone"]=C.timeZone),C.timeout&&(p(P,new v("[@octokit/rest] new Octokit({timeout}) is deprecated. Use {request: {timeout}} instead. See https://github.com/octokit/request.js#request")),R.request.timeout=C.timeout),C.agent&&(g(P,new v("[@octokit/rest] new Octokit({agent}) is deprecated. Use {request: {agent}} instead. See https://github.com/octokit/request.js#request")),R.request.agent=C.agent),C.headers&&y(P,new v("[@octokit/rest] new Octokit({headers}) is deprecated. Use {userAgent, previews} instead. See https://github.com/octokit/request.js#request"));const B=R.headers["user-agent"],F=`octokit.js/${u.version} ${m()}`;return R.headers["user-agent"]=[B,F].filter(Boolean).join(" "),R.request.hook=N.bind(null,"request"),R};const{Deprecation:v}=w(505),{getUserAgent:m}=w(1183),d=w(6389),u=w(1322),p=d((C,P)=>C.warn(P)),g=d((C,P)=>C.warn(P)),y=d((C,P)=>C.warn(P))},2850:(se,q,w)=>{se.exports=function m(d,u){return v(d.includes(u)?d:d.concat(u))};const v=w(8466)},7868:(se,q,w)=>{"use strict";w.r(q),w.d(q,{createTokenAuth:()=>P});var v=w(5861);const m=/^v1\./,d=/^ghs_/,u=/^ghu_/;function p(N){return g.apply(this,arguments)}function g(){return(g=(0,v.Z)(function*(N){const R=3===N.split(/\./).length,B=m.test(N)||d.test(N),F=u.test(N);return{type:"token",token:N,tokenType:R?"app":B?"installation":F?"user-to-server":"oauth"}})).apply(this,arguments)}function y(N){return 3===N.split(/\./).length?`bearer ${N}`:`token ${N}`}function b(N,R,B,F){return C.apply(this,arguments)}function C(){return(C=(0,v.Z)(function*(N,R,B,F){const L=R.endpoint.merge(B,F);return L.headers.authorization=y(N),R(L)})).apply(this,arguments)}const P=function(R){if(!R)throw new Error("[@octokit/auth-token] No token passed to createTokenAuth");if("string"!=typeof R)throw new Error("[@octokit/auth-token] Token passed to createTokenAuth is not a string");return R=R.replace(/^(token|bearer) +/i,""),Object.assign(p.bind(null,R),{hook:b.bind(null,R)})}},7217:(se,q,w)=>{"use strict";w.r(q),w.d(q,{RequestError:()=>p});var v=w(505),m=w(6389);const u=w.n(m)()(g=>console.warn(g));class p extends Error{constructor(y,b,C){super(y),Error.captureStackTrace&&Error.captureStackTrace(this,this.constructor),this.name="HttpError",this.status=b,Object.defineProperty(this,"code",{get:()=>(u(new v.Deprecation("[@octokit/request-error] `error.code` is deprecated, use `error.status`.")),b)}),this.headers=C.headers||{};const P=Object.assign({},C.request);C.request.headers.authorization&&(P.headers=Object.assign({},C.request.headers,{authorization:C.request.headers.authorization.replace(/ .*$/," [REDACTED]")})),P.url=P.url.replace(/\bclient_secret=\w+/g,"client_secret=[REDACTED]").replace(/\baccess_token=\w+/g,"access_token=[REDACTED]"),this.request=P}}},4222:(se,q,w)=>{"use strict";w.r(q),w.d(q,{request:()=>pn});var v=w(5861);function m(Te){return"[object Object]"===Object.prototype.toString.call(Te)}function d(Te){var lt,dt;return!1!==m(Te)&&(void 0===(lt=Te.constructor)||!(!1===m(dt=lt.prototype)||!1===dt.hasOwnProperty("isPrototypeOf")))}function g(Te,lt){const dt=Object.assign({},Te);return Object.keys(lt).forEach(ft=>{d(lt[ft])?ft in Te?dt[ft]=g(Te[ft],lt[ft]):Object.assign(dt,{[ft]:lt[ft]}):Object.assign(dt,{[ft]:lt[ft]})}),dt}function y(Te){for(const lt in Te)void 0===Te[lt]&&delete Te[lt];return Te}function b(Te,lt,dt){if("string"==typeof lt){let[Je,St]=lt.split(" ");dt=Object.assign(St?{method:Je,url:St}:{url:Je},dt)}else dt=Object.assign({},lt);dt.headers=function p(Te){return Te?Object.keys(Te).reduce((lt,dt)=>(lt[dt.toLowerCase()]=Te[dt],lt),{}):{}}(dt.headers),y(dt),y(dt.headers);const ft=g(Te||{},dt);return Te&&Te.mediaType.previews.length&&(ft.mediaType.previews=Te.mediaType.previews.filter(Je=>!ft.mediaType.previews.includes(Je)).concat(ft.mediaType.previews)),ft.mediaType.previews=ft.mediaType.previews.map(Je=>Je.replace(/-preview/,"")),ft}const P=/\{[^}]+\}/g;function N(Te){return Te.replace(/^\W+|\W+$/g,"").split(/,/)}function B(Te,lt){return Object.keys(Te).filter(dt=>!lt.includes(dt)).reduce((dt,ft)=>(dt[ft]=Te[ft],dt),{})}function F(Te){return Te.split(/(%[0-9A-Fa-f]{2})/g).map(function(lt){return/%[0-9A-Fa-f]/.test(lt)||(lt=encodeURI(lt).replace(/%5B/g,"[").replace(/%5D/g,"]")),lt}).join("")}function L(Te){return encodeURIComponent(Te).replace(/[!'()*]/g,function(lt){return"%"+lt.charCodeAt(0).toString(16).toUpperCase()})}function te(Te,lt,dt){return lt="+"===Te||"#"===Te?F(lt):L(lt),dt?L(dt)+"="+lt:lt}function $e(Te){return null!=Te}function ct(Te){return";"===Te||"&"===Te||"?"===Te}function kt(Te,lt){var dt=["+","#",".","/",";","?","&"];return Te.replace(/\{([^\{\}]+)\}|([^\{\}]+)/g,function(ft,Je,St){if(Je){let Jt="";const Vt=[];if(-1!==dt.indexOf(Je.charAt(0))&&(Jt=Je.charAt(0),Je=Je.substr(1)),Je.split(/,/g).forEach(function(Bn){var xn=/([^:\*]*)(?::(\d+)|(\*))?/.exec(Bn);Vt.push(function jt(Te,lt,dt,ft){var Je=Te[dt],St=[];if($e(Je)&&""!==Je)if("string"==typeof Je||"number"==typeof Je||"boolean"==typeof Je)Je=Je.toString(),ft&&"*"!==ft&&(Je=Je.substring(0,parseInt(ft,10))),St.push(te(lt,Je,ct(lt)?dt:""));else if("*"===ft)Array.isArray(Je)?Je.filter($e).forEach(function(Qt){St.push(te(lt,Qt,ct(lt)?dt:""))}):Object.keys(Je).forEach(function(Qt){$e(Je[Qt])&&St.push(te(lt,Je[Qt],Qt))});else{const Qt=[];Array.isArray(Je)?Je.filter($e).forEach(function(Jt){Qt.push(te(lt,Jt))}):Object.keys(Je).forEach(function(Jt){$e(Je[Jt])&&(Qt.push(L(Jt)),Qt.push(te(lt,Je[Jt].toString())))}),ct(lt)?St.push(L(dt)+"="+Qt.join(",")):0!==Qt.length&&St.push(Qt.join(","))}else";"===lt?$e(Je)&&St.push(L(dt)):""!==Je||"&"!==lt&&"?"!==lt?""===Je&&St.push(""):St.push(L(dt)+"=");return St}(lt,Jt,xn[1],xn[2]||xn[3]))}),Jt&&"+"!==Jt){var Qt=",";return"?"===Jt?Qt="&":"#"!==Jt&&(Qt=Jt),(0!==Vt.length?Jt:"")+Vt.join(Qt)}return Vt.join(",")}return F(St)})}function st(Te){let Je,lt=Te.method.toUpperCase(),dt=(Te.url||"/").replace(/:([a-z]\w+)/g,"{$1}"),ft=Object.assign({},Te.headers),St=B(Te,["method","baseUrl","url","headers","request","mediaType"]);const Qt=function R(Te){const lt=Te.match(P);return lt?lt.map(N).reduce((dt,ft)=>dt.concat(ft),[]):[]}(dt);dt=function Ot(Te){return{expand:kt.bind(null,Te)}}(dt).expand(St),/^http/.test(dt)||(dt=Te.baseUrl+dt);const Vt=B(St,Object.keys(Te).filter(xn=>Qt.includes(xn)).concat("baseUrl"));if(!/application\/octet-stream/i.test(ft.accept)&&(Te.mediaType.format&&(ft.accept=ft.accept.split(/,/).map(xn=>xn.replace(/application\/vnd(\.\w+)(\.v3)?(\.\w+)?(\+json)?$/,`application/vnd$1$2.${Te.mediaType.format}`)).join(",")),Te.mediaType.previews.length)){const xn=ft.accept.match(/[\w-]+(?=-preview)/g)||[];ft.accept=xn.concat(Te.mediaType.previews).map(ue=>`application/vnd.github.${ue}-preview${Te.mediaType.format?`.${Te.mediaType.format}`:"+json"}`).join(",")}return["GET","HEAD"].includes(lt)?dt=function C(Te,lt){const dt=/\?/.test(Te)?"&":"?",ft=Object.keys(lt);return 0===ft.length?Te:Te+dt+ft.map(Je=>"q"===Je?"q="+lt.q.split("+").map(encodeURIComponent).join("+"):`${Je}=${encodeURIComponent(lt[Je])}`).join("&")}(dt,Vt):"data"in Vt?Je=Vt.data:Object.keys(Vt).length?Je=Vt:ft["content-length"]=0,!ft["content-type"]&&void 0!==Je&&(ft["content-type"]="application/json; charset=utf-8"),["PATCH","PUT"].includes(lt)&&void 0===Je&&(Je=""),Object.assign({method:lt,url:dt,headers:ft},void 0!==Je?{body:Je}:null,Te.request?{request:Te.request}:null)}function Xe(Te,lt,dt){return st(b(Te,lt,dt))}const K=function Ee(Te,lt){const dt=b(Te,lt),ft=Xe.bind(null,dt);return Object.assign(ft,{DEFAULTS:dt,defaults:Ee.bind(null,dt),merge:b.bind(null,dt),parse:st})}(null,{method:"GET",baseUrl:"https://api.github.com",headers:{accept:"application/vnd.github.v3+json","user-agent":`octokit-endpoint.js/6.0.12 ${function u(){return"object"==typeof navigator&&"userAgent"in navigator?navigator.userAgent:"object"==typeof process&&void 0!==process.version?`Node.js/${process.version.substr(1)} (${process.platform}; ${process.arch})`:""}()}`},mediaType:{format:"",previews:[]}});var Ne=w(9637),_e=w.n(Ne),ot=w(505),vt=w(6389),Qe=w.n(vt);const bt=Qe()(Te=>console.warn(Te)),je=Qe()(Te=>console.warn(Te));class Q extends Error{constructor(lt,dt,ft){let Je;super(lt),Error.captureStackTrace&&Error.captureStackTrace(this,this.constructor),this.name="HttpError",this.status=dt,"headers"in ft&&void 0!==ft.headers&&(Je=ft.headers),"response"in ft&&(this.response=ft.response,Je=ft.response.headers);const St=Object.assign({},ft.request);ft.request.headers.authorization&&(St.headers=Object.assign({},ft.request.headers,{authorization:ft.request.headers.authorization.replace(/ .*$/," [REDACTED]")})),St.url=St.url.replace(/\bclient_secret=\w+/g,"client_secret=[REDACTED]").replace(/\baccess_token=\w+/g,"access_token=[REDACTED]"),this.request=St,Object.defineProperty(this,"code",{get:()=>(bt(new ot.Deprecation("[@octokit/request-error] `error.code` is deprecated, use `error.status`.")),dt)}),Object.defineProperty(this,"headers",{get:()=>(je(new ot.Deprecation("[@octokit/request-error] `error.headers` is deprecated, use `error.response.headers`.")),Je||{})})}}function re(Te){return Te.arrayBuffer()}function ae(Te){const lt=Te.request&&Te.request.log?Te.request.log:console;(d(Te.body)||Array.isArray(Te.body))&&(Te.body=JSON.stringify(Te.body));let ft,Je,dt={};return(Te.request&&Te.request.fetch||_e())(Te.url,Object.assign({method:Te.method,body:Te.body,headers:Te.headers,redirect:Te.redirect},Te.request)).then(function(){var Qt=(0,v.Z)(function*(Jt){Je=Jt.url,ft=Jt.status;for(const Vt of Jt.headers)dt[Vt[0]]=Vt[1];if("deprecation"in dt){const Vt=dt.link&&dt.link.match(/<([^>]+)>; rel="deprecation"/),Bn=Vt&&Vt.pop();lt.warn(`[@octokit/request] "${Te.method} ${Te.url}" is deprecated. It is scheduled to be removed on ${dt.sunset}${Bn?`. See ${Bn}`:""}`)}if(204!==ft&&205!==ft){if("HEAD"===Te.method){if(ft<400)return;throw new Q(Jt.statusText,ft,{response:{url:Je,status:ft,headers:dt,data:void 0},request:Te})}if(304===ft)throw new Q("Not modified",ft,{response:{url:Je,status:ft,headers:dt,data:yield qe(Jt)},request:Te});if(ft>=400){const Vt=yield qe(Jt);throw new Q(function ut(Te){return"string"==typeof Te?Te:"message"in Te?Array.isArray(Te.errors)?`${Te.message}: ${Te.errors.map(JSON.stringify).join(", ")}`:Te.message:`Unknown error: ${JSON.stringify(Te)}`}(Vt),ft,{response:{url:Je,status:ft,headers:dt,data:Vt},request:Te})}return qe(Jt)}});return function(Jt){return Qt.apply(this,arguments)}}()).then(Qt=>({status:ft,url:Je,headers:dt,data:Qt})).catch(Qt=>{throw Qt instanceof Q?Qt:new Q(Qt.message,500,{request:Te})})}function qe(Te){return Ve.apply(this,arguments)}function Ve(){return(Ve=(0,v.Z)(function*(Te){const lt=Te.headers.get("content-type");return/application\/json/.test(lt)?Te.json():!lt||/^text\/|charset=utf-8$/.test(lt)?Te.text():re(Te)})).apply(this,arguments)}const pn=function Tt(Te,lt){const dt=Te.defaults(lt);return Object.assign(function(Je,St){const Qt=dt.merge(Je,St);if(!Qt.request||!Qt.request.hook)return ae(dt.parse(Qt));const Jt=(Vt,Bn)=>ae(dt.parse(dt.merge(Vt,Bn)));return Object.assign(Jt,{endpoint:dt,defaults:Tt.bind(null,dt)}),Qt.request.hook(Jt,Qt)},{endpoint:dt,defaults:Tt.bind(null,dt)})}(K,{headers:{"user-agent":`octokit-request.js/5.6.3 ${function Pe(){return"object"==typeof navigator&&"userAgent"in navigator?navigator.userAgent:"object"==typeof process&&void 0!==process.version?`Node.js/${process.version.substr(1)} (${process.platform}; ${process.arch})`:""}()}`}})},1183:(se,q,w)=>{"use strict";function v(){try{return navigator.userAgent}catch(m){return""}}w.r(q),w.d(q,{getUserAgent:()=>v})},6237:(se,q,w)=>{se.exports=function u(p,g){if(d(p.octokit.log,new v('[@octokit/rest] octokit.authenticate() is deprecated. Use "auth" constructor option instead.')),g){switch(g.type){case"basic":if(!g.username||!g.password)throw new Error("Basic authentication requires both a username and password to be set");break;case"oauth":if(!(g.token||g.key&&g.secret))throw new Error("OAuth2 authentication requires a token or key & secret to be set");break;case"token":case"app":if(!g.token)throw new Error("Token authentication requires a token to be set");break;default:throw new Error("Invalid authentication type, must be 'basic', 'oauth', 'token' or 'app'")}p.auth=g}else p.auth=!1};const{Deprecation:v}=w(505),d=w(6389)((p,g)=>p.warn(g))},2859:(se,q,w)=>{se.exports=function d(u,p){if(!u.auth.type)return;if("basic"===u.auth.type){const b=v(`${u.auth.username}:${u.auth.password}`);return void(p.headers.authorization=`Basic ${b}`)}if("token"===u.auth.type)return void(p.headers.authorization=`token ${u.auth.token}`);if("app"===u.auth.type){p.headers.authorization=`Bearer ${u.auth.token}`;const b=p.headers.accept.split(",").concat("application/vnd.github.machine-man-preview+json");return void(p.headers.accept=m(b).filter(Boolean).join(","))}if(p.url+=-1===p.url.indexOf("?")?"?":"&",u.auth.token)return void(p.url+=`access_token=${encodeURIComponent(u.auth.token)}`);const g=encodeURIComponent(u.auth.key),y=encodeURIComponent(u.auth.secret);p.url+=`client_id=${g}&client_secret=${y}`};const v=w(7972),m=w(6915)},1688:(se,q,w)=>{se.exports=function y(b,C){if(C.auth)return void(b.authenticate=()=>{d(b.log,new v('[@octokit/rest] octokit.authenticate() is deprecated and has no effect when "auth" option is set on Octokit constructor'))});const P={octokit:b,auth:!1};b.authenticate=u.bind(null,P),b.hook.before("request",p.bind(null,P)),b.hook.error("request",g.bind(null,P))};const{Deprecation:v}=w(505),d=w(6389)((b,C)=>b.warn(C)),u=w(6237),p=w(2859),g=w(8296)},8296:(se,q,w)=>{se.exports=function m(d,u,p){if(!u.headers)throw u;const g=/required/.test(u.headers["x-github-otp"]||"");if(401!==u.status||!g)throw u;if(401===u.status&&g&&u.request&&u.request.headers["x-github-otp"])throw new v("Invalid one-time password for two-factor authentication",401,{headers:u.headers,request:p});if("function"!=typeof d.auth.on2fa)throw new v("2FA required, but options.on2fa is not a function. See https://github.com/octokit/rest.js#authentication",401,{headers:u.headers,request:p});return Promise.resolve().then(()=>d.auth.on2fa()).then(y=>{const b=Object.assign(p,{headers:Object.assign({"x-github-otp":y},p.headers)});return d.octokit.request(b)})};const{RequestError:v}=w(7217)},4245:(se,q,w)=>{se.exports=function d(u,p){if("string"!=typeof u.auth){if(u.auth.username){const g=v(`${u.auth.username}:${u.auth.password}`);return p.headers.authorization=`Basic ${g}`,void(u.otp&&(p.headers["x-github-otp"]=u.otp))}if(u.auth.clientId){if(/\/applications\/:?[\w_]+\/tokens\/:?[\w_]+($|\?)/.test(p.url)){const g=v(`${u.auth.clientId}:${u.auth.clientSecret}`);return void(p.headers.authorization=`Basic ${g}`)}return p.url+=-1===p.url.indexOf("?")?"?":"&",void(p.url+=`client_id=${u.auth.clientId}&client_secret=${u.auth.clientSecret}`)}return Promise.resolve().then(()=>u.auth()).then(g=>{p.headers.authorization=m(g)})}p.headers.authorization=m(u.auth)};const v=w(7972),m=w(8240)},2259:(se,q,w)=>{se.exports=function P(N,R){if(R.authStrategy){const $e=R.authStrategy(R.auth);return N.hook.wrap("request",$e.hook),void(N.auth=$e)}if(!R.auth)return void(N.auth=()=>Promise.resolve({type:"unauthenticated"}));const B="string"==typeof R.auth&&/^basic/.test(y(R.auth));if("string"==typeof R.auth&&!B){const $e=v(R.auth);return N.hook.wrap("request",$e.hook),void(N.auth=$e)}const[F,L]=B?[b,'Setting the "new Octokit({ auth })" option to a Basic Auth string is deprecated. Use https://github.com/octokit/auth-basic.js instead. See (https://octokit.github.io/rest.js/#authentication)']:[C,'Setting the "new Octokit({ auth })" option to an object without also setting the "authStrategy" option is deprecated and will be removed in v17. See (https://octokit.github.io/rest.js/#authentication)'];F(N.log,new m("[@octokit/rest] "+L)),N.auth=()=>Promise.resolve({type:"deprecated",message:L}),g(R.auth);const te={octokit:N,auth:R.auth};N.hook.before("request",u.bind(null,te)),N.hook.error("request",p.bind(null,te))};const{createTokenAuth:v}=w(7868),{Deprecation:m}=w(505),d=w(6389),u=w(4245),p=w(1367),g=w(5663),y=w(8240),b=d((N,R)=>N.warn(R)),C=d((N,R)=>N.warn(R))},1367:(se,q,w)=>{se.exports=function m(d,u,p){if(!u.headers)throw u;const g=/required/.test(u.headers["x-github-otp"]||"");if(401!==u.status||!g)throw u;if(401===u.status&&g&&u.request&&u.request.headers["x-github-otp"]){if(!d.otp)throw new v("Invalid one-time password for two-factor authentication",401,{headers:u.headers,request:p});delete d.otp}if("function"!=typeof d.auth.on2fa)throw new v("2FA required, but options.on2fa is not a function. See https://github.com/octokit/rest.js#authentication",401,{headers:u.headers,request:p});return Promise.resolve().then(()=>d.auth.on2fa()).then(y=>{const b=Object.assign(p,{headers:Object.assign(p.headers,{"x-github-otp":y})});return d.octokit.request(b).then(C=>(d.otp=y,C))})};const{RequestError:v}=w(7217)},5663:se=>{se.exports=function q(w){if(!("string"==typeof w||"function"==typeof w||w.username&&w.password||w.clientId&&w.clientSecret))throw new Error(`Invalid "auth" option: ${JSON.stringify(w)}`)}},8240:(se,q,w)=>{se.exports=function d(u){if(/^(basic|bearer|token) /i.test(u))return u;try{if(m.test(v(u)))return`basic ${u}`}catch(p){}return 3===u.split(/\./).length?`bearer ${u}`:`token ${u}`};const v=w(2131),m=/^[\w-]+:/},4360:(se,q,w)=>{se.exports=function m(d){Object.assign(d,v(d))};const{paginateRest:v}=w(931)},6650:(se,q,w)=>{se.exports=function m(d){d.hook.before("request",v.bind(null,d))};const v=w(2643)},2643:(se,q,w)=>{"use strict";se.exports=function u(p,g){if(!g.request.validate)return;const{validate:y}=g.request;return Object.keys(y).forEach(b=>{const C=m(y,b),P=C.type;let N,R,B=!0,F=!1;/\./.test(b)&&(N=b.replace(/\.[^.]+$/,""),F="[]"===N.slice(-2),F&&(N=N.slice(0,-2)),R=m(g,N),B="headers"===N||"object"==typeof R&&null!==R),(F?(m(g,N)||[]).map(te=>te[b.split(/\./).pop()]):[m(g,b)]).forEach((te,$e)=>{const ct=void 0!==te,jt=null===te,Ot=F?b.replace(/\[\]/,`[${$e}]`):b;if((C.required||ct)&&B&&(!C.allowNull||!jt)){if(!C.allowNull&&jt)throw new v(`'${Ot}' cannot be null`,400,{request:g});if(C.required&&!ct)throw new v(`Empty value for parameter '${Ot}': ${JSON.stringify(te)}`,400,{request:g});if("integer"===P){const kt=te;if(te=parseInt(te,10),isNaN(te))throw new v(`Invalid value for parameter '${Ot}': ${JSON.stringify(kt)} is NaN`,400,{request:g})}if(C.enum&&-1===C.enum.indexOf(String(te)))throw new v(`Invalid value for parameter '${Ot}': ${JSON.stringify(te)}`,400,{request:g});if(C.validation&&!new RegExp(C.validation).test(te))throw new v(`Invalid value for parameter '${Ot}': ${JSON.stringify(te)}`,400,{request:g});if("object"===P&&"string"==typeof te)try{te=JSON.parse(te)}catch(kt){throw new v(`JSON parse error of value for parameter '${Ot}': ${JSON.stringify(te)}`,400,{request:g})}d(g,C.mapTo||Ot,te)}})}),g};const{RequestError:v}=w(7217),m=w(4947),d=w(2718)},7883:(se,q,w)=>{"use strict";w.d(q,{D:()=>g});var v=Object.prototype,m=v.toString,d=v.hasOwnProperty,u=Function.prototype.toString,p=new Map;function g(F,L){try{return y(F,L)}finally{p.clear()}}function y(F,L){if(F===L)return!0;var te=m.call(F);if(te!==m.call(L))return!1;switch(te){case"[object Array]":if(F.length!==L.length)return!1;case"[object Object]":if(R(F,L))return!0;var ct=b(F),jt=b(L),Ot=ct.length;if(Ot!==jt.length)return!1;for(var kt=0;kt=0&&F.indexOf(L,te)===te}(Pe,P)}return!1}function b(F){return Object.keys(F).filter(C,F)}function C(F){return void 0!==this[F]}var P="{ [native code] }";function R(F,L){var te=p.get(F);if(te){if(te.has(L))return!0}else p.set(F,te=new Set);return te.add(L),!1}},2131:se=>{se.exports=function(w){return atob(w)}},4833:(se,q,w)=>{var v=w(6805),m=w(5051),d=w(241),u=Function.bind,p=u.bind(u);function g(N,R,B){var F=p(d,null).apply(null,B?[R,B]:[R]);N.api={remove:F},N.remove=F,["before","error","after","wrap"].forEach(function(L){var te=B?[R,L,B]:[R,L];N[L]=N.api[L]=p(m,null).apply(null,te)})}function b(){var N={registry:{}},R=v.bind(null,N);return g(R,N),R}var C=!1;function P(){return C||(console.warn('[before-after-hook]: "Hook()" repurposing warning, use "Hook.Collection()". Read more: https://git.io/upgrade-before-after-hook-to-1.4'),C=!0),b()}P.Singular=function y(){var R={registry:{}},B=v.bind(null,R,"h");return g(B,R,"h"),B}.bind(),P.Collection=b.bind(),se.exports=P,se.exports.Hook=P,se.exports.Singular=P.Singular,se.exports.Collection=P.Collection},5051:se=>{se.exports=function q(w,v,m,d){var u=d;w.registry[m]||(w.registry[m]=[]),"before"===v&&(d=function(p,g){return Promise.resolve().then(u.bind(null,g)).then(p.bind(null,g))}),"after"===v&&(d=function(p,g){var y;return Promise.resolve().then(p.bind(null,g)).then(function(b){return u(y=b,g)}).then(function(){return y})}),"error"===v&&(d=function(p,g){return Promise.resolve().then(p.bind(null,g)).catch(function(y){return u(y,g)})}),w.registry[m].push({hook:d,orig:u})}},6805:se=>{se.exports=function q(w,v,m,d){if("function"!=typeof m)throw new Error("method for before hook must be a function");return d||(d={}),Array.isArray(v)?v.reverse().reduce(function(u,p){return q.bind(null,w,p,u,d)},m)():Promise.resolve().then(function(){return w.registry[v]?w.registry[v].reduce(function(u,p){return p.hook.bind(null,u,d)},m)():m(d)})}},241:se=>{se.exports=function q(w,v,m){if(w.registry[v]){var d=w.registry[v].map(function(u){return u.orig}).indexOf(m);-1!==d&&w.registry[v].splice(d,1)}}},7972:se=>{se.exports=function(w){return btoa(w)}},505:(se,q,w)=>{"use strict";w.r(q),w.d(q,{Deprecation:()=>v});class v extends Error{constructor(d){super(d),Error.captureStackTrace&&Error.captureStackTrace(this,this.constructor),this.name="Deprecation"}}},3969:se=>{var q=function(){this.Diff_Timeout=1,this.Diff_EditCost=4,this.Match_Threshold=.5,this.Match_Distance=1e3,this.Patch_DeleteThreshold=.5,this.Patch_Margin=4,this.Match_MaxBits=32},w=-1;q.Diff=function(d,u){return[d,u]},q.prototype.diff_main=function(d,u,p,g){void 0===g&&(g=this.Diff_Timeout<=0?Number.MAX_VALUE:(new Date).getTime()+1e3*this.Diff_Timeout);var y=g;if(null==d||null==u)throw new Error("Null input. (diff_main)");if(d==u)return d?[new q.Diff(0,d)]:[];void 0===p&&(p=!0);var b=p,C=this.diff_commonPrefix(d,u),P=d.substring(0,C);d=d.substring(C),u=u.substring(C),C=this.diff_commonSuffix(d,u);var N=d.substring(d.length-C);d=d.substring(0,d.length-C),u=u.substring(0,u.length-C);var R=this.diff_compute_(d,u,b,y);return P&&R.unshift(new q.Diff(0,P)),N&&R.push(new q.Diff(0,N)),this.diff_cleanupMerge(R),R},q.prototype.diff_compute_=function(d,u,p,g){var y;if(!d)return[new q.Diff(1,u)];if(!u)return[new q.Diff(w,d)];var b=d.length>u.length?d:u,C=d.length>u.length?u:d,P=b.indexOf(C);if(-1!=P)return y=[new q.Diff(1,b.substring(0,P)),new q.Diff(0,C),new q.Diff(1,b.substring(P+C.length))],d.length>u.length&&(y[0][0]=y[2][0]=w),y;if(1==C.length)return[new q.Diff(w,d),new q.Diff(1,u)];var N=this.diff_halfMatch_(d,u);if(N){var B=N[1],L=N[3],te=N[4],$e=this.diff_main(N[0],N[2],p,g),ct=this.diff_main(B,L,p,g);return $e.concat([new q.Diff(0,te)],ct)}return p&&d.length>100&&u.length>100?this.diff_lineMode_(d,u,g):this.diff_bisect_(d,u,g)},q.prototype.diff_lineMode_=function(d,u,p){var g=this.diff_linesToChars_(d,u),y=g.lineArray,b=this.diff_main(d=g.chars1,u=g.chars2,!1,p);this.diff_charsToLines_(b,y),this.diff_cleanupSemantic(b),b.push(new q.Diff(0,""));for(var C=0,P=0,N=0,R="",B="";C=1&&N>=1){b.splice(C-P-N,P+N),C=C-P-N;for(var F=this.diff_main(R,B,!1,p),L=F.length-1;L>=0;L--)b.splice(C,0,F[L]);C+=F.length}N=0,P=0,R="",B=""}C++}return b.pop(),b},q.prototype.diff_bisect_=function(d,u,p){for(var g=d.length,y=u.length,b=Math.ceil((g+y)/2),C=b,P=2*b,N=new Array(P),R=new Array(P),B=0;Bp);Ot++){for(var kt=-Ot+te;kt<=Ot-$e;kt+=2){for(var st=C+kt,Ee=(Xe=kt==-Ot||kt!=Ot&&N[st-1]g)$e+=2;else if(Ee>y)te+=2;else if(L&&(E=C+F-kt)>=0&&E=(G=g-R[E]))return this.diff_bisectSplit_(d,u,Xe,Ee,p)}for(var ie=-Ot+ct;ie<=Ot-jt;ie+=2){for(var G,E=C+ie,K=(G=ie==-Ot||ie!=Ot&&R[E-1]g)jt+=2;else if(K>y)ct+=2;else if(!L){var Xe;if((st=C+F-ie)>=0&&st=(G=g-G))return this.diff_bisectSplit_(d,u,Xe,Ee,p)}}}return[new q.Diff(w,d),new q.Diff(1,u)]},q.prototype.diff_bisectSplit_=function(d,u,p,g,y){var b=d.substring(0,p),C=u.substring(0,g),P=d.substring(p),N=u.substring(g),R=this.diff_main(b,C,!1,y),B=this.diff_main(P,N,!1,y);return R.concat(B)},q.prototype.diff_linesToChars_=function(d,u){var p=[],g={};function y(N){for(var R="",B=0,F=-1,L=p.length;Fg?d=d.substring(p-g):pu.length?d:u,g=d.length>u.length?u:d;if(p.length<4||2*g.length=$e.length?[Xe,Ee,E,G,st]:null}var N,R,B,F,L,C=b(p,g,Math.ceil(p.length/4)),P=b(p,g,Math.ceil(p.length/2));return C||P?(N=P?C&&C[4].length>P[4].length?C:P:C,d.length>u.length?(R=N[0],B=N[1],F=N[2],L=N[3]):(F=N[0],L=N[1],R=N[2],B=N[3]),[R,B,F,L,N[4]]):null},q.prototype.diff_cleanupSemantic=function(d){for(var u=!1,p=[],g=0,y=null,b=0,C=0,P=0,N=0,R=0;b0?p[g-1]:-1,C=0,P=0,N=0,R=0,y=null,u=!0)),b++;for(u&&this.diff_cleanupMerge(d),this.diff_cleanupSemanticLossless(d),b=1;b=te?(L>=B.length/2||L>=F.length/2)&&(d.splice(b,0,new q.Diff(0,F.substring(0,L))),d[b-1][1]=B.substring(0,B.length-L),d[b+1][1]=F.substring(L),b++):(te>=B.length/2||te>=F.length/2)&&(d.splice(b,0,new q.Diff(0,B.substring(0,te))),d[b-1][0]=1,d[b-1][1]=F.substring(0,F.length-te),d[b+1][0]=w,d[b+1][1]=B.substring(te),b++),b++}b++}},q.prototype.diff_cleanupSemanticLossless=function(d){function u(te,$e){if(!te||!$e)return 6;var ct=te.charAt(te.length-1),jt=$e.charAt(0),Ot=ct.match(q.nonAlphaNumericRegex_),kt=jt.match(q.nonAlphaNumericRegex_),st=Ot&&ct.match(q.whitespaceRegex_),Xe=kt&&jt.match(q.whitespaceRegex_),Ee=st&&ct.match(q.linebreakRegex_),E=Xe&&jt.match(q.linebreakRegex_),G=Ee&&te.match(q.blanklineEndRegex_),ie=E&&$e.match(q.blanklineStartRegex_);return G||ie?5:Ee||E?4:Ot&&!st&&Xe?3:st||Xe?2:Ot||kt?1:0}for(var p=1;p=F&&(F=L,N=g,R=y,B=b)}d[p-1][1]!=N&&(N?d[p-1][1]=N:(d.splice(p-1,1),p--),d[p][1]=R,B?d[p+1][1]=B:(d.splice(p+1,1),p--))}p++}},q.nonAlphaNumericRegex_=/[^a-zA-Z0-9]/,q.whitespaceRegex_=/\s/,q.linebreakRegex_=/[\r\n]/,q.blanklineEndRegex_=/\n\r?\n$/,q.blanklineStartRegex_=/^\r?\n\r?\n/,q.prototype.diff_cleanupEfficiency=function(d){for(var u=!1,p=[],g=0,y=null,b=0,C=!1,P=!1,N=!1,R=!1;b0?p[g-1]:-1,N=R=!1),u=!0)),b++;u&&this.diff_cleanupMerge(d)},q.prototype.diff_cleanupMerge=function(d){d.push(new q.Diff(0,""));for(var C,u=0,p=0,g=0,y="",b="";u1?(0!==p&&0!==g&&(0!==(C=this.diff_commonPrefix(b,y))&&(u-p-g>0&&0==d[u-p-g-1][0]?d[u-p-g-1][1]+=b.substring(0,C):(d.splice(0,0,new q.Diff(0,b.substring(0,C))),u++),b=b.substring(C),y=y.substring(C)),0!==(C=this.diff_commonSuffix(b,y))&&(d[u][1]=b.substring(b.length-C)+d[u][1],b=b.substring(0,b.length-C),y=y.substring(0,y.length-C))),d.splice(u-=p+g,p+g),y.length&&(d.splice(u,0,new q.Diff(w,y)),u++),b.length&&(d.splice(u,0,new q.Diff(1,b)),u++),u++):0!==u&&0==d[u-1][0]?(d[u-1][1]+=d[u][1],d.splice(u,1)):u++,g=0,p=0,y="",b=""}""===d[d.length-1][1]&&d.pop();var P=!1;for(u=1;uu));C++)y=p,b=g;return d.length!=C&&d[C][0]===w?b:b+(u-y)},q.prototype.diff_prettyHtml=function(d){for(var u=[],p=/&/g,g=//g,b=/\n/g,C=0;C");switch(P){case 1:u[C]=''+R+"";break;case w:u[C]=''+R+"";break;case 0:u[C]=""+R+""}}return u.join("")},q.prototype.diff_text1=function(d){for(var u=[],p=0;pthis.Match_MaxBits)throw new Error("Pattern too long for this browser.");var g=this.match_alphabet_(u),y=this;function b(Xe,Ee){var E=Xe/u.length,G=Math.abs(p-Ee);return y.Match_Distance?E+G/y.Match_Distance:G?1:E}var C=this.Match_Threshold,P=d.indexOf(u,p);-1!=P&&(C=Math.min(b(0,P),C),-1!=(P=d.lastIndexOf(u,p+u.length))&&(C=Math.min(b(0,P),C)));var N=1<=$e;Ot--){var kt=g[d.charAt(Ot-1)];if(jt[Ot]=0===te?(jt[Ot+1]<<1|1)&kt:(jt[Ot+1]<<1|1)&kt|(L[Ot+1]|L[Ot])<<1|1|L[Ot+1],jt[Ot]&N){var st=b(te,Ot-1);if(st<=C){if(C=st,!((P=Ot-1)>p))break;$e=Math.max(1,2*p-P)}}}if(b(te+1,p)>C)break;L=jt}return P},q.prototype.match_alphabet_=function(d){for(var u={},p=0;p2&&(this.diff_cleanupSemantic(y),this.diff_cleanupEfficiency(y));else if(d&&"object"==typeof d&&void 0===u&&void 0===p)g=this.diff_text1(y=d);else if("string"==typeof d&&u&&"object"==typeof u&&void 0===p)g=d,y=u;else{if("string"!=typeof d||"string"!=typeof u||!p||"object"!=typeof p)throw new Error("Unknown call format to patch_make.");g=d,y=p}if(0===y.length)return[];for(var b=[],C=new q.patch_obj,P=0,N=0,R=0,B=g,F=g,L=0;L=2*this.Patch_Margin&&P&&(this.patch_addContext_(C,B),b.push(C),C=new q.patch_obj,P=0,B=F,N=R)}1!==te&&(N+=$e.length),te!==w&&(R+=$e.length)}return P&&(this.patch_addContext_(C,B),b.push(C)),b},q.prototype.patch_deepCopy=function(d){for(var u=[],p=0;pthis.Match_MaxBits?-1!=(N=this.match_main(u,P.substring(0,this.Match_MaxBits),C))&&(-1==(R=this.match_main(u,P.substring(P.length-this.Match_MaxBits),C+P.length-this.Match_MaxBits))||N>=R)&&(N=-1):N=this.match_main(u,P,C),-1==N)y[b]=!1,g-=d[b].length2-d[b].length1;else if(y[b]=!0,g=N-C,P==(B=u.substring(N,-1==R?N+P.length:R+this.Match_MaxBits)))u=u.substring(0,N)+this.diff_text2(d[b].diffs)+u.substring(N+P.length);else{var F=this.diff_main(P,B,!1);if(P.length>this.Match_MaxBits&&this.diff_levenshtein(F)/P.length>this.Patch_DeleteThreshold)y[b]=!1;else{this.diff_cleanupSemanticLossless(F);for(var te,L=0,$e=0;$eb[0][1].length){var C=u-b[0][1].length;b[0][1]=p.substring(b[0][1].length)+b[0][1],y.start1-=C,y.start2-=C,y.length1+=C,y.length2+=C}return 0==(b=(y=d[d.length-1]).diffs).length||0!=b[b.length-1][0]?(b.push(new q.Diff(0,p)),y.length1+=u,y.length2+=u):u>b[b.length-1][1].length&&(b[b.length-1][1]+=p.substring(0,C=u-b[b.length-1][1].length),y.length1+=C,y.length2+=C),p},q.prototype.patch_splitMax=function(d){for(var u=this.Match_MaxBits,p=0;p2*u?(P.length1+=B.length,y+=B.length,N=!1,P.diffs.push(new q.Diff(R,B)),g.diffs.shift()):(B=B.substring(0,u-P.length1-this.Patch_Margin),P.length1+=B.length,y+=B.length,0===R?(P.length2+=B.length,b+=B.length):N=!1,P.diffs.push(new q.Diff(R,B)),B==g.diffs[0][1]?g.diffs.shift():g.diffs[0][1]=g.diffs[0][1].substring(B.length))}C=(C=this.diff_text2(P.diffs)).substring(C.length-this.Patch_Margin);var F=this.diff_text1(g.diffs).substring(0,this.Patch_Margin);""!==F&&(P.length1+=F.length,P.length2+=F.length,0!==P.diffs.length&&0===P.diffs[P.diffs.length-1][0]?P.diffs[P.diffs.length-1][1]+=F:P.diffs.push(new q.Diff(0,F))),N||d.splice(++p,0,P)}}},q.prototype.patch_toText=function(d){for(var u=[],p=0;p{"use strict";se.exports=function(q,w){w||(w={}),"function"==typeof w&&(w={cmp:w});var u,v="boolean"==typeof w.cycles&&w.cycles,m=w.cmp&&(u=w.cmp,function(p){return function(g,y){return u({key:g,value:p[g]},{key:y,value:p[y]})}}),d=[];return function u(p){if(p&&p.toJSON&&"function"==typeof p.toJSON&&(p=p.toJSON()),void 0!==p){if("number"==typeof p)return isFinite(p)?""+p:"null";if("object"!=typeof p)return JSON.stringify(p);var g,y;if(Array.isArray(p)){for(y="[",g=0;g{"use strict";w.d(q,{ZP:()=>en});var v=w(7582);function m(ne){return(m="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(W){return typeof W}:function(W){return W&&"function"==typeof Symbol&&W.constructor===Symbol&&W!==Symbol.prototype?"symbol":typeof W})(ne)}"function"==typeof Symbol&&null!=Symbol.iterator&&Symbol,"function"==typeof Symbol&&null!=Symbol.asyncIterator&&Symbol;var g="function"==typeof Symbol&&null!=Symbol.toStringTag?Symbol.toStringTag:"@@toStringTag";function y(ne,fe){for(var Oe,W=/\r\n|[\n\r]/g,ce=1,ye=fe+1;(Oe=W.exec(ne.body))&&Oe.index120){for(var he=Math.floor(ee/80),ke=ee%80,Ft=[],rn=0;rn0},name:{enumerable:!1},nodes:{enumerable:!1},source:{enumerable:!1},positions:{enumerable:!1},originalError:{enumerable:!1}}),null!=ee&&ee.stack?(Object.defineProperty(Xe(ke),"stack",{value:ee.stack,writable:!0,configurable:!0}),st(ke)):(Error.captureStackTrace?Error.captureStackTrace(Xe(ke),W):Object.defineProperty(Xe(ke),"stack",{value:Error().stack,writable:!0,configurable:!0}),ke)}return function jt(ne,fe,W){fe&&ct(ne.prototype,fe),W&&ct(ne,W)}(W,[{key:"toString",value:function(){return function ot(ne){var fe=ne.message;if(ne.nodes)for(var W=0,ce=ne.nodes;W",EOF:"",BANG:"!",DOLLAR:"$",AMP:"&",PAREN_L:"(",PAREN_R:")",SPREAD:"...",COLON:":",EQUALS:"=",AT:"@",BRACKET_L:"[",BRACKET_R:"]",BRACE_L:"{",PIPE:"|",BRACE_R:"}",NAME:"Name",INT:"Int",FLOAT:"Float",STRING:"String",BLOCK_STRING:"BlockString",COMMENT:"Comment"}),Q=w(744);function de(ne,fe){if(!Boolean(ne))throw new Error(fe)}function qe(ne,fe){for(var W=0;W1&&void 0!==arguments[1]?arguments[1]:"GraphQL request",ce=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{line:1,column:1};"string"==typeof fe||de(0,"Body must be a string. Received: ".concat((0,Q.Z)(fe),".")),this.body=fe,this.name=W,this.locationOffset=ce,this.locationOffset.line>0||de(0,"line in locationOffset is 1-indexed and must be positive."),this.locationOffset.column>0||de(0,"column in locationOffset is 1-indexed and must be positive.")}return function Ve(ne,fe,W){fe&&qe(ne.prototype,fe),W&&qe(ne,W)}(ne,[{key:g,get:function(){return"Source"}}]),ne}(),pn=Object.freeze({QUERY:"QUERY",MUTATION:"MUTATION",SUBSCRIPTION:"SUBSCRIPTION",FIELD:"FIELD",FRAGMENT_DEFINITION:"FRAGMENT_DEFINITION",FRAGMENT_SPREAD:"FRAGMENT_SPREAD",INLINE_FRAGMENT:"INLINE_FRAGMENT",VARIABLE_DEFINITION:"VARIABLE_DEFINITION",SCHEMA:"SCHEMA",SCALAR:"SCALAR",OBJECT:"OBJECT",FIELD_DEFINITION:"FIELD_DEFINITION",ARGUMENT_DEFINITION:"ARGUMENT_DEFINITION",INTERFACE:"INTERFACE",UNION:"UNION",ENUM:"ENUM",ENUM_VALUE:"ENUM_VALUE",INPUT_OBJECT:"INPUT_OBJECT",INPUT_FIELD_DEFINITION:"INPUT_FIELD_DEFINITION"}),Te=w(2032),lt=function(){function ne(W){var ce=new bt.WU(je.SOF,0,0,0,0,null);this.source=W,this.lastToken=ce,this.token=ce,this.line=1,this.lineStart=0}var fe=ne.prototype;return fe.advance=function(){return this.lastToken=this.token,this.token=this.lookahead()},fe.lookahead=function(){var ce=this.token;if(ce.kind!==je.EOF)do{var ye;ce=null!==(ye=ce.next)&&void 0!==ye?ye:ce.next=Je(this,ce)}while(ce.kind===je.COMMENT);return ce},ne}();function ft(ne){return isNaN(ne)?je.EOF:ne<127?JSON.stringify(String.fromCharCode(ne)):'"\\u'.concat(("00"+ne.toString(16).toUpperCase()).slice(-4),'"')}function Je(ne,fe){for(var W=ne.source,ce=W.body,ye=ce.length,Oe=fe.end;Oe31||9===U));return new bt.WU(je.COMMENT,fe,J,W,ce,ye,Oe.slice(fe+1,J))}function Jt(ne,fe,W,ce,ye,Oe){var U=ne.body,J=W,ee=fe,Re=!1;if(45===J&&(J=U.charCodeAt(++ee)),48===J){if((J=U.charCodeAt(++ee))>=48&&J<=57)throw vt(ne,ee,"Invalid number, unexpected digit after 0: ".concat(ft(J),"."))}else ee=Vt(ne,ee,J),J=U.charCodeAt(ee);if(46===J&&(Re=!0,J=U.charCodeAt(++ee),ee=Vt(ne,ee,J),J=U.charCodeAt(ee)),(69===J||101===J)&&(Re=!0,(43===(J=U.charCodeAt(++ee))||45===J)&&(J=U.charCodeAt(++ee)),ee=Vt(ne,ee,J),J=U.charCodeAt(ee)),46===J||function we(ne){return 95===ne||ne>=65&&ne<=90||ne>=97&&ne<=122}(J))throw vt(ne,ee,"Invalid number, expected digit but got: ".concat(ft(J),"."));return new bt.WU(Re?je.FLOAT:je.INT,fe,ee,ce,ye,Oe,U.slice(fe,ee))}function Vt(ne,fe,W){var ce=ne.body,ye=fe,Oe=W;if(Oe>=48&&Oe<=57){do{Oe=ce.charCodeAt(++ye)}while(Oe>=48&&Oe<=57);return ye}throw vt(ne,ye,"Invalid number, expected digit but got: ".concat(ft(Oe),"."))}function Bn(ne,fe,W,ce,ye){for(var Oe=ne.body,U=fe+1,J=U,ee=0,Re="";U=48&&ne<=57?ne-48:ne>=65&&ne<=70?ne-55:ne>=97&&ne<=102?ne-87:-1}function le(ne,fe,W,ce,ye){for(var Oe=ne.body,U=Oe.length,J=fe+1,ee=0;J!==U&&!isNaN(ee=Oe.charCodeAt(J))&&(95===ee||ee>=48&&ee<=57||ee>=65&&ee<=90||ee>=97&&ee<=122);)++J;return new bt.WU(je.NAME,fe,J,W,ce,ye,Oe.slice(fe,J))}var Pt=function(){function ne(W,ce){var ye=function Tt(ne){return ne instanceof ut}(W)?W:new ut(W);this._lexer=new lt(ye),this._options=ce}var fe=ne.prototype;return fe.parseName=function(){var ce=this.expectToken(je.NAME);return{kind:Qe.NAME,value:ce.value,loc:this.loc(ce)}},fe.parseDocument=function(){var ce=this._lexer.token;return{kind:Qe.DOCUMENT,definitions:this.many(je.SOF,this.parseDefinition,je.EOF),loc:this.loc(ce)}},fe.parseDefinition=function(){if(this.peek(je.NAME))switch(this._lexer.token.value){case"query":case"mutation":case"subscription":return this.parseOperationDefinition();case"fragment":return this.parseFragmentDefinition();case"schema":case"scalar":case"type":case"interface":case"union":case"enum":case"input":case"directive":return this.parseTypeSystemDefinition();case"extend":return this.parseTypeSystemExtension()}else{if(this.peek(je.BRACE_L))return this.parseOperationDefinition();if(this.peekDescription())return this.parseTypeSystemDefinition()}throw this.unexpected()},fe.parseOperationDefinition=function(){var ce=this._lexer.token;if(this.peek(je.BRACE_L))return{kind:Qe.OPERATION_DEFINITION,operation:"query",name:void 0,variableDefinitions:[],directives:[],selectionSet:this.parseSelectionSet(),loc:this.loc(ce)};var Oe,ye=this.parseOperationType();return this.peek(je.NAME)&&(Oe=this.parseName()),{kind:Qe.OPERATION_DEFINITION,operation:ye,name:Oe,variableDefinitions:this.parseVariableDefinitions(),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet(),loc:this.loc(ce)}},fe.parseOperationType=function(){var ce=this.expectToken(je.NAME);switch(ce.value){case"query":return"query";case"mutation":return"mutation";case"subscription":return"subscription"}throw this.unexpected(ce)},fe.parseVariableDefinitions=function(){return this.optionalMany(je.PAREN_L,this.parseVariableDefinition,je.PAREN_R)},fe.parseVariableDefinition=function(){var ce=this._lexer.token;return{kind:Qe.VARIABLE_DEFINITION,variable:this.parseVariable(),type:(this.expectToken(je.COLON),this.parseTypeReference()),defaultValue:this.expectOptionalToken(je.EQUALS)?this.parseValueLiteral(!0):void 0,directives:this.parseDirectives(!0),loc:this.loc(ce)}},fe.parseVariable=function(){var ce=this._lexer.token;return this.expectToken(je.DOLLAR),{kind:Qe.VARIABLE,name:this.parseName(),loc:this.loc(ce)}},fe.parseSelectionSet=function(){var ce=this._lexer.token;return{kind:Qe.SELECTION_SET,selections:this.many(je.BRACE_L,this.parseSelection,je.BRACE_R),loc:this.loc(ce)}},fe.parseSelection=function(){return this.peek(je.SPREAD)?this.parseFragment():this.parseField()},fe.parseField=function(){var Oe,U,ce=this._lexer.token,ye=this.parseName();return this.expectOptionalToken(je.COLON)?(Oe=ye,U=this.parseName()):U=ye,{kind:Qe.FIELD,alias:Oe,name:U,arguments:this.parseArguments(!1),directives:this.parseDirectives(!1),selectionSet:this.peek(je.BRACE_L)?this.parseSelectionSet():void 0,loc:this.loc(ce)}},fe.parseArguments=function(ce){return this.optionalMany(je.PAREN_L,ce?this.parseConstArgument:this.parseArgument,je.PAREN_R)},fe.parseArgument=function(){var ce=this._lexer.token,ye=this.parseName();return this.expectToken(je.COLON),{kind:Qe.ARGUMENT,name:ye,value:this.parseValueLiteral(!1),loc:this.loc(ce)}},fe.parseConstArgument=function(){var ce=this._lexer.token;return{kind:Qe.ARGUMENT,name:this.parseName(),value:(this.expectToken(je.COLON),this.parseValueLiteral(!0)),loc:this.loc(ce)}},fe.parseFragment=function(){var ce=this._lexer.token;this.expectToken(je.SPREAD);var ye=this.expectOptionalKeyword("on");return!ye&&this.peek(je.NAME)?{kind:Qe.FRAGMENT_SPREAD,name:this.parseFragmentName(),directives:this.parseDirectives(!1),loc:this.loc(ce)}:{kind:Qe.INLINE_FRAGMENT,typeCondition:ye?this.parseNamedType():void 0,directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet(),loc:this.loc(ce)}},fe.parseFragmentDefinition=function(){var ce,ye=this._lexer.token;return this.expectKeyword("fragment"),!0===(null===(ce=this._options)||void 0===ce?void 0:ce.experimentalFragmentVariables)?{kind:Qe.FRAGMENT_DEFINITION,name:this.parseFragmentName(),variableDefinitions:this.parseVariableDefinitions(),typeCondition:(this.expectKeyword("on"),this.parseNamedType()),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet(),loc:this.loc(ye)}:{kind:Qe.FRAGMENT_DEFINITION,name:this.parseFragmentName(),typeCondition:(this.expectKeyword("on"),this.parseNamedType()),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet(),loc:this.loc(ye)}},fe.parseFragmentName=function(){if("on"===this._lexer.token.value)throw this.unexpected();return this.parseName()},fe.parseValueLiteral=function(ce){var ye=this._lexer.token;switch(ye.kind){case je.BRACKET_L:return this.parseList(ce);case je.BRACE_L:return this.parseObject(ce);case je.INT:return this._lexer.advance(),{kind:Qe.INT,value:ye.value,loc:this.loc(ye)};case je.FLOAT:return this._lexer.advance(),{kind:Qe.FLOAT,value:ye.value,loc:this.loc(ye)};case je.STRING:case je.BLOCK_STRING:return this.parseStringLiteral();case je.NAME:switch(this._lexer.advance(),ye.value){case"true":return{kind:Qe.BOOLEAN,value:!0,loc:this.loc(ye)};case"false":return{kind:Qe.BOOLEAN,value:!1,loc:this.loc(ye)};case"null":return{kind:Qe.NULL,loc:this.loc(ye)};default:return{kind:Qe.ENUM,value:ye.value,loc:this.loc(ye)}}case je.DOLLAR:if(!ce)return this.parseVariable()}throw this.unexpected()},fe.parseStringLiteral=function(){var ce=this._lexer.token;return this._lexer.advance(),{kind:Qe.STRING,value:ce.value,block:ce.kind===je.BLOCK_STRING,loc:this.loc(ce)}},fe.parseList=function(ce){var ye=this,Oe=this._lexer.token;return{kind:Qe.LIST,values:this.any(je.BRACKET_L,function(){return ye.parseValueLiteral(ce)},je.BRACKET_R),loc:this.loc(Oe)}},fe.parseObject=function(ce){var ye=this,Oe=this._lexer.token;return{kind:Qe.OBJECT,fields:this.any(je.BRACE_L,function(){return ye.parseObjectField(ce)},je.BRACE_R),loc:this.loc(Oe)}},fe.parseObjectField=function(ce){var ye=this._lexer.token,Oe=this.parseName();return this.expectToken(je.COLON),{kind:Qe.OBJECT_FIELD,name:Oe,value:this.parseValueLiteral(ce),loc:this.loc(ye)}},fe.parseDirectives=function(ce){for(var ye=[];this.peek(je.AT);)ye.push(this.parseDirective(ce));return ye},fe.parseDirective=function(ce){var ye=this._lexer.token;return this.expectToken(je.AT),{kind:Qe.DIRECTIVE,name:this.parseName(),arguments:this.parseArguments(ce),loc:this.loc(ye)}},fe.parseTypeReference=function(){var ye,ce=this._lexer.token;return this.expectOptionalToken(je.BRACKET_L)?(ye=this.parseTypeReference(),this.expectToken(je.BRACKET_R),ye={kind:Qe.LIST_TYPE,type:ye,loc:this.loc(ce)}):ye=this.parseNamedType(),this.expectOptionalToken(je.BANG)?{kind:Qe.NON_NULL_TYPE,type:ye,loc:this.loc(ce)}:ye},fe.parseNamedType=function(){var ce=this._lexer.token;return{kind:Qe.NAMED_TYPE,name:this.parseName(),loc:this.loc(ce)}},fe.parseTypeSystemDefinition=function(){var ce=this.peekDescription()?this._lexer.lookahead():this._lexer.token;if(ce.kind===je.NAME)switch(ce.value){case"schema":return this.parseSchemaDefinition();case"scalar":return this.parseScalarTypeDefinition();case"type":return this.parseObjectTypeDefinition();case"interface":return this.parseInterfaceTypeDefinition();case"union":return this.parseUnionTypeDefinition();case"enum":return this.parseEnumTypeDefinition();case"input":return this.parseInputObjectTypeDefinition();case"directive":return this.parseDirectiveDefinition()}throw this.unexpected(ce)},fe.peekDescription=function(){return this.peek(je.STRING)||this.peek(je.BLOCK_STRING)},fe.parseDescription=function(){if(this.peekDescription())return this.parseStringLiteral()},fe.parseSchemaDefinition=function(){var ce=this._lexer.token,ye=this.parseDescription();this.expectKeyword("schema");var Oe=this.parseDirectives(!0),U=this.many(je.BRACE_L,this.parseOperationTypeDefinition,je.BRACE_R);return{kind:Qe.SCHEMA_DEFINITION,description:ye,directives:Oe,operationTypes:U,loc:this.loc(ce)}},fe.parseOperationTypeDefinition=function(){var ce=this._lexer.token,ye=this.parseOperationType();this.expectToken(je.COLON);var Oe=this.parseNamedType();return{kind:Qe.OPERATION_TYPE_DEFINITION,operation:ye,type:Oe,loc:this.loc(ce)}},fe.parseScalarTypeDefinition=function(){var ce=this._lexer.token,ye=this.parseDescription();this.expectKeyword("scalar");var Oe=this.parseName(),U=this.parseDirectives(!0);return{kind:Qe.SCALAR_TYPE_DEFINITION,description:ye,name:Oe,directives:U,loc:this.loc(ce)}},fe.parseObjectTypeDefinition=function(){var ce=this._lexer.token,ye=this.parseDescription();this.expectKeyword("type");var Oe=this.parseName(),U=this.parseImplementsInterfaces(),J=this.parseDirectives(!0),ee=this.parseFieldsDefinition();return{kind:Qe.OBJECT_TYPE_DEFINITION,description:ye,name:Oe,interfaces:U,directives:J,fields:ee,loc:this.loc(ce)}},fe.parseImplementsInterfaces=function(){var ce;if(!this.expectOptionalKeyword("implements"))return[];if(!0===(null===(ce=this._options)||void 0===ce?void 0:ce.allowLegacySDLImplementsInterfaces)){var ye=[];this.expectOptionalToken(je.AMP);do{ye.push(this.parseNamedType())}while(this.expectOptionalToken(je.AMP)||this.peek(je.NAME));return ye}return this.delimitedMany(je.AMP,this.parseNamedType)},fe.parseFieldsDefinition=function(){var ce;return!0===(null===(ce=this._options)||void 0===ce?void 0:ce.allowLegacySDLEmptyFields)&&this.peek(je.BRACE_L)&&this._lexer.lookahead().kind===je.BRACE_R?(this._lexer.advance(),this._lexer.advance(),[]):this.optionalMany(je.BRACE_L,this.parseFieldDefinition,je.BRACE_R)},fe.parseFieldDefinition=function(){var ce=this._lexer.token,ye=this.parseDescription(),Oe=this.parseName(),U=this.parseArgumentDefs();this.expectToken(je.COLON);var J=this.parseTypeReference(),ee=this.parseDirectives(!0);return{kind:Qe.FIELD_DEFINITION,description:ye,name:Oe,arguments:U,type:J,directives:ee,loc:this.loc(ce)}},fe.parseArgumentDefs=function(){return this.optionalMany(je.PAREN_L,this.parseInputValueDef,je.PAREN_R)},fe.parseInputValueDef=function(){var ce=this._lexer.token,ye=this.parseDescription(),Oe=this.parseName();this.expectToken(je.COLON);var J,U=this.parseTypeReference();this.expectOptionalToken(je.EQUALS)&&(J=this.parseValueLiteral(!0));var ee=this.parseDirectives(!0);return{kind:Qe.INPUT_VALUE_DEFINITION,description:ye,name:Oe,type:U,defaultValue:J,directives:ee,loc:this.loc(ce)}},fe.parseInterfaceTypeDefinition=function(){var ce=this._lexer.token,ye=this.parseDescription();this.expectKeyword("interface");var Oe=this.parseName(),U=this.parseImplementsInterfaces(),J=this.parseDirectives(!0),ee=this.parseFieldsDefinition();return{kind:Qe.INTERFACE_TYPE_DEFINITION,description:ye,name:Oe,interfaces:U,directives:J,fields:ee,loc:this.loc(ce)}},fe.parseUnionTypeDefinition=function(){var ce=this._lexer.token,ye=this.parseDescription();this.expectKeyword("union");var Oe=this.parseName(),U=this.parseDirectives(!0),J=this.parseUnionMemberTypes();return{kind:Qe.UNION_TYPE_DEFINITION,description:ye,name:Oe,directives:U,types:J,loc:this.loc(ce)}},fe.parseUnionMemberTypes=function(){return this.expectOptionalToken(je.EQUALS)?this.delimitedMany(je.PIPE,this.parseNamedType):[]},fe.parseEnumTypeDefinition=function(){var ce=this._lexer.token,ye=this.parseDescription();this.expectKeyword("enum");var Oe=this.parseName(),U=this.parseDirectives(!0),J=this.parseEnumValuesDefinition();return{kind:Qe.ENUM_TYPE_DEFINITION,description:ye,name:Oe,directives:U,values:J,loc:this.loc(ce)}},fe.parseEnumValuesDefinition=function(){return this.optionalMany(je.BRACE_L,this.parseEnumValueDefinition,je.BRACE_R)},fe.parseEnumValueDefinition=function(){var ce=this._lexer.token,ye=this.parseDescription(),Oe=this.parseName(),U=this.parseDirectives(!0);return{kind:Qe.ENUM_VALUE_DEFINITION,description:ye,name:Oe,directives:U,loc:this.loc(ce)}},fe.parseInputObjectTypeDefinition=function(){var ce=this._lexer.token,ye=this.parseDescription();this.expectKeyword("input");var Oe=this.parseName(),U=this.parseDirectives(!0),J=this.parseInputFieldsDefinition();return{kind:Qe.INPUT_OBJECT_TYPE_DEFINITION,description:ye,name:Oe,directives:U,fields:J,loc:this.loc(ce)}},fe.parseInputFieldsDefinition=function(){return this.optionalMany(je.BRACE_L,this.parseInputValueDef,je.BRACE_R)},fe.parseTypeSystemExtension=function(){var ce=this._lexer.lookahead();if(ce.kind===je.NAME)switch(ce.value){case"schema":return this.parseSchemaExtension();case"scalar":return this.parseScalarTypeExtension();case"type":return this.parseObjectTypeExtension();case"interface":return this.parseInterfaceTypeExtension();case"union":return this.parseUnionTypeExtension();case"enum":return this.parseEnumTypeExtension();case"input":return this.parseInputObjectTypeExtension()}throw this.unexpected(ce)},fe.parseSchemaExtension=function(){var ce=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("schema");var ye=this.parseDirectives(!0),Oe=this.optionalMany(je.BRACE_L,this.parseOperationTypeDefinition,je.BRACE_R);if(0===ye.length&&0===Oe.length)throw this.unexpected();return{kind:Qe.SCHEMA_EXTENSION,directives:ye,operationTypes:Oe,loc:this.loc(ce)}},fe.parseScalarTypeExtension=function(){var ce=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("scalar");var ye=this.parseName(),Oe=this.parseDirectives(!0);if(0===Oe.length)throw this.unexpected();return{kind:Qe.SCALAR_TYPE_EXTENSION,name:ye,directives:Oe,loc:this.loc(ce)}},fe.parseObjectTypeExtension=function(){var ce=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("type");var ye=this.parseName(),Oe=this.parseImplementsInterfaces(),U=this.parseDirectives(!0),J=this.parseFieldsDefinition();if(0===Oe.length&&0===U.length&&0===J.length)throw this.unexpected();return{kind:Qe.OBJECT_TYPE_EXTENSION,name:ye,interfaces:Oe,directives:U,fields:J,loc:this.loc(ce)}},fe.parseInterfaceTypeExtension=function(){var ce=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("interface");var ye=this.parseName(),Oe=this.parseImplementsInterfaces(),U=this.parseDirectives(!0),J=this.parseFieldsDefinition();if(0===Oe.length&&0===U.length&&0===J.length)throw this.unexpected();return{kind:Qe.INTERFACE_TYPE_EXTENSION,name:ye,interfaces:Oe,directives:U,fields:J,loc:this.loc(ce)}},fe.parseUnionTypeExtension=function(){var ce=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("union");var ye=this.parseName(),Oe=this.parseDirectives(!0),U=this.parseUnionMemberTypes();if(0===Oe.length&&0===U.length)throw this.unexpected();return{kind:Qe.UNION_TYPE_EXTENSION,name:ye,directives:Oe,types:U,loc:this.loc(ce)}},fe.parseEnumTypeExtension=function(){var ce=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("enum");var ye=this.parseName(),Oe=this.parseDirectives(!0),U=this.parseEnumValuesDefinition();if(0===Oe.length&&0===U.length)throw this.unexpected();return{kind:Qe.ENUM_TYPE_EXTENSION,name:ye,directives:Oe,values:U,loc:this.loc(ce)}},fe.parseInputObjectTypeExtension=function(){var ce=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("input");var ye=this.parseName(),Oe=this.parseDirectives(!0),U=this.parseInputFieldsDefinition();if(0===Oe.length&&0===U.length)throw this.unexpected();return{kind:Qe.INPUT_OBJECT_TYPE_EXTENSION,name:ye,directives:Oe,fields:U,loc:this.loc(ce)}},fe.parseDirectiveDefinition=function(){var ce=this._lexer.token,ye=this.parseDescription();this.expectKeyword("directive"),this.expectToken(je.AT);var Oe=this.parseName(),U=this.parseArgumentDefs(),J=this.expectOptionalKeyword("repeatable");this.expectKeyword("on");var ee=this.parseDirectiveLocations();return{kind:Qe.DIRECTIVE_DEFINITION,description:ye,name:Oe,arguments:U,repeatable:J,locations:ee,loc:this.loc(ce)}},fe.parseDirectiveLocations=function(){return this.delimitedMany(je.PIPE,this.parseDirectiveLocation)},fe.parseDirectiveLocation=function(){var ce=this._lexer.token,ye=this.parseName();if(void 0!==pn[ye.value])return ye;throw this.unexpected(ce)},fe.loc=function(ce){var ye;if(!0!==(null===(ye=this._options)||void 0===ye?void 0:ye.noLocation))return new bt.Ye(ce,this._lexer.lastToken,this._lexer.source)},fe.peek=function(ce){return this._lexer.token.kind===ce},fe.expectToken=function(ce){var ye=this._lexer.token;if(ye.kind===ce)return this._lexer.advance(),ye;throw vt(this._lexer.source,ye.start,"Expected ".concat(Le(ce),", found ").concat(_t(ye),"."))},fe.expectOptionalToken=function(ce){var ye=this._lexer.token;if(ye.kind===ce)return this._lexer.advance(),ye},fe.expectKeyword=function(ce){var ye=this._lexer.token;if(ye.kind!==je.NAME||ye.value!==ce)throw vt(this._lexer.source,ye.start,'Expected "'.concat(ce,'", found ').concat(_t(ye),"."));this._lexer.advance()},fe.expectOptionalKeyword=function(ce){var ye=this._lexer.token;return ye.kind===je.NAME&&ye.value===ce&&(this._lexer.advance(),!0)},fe.unexpected=function(ce){var ye=null!=ce?ce:this._lexer.token;return vt(this._lexer.source,ye.start,"Unexpected ".concat(_t(ye),"."))},fe.any=function(ce,ye,Oe){this.expectToken(ce);for(var U=[];!this.expectOptionalToken(Oe);)U.push(ye.call(this));return U},fe.optionalMany=function(ce,ye,Oe){if(this.expectOptionalToken(ce)){var U=[];do{U.push(ye.call(this))}while(!this.expectOptionalToken(Oe));return U}return[]},fe.many=function(ce,ye,Oe){this.expectToken(ce);var U=[];do{U.push(ye.call(this))}while(!this.expectOptionalToken(Oe));return U},fe.delimitedMany=function(ce,ye){this.expectOptionalToken(ce);var Oe=[];do{Oe.push(ye.call(this))}while(this.expectOptionalToken(ce));return Oe},ne}();function _t(ne){var fe=ne.value;return Le(ne.kind)+(null!=fe?' "'.concat(fe,'"'):"")}function Le(ne){return function dt(ne){return ne===je.BANG||ne===je.DOLLAR||ne===je.AMP||ne===je.PAREN_L||ne===je.PAREN_R||ne===je.SPREAD||ne===je.COLON||ne===je.EQUALS||ne===je.AT||ne===je.BRACKET_L||ne===je.BRACKET_R||ne===je.BRACE_L||ne===je.PIPE||ne===je.BRACE_R}(ne)?'"'.concat(ne,'"'):ne}var Ye=new Map,gt=new Map,Mt=!0,Xt=!1;function bn(ne){return ne.replace(/[\s,]+/g," ").trim()}function Ie(ne){var fe=bn(ne);if(!Ye.has(fe)){var W=function xe(ne,fe){return new Pt(ne,fe).parseDocument()}(ne,{experimentalFragmentVariables:Xt,allowLegacyFragmentVariables:Xt});if(!W||"Document"!==W.kind)throw new Error("Not a valid GraphQL document.");Ye.set(fe,function be(ne){var fe=new Set(ne.definitions);fe.forEach(function(ce){ce.loc&&delete ce.loc,Object.keys(ce).forEach(function(ye){var Oe=ce[ye];Oe&&"object"==typeof Oe&&fe.add(Oe)})});var W=ne.loc;return W&&(delete W.startToken,delete W.endToken),ne}(function ge(ne){var fe=new Set,W=[];return ne.definitions.forEach(function(ce){if("FragmentDefinition"===ce.kind){var ye=ce.name.value,Oe=function X(ne){return bn(ne.source.body.substring(ne.start,ne.end))}(ce.loc),U=gt.get(ye);U&&!U.has(Oe)?Mt&&console.warn("Warning: fragment with name "+ye+" already exists.\ngraphql-tag enforces all fragment names across your application to be unique; read more about\nthis in the docs: http://dev.apollodata.com/core/fragments.html#unique-names"):U||gt.set(ye,U=new Set),U.add(Oe),fe.has(Oe)||(fe.add(Oe),W.push(ce))}else W.push(ce)}),(0,v.pi)((0,v.pi)({},ne),{definitions:W})}(W)))}return Ye.get(fe)}function $(ne){for(var fe=[],W=1;W{var X,w="__lodash_hash_undefined__",v=1/0,p=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,g=/^\w*$/,y=/^\./,b=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,P=/\\(\\)?/g,N=/^\[object .+?Constructor\]$/,R="object"==typeof global&&global&&global.Object===Object&&global,B="object"==typeof self&&self&&self.Object===Object&&self,F=R||B||Function("return this")(),$e=Array.prototype,ct=Function.prototype,jt=Object.prototype,Ot=F["__core-js_shared__"],kt=(X=/[^.]+$/.exec(Ot&&Ot.keys&&Ot.keys.IE_PROTO||""))?"Symbol(src)_1."+X:"",st=ct.toString,Xe=jt.hasOwnProperty,Ee=jt.toString,E=RegExp("^"+st.call(Xe).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),G=F.Symbol,ie=$e.splice,K=xn(F,"Map"),Pe=xn(Object,"create"),Ne=G?G.prototype:void 0,_e=Ne?Ne.toString:void 0;function ot(X){var ge=-1,be=X?X.length:0;for(this.clear();++ge-1},de.prototype.set=function ut(X,ge){var be=this.__data__,Ie=Je(be,X);return Ie<0?be.push([X,ge]):be[Ie][1]=ge,this},Tt.prototype.clear=function pn(){this.__data__={hash:new ot,map:new(K||de),string:new ot}},Tt.prototype.delete=function Te(X){return Bn(this,X).delete(X)},Tt.prototype.get=function lt(X){return Bn(this,X).get(X)},Tt.prototype.has=function dt(X){return Bn(this,X).has(X)},Tt.prototype.set=function ft(X,ge){return Bn(this,X).set(X,ge),this};var we=at(function(X){X=function Xt(X){return null==X?"":function Jt(X){if("string"==typeof X)return X;if(Mt(X))return _e?_e.call(X):"";var ge=X+"";return"0"==ge&&1/X==-v?"-0":ge}(X)}(X);var ge=[];return y.test(X)&&ge.push(""),X.replace(b,function(be,Ie,$,pe){ge.push($?pe.replace(P,"$1"):Ie||be)}),ge});function xe(X){if("string"==typeof X||Mt(X))return X;var ge=X+"";return"0"==ge&&1/X==-v?"-0":ge}function at(X,ge){if("function"!=typeof X||ge&&"function"!=typeof ge)throw new TypeError("Expected a function");var be=function(){var Ie=arguments,$=ge?ge.apply(this,Ie):Ie[0],pe=be.cache;if(pe.has($))return pe.get($);var Ke=X.apply(this,Ie);return be.cache=pe.set($,Ke),Ke};return be.cache=new(at.Cache||Tt),be}function Pt(X,ge){return X===ge||X!=X&&ge!=ge}at.Cache=Tt;var _t=Array.isArray;function Ye(X){var ge=typeof X;return!!X&&("object"==ge||"function"==ge)}function Mt(X){return"symbol"==typeof X||function gt(X){return!!X&&"object"==typeof X}(X)&&"[object Symbol]"==Ee.call(X)}se.exports=function bn(X,ge,be){var Ie=null==X?void 0:function St(X,ge){ge=function ue(X,ge){if(_t(X))return!1;var be=typeof X;return!("number"!=be&&"symbol"!=be&&"boolean"!=be&&null!=X&&!Mt(X))||g.test(X)||!p.test(X)||null!=ge&&X in Object(ge)}(ge,X)?[ge]:function Vt(X){return _t(X)?X:we(X)}(ge);for(var be=0,Ie=ge.length;null!=X&&be{var $,w="__lodash_hash_undefined__",v=1/0,g=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,y=/^\w*$/,b=/^\./,C=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,N=/\\(\\)?/g,R=/^\[object .+?Constructor\]$/,B=/^(?:0|[1-9]\d*)$/,F="object"==typeof global&&global&&global.Object===Object&&global,L="object"==typeof self&&self&&self.Object===Object&&self,te=F||L||Function("return this")(),jt=Array.prototype,Ot=Function.prototype,kt=Object.prototype,st=te["__core-js_shared__"],Xe=($=/[^.]+$/.exec(st&&st.keys&&st.keys.IE_PROTO||""))?"Symbol(src)_1."+$:"",Ee=Ot.toString,E=kt.hasOwnProperty,G=kt.toString,ie=RegExp("^"+Ee.call(E).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),K=te.Symbol,Pe=jt.splice,Ne=le(te,"Map"),_e=le(Object,"create"),ot=K?K.prototype:void 0,vt=ot?ot.toString:void 0;function Qe($){var pe=-1,Ke=$?$.length:0;for(this.clear();++pe-1&&$%1==0&&$-1},ae.prototype.set=function pn($,pe){var Ke=this.__data__,Bt=Jt(Ke,$);return Bt<0?Ke.push([$,pe]):Ke[Bt][1]=pe,this},Te.prototype.clear=function lt(){this.__data__={hash:new Qe,map:new(Ne||ae),string:new Qe}},Te.prototype.delete=function dt($){return et(this,$).delete($)},Te.prototype.get=function ft($){return et(this,$).get($)},Te.prototype.has=function Je($){return et(this,$).has($)},Te.prototype.set=function St($,pe){return et(this,$).set($,pe),this};var Pt=Ye(function($){$=function be($){return null==$?"":function xn($){if("string"==typeof $)return $;if(ge($))return vt?vt.call($):"";var pe=$+"";return"0"==pe&&1/$==-v?"-0":pe}($)}($);var pe=[];return b.test($)&&pe.push(""),$.replace(C,function(Ke,Bt,yt,Dt){pe.push(yt?Dt.replace(N,"$1"):Bt||Ke)}),pe});function _t($){if("string"==typeof $||ge($))return $;var pe=$+"";return"0"==pe&&1/$==-v?"-0":pe}function Ye($,pe){if("function"!=typeof $||pe&&"function"!=typeof pe)throw new TypeError("Expected a function");var Ke=function(){var Bt=arguments,yt=pe?pe.apply(this,Bt):Bt[0],Dt=Ke.cache;if(Dt.has(yt))return Dt.get(yt);var en=$.apply(this,Bt);return Ke.cache=Dt.set(yt,en),en};return Ke.cache=new(Ye.Cache||Te),Ke}function gt($,pe){return $===pe||$!=$&&pe!=pe}Ye.Cache=Te;var Mt=Array.isArray;function bn($){var pe=typeof $;return!!$&&("object"==pe||"function"==pe)}function ge($){return"symbol"==typeof $||function X($){return!!$&&"object"==typeof $}($)&&"[object Symbol]"==G.call($)}se.exports=function Ie($,pe,Ke){return null==$?$:function Bn($,pe,Ke,Bt){if(!bn($))return $;pe=function xe($,pe){if(Mt($))return!1;var Ke=typeof $;return!("number"!=Ke&&"symbol"!=Ke&&"boolean"!=Ke&&null!=$&&!ge($))||y.test($)||!g.test($)||null!=pe&&$ in Object(pe)}(pe,$)?[pe]:function ue($){return Mt($)?$:Pt($)}(pe);for(var yt=-1,Dt=pe.length,en=Dt-1,ne=$;null!=ne&&++yt{var w="__lodash_hash_undefined__",p=/^\[object .+?Constructor\]$/,g="object"==typeof global&&global&&global.Object===Object&&global,y="object"==typeof self&&self&&self.Object===Object&&self,b=g||y||Function("return this")();function C(Le,Ye){return!(!Le||!Le.length)&&function R(Le,Ye,gt){if(Ye!=Ye)return function N(Le,Ye,gt,Mt){for(var Xt=Le.length,bn=gt+(Mt?1:-1);Mt?bn--:++bn-1}function P(Le,Ye,gt){for(var Mt=-1,Xt=Le?Le.length:0;++Mt-1},Q.prototype.set=function Ve(Le,Ye){var gt=this.__data__,Mt=Qt(gt,Le);return Mt<0?gt.push([Le,Ye]):gt[Mt][1]=Ye,this},ut.prototype.clear=function Tt(){this.__data__={hash:new _e,map:new(K||Q),string:new _e}},ut.prototype.delete=function pn(Le){return xn(this,Le).delete(Le)},ut.prototype.get=function Te(Le){return xn(this,Le).get(Le)},ut.prototype.has=function lt(Le){return xn(this,Le).has(Le)},ut.prototype.set=function dt(Le,Ye){return xn(this,Le).set(Le,Ye),this},ft.prototype.add=ft.prototype.push=function Je(Le){return this.__data__.set(Le,w),this},ft.prototype.has=function St(Le){return this.__data__.has(Le)};var Bn=Pe&&1/$e(new Pe([,-0]))[1]==1/0?function(Le){return new Pe(Le)}:function _t(){};function xn(Le,Ye){var gt=Le.__data__;return function et(Le){var Ye=typeof Le;return"string"==Ye||"number"==Ye||"symbol"==Ye||"boolean"==Ye?"__proto__"!==Le:null===Le}(Ye)?gt["string"==typeof Ye?"string":"hash"]:gt.map}function ue(Le,Ye){var gt=function L(Le,Ye){return null==Le?void 0:Le[Ye]}(Le,Ye);return function Jt(Le){if(!Pt(Le)||function le(Le){return!!st&&st in Le}(Le))return!1;var Ye=function at(Le){var Ye=Pt(Le)?E.call(Le):"";return"[object Function]"==Ye||"[object GeneratorFunction]"==Ye}(Le)||function te(Le){var Ye=!1;if(null!=Le&&"function"!=typeof Le.toString)try{Ye=!!(Le+"")}catch(gt){}return Ye}(Le)?G:p;return Ye.test(function we(Le){if(null!=Le){try{return Xe.call(Le)}catch(Ye){}try{return Le+""}catch(Ye){}}return""}(Le))}(gt)?gt:void 0}function Ze(Le,Ye){return Le===Ye||Le!=Le&&Ye!=Ye}function Pt(Le){var Ye=typeof Le;return!!Le&&("object"==Ye||"function"==Ye)}se.exports=function xe(Le){return Le&&Le.length?function Vt(Le,Ye,gt){var Mt=-1,Xt=C,bn=Le.length,X=!0,ge=[],be=ge;if(gt)X=!1,Xt=P;else if(bn>=200){var Ie=Ye?null:Bn(Le);if(Ie)return $e(Ie);X=!1,Xt=F,be=new ft}else be=Ye?[]:ge;e:for(;++Mt=20?"ste":"de")},week:{dow:1,doy:4}})}(w(5439))},2502:function(se,q,w){!function(v){"use strict";var m=function(y){return 0===y?0:1===y?1:2===y?2:y%100>=3&&y%100<=10?3:y%100>=11?4:5},d={s:["\u0623\u0642\u0644 \u0645\u0646 \u062b\u0627\u0646\u064a\u0629","\u062b\u0627\u0646\u064a\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062b\u0627\u0646\u064a\u062a\u0627\u0646","\u062b\u0627\u0646\u064a\u062a\u064a\u0646"],"%d \u062b\u0648\u0627\u0646","%d \u062b\u0627\u0646\u064a\u0629","%d \u062b\u0627\u0646\u064a\u0629"],m:["\u0623\u0642\u0644 \u0645\u0646 \u062f\u0642\u064a\u0642\u0629","\u062f\u0642\u064a\u0642\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062f\u0642\u064a\u0642\u062a\u0627\u0646","\u062f\u0642\u064a\u0642\u062a\u064a\u0646"],"%d \u062f\u0642\u0627\u0626\u0642","%d \u062f\u0642\u064a\u0642\u0629","%d \u062f\u0642\u064a\u0642\u0629"],h:["\u0623\u0642\u0644 \u0645\u0646 \u0633\u0627\u0639\u0629","\u0633\u0627\u0639\u0629 \u0648\u0627\u062d\u062f\u0629",["\u0633\u0627\u0639\u062a\u0627\u0646","\u0633\u0627\u0639\u062a\u064a\u0646"],"%d \u0633\u0627\u0639\u0627\u062a","%d \u0633\u0627\u0639\u0629","%d \u0633\u0627\u0639\u0629"],d:["\u0623\u0642\u0644 \u0645\u0646 \u064a\u0648\u0645","\u064a\u0648\u0645 \u0648\u0627\u062d\u062f",["\u064a\u0648\u0645\u0627\u0646","\u064a\u0648\u0645\u064a\u0646"],"%d \u0623\u064a\u0627\u0645","%d \u064a\u0648\u0645\u064b\u0627","%d \u064a\u0648\u0645"],M:["\u0623\u0642\u0644 \u0645\u0646 \u0634\u0647\u0631","\u0634\u0647\u0631 \u0648\u0627\u062d\u062f",["\u0634\u0647\u0631\u0627\u0646","\u0634\u0647\u0631\u064a\u0646"],"%d \u0623\u0634\u0647\u0631","%d \u0634\u0647\u0631\u0627","%d \u0634\u0647\u0631"],y:["\u0623\u0642\u0644 \u0645\u0646 \u0639\u0627\u0645","\u0639\u0627\u0645 \u0648\u0627\u062d\u062f",["\u0639\u0627\u0645\u0627\u0646","\u0639\u0627\u0645\u064a\u0646"],"%d \u0623\u0639\u0648\u0627\u0645","%d \u0639\u0627\u0645\u064b\u0627","%d \u0639\u0627\u0645"]},u=function(y){return function(b,C,P,N){var R=m(b),B=d[y][m(b)];return 2===R&&(B=B[C?0:1]),B.replace(/%d/i,b)}},p=["\u062c\u0627\u0646\u0641\u064a","\u0641\u064a\u0641\u0631\u064a","\u0645\u0627\u0631\u0633","\u0623\u0641\u0631\u064a\u0644","\u0645\u0627\u064a","\u062c\u0648\u0627\u0646","\u062c\u0648\u064a\u0644\u064a\u0629","\u0623\u0648\u062a","\u0633\u0628\u062a\u0645\u0628\u0631","\u0623\u0643\u062a\u0648\u0628\u0631","\u0646\u0648\u0641\u0645\u0628\u0631","\u062f\u064a\u0633\u0645\u0628\u0631"];v.defineLocale("ar-dz",{months:p,monthsShort:p,weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0623\u062d\u062f_\u0625\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0623\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/\u200fM/\u200fYYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0635|\u0645/,isPM:function(y){return"\u0645"===y},meridiem:function(y,b,C){return y<12?"\u0635":"\u0645"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u064b\u0627 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0628\u0639\u062f %s",past:"\u0645\u0646\u0630 %s",s:u("s"),ss:u("s"),m:u("m"),mm:u("m"),h:u("h"),hh:u("h"),d:u("d"),dd:u("d"),M:u("M"),MM:u("M"),y:u("y"),yy:u("y")},postformat:function(y){return y.replace(/,/g,"\u060c")},week:{dow:0,doy:4}})}(w(5439))},128:function(se,q,w){!function(v){"use strict";v.defineLocale("ar-kw",{months:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648\u0632_\u063a\u0634\u062a_\u0634\u062a\u0646\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0646\u0628\u0631_\u062f\u062c\u0646\u0628\u0631".split("_"),monthsShort:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648\u0632_\u063a\u0634\u062a_\u0634\u062a\u0646\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0646\u0628\u0631_\u062f\u062c\u0646\u0628\u0631".split("_"),weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062a\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0627\u062d\u062f_\u0627\u062a\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u0627 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0641\u064a %s",past:"\u0645\u0646\u0630 %s",s:"\u062b\u0648\u0627\u0646",ss:"%d \u062b\u0627\u0646\u064a\u0629",m:"\u062f\u0642\u064a\u0642\u0629",mm:"%d \u062f\u0642\u0627\u0626\u0642",h:"\u0633\u0627\u0639\u0629",hh:"%d \u0633\u0627\u0639\u0627\u062a",d:"\u064a\u0648\u0645",dd:"%d \u0623\u064a\u0627\u0645",M:"\u0634\u0647\u0631",MM:"%d \u0623\u0634\u0647\u0631",y:"\u0633\u0646\u0629",yy:"%d \u0633\u0646\u0648\u0627\u062a"},week:{dow:0,doy:12}})}(w(5439))},4519:function(se,q,w){!function(v){"use strict";var m={1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",0:"0"},d=function(b){return 0===b?0:1===b?1:2===b?2:b%100>=3&&b%100<=10?3:b%100>=11?4:5},u={s:["\u0623\u0642\u0644 \u0645\u0646 \u062b\u0627\u0646\u064a\u0629","\u062b\u0627\u0646\u064a\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062b\u0627\u0646\u064a\u062a\u0627\u0646","\u062b\u0627\u0646\u064a\u062a\u064a\u0646"],"%d \u062b\u0648\u0627\u0646","%d \u062b\u0627\u0646\u064a\u0629","%d \u062b\u0627\u0646\u064a\u0629"],m:["\u0623\u0642\u0644 \u0645\u0646 \u062f\u0642\u064a\u0642\u0629","\u062f\u0642\u064a\u0642\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062f\u0642\u064a\u0642\u062a\u0627\u0646","\u062f\u0642\u064a\u0642\u062a\u064a\u0646"],"%d \u062f\u0642\u0627\u0626\u0642","%d \u062f\u0642\u064a\u0642\u0629","%d \u062f\u0642\u064a\u0642\u0629"],h:["\u0623\u0642\u0644 \u0645\u0646 \u0633\u0627\u0639\u0629","\u0633\u0627\u0639\u0629 \u0648\u0627\u062d\u062f\u0629",["\u0633\u0627\u0639\u062a\u0627\u0646","\u0633\u0627\u0639\u062a\u064a\u0646"],"%d \u0633\u0627\u0639\u0627\u062a","%d \u0633\u0627\u0639\u0629","%d \u0633\u0627\u0639\u0629"],d:["\u0623\u0642\u0644 \u0645\u0646 \u064a\u0648\u0645","\u064a\u0648\u0645 \u0648\u0627\u062d\u062f",["\u064a\u0648\u0645\u0627\u0646","\u064a\u0648\u0645\u064a\u0646"],"%d \u0623\u064a\u0627\u0645","%d \u064a\u0648\u0645\u064b\u0627","%d \u064a\u0648\u0645"],M:["\u0623\u0642\u0644 \u0645\u0646 \u0634\u0647\u0631","\u0634\u0647\u0631 \u0648\u0627\u062d\u062f",["\u0634\u0647\u0631\u0627\u0646","\u0634\u0647\u0631\u064a\u0646"],"%d \u0623\u0634\u0647\u0631","%d \u0634\u0647\u0631\u0627","%d \u0634\u0647\u0631"],y:["\u0623\u0642\u0644 \u0645\u0646 \u0639\u0627\u0645","\u0639\u0627\u0645 \u0648\u0627\u062d\u062f",["\u0639\u0627\u0645\u0627\u0646","\u0639\u0627\u0645\u064a\u0646"],"%d \u0623\u0639\u0648\u0627\u0645","%d \u0639\u0627\u0645\u064b\u0627","%d \u0639\u0627\u0645"]},p=function(b){return function(C,P,N,R){var B=d(C),F=u[b][d(C)];return 2===B&&(F=F[P?0:1]),F.replace(/%d/i,C)}},g=["\u064a\u0646\u0627\u064a\u0631","\u0641\u0628\u0631\u0627\u064a\u0631","\u0645\u0627\u0631\u0633","\u0623\u0628\u0631\u064a\u0644","\u0645\u0627\u064a\u0648","\u064a\u0648\u0646\u064a\u0648","\u064a\u0648\u0644\u064a\u0648","\u0623\u063a\u0633\u0637\u0633","\u0633\u0628\u062a\u0645\u0628\u0631","\u0623\u0643\u062a\u0648\u0628\u0631","\u0646\u0648\u0641\u0645\u0628\u0631","\u062f\u064a\u0633\u0645\u0628\u0631"];v.defineLocale("ar-ly",{months:g,monthsShort:g,weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0623\u062d\u062f_\u0625\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0623\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/\u200fM/\u200fYYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0635|\u0645/,isPM:function(b){return"\u0645"===b},meridiem:function(b,C,P){return b<12?"\u0635":"\u0645"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u064b\u0627 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0628\u0639\u062f %s",past:"\u0645\u0646\u0630 %s",s:p("s"),ss:p("s"),m:p("m"),mm:p("m"),h:p("h"),hh:p("h"),d:p("d"),dd:p("d"),M:p("M"),MM:p("M"),y:p("y"),yy:p("y")},preparse:function(b){return b.replace(/\u060c/g,",")},postformat:function(b){return b.replace(/\d/g,function(C){return m[C]}).replace(/,/g,"\u060c")},week:{dow:6,doy:12}})}(w(5439))},5443:function(se,q,w){!function(v){"use strict";v.defineLocale("ar-ma",{months:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648\u0632_\u063a\u0634\u062a_\u0634\u062a\u0646\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0646\u0628\u0631_\u062f\u062c\u0646\u0628\u0631".split("_"),monthsShort:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648\u0632_\u063a\u0634\u062a_\u0634\u062a\u0646\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0646\u0628\u0631_\u062f\u062c\u0646\u0628\u0631".split("_"),weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0627\u062d\u062f_\u0627\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u0627 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0641\u064a %s",past:"\u0645\u0646\u0630 %s",s:"\u062b\u0648\u0627\u0646",ss:"%d \u062b\u0627\u0646\u064a\u0629",m:"\u062f\u0642\u064a\u0642\u0629",mm:"%d \u062f\u0642\u0627\u0626\u0642",h:"\u0633\u0627\u0639\u0629",hh:"%d \u0633\u0627\u0639\u0627\u062a",d:"\u064a\u0648\u0645",dd:"%d \u0623\u064a\u0627\u0645",M:"\u0634\u0647\u0631",MM:"%d \u0623\u0634\u0647\u0631",y:"\u0633\u0646\u0629",yy:"%d \u0633\u0646\u0648\u0627\u062a"},week:{dow:1,doy:4}})}(w(5439))},4523:function(se,q,w){!function(v){"use strict";var m={1:"\u0661",2:"\u0662",3:"\u0663",4:"\u0664",5:"\u0665",6:"\u0666",7:"\u0667",8:"\u0668",9:"\u0669",0:"\u0660"},d={"\u0661":"1","\u0662":"2","\u0663":"3","\u0664":"4","\u0665":"5","\u0666":"6","\u0667":"7","\u0668":"8","\u0669":"9","\u0660":"0"};v.defineLocale("ar-ps",{months:"\u0643\u0627\u0646\u0648\u0646 \u0627\u0644\u062b\u0627\u0646\u064a_\u0634\u0628\u0627\u0637_\u0622\u0630\u0627\u0631_\u0646\u064a\u0633\u0627\u0646_\u0623\u064a\u0651\u0627\u0631_\u062d\u0632\u064a\u0631\u0627\u0646_\u062a\u0645\u0651\u0648\u0632_\u0622\u0628_\u0623\u064a\u0644\u0648\u0644_\u062a\u0634\u0631\u064a \u0627\u0644\u0623\u0648\u0651\u0644_\u062a\u0634\u0631\u064a\u0646 \u0627\u0644\u062b\u0627\u0646\u064a_\u0643\u0627\u0646\u0648\u0646 \u0627\u0644\u0623\u0648\u0651\u0644".split("_"),monthsShort:"\u0643\u0662_\u0634\u0628\u0627\u0637_\u0622\u0630\u0627\u0631_\u0646\u064a\u0633\u0627\u0646_\u0623\u064a\u0651\u0627\u0631_\u062d\u0632\u064a\u0631\u0627\u0646_\u062a\u0645\u0651\u0648\u0632_\u0622\u0628_\u0623\u064a\u0644\u0648\u0644_\u062a\u0661_\u062a\u0662_\u0643\u0661".split("_"),weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0623\u062d\u062f_\u0625\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0623\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0635|\u0645/,isPM:function(p){return"\u0645"===p},meridiem:function(p,g,y){return p<12?"\u0635":"\u0645"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u0627 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0641\u064a %s",past:"\u0645\u0646\u0630 %s",s:"\u062b\u0648\u0627\u0646",ss:"%d \u062b\u0627\u0646\u064a\u0629",m:"\u062f\u0642\u064a\u0642\u0629",mm:"%d \u062f\u0642\u0627\u0626\u0642",h:"\u0633\u0627\u0639\u0629",hh:"%d \u0633\u0627\u0639\u0627\u062a",d:"\u064a\u0648\u0645",dd:"%d \u0623\u064a\u0627\u0645",M:"\u0634\u0647\u0631",MM:"%d \u0623\u0634\u0647\u0631",y:"\u0633\u0646\u0629",yy:"%d \u0633\u0646\u0648\u0627\u062a"},preparse:function(p){return p.replace(/[\u0663\u0664\u0665\u0666\u0667\u0668\u0669\u0660]/g,function(g){return d[g]}).split("").reverse().join("").replace(/[\u0661\u0662](?![\u062a\u0643])/g,function(g){return d[g]}).split("").reverse().join("").replace(/\u060c/g,",")},postformat:function(p){return p.replace(/\d/g,function(g){return m[g]}).replace(/,/g,"\u060c")},week:{dow:0,doy:6}})}(w(5439))},7642:function(se,q,w){!function(v){"use strict";var m={1:"\u0661",2:"\u0662",3:"\u0663",4:"\u0664",5:"\u0665",6:"\u0666",7:"\u0667",8:"\u0668",9:"\u0669",0:"\u0660"},d={"\u0661":"1","\u0662":"2","\u0663":"3","\u0664":"4","\u0665":"5","\u0666":"6","\u0667":"7","\u0668":"8","\u0669":"9","\u0660":"0"};v.defineLocale("ar-sa",{months:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a\u0648_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648_\u0623\u063a\u0633\u0637\u0633_\u0633\u0628\u062a\u0645\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0641\u0645\u0628\u0631_\u062f\u064a\u0633\u0645\u0628\u0631".split("_"),monthsShort:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a\u0648_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648_\u0623\u063a\u0633\u0637\u0633_\u0633\u0628\u062a\u0645\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0641\u0645\u0628\u0631_\u062f\u064a\u0633\u0645\u0628\u0631".split("_"),weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0623\u062d\u062f_\u0625\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0623\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0635|\u0645/,isPM:function(p){return"\u0645"===p},meridiem:function(p,g,y){return p<12?"\u0635":"\u0645"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u0627 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0641\u064a %s",past:"\u0645\u0646\u0630 %s",s:"\u062b\u0648\u0627\u0646",ss:"%d \u062b\u0627\u0646\u064a\u0629",m:"\u062f\u0642\u064a\u0642\u0629",mm:"%d \u062f\u0642\u0627\u0626\u0642",h:"\u0633\u0627\u0639\u0629",hh:"%d \u0633\u0627\u0639\u0627\u062a",d:"\u064a\u0648\u0645",dd:"%d \u0623\u064a\u0627\u0645",M:"\u0634\u0647\u0631",MM:"%d \u0623\u0634\u0647\u0631",y:"\u0633\u0646\u0629",yy:"%d \u0633\u0646\u0648\u0627\u062a"},preparse:function(p){return p.replace(/[\u0661\u0662\u0663\u0664\u0665\u0666\u0667\u0668\u0669\u0660]/g,function(g){return d[g]}).replace(/\u060c/g,",")},postformat:function(p){return p.replace(/\d/g,function(g){return m[g]}).replace(/,/g,"\u060c")},week:{dow:0,doy:6}})}(w(5439))},8592:function(se,q,w){!function(v){"use strict";v.defineLocale("ar-tn",{months:"\u062c\u0627\u0646\u0641\u064a_\u0641\u064a\u0641\u0631\u064a_\u0645\u0627\u0631\u0633_\u0623\u0641\u0631\u064a\u0644_\u0645\u0627\u064a_\u062c\u0648\u0627\u0646_\u062c\u0648\u064a\u0644\u064a\u0629_\u0623\u0648\u062a_\u0633\u0628\u062a\u0645\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0641\u0645\u0628\u0631_\u062f\u064a\u0633\u0645\u0628\u0631".split("_"),monthsShort:"\u062c\u0627\u0646\u0641\u064a_\u0641\u064a\u0641\u0631\u064a_\u0645\u0627\u0631\u0633_\u0623\u0641\u0631\u064a\u0644_\u0645\u0627\u064a_\u062c\u0648\u0627\u0646_\u062c\u0648\u064a\u0644\u064a\u0629_\u0623\u0648\u062a_\u0633\u0628\u062a\u0645\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0641\u0645\u0628\u0631_\u062f\u064a\u0633\u0645\u0628\u0631".split("_"),weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0623\u062d\u062f_\u0625\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0623\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u0627 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0641\u064a %s",past:"\u0645\u0646\u0630 %s",s:"\u062b\u0648\u0627\u0646",ss:"%d \u062b\u0627\u0646\u064a\u0629",m:"\u062f\u0642\u064a\u0642\u0629",mm:"%d \u062f\u0642\u0627\u0626\u0642",h:"\u0633\u0627\u0639\u0629",hh:"%d \u0633\u0627\u0639\u0627\u062a",d:"\u064a\u0648\u0645",dd:"%d \u0623\u064a\u0627\u0645",M:"\u0634\u0647\u0631",MM:"%d \u0623\u0634\u0647\u0631",y:"\u0633\u0646\u0629",yy:"%d \u0633\u0646\u0648\u0627\u062a"},week:{dow:1,doy:4}})}(w(5439))},7038:function(se,q,w){!function(v){"use strict";var m={1:"\u0661",2:"\u0662",3:"\u0663",4:"\u0664",5:"\u0665",6:"\u0666",7:"\u0667",8:"\u0668",9:"\u0669",0:"\u0660"},d={"\u0661":"1","\u0662":"2","\u0663":"3","\u0664":"4","\u0665":"5","\u0666":"6","\u0667":"7","\u0668":"8","\u0669":"9","\u0660":"0"},u=function(C){return 0===C?0:1===C?1:2===C?2:C%100>=3&&C%100<=10?3:C%100>=11?4:5},p={s:["\u0623\u0642\u0644 \u0645\u0646 \u062b\u0627\u0646\u064a\u0629","\u062b\u0627\u0646\u064a\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062b\u0627\u0646\u064a\u062a\u0627\u0646","\u062b\u0627\u0646\u064a\u062a\u064a\u0646"],"%d \u062b\u0648\u0627\u0646","%d \u062b\u0627\u0646\u064a\u0629","%d \u062b\u0627\u0646\u064a\u0629"],m:["\u0623\u0642\u0644 \u0645\u0646 \u062f\u0642\u064a\u0642\u0629","\u062f\u0642\u064a\u0642\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062f\u0642\u064a\u0642\u062a\u0627\u0646","\u062f\u0642\u064a\u0642\u062a\u064a\u0646"],"%d \u062f\u0642\u0627\u0626\u0642","%d \u062f\u0642\u064a\u0642\u0629","%d \u062f\u0642\u064a\u0642\u0629"],h:["\u0623\u0642\u0644 \u0645\u0646 \u0633\u0627\u0639\u0629","\u0633\u0627\u0639\u0629 \u0648\u0627\u062d\u062f\u0629",["\u0633\u0627\u0639\u062a\u0627\u0646","\u0633\u0627\u0639\u062a\u064a\u0646"],"%d \u0633\u0627\u0639\u0627\u062a","%d \u0633\u0627\u0639\u0629","%d \u0633\u0627\u0639\u0629"],d:["\u0623\u0642\u0644 \u0645\u0646 \u064a\u0648\u0645","\u064a\u0648\u0645 \u0648\u0627\u062d\u062f",["\u064a\u0648\u0645\u0627\u0646","\u064a\u0648\u0645\u064a\u0646"],"%d \u0623\u064a\u0627\u0645","%d \u064a\u0648\u0645\u064b\u0627","%d \u064a\u0648\u0645"],M:["\u0623\u0642\u0644 \u0645\u0646 \u0634\u0647\u0631","\u0634\u0647\u0631 \u0648\u0627\u062d\u062f",["\u0634\u0647\u0631\u0627\u0646","\u0634\u0647\u0631\u064a\u0646"],"%d \u0623\u0634\u0647\u0631","%d \u0634\u0647\u0631\u0627","%d \u0634\u0647\u0631"],y:["\u0623\u0642\u0644 \u0645\u0646 \u0639\u0627\u0645","\u0639\u0627\u0645 \u0648\u0627\u062d\u062f",["\u0639\u0627\u0645\u0627\u0646","\u0639\u0627\u0645\u064a\u0646"],"%d \u0623\u0639\u0648\u0627\u0645","%d \u0639\u0627\u0645\u064b\u0627","%d \u0639\u0627\u0645"]},g=function(C){return function(P,N,R,B){var F=u(P),L=p[C][u(P)];return 2===F&&(L=L[N?0:1]),L.replace(/%d/i,P)}},y=["\u064a\u0646\u0627\u064a\u0631","\u0641\u0628\u0631\u0627\u064a\u0631","\u0645\u0627\u0631\u0633","\u0623\u0628\u0631\u064a\u0644","\u0645\u0627\u064a\u0648","\u064a\u0648\u0646\u064a\u0648","\u064a\u0648\u0644\u064a\u0648","\u0623\u063a\u0633\u0637\u0633","\u0633\u0628\u062a\u0645\u0628\u0631","\u0623\u0643\u062a\u0648\u0628\u0631","\u0646\u0648\u0641\u0645\u0628\u0631","\u062f\u064a\u0633\u0645\u0628\u0631"];v.defineLocale("ar",{months:y,monthsShort:y,weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0623\u062d\u062f_\u0625\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0623\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/\u200fM/\u200fYYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0635|\u0645/,isPM:function(C){return"\u0645"===C},meridiem:function(C,P,N){return C<12?"\u0635":"\u0645"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u064b\u0627 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0628\u0639\u062f %s",past:"\u0645\u0646\u0630 %s",s:g("s"),ss:g("s"),m:g("m"),mm:g("m"),h:g("h"),hh:g("h"),d:g("d"),dd:g("d"),M:g("M"),MM:g("M"),y:g("y"),yy:g("y")},preparse:function(C){return C.replace(/[\u0661\u0662\u0663\u0664\u0665\u0666\u0667\u0668\u0669\u0660]/g,function(P){return d[P]}).replace(/\u060c/g,",")},postformat:function(C){return C.replace(/\d/g,function(P){return m[P]}).replace(/,/g,"\u060c")},week:{dow:6,doy:12}})}(w(5439))},1213:function(se,q,w){!function(v){"use strict";var m={1:"-inci",5:"-inci",8:"-inci",70:"-inci",80:"-inci",2:"-nci",7:"-nci",20:"-nci",50:"-nci",3:"-\xfcnc\xfc",4:"-\xfcnc\xfc",100:"-\xfcnc\xfc",6:"-nc\u0131",9:"-uncu",10:"-uncu",30:"-uncu",60:"-\u0131nc\u0131",90:"-\u0131nc\u0131"};v.defineLocale("az",{months:"yanvar_fevral_mart_aprel_may_iyun_iyul_avqust_sentyabr_oktyabr_noyabr_dekabr".split("_"),monthsShort:"yan_fev_mar_apr_may_iyn_iyl_avq_sen_okt_noy_dek".split("_"),weekdays:"Bazar_Bazar ert\u0259si_\xc7\u0259r\u015f\u0259nb\u0259 ax\u015fam\u0131_\xc7\u0259r\u015f\u0259nb\u0259_C\xfcm\u0259 ax\u015fam\u0131_C\xfcm\u0259_\u015e\u0259nb\u0259".split("_"),weekdaysShort:"Baz_BzE_\xc7Ax_\xc7\u0259r_CAx_C\xfcm_\u015e\u0259n".split("_"),weekdaysMin:"Bz_BE_\xc7A_\xc7\u0259_CA_C\xfc_\u015e\u0259".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bug\xfcn saat] LT",nextDay:"[sabah saat] LT",nextWeek:"[g\u0259l\u0259n h\u0259ft\u0259] dddd [saat] LT",lastDay:"[d\xfcn\u0259n] LT",lastWeek:"[ke\xe7\u0259n h\u0259ft\u0259] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s sonra",past:"%s \u0259vv\u0259l",s:"bir ne\xe7\u0259 saniy\u0259",ss:"%d saniy\u0259",m:"bir d\u0259qiq\u0259",mm:"%d d\u0259qiq\u0259",h:"bir saat",hh:"%d saat",d:"bir g\xfcn",dd:"%d g\xfcn",M:"bir ay",MM:"%d ay",y:"bir il",yy:"%d il"},meridiemParse:/gec\u0259|s\u0259h\u0259r|g\xfcnd\xfcz|ax\u015fam/,isPM:function(u){return/^(g\xfcnd\xfcz|ax\u015fam)$/.test(u)},meridiem:function(u,p,g){return u<4?"gec\u0259":u<12?"s\u0259h\u0259r":u<17?"g\xfcnd\xfcz":"ax\u015fam"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0131nc\u0131|inci|nci|\xfcnc\xfc|nc\u0131|uncu)/,ordinal:function(u){if(0===u)return u+"-\u0131nc\u0131";var p=u%10;return u+(m[p]||m[u%100-p]||m[u>=100?100:null])},week:{dow:1,doy:7}})}(w(5439))},9191:function(se,q,w){!function(v){"use strict";function d(p,g,y){return"m"===y?g?"\u0445\u0432\u0456\u043b\u0456\u043d\u0430":"\u0445\u0432\u0456\u043b\u0456\u043d\u0443":"h"===y?g?"\u0433\u0430\u0434\u0437\u0456\u043d\u0430":"\u0433\u0430\u0434\u0437\u0456\u043d\u0443":p+" "+function m(p,g){var y=p.split("_");return g%10==1&&g%100!=11?y[0]:g%10>=2&&g%10<=4&&(g%100<10||g%100>=20)?y[1]:y[2]}({ss:g?"\u0441\u0435\u043a\u0443\u043d\u0434\u0430_\u0441\u0435\u043a\u0443\u043d\u0434\u044b_\u0441\u0435\u043a\u0443\u043d\u0434":"\u0441\u0435\u043a\u0443\u043d\u0434\u0443_\u0441\u0435\u043a\u0443\u043d\u0434\u044b_\u0441\u0435\u043a\u0443\u043d\u0434",mm:g?"\u0445\u0432\u0456\u043b\u0456\u043d\u0430_\u0445\u0432\u0456\u043b\u0456\u043d\u044b_\u0445\u0432\u0456\u043b\u0456\u043d":"\u0445\u0432\u0456\u043b\u0456\u043d\u0443_\u0445\u0432\u0456\u043b\u0456\u043d\u044b_\u0445\u0432\u0456\u043b\u0456\u043d",hh:g?"\u0433\u0430\u0434\u0437\u0456\u043d\u0430_\u0433\u0430\u0434\u0437\u0456\u043d\u044b_\u0433\u0430\u0434\u0437\u0456\u043d":"\u0433\u0430\u0434\u0437\u0456\u043d\u0443_\u0433\u0430\u0434\u0437\u0456\u043d\u044b_\u0433\u0430\u0434\u0437\u0456\u043d",dd:"\u0434\u0437\u0435\u043d\u044c_\u0434\u043d\u0456_\u0434\u0437\u0451\u043d",MM:"\u043c\u0435\u0441\u044f\u0446_\u043c\u0435\u0441\u044f\u0446\u044b_\u043c\u0435\u0441\u044f\u0446\u0430\u045e",yy:"\u0433\u043e\u0434_\u0433\u0430\u0434\u044b_\u0433\u0430\u0434\u043e\u045e"}[y],+p)}v.defineLocale("be",{months:{format:"\u0441\u0442\u0443\u0434\u0437\u0435\u043d\u044f_\u043b\u044e\u0442\u0430\u0433\u0430_\u0441\u0430\u043a\u0430\u0432\u0456\u043a\u0430_\u043a\u0440\u0430\u0441\u0430\u0432\u0456\u043a\u0430_\u0442\u0440\u0430\u045e\u043d\u044f_\u0447\u044d\u0440\u0432\u0435\u043d\u044f_\u043b\u0456\u043f\u0435\u043d\u044f_\u0436\u043d\u0456\u045e\u043d\u044f_\u0432\u0435\u0440\u0430\u0441\u043d\u044f_\u043a\u0430\u0441\u0442\u0440\u044b\u0447\u043d\u0456\u043a\u0430_\u043b\u0456\u0441\u0442\u0430\u043f\u0430\u0434\u0430_\u0441\u043d\u0435\u0436\u043d\u044f".split("_"),standalone:"\u0441\u0442\u0443\u0434\u0437\u0435\u043d\u044c_\u043b\u044e\u0442\u044b_\u0441\u0430\u043a\u0430\u0432\u0456\u043a_\u043a\u0440\u0430\u0441\u0430\u0432\u0456\u043a_\u0442\u0440\u0430\u0432\u0435\u043d\u044c_\u0447\u044d\u0440\u0432\u0435\u043d\u044c_\u043b\u0456\u043f\u0435\u043d\u044c_\u0436\u043d\u0456\u0432\u0435\u043d\u044c_\u0432\u0435\u0440\u0430\u0441\u0435\u043d\u044c_\u043a\u0430\u0441\u0442\u0440\u044b\u0447\u043d\u0456\u043a_\u043b\u0456\u0441\u0442\u0430\u043f\u0430\u0434_\u0441\u043d\u0435\u0436\u0430\u043d\u044c".split("_")},monthsShort:"\u0441\u0442\u0443\u0434_\u043b\u044e\u0442_\u0441\u0430\u043a_\u043a\u0440\u0430\u0441_\u0442\u0440\u0430\u0432_\u0447\u044d\u0440\u0432_\u043b\u0456\u043f_\u0436\u043d\u0456\u0432_\u0432\u0435\u0440_\u043a\u0430\u0441\u0442_\u043b\u0456\u0441\u0442_\u0441\u043d\u0435\u0436".split("_"),weekdays:{format:"\u043d\u044f\u0434\u0437\u0435\u043b\u044e_\u043f\u0430\u043d\u044f\u0434\u0437\u0435\u043b\u0430\u043a_\u0430\u045e\u0442\u043e\u0440\u0430\u043a_\u0441\u0435\u0440\u0430\u0434\u0443_\u0447\u0430\u0446\u0432\u0435\u0440_\u043f\u044f\u0442\u043d\u0456\u0446\u0443_\u0441\u0443\u0431\u043e\u0442\u0443".split("_"),standalone:"\u043d\u044f\u0434\u0437\u0435\u043b\u044f_\u043f\u0430\u043d\u044f\u0434\u0437\u0435\u043b\u0430\u043a_\u0430\u045e\u0442\u043e\u0440\u0430\u043a_\u0441\u0435\u0440\u0430\u0434\u0430_\u0447\u0430\u0446\u0432\u0435\u0440_\u043f\u044f\u0442\u043d\u0456\u0446\u0430_\u0441\u0443\u0431\u043e\u0442\u0430".split("_"),isFormat:/\[ ?[\u0423\u0443\u045e] ?(?:\u043c\u0456\u043d\u0443\u043b\u0443\u044e|\u043d\u0430\u0441\u0442\u0443\u043f\u043d\u0443\u044e)? ?\] ?dddd/},weekdaysShort:"\u043d\u0434_\u043f\u043d_\u0430\u0442_\u0441\u0440_\u0447\u0446_\u043f\u0442_\u0441\u0431".split("_"),weekdaysMin:"\u043d\u0434_\u043f\u043d_\u0430\u0442_\u0441\u0440_\u0447\u0446_\u043f\u0442_\u0441\u0431".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY \u0433.",LLL:"D MMMM YYYY \u0433., HH:mm",LLLL:"dddd, D MMMM YYYY \u0433., HH:mm"},calendar:{sameDay:"[\u0421\u0451\u043d\u043d\u044f \u045e] LT",nextDay:"[\u0417\u0430\u045e\u0442\u0440\u0430 \u045e] LT",lastDay:"[\u0423\u0447\u043e\u0440\u0430 \u045e] LT",nextWeek:function(){return"[\u0423] dddd [\u045e] LT"},lastWeek:function(){switch(this.day()){case 0:case 3:case 5:case 6:return"[\u0423 \u043c\u0456\u043d\u0443\u043b\u0443\u044e] dddd [\u045e] LT";case 1:case 2:case 4:return"[\u0423 \u043c\u0456\u043d\u0443\u043b\u044b] dddd [\u045e] LT"}},sameElse:"L"},relativeTime:{future:"\u043f\u0440\u0430\u0437 %s",past:"%s \u0442\u0430\u043c\u0443",s:"\u043d\u0435\u043a\u0430\u043b\u044c\u043a\u0456 \u0441\u0435\u043a\u0443\u043d\u0434",m:d,mm:d,h:d,hh:d,d:"\u0434\u0437\u0435\u043d\u044c",dd:d,M:"\u043c\u0435\u0441\u044f\u0446",MM:d,y:"\u0433\u043e\u0434",yy:d},meridiemParse:/\u043d\u043e\u0447\u044b|\u0440\u0430\u043d\u0456\u0446\u044b|\u0434\u043d\u044f|\u0432\u0435\u0447\u0430\u0440\u0430/,isPM:function(p){return/^(\u0434\u043d\u044f|\u0432\u0435\u0447\u0430\u0440\u0430)$/.test(p)},meridiem:function(p,g,y){return p<4?"\u043d\u043e\u0447\u044b":p<12?"\u0440\u0430\u043d\u0456\u0446\u044b":p<17?"\u0434\u043d\u044f":"\u0432\u0435\u0447\u0430\u0440\u0430"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0456|\u044b|\u0433\u0430)/,ordinal:function(p,g){switch(g){case"M":case"d":case"DDD":case"w":case"W":return p%10!=2&&p%10!=3||p%100==12||p%100==13?p+"-\u044b":p+"-\u0456";case"D":return p+"-\u0433\u0430";default:return p}},week:{dow:1,doy:7}})}(w(5439))},322:function(se,q,w){!function(v){"use strict";v.defineLocale("bg",{months:"\u044f\u043d\u0443\u0430\u0440\u0438_\u0444\u0435\u0432\u0440\u0443\u0430\u0440\u0438_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0438\u043b_\u043c\u0430\u0439_\u044e\u043d\u0438_\u044e\u043b\u0438_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043f\u0442\u0435\u043c\u0432\u0440\u0438_\u043e\u043a\u0442\u043e\u043c\u0432\u0440\u0438_\u043d\u043e\u0435\u043c\u0432\u0440\u0438_\u0434\u0435\u043a\u0435\u043c\u0432\u0440\u0438".split("_"),monthsShort:"\u044f\u043d\u0443_\u0444\u0435\u0432_\u043c\u0430\u0440_\u0430\u043f\u0440_\u043c\u0430\u0439_\u044e\u043d\u0438_\u044e\u043b\u0438_\u0430\u0432\u0433_\u0441\u0435\u043f_\u043e\u043a\u0442_\u043d\u043e\u0435_\u0434\u0435\u043a".split("_"),weekdays:"\u043d\u0435\u0434\u0435\u043b\u044f_\u043f\u043e\u043d\u0435\u0434\u0435\u043b\u043d\u0438\u043a_\u0432\u0442\u043e\u0440\u043d\u0438\u043a_\u0441\u0440\u044f\u0434\u0430_\u0447\u0435\u0442\u0432\u044a\u0440\u0442\u044a\u043a_\u043f\u0435\u0442\u044a\u043a_\u0441\u044a\u0431\u043e\u0442\u0430".split("_"),weekdaysShort:"\u043d\u0435\u0434_\u043f\u043e\u043d_\u0432\u0442\u043e_\u0441\u0440\u044f_\u0447\u0435\u0442_\u043f\u0435\u0442_\u0441\u044a\u0431".split("_"),weekdaysMin:"\u043d\u0434_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[\u0414\u043d\u0435\u0441 \u0432] LT",nextDay:"[\u0423\u0442\u0440\u0435 \u0432] LT",nextWeek:"dddd [\u0432] LT",lastDay:"[\u0412\u0447\u0435\u0440\u0430 \u0432] LT",lastWeek:function(){switch(this.day()){case 0:case 3:case 6:return"[\u041c\u0438\u043d\u0430\u043b\u0430\u0442\u0430] dddd [\u0432] LT";case 1:case 2:case 4:case 5:return"[\u041c\u0438\u043d\u0430\u043b\u0438\u044f] dddd [\u0432] LT"}},sameElse:"L"},relativeTime:{future:"\u0441\u043b\u0435\u0434 %s",past:"\u043f\u0440\u0435\u0434\u0438 %s",s:"\u043d\u044f\u043a\u043e\u043b\u043a\u043e \u0441\u0435\u043a\u0443\u043d\u0434\u0438",ss:"%d \u0441\u0435\u043a\u0443\u043d\u0434\u0438",m:"\u043c\u0438\u043d\u0443\u0442\u0430",mm:"%d \u043c\u0438\u043d\u0443\u0442\u0438",h:"\u0447\u0430\u0441",hh:"%d \u0447\u0430\u0441\u0430",d:"\u0434\u0435\u043d",dd:"%d \u0434\u0435\u043d\u0430",w:"\u0441\u0435\u0434\u043c\u0438\u0446\u0430",ww:"%d \u0441\u0435\u0434\u043c\u0438\u0446\u0438",M:"\u043c\u0435\u0441\u0435\u0446",MM:"%d \u043c\u0435\u0441\u0435\u0446\u0430",y:"\u0433\u043e\u0434\u0438\u043d\u0430",yy:"%d \u0433\u043e\u0434\u0438\u043d\u0438"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0435\u0432|\u0435\u043d|\u0442\u0438|\u0432\u0438|\u0440\u0438|\u043c\u0438)/,ordinal:function(d){var u=d%10,p=d%100;return 0===d?d+"-\u0435\u0432":0===p?d+"-\u0435\u043d":p>10&&p<20?d+"-\u0442\u0438":1===u?d+"-\u0432\u0438":2===u?d+"-\u0440\u0438":7===u||8===u?d+"-\u043c\u0438":d+"-\u0442\u0438"},week:{dow:1,doy:7}})}(w(5439))},8042:function(se,q,w){!function(v){"use strict";v.defineLocale("bm",{months:"Zanwuyekalo_Fewuruyekalo_Marisikalo_Awirilikalo_M\u025bkalo_Zuw\u025bnkalo_Zuluyekalo_Utikalo_S\u025btanburukalo_\u0254kut\u0254burukalo_Nowanburukalo_Desanburukalo".split("_"),monthsShort:"Zan_Few_Mar_Awi_M\u025b_Zuw_Zul_Uti_S\u025bt_\u0254ku_Now_Des".split("_"),weekdays:"Kari_Nt\u025bn\u025bn_Tarata_Araba_Alamisa_Juma_Sibiri".split("_"),weekdaysShort:"Kar_Nt\u025b_Tar_Ara_Ala_Jum_Sib".split("_"),weekdaysMin:"Ka_Nt_Ta_Ar_Al_Ju_Si".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"MMMM [tile] D [san] YYYY",LLL:"MMMM [tile] D [san] YYYY [l\u025br\u025b] HH:mm",LLLL:"dddd MMMM [tile] D [san] YYYY [l\u025br\u025b] HH:mm"},calendar:{sameDay:"[Bi l\u025br\u025b] LT",nextDay:"[Sini l\u025br\u025b] LT",nextWeek:"dddd [don l\u025br\u025b] LT",lastDay:"[Kunu l\u025br\u025b] LT",lastWeek:"dddd [t\u025bm\u025bnen l\u025br\u025b] LT",sameElse:"L"},relativeTime:{future:"%s k\u0254n\u0254",past:"a b\u025b %s b\u0254",s:"sanga dama dama",ss:"sekondi %d",m:"miniti kelen",mm:"miniti %d",h:"l\u025br\u025b kelen",hh:"l\u025br\u025b %d",d:"tile kelen",dd:"tile %d",M:"kalo kelen",MM:"kalo %d",y:"san kelen",yy:"san %d"},week:{dow:1,doy:4}})}(w(5439))},5903:function(se,q,w){!function(v){"use strict";var m={1:"\u09e7",2:"\u09e8",3:"\u09e9",4:"\u09ea",5:"\u09eb",6:"\u09ec",7:"\u09ed",8:"\u09ee",9:"\u09ef",0:"\u09e6"},d={"\u09e7":"1","\u09e8":"2","\u09e9":"3","\u09ea":"4","\u09eb":"5","\u09ec":"6","\u09ed":"7","\u09ee":"8","\u09ef":"9","\u09e6":"0"};v.defineLocale("bn-bd",{months:"\u099c\u09be\u09a8\u09c1\u09df\u09be\u09b0\u09bf_\u09ab\u09c7\u09ac\u09cd\u09b0\u09c1\u09df\u09be\u09b0\u09bf_\u09ae\u09be\u09b0\u09cd\u099a_\u098f\u09aa\u09cd\u09b0\u09bf\u09b2_\u09ae\u09c7_\u099c\u09c1\u09a8_\u099c\u09c1\u09b2\u09be\u0987_\u0986\u0997\u09b8\u09cd\u099f_\u09b8\u09c7\u09aa\u09cd\u099f\u09c7\u09ae\u09cd\u09ac\u09b0_\u0985\u0995\u09cd\u099f\u09cb\u09ac\u09b0_\u09a8\u09ad\u09c7\u09ae\u09cd\u09ac\u09b0_\u09a1\u09bf\u09b8\u09c7\u09ae\u09cd\u09ac\u09b0".split("_"),monthsShort:"\u099c\u09be\u09a8\u09c1_\u09ab\u09c7\u09ac\u09cd\u09b0\u09c1_\u09ae\u09be\u09b0\u09cd\u099a_\u098f\u09aa\u09cd\u09b0\u09bf\u09b2_\u09ae\u09c7_\u099c\u09c1\u09a8_\u099c\u09c1\u09b2\u09be\u0987_\u0986\u0997\u09b8\u09cd\u099f_\u09b8\u09c7\u09aa\u09cd\u099f_\u0985\u0995\u09cd\u099f\u09cb_\u09a8\u09ad\u09c7_\u09a1\u09bf\u09b8\u09c7".split("_"),weekdays:"\u09b0\u09ac\u09bf\u09ac\u09be\u09b0_\u09b8\u09cb\u09ae\u09ac\u09be\u09b0_\u09ae\u0999\u09cd\u0997\u09b2\u09ac\u09be\u09b0_\u09ac\u09c1\u09a7\u09ac\u09be\u09b0_\u09ac\u09c3\u09b9\u09b8\u09cd\u09aa\u09a4\u09bf\u09ac\u09be\u09b0_\u09b6\u09c1\u0995\u09cd\u09b0\u09ac\u09be\u09b0_\u09b6\u09a8\u09bf\u09ac\u09be\u09b0".split("_"),weekdaysShort:"\u09b0\u09ac\u09bf_\u09b8\u09cb\u09ae_\u09ae\u0999\u09cd\u0997\u09b2_\u09ac\u09c1\u09a7_\u09ac\u09c3\u09b9\u09b8\u09cd\u09aa\u09a4\u09bf_\u09b6\u09c1\u0995\u09cd\u09b0_\u09b6\u09a8\u09bf".split("_"),weekdaysMin:"\u09b0\u09ac\u09bf_\u09b8\u09cb\u09ae_\u09ae\u0999\u09cd\u0997\u09b2_\u09ac\u09c1\u09a7_\u09ac\u09c3\u09b9_\u09b6\u09c1\u0995\u09cd\u09b0_\u09b6\u09a8\u09bf".split("_"),longDateFormat:{LT:"A h:mm \u09b8\u09ae\u09df",LTS:"A h:mm:ss \u09b8\u09ae\u09df",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u09b8\u09ae\u09df",LLLL:"dddd, D MMMM YYYY, A h:mm \u09b8\u09ae\u09df"},calendar:{sameDay:"[\u0986\u099c] LT",nextDay:"[\u0986\u0997\u09be\u09ae\u09c0\u0995\u09be\u09b2] LT",nextWeek:"dddd, LT",lastDay:"[\u0997\u09a4\u0995\u09be\u09b2] LT",lastWeek:"[\u0997\u09a4] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u09aa\u09b0\u09c7",past:"%s \u0986\u0997\u09c7",s:"\u0995\u09df\u09c7\u0995 \u09b8\u09c7\u0995\u09c7\u09a8\u09cd\u09a1",ss:"%d \u09b8\u09c7\u0995\u09c7\u09a8\u09cd\u09a1",m:"\u098f\u0995 \u09ae\u09bf\u09a8\u09bf\u099f",mm:"%d \u09ae\u09bf\u09a8\u09bf\u099f",h:"\u098f\u0995 \u0998\u09a8\u09cd\u099f\u09be",hh:"%d \u0998\u09a8\u09cd\u099f\u09be",d:"\u098f\u0995 \u09a6\u09bf\u09a8",dd:"%d \u09a6\u09bf\u09a8",M:"\u098f\u0995 \u09ae\u09be\u09b8",MM:"%d \u09ae\u09be\u09b8",y:"\u098f\u0995 \u09ac\u099b\u09b0",yy:"%d \u09ac\u099b\u09b0"},preparse:function(p){return p.replace(/[\u09e7\u09e8\u09e9\u09ea\u09eb\u09ec\u09ed\u09ee\u09ef\u09e6]/g,function(g){return d[g]})},postformat:function(p){return p.replace(/\d/g,function(g){return m[g]})},meridiemParse:/\u09b0\u09be\u09a4|\u09ad\u09cb\u09b0|\u09b8\u0995\u09be\u09b2|\u09a6\u09c1\u09aa\u09c1\u09b0|\u09ac\u09bf\u0995\u09be\u09b2|\u09b8\u09a8\u09cd\u09a7\u09cd\u09af\u09be|\u09b0\u09be\u09a4/,meridiemHour:function(p,g){return 12===p&&(p=0),"\u09b0\u09be\u09a4"===g?p<4?p:p+12:"\u09ad\u09cb\u09b0"===g||"\u09b8\u0995\u09be\u09b2"===g?p:"\u09a6\u09c1\u09aa\u09c1\u09b0"===g?p>=3?p:p+12:"\u09ac\u09bf\u0995\u09be\u09b2"===g||"\u09b8\u09a8\u09cd\u09a7\u09cd\u09af\u09be"===g?p+12:void 0},meridiem:function(p,g,y){return p<4?"\u09b0\u09be\u09a4":p<6?"\u09ad\u09cb\u09b0":p<12?"\u09b8\u0995\u09be\u09b2":p<15?"\u09a6\u09c1\u09aa\u09c1\u09b0":p<18?"\u09ac\u09bf\u0995\u09be\u09b2":p<20?"\u09b8\u09a8\u09cd\u09a7\u09cd\u09af\u09be":"\u09b0\u09be\u09a4"},week:{dow:0,doy:6}})}(w(5439))},9620:function(se,q,w){!function(v){"use strict";var m={1:"\u09e7",2:"\u09e8",3:"\u09e9",4:"\u09ea",5:"\u09eb",6:"\u09ec",7:"\u09ed",8:"\u09ee",9:"\u09ef",0:"\u09e6"},d={"\u09e7":"1","\u09e8":"2","\u09e9":"3","\u09ea":"4","\u09eb":"5","\u09ec":"6","\u09ed":"7","\u09ee":"8","\u09ef":"9","\u09e6":"0"};v.defineLocale("bn",{months:"\u099c\u09be\u09a8\u09c1\u09df\u09be\u09b0\u09bf_\u09ab\u09c7\u09ac\u09cd\u09b0\u09c1\u09df\u09be\u09b0\u09bf_\u09ae\u09be\u09b0\u09cd\u099a_\u098f\u09aa\u09cd\u09b0\u09bf\u09b2_\u09ae\u09c7_\u099c\u09c1\u09a8_\u099c\u09c1\u09b2\u09be\u0987_\u0986\u0997\u09b8\u09cd\u099f_\u09b8\u09c7\u09aa\u09cd\u099f\u09c7\u09ae\u09cd\u09ac\u09b0_\u0985\u0995\u09cd\u099f\u09cb\u09ac\u09b0_\u09a8\u09ad\u09c7\u09ae\u09cd\u09ac\u09b0_\u09a1\u09bf\u09b8\u09c7\u09ae\u09cd\u09ac\u09b0".split("_"),monthsShort:"\u099c\u09be\u09a8\u09c1_\u09ab\u09c7\u09ac\u09cd\u09b0\u09c1_\u09ae\u09be\u09b0\u09cd\u099a_\u098f\u09aa\u09cd\u09b0\u09bf\u09b2_\u09ae\u09c7_\u099c\u09c1\u09a8_\u099c\u09c1\u09b2\u09be\u0987_\u0986\u0997\u09b8\u09cd\u099f_\u09b8\u09c7\u09aa\u09cd\u099f_\u0985\u0995\u09cd\u099f\u09cb_\u09a8\u09ad\u09c7_\u09a1\u09bf\u09b8\u09c7".split("_"),weekdays:"\u09b0\u09ac\u09bf\u09ac\u09be\u09b0_\u09b8\u09cb\u09ae\u09ac\u09be\u09b0_\u09ae\u0999\u09cd\u0997\u09b2\u09ac\u09be\u09b0_\u09ac\u09c1\u09a7\u09ac\u09be\u09b0_\u09ac\u09c3\u09b9\u09b8\u09cd\u09aa\u09a4\u09bf\u09ac\u09be\u09b0_\u09b6\u09c1\u0995\u09cd\u09b0\u09ac\u09be\u09b0_\u09b6\u09a8\u09bf\u09ac\u09be\u09b0".split("_"),weekdaysShort:"\u09b0\u09ac\u09bf_\u09b8\u09cb\u09ae_\u09ae\u0999\u09cd\u0997\u09b2_\u09ac\u09c1\u09a7_\u09ac\u09c3\u09b9\u09b8\u09cd\u09aa\u09a4\u09bf_\u09b6\u09c1\u0995\u09cd\u09b0_\u09b6\u09a8\u09bf".split("_"),weekdaysMin:"\u09b0\u09ac\u09bf_\u09b8\u09cb\u09ae_\u09ae\u0999\u09cd\u0997\u09b2_\u09ac\u09c1\u09a7_\u09ac\u09c3\u09b9_\u09b6\u09c1\u0995\u09cd\u09b0_\u09b6\u09a8\u09bf".split("_"),longDateFormat:{LT:"A h:mm \u09b8\u09ae\u09df",LTS:"A h:mm:ss \u09b8\u09ae\u09df",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u09b8\u09ae\u09df",LLLL:"dddd, D MMMM YYYY, A h:mm \u09b8\u09ae\u09df"},calendar:{sameDay:"[\u0986\u099c] LT",nextDay:"[\u0986\u0997\u09be\u09ae\u09c0\u0995\u09be\u09b2] LT",nextWeek:"dddd, LT",lastDay:"[\u0997\u09a4\u0995\u09be\u09b2] LT",lastWeek:"[\u0997\u09a4] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u09aa\u09b0\u09c7",past:"%s \u0986\u0997\u09c7",s:"\u0995\u09df\u09c7\u0995 \u09b8\u09c7\u0995\u09c7\u09a8\u09cd\u09a1",ss:"%d \u09b8\u09c7\u0995\u09c7\u09a8\u09cd\u09a1",m:"\u098f\u0995 \u09ae\u09bf\u09a8\u09bf\u099f",mm:"%d \u09ae\u09bf\u09a8\u09bf\u099f",h:"\u098f\u0995 \u0998\u09a8\u09cd\u099f\u09be",hh:"%d \u0998\u09a8\u09cd\u099f\u09be",d:"\u098f\u0995 \u09a6\u09bf\u09a8",dd:"%d \u09a6\u09bf\u09a8",M:"\u098f\u0995 \u09ae\u09be\u09b8",MM:"%d \u09ae\u09be\u09b8",y:"\u098f\u0995 \u09ac\u099b\u09b0",yy:"%d \u09ac\u099b\u09b0"},preparse:function(p){return p.replace(/[\u09e7\u09e8\u09e9\u09ea\u09eb\u09ec\u09ed\u09ee\u09ef\u09e6]/g,function(g){return d[g]})},postformat:function(p){return p.replace(/\d/g,function(g){return m[g]})},meridiemParse:/\u09b0\u09be\u09a4|\u09b8\u0995\u09be\u09b2|\u09a6\u09c1\u09aa\u09c1\u09b0|\u09ac\u09bf\u0995\u09be\u09b2|\u09b0\u09be\u09a4/,meridiemHour:function(p,g){return 12===p&&(p=0),"\u09b0\u09be\u09a4"===g&&p>=4||"\u09a6\u09c1\u09aa\u09c1\u09b0"===g&&p<5||"\u09ac\u09bf\u0995\u09be\u09b2"===g?p+12:p},meridiem:function(p,g,y){return p<4?"\u09b0\u09be\u09a4":p<10?"\u09b8\u0995\u09be\u09b2":p<17?"\u09a6\u09c1\u09aa\u09c1\u09b0":p<20?"\u09ac\u09bf\u0995\u09be\u09b2":"\u09b0\u09be\u09a4"},week:{dow:0,doy:6}})}(w(5439))},9645:function(se,q,w){!function(v){"use strict";var m={1:"\u0f21",2:"\u0f22",3:"\u0f23",4:"\u0f24",5:"\u0f25",6:"\u0f26",7:"\u0f27",8:"\u0f28",9:"\u0f29",0:"\u0f20"},d={"\u0f21":"1","\u0f22":"2","\u0f23":"3","\u0f24":"4","\u0f25":"5","\u0f26":"6","\u0f27":"7","\u0f28":"8","\u0f29":"9","\u0f20":"0"};v.defineLocale("bo",{months:"\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f51\u0f44\u0f0b\u0f54\u0f7c_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f42\u0f49\u0f72\u0f66\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f42\u0f66\u0f74\u0f58\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f5e\u0f72\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f63\u0f94\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f51\u0fb2\u0f74\u0f42\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f51\u0f74\u0f53\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f62\u0f92\u0fb1\u0f51\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f51\u0f42\u0f74\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f45\u0f74\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f45\u0f74\u0f0b\u0f42\u0f45\u0f72\u0f42\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f45\u0f74\u0f0b\u0f42\u0f49\u0f72\u0f66\u0f0b\u0f54".split("_"),monthsShort:"\u0f5f\u0fb3\u0f0b1_\u0f5f\u0fb3\u0f0b2_\u0f5f\u0fb3\u0f0b3_\u0f5f\u0fb3\u0f0b4_\u0f5f\u0fb3\u0f0b5_\u0f5f\u0fb3\u0f0b6_\u0f5f\u0fb3\u0f0b7_\u0f5f\u0fb3\u0f0b8_\u0f5f\u0fb3\u0f0b9_\u0f5f\u0fb3\u0f0b10_\u0f5f\u0fb3\u0f0b11_\u0f5f\u0fb3\u0f0b12".split("_"),monthsShortRegex:/^(\u0f5f\u0fb3\u0f0b\d{1,2})/,monthsParseExact:!0,weekdays:"\u0f42\u0f5f\u0f60\u0f0b\u0f49\u0f72\u0f0b\u0f58\u0f0b_\u0f42\u0f5f\u0f60\u0f0b\u0f5f\u0fb3\u0f0b\u0f56\u0f0b_\u0f42\u0f5f\u0f60\u0f0b\u0f58\u0f72\u0f42\u0f0b\u0f51\u0f58\u0f62\u0f0b_\u0f42\u0f5f\u0f60\u0f0b\u0f63\u0fb7\u0f42\u0f0b\u0f54\u0f0b_\u0f42\u0f5f\u0f60\u0f0b\u0f55\u0f74\u0f62\u0f0b\u0f56\u0f74_\u0f42\u0f5f\u0f60\u0f0b\u0f54\u0f0b\u0f66\u0f44\u0f66\u0f0b_\u0f42\u0f5f\u0f60\u0f0b\u0f66\u0fa4\u0f7a\u0f53\u0f0b\u0f54\u0f0b".split("_"),weekdaysShort:"\u0f49\u0f72\u0f0b\u0f58\u0f0b_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b_\u0f58\u0f72\u0f42\u0f0b\u0f51\u0f58\u0f62\u0f0b_\u0f63\u0fb7\u0f42\u0f0b\u0f54\u0f0b_\u0f55\u0f74\u0f62\u0f0b\u0f56\u0f74_\u0f54\u0f0b\u0f66\u0f44\u0f66\u0f0b_\u0f66\u0fa4\u0f7a\u0f53\u0f0b\u0f54\u0f0b".split("_"),weekdaysMin:"\u0f49\u0f72_\u0f5f\u0fb3_\u0f58\u0f72\u0f42_\u0f63\u0fb7\u0f42_\u0f55\u0f74\u0f62_\u0f66\u0f44\u0f66_\u0f66\u0fa4\u0f7a\u0f53".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[\u0f51\u0f72\u0f0b\u0f62\u0f72\u0f44] LT",nextDay:"[\u0f66\u0f44\u0f0b\u0f49\u0f72\u0f53] LT",nextWeek:"[\u0f56\u0f51\u0f74\u0f53\u0f0b\u0f55\u0fb2\u0f42\u0f0b\u0f62\u0f97\u0f7a\u0f66\u0f0b\u0f58], LT",lastDay:"[\u0f41\u0f0b\u0f66\u0f44] LT",lastWeek:"[\u0f56\u0f51\u0f74\u0f53\u0f0b\u0f55\u0fb2\u0f42\u0f0b\u0f58\u0f50\u0f60\u0f0b\u0f58] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0f63\u0f0b",past:"%s \u0f66\u0f94\u0f53\u0f0b\u0f63",s:"\u0f63\u0f58\u0f0b\u0f66\u0f44",ss:"%d \u0f66\u0f90\u0f62\u0f0b\u0f46\u0f0d",m:"\u0f66\u0f90\u0f62\u0f0b\u0f58\u0f0b\u0f42\u0f45\u0f72\u0f42",mm:"%d \u0f66\u0f90\u0f62\u0f0b\u0f58",h:"\u0f46\u0f74\u0f0b\u0f5a\u0f7c\u0f51\u0f0b\u0f42\u0f45\u0f72\u0f42",hh:"%d \u0f46\u0f74\u0f0b\u0f5a\u0f7c\u0f51",d:"\u0f49\u0f72\u0f53\u0f0b\u0f42\u0f45\u0f72\u0f42",dd:"%d \u0f49\u0f72\u0f53\u0f0b",M:"\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f42\u0f45\u0f72\u0f42",MM:"%d \u0f5f\u0fb3\u0f0b\u0f56",y:"\u0f63\u0f7c\u0f0b\u0f42\u0f45\u0f72\u0f42",yy:"%d \u0f63\u0f7c"},preparse:function(p){return p.replace(/[\u0f21\u0f22\u0f23\u0f24\u0f25\u0f26\u0f27\u0f28\u0f29\u0f20]/g,function(g){return d[g]})},postformat:function(p){return p.replace(/\d/g,function(g){return m[g]})},meridiemParse:/\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c|\u0f5e\u0f7c\u0f42\u0f66\u0f0b\u0f40\u0f66|\u0f49\u0f72\u0f53\u0f0b\u0f42\u0f74\u0f44|\u0f51\u0f42\u0f7c\u0f44\u0f0b\u0f51\u0f42|\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c/,meridiemHour:function(p,g){return 12===p&&(p=0),"\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c"===g&&p>=4||"\u0f49\u0f72\u0f53\u0f0b\u0f42\u0f74\u0f44"===g&&p<5||"\u0f51\u0f42\u0f7c\u0f44\u0f0b\u0f51\u0f42"===g?p+12:p},meridiem:function(p,g,y){return p<4?"\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c":p<10?"\u0f5e\u0f7c\u0f42\u0f66\u0f0b\u0f40\u0f66":p<17?"\u0f49\u0f72\u0f53\u0f0b\u0f42\u0f74\u0f44":p<20?"\u0f51\u0f42\u0f7c\u0f44\u0f0b\u0f51\u0f42":"\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c"},week:{dow:0,doy:6}})}(w(5439))},5020:function(se,q,w){!function(v){"use strict";function m(L,te,$e){return L+" "+function p(L,te){return 2===te?function g(L){var te={m:"v",b:"v",d:"z"};return void 0===te[L.charAt(0)]?L:te[L.charAt(0)]+L.substring(1)}(L):L}({mm:"munutenn",MM:"miz",dd:"devezh"}[$e],L)}function u(L){return L>9?u(L%10):L}var y=[/^gen/i,/^c[\u02bc\']hwe/i,/^meu/i,/^ebr/i,/^mae/i,/^(mez|eve)/i,/^gou/i,/^eos/i,/^gwe/i,/^her/i,/^du/i,/^ker/i],b=/^(genver|c[\u02bc\']hwevrer|meurzh|ebrel|mae|mezheven|gouere|eost|gwengolo|here|du|kerzu|gen|c[\u02bc\']hwe|meu|ebr|mae|eve|gou|eos|gwe|her|du|ker)/i,B=[/^Su/i,/^Lu/i,/^Me([^r]|$)/i,/^Mer/i,/^Ya/i,/^Gw/i,/^Sa/i];v.defineLocale("br",{months:"Genver_C\u02bchwevrer_Meurzh_Ebrel_Mae_Mezheven_Gouere_Eost_Gwengolo_Here_Du_Kerzu".split("_"),monthsShort:"Gen_C\u02bchwe_Meu_Ebr_Mae_Eve_Gou_Eos_Gwe_Her_Du_Ker".split("_"),weekdays:"Sul_Lun_Meurzh_Merc\u02bcher_Yaou_Gwener_Sadorn".split("_"),weekdaysShort:"Sul_Lun_Meu_Mer_Yao_Gwe_Sad".split("_"),weekdaysMin:"Su_Lu_Me_Mer_Ya_Gw_Sa".split("_"),weekdaysParse:B,fullWeekdaysParse:[/^sul/i,/^lun/i,/^meurzh/i,/^merc[\u02bc\']her/i,/^yaou/i,/^gwener/i,/^sadorn/i],shortWeekdaysParse:[/^Sul/i,/^Lun/i,/^Meu/i,/^Mer/i,/^Yao/i,/^Gwe/i,/^Sad/i],minWeekdaysParse:B,monthsRegex:b,monthsShortRegex:b,monthsStrictRegex:/^(genver|c[\u02bc\']hwevrer|meurzh|ebrel|mae|mezheven|gouere|eost|gwengolo|here|du|kerzu)/i,monthsShortStrictRegex:/^(gen|c[\u02bc\']hwe|meu|ebr|mae|eve|gou|eos|gwe|her|du|ker)/i,monthsParse:y,longMonthsParse:y,shortMonthsParse:y,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [a viz] MMMM YYYY",LLL:"D [a viz] MMMM YYYY HH:mm",LLLL:"dddd, D [a viz] MMMM YYYY HH:mm"},calendar:{sameDay:"[Hiziv da] LT",nextDay:"[Warc\u02bchoazh da] LT",nextWeek:"dddd [da] LT",lastDay:"[Dec\u02bch da] LT",lastWeek:"dddd [paset da] LT",sameElse:"L"},relativeTime:{future:"a-benn %s",past:"%s \u02bczo",s:"un nebeud segondenno\xf9",ss:"%d eilenn",m:"ur vunutenn",mm:m,h:"un eur",hh:"%d eur",d:"un devezh",dd:m,M:"ur miz",MM:m,y:"ur bloaz",yy:function d(L){switch(u(L)){case 1:case 3:case 4:case 5:case 9:return L+" bloaz";default:return L+" vloaz"}}},dayOfMonthOrdinalParse:/\d{1,2}(a\xf1|vet)/,ordinal:function(L){return L+(1===L?"a\xf1":"vet")},week:{dow:1,doy:4},meridiemParse:/a.m.|g.m./,isPM:function(L){return"g.m."===L},meridiem:function(L,te,$e){return L<12?"a.m.":"g.m."}})}(w(5439))},4792:function(se,q,w){!function(v){"use strict";function d(p,g,y){var b=p+" ";switch(y){case"ss":return b+(1===p?"sekunda":2===p||3===p||4===p?"sekunde":"sekundi");case"mm":return b+(1===p?"minuta":2===p||3===p||4===p?"minute":"minuta");case"h":return"jedan sat";case"hh":return b+(1===p?"sat":2===p||3===p||4===p?"sata":"sati");case"dd":return b+(1===p?"dan":"dana");case"MM":return b+(1===p?"mjesec":2===p||3===p||4===p?"mjeseca":"mjeseci");case"yy":return b+(1===p?"godina":2===p||3===p||4===p?"godine":"godina")}}v.defineLocale("bs",{months:"januar_februar_mart_april_maj_juni_juli_august_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj._jun._jul._aug._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_\u010detvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._\u010det._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_\u010de_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[ju\u010der u] LT",lastWeek:function(){switch(this.day()){case 0:case 3:return"[pro\u0161lu] dddd [u] LT";case 6:return"[pro\u0161le] [subote] [u] LT";case 1:case 2:case 4:case 5:return"[pro\u0161li] dddd [u] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"par sekundi",ss:d,m:function m(p,g,y,b){if("m"===y)return g?"jedna minuta":b?"jednu minutu":"jedne minute"},mm:d,h:d,hh:d,d:"dan",dd:d,M:"mjesec",MM:d,y:"godinu",yy:d},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(w(5439))},7980:function(se,q,w){!function(v){"use strict";v.defineLocale("ca",{months:{standalone:"gener_febrer_mar\xe7_abril_maig_juny_juliol_agost_setembre_octubre_novembre_desembre".split("_"),format:"de gener_de febrer_de mar\xe7_d'abril_de maig_de juny_de juliol_d'agost_de setembre_d'octubre_de novembre_de desembre".split("_"),isFormat:/D[oD]?(\s)+MMMM/},monthsShort:"gen._febr._mar\xe7_abr._maig_juny_jul._ag._set._oct._nov._des.".split("_"),monthsParseExact:!0,weekdays:"diumenge_dilluns_dimarts_dimecres_dijous_divendres_dissabte".split("_"),weekdaysShort:"dg._dl._dt._dc._dj._dv._ds.".split("_"),weekdaysMin:"dg_dl_dt_dc_dj_dv_ds".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [de] YYYY",ll:"D MMM YYYY",LLL:"D MMMM [de] YYYY [a les] H:mm",lll:"D MMM YYYY, H:mm",LLLL:"dddd D MMMM [de] YYYY [a les] H:mm",llll:"ddd D MMM YYYY, H:mm"},calendar:{sameDay:function(){return"[avui a "+(1!==this.hours()?"les":"la")+"] LT"},nextDay:function(){return"[dem\xe0 a "+(1!==this.hours()?"les":"la")+"] LT"},nextWeek:function(){return"dddd [a "+(1!==this.hours()?"les":"la")+"] LT"},lastDay:function(){return"[ahir a "+(1!==this.hours()?"les":"la")+"] LT"},lastWeek:function(){return"[el] dddd [passat a "+(1!==this.hours()?"les":"la")+"] LT"},sameElse:"L"},relativeTime:{future:"d'aqu\xed %s",past:"fa %s",s:"uns segons",ss:"%d segons",m:"un minut",mm:"%d minuts",h:"una hora",hh:"%d hores",d:"un dia",dd:"%d dies",M:"un mes",MM:"%d mesos",y:"un any",yy:"%d anys"},dayOfMonthOrdinalParse:/\d{1,2}(r|n|t|\xe8|a)/,ordinal:function(d,u){var p=1===d?"r":2===d?"n":3===d?"r":4===d?"t":"\xe8";return("w"===u||"W"===u)&&(p="a"),d+p},week:{dow:1,doy:4}})}(w(5439))},7322:function(se,q,w){!function(v){"use strict";var m={standalone:"leden_\xfanor_b\u0159ezen_duben_kv\u011bten_\u010derven_\u010dervenec_srpen_z\xe1\u0159\xed_\u0159\xedjen_listopad_prosinec".split("_"),format:"ledna_\xfanora_b\u0159ezna_dubna_kv\u011btna_\u010dervna_\u010dervence_srpna_z\xe1\u0159\xed_\u0159\xedjna_listopadu_prosince".split("_"),isFormat:/DD?[o.]?(\[[^\[\]]*\]|\s)+MMMM/},d="led_\xfano_b\u0159e_dub_kv\u011b_\u010dvn_\u010dvc_srp_z\xe1\u0159_\u0159\xedj_lis_pro".split("_"),u=[/^led/i,/^\xfano/i,/^b\u0159e/i,/^dub/i,/^kv\u011b/i,/^(\u010dvn|\u010derven$|\u010dervna)/i,/^(\u010dvc|\u010dervenec|\u010dervence)/i,/^srp/i,/^z\xe1\u0159/i,/^\u0159\xedj/i,/^lis/i,/^pro/i],p=/^(leden|\xfanor|b\u0159ezen|duben|kv\u011bten|\u010dervenec|\u010dervence|\u010derven|\u010dervna|srpen|z\xe1\u0159\xed|\u0159\xedjen|listopad|prosinec|led|\xfano|b\u0159e|dub|kv\u011b|\u010dvn|\u010dvc|srp|z\xe1\u0159|\u0159\xedj|lis|pro)/i;function g(C){return C>1&&C<5&&1!=~~(C/10)}function y(C,P,N,R){var B=C+" ";switch(N){case"s":return P||R?"p\xe1r sekund":"p\xe1r sekundami";case"ss":return P||R?B+(g(C)?"sekundy":"sekund"):B+"sekundami";case"m":return P?"minuta":R?"minutu":"minutou";case"mm":return P||R?B+(g(C)?"minuty":"minut"):B+"minutami";case"h":return P?"hodina":R?"hodinu":"hodinou";case"hh":return P||R?B+(g(C)?"hodiny":"hodin"):B+"hodinami";case"d":return P||R?"den":"dnem";case"dd":return P||R?B+(g(C)?"dny":"dn\xed"):B+"dny";case"M":return P||R?"m\u011bs\xedc":"m\u011bs\xedcem";case"MM":return P||R?B+(g(C)?"m\u011bs\xedce":"m\u011bs\xedc\u016f"):B+"m\u011bs\xedci";case"y":return P||R?"rok":"rokem";case"yy":return P||R?B+(g(C)?"roky":"let"):B+"lety"}}v.defineLocale("cs",{months:m,monthsShort:d,monthsRegex:p,monthsShortRegex:p,monthsStrictRegex:/^(leden|ledna|\xfanora|\xfanor|b\u0159ezen|b\u0159ezna|duben|dubna|kv\u011bten|kv\u011btna|\u010dervenec|\u010dervence|\u010derven|\u010dervna|srpen|srpna|z\xe1\u0159\xed|\u0159\xedjen|\u0159\xedjna|listopadu|listopad|prosinec|prosince)/i,monthsShortStrictRegex:/^(led|\xfano|b\u0159e|dub|kv\u011b|\u010dvn|\u010dvc|srp|z\xe1\u0159|\u0159\xedj|lis|pro)/i,monthsParse:u,longMonthsParse:u,shortMonthsParse:u,weekdays:"ned\u011ble_pond\u011bl\xed_\xfater\xfd_st\u0159eda_\u010dtvrtek_p\xe1tek_sobota".split("_"),weekdaysShort:"ne_po_\xfat_st_\u010dt_p\xe1_so".split("_"),weekdaysMin:"ne_po_\xfat_st_\u010dt_p\xe1_so".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd D. MMMM YYYY H:mm",l:"D. M. YYYY"},calendar:{sameDay:"[dnes v] LT",nextDay:"[z\xedtra v] LT",nextWeek:function(){switch(this.day()){case 0:return"[v ned\u011bli v] LT";case 1:case 2:return"[v] dddd [v] LT";case 3:return"[ve st\u0159edu v] LT";case 4:return"[ve \u010dtvrtek v] LT";case 5:return"[v p\xe1tek v] LT";case 6:return"[v sobotu v] LT"}},lastDay:"[v\u010dera v] LT",lastWeek:function(){switch(this.day()){case 0:return"[minulou ned\u011bli v] LT";case 1:case 2:return"[minul\xe9] dddd [v] LT";case 3:return"[minulou st\u0159edu v] LT";case 4:case 5:return"[minul\xfd] dddd [v] LT";case 6:return"[minulou sobotu v] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"p\u0159ed %s",s:y,ss:y,m:y,mm:y,h:y,hh:y,d:y,dd:y,M:y,MM:y,y,yy:y},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(w(5439))},365:function(se,q,w){!function(v){"use strict";v.defineLocale("cv",{months:"\u043a\u04d1\u0440\u043b\u0430\u0447_\u043d\u0430\u0440\u04d1\u0441_\u043f\u0443\u0448_\u0430\u043a\u0430_\u043c\u0430\u0439_\u04ab\u04d7\u0440\u0442\u043c\u0435_\u0443\u0442\u04d1_\u04ab\u0443\u0440\u043b\u0430_\u0430\u0432\u04d1\u043d_\u044e\u043f\u0430_\u0447\u04f3\u043a_\u0440\u0430\u0448\u0442\u0430\u0432".split("_"),monthsShort:"\u043a\u04d1\u0440_\u043d\u0430\u0440_\u043f\u0443\u0448_\u0430\u043a\u0430_\u043c\u0430\u0439_\u04ab\u04d7\u0440_\u0443\u0442\u04d1_\u04ab\u0443\u0440_\u0430\u0432\u043d_\u044e\u043f\u0430_\u0447\u04f3\u043a_\u0440\u0430\u0448".split("_"),weekdays:"\u0432\u044b\u0440\u0441\u0430\u0440\u043d\u0438\u043a\u0443\u043d_\u0442\u0443\u043d\u0442\u0438\u043a\u0443\u043d_\u044b\u0442\u043b\u0430\u0440\u0438\u043a\u0443\u043d_\u044e\u043d\u043a\u0443\u043d_\u043a\u04d7\u04ab\u043d\u0435\u0440\u043d\u0438\u043a\u0443\u043d_\u044d\u0440\u043d\u0435\u043a\u0443\u043d_\u0448\u04d1\u043c\u0430\u0442\u043a\u0443\u043d".split("_"),weekdaysShort:"\u0432\u044b\u0440_\u0442\u0443\u043d_\u044b\u0442\u043b_\u044e\u043d_\u043a\u04d7\u04ab_\u044d\u0440\u043d_\u0448\u04d1\u043c".split("_"),weekdaysMin:"\u0432\u0440_\u0442\u043d_\u044b\u0442_\u044e\u043d_\u043a\u04ab_\u044d\u0440_\u0448\u043c".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"YYYY [\u04ab\u0443\u043b\u0445\u0438] MMMM [\u0443\u0439\u04d1\u0445\u04d7\u043d] D[-\u043c\u04d7\u0448\u04d7]",LLL:"YYYY [\u04ab\u0443\u043b\u0445\u0438] MMMM [\u0443\u0439\u04d1\u0445\u04d7\u043d] D[-\u043c\u04d7\u0448\u04d7], HH:mm",LLLL:"dddd, YYYY [\u04ab\u0443\u043b\u0445\u0438] MMMM [\u0443\u0439\u04d1\u0445\u04d7\u043d] D[-\u043c\u04d7\u0448\u04d7], HH:mm"},calendar:{sameDay:"[\u041f\u0430\u044f\u043d] LT [\u0441\u0435\u0445\u0435\u0442\u0440\u0435]",nextDay:"[\u042b\u0440\u0430\u043d] LT [\u0441\u0435\u0445\u0435\u0442\u0440\u0435]",lastDay:"[\u04d6\u043d\u0435\u0440] LT [\u0441\u0435\u0445\u0435\u0442\u0440\u0435]",nextWeek:"[\u04aa\u0438\u0442\u0435\u0441] dddd LT [\u0441\u0435\u0445\u0435\u0442\u0440\u0435]",lastWeek:"[\u0418\u0440\u0442\u043d\u04d7] dddd LT [\u0441\u0435\u0445\u0435\u0442\u0440\u0435]",sameElse:"L"},relativeTime:{future:function(d){return d+(/\u0441\u0435\u0445\u0435\u0442$/i.exec(d)?"\u0440\u0435\u043d":/\u04ab\u0443\u043b$/i.exec(d)?"\u0442\u0430\u043d":"\u0440\u0430\u043d")},past:"%s \u043a\u0430\u044f\u043b\u043b\u0430",s:"\u043f\u04d7\u0440-\u0438\u043a \u04ab\u0435\u043a\u043a\u0443\u043d\u0442",ss:"%d \u04ab\u0435\u043a\u043a\u0443\u043d\u0442",m:"\u043f\u04d7\u0440 \u043c\u0438\u043d\u0443\u0442",mm:"%d \u043c\u0438\u043d\u0443\u0442",h:"\u043f\u04d7\u0440 \u0441\u0435\u0445\u0435\u0442",hh:"%d \u0441\u0435\u0445\u0435\u0442",d:"\u043f\u04d7\u0440 \u043a\u0443\u043d",dd:"%d \u043a\u0443\u043d",M:"\u043f\u04d7\u0440 \u0443\u0439\u04d1\u0445",MM:"%d \u0443\u0439\u04d1\u0445",y:"\u043f\u04d7\u0440 \u04ab\u0443\u043b",yy:"%d \u04ab\u0443\u043b"},dayOfMonthOrdinalParse:/\d{1,2}-\u043c\u04d7\u0448/,ordinal:"%d-\u043c\u04d7\u0448",week:{dow:1,doy:7}})}(w(5439))},2092:function(se,q,w){!function(v){"use strict";v.defineLocale("cy",{months:"Ionawr_Chwefror_Mawrth_Ebrill_Mai_Mehefin_Gorffennaf_Awst_Medi_Hydref_Tachwedd_Rhagfyr".split("_"),monthsShort:"Ion_Chwe_Maw_Ebr_Mai_Meh_Gor_Aws_Med_Hyd_Tach_Rhag".split("_"),weekdays:"Dydd Sul_Dydd Llun_Dydd Mawrth_Dydd Mercher_Dydd Iau_Dydd Gwener_Dydd Sadwrn".split("_"),weekdaysShort:"Sul_Llun_Maw_Mer_Iau_Gwe_Sad".split("_"),weekdaysMin:"Su_Ll_Ma_Me_Ia_Gw_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Heddiw am] LT",nextDay:"[Yfory am] LT",nextWeek:"dddd [am] LT",lastDay:"[Ddoe am] LT",lastWeek:"dddd [diwethaf am] LT",sameElse:"L"},relativeTime:{future:"mewn %s",past:"%s yn \xf4l",s:"ychydig eiliadau",ss:"%d eiliad",m:"munud",mm:"%d munud",h:"awr",hh:"%d awr",d:"diwrnod",dd:"%d diwrnod",M:"mis",MM:"%d mis",y:"blwyddyn",yy:"%d flynedd"},dayOfMonthOrdinalParse:/\d{1,2}(fed|ain|af|il|ydd|ed|eg)/,ordinal:function(d){var p="";return d>20?p=40===d||50===d||60===d||80===d||100===d?"fed":"ain":d>0&&(p=["","af","il","ydd","ydd","ed","ed","ed","fed","fed","fed","eg","fed","eg","eg","fed","eg","eg","fed","eg","fed"][d]),d+p},week:{dow:1,doy:4}})}(w(5439))},7387:function(se,q,w){!function(v){"use strict";v.defineLocale("da",{months:"januar_februar_marts_april_maj_juni_juli_august_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"),weekdays:"s\xf8ndag_mandag_tirsdag_onsdag_torsdag_fredag_l\xf8rdag".split("_"),weekdaysShort:"s\xf8n_man_tir_ons_tor_fre_l\xf8r".split("_"),weekdaysMin:"s\xf8_ma_ti_on_to_fr_l\xf8".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd [d.] D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[i dag kl.] LT",nextDay:"[i morgen kl.] LT",nextWeek:"p\xe5 dddd [kl.] LT",lastDay:"[i g\xe5r kl.] LT",lastWeek:"[i] dddd[s kl.] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s siden",s:"f\xe5 sekunder",ss:"%d sekunder",m:"et minut",mm:"%d minutter",h:"en time",hh:"%d timer",d:"en dag",dd:"%d dage",M:"en m\xe5ned",MM:"%d m\xe5neder",y:"et \xe5r",yy:"%d \xe5r"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(w(5439))},9459:function(se,q,w){!function(v){"use strict";function m(u,p,g,y){var b={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[u+" Tage",u+" Tagen"],w:["eine Woche","einer Woche"],M:["ein Monat","einem Monat"],MM:[u+" Monate",u+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[u+" Jahre",u+" Jahren"]};return p?b[g][0]:b[g][1]}v.defineLocale("de-at",{months:"J\xe4nner_Februar_M\xe4rz_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"J\xe4n._Feb._M\xe4rz_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m,mm:"%d Minuten",h:m,hh:"%d Stunden",d:m,dd:m,w:m,ww:"%d Wochen",M:m,MM:m,y:m,yy:m},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(w(5439))},3694:function(se,q,w){!function(v){"use strict";function m(u,p,g,y){var b={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[u+" Tage",u+" Tagen"],w:["eine Woche","einer Woche"],M:["ein Monat","einem Monat"],MM:[u+" Monate",u+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[u+" Jahre",u+" Jahren"]};return p?b[g][0]:b[g][1]}v.defineLocale("de-ch",{months:"Januar_Februar_M\xe4rz_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Feb._M\xe4rz_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m,mm:"%d Minuten",h:m,hh:"%d Stunden",d:m,dd:m,w:m,ww:"%d Wochen",M:m,MM:m,y:m,yy:m},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(w(5439))},4307:function(se,q,w){!function(v){"use strict";function m(u,p,g,y){var b={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[u+" Tage",u+" Tagen"],w:["eine Woche","einer Woche"],M:["ein Monat","einem Monat"],MM:[u+" Monate",u+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[u+" Jahre",u+" Jahren"]};return p?b[g][0]:b[g][1]}v.defineLocale("de",{months:"Januar_Februar_M\xe4rz_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Feb._M\xe4rz_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m,mm:"%d Minuten",h:m,hh:"%d Stunden",d:m,dd:m,w:m,ww:"%d Wochen",M:m,MM:m,y:m,yy:m},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(w(5439))},9659:function(se,q,w){!function(v){"use strict";var m=["\u0796\u07ac\u0782\u07aa\u0787\u07a6\u0783\u07a9","\u078a\u07ac\u0784\u07b0\u0783\u07aa\u0787\u07a6\u0783\u07a9","\u0789\u07a7\u0783\u07a8\u0797\u07aa","\u0787\u07ad\u0795\u07b0\u0783\u07a9\u078d\u07aa","\u0789\u07ad","\u0796\u07ab\u0782\u07b0","\u0796\u07aa\u078d\u07a6\u0787\u07a8","\u0787\u07af\u078e\u07a6\u0790\u07b0\u0793\u07aa","\u0790\u07ac\u0795\u07b0\u0793\u07ac\u0789\u07b0\u0784\u07a6\u0783\u07aa","\u0787\u07ae\u0786\u07b0\u0793\u07af\u0784\u07a6\u0783\u07aa","\u0782\u07ae\u0788\u07ac\u0789\u07b0\u0784\u07a6\u0783\u07aa","\u0791\u07a8\u0790\u07ac\u0789\u07b0\u0784\u07a6\u0783\u07aa"],d=["\u0787\u07a7\u078b\u07a8\u0787\u07b0\u078c\u07a6","\u0780\u07af\u0789\u07a6","\u0787\u07a6\u0782\u07b0\u078e\u07a7\u0783\u07a6","\u0784\u07aa\u078b\u07a6","\u0784\u07aa\u0783\u07a7\u0790\u07b0\u078a\u07a6\u078c\u07a8","\u0780\u07aa\u0786\u07aa\u0783\u07aa","\u0780\u07ae\u0782\u07a8\u0780\u07a8\u0783\u07aa"];v.defineLocale("dv",{months:m,monthsShort:m,weekdays:d,weekdaysShort:d,weekdaysMin:"\u0787\u07a7\u078b\u07a8_\u0780\u07af\u0789\u07a6_\u0787\u07a6\u0782\u07b0_\u0784\u07aa\u078b\u07a6_\u0784\u07aa\u0783\u07a7_\u0780\u07aa\u0786\u07aa_\u0780\u07ae\u0782\u07a8".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/M/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0789\u0786|\u0789\u078a/,isPM:function(p){return"\u0789\u078a"===p},meridiem:function(p,g,y){return p<12?"\u0789\u0786":"\u0789\u078a"},calendar:{sameDay:"[\u0789\u07a8\u0787\u07a6\u078b\u07aa] LT",nextDay:"[\u0789\u07a7\u078b\u07a6\u0789\u07a7] LT",nextWeek:"dddd LT",lastDay:"[\u0787\u07a8\u0787\u07b0\u0794\u07ac] LT",lastWeek:"[\u078a\u07a7\u0787\u07a8\u078c\u07aa\u0788\u07a8] dddd LT",sameElse:"L"},relativeTime:{future:"\u078c\u07ac\u0783\u07ad\u078e\u07a6\u0787\u07a8 %s",past:"\u0786\u07aa\u0783\u07a8\u0782\u07b0 %s",s:"\u0790\u07a8\u0786\u07aa\u0782\u07b0\u078c\u07aa\u0786\u07ae\u0785\u07ac\u0787\u07b0",ss:"d% \u0790\u07a8\u0786\u07aa\u0782\u07b0\u078c\u07aa",m:"\u0789\u07a8\u0782\u07a8\u0793\u07ac\u0787\u07b0",mm:"\u0789\u07a8\u0782\u07a8\u0793\u07aa %d",h:"\u078e\u07a6\u0791\u07a8\u0787\u07a8\u0783\u07ac\u0787\u07b0",hh:"\u078e\u07a6\u0791\u07a8\u0787\u07a8\u0783\u07aa %d",d:"\u078b\u07aa\u0788\u07a6\u0780\u07ac\u0787\u07b0",dd:"\u078b\u07aa\u0788\u07a6\u0790\u07b0 %d",M:"\u0789\u07a6\u0780\u07ac\u0787\u07b0",MM:"\u0789\u07a6\u0790\u07b0 %d",y:"\u0787\u07a6\u0780\u07a6\u0783\u07ac\u0787\u07b0",yy:"\u0787\u07a6\u0780\u07a6\u0783\u07aa %d"},preparse:function(p){return p.replace(/\u060c/g,",")},postformat:function(p){return p.replace(/,/g,"\u060c")},week:{dow:7,doy:12}})}(w(5439))},3460:function(se,q,w){!function(v){"use strict";v.defineLocale("el",{monthsNominativeEl:"\u0399\u03b1\u03bd\u03bf\u03c5\u03ac\u03c1\u03b9\u03bf\u03c2_\u03a6\u03b5\u03b2\u03c1\u03bf\u03c5\u03ac\u03c1\u03b9\u03bf\u03c2_\u039c\u03ac\u03c1\u03c4\u03b9\u03bf\u03c2_\u0391\u03c0\u03c1\u03af\u03bb\u03b9\u03bf\u03c2_\u039c\u03ac\u03b9\u03bf\u03c2_\u0399\u03bf\u03cd\u03bd\u03b9\u03bf\u03c2_\u0399\u03bf\u03cd\u03bb\u03b9\u03bf\u03c2_\u0391\u03cd\u03b3\u03bf\u03c5\u03c3\u03c4\u03bf\u03c2_\u03a3\u03b5\u03c0\u03c4\u03ad\u03bc\u03b2\u03c1\u03b9\u03bf\u03c2_\u039f\u03ba\u03c4\u03ce\u03b2\u03c1\u03b9\u03bf\u03c2_\u039d\u03bf\u03ad\u03bc\u03b2\u03c1\u03b9\u03bf\u03c2_\u0394\u03b5\u03ba\u03ad\u03bc\u03b2\u03c1\u03b9\u03bf\u03c2".split("_"),monthsGenitiveEl:"\u0399\u03b1\u03bd\u03bf\u03c5\u03b1\u03c1\u03af\u03bf\u03c5_\u03a6\u03b5\u03b2\u03c1\u03bf\u03c5\u03b1\u03c1\u03af\u03bf\u03c5_\u039c\u03b1\u03c1\u03c4\u03af\u03bf\u03c5_\u0391\u03c0\u03c1\u03b9\u03bb\u03af\u03bf\u03c5_\u039c\u03b1\u0390\u03bf\u03c5_\u0399\u03bf\u03c5\u03bd\u03af\u03bf\u03c5_\u0399\u03bf\u03c5\u03bb\u03af\u03bf\u03c5_\u0391\u03c5\u03b3\u03bf\u03cd\u03c3\u03c4\u03bf\u03c5_\u03a3\u03b5\u03c0\u03c4\u03b5\u03bc\u03b2\u03c1\u03af\u03bf\u03c5_\u039f\u03ba\u03c4\u03c9\u03b2\u03c1\u03af\u03bf\u03c5_\u039d\u03bf\u03b5\u03bc\u03b2\u03c1\u03af\u03bf\u03c5_\u0394\u03b5\u03ba\u03b5\u03bc\u03b2\u03c1\u03af\u03bf\u03c5".split("_"),months:function(u,p){return u?"string"==typeof p&&/D/.test(p.substring(0,p.indexOf("MMMM")))?this._monthsGenitiveEl[u.month()]:this._monthsNominativeEl[u.month()]:this._monthsNominativeEl},monthsShort:"\u0399\u03b1\u03bd_\u03a6\u03b5\u03b2_\u039c\u03b1\u03c1_\u0391\u03c0\u03c1_\u039c\u03b1\u03ca_\u0399\u03bf\u03c5\u03bd_\u0399\u03bf\u03c5\u03bb_\u0391\u03c5\u03b3_\u03a3\u03b5\u03c0_\u039f\u03ba\u03c4_\u039d\u03bf\u03b5_\u0394\u03b5\u03ba".split("_"),weekdays:"\u039a\u03c5\u03c1\u03b9\u03b1\u03ba\u03ae_\u0394\u03b5\u03c5\u03c4\u03ad\u03c1\u03b1_\u03a4\u03c1\u03af\u03c4\u03b7_\u03a4\u03b5\u03c4\u03ac\u03c1\u03c4\u03b7_\u03a0\u03ad\u03bc\u03c0\u03c4\u03b7_\u03a0\u03b1\u03c1\u03b1\u03c3\u03ba\u03b5\u03c5\u03ae_\u03a3\u03ac\u03b2\u03b2\u03b1\u03c4\u03bf".split("_"),weekdaysShort:"\u039a\u03c5\u03c1_\u0394\u03b5\u03c5_\u03a4\u03c1\u03b9_\u03a4\u03b5\u03c4_\u03a0\u03b5\u03bc_\u03a0\u03b1\u03c1_\u03a3\u03b1\u03b2".split("_"),weekdaysMin:"\u039a\u03c5_\u0394\u03b5_\u03a4\u03c1_\u03a4\u03b5_\u03a0\u03b5_\u03a0\u03b1_\u03a3\u03b1".split("_"),meridiem:function(u,p,g){return u>11?g?"\u03bc\u03bc":"\u039c\u039c":g?"\u03c0\u03bc":"\u03a0\u039c"},isPM:function(u){return"\u03bc"===(u+"").toLowerCase()[0]},meridiemParse:/[\u03a0\u039c]\.?\u039c?\.?/i,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendarEl:{sameDay:"[\u03a3\u03ae\u03bc\u03b5\u03c1\u03b1 {}] LT",nextDay:"[\u0391\u03cd\u03c1\u03b9\u03bf {}] LT",nextWeek:"dddd [{}] LT",lastDay:"[\u03a7\u03b8\u03b5\u03c2 {}] LT",lastWeek:function(){return 6===this.day()?"[\u03c4\u03bf \u03c0\u03c1\u03bf\u03b7\u03b3\u03bf\u03cd\u03bc\u03b5\u03bd\u03bf] dddd [{}] LT":"[\u03c4\u03b7\u03bd \u03c0\u03c1\u03bf\u03b7\u03b3\u03bf\u03cd\u03bc\u03b5\u03bd\u03b7] dddd [{}] LT"},sameElse:"L"},calendar:function(u,p){var g=this._calendarEl[u],y=p&&p.hours();return function m(u){return"undefined"!=typeof Function&&u instanceof Function||"[object Function]"===Object.prototype.toString.call(u)}(g)&&(g=g.apply(p)),g.replace("{}",y%12==1?"\u03c3\u03c4\u03b7":"\u03c3\u03c4\u03b9\u03c2")},relativeTime:{future:"\u03c3\u03b5 %s",past:"%s \u03c0\u03c1\u03b9\u03bd",s:"\u03bb\u03af\u03b3\u03b1 \u03b4\u03b5\u03c5\u03c4\u03b5\u03c1\u03cc\u03bb\u03b5\u03c0\u03c4\u03b1",ss:"%d \u03b4\u03b5\u03c5\u03c4\u03b5\u03c1\u03cc\u03bb\u03b5\u03c0\u03c4\u03b1",m:"\u03ad\u03bd\u03b1 \u03bb\u03b5\u03c0\u03c4\u03cc",mm:"%d \u03bb\u03b5\u03c0\u03c4\u03ac",h:"\u03bc\u03af\u03b1 \u03ce\u03c1\u03b1",hh:"%d \u03ce\u03c1\u03b5\u03c2",d:"\u03bc\u03af\u03b1 \u03bc\u03ad\u03c1\u03b1",dd:"%d \u03bc\u03ad\u03c1\u03b5\u03c2",M:"\u03ad\u03bd\u03b1\u03c2 \u03bc\u03ae\u03bd\u03b1\u03c2",MM:"%d \u03bc\u03ae\u03bd\u03b5\u03c2",y:"\u03ad\u03bd\u03b1\u03c2 \u03c7\u03c1\u03cc\u03bd\u03bf\u03c2",yy:"%d \u03c7\u03c1\u03cc\u03bd\u03b9\u03b1"},dayOfMonthOrdinalParse:/\d{1,2}\u03b7/,ordinal:"%d\u03b7",week:{dow:1,doy:4}})}(w(5439))},4369:function(se,q,w){!function(v){"use strict";v.defineLocale("en-au",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{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",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(d){var u=d%10;return d+(1==~~(d%100/10)?"th":1===u?"st":2===u?"nd":3===u?"rd":"th")},week:{dow:0,doy:4}})}(w(5439))},530:function(se,q,w){!function(v){"use strict";v.defineLocale("en-ca",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"YYYY-MM-DD",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{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",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(d){var u=d%10;return d+(1==~~(d%100/10)?"th":1===u?"st":2===u?"nd":3===u?"rd":"th")}})}(w(5439))},9998:function(se,q,w){!function(v){"use strict";v.defineLocale("en-gb",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{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",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(d){var u=d%10;return d+(1==~~(d%100/10)?"th":1===u?"st":2===u?"nd":3===u?"rd":"th")},week:{dow:1,doy:4}})}(w(5439))},3391:function(se,q,w){!function(v){"use strict";v.defineLocale("en-ie",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{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",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(d){var u=d%10;return d+(1==~~(d%100/10)?"th":1===u?"st":2===u?"nd":3===u?"rd":"th")},week:{dow:1,doy:4}})}(w(5439))},5414:function(se,q,w){!function(v){"use strict";v.defineLocale("en-il",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{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",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(d){var u=d%10;return d+(1==~~(d%100/10)?"th":1===u?"st":2===u?"nd":3===u?"rd":"th")}})}(w(5439))},9615:function(se,q,w){!function(v){"use strict";v.defineLocale("en-in",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{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",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(d){var u=d%10;return d+(1==~~(d%100/10)?"th":1===u?"st":2===u?"nd":3===u?"rd":"th")},week:{dow:0,doy:6}})}(w(5439))},1248:function(se,q,w){!function(v){"use strict";v.defineLocale("en-nz",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{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",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(d){var u=d%10;return d+(1==~~(d%100/10)?"th":1===u?"st":2===u?"nd":3===u?"rd":"th")},week:{dow:1,doy:4}})}(w(5439))},3767:function(se,q,w){!function(v){"use strict";v.defineLocale("en-sg",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{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",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(d){var u=d%10;return d+(1==~~(d%100/10)?"th":1===u?"st":2===u?"nd":3===u?"rd":"th")},week:{dow:1,doy:4}})}(w(5439))},4530:function(se,q,w){!function(v){"use strict";v.defineLocale("eo",{months:"januaro_februaro_marto_aprilo_majo_junio_julio_a\u016dgusto_septembro_oktobro_novembro_decembro".split("_"),monthsShort:"jan_feb_mart_apr_maj_jun_jul_a\u016dg_sept_okt_nov_dec".split("_"),weekdays:"diman\u0109o_lundo_mardo_merkredo_\u0135a\u016ddo_vendredo_sabato".split("_"),weekdaysShort:"dim_lun_mard_merk_\u0135a\u016d_ven_sab".split("_"),weekdaysMin:"di_lu_ma_me_\u0135a_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"[la] D[-an de] MMMM, YYYY",LLL:"[la] D[-an de] MMMM, YYYY HH:mm",LLLL:"dddd[n], [la] D[-an de] MMMM, YYYY HH:mm",llll:"ddd, [la] D[-an de] MMM, YYYY HH:mm"},meridiemParse:/[ap]\.t\.m/i,isPM:function(d){return"p"===d.charAt(0).toLowerCase()},meridiem:function(d,u,p){return d>11?p?"p.t.m.":"P.T.M.":p?"a.t.m.":"A.T.M."},calendar:{sameDay:"[Hodia\u016d je] LT",nextDay:"[Morga\u016d je] LT",nextWeek:"dddd[n je] LT",lastDay:"[Hiera\u016d je] LT",lastWeek:"[pasintan] dddd[n je] LT",sameElse:"L"},relativeTime:{future:"post %s",past:"anta\u016d %s",s:"kelkaj sekundoj",ss:"%d sekundoj",m:"unu minuto",mm:"%d minutoj",h:"unu horo",hh:"%d horoj",d:"unu tago",dd:"%d tagoj",M:"unu monato",MM:"%d monatoj",y:"unu jaro",yy:"%d jaroj"},dayOfMonthOrdinalParse:/\d{1,2}a/,ordinal:"%da",week:{dow:1,doy:7}})}(w(5439))},8944:function(se,q,w){!function(v){"use strict";var m="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),d="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),u=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],p=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;v.defineLocale("es-do",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(y,b){return y?/-MMM-/.test(b)?d[y.month()]:m[y.month()]:m},monthsRegex:p,monthsShortRegex:p,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:u,longMonthsParse:u,shortMonthsParse:u,weekdays:"domingo_lunes_martes_mi\xe9rcoles_jueves_viernes_s\xe1bado".split("_"),weekdaysShort:"dom._lun._mar._mi\xe9._jue._vie._s\xe1b.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_s\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY h:mm A",LLLL:"dddd, D [de] MMMM [de] YYYY h:mm A"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[ma\xf1ana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un d\xeda",dd:"%d d\xedas",w:"una semana",ww:"%d semanas",M:"un mes",MM:"%d meses",y:"un a\xf1o",yy:"%d a\xf1os"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(w(5439))},9116:function(se,q,w){!function(v){"use strict";var m="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),d="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),u=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],p=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;v.defineLocale("es-mx",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(y,b){return y?/-MMM-/.test(b)?d[y.month()]:m[y.month()]:m},monthsRegex:p,monthsShortRegex:p,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:u,longMonthsParse:u,shortMonthsParse:u,weekdays:"domingo_lunes_martes_mi\xe9rcoles_jueves_viernes_s\xe1bado".split("_"),weekdaysShort:"dom._lun._mar._mi\xe9._jue._vie._s\xe1b.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_s\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[ma\xf1ana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un d\xeda",dd:"%d d\xedas",w:"una semana",ww:"%d semanas",M:"un mes",MM:"%d meses",y:"un a\xf1o",yy:"%d a\xf1os"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:0,doy:4},invalidDate:"Fecha inv\xe1lida"})}(w(5439))},3609:function(se,q,w){!function(v){"use strict";var m="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),d="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),u=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],p=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;v.defineLocale("es-us",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(y,b){return y?/-MMM-/.test(b)?d[y.month()]:m[y.month()]:m},monthsRegex:p,monthsShortRegex:p,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:u,longMonthsParse:u,shortMonthsParse:u,weekdays:"domingo_lunes_martes_mi\xe9rcoles_jueves_viernes_s\xe1bado".split("_"),weekdaysShort:"dom._lun._mar._mi\xe9._jue._vie._s\xe1b.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_s\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"MM/DD/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY h:mm A",LLLL:"dddd, D [de] MMMM [de] YYYY h:mm A"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[ma\xf1ana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un d\xeda",dd:"%d d\xedas",w:"una semana",ww:"%d semanas",M:"un mes",MM:"%d meses",y:"un a\xf1o",yy:"%d a\xf1os"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:0,doy:6}})}(w(5439))},6866:function(se,q,w){!function(v){"use strict";var m="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),d="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),u=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],p=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;v.defineLocale("es",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(y,b){return y?/-MMM-/.test(b)?d[y.month()]:m[y.month()]:m},monthsRegex:p,monthsShortRegex:p,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:u,longMonthsParse:u,shortMonthsParse:u,weekdays:"domingo_lunes_martes_mi\xe9rcoles_jueves_viernes_s\xe1bado".split("_"),weekdaysShort:"dom._lun._mar._mi\xe9._jue._vie._s\xe1b.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_s\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[ma\xf1ana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un d\xeda",dd:"%d d\xedas",w:"una semana",ww:"%d semanas",M:"un mes",MM:"%d meses",y:"un a\xf1o",yy:"%d a\xf1os"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4},invalidDate:"Fecha inv\xe1lida"})}(w(5439))},6725:function(se,q,w){!function(v){"use strict";function m(u,p,g,y){var b={s:["m\xf5ne sekundi","m\xf5ni sekund","paar sekundit"],ss:[u+"sekundi",u+"sekundit"],m:["\xfche minuti","\xfcks minut"],mm:[u+" minuti",u+" minutit"],h:["\xfche tunni","tund aega","\xfcks tund"],hh:[u+" tunni",u+" tundi"],d:["\xfche p\xe4eva","\xfcks p\xe4ev"],M:["kuu aja","kuu aega","\xfcks kuu"],MM:[u+" kuu",u+" kuud"],y:["\xfche aasta","aasta","\xfcks aasta"],yy:[u+" aasta",u+" aastat"]};return p?b[g][2]?b[g][2]:b[g][1]:y?b[g][0]:b[g][1]}v.defineLocale("et",{months:"jaanuar_veebruar_m\xe4rts_aprill_mai_juuni_juuli_august_september_oktoober_november_detsember".split("_"),monthsShort:"jaan_veebr_m\xe4rts_apr_mai_juuni_juuli_aug_sept_okt_nov_dets".split("_"),weekdays:"p\xfchap\xe4ev_esmasp\xe4ev_teisip\xe4ev_kolmap\xe4ev_neljap\xe4ev_reede_laup\xe4ev".split("_"),weekdaysShort:"P_E_T_K_N_R_L".split("_"),weekdaysMin:"P_E_T_K_N_R_L".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[T\xe4na,] LT",nextDay:"[Homme,] LT",nextWeek:"[J\xe4rgmine] dddd LT",lastDay:"[Eile,] LT",lastWeek:"[Eelmine] dddd LT",sameElse:"L"},relativeTime:{future:"%s p\xe4rast",past:"%s tagasi",s:m,ss:m,m,mm:m,h:m,hh:m,d:m,dd:"%d p\xe4eva",M:m,MM:m,y:m,yy:m},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(w(5439))},7931:function(se,q,w){!function(v){"use strict";v.defineLocale("eu",{months:"urtarrila_otsaila_martxoa_apirila_maiatza_ekaina_uztaila_abuztua_iraila_urria_azaroa_abendua".split("_"),monthsShort:"urt._ots._mar._api._mai._eka._uzt._abu._ira._urr._aza._abe.".split("_"),monthsParseExact:!0,weekdays:"igandea_astelehena_asteartea_asteazkena_osteguna_ostirala_larunbata".split("_"),weekdaysShort:"ig._al._ar._az._og._ol._lr.".split("_"),weekdaysMin:"ig_al_ar_az_og_ol_lr".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY[ko] MMMM[ren] D[a]",LLL:"YYYY[ko] MMMM[ren] D[a] HH:mm",LLLL:"dddd, YYYY[ko] MMMM[ren] D[a] HH:mm",l:"YYYY-M-D",ll:"YYYY[ko] MMM D[a]",lll:"YYYY[ko] MMM D[a] HH:mm",llll:"ddd, YYYY[ko] MMM D[a] HH:mm"},calendar:{sameDay:"[gaur] LT[etan]",nextDay:"[bihar] LT[etan]",nextWeek:"dddd LT[etan]",lastDay:"[atzo] LT[etan]",lastWeek:"[aurreko] dddd LT[etan]",sameElse:"L"},relativeTime:{future:"%s barru",past:"duela %s",s:"segundo batzuk",ss:"%d segundo",m:"minutu bat",mm:"%d minutu",h:"ordu bat",hh:"%d ordu",d:"egun bat",dd:"%d egun",M:"hilabete bat",MM:"%d hilabete",y:"urte bat",yy:"%d urte"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(w(5439))},6417:function(se,q,w){!function(v){"use strict";var m={1:"\u06f1",2:"\u06f2",3:"\u06f3",4:"\u06f4",5:"\u06f5",6:"\u06f6",7:"\u06f7",8:"\u06f8",9:"\u06f9",0:"\u06f0"},d={"\u06f1":"1","\u06f2":"2","\u06f3":"3","\u06f4":"4","\u06f5":"5","\u06f6":"6","\u06f7":"7","\u06f8":"8","\u06f9":"9","\u06f0":"0"};v.defineLocale("fa",{months:"\u0698\u0627\u0646\u0648\u06cc\u0647_\u0641\u0648\u0631\u06cc\u0647_\u0645\u0627\u0631\u0633_\u0622\u0648\u0631\u06cc\u0644_\u0645\u0647_\u0698\u0648\u0626\u0646_\u0698\u0648\u0626\u06cc\u0647_\u0627\u0648\u062a_\u0633\u067e\u062a\u0627\u0645\u0628\u0631_\u0627\u06a9\u062a\u0628\u0631_\u0646\u0648\u0627\u0645\u0628\u0631_\u062f\u0633\u0627\u0645\u0628\u0631".split("_"),monthsShort:"\u0698\u0627\u0646\u0648\u06cc\u0647_\u0641\u0648\u0631\u06cc\u0647_\u0645\u0627\u0631\u0633_\u0622\u0648\u0631\u06cc\u0644_\u0645\u0647_\u0698\u0648\u0626\u0646_\u0698\u0648\u0626\u06cc\u0647_\u0627\u0648\u062a_\u0633\u067e\u062a\u0627\u0645\u0628\u0631_\u0627\u06a9\u062a\u0628\u0631_\u0646\u0648\u0627\u0645\u0628\u0631_\u062f\u0633\u0627\u0645\u0628\u0631".split("_"),weekdays:"\u06cc\u06a9\u200c\u0634\u0646\u0628\u0647_\u062f\u0648\u0634\u0646\u0628\u0647_\u0633\u0647\u200c\u0634\u0646\u0628\u0647_\u0686\u0647\u0627\u0631\u0634\u0646\u0628\u0647_\u067e\u0646\u062c\u200c\u0634\u0646\u0628\u0647_\u062c\u0645\u0639\u0647_\u0634\u0646\u0628\u0647".split("_"),weekdaysShort:"\u06cc\u06a9\u200c\u0634\u0646\u0628\u0647_\u062f\u0648\u0634\u0646\u0628\u0647_\u0633\u0647\u200c\u0634\u0646\u0628\u0647_\u0686\u0647\u0627\u0631\u0634\u0646\u0628\u0647_\u067e\u0646\u062c\u200c\u0634\u0646\u0628\u0647_\u062c\u0645\u0639\u0647_\u0634\u0646\u0628\u0647".split("_"),weekdaysMin:"\u06cc_\u062f_\u0633_\u0686_\u067e_\u062c_\u0634".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiemParse:/\u0642\u0628\u0644 \u0627\u0632 \u0638\u0647\u0631|\u0628\u0639\u062f \u0627\u0632 \u0638\u0647\u0631/,isPM:function(p){return/\u0628\u0639\u062f \u0627\u0632 \u0638\u0647\u0631/.test(p)},meridiem:function(p,g,y){return p<12?"\u0642\u0628\u0644 \u0627\u0632 \u0638\u0647\u0631":"\u0628\u0639\u062f \u0627\u0632 \u0638\u0647\u0631"},calendar:{sameDay:"[\u0627\u0645\u0631\u0648\u0632 \u0633\u0627\u0639\u062a] LT",nextDay:"[\u0641\u0631\u062f\u0627 \u0633\u0627\u0639\u062a] LT",nextWeek:"dddd [\u0633\u0627\u0639\u062a] LT",lastDay:"[\u062f\u06cc\u0631\u0648\u0632 \u0633\u0627\u0639\u062a] LT",lastWeek:"dddd [\u067e\u06cc\u0634] [\u0633\u0627\u0639\u062a] LT",sameElse:"L"},relativeTime:{future:"\u062f\u0631 %s",past:"%s \u067e\u06cc\u0634",s:"\u0686\u0646\u062f \u062b\u0627\u0646\u06cc\u0647",ss:"%d \u062b\u0627\u0646\u06cc\u0647",m:"\u06cc\u06a9 \u062f\u0642\u06cc\u0642\u0647",mm:"%d \u062f\u0642\u06cc\u0642\u0647",h:"\u06cc\u06a9 \u0633\u0627\u0639\u062a",hh:"%d \u0633\u0627\u0639\u062a",d:"\u06cc\u06a9 \u0631\u0648\u0632",dd:"%d \u0631\u0648\u0632",M:"\u06cc\u06a9 \u0645\u0627\u0647",MM:"%d \u0645\u0627\u0647",y:"\u06cc\u06a9 \u0633\u0627\u0644",yy:"%d \u0633\u0627\u0644"},preparse:function(p){return p.replace(/[\u06f0-\u06f9]/g,function(g){return d[g]}).replace(/\u060c/g,",")},postformat:function(p){return p.replace(/\d/g,function(g){return m[g]}).replace(/,/g,"\u060c")},dayOfMonthOrdinalParse:/\d{1,2}\u0645/,ordinal:"%d\u0645",week:{dow:6,doy:12}})}(w(5439))},944:function(se,q,w){!function(v){"use strict";var m="nolla yksi kaksi kolme nelj\xe4 viisi kuusi seitsem\xe4n kahdeksan yhdeks\xe4n".split(" "),d=["nolla","yhden","kahden","kolmen","nelj\xe4n","viiden","kuuden",m[7],m[8],m[9]];function u(y,b,C,P){var N="";switch(C){case"s":return P?"muutaman sekunnin":"muutama sekunti";case"ss":N=P?"sekunnin":"sekuntia";break;case"m":return P?"minuutin":"minuutti";case"mm":N=P?"minuutin":"minuuttia";break;case"h":return P?"tunnin":"tunti";case"hh":N=P?"tunnin":"tuntia";break;case"d":return P?"p\xe4iv\xe4n":"p\xe4iv\xe4";case"dd":N=P?"p\xe4iv\xe4n":"p\xe4iv\xe4\xe4";break;case"M":return P?"kuukauden":"kuukausi";case"MM":N=P?"kuukauden":"kuukautta";break;case"y":return P?"vuoden":"vuosi";case"yy":N=P?"vuoden":"vuotta"}return function p(y,b){return y<10?b?d[y]:m[y]:y}(y,P)+" "+N}v.defineLocale("fi",{months:"tammikuu_helmikuu_maaliskuu_huhtikuu_toukokuu_kes\xe4kuu_hein\xe4kuu_elokuu_syyskuu_lokakuu_marraskuu_joulukuu".split("_"),monthsShort:"tammi_helmi_maalis_huhti_touko_kes\xe4_hein\xe4_elo_syys_loka_marras_joulu".split("_"),weekdays:"sunnuntai_maanantai_tiistai_keskiviikko_torstai_perjantai_lauantai".split("_"),weekdaysShort:"su_ma_ti_ke_to_pe_la".split("_"),weekdaysMin:"su_ma_ti_ke_to_pe_la".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD.MM.YYYY",LL:"Do MMMM[ta] YYYY",LLL:"Do MMMM[ta] YYYY, [klo] HH.mm",LLLL:"dddd, Do MMMM[ta] YYYY, [klo] HH.mm",l:"D.M.YYYY",ll:"Do MMM YYYY",lll:"Do MMM YYYY, [klo] HH.mm",llll:"ddd, Do MMM YYYY, [klo] HH.mm"},calendar:{sameDay:"[t\xe4n\xe4\xe4n] [klo] LT",nextDay:"[huomenna] [klo] LT",nextWeek:"dddd [klo] LT",lastDay:"[eilen] [klo] LT",lastWeek:"[viime] dddd[na] [klo] LT",sameElse:"L"},relativeTime:{future:"%s p\xe4\xe4st\xe4",past:"%s sitten",s:u,ss:u,m:u,mm:u,h:u,hh:u,d:u,dd:u,M:u,MM:u,y:u,yy:u},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(w(5439))},1766:function(se,q,w){!function(v){"use strict";v.defineLocale("fil",{months:"Enero_Pebrero_Marso_Abril_Mayo_Hunyo_Hulyo_Agosto_Setyembre_Oktubre_Nobyembre_Disyembre".split("_"),monthsShort:"Ene_Peb_Mar_Abr_May_Hun_Hul_Ago_Set_Okt_Nob_Dis".split("_"),weekdays:"Linggo_Lunes_Martes_Miyerkules_Huwebes_Biyernes_Sabado".split("_"),weekdaysShort:"Lin_Lun_Mar_Miy_Huw_Biy_Sab".split("_"),weekdaysMin:"Li_Lu_Ma_Mi_Hu_Bi_Sab".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"MM/D/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY HH:mm",LLLL:"dddd, MMMM DD, YYYY HH:mm"},calendar:{sameDay:"LT [ngayong araw]",nextDay:"[Bukas ng] LT",nextWeek:"LT [sa susunod na] dddd",lastDay:"LT [kahapon]",lastWeek:"LT [noong nakaraang] dddd",sameElse:"L"},relativeTime:{future:"sa loob ng %s",past:"%s ang nakalipas",s:"ilang segundo",ss:"%d segundo",m:"isang minuto",mm:"%d minuto",h:"isang oras",hh:"%d oras",d:"isang araw",dd:"%d araw",M:"isang buwan",MM:"%d buwan",y:"isang taon",yy:"%d taon"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:function(d){return d},week:{dow:1,doy:4}})}(w(5439))},5867:function(se,q,w){!function(v){"use strict";v.defineLocale("fo",{months:"januar_februar_mars_apr\xedl_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan_feb_mar_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_"),weekdays:"sunnudagur_m\xe1nadagur_t\xfdsdagur_mikudagur_h\xf3sdagur_fr\xedggjadagur_leygardagur".split("_"),weekdaysShort:"sun_m\xe1n_t\xfds_mik_h\xf3s_fr\xed_ley".split("_"),weekdaysMin:"su_m\xe1_t\xfd_mi_h\xf3_fr_le".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D. MMMM, YYYY HH:mm"},calendar:{sameDay:"[\xcd dag kl.] LT",nextDay:"[\xcd morgin kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[\xcd gj\xe1r kl.] LT",lastWeek:"[s\xed\xf0stu] dddd [kl] LT",sameElse:"L"},relativeTime:{future:"um %s",past:"%s s\xed\xf0ani",s:"f\xe1 sekund",ss:"%d sekundir",m:"ein minuttur",mm:"%d minuttir",h:"ein t\xedmi",hh:"%d t\xedmar",d:"ein dagur",dd:"%d dagar",M:"ein m\xe1na\xf0ur",MM:"%d m\xe1na\xf0ir",y:"eitt \xe1r",yy:"%d \xe1r"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(w(5439))},6848:function(se,q,w){!function(v){"use strict";v.defineLocale("fr-ca",{months:"janvier_f\xe9vrier_mars_avril_mai_juin_juillet_ao\xfbt_septembre_octobre_novembre_d\xe9cembre".split("_"),monthsShort:"janv._f\xe9vr._mars_avr._mai_juin_juil._ao\xfbt_sept._oct._nov._d\xe9c.".split("_"),monthsParseExact:!0,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd\u2019hui \xe0] LT",nextDay:"[Demain \xe0] LT",nextWeek:"dddd [\xe0] LT",lastDay:"[Hier \xe0] LT",lastWeek:"dddd [dernier \xe0] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|e)/,ordinal:function(d,u){switch(u){default:case"M":case"Q":case"D":case"DDD":case"d":return d+(1===d?"er":"e");case"w":case"W":return d+(1===d?"re":"e")}}})}(w(5439))},7773:function(se,q,w){!function(v){"use strict";v.defineLocale("fr-ch",{months:"janvier_f\xe9vrier_mars_avril_mai_juin_juillet_ao\xfbt_septembre_octobre_novembre_d\xe9cembre".split("_"),monthsShort:"janv._f\xe9vr._mars_avr._mai_juin_juil._ao\xfbt_sept._oct._nov._d\xe9c.".split("_"),monthsParseExact:!0,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd\u2019hui \xe0] LT",nextDay:"[Demain \xe0] LT",nextWeek:"dddd [\xe0] LT",lastDay:"[Hier \xe0] LT",lastWeek:"dddd [dernier \xe0] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|e)/,ordinal:function(d,u){switch(u){default:case"M":case"Q":case"D":case"DDD":case"d":return d+(1===d?"er":"e");case"w":case"W":return d+(1===d?"re":"e")}},week:{dow:1,doy:4}})}(w(5439))},1636:function(se,q,w){!function(v){"use strict";var u=/(janv\.?|f\xe9vr\.?|mars|avr\.?|mai|juin|juil\.?|ao\xfbt|sept\.?|oct\.?|nov\.?|d\xe9c\.?|janvier|f\xe9vrier|mars|avril|mai|juin|juillet|ao\xfbt|septembre|octobre|novembre|d\xe9cembre)/i,p=[/^janv/i,/^f\xe9vr/i,/^mars/i,/^avr/i,/^mai/i,/^juin/i,/^juil/i,/^ao\xfbt/i,/^sept/i,/^oct/i,/^nov/i,/^d\xe9c/i];v.defineLocale("fr",{months:"janvier_f\xe9vrier_mars_avril_mai_juin_juillet_ao\xfbt_septembre_octobre_novembre_d\xe9cembre".split("_"),monthsShort:"janv._f\xe9vr._mars_avr._mai_juin_juil._ao\xfbt_sept._oct._nov._d\xe9c.".split("_"),monthsRegex:u,monthsShortRegex:u,monthsStrictRegex:/^(janvier|f\xe9vrier|mars|avril|mai|juin|juillet|ao\xfbt|septembre|octobre|novembre|d\xe9cembre)/i,monthsShortStrictRegex:/(janv\.?|f\xe9vr\.?|mars|avr\.?|mai|juin|juil\.?|ao\xfbt|sept\.?|oct\.?|nov\.?|d\xe9c\.?)/i,monthsParse:p,longMonthsParse:p,shortMonthsParse:p,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd\u2019hui \xe0] LT",nextDay:"[Demain \xe0] LT",nextWeek:"dddd [\xe0] LT",lastDay:"[Hier \xe0] LT",lastWeek:"dddd [dernier \xe0] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",w:"une semaine",ww:"%d semaines",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|)/,ordinal:function(y,b){switch(b){case"D":return y+(1===y?"er":"");default:case"M":case"Q":case"DDD":case"d":return y+(1===y?"er":"e");case"w":case"W":return y+(1===y?"re":"e")}},week:{dow:1,doy:4}})}(w(5439))},4940:function(se,q,w){!function(v){"use strict";var m="jan._feb._mrt._apr._mai_jun._jul._aug._sep._okt._nov._des.".split("_"),d="jan_feb_mrt_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_");v.defineLocale("fy",{months:"jannewaris_febrewaris_maart_april_maaie_juny_july_augustus_septimber_oktober_novimber_desimber".split("_"),monthsShort:function(p,g){return p?/-MMM-/.test(g)?d[p.month()]:m[p.month()]:m},monthsParseExact:!0,weekdays:"snein_moandei_tiisdei_woansdei_tongersdei_freed_sneon".split("_"),weekdaysShort:"si._mo._ti._wo._to._fr._so.".split("_"),weekdaysMin:"Si_Mo_Ti_Wo_To_Fr_So".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[hjoed om] LT",nextDay:"[moarn om] LT",nextWeek:"dddd [om] LT",lastDay:"[juster om] LT",lastWeek:"[\xf4fr\xfbne] dddd [om] LT",sameElse:"L"},relativeTime:{future:"oer %s",past:"%s lyn",s:"in pear sekonden",ss:"%d sekonden",m:"ien min\xfat",mm:"%d minuten",h:"ien oere",hh:"%d oeren",d:"ien dei",dd:"%d dagen",M:"ien moanne",MM:"%d moannen",y:"ien jier",yy:"%d jierren"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(p){return p+(1===p||8===p||p>=20?"ste":"de")},week:{dow:1,doy:4}})}(w(5439))},1402:function(se,q,w){!function(v){"use strict";v.defineLocale("ga",{months:["Ean\xe1ir","Feabhra","M\xe1rta","Aibre\xe1n","Bealtaine","Meitheamh","I\xfail","L\xfanasa","Me\xe1n F\xf3mhair","Deireadh F\xf3mhair","Samhain","Nollaig"],monthsShort:["Ean","Feabh","M\xe1rt","Aib","Beal","Meith","I\xfail","L\xfan","M.F.","D.F.","Samh","Noll"],monthsParseExact:!0,weekdays:["D\xe9 Domhnaigh","D\xe9 Luain","D\xe9 M\xe1irt","D\xe9 C\xe9adaoin","D\xe9ardaoin","D\xe9 hAoine","D\xe9 Sathairn"],weekdaysShort:["Domh","Luan","M\xe1irt","C\xe9ad","D\xe9ar","Aoine","Sath"],weekdaysMin:["Do","Lu","M\xe1","C\xe9","D\xe9","A","Sa"],longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Inniu ag] LT",nextDay:"[Am\xe1rach ag] LT",nextWeek:"dddd [ag] LT",lastDay:"[Inn\xe9 ag] LT",lastWeek:"dddd [seo caite] [ag] LT",sameElse:"L"},relativeTime:{future:"i %s",past:"%s \xf3 shin",s:"c\xfapla soicind",ss:"%d soicind",m:"n\xf3im\xe9ad",mm:"%d n\xf3im\xe9ad",h:"uair an chloig",hh:"%d uair an chloig",d:"l\xe1",dd:"%d l\xe1",M:"m\xed",MM:"%d m\xedonna",y:"bliain",yy:"%d bliain"},dayOfMonthOrdinalParse:/\d{1,2}(d|na|mh)/,ordinal:function(b){return b+(1===b?"d":b%10==2?"na":"mh")},week:{dow:1,doy:4}})}(w(5439))},6924:function(se,q,w){!function(v){"use strict";v.defineLocale("gd",{months:["Am Faoilleach","An Gearran","Am M\xe0rt","An Giblean","An C\xe8itean","An t-\xd2gmhios","An t-Iuchar","An L\xf9nastal","An t-Sultain","An D\xe0mhair","An t-Samhain","An D\xf9bhlachd"],monthsShort:["Faoi","Gear","M\xe0rt","Gibl","C\xe8it","\xd2gmh","Iuch","L\xf9n","Sult","D\xe0mh","Samh","D\xf9bh"],monthsParseExact:!0,weekdays:["Did\xf2mhnaich","Diluain","Dim\xe0irt","Diciadain","Diardaoin","Dihaoine","Disathairne"],weekdaysShort:["Did","Dil","Dim","Dic","Dia","Dih","Dis"],weekdaysMin:["D\xf2","Lu","M\xe0","Ci","Ar","Ha","Sa"],longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[An-diugh aig] LT",nextDay:"[A-m\xe0ireach aig] LT",nextWeek:"dddd [aig] LT",lastDay:"[An-d\xe8 aig] LT",lastWeek:"dddd [seo chaidh] [aig] LT",sameElse:"L"},relativeTime:{future:"ann an %s",past:"bho chionn %s",s:"beagan diogan",ss:"%d diogan",m:"mionaid",mm:"%d mionaidean",h:"uair",hh:"%d uairean",d:"latha",dd:"%d latha",M:"m\xecos",MM:"%d m\xecosan",y:"bliadhna",yy:"%d bliadhna"},dayOfMonthOrdinalParse:/\d{1,2}(d|na|mh)/,ordinal:function(b){return b+(1===b?"d":b%10==2?"na":"mh")},week:{dow:1,doy:4}})}(w(5439))},6398:function(se,q,w){!function(v){"use strict";v.defineLocale("gl",{months:"xaneiro_febreiro_marzo_abril_maio_xu\xf1o_xullo_agosto_setembro_outubro_novembro_decembro".split("_"),monthsShort:"xan._feb._mar._abr._mai._xu\xf1._xul._ago._set._out._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"domingo_luns_martes_m\xe9rcores_xoves_venres_s\xe1bado".split("_"),weekdaysShort:"dom._lun._mar._m\xe9r._xov._ven._s\xe1b.".split("_"),weekdaysMin:"do_lu_ma_m\xe9_xo_ve_s\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoxe "+(1!==this.hours()?"\xe1s":"\xe1")+"] LT"},nextDay:function(){return"[ma\xf1\xe1 "+(1!==this.hours()?"\xe1s":"\xe1")+"] LT"},nextWeek:function(){return"dddd ["+(1!==this.hours()?"\xe1s":"a")+"] LT"},lastDay:function(){return"[onte "+(1!==this.hours()?"\xe1":"a")+"] LT"},lastWeek:function(){return"[o] dddd [pasado "+(1!==this.hours()?"\xe1s":"a")+"] LT"},sameElse:"L"},relativeTime:{future:function(d){return 0===d.indexOf("un")?"n"+d:"en "+d},past:"hai %s",s:"uns segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"unha hora",hh:"%d horas",d:"un d\xeda",dd:"%d d\xedas",M:"un mes",MM:"%d meses",y:"un ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(w(5439))},2457:function(se,q,w){!function(v){"use strict";function m(u,p,g,y){var b={s:["\u0925\u094b\u0921\u092f\u093e \u0938\u0945\u0915\u0902\u0921\u093e\u0902\u0928\u0940","\u0925\u094b\u0921\u0947 \u0938\u0945\u0915\u0902\u0921"],ss:[u+" \u0938\u0945\u0915\u0902\u0921\u093e\u0902\u0928\u0940",u+" \u0938\u0945\u0915\u0902\u0921"],m:["\u090f\u0915\u093e \u092e\u093f\u0923\u091f\u093e\u0928","\u090f\u0915 \u092e\u093f\u0928\u0942\u091f"],mm:[u+" \u092e\u093f\u0923\u091f\u093e\u0902\u0928\u0940",u+" \u092e\u093f\u0923\u091f\u093e\u0902"],h:["\u090f\u0915\u093e \u0935\u0930\u093e\u0928","\u090f\u0915 \u0935\u0930"],hh:[u+" \u0935\u0930\u093e\u0902\u0928\u0940",u+" \u0935\u0930\u093e\u0902"],d:["\u090f\u0915\u093e \u0926\u093f\u0938\u093e\u0928","\u090f\u0915 \u0926\u0940\u0938"],dd:[u+" \u0926\u093f\u0938\u093e\u0902\u0928\u0940",u+" \u0926\u0940\u0938"],M:["\u090f\u0915\u093e \u092e\u094d\u0939\u092f\u0928\u094d\u092f\u093e\u0928","\u090f\u0915 \u092e\u094d\u0939\u092f\u0928\u094b"],MM:[u+" \u092e\u094d\u0939\u092f\u0928\u094d\u092f\u093e\u0928\u0940",u+" \u092e\u094d\u0939\u092f\u0928\u0947"],y:["\u090f\u0915\u093e \u0935\u0930\u094d\u0938\u093e\u0928","\u090f\u0915 \u0935\u0930\u094d\u0938"],yy:[u+" \u0935\u0930\u094d\u0938\u093e\u0902\u0928\u0940",u+" \u0935\u0930\u094d\u0938\u093e\u0902"]};return y?b[g][0]:b[g][1]}v.defineLocale("gom-deva",{months:{standalone:"\u091c\u093e\u0928\u0947\u0935\u093e\u0930\u0940_\u092b\u0947\u092c\u094d\u0930\u0941\u0935\u093e\u0930\u0940_\u092e\u093e\u0930\u094d\u091a_\u090f\u092a\u094d\u0930\u0940\u0932_\u092e\u0947_\u091c\u0942\u0928_\u091c\u0941\u0932\u092f_\u0911\u0917\u0938\u094d\u091f_\u0938\u092a\u094d\u091f\u0947\u0902\u092c\u0930_\u0911\u0915\u094d\u091f\u094b\u092c\u0930_\u0928\u094b\u0935\u094d\u0939\u0947\u0902\u092c\u0930_\u0921\u093f\u0938\u0947\u0902\u092c\u0930".split("_"),format:"\u091c\u093e\u0928\u0947\u0935\u093e\u0930\u0940\u091a\u094d\u092f\u093e_\u092b\u0947\u092c\u094d\u0930\u0941\u0935\u093e\u0930\u0940\u091a\u094d\u092f\u093e_\u092e\u093e\u0930\u094d\u091a\u093e\u091a\u094d\u092f\u093e_\u090f\u092a\u094d\u0930\u0940\u0932\u093e\u091a\u094d\u092f\u093e_\u092e\u0947\u092f\u093e\u091a\u094d\u092f\u093e_\u091c\u0942\u0928\u093e\u091a\u094d\u092f\u093e_\u091c\u0941\u0932\u092f\u093e\u091a\u094d\u092f\u093e_\u0911\u0917\u0938\u094d\u091f\u093e\u091a\u094d\u092f\u093e_\u0938\u092a\u094d\u091f\u0947\u0902\u092c\u0930\u093e\u091a\u094d\u092f\u093e_\u0911\u0915\u094d\u091f\u094b\u092c\u0930\u093e\u091a\u094d\u092f\u093e_\u0928\u094b\u0935\u094d\u0939\u0947\u0902\u092c\u0930\u093e\u091a\u094d\u092f\u093e_\u0921\u093f\u0938\u0947\u0902\u092c\u0930\u093e\u091a\u094d\u092f\u093e".split("_"),isFormat:/MMMM(\s)+D[oD]?/},monthsShort:"\u091c\u093e\u0928\u0947._\u092b\u0947\u092c\u094d\u0930\u0941._\u092e\u093e\u0930\u094d\u091a_\u090f\u092a\u094d\u0930\u0940._\u092e\u0947_\u091c\u0942\u0928_\u091c\u0941\u0932._\u0911\u0917._\u0938\u092a\u094d\u091f\u0947\u0902._\u0911\u0915\u094d\u091f\u094b._\u0928\u094b\u0935\u094d\u0939\u0947\u0902._\u0921\u093f\u0938\u0947\u0902.".split("_"),monthsParseExact:!0,weekdays:"\u0906\u092f\u0924\u093e\u0930_\u0938\u094b\u092e\u093e\u0930_\u092e\u0902\u0917\u0933\u093e\u0930_\u092c\u0941\u0927\u0935\u093e\u0930_\u092c\u093f\u0930\u0947\u0938\u094d\u0924\u093e\u0930_\u0938\u0941\u0915\u094d\u0930\u093e\u0930_\u0936\u0947\u0928\u0935\u093e\u0930".split("_"),weekdaysShort:"\u0906\u092f\u0924._\u0938\u094b\u092e._\u092e\u0902\u0917\u0933._\u092c\u0941\u0927._\u092c\u094d\u0930\u0947\u0938\u094d\u0924._\u0938\u0941\u0915\u094d\u0930._\u0936\u0947\u0928.".split("_"),weekdaysMin:"\u0906_\u0938\u094b_\u092e\u0902_\u092c\u0941_\u092c\u094d\u0930\u0947_\u0938\u0941_\u0936\u0947".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"A h:mm [\u0935\u093e\u091c\u0924\u093e\u0902]",LTS:"A h:mm:ss [\u0935\u093e\u091c\u0924\u093e\u0902]",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY A h:mm [\u0935\u093e\u091c\u0924\u093e\u0902]",LLLL:"dddd, MMMM Do, YYYY, A h:mm [\u0935\u093e\u091c\u0924\u093e\u0902]",llll:"ddd, D MMM YYYY, A h:mm [\u0935\u093e\u091c\u0924\u093e\u0902]"},calendar:{sameDay:"[\u0906\u092f\u091c] LT",nextDay:"[\u092b\u093e\u0932\u094d\u092f\u093e\u0902] LT",nextWeek:"[\u092b\u0941\u0921\u0932\u094b] dddd[,] LT",lastDay:"[\u0915\u093e\u0932] LT",lastWeek:"[\u092b\u093e\u091f\u0932\u094b] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%s",past:"%s \u0906\u0926\u0940\u0902",s:m,ss:m,m,mm:m,h:m,hh:m,d:m,dd:m,M:m,MM:m,y:m,yy:m},dayOfMonthOrdinalParse:/\d{1,2}(\u0935\u0947\u0930)/,ordinal:function(u,p){return"D"===p?u+"\u0935\u0947\u0930":u},week:{dow:0,doy:3},meridiemParse:/\u0930\u093e\u0924\u0940|\u0938\u0915\u093e\u0933\u0940\u0902|\u0926\u0928\u092a\u093e\u0930\u093e\u0902|\u0938\u093e\u0902\u091c\u0947/,meridiemHour:function(u,p){return 12===u&&(u=0),"\u0930\u093e\u0924\u0940"===p?u<4?u:u+12:"\u0938\u0915\u093e\u0933\u0940\u0902"===p?u:"\u0926\u0928\u092a\u093e\u0930\u093e\u0902"===p?u>12?u:u+12:"\u0938\u093e\u0902\u091c\u0947"===p?u+12:void 0},meridiem:function(u,p,g){return u<4?"\u0930\u093e\u0924\u0940":u<12?"\u0938\u0915\u093e\u0933\u0940\u0902":u<16?"\u0926\u0928\u092a\u093e\u0930\u093e\u0902":u<20?"\u0938\u093e\u0902\u091c\u0947":"\u0930\u093e\u0924\u0940"}})}(w(5439))},2545:function(se,q,w){!function(v){"use strict";function m(u,p,g,y){var b={s:["thoddea sekondamni","thodde sekond"],ss:[u+" sekondamni",u+" sekond"],m:["eka mintan","ek minut"],mm:[u+" mintamni",u+" mintam"],h:["eka voran","ek vor"],hh:[u+" voramni",u+" voram"],d:["eka disan","ek dis"],dd:[u+" disamni",u+" dis"],M:["eka mhoinean","ek mhoino"],MM:[u+" mhoineamni",u+" mhoine"],y:["eka vorsan","ek voros"],yy:[u+" vorsamni",u+" vorsam"]};return y?b[g][0]:b[g][1]}v.defineLocale("gom-latn",{months:{standalone:"Janer_Febrer_Mars_Abril_Mai_Jun_Julai_Agost_Setembr_Otubr_Novembr_Dezembr".split("_"),format:"Janerachea_Febrerachea_Marsachea_Abrilachea_Maiachea_Junachea_Julaiachea_Agostachea_Setembrachea_Otubrachea_Novembrachea_Dezembrachea".split("_"),isFormat:/MMMM(\s)+D[oD]?/},monthsShort:"Jan._Feb._Mars_Abr._Mai_Jun_Jul._Ago._Set._Otu._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Aitar_Somar_Mongllar_Budhvar_Birestar_Sukrar_Son'var".split("_"),weekdaysShort:"Ait._Som._Mon._Bud._Bre._Suk._Son.".split("_"),weekdaysMin:"Ai_Sm_Mo_Bu_Br_Su_Sn".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"A h:mm [vazta]",LTS:"A h:mm:ss [vazta]",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY A h:mm [vazta]",LLLL:"dddd, MMMM Do, YYYY, A h:mm [vazta]",llll:"ddd, D MMM YYYY, A h:mm [vazta]"},calendar:{sameDay:"[Aiz] LT",nextDay:"[Faleam] LT",nextWeek:"[Fuddlo] dddd[,] LT",lastDay:"[Kal] LT",lastWeek:"[Fattlo] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%s",past:"%s adim",s:m,ss:m,m,mm:m,h:m,hh:m,d:m,dd:m,M:m,MM:m,y:m,yy:m},dayOfMonthOrdinalParse:/\d{1,2}(er)/,ordinal:function(u,p){return"D"===p?u+"er":u},week:{dow:0,doy:3},meridiemParse:/rati|sokallim|donparam|sanje/,meridiemHour:function(u,p){return 12===u&&(u=0),"rati"===p?u<4?u:u+12:"sokallim"===p?u:"donparam"===p?u>12?u:u+12:"sanje"===p?u+12:void 0},meridiem:function(u,p,g){return u<4?"rati":u<12?"sokallim":u<16?"donparam":u<20?"sanje":"rati"}})}(w(5439))},2641:function(se,q,w){!function(v){"use strict";var m={1:"\u0ae7",2:"\u0ae8",3:"\u0ae9",4:"\u0aea",5:"\u0aeb",6:"\u0aec",7:"\u0aed",8:"\u0aee",9:"\u0aef",0:"\u0ae6"},d={"\u0ae7":"1","\u0ae8":"2","\u0ae9":"3","\u0aea":"4","\u0aeb":"5","\u0aec":"6","\u0aed":"7","\u0aee":"8","\u0aef":"9","\u0ae6":"0"};v.defineLocale("gu",{months:"\u0a9c\u0abe\u0aa8\u0acd\u0aaf\u0ac1\u0a86\u0ab0\u0ac0_\u0aab\u0ac7\u0aac\u0acd\u0ab0\u0ac1\u0a86\u0ab0\u0ac0_\u0aae\u0abe\u0ab0\u0acd\u0a9a_\u0a8f\u0aaa\u0acd\u0ab0\u0abf\u0ab2_\u0aae\u0ac7_\u0a9c\u0ac2\u0aa8_\u0a9c\u0ac1\u0ab2\u0abe\u0a88_\u0a91\u0a97\u0ab8\u0acd\u0a9f_\u0ab8\u0aaa\u0acd\u0a9f\u0ac7\u0aae\u0acd\u0aac\u0ab0_\u0a91\u0a95\u0acd\u0a9f\u0acd\u0aac\u0ab0_\u0aa8\u0ab5\u0ac7\u0aae\u0acd\u0aac\u0ab0_\u0aa1\u0abf\u0ab8\u0ac7\u0aae\u0acd\u0aac\u0ab0".split("_"),monthsShort:"\u0a9c\u0abe\u0aa8\u0acd\u0aaf\u0ac1._\u0aab\u0ac7\u0aac\u0acd\u0ab0\u0ac1._\u0aae\u0abe\u0ab0\u0acd\u0a9a_\u0a8f\u0aaa\u0acd\u0ab0\u0abf._\u0aae\u0ac7_\u0a9c\u0ac2\u0aa8_\u0a9c\u0ac1\u0ab2\u0abe._\u0a91\u0a97._\u0ab8\u0aaa\u0acd\u0a9f\u0ac7._\u0a91\u0a95\u0acd\u0a9f\u0acd._\u0aa8\u0ab5\u0ac7._\u0aa1\u0abf\u0ab8\u0ac7.".split("_"),monthsParseExact:!0,weekdays:"\u0ab0\u0ab5\u0abf\u0ab5\u0abe\u0ab0_\u0ab8\u0acb\u0aae\u0ab5\u0abe\u0ab0_\u0aae\u0a82\u0a97\u0ab3\u0ab5\u0abe\u0ab0_\u0aac\u0ac1\u0aa7\u0acd\u0ab5\u0abe\u0ab0_\u0a97\u0ac1\u0ab0\u0ac1\u0ab5\u0abe\u0ab0_\u0ab6\u0ac1\u0a95\u0acd\u0ab0\u0ab5\u0abe\u0ab0_\u0ab6\u0aa8\u0abf\u0ab5\u0abe\u0ab0".split("_"),weekdaysShort:"\u0ab0\u0ab5\u0abf_\u0ab8\u0acb\u0aae_\u0aae\u0a82\u0a97\u0ab3_\u0aac\u0ac1\u0aa7\u0acd_\u0a97\u0ac1\u0ab0\u0ac1_\u0ab6\u0ac1\u0a95\u0acd\u0ab0_\u0ab6\u0aa8\u0abf".split("_"),weekdaysMin:"\u0ab0_\u0ab8\u0acb_\u0aae\u0a82_\u0aac\u0ac1_\u0a97\u0ac1_\u0ab6\u0ac1_\u0ab6".split("_"),longDateFormat:{LT:"A h:mm \u0ab5\u0abe\u0a97\u0acd\u0aaf\u0ac7",LTS:"A h:mm:ss \u0ab5\u0abe\u0a97\u0acd\u0aaf\u0ac7",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u0ab5\u0abe\u0a97\u0acd\u0aaf\u0ac7",LLLL:"dddd, D MMMM YYYY, A h:mm \u0ab5\u0abe\u0a97\u0acd\u0aaf\u0ac7"},calendar:{sameDay:"[\u0a86\u0a9c] LT",nextDay:"[\u0a95\u0abe\u0ab2\u0ac7] LT",nextWeek:"dddd, LT",lastDay:"[\u0a97\u0a87\u0a95\u0abe\u0ab2\u0ac7] LT",lastWeek:"[\u0aaa\u0abe\u0a9b\u0ab2\u0abe] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0aae\u0abe",past:"%s \u0aaa\u0ab9\u0ac7\u0ab2\u0abe",s:"\u0a85\u0aae\u0ac1\u0a95 \u0aaa\u0ab3\u0acb",ss:"%d \u0ab8\u0ac7\u0a95\u0a82\u0aa1",m:"\u0a8f\u0a95 \u0aae\u0abf\u0aa8\u0abf\u0a9f",mm:"%d \u0aae\u0abf\u0aa8\u0abf\u0a9f",h:"\u0a8f\u0a95 \u0a95\u0ab2\u0abe\u0a95",hh:"%d \u0a95\u0ab2\u0abe\u0a95",d:"\u0a8f\u0a95 \u0aa6\u0abf\u0ab5\u0ab8",dd:"%d \u0aa6\u0abf\u0ab5\u0ab8",M:"\u0a8f\u0a95 \u0aae\u0ab9\u0abf\u0aa8\u0acb",MM:"%d \u0aae\u0ab9\u0abf\u0aa8\u0acb",y:"\u0a8f\u0a95 \u0ab5\u0ab0\u0acd\u0ab7",yy:"%d \u0ab5\u0ab0\u0acd\u0ab7"},preparse:function(p){return p.replace(/[\u0ae7\u0ae8\u0ae9\u0aea\u0aeb\u0aec\u0aed\u0aee\u0aef\u0ae6]/g,function(g){return d[g]})},postformat:function(p){return p.replace(/\d/g,function(g){return m[g]})},meridiemParse:/\u0ab0\u0abe\u0aa4|\u0aac\u0aaa\u0acb\u0ab0|\u0ab8\u0ab5\u0abe\u0ab0|\u0ab8\u0abe\u0a82\u0a9c/,meridiemHour:function(p,g){return 12===p&&(p=0),"\u0ab0\u0abe\u0aa4"===g?p<4?p:p+12:"\u0ab8\u0ab5\u0abe\u0ab0"===g?p:"\u0aac\u0aaa\u0acb\u0ab0"===g?p>=10?p:p+12:"\u0ab8\u0abe\u0a82\u0a9c"===g?p+12:void 0},meridiem:function(p,g,y){return p<4?"\u0ab0\u0abe\u0aa4":p<10?"\u0ab8\u0ab5\u0abe\u0ab0":p<17?"\u0aac\u0aaa\u0acb\u0ab0":p<20?"\u0ab8\u0abe\u0a82\u0a9c":"\u0ab0\u0abe\u0aa4"},week:{dow:0,doy:6}})}(w(5439))},7536:function(se,q,w){!function(v){"use strict";v.defineLocale("he",{months:"\u05d9\u05e0\u05d5\u05d0\u05e8_\u05e4\u05d1\u05e8\u05d5\u05d0\u05e8_\u05de\u05e8\u05e5_\u05d0\u05e4\u05e8\u05d9\u05dc_\u05de\u05d0\u05d9_\u05d9\u05d5\u05e0\u05d9_\u05d9\u05d5\u05dc\u05d9_\u05d0\u05d5\u05d2\u05d5\u05e1\u05d8_\u05e1\u05e4\u05d8\u05de\u05d1\u05e8_\u05d0\u05d5\u05e7\u05d8\u05d5\u05d1\u05e8_\u05e0\u05d5\u05d1\u05de\u05d1\u05e8_\u05d3\u05e6\u05de\u05d1\u05e8".split("_"),monthsShort:"\u05d9\u05e0\u05d5\u05f3_\u05e4\u05d1\u05e8\u05f3_\u05de\u05e8\u05e5_\u05d0\u05e4\u05e8\u05f3_\u05de\u05d0\u05d9_\u05d9\u05d5\u05e0\u05d9_\u05d9\u05d5\u05dc\u05d9_\u05d0\u05d5\u05d2\u05f3_\u05e1\u05e4\u05d8\u05f3_\u05d0\u05d5\u05e7\u05f3_\u05e0\u05d5\u05d1\u05f3_\u05d3\u05e6\u05de\u05f3".split("_"),weekdays:"\u05e8\u05d0\u05e9\u05d5\u05df_\u05e9\u05e0\u05d9_\u05e9\u05dc\u05d9\u05e9\u05d9_\u05e8\u05d1\u05d9\u05e2\u05d9_\u05d7\u05de\u05d9\u05e9\u05d9_\u05e9\u05d9\u05e9\u05d9_\u05e9\u05d1\u05ea".split("_"),weekdaysShort:"\u05d0\u05f3_\u05d1\u05f3_\u05d2\u05f3_\u05d3\u05f3_\u05d4\u05f3_\u05d5\u05f3_\u05e9\u05f3".split("_"),weekdaysMin:"\u05d0_\u05d1_\u05d2_\u05d3_\u05d4_\u05d5_\u05e9".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [\u05d1]MMMM YYYY",LLL:"D [\u05d1]MMMM YYYY HH:mm",LLLL:"dddd, D [\u05d1]MMMM YYYY HH:mm",l:"D/M/YYYY",ll:"D MMM YYYY",lll:"D MMM YYYY HH:mm",llll:"ddd, D MMM YYYY HH:mm"},calendar:{sameDay:"[\u05d4\u05d9\u05d5\u05dd \u05d1\u05be]LT",nextDay:"[\u05de\u05d7\u05e8 \u05d1\u05be]LT",nextWeek:"dddd [\u05d1\u05e9\u05e2\u05d4] LT",lastDay:"[\u05d0\u05ea\u05de\u05d5\u05dc \u05d1\u05be]LT",lastWeek:"[\u05d1\u05d9\u05d5\u05dd] dddd [\u05d4\u05d0\u05d7\u05e8\u05d5\u05df \u05d1\u05e9\u05e2\u05d4] LT",sameElse:"L"},relativeTime:{future:"\u05d1\u05e2\u05d5\u05d3 %s",past:"\u05dc\u05e4\u05e0\u05d9 %s",s:"\u05de\u05e1\u05e4\u05e8 \u05e9\u05e0\u05d9\u05d5\u05ea",ss:"%d \u05e9\u05e0\u05d9\u05d5\u05ea",m:"\u05d3\u05e7\u05d4",mm:"%d \u05d3\u05e7\u05d5\u05ea",h:"\u05e9\u05e2\u05d4",hh:function(d){return 2===d?"\u05e9\u05e2\u05ea\u05d9\u05d9\u05dd":d+" \u05e9\u05e2\u05d5\u05ea"},d:"\u05d9\u05d5\u05dd",dd:function(d){return 2===d?"\u05d9\u05d5\u05de\u05d9\u05d9\u05dd":d+" \u05d9\u05de\u05d9\u05dd"},M:"\u05d7\u05d5\u05d3\u05e9",MM:function(d){return 2===d?"\u05d7\u05d5\u05d3\u05e9\u05d9\u05d9\u05dd":d+" \u05d7\u05d5\u05d3\u05e9\u05d9\u05dd"},y:"\u05e9\u05e0\u05d4",yy:function(d){return 2===d?"\u05e9\u05e0\u05ea\u05d9\u05d9\u05dd":d%10==0&&10!==d?d+" \u05e9\u05e0\u05d4":d+" \u05e9\u05e0\u05d9\u05dd"}},meridiemParse:/\u05d0\u05d7\u05d4"\u05e6|\u05dc\u05e4\u05e0\u05d4"\u05e6|\u05d0\u05d7\u05e8\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd|\u05dc\u05e4\u05e0\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd|\u05dc\u05e4\u05e0\u05d5\u05ea \u05d1\u05d5\u05e7\u05e8|\u05d1\u05d1\u05d5\u05e7\u05e8|\u05d1\u05e2\u05e8\u05d1/i,isPM:function(d){return/^(\u05d0\u05d7\u05d4"\u05e6|\u05d0\u05d7\u05e8\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd|\u05d1\u05e2\u05e8\u05d1)$/.test(d)},meridiem:function(d,u,p){return d<5?"\u05dc\u05e4\u05e0\u05d5\u05ea \u05d1\u05d5\u05e7\u05e8":d<10?"\u05d1\u05d1\u05d5\u05e7\u05e8":d<12?p?'\u05dc\u05e4\u05e0\u05d4"\u05e6':"\u05dc\u05e4\u05e0\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd":d<18?p?'\u05d0\u05d7\u05d4"\u05e6':"\u05d0\u05d7\u05e8\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd":"\u05d1\u05e2\u05e8\u05d1"}})}(w(5439))},6335:function(se,q,w){!function(v){"use strict";var m={1:"\u0967",2:"\u0968",3:"\u0969",4:"\u096a",5:"\u096b",6:"\u096c",7:"\u096d",8:"\u096e",9:"\u096f",0:"\u0966"},d={"\u0967":"1","\u0968":"2","\u0969":"3","\u096a":"4","\u096b":"5","\u096c":"6","\u096d":"7","\u096e":"8","\u096f":"9","\u0966":"0"},u=[/^\u091c\u0928/i,/^\u092b\u093c\u0930|\u092b\u0930/i,/^\u092e\u093e\u0930\u094d\u091a/i,/^\u0905\u092a\u094d\u0930\u0948/i,/^\u092e\u0908/i,/^\u091c\u0942\u0928/i,/^\u091c\u0941\u0932/i,/^\u0905\u0917/i,/^\u0938\u093f\u0924\u0902|\u0938\u093f\u0924/i,/^\u0905\u0915\u094d\u091f\u0942/i,/^\u0928\u0935|\u0928\u0935\u0902/i,/^\u0926\u093f\u0938\u0902|\u0926\u093f\u0938/i];v.defineLocale("hi",{months:{format:"\u091c\u0928\u0935\u0930\u0940_\u092b\u093c\u0930\u0935\u0930\u0940_\u092e\u093e\u0930\u094d\u091a_\u0905\u092a\u094d\u0930\u0948\u0932_\u092e\u0908_\u091c\u0942\u0928_\u091c\u0941\u0932\u093e\u0908_\u0905\u0917\u0938\u094d\u0924_\u0938\u093f\u0924\u092e\u094d\u092c\u0930_\u0905\u0915\u094d\u091f\u0942\u092c\u0930_\u0928\u0935\u092e\u094d\u092c\u0930_\u0926\u093f\u0938\u092e\u094d\u092c\u0930".split("_"),standalone:"\u091c\u0928\u0935\u0930\u0940_\u092b\u0930\u0935\u0930\u0940_\u092e\u093e\u0930\u094d\u091a_\u0905\u092a\u094d\u0930\u0948\u0932_\u092e\u0908_\u091c\u0942\u0928_\u091c\u0941\u0932\u093e\u0908_\u0905\u0917\u0938\u094d\u0924_\u0938\u093f\u0924\u0902\u092c\u0930_\u0905\u0915\u094d\u091f\u0942\u092c\u0930_\u0928\u0935\u0902\u092c\u0930_\u0926\u093f\u0938\u0902\u092c\u0930".split("_")},monthsShort:"\u091c\u0928._\u092b\u093c\u0930._\u092e\u093e\u0930\u094d\u091a_\u0905\u092a\u094d\u0930\u0948._\u092e\u0908_\u091c\u0942\u0928_\u091c\u0941\u0932._\u0905\u0917._\u0938\u093f\u0924._\u0905\u0915\u094d\u091f\u0942._\u0928\u0935._\u0926\u093f\u0938.".split("_"),weekdays:"\u0930\u0935\u093f\u0935\u093e\u0930_\u0938\u094b\u092e\u0935\u093e\u0930_\u092e\u0902\u0917\u0932\u0935\u093e\u0930_\u092c\u0941\u0927\u0935\u093e\u0930_\u0917\u0941\u0930\u0942\u0935\u093e\u0930_\u0936\u0941\u0915\u094d\u0930\u0935\u093e\u0930_\u0936\u0928\u093f\u0935\u093e\u0930".split("_"),weekdaysShort:"\u0930\u0935\u093f_\u0938\u094b\u092e_\u092e\u0902\u0917\u0932_\u092c\u0941\u0927_\u0917\u0941\u0930\u0942_\u0936\u0941\u0915\u094d\u0930_\u0936\u0928\u093f".split("_"),weekdaysMin:"\u0930_\u0938\u094b_\u092e\u0902_\u092c\u0941_\u0917\u0941_\u0936\u0941_\u0936".split("_"),longDateFormat:{LT:"A h:mm \u092c\u091c\u0947",LTS:"A h:mm:ss \u092c\u091c\u0947",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u092c\u091c\u0947",LLLL:"dddd, D MMMM YYYY, A h:mm \u092c\u091c\u0947"},monthsParse:u,longMonthsParse:u,shortMonthsParse:[/^\u091c\u0928/i,/^\u092b\u093c\u0930/i,/^\u092e\u093e\u0930\u094d\u091a/i,/^\u0905\u092a\u094d\u0930\u0948/i,/^\u092e\u0908/i,/^\u091c\u0942\u0928/i,/^\u091c\u0941\u0932/i,/^\u0905\u0917/i,/^\u0938\u093f\u0924/i,/^\u0905\u0915\u094d\u091f\u0942/i,/^\u0928\u0935/i,/^\u0926\u093f\u0938/i],monthsRegex:/^(\u091c\u0928\u0935\u0930\u0940|\u091c\u0928\.?|\u092b\u093c\u0930\u0935\u0930\u0940|\u092b\u0930\u0935\u0930\u0940|\u092b\u093c\u0930\.?|\u092e\u093e\u0930\u094d\u091a?|\u0905\u092a\u094d\u0930\u0948\u0932|\u0905\u092a\u094d\u0930\u0948\.?|\u092e\u0908?|\u091c\u0942\u0928?|\u091c\u0941\u0932\u093e\u0908|\u091c\u0941\u0932\.?|\u0905\u0917\u0938\u094d\u0924|\u0905\u0917\.?|\u0938\u093f\u0924\u092e\u094d\u092c\u0930|\u0938\u093f\u0924\u0902\u092c\u0930|\u0938\u093f\u0924\.?|\u0905\u0915\u094d\u091f\u0942\u092c\u0930|\u0905\u0915\u094d\u091f\u0942\.?|\u0928\u0935\u092e\u094d\u092c\u0930|\u0928\u0935\u0902\u092c\u0930|\u0928\u0935\.?|\u0926\u093f\u0938\u092e\u094d\u092c\u0930|\u0926\u093f\u0938\u0902\u092c\u0930|\u0926\u093f\u0938\.?)/i,monthsShortRegex:/^(\u091c\u0928\u0935\u0930\u0940|\u091c\u0928\.?|\u092b\u093c\u0930\u0935\u0930\u0940|\u092b\u0930\u0935\u0930\u0940|\u092b\u093c\u0930\.?|\u092e\u093e\u0930\u094d\u091a?|\u0905\u092a\u094d\u0930\u0948\u0932|\u0905\u092a\u094d\u0930\u0948\.?|\u092e\u0908?|\u091c\u0942\u0928?|\u091c\u0941\u0932\u093e\u0908|\u091c\u0941\u0932\.?|\u0905\u0917\u0938\u094d\u0924|\u0905\u0917\.?|\u0938\u093f\u0924\u092e\u094d\u092c\u0930|\u0938\u093f\u0924\u0902\u092c\u0930|\u0938\u093f\u0924\.?|\u0905\u0915\u094d\u091f\u0942\u092c\u0930|\u0905\u0915\u094d\u091f\u0942\.?|\u0928\u0935\u092e\u094d\u092c\u0930|\u0928\u0935\u0902\u092c\u0930|\u0928\u0935\.?|\u0926\u093f\u0938\u092e\u094d\u092c\u0930|\u0926\u093f\u0938\u0902\u092c\u0930|\u0926\u093f\u0938\.?)/i,monthsStrictRegex:/^(\u091c\u0928\u0935\u0930\u0940?|\u092b\u093c\u0930\u0935\u0930\u0940|\u092b\u0930\u0935\u0930\u0940?|\u092e\u093e\u0930\u094d\u091a?|\u0905\u092a\u094d\u0930\u0948\u0932?|\u092e\u0908?|\u091c\u0942\u0928?|\u091c\u0941\u0932\u093e\u0908?|\u0905\u0917\u0938\u094d\u0924?|\u0938\u093f\u0924\u092e\u094d\u092c\u0930|\u0938\u093f\u0924\u0902\u092c\u0930|\u0938\u093f\u0924?\.?|\u0905\u0915\u094d\u091f\u0942\u092c\u0930|\u0905\u0915\u094d\u091f\u0942\.?|\u0928\u0935\u092e\u094d\u092c\u0930|\u0928\u0935\u0902\u092c\u0930?|\u0926\u093f\u0938\u092e\u094d\u092c\u0930|\u0926\u093f\u0938\u0902\u092c\u0930?)/i,monthsShortStrictRegex:/^(\u091c\u0928\.?|\u092b\u093c\u0930\.?|\u092e\u093e\u0930\u094d\u091a?|\u0905\u092a\u094d\u0930\u0948\.?|\u092e\u0908?|\u091c\u0942\u0928?|\u091c\u0941\u0932\.?|\u0905\u0917\.?|\u0938\u093f\u0924\.?|\u0905\u0915\u094d\u091f\u0942\.?|\u0928\u0935\.?|\u0926\u093f\u0938\.?)/i,calendar:{sameDay:"[\u0906\u091c] LT",nextDay:"[\u0915\u0932] LT",nextWeek:"dddd, LT",lastDay:"[\u0915\u0932] LT",lastWeek:"[\u092a\u093f\u091b\u0932\u0947] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u092e\u0947\u0902",past:"%s \u092a\u0939\u0932\u0947",s:"\u0915\u0941\u091b \u0939\u0940 \u0915\u094d\u0937\u0923",ss:"%d \u0938\u0947\u0915\u0902\u0921",m:"\u090f\u0915 \u092e\u093f\u0928\u091f",mm:"%d \u092e\u093f\u0928\u091f",h:"\u090f\u0915 \u0918\u0902\u091f\u093e",hh:"%d \u0918\u0902\u091f\u0947",d:"\u090f\u0915 \u0926\u093f\u0928",dd:"%d \u0926\u093f\u0928",M:"\u090f\u0915 \u092e\u0939\u0940\u0928\u0947",MM:"%d \u092e\u0939\u0940\u0928\u0947",y:"\u090f\u0915 \u0935\u0930\u094d\u0937",yy:"%d \u0935\u0930\u094d\u0937"},preparse:function(y){return y.replace(/[\u0967\u0968\u0969\u096a\u096b\u096c\u096d\u096e\u096f\u0966]/g,function(b){return d[b]})},postformat:function(y){return y.replace(/\d/g,function(b){return m[b]})},meridiemParse:/\u0930\u093e\u0924|\u0938\u0941\u092c\u0939|\u0926\u094b\u092a\u0939\u0930|\u0936\u093e\u092e/,meridiemHour:function(y,b){return 12===y&&(y=0),"\u0930\u093e\u0924"===b?y<4?y:y+12:"\u0938\u0941\u092c\u0939"===b?y:"\u0926\u094b\u092a\u0939\u0930"===b?y>=10?y:y+12:"\u0936\u093e\u092e"===b?y+12:void 0},meridiem:function(y,b,C){return y<4?"\u0930\u093e\u0924":y<10?"\u0938\u0941\u092c\u0939":y<17?"\u0926\u094b\u092a\u0939\u0930":y<20?"\u0936\u093e\u092e":"\u0930\u093e\u0924"},week:{dow:0,doy:6}})}(w(5439))},7458:function(se,q,w){!function(v){"use strict";function m(u,p,g){var y=u+" ";switch(g){case"ss":return y+(1===u?"sekunda":2===u||3===u||4===u?"sekunde":"sekundi");case"m":return p?"jedna minuta":"jedne minute";case"mm":return y+(1===u?"minuta":2===u||3===u||4===u?"minute":"minuta");case"h":return p?"jedan sat":"jednog sata";case"hh":return y+(1===u?"sat":2===u||3===u||4===u?"sata":"sati");case"dd":return y+(1===u?"dan":"dana");case"MM":return y+(1===u?"mjesec":2===u||3===u||4===u?"mjeseca":"mjeseci");case"yy":return y+(1===u?"godina":2===u||3===u||4===u?"godine":"godina")}}v.defineLocale("hr",{months:{format:"sije\u010dnja_velja\u010de_o\u017eujka_travnja_svibnja_lipnja_srpnja_kolovoza_rujna_listopada_studenoga_prosinca".split("_"),standalone:"sije\u010danj_velja\u010da_o\u017eujak_travanj_svibanj_lipanj_srpanj_kolovoz_rujan_listopad_studeni_prosinac".split("_")},monthsShort:"sij._velj._o\u017eu._tra._svi._lip._srp._kol._ruj._lis._stu._pro.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_\u010detvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._\u010det._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_\u010de_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"Do MMMM YYYY",LLL:"Do MMMM YYYY H:mm",LLLL:"dddd, Do MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[ju\u010der u] LT",lastWeek:function(){switch(this.day()){case 0:return"[pro\u0161lu] [nedjelju] [u] LT";case 3:return"[pro\u0161lu] [srijedu] [u] LT";case 6:return"[pro\u0161le] [subote] [u] LT";case 1:case 2:case 4:case 5:return"[pro\u0161li] dddd [u] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"par sekundi",ss:m,m,mm:m,h:m,hh:m,d:"dan",dd:m,M:"mjesec",MM:m,y:"godinu",yy:m},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(w(5439))},6540:function(se,q,w){!function(v){"use strict";var m="vas\xe1rnap h\xe9tf\u0151n kedden szerd\xe1n cs\xfct\xf6rt\xf6k\xf6n p\xe9nteken szombaton".split(" ");function d(g,y,b,C){var P=g;switch(b){case"s":return C||y?"n\xe9h\xe1ny m\xe1sodperc":"n\xe9h\xe1ny m\xe1sodperce";case"ss":return P+(C||y)?" m\xe1sodperc":" m\xe1sodperce";case"m":return"egy"+(C||y?" perc":" perce");case"mm":return P+(C||y?" perc":" perce");case"h":return"egy"+(C||y?" \xf3ra":" \xf3r\xe1ja");case"hh":return P+(C||y?" \xf3ra":" \xf3r\xe1ja");case"d":return"egy"+(C||y?" nap":" napja");case"dd":return P+(C||y?" nap":" napja");case"M":return"egy"+(C||y?" h\xf3nap":" h\xf3napja");case"MM":return P+(C||y?" h\xf3nap":" h\xf3napja");case"y":return"egy"+(C||y?" \xe9v":" \xe9ve");case"yy":return P+(C||y?" \xe9v":" \xe9ve")}return""}function u(g){return(g?"":"[m\xfalt] ")+"["+m[this.day()]+"] LT[-kor]"}v.defineLocale("hu",{months:"janu\xe1r_febru\xe1r_m\xe1rcius_\xe1prilis_m\xe1jus_j\xfanius_j\xfalius_augusztus_szeptember_okt\xf3ber_november_december".split("_"),monthsShort:"jan._feb._m\xe1rc._\xe1pr._m\xe1j._j\xfan._j\xfal._aug._szept._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"vas\xe1rnap_h\xe9tf\u0151_kedd_szerda_cs\xfct\xf6rt\xf6k_p\xe9ntek_szombat".split("_"),weekdaysShort:"vas_h\xe9t_kedd_sze_cs\xfct_p\xe9n_szo".split("_"),weekdaysMin:"v_h_k_sze_cs_p_szo".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"YYYY.MM.DD.",LL:"YYYY. MMMM D.",LLL:"YYYY. MMMM D. H:mm",LLLL:"YYYY. MMMM D., dddd H:mm"},meridiemParse:/de|du/i,isPM:function(g){return"u"===g.charAt(1).toLowerCase()},meridiem:function(g,y,b){return g<12?!0===b?"de":"DE":!0===b?"du":"DU"},calendar:{sameDay:"[ma] LT[-kor]",nextDay:"[holnap] LT[-kor]",nextWeek:function(){return u.call(this,!0)},lastDay:"[tegnap] LT[-kor]",lastWeek:function(){return u.call(this,!1)},sameElse:"L"},relativeTime:{future:"%s m\xfalva",past:"%s",s:d,ss:d,m:d,mm:d,h:d,hh:d,d,dd:d,M:d,MM:d,y:d,yy:d},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(w(5439))},5283:function(se,q,w){!function(v){"use strict";v.defineLocale("hy-am",{months:{format:"\u0570\u0578\u0582\u0576\u057e\u0561\u0580\u056b_\u0583\u0565\u057f\u0580\u057e\u0561\u0580\u056b_\u0574\u0561\u0580\u057f\u056b_\u0561\u057a\u0580\u056b\u056c\u056b_\u0574\u0561\u0575\u056b\u057d\u056b_\u0570\u0578\u0582\u0576\u056b\u057d\u056b_\u0570\u0578\u0582\u056c\u056b\u057d\u056b_\u0585\u0563\u0578\u057d\u057f\u0578\u057d\u056b_\u057d\u0565\u057a\u057f\u0565\u0574\u0562\u0565\u0580\u056b_\u0570\u0578\u056f\u057f\u0565\u0574\u0562\u0565\u0580\u056b_\u0576\u0578\u0575\u0565\u0574\u0562\u0565\u0580\u056b_\u0564\u0565\u056f\u057f\u0565\u0574\u0562\u0565\u0580\u056b".split("_"),standalone:"\u0570\u0578\u0582\u0576\u057e\u0561\u0580_\u0583\u0565\u057f\u0580\u057e\u0561\u0580_\u0574\u0561\u0580\u057f_\u0561\u057a\u0580\u056b\u056c_\u0574\u0561\u0575\u056b\u057d_\u0570\u0578\u0582\u0576\u056b\u057d_\u0570\u0578\u0582\u056c\u056b\u057d_\u0585\u0563\u0578\u057d\u057f\u0578\u057d_\u057d\u0565\u057a\u057f\u0565\u0574\u0562\u0565\u0580_\u0570\u0578\u056f\u057f\u0565\u0574\u0562\u0565\u0580_\u0576\u0578\u0575\u0565\u0574\u0562\u0565\u0580_\u0564\u0565\u056f\u057f\u0565\u0574\u0562\u0565\u0580".split("_")},monthsShort:"\u0570\u0576\u057e_\u0583\u057f\u0580_\u0574\u0580\u057f_\u0561\u057a\u0580_\u0574\u0575\u057d_\u0570\u0576\u057d_\u0570\u056c\u057d_\u0585\u0563\u057d_\u057d\u057a\u057f_\u0570\u056f\u057f_\u0576\u0574\u0562_\u0564\u056f\u057f".split("_"),weekdays:"\u056f\u056b\u0580\u0561\u056f\u056b_\u0565\u0580\u056f\u0578\u0582\u0577\u0561\u0562\u0569\u056b_\u0565\u0580\u0565\u0584\u0577\u0561\u0562\u0569\u056b_\u0579\u0578\u0580\u0565\u0584\u0577\u0561\u0562\u0569\u056b_\u0570\u056b\u0576\u0563\u0577\u0561\u0562\u0569\u056b_\u0578\u0582\u0580\u0562\u0561\u0569_\u0577\u0561\u0562\u0561\u0569".split("_"),weekdaysShort:"\u056f\u0580\u056f_\u0565\u0580\u056f_\u0565\u0580\u0584_\u0579\u0580\u0584_\u0570\u0576\u0563_\u0578\u0582\u0580\u0562_\u0577\u0562\u0569".split("_"),weekdaysMin:"\u056f\u0580\u056f_\u0565\u0580\u056f_\u0565\u0580\u0584_\u0579\u0580\u0584_\u0570\u0576\u0563_\u0578\u0582\u0580\u0562_\u0577\u0562\u0569".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY \u0569.",LLL:"D MMMM YYYY \u0569., HH:mm",LLLL:"dddd, D MMMM YYYY \u0569., HH:mm"},calendar:{sameDay:"[\u0561\u0575\u057d\u0585\u0580] LT",nextDay:"[\u057e\u0561\u0572\u0568] LT",lastDay:"[\u0565\u0580\u0565\u056f] LT",nextWeek:function(){return"dddd [\u0585\u0580\u0568 \u056a\u0561\u0574\u0568] LT"},lastWeek:function(){return"[\u0561\u0576\u0581\u0561\u056e] dddd [\u0585\u0580\u0568 \u056a\u0561\u0574\u0568] LT"},sameElse:"L"},relativeTime:{future:"%s \u0570\u0565\u057f\u0578",past:"%s \u0561\u057c\u0561\u057b",s:"\u0574\u056b \u0584\u0561\u0576\u056b \u057e\u0561\u0575\u0580\u056f\u0575\u0561\u0576",ss:"%d \u057e\u0561\u0575\u0580\u056f\u0575\u0561\u0576",m:"\u0580\u0578\u057a\u0565",mm:"%d \u0580\u0578\u057a\u0565",h:"\u056a\u0561\u0574",hh:"%d \u056a\u0561\u0574",d:"\u0585\u0580",dd:"%d \u0585\u0580",M:"\u0561\u0574\u056b\u057d",MM:"%d \u0561\u0574\u056b\u057d",y:"\u057f\u0561\u0580\u056b",yy:"%d \u057f\u0561\u0580\u056b"},meridiemParse:/\u0563\u056b\u0577\u0565\u0580\u057e\u0561|\u0561\u057c\u0561\u057e\u0578\u057f\u057e\u0561|\u0581\u0565\u0580\u0565\u056f\u057e\u0561|\u0565\u0580\u0565\u056f\u0578\u0575\u0561\u0576/,isPM:function(d){return/^(\u0581\u0565\u0580\u0565\u056f\u057e\u0561|\u0565\u0580\u0565\u056f\u0578\u0575\u0561\u0576)$/.test(d)},meridiem:function(d){return d<4?"\u0563\u056b\u0577\u0565\u0580\u057e\u0561":d<12?"\u0561\u057c\u0561\u057e\u0578\u057f\u057e\u0561":d<17?"\u0581\u0565\u0580\u0565\u056f\u057e\u0561":"\u0565\u0580\u0565\u056f\u0578\u0575\u0561\u0576"},dayOfMonthOrdinalParse:/\d{1,2}|\d{1,2}-(\u056b\u0576|\u0580\u0564)/,ordinal:function(d,u){switch(u){case"DDD":case"w":case"W":case"DDDo":return 1===d?d+"-\u056b\u0576":d+"-\u0580\u0564";default:return d}},week:{dow:1,doy:7}})}(w(5439))},8780:function(se,q,w){!function(v){"use strict";v.defineLocale("id",{months:"Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_November_Desember".split("_"),monthsShort:"Jan_Feb_Mar_Apr_Mei_Jun_Jul_Agt_Sep_Okt_Nov_Des".split("_"),weekdays:"Minggu_Senin_Selasa_Rabu_Kamis_Jumat_Sabtu".split("_"),weekdaysShort:"Min_Sen_Sel_Rab_Kam_Jum_Sab".split("_"),weekdaysMin:"Mg_Sn_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|siang|sore|malam/,meridiemHour:function(d,u){return 12===d&&(d=0),"pagi"===u?d:"siang"===u?d>=11?d:d+12:"sore"===u||"malam"===u?d+12:void 0},meridiem:function(d,u,p){return d<11?"pagi":d<15?"siang":d<19?"sore":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Besok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kemarin pukul] LT",lastWeek:"dddd [lalu pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lalu",s:"beberapa detik",ss:"%d detik",m:"semenit",mm:"%d menit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:0,doy:6}})}(w(5439))},4205:function(se,q,w){!function(v){"use strict";function m(p){return p%100==11||p%10!=1}function d(p,g,y,b){var C=p+" ";switch(y){case"s":return g||b?"nokkrar sek\xfandur":"nokkrum sek\xfandum";case"ss":return m(p)?C+(g||b?"sek\xfandur":"sek\xfandum"):C+"sek\xfanda";case"m":return g?"m\xedn\xfata":"m\xedn\xfatu";case"mm":return m(p)?C+(g||b?"m\xedn\xfatur":"m\xedn\xfatum"):g?C+"m\xedn\xfata":C+"m\xedn\xfatu";case"hh":return m(p)?C+(g||b?"klukkustundir":"klukkustundum"):C+"klukkustund";case"d":return g?"dagur":b?"dag":"degi";case"dd":return m(p)?g?C+"dagar":C+(b?"daga":"d\xf6gum"):g?C+"dagur":C+(b?"dag":"degi");case"M":return g?"m\xe1nu\xf0ur":b?"m\xe1nu\xf0":"m\xe1nu\xf0i";case"MM":return m(p)?g?C+"m\xe1nu\xf0ir":C+(b?"m\xe1nu\xf0i":"m\xe1nu\xf0um"):g?C+"m\xe1nu\xf0ur":C+(b?"m\xe1nu\xf0":"m\xe1nu\xf0i");case"y":return g||b?"\xe1r":"\xe1ri";case"yy":return m(p)?C+(g||b?"\xe1r":"\xe1rum"):C+(g||b?"\xe1r":"\xe1ri")}}v.defineLocale("is",{months:"jan\xfaar_febr\xfaar_mars_apr\xedl_ma\xed_j\xfan\xed_j\xfal\xed_\xe1g\xfast_september_okt\xf3ber_n\xf3vember_desember".split("_"),monthsShort:"jan_feb_mar_apr_ma\xed_j\xfan_j\xfal_\xe1g\xfa_sep_okt_n\xf3v_des".split("_"),weekdays:"sunnudagur_m\xe1nudagur_\xferi\xf0judagur_mi\xf0vikudagur_fimmtudagur_f\xf6studagur_laugardagur".split("_"),weekdaysShort:"sun_m\xe1n_\xferi_mi\xf0_fim_f\xf6s_lau".split("_"),weekdaysMin:"Su_M\xe1_\xder_Mi_Fi_F\xf6_La".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] H:mm",LLLL:"dddd, D. MMMM YYYY [kl.] H:mm"},calendar:{sameDay:"[\xed dag kl.] LT",nextDay:"[\xe1 morgun kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[\xed g\xe6r kl.] LT",lastWeek:"[s\xed\xf0asta] dddd [kl.] LT",sameElse:"L"},relativeTime:{future:"eftir %s",past:"fyrir %s s\xed\xf0an",s:d,ss:d,m:d,mm:d,h:"klukkustund",hh:d,d,dd:d,M:d,MM:d,y:d,yy:d},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(w(5439))},9985:function(se,q,w){!function(v){"use strict";v.defineLocale("it-ch",{months:"gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"),monthsShort:"gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"),weekdays:"domenica_luned\xec_marted\xec_mercoled\xec_gioved\xec_venerd\xec_sabato".split("_"),weekdaysShort:"dom_lun_mar_mer_gio_ven_sab".split("_"),weekdaysMin:"do_lu_ma_me_gi_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Oggi alle] LT",nextDay:"[Domani alle] LT",nextWeek:"dddd [alle] LT",lastDay:"[Ieri alle] LT",lastWeek:function(){return 0===this.day()?"[la scorsa] dddd [alle] LT":"[lo scorso] dddd [alle] LT"},sameElse:"L"},relativeTime:{future:function(d){return(/^[0-9].+$/.test(d)?"tra":"in")+" "+d},past:"%s fa",s:"alcuni secondi",ss:"%d secondi",m:"un minuto",mm:"%d minuti",h:"un'ora",hh:"%d ore",d:"un giorno",dd:"%d giorni",M:"un mese",MM:"%d mesi",y:"un anno",yy:"%d anni"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(w(5439))},4211:function(se,q,w){!function(v){"use strict";v.defineLocale("it",{months:"gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"),monthsShort:"gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"),weekdays:"domenica_luned\xec_marted\xec_mercoled\xec_gioved\xec_venerd\xec_sabato".split("_"),weekdaysShort:"dom_lun_mar_mer_gio_ven_sab".split("_"),weekdaysMin:"do_lu_ma_me_gi_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:function(){return"[Oggi a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},nextDay:function(){return"[Domani a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},nextWeek:function(){return"dddd [a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},lastDay:function(){return"[Ieri a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},lastWeek:function(){return 0===this.day()?"[La scorsa] dddd [a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT":"[Lo scorso] dddd [a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},sameElse:"L"},relativeTime:{future:"tra %s",past:"%s fa",s:"alcuni secondi",ss:"%d secondi",m:"un minuto",mm:"%d minuti",h:"un'ora",hh:"%d ore",d:"un giorno",dd:"%d giorni",w:"una settimana",ww:"%d settimane",M:"un mese",MM:"%d mesi",y:"un anno",yy:"%d anni"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(w(5439))},1003:function(se,q,w){!function(v){"use strict";v.defineLocale("ja",{eras:[{since:"2019-05-01",offset:1,name:"\u4ee4\u548c",narrow:"\u32ff",abbr:"R"},{since:"1989-01-08",until:"2019-04-30",offset:1,name:"\u5e73\u6210",narrow:"\u337b",abbr:"H"},{since:"1926-12-25",until:"1989-01-07",offset:1,name:"\u662d\u548c",narrow:"\u337c",abbr:"S"},{since:"1912-07-30",until:"1926-12-24",offset:1,name:"\u5927\u6b63",narrow:"\u337d",abbr:"T"},{since:"1873-01-01",until:"1912-07-29",offset:6,name:"\u660e\u6cbb",narrow:"\u337e",abbr:"M"},{since:"0001-01-01",until:"1873-12-31",offset:1,name:"\u897f\u66a6",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"\u7d00\u5143\u524d",narrow:"BC",abbr:"BC"}],eraYearOrdinalRegex:/(\u5143|\d+)\u5e74/,eraYearOrdinalParse:function(d,u){return"\u5143"===u[1]?1:parseInt(u[1]||d,10)},months:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),weekdays:"\u65e5\u66dc\u65e5_\u6708\u66dc\u65e5_\u706b\u66dc\u65e5_\u6c34\u66dc\u65e5_\u6728\u66dc\u65e5_\u91d1\u66dc\u65e5_\u571f\u66dc\u65e5".split("_"),weekdaysShort:"\u65e5_\u6708_\u706b_\u6c34_\u6728_\u91d1_\u571f".split("_"),weekdaysMin:"\u65e5_\u6708_\u706b_\u6c34_\u6728_\u91d1_\u571f".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY\u5e74M\u6708D\u65e5",LLL:"YYYY\u5e74M\u6708D\u65e5 HH:mm",LLLL:"YYYY\u5e74M\u6708D\u65e5 dddd HH:mm",l:"YYYY/MM/DD",ll:"YYYY\u5e74M\u6708D\u65e5",lll:"YYYY\u5e74M\u6708D\u65e5 HH:mm",llll:"YYYY\u5e74M\u6708D\u65e5(ddd) HH:mm"},meridiemParse:/\u5348\u524d|\u5348\u5f8c/i,isPM:function(d){return"\u5348\u5f8c"===d},meridiem:function(d,u,p){return d<12?"\u5348\u524d":"\u5348\u5f8c"},calendar:{sameDay:"[\u4eca\u65e5] LT",nextDay:"[\u660e\u65e5] LT",nextWeek:function(d){return d.week()!==this.week()?"[\u6765\u9031]dddd LT":"dddd LT"},lastDay:"[\u6628\u65e5] LT",lastWeek:function(d){return this.week()!==d.week()?"[\u5148\u9031]dddd LT":"dddd LT"},sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}\u65e5/,ordinal:function(d,u){switch(u){case"y":return 1===d?"\u5143\u5e74":d+"\u5e74";case"d":case"D":case"DDD":return d+"\u65e5";default:return d}},relativeTime:{future:"%s\u5f8c",past:"%s\u524d",s:"\u6570\u79d2",ss:"%d\u79d2",m:"1\u5206",mm:"%d\u5206",h:"1\u6642\u9593",hh:"%d\u6642\u9593",d:"1\u65e5",dd:"%d\u65e5",M:"1\u30f6\u6708",MM:"%d\u30f6\u6708",y:"1\u5e74",yy:"%d\u5e74"}})}(w(5439))},420:function(se,q,w){!function(v){"use strict";v.defineLocale("jv",{months:"Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_Nopember_Desember".split("_"),monthsShort:"Jan_Feb_Mar_Apr_Mei_Jun_Jul_Ags_Sep_Okt_Nop_Des".split("_"),weekdays:"Minggu_Senen_Seloso_Rebu_Kemis_Jemuwah_Septu".split("_"),weekdaysShort:"Min_Sen_Sel_Reb_Kem_Jem_Sep".split("_"),weekdaysMin:"Mg_Sn_Sl_Rb_Km_Jm_Sp".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/enjing|siyang|sonten|ndalu/,meridiemHour:function(d,u){return 12===d&&(d=0),"enjing"===u?d:"siyang"===u?d>=11?d:d+12:"sonten"===u||"ndalu"===u?d+12:void 0},meridiem:function(d,u,p){return d<11?"enjing":d<15?"siyang":d<19?"sonten":"ndalu"},calendar:{sameDay:"[Dinten puniko pukul] LT",nextDay:"[Mbenjang pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kala wingi pukul] LT",lastWeek:"dddd [kepengker pukul] LT",sameElse:"L"},relativeTime:{future:"wonten ing %s",past:"%s ingkang kepengker",s:"sawetawis detik",ss:"%d detik",m:"setunggal menit",mm:"%d menit",h:"setunggal jam",hh:"%d jam",d:"sedinten",dd:"%d dinten",M:"sewulan",MM:"%d wulan",y:"setaun",yy:"%d taun"},week:{dow:1,doy:7}})}(w(5439))},851:function(se,q,w){!function(v){"use strict";v.defineLocale("ka",{months:"\u10d8\u10d0\u10dc\u10d5\u10d0\u10e0\u10d8_\u10d7\u10d4\u10d1\u10d4\u10e0\u10d5\u10d0\u10da\u10d8_\u10db\u10d0\u10e0\u10e2\u10d8_\u10d0\u10de\u10e0\u10d8\u10da\u10d8_\u10db\u10d0\u10d8\u10e1\u10d8_\u10d8\u10d5\u10dc\u10d8\u10e1\u10d8_\u10d8\u10d5\u10da\u10d8\u10e1\u10d8_\u10d0\u10d2\u10d5\u10d8\u10e1\u10e2\u10dd_\u10e1\u10d4\u10e5\u10e2\u10d4\u10db\u10d1\u10d4\u10e0\u10d8_\u10dd\u10e5\u10e2\u10dd\u10db\u10d1\u10d4\u10e0\u10d8_\u10dc\u10dd\u10d4\u10db\u10d1\u10d4\u10e0\u10d8_\u10d3\u10d4\u10d9\u10d4\u10db\u10d1\u10d4\u10e0\u10d8".split("_"),monthsShort:"\u10d8\u10d0\u10dc_\u10d7\u10d4\u10d1_\u10db\u10d0\u10e0_\u10d0\u10de\u10e0_\u10db\u10d0\u10d8_\u10d8\u10d5\u10dc_\u10d8\u10d5\u10da_\u10d0\u10d2\u10d5_\u10e1\u10d4\u10e5_\u10dd\u10e5\u10e2_\u10dc\u10dd\u10d4_\u10d3\u10d4\u10d9".split("_"),weekdays:{standalone:"\u10d9\u10d5\u10d8\u10e0\u10d0_\u10dd\u10e0\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8_\u10e1\u10d0\u10db\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8_\u10dd\u10d7\u10ee\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8_\u10ee\u10e3\u10d7\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8_\u10de\u10d0\u10e0\u10d0\u10e1\u10d9\u10d4\u10d5\u10d8_\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8".split("_"),format:"\u10d9\u10d5\u10d8\u10e0\u10d0\u10e1_\u10dd\u10e0\u10e8\u10d0\u10d1\u10d0\u10d7\u10e1_\u10e1\u10d0\u10db\u10e8\u10d0\u10d1\u10d0\u10d7\u10e1_\u10dd\u10d7\u10ee\u10e8\u10d0\u10d1\u10d0\u10d7\u10e1_\u10ee\u10e3\u10d7\u10e8\u10d0\u10d1\u10d0\u10d7\u10e1_\u10de\u10d0\u10e0\u10d0\u10e1\u10d9\u10d4\u10d5\u10e1_\u10e8\u10d0\u10d1\u10d0\u10d7\u10e1".split("_"),isFormat:/(\u10ec\u10d8\u10dc\u10d0|\u10e8\u10d4\u10db\u10d3\u10d4\u10d2)/},weekdaysShort:"\u10d9\u10d5\u10d8_\u10dd\u10e0\u10e8_\u10e1\u10d0\u10db_\u10dd\u10d7\u10ee_\u10ee\u10e3\u10d7_\u10de\u10d0\u10e0_\u10e8\u10d0\u10d1".split("_"),weekdaysMin:"\u10d9\u10d5_\u10dd\u10e0_\u10e1\u10d0_\u10dd\u10d7_\u10ee\u10e3_\u10de\u10d0_\u10e8\u10d0".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u10d3\u10e6\u10d4\u10e1] LT[-\u10d6\u10d4]",nextDay:"[\u10ee\u10d5\u10d0\u10da] LT[-\u10d6\u10d4]",lastDay:"[\u10d2\u10e3\u10e8\u10d8\u10dc] LT[-\u10d6\u10d4]",nextWeek:"[\u10e8\u10d4\u10db\u10d3\u10d4\u10d2] dddd LT[-\u10d6\u10d4]",lastWeek:"[\u10ec\u10d8\u10dc\u10d0] dddd LT-\u10d6\u10d4",sameElse:"L"},relativeTime:{future:function(d){return d.replace(/(\u10ec\u10d0\u10db|\u10ec\u10e3\u10d7|\u10e1\u10d0\u10d0\u10d7|\u10ec\u10d4\u10da|\u10d3\u10e6|\u10d7\u10d5)(\u10d8|\u10d4)/,function(u,p,g){return"\u10d8"===g?p+"\u10e8\u10d8":p+g+"\u10e8\u10d8"})},past:function(d){return/(\u10ec\u10d0\u10db\u10d8|\u10ec\u10e3\u10d7\u10d8|\u10e1\u10d0\u10d0\u10d7\u10d8|\u10d3\u10e6\u10d4|\u10d7\u10d5\u10d4)/.test(d)?d.replace(/(\u10d8|\u10d4)$/,"\u10d8\u10e1 \u10ec\u10d8\u10dc"):/\u10ec\u10d4\u10da\u10d8/.test(d)?d.replace(/\u10ec\u10d4\u10da\u10d8$/,"\u10ec\u10da\u10d8\u10e1 \u10ec\u10d8\u10dc"):d},s:"\u10e0\u10d0\u10db\u10d3\u10d4\u10dc\u10d8\u10db\u10d4 \u10ec\u10d0\u10db\u10d8",ss:"%d \u10ec\u10d0\u10db\u10d8",m:"\u10ec\u10e3\u10d7\u10d8",mm:"%d \u10ec\u10e3\u10d7\u10d8",h:"\u10e1\u10d0\u10d0\u10d7\u10d8",hh:"%d \u10e1\u10d0\u10d0\u10d7\u10d8",d:"\u10d3\u10e6\u10d4",dd:"%d \u10d3\u10e6\u10d4",M:"\u10d7\u10d5\u10d4",MM:"%d \u10d7\u10d5\u10d4",y:"\u10ec\u10d4\u10da\u10d8",yy:"%d \u10ec\u10d4\u10da\u10d8"},dayOfMonthOrdinalParse:/0|1-\u10da\u10d8|\u10db\u10d4-\d{1,2}|\d{1,2}-\u10d4/,ordinal:function(d){return 0===d?d:1===d?d+"-\u10da\u10d8":d<20||d<=100&&d%20==0||d%100==0?"\u10db\u10d4-"+d:d+"-\u10d4"},week:{dow:1,doy:7}})}(w(5439))},6074:function(se,q,w){!function(v){"use strict";var m={0:"-\u0448\u0456",1:"-\u0448\u0456",2:"-\u0448\u0456",3:"-\u0448\u0456",4:"-\u0448\u0456",5:"-\u0448\u0456",6:"-\u0448\u044b",7:"-\u0448\u0456",8:"-\u0448\u0456",9:"-\u0448\u044b",10:"-\u0448\u044b",20:"-\u0448\u044b",30:"-\u0448\u044b",40:"-\u0448\u044b",50:"-\u0448\u0456",60:"-\u0448\u044b",70:"-\u0448\u0456",80:"-\u0448\u0456",90:"-\u0448\u044b",100:"-\u0448\u0456"};v.defineLocale("kk",{months:"\u049b\u0430\u04a3\u0442\u0430\u0440_\u0430\u049b\u043f\u0430\u043d_\u043d\u0430\u0443\u0440\u044b\u0437_\u0441\u04d9\u0443\u0456\u0440_\u043c\u0430\u043c\u044b\u0440_\u043c\u0430\u0443\u0441\u044b\u043c_\u0448\u0456\u043b\u0434\u0435_\u0442\u0430\u043c\u044b\u0437_\u049b\u044b\u0440\u043a\u04af\u0439\u0435\u043a_\u049b\u0430\u0437\u0430\u043d_\u049b\u0430\u0440\u0430\u0448\u0430_\u0436\u0435\u043b\u0442\u043e\u049b\u0441\u0430\u043d".split("_"),monthsShort:"\u049b\u0430\u04a3_\u0430\u049b\u043f_\u043d\u0430\u0443_\u0441\u04d9\u0443_\u043c\u0430\u043c_\u043c\u0430\u0443_\u0448\u0456\u043b_\u0442\u0430\u043c_\u049b\u044b\u0440_\u049b\u0430\u0437_\u049b\u0430\u0440_\u0436\u0435\u043b".split("_"),weekdays:"\u0436\u0435\u043a\u0441\u0435\u043d\u0431\u0456_\u0434\u04af\u0439\u0441\u0435\u043d\u0431\u0456_\u0441\u0435\u0439\u0441\u0435\u043d\u0431\u0456_\u0441\u04d9\u0440\u0441\u0435\u043d\u0431\u0456_\u0431\u0435\u0439\u0441\u0435\u043d\u0431\u0456_\u0436\u04b1\u043c\u0430_\u0441\u0435\u043d\u0431\u0456".split("_"),weekdaysShort:"\u0436\u0435\u043a_\u0434\u04af\u0439_\u0441\u0435\u0439_\u0441\u04d9\u0440_\u0431\u0435\u0439_\u0436\u04b1\u043c_\u0441\u0435\u043d".split("_"),weekdaysMin:"\u0436\u043a_\u0434\u0439_\u0441\u0439_\u0441\u0440_\u0431\u0439_\u0436\u043c_\u0441\u043d".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0411\u04af\u0433\u0456\u043d \u0441\u0430\u0493\u0430\u0442] LT",nextDay:"[\u0415\u0440\u0442\u0435\u04a3 \u0441\u0430\u0493\u0430\u0442] LT",nextWeek:"dddd [\u0441\u0430\u0493\u0430\u0442] LT",lastDay:"[\u041a\u0435\u0448\u0435 \u0441\u0430\u0493\u0430\u0442] LT",lastWeek:"[\u04e8\u0442\u043a\u0435\u043d \u0430\u043f\u0442\u0430\u043d\u044b\u04a3] dddd [\u0441\u0430\u0493\u0430\u0442] LT",sameElse:"L"},relativeTime:{future:"%s \u0456\u0448\u0456\u043d\u0434\u0435",past:"%s \u0431\u04b1\u0440\u044b\u043d",s:"\u0431\u0456\u0440\u043d\u0435\u0448\u0435 \u0441\u0435\u043a\u0443\u043d\u0434",ss:"%d \u0441\u0435\u043a\u0443\u043d\u0434",m:"\u0431\u0456\u0440 \u043c\u0438\u043d\u0443\u0442",mm:"%d \u043c\u0438\u043d\u0443\u0442",h:"\u0431\u0456\u0440 \u0441\u0430\u0493\u0430\u0442",hh:"%d \u0441\u0430\u0493\u0430\u0442",d:"\u0431\u0456\u0440 \u043a\u04af\u043d",dd:"%d \u043a\u04af\u043d",M:"\u0431\u0456\u0440 \u0430\u0439",MM:"%d \u0430\u0439",y:"\u0431\u0456\u0440 \u0436\u044b\u043b",yy:"%d \u0436\u044b\u043b"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0448\u0456|\u0448\u044b)/,ordinal:function(u){return u+(m[u]||m[u%10]||m[u>=100?100:null])},week:{dow:1,doy:7}})}(w(5439))},3343:function(se,q,w){!function(v){"use strict";var m={1:"\u17e1",2:"\u17e2",3:"\u17e3",4:"\u17e4",5:"\u17e5",6:"\u17e6",7:"\u17e7",8:"\u17e8",9:"\u17e9",0:"\u17e0"},d={"\u17e1":"1","\u17e2":"2","\u17e3":"3","\u17e4":"4","\u17e5":"5","\u17e6":"6","\u17e7":"7","\u17e8":"8","\u17e9":"9","\u17e0":"0"};v.defineLocale("km",{months:"\u1798\u1780\u179a\u17b6_\u1780\u17bb\u1798\u17d2\u1797\u17c8_\u1798\u17b8\u1793\u17b6_\u1798\u17c1\u179f\u17b6_\u17a7\u179f\u1797\u17b6_\u1798\u17b7\u1790\u17bb\u1793\u17b6_\u1780\u1780\u17d2\u1780\u178a\u17b6_\u179f\u17b8\u17a0\u17b6_\u1780\u1789\u17d2\u1789\u17b6_\u178f\u17bb\u179b\u17b6_\u179c\u17b7\u1785\u17d2\u1786\u17b7\u1780\u17b6_\u1792\u17d2\u1793\u17bc".split("_"),monthsShort:"\u1798\u1780\u179a\u17b6_\u1780\u17bb\u1798\u17d2\u1797\u17c8_\u1798\u17b8\u1793\u17b6_\u1798\u17c1\u179f\u17b6_\u17a7\u179f\u1797\u17b6_\u1798\u17b7\u1790\u17bb\u1793\u17b6_\u1780\u1780\u17d2\u1780\u178a\u17b6_\u179f\u17b8\u17a0\u17b6_\u1780\u1789\u17d2\u1789\u17b6_\u178f\u17bb\u179b\u17b6_\u179c\u17b7\u1785\u17d2\u1786\u17b7\u1780\u17b6_\u1792\u17d2\u1793\u17bc".split("_"),weekdays:"\u17a2\u17b6\u1791\u17b7\u178f\u17d2\u1799_\u1785\u17d0\u1793\u17d2\u1791_\u17a2\u1784\u17d2\u1782\u17b6\u179a_\u1796\u17bb\u1792_\u1796\u17d2\u179a\u17a0\u179f\u17d2\u1794\u178f\u17b7\u17cd_\u179f\u17bb\u1780\u17d2\u179a_\u179f\u17c5\u179a\u17cd".split("_"),weekdaysShort:"\u17a2\u17b6_\u1785_\u17a2_\u1796_\u1796\u17d2\u179a_\u179f\u17bb_\u179f".split("_"),weekdaysMin:"\u17a2\u17b6_\u1785_\u17a2_\u1796_\u1796\u17d2\u179a_\u179f\u17bb_\u179f".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiemParse:/\u1796\u17d2\u179a\u17b9\u1780|\u179b\u17d2\u1784\u17b6\u1785/,isPM:function(p){return"\u179b\u17d2\u1784\u17b6\u1785"===p},meridiem:function(p,g,y){return p<12?"\u1796\u17d2\u179a\u17b9\u1780":"\u179b\u17d2\u1784\u17b6\u1785"},calendar:{sameDay:"[\u1790\u17d2\u1784\u17c3\u1793\u17c1\u17c7 \u1798\u17c9\u17c4\u1784] LT",nextDay:"[\u179f\u17d2\u17a2\u17c2\u1780 \u1798\u17c9\u17c4\u1784] LT",nextWeek:"dddd [\u1798\u17c9\u17c4\u1784] LT",lastDay:"[\u1798\u17d2\u179f\u17b7\u179b\u1798\u17b7\u1789 \u1798\u17c9\u17c4\u1784] LT",lastWeek:"dddd [\u179f\u1794\u17d2\u178f\u17b6\u17a0\u17cd\u1798\u17bb\u1793] [\u1798\u17c9\u17c4\u1784] LT",sameElse:"L"},relativeTime:{future:"%s\u1791\u17c0\u178f",past:"%s\u1798\u17bb\u1793",s:"\u1794\u17c9\u17bb\u1793\u17d2\u1798\u17b6\u1793\u179c\u17b7\u1793\u17b6\u1791\u17b8",ss:"%d \u179c\u17b7\u1793\u17b6\u1791\u17b8",m:"\u1798\u17bd\u1799\u1793\u17b6\u1791\u17b8",mm:"%d \u1793\u17b6\u1791\u17b8",h:"\u1798\u17bd\u1799\u1798\u17c9\u17c4\u1784",hh:"%d \u1798\u17c9\u17c4\u1784",d:"\u1798\u17bd\u1799\u1790\u17d2\u1784\u17c3",dd:"%d \u1790\u17d2\u1784\u17c3",M:"\u1798\u17bd\u1799\u1781\u17c2",MM:"%d \u1781\u17c2",y:"\u1798\u17bd\u1799\u1786\u17d2\u1793\u17b6\u17c6",yy:"%d \u1786\u17d2\u1793\u17b6\u17c6"},dayOfMonthOrdinalParse:/\u1791\u17b8\d{1,2}/,ordinal:"\u1791\u17b8%d",preparse:function(p){return p.replace(/[\u17e1\u17e2\u17e3\u17e4\u17e5\u17e6\u17e7\u17e8\u17e9\u17e0]/g,function(g){return d[g]})},postformat:function(p){return p.replace(/\d/g,function(g){return m[g]})},week:{dow:1,doy:4}})}(w(5439))},4799:function(se,q,w){!function(v){"use strict";var m={1:"\u0ce7",2:"\u0ce8",3:"\u0ce9",4:"\u0cea",5:"\u0ceb",6:"\u0cec",7:"\u0ced",8:"\u0cee",9:"\u0cef",0:"\u0ce6"},d={"\u0ce7":"1","\u0ce8":"2","\u0ce9":"3","\u0cea":"4","\u0ceb":"5","\u0cec":"6","\u0ced":"7","\u0cee":"8","\u0cef":"9","\u0ce6":"0"};v.defineLocale("kn",{months:"\u0c9c\u0ca8\u0cb5\u0cb0\u0cbf_\u0cab\u0cc6\u0cac\u0ccd\u0cb0\u0cb5\u0cb0\u0cbf_\u0cae\u0cbe\u0cb0\u0ccd\u0c9a\u0ccd_\u0c8f\u0caa\u0ccd\u0cb0\u0cbf\u0cb2\u0ccd_\u0cae\u0cc6\u0cd5_\u0c9c\u0cc2\u0ca8\u0ccd_\u0c9c\u0cc1\u0cb2\u0cc6\u0cd6_\u0c86\u0c97\u0cb8\u0ccd\u0c9f\u0ccd_\u0cb8\u0cc6\u0caa\u0ccd\u0c9f\u0cc6\u0c82\u0cac\u0cb0\u0ccd_\u0c85\u0c95\u0ccd\u0c9f\u0cc6\u0cc2\u0cd5\u0cac\u0cb0\u0ccd_\u0ca8\u0cb5\u0cc6\u0c82\u0cac\u0cb0\u0ccd_\u0ca1\u0cbf\u0cb8\u0cc6\u0c82\u0cac\u0cb0\u0ccd".split("_"),monthsShort:"\u0c9c\u0ca8_\u0cab\u0cc6\u0cac\u0ccd\u0cb0_\u0cae\u0cbe\u0cb0\u0ccd\u0c9a\u0ccd_\u0c8f\u0caa\u0ccd\u0cb0\u0cbf\u0cb2\u0ccd_\u0cae\u0cc6\u0cd5_\u0c9c\u0cc2\u0ca8\u0ccd_\u0c9c\u0cc1\u0cb2\u0cc6\u0cd6_\u0c86\u0c97\u0cb8\u0ccd\u0c9f\u0ccd_\u0cb8\u0cc6\u0caa\u0ccd\u0c9f\u0cc6\u0c82_\u0c85\u0c95\u0ccd\u0c9f\u0cc6\u0cc2\u0cd5_\u0ca8\u0cb5\u0cc6\u0c82_\u0ca1\u0cbf\u0cb8\u0cc6\u0c82".split("_"),monthsParseExact:!0,weekdays:"\u0cad\u0cbe\u0ca8\u0cc1\u0cb5\u0cbe\u0cb0_\u0cb8\u0cc6\u0cc2\u0cd5\u0cae\u0cb5\u0cbe\u0cb0_\u0cae\u0c82\u0c97\u0cb3\u0cb5\u0cbe\u0cb0_\u0cac\u0cc1\u0ca7\u0cb5\u0cbe\u0cb0_\u0c97\u0cc1\u0cb0\u0cc1\u0cb5\u0cbe\u0cb0_\u0cb6\u0cc1\u0c95\u0ccd\u0cb0\u0cb5\u0cbe\u0cb0_\u0cb6\u0ca8\u0cbf\u0cb5\u0cbe\u0cb0".split("_"),weekdaysShort:"\u0cad\u0cbe\u0ca8\u0cc1_\u0cb8\u0cc6\u0cc2\u0cd5\u0cae_\u0cae\u0c82\u0c97\u0cb3_\u0cac\u0cc1\u0ca7_\u0c97\u0cc1\u0cb0\u0cc1_\u0cb6\u0cc1\u0c95\u0ccd\u0cb0_\u0cb6\u0ca8\u0cbf".split("_"),weekdaysMin:"\u0cad\u0cbe_\u0cb8\u0cc6\u0cc2\u0cd5_\u0cae\u0c82_\u0cac\u0cc1_\u0c97\u0cc1_\u0cb6\u0cc1_\u0cb6".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[\u0c87\u0c82\u0ca6\u0cc1] LT",nextDay:"[\u0ca8\u0cbe\u0cb3\u0cc6] LT",nextWeek:"dddd, LT",lastDay:"[\u0ca8\u0cbf\u0ca8\u0ccd\u0ca8\u0cc6] LT",lastWeek:"[\u0c95\u0cc6\u0cc2\u0ca8\u0cc6\u0caf] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0ca8\u0c82\u0ca4\u0cb0",past:"%s \u0cb9\u0cbf\u0c82\u0ca6\u0cc6",s:"\u0c95\u0cc6\u0cb2\u0cb5\u0cc1 \u0c95\u0ccd\u0cb7\u0ca3\u0c97\u0cb3\u0cc1",ss:"%d \u0cb8\u0cc6\u0c95\u0cc6\u0c82\u0ca1\u0cc1\u0c97\u0cb3\u0cc1",m:"\u0c92\u0c82\u0ca6\u0cc1 \u0ca8\u0cbf\u0cae\u0cbf\u0cb7",mm:"%d \u0ca8\u0cbf\u0cae\u0cbf\u0cb7",h:"\u0c92\u0c82\u0ca6\u0cc1 \u0c97\u0c82\u0c9f\u0cc6",hh:"%d \u0c97\u0c82\u0c9f\u0cc6",d:"\u0c92\u0c82\u0ca6\u0cc1 \u0ca6\u0cbf\u0ca8",dd:"%d \u0ca6\u0cbf\u0ca8",M:"\u0c92\u0c82\u0ca6\u0cc1 \u0ca4\u0cbf\u0c82\u0c97\u0cb3\u0cc1",MM:"%d \u0ca4\u0cbf\u0c82\u0c97\u0cb3\u0cc1",y:"\u0c92\u0c82\u0ca6\u0cc1 \u0cb5\u0cb0\u0ccd\u0cb7",yy:"%d \u0cb5\u0cb0\u0ccd\u0cb7"},preparse:function(p){return p.replace(/[\u0ce7\u0ce8\u0ce9\u0cea\u0ceb\u0cec\u0ced\u0cee\u0cef\u0ce6]/g,function(g){return d[g]})},postformat:function(p){return p.replace(/\d/g,function(g){return m[g]})},meridiemParse:/\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf|\u0cac\u0cc6\u0cb3\u0cbf\u0c97\u0ccd\u0c97\u0cc6|\u0cae\u0ca7\u0ccd\u0caf\u0cbe\u0cb9\u0ccd\u0ca8|\u0cb8\u0c82\u0c9c\u0cc6/,meridiemHour:function(p,g){return 12===p&&(p=0),"\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf"===g?p<4?p:p+12:"\u0cac\u0cc6\u0cb3\u0cbf\u0c97\u0ccd\u0c97\u0cc6"===g?p:"\u0cae\u0ca7\u0ccd\u0caf\u0cbe\u0cb9\u0ccd\u0ca8"===g?p>=10?p:p+12:"\u0cb8\u0c82\u0c9c\u0cc6"===g?p+12:void 0},meridiem:function(p,g,y){return p<4?"\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf":p<10?"\u0cac\u0cc6\u0cb3\u0cbf\u0c97\u0ccd\u0c97\u0cc6":p<17?"\u0cae\u0ca7\u0ccd\u0caf\u0cbe\u0cb9\u0ccd\u0ca8":p<20?"\u0cb8\u0c82\u0c9c\u0cc6":"\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf"},dayOfMonthOrdinalParse:/\d{1,2}(\u0ca8\u0cc6\u0cd5)/,ordinal:function(p){return p+"\u0ca8\u0cc6\u0cd5"},week:{dow:0,doy:6}})}(w(5439))},3549:function(se,q,w){!function(v){"use strict";v.defineLocale("ko",{months:"1\uc6d4_2\uc6d4_3\uc6d4_4\uc6d4_5\uc6d4_6\uc6d4_7\uc6d4_8\uc6d4_9\uc6d4_10\uc6d4_11\uc6d4_12\uc6d4".split("_"),monthsShort:"1\uc6d4_2\uc6d4_3\uc6d4_4\uc6d4_5\uc6d4_6\uc6d4_7\uc6d4_8\uc6d4_9\uc6d4_10\uc6d4_11\uc6d4_12\uc6d4".split("_"),weekdays:"\uc77c\uc694\uc77c_\uc6d4\uc694\uc77c_\ud654\uc694\uc77c_\uc218\uc694\uc77c_\ubaa9\uc694\uc77c_\uae08\uc694\uc77c_\ud1a0\uc694\uc77c".split("_"),weekdaysShort:"\uc77c_\uc6d4_\ud654_\uc218_\ubaa9_\uae08_\ud1a0".split("_"),weekdaysMin:"\uc77c_\uc6d4_\ud654_\uc218_\ubaa9_\uae08_\ud1a0".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"YYYY.MM.DD.",LL:"YYYY\ub144 MMMM D\uc77c",LLL:"YYYY\ub144 MMMM D\uc77c A h:mm",LLLL:"YYYY\ub144 MMMM D\uc77c dddd A h:mm",l:"YYYY.MM.DD.",ll:"YYYY\ub144 MMMM D\uc77c",lll:"YYYY\ub144 MMMM D\uc77c A h:mm",llll:"YYYY\ub144 MMMM D\uc77c dddd A h:mm"},calendar:{sameDay:"\uc624\ub298 LT",nextDay:"\ub0b4\uc77c LT",nextWeek:"dddd LT",lastDay:"\uc5b4\uc81c LT",lastWeek:"\uc9c0\ub09c\uc8fc dddd LT",sameElse:"L"},relativeTime:{future:"%s \ud6c4",past:"%s \uc804",s:"\uba87 \ucd08",ss:"%d\ucd08",m:"1\ubd84",mm:"%d\ubd84",h:"\ud55c \uc2dc\uac04",hh:"%d\uc2dc\uac04",d:"\ud558\ub8e8",dd:"%d\uc77c",M:"\ud55c \ub2ec",MM:"%d\ub2ec",y:"\uc77c \ub144",yy:"%d\ub144"},dayOfMonthOrdinalParse:/\d{1,2}(\uc77c|\uc6d4|\uc8fc)/,ordinal:function(d,u){switch(u){case"d":case"D":case"DDD":return d+"\uc77c";case"M":return d+"\uc6d4";case"w":case"W":return d+"\uc8fc";default:return d}},meridiemParse:/\uc624\uc804|\uc624\ud6c4/,isPM:function(d){return"\uc624\ud6c4"===d},meridiem:function(d,u,p){return d<12?"\uc624\uc804":"\uc624\ud6c4"}})}(w(5439))},3775:function(se,q,w){!function(v){"use strict";function m(p,g,y,b){var C={s:["\xe7end san\xeeye","\xe7end san\xeeyeyan"],ss:[p+" san\xeeye",p+" san\xeeyeyan"],m:["deq\xeeqeyek","deq\xeeqeyek\xea"],mm:[p+" deq\xeeqe",p+" deq\xeeqeyan"],h:["saetek","saetek\xea"],hh:[p+" saet",p+" saetan"],d:["rojek","rojek\xea"],dd:[p+" roj",p+" rojan"],w:["hefteyek","hefteyek\xea"],ww:[p+" hefte",p+" hefteyan"],M:["mehek","mehek\xea"],MM:[p+" meh",p+" mehan"],y:["salek","salek\xea"],yy:[p+" sal",p+" salan"]};return g?C[y][0]:C[y][1]}v.defineLocale("ku-kmr",{months:"R\xeabendan_Sibat_Adar_N\xeesan_Gulan_Hez\xeeran_T\xeermeh_Tebax_\xcelon_Cotmeh_Mijdar_Berfanbar".split("_"),monthsShort:"R\xeab_Sib_Ada_N\xees_Gul_Hez_T\xeer_Teb_\xcelo_Cot_Mij_Ber".split("_"),monthsParseExact:!0,weekdays:"Yek\u015fem_Du\u015fem_S\xea\u015fem_\xc7ar\u015fem_P\xeanc\u015fem_\xcen_\u015eem\xee".split("_"),weekdaysShort:"Yek_Du_S\xea_\xc7ar_P\xean_\xcen_\u015eem".split("_"),weekdaysMin:"Ye_Du_S\xea_\xc7a_P\xea_\xcen_\u015ee".split("_"),meridiem:function(p,g,y){return p<12?y?"bn":"BN":y?"pn":"PN"},meridiemParse:/bn|BN|pn|PN/,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"Do MMMM[a] YYYY[an]",LLL:"Do MMMM[a] YYYY[an] HH:mm",LLLL:"dddd, Do MMMM[a] YYYY[an] HH:mm",ll:"Do MMM[.] YYYY[an]",lll:"Do MMM[.] YYYY[an] HH:mm",llll:"ddd[.], Do MMM[.] YYYY[an] HH:mm"},calendar:{sameDay:"[\xcero di saet] LT [de]",nextDay:"[Sib\xea di saet] LT [de]",nextWeek:"dddd [di saet] LT [de]",lastDay:"[Duh di saet] LT [de]",lastWeek:"dddd[a bor\xee di saet] LT [de]",sameElse:"L"},relativeTime:{future:"di %s de",past:"ber\xee %s",s:m,ss:m,m,mm:m,h:m,hh:m,d:m,dd:m,w:m,ww:m,M:m,MM:m,y:m,yy:m},dayOfMonthOrdinalParse:/\d{1,2}(?:y\xea|\xea|\.)/,ordinal:function(p,g){var y=g.toLowerCase();return y.includes("w")||y.includes("m")?p+".":p+function d(p){var g=(p=""+p).substring(p.length-1),y=p.length>1?p.substring(p.length-2):"";return 12==y||13==y||"2"!=g&&"3"!=g&&"50"!=y&&"70"!=g&&"80"!=g?"\xea":"y\xea"}(p)},week:{dow:1,doy:4}})}(w(5439))},1037:function(se,q,w){!function(v){"use strict";var m={1:"\u0661",2:"\u0662",3:"\u0663",4:"\u0664",5:"\u0665",6:"\u0666",7:"\u0667",8:"\u0668",9:"\u0669",0:"\u0660"},d={"\u0661":"1","\u0662":"2","\u0663":"3","\u0664":"4","\u0665":"5","\u0666":"6","\u0667":"7","\u0668":"8","\u0669":"9","\u0660":"0"},u=["\u06a9\u0627\u0646\u0648\u0646\u06cc \u062f\u0648\u0648\u06d5\u0645","\u0634\u0648\u0628\u0627\u062a","\u0626\u0627\u0632\u0627\u0631","\u0646\u06cc\u0633\u0627\u0646","\u0626\u0627\u06cc\u0627\u0631","\u062d\u0648\u0632\u06d5\u06cc\u0631\u0627\u0646","\u062a\u06d5\u0645\u0645\u0648\u0632","\u0626\u0627\u0628","\u0626\u06d5\u06cc\u0644\u0648\u0648\u0644","\u062a\u0634\u0631\u06cc\u0646\u06cc \u06cc\u06d5\u0643\u06d5\u0645","\u062a\u0634\u0631\u06cc\u0646\u06cc \u062f\u0648\u0648\u06d5\u0645","\u0643\u0627\u0646\u0648\u0646\u06cc \u06cc\u06d5\u06a9\u06d5\u0645"];v.defineLocale("ku",{months:u,monthsShort:u,weekdays:"\u06cc\u0647\u200c\u0643\u0634\u0647\u200c\u0645\u0645\u0647\u200c_\u062f\u0648\u0648\u0634\u0647\u200c\u0645\u0645\u0647\u200c_\u0633\u06ce\u0634\u0647\u200c\u0645\u0645\u0647\u200c_\u0686\u0648\u0627\u0631\u0634\u0647\u200c\u0645\u0645\u0647\u200c_\u067e\u06ce\u0646\u062c\u0634\u0647\u200c\u0645\u0645\u0647\u200c_\u0647\u0647\u200c\u06cc\u0646\u06cc_\u0634\u0647\u200c\u0645\u0645\u0647\u200c".split("_"),weekdaysShort:"\u06cc\u0647\u200c\u0643\u0634\u0647\u200c\u0645_\u062f\u0648\u0648\u0634\u0647\u200c\u0645_\u0633\u06ce\u0634\u0647\u200c\u0645_\u0686\u0648\u0627\u0631\u0634\u0647\u200c\u0645_\u067e\u06ce\u0646\u062c\u0634\u0647\u200c\u0645_\u0647\u0647\u200c\u06cc\u0646\u06cc_\u0634\u0647\u200c\u0645\u0645\u0647\u200c".split("_"),weekdaysMin:"\u06cc_\u062f_\u0633_\u0686_\u067e_\u0647_\u0634".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiemParse:/\u0626\u06ce\u0648\u0627\u0631\u0647\u200c|\u0628\u0647\u200c\u06cc\u0627\u0646\u06cc/,isPM:function(g){return/\u0626\u06ce\u0648\u0627\u0631\u0647\u200c/.test(g)},meridiem:function(g,y,b){return g<12?"\u0628\u0647\u200c\u06cc\u0627\u0646\u06cc":"\u0626\u06ce\u0648\u0627\u0631\u0647\u200c"},calendar:{sameDay:"[\u0626\u0647\u200c\u0645\u0631\u06c6 \u0643\u0627\u062a\u0698\u0645\u06ce\u0631] LT",nextDay:"[\u0628\u0647\u200c\u06cc\u0627\u0646\u06cc \u0643\u0627\u062a\u0698\u0645\u06ce\u0631] LT",nextWeek:"dddd [\u0643\u0627\u062a\u0698\u0645\u06ce\u0631] LT",lastDay:"[\u062f\u0648\u06ce\u0646\u06ce \u0643\u0627\u062a\u0698\u0645\u06ce\u0631] LT",lastWeek:"dddd [\u0643\u0627\u062a\u0698\u0645\u06ce\u0631] LT",sameElse:"L"},relativeTime:{future:"\u0644\u0647\u200c %s",past:"%s",s:"\u0686\u0647\u200c\u0646\u062f \u0686\u0631\u0643\u0647\u200c\u06cc\u0647\u200c\u0643",ss:"\u0686\u0631\u0643\u0647\u200c %d",m:"\u06cc\u0647\u200c\u0643 \u062e\u0648\u0644\u0647\u200c\u0643",mm:"%d \u062e\u0648\u0644\u0647\u200c\u0643",h:"\u06cc\u0647\u200c\u0643 \u0643\u0627\u062a\u0698\u0645\u06ce\u0631",hh:"%d \u0643\u0627\u062a\u0698\u0645\u06ce\u0631",d:"\u06cc\u0647\u200c\u0643 \u0695\u06c6\u0698",dd:"%d \u0695\u06c6\u0698",M:"\u06cc\u0647\u200c\u0643 \u0645\u0627\u0646\u06af",MM:"%d \u0645\u0627\u0646\u06af",y:"\u06cc\u0647\u200c\u0643 \u0633\u0627\u06b5",yy:"%d \u0633\u0627\u06b5"},preparse:function(g){return g.replace(/[\u0661\u0662\u0663\u0664\u0665\u0666\u0667\u0668\u0669\u0660]/g,function(y){return d[y]}).replace(/\u060c/g,",")},postformat:function(g){return g.replace(/\d/g,function(y){return m[y]}).replace(/,/g,"\u060c")},week:{dow:6,doy:12}})}(w(5439))},3125:function(se,q,w){!function(v){"use strict";var m={0:"-\u0447\u04af",1:"-\u0447\u0438",2:"-\u0447\u0438",3:"-\u0447\u04af",4:"-\u0447\u04af",5:"-\u0447\u0438",6:"-\u0447\u044b",7:"-\u0447\u0438",8:"-\u0447\u0438",9:"-\u0447\u0443",10:"-\u0447\u0443",20:"-\u0447\u044b",30:"-\u0447\u0443",40:"-\u0447\u044b",50:"-\u0447\u04af",60:"-\u0447\u044b",70:"-\u0447\u0438",80:"-\u0447\u0438",90:"-\u0447\u0443",100:"-\u0447\u04af"};v.defineLocale("ky",{months:"\u044f\u043d\u0432\u0430\u0440\u044c_\u0444\u0435\u0432\u0440\u0430\u043b\u044c_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0435\u043b\u044c_\u043c\u0430\u0439_\u0438\u044e\u043d\u044c_\u0438\u044e\u043b\u044c_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043d\u0442\u044f\u0431\u0440\u044c_\u043e\u043a\u0442\u044f\u0431\u0440\u044c_\u043d\u043e\u044f\u0431\u0440\u044c_\u0434\u0435\u043a\u0430\u0431\u0440\u044c".split("_"),monthsShort:"\u044f\u043d\u0432_\u0444\u0435\u0432_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440_\u043c\u0430\u0439_\u0438\u044e\u043d\u044c_\u0438\u044e\u043b\u044c_\u0430\u0432\u0433_\u0441\u0435\u043d_\u043e\u043a\u0442_\u043d\u043e\u044f_\u0434\u0435\u043a".split("_"),weekdays:"\u0416\u0435\u043a\u0448\u0435\u043c\u0431\u0438_\u0414\u04af\u0439\u0448\u04e9\u043c\u0431\u04af_\u0428\u0435\u0439\u0448\u0435\u043c\u0431\u0438_\u0428\u0430\u0440\u0448\u0435\u043c\u0431\u0438_\u0411\u0435\u0439\u0448\u0435\u043c\u0431\u0438_\u0416\u0443\u043c\u0430_\u0418\u0448\u0435\u043c\u0431\u0438".split("_"),weekdaysShort:"\u0416\u0435\u043a_\u0414\u04af\u0439_\u0428\u0435\u0439_\u0428\u0430\u0440_\u0411\u0435\u0439_\u0416\u0443\u043c_\u0418\u0448\u0435".split("_"),weekdaysMin:"\u0416\u043a_\u0414\u0439_\u0428\u0439_\u0428\u0440_\u0411\u0439_\u0416\u043c_\u0418\u0448".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0411\u04af\u0433\u04af\u043d \u0441\u0430\u0430\u0442] LT",nextDay:"[\u042d\u0440\u0442\u0435\u04a3 \u0441\u0430\u0430\u0442] LT",nextWeek:"dddd [\u0441\u0430\u0430\u0442] LT",lastDay:"[\u041a\u0435\u0447\u044d\u044d \u0441\u0430\u0430\u0442] LT",lastWeek:"[\u04e8\u0442\u043a\u04e9\u043d \u0430\u043f\u0442\u0430\u043d\u044b\u043d] dddd [\u043a\u04af\u043d\u04af] [\u0441\u0430\u0430\u0442] LT",sameElse:"L"},relativeTime:{future:"%s \u0438\u0447\u0438\u043d\u0434\u0435",past:"%s \u043c\u0443\u0440\u0443\u043d",s:"\u0431\u0438\u0440\u043d\u0435\u0447\u0435 \u0441\u0435\u043a\u0443\u043d\u0434",ss:"%d \u0441\u0435\u043a\u0443\u043d\u0434",m:"\u0431\u0438\u0440 \u043c\u04af\u043d\u04e9\u0442",mm:"%d \u043c\u04af\u043d\u04e9\u0442",h:"\u0431\u0438\u0440 \u0441\u0430\u0430\u0442",hh:"%d \u0441\u0430\u0430\u0442",d:"\u0431\u0438\u0440 \u043a\u04af\u043d",dd:"%d \u043a\u04af\u043d",M:"\u0431\u0438\u0440 \u0430\u0439",MM:"%d \u0430\u0439",y:"\u0431\u0438\u0440 \u0436\u044b\u043b",yy:"%d \u0436\u044b\u043b"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0447\u0438|\u0447\u044b|\u0447\u04af|\u0447\u0443)/,ordinal:function(u){return u+(m[u]||m[u%10]||m[u>=100?100:null])},week:{dow:1,doy:7}})}(w(5439))},9586:function(se,q,w){!function(v){"use strict";function m(y,b,C,P){var N={m:["eng Minutt","enger Minutt"],h:["eng Stonn","enger Stonn"],d:["een Dag","engem Dag"],M:["ee Mount","engem Mount"],y:["ee Joer","engem Joer"]};return b?N[C][0]:N[C][1]}function p(y){if(y=parseInt(y,10),isNaN(y))return!1;if(y<0)return!0;if(y<10)return 4<=y&&y<=7;if(y<100){var b=y%10;return p(0===b?y/10:b)}if(y<1e4){for(;y>=10;)y/=10;return p(y)}return p(y/=1e3)}v.defineLocale("lb",{months:"Januar_Februar_M\xe4erz_Abr\xebll_Mee_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Febr._Mrz._Abr._Mee_Jun._Jul._Aug._Sept._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonndeg_M\xe9indeg_D\xebnschdeg_M\xebttwoch_Donneschdeg_Freideg_Samschdeg".split("_"),weekdaysShort:"So._M\xe9._D\xeb._M\xeb._Do._Fr._Sa.".split("_"),weekdaysMin:"So_M\xe9_D\xeb_M\xeb_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm [Auer]",LTS:"H:mm:ss [Auer]",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm [Auer]",LLLL:"dddd, D. MMMM YYYY H:mm [Auer]"},calendar:{sameDay:"[Haut um] LT",sameElse:"L",nextDay:"[Muer um] LT",nextWeek:"dddd [um] LT",lastDay:"[G\xebschter um] LT",lastWeek:function(){switch(this.day()){case 2:case 4:return"[Leschten] dddd [um] LT";default:return"[Leschte] dddd [um] LT"}}},relativeTime:{future:function d(y){return p(y.substr(0,y.indexOf(" ")))?"a "+y:"an "+y},past:function u(y){return p(y.substr(0,y.indexOf(" ")))?"viru "+y:"virun "+y},s:"e puer Sekonnen",ss:"%d Sekonnen",m,mm:"%d Minutten",h:m,hh:"%d Stonnen",d:m,dd:"%d Deeg",M:m,MM:"%d M\xe9int",y:m,yy:"%d Joer"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(w(5439))},2349:function(se,q,w){!function(v){"use strict";v.defineLocale("lo",{months:"\u0ea1\u0eb1\u0e87\u0e81\u0ead\u0e99_\u0e81\u0eb8\u0ea1\u0e9e\u0eb2_\u0ea1\u0eb5\u0e99\u0eb2_\u0ec0\u0ea1\u0eaa\u0eb2_\u0e9e\u0eb6\u0e94\u0eaa\u0eb0\u0e9e\u0eb2_\u0ea1\u0eb4\u0e96\u0eb8\u0e99\u0eb2_\u0e81\u0ecd\u0ea5\u0eb0\u0e81\u0ebb\u0e94_\u0eaa\u0eb4\u0e87\u0eab\u0eb2_\u0e81\u0eb1\u0e99\u0e8d\u0eb2_\u0e95\u0eb8\u0ea5\u0eb2_\u0e9e\u0eb0\u0e88\u0eb4\u0e81_\u0e97\u0eb1\u0e99\u0ea7\u0eb2".split("_"),monthsShort:"\u0ea1\u0eb1\u0e87\u0e81\u0ead\u0e99_\u0e81\u0eb8\u0ea1\u0e9e\u0eb2_\u0ea1\u0eb5\u0e99\u0eb2_\u0ec0\u0ea1\u0eaa\u0eb2_\u0e9e\u0eb6\u0e94\u0eaa\u0eb0\u0e9e\u0eb2_\u0ea1\u0eb4\u0e96\u0eb8\u0e99\u0eb2_\u0e81\u0ecd\u0ea5\u0eb0\u0e81\u0ebb\u0e94_\u0eaa\u0eb4\u0e87\u0eab\u0eb2_\u0e81\u0eb1\u0e99\u0e8d\u0eb2_\u0e95\u0eb8\u0ea5\u0eb2_\u0e9e\u0eb0\u0e88\u0eb4\u0e81_\u0e97\u0eb1\u0e99\u0ea7\u0eb2".split("_"),weekdays:"\u0ead\u0eb2\u0e97\u0eb4\u0e94_\u0e88\u0eb1\u0e99_\u0ead\u0eb1\u0e87\u0e84\u0eb2\u0e99_\u0e9e\u0eb8\u0e94_\u0e9e\u0eb0\u0eab\u0eb1\u0e94_\u0eaa\u0eb8\u0e81_\u0ec0\u0eaa\u0ebb\u0eb2".split("_"),weekdaysShort:"\u0e97\u0eb4\u0e94_\u0e88\u0eb1\u0e99_\u0ead\u0eb1\u0e87\u0e84\u0eb2\u0e99_\u0e9e\u0eb8\u0e94_\u0e9e\u0eb0\u0eab\u0eb1\u0e94_\u0eaa\u0eb8\u0e81_\u0ec0\u0eaa\u0ebb\u0eb2".split("_"),weekdaysMin:"\u0e97_\u0e88_\u0ead\u0e84_\u0e9e_\u0e9e\u0eab_\u0eaa\u0e81_\u0eaa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"\u0ea7\u0eb1\u0e99dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0e95\u0ead\u0e99\u0ec0\u0e8a\u0ebb\u0ec9\u0eb2|\u0e95\u0ead\u0e99\u0ec1\u0ea5\u0e87/,isPM:function(d){return"\u0e95\u0ead\u0e99\u0ec1\u0ea5\u0e87"===d},meridiem:function(d,u,p){return d<12?"\u0e95\u0ead\u0e99\u0ec0\u0e8a\u0ebb\u0ec9\u0eb2":"\u0e95\u0ead\u0e99\u0ec1\u0ea5\u0e87"},calendar:{sameDay:"[\u0ea1\u0eb7\u0ec9\u0e99\u0eb5\u0ec9\u0ec0\u0ea7\u0ea5\u0eb2] LT",nextDay:"[\u0ea1\u0eb7\u0ec9\u0ead\u0eb7\u0ec8\u0e99\u0ec0\u0ea7\u0ea5\u0eb2] LT",nextWeek:"[\u0ea7\u0eb1\u0e99]dddd[\u0edc\u0ec9\u0eb2\u0ec0\u0ea7\u0ea5\u0eb2] LT",lastDay:"[\u0ea1\u0eb7\u0ec9\u0ea7\u0eb2\u0e99\u0e99\u0eb5\u0ec9\u0ec0\u0ea7\u0ea5\u0eb2] LT",lastWeek:"[\u0ea7\u0eb1\u0e99]dddd[\u0ec1\u0ea5\u0ec9\u0ea7\u0e99\u0eb5\u0ec9\u0ec0\u0ea7\u0ea5\u0eb2] LT",sameElse:"L"},relativeTime:{future:"\u0ead\u0eb5\u0e81 %s",past:"%s\u0e9c\u0ec8\u0eb2\u0e99\u0ea1\u0eb2",s:"\u0e9a\u0ecd\u0ec8\u0ec0\u0e97\u0ebb\u0ec8\u0eb2\u0ec3\u0e94\u0ea7\u0eb4\u0e99\u0eb2\u0e97\u0eb5",ss:"%d \u0ea7\u0eb4\u0e99\u0eb2\u0e97\u0eb5",m:"1 \u0e99\u0eb2\u0e97\u0eb5",mm:"%d \u0e99\u0eb2\u0e97\u0eb5",h:"1 \u0e8a\u0ebb\u0ec8\u0ea7\u0ec2\u0ea1\u0e87",hh:"%d \u0e8a\u0ebb\u0ec8\u0ea7\u0ec2\u0ea1\u0e87",d:"1 \u0ea1\u0eb7\u0ec9",dd:"%d \u0ea1\u0eb7\u0ec9",M:"1 \u0ec0\u0e94\u0eb7\u0ead\u0e99",MM:"%d \u0ec0\u0e94\u0eb7\u0ead\u0e99",y:"1 \u0e9b\u0eb5",yy:"%d \u0e9b\u0eb5"},dayOfMonthOrdinalParse:/(\u0e97\u0eb5\u0ec8)\d{1,2}/,ordinal:function(d){return"\u0e97\u0eb5\u0ec8"+d}})}(w(5439))},2400:function(se,q,w){!function(v){"use strict";var m={ss:"sekund\u0117_sekund\u017ei\u0173_sekundes",m:"minut\u0117_minut\u0117s_minut\u0119",mm:"minut\u0117s_minu\u010di\u0173_minutes",h:"valanda_valandos_valand\u0105",hh:"valandos_valand\u0173_valandas",d:"diena_dienos_dien\u0105",dd:"dienos_dien\u0173_dienas",M:"m\u0117nuo_m\u0117nesio_m\u0117nes\u012f",MM:"m\u0117nesiai_m\u0117nesi\u0173_m\u0117nesius",y:"metai_met\u0173_metus",yy:"metai_met\u0173_metus"};function u(C,P,N,R){return P?g(N)[0]:R?g(N)[1]:g(N)[2]}function p(C){return C%10==0||C>10&&C<20}function g(C){return m[C].split("_")}function y(C,P,N,R){var B=C+" ";return 1===C?B+u(0,P,N[0],R):P?B+(p(C)?g(N)[1]:g(N)[0]):R?B+g(N)[1]:B+(p(C)?g(N)[1]:g(N)[2])}v.defineLocale("lt",{months:{format:"sausio_vasario_kovo_baland\u017eio_gegu\u017e\u0117s_bir\u017eelio_liepos_rugpj\u016b\u010dio_rugs\u0117jo_spalio_lapkri\u010dio_gruod\u017eio".split("_"),standalone:"sausis_vasaris_kovas_balandis_gegu\u017e\u0117_bir\u017eelis_liepa_rugpj\u016btis_rugs\u0117jis_spalis_lapkritis_gruodis".split("_"),isFormat:/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?|MMMM?(\[[^\[\]]*\]|\s)+D[oD]?/},monthsShort:"sau_vas_kov_bal_geg_bir_lie_rgp_rgs_spa_lap_grd".split("_"),weekdays:{format:"sekmadien\u012f_pirmadien\u012f_antradien\u012f_tre\u010diadien\u012f_ketvirtadien\u012f_penktadien\u012f_\u0161e\u0161tadien\u012f".split("_"),standalone:"sekmadienis_pirmadienis_antradienis_tre\u010diadienis_ketvirtadienis_penktadienis_\u0161e\u0161tadienis".split("_"),isFormat:/dddd HH:mm/},weekdaysShort:"Sek_Pir_Ant_Tre_Ket_Pen_\u0160e\u0161".split("_"),weekdaysMin:"S_P_A_T_K_Pn_\u0160".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY [m.] MMMM D [d.]",LLL:"YYYY [m.] MMMM D [d.], HH:mm [val.]",LLLL:"YYYY [m.] MMMM D [d.], dddd, HH:mm [val.]",l:"YYYY-MM-DD",ll:"YYYY [m.] MMMM D [d.]",lll:"YYYY [m.] MMMM D [d.], HH:mm [val.]",llll:"YYYY [m.] MMMM D [d.], ddd, HH:mm [val.]"},calendar:{sameDay:"[\u0160iandien] LT",nextDay:"[Rytoj] LT",nextWeek:"dddd LT",lastDay:"[Vakar] LT",lastWeek:"[Pra\u0117jus\u012f] dddd LT",sameElse:"L"},relativeTime:{future:"po %s",past:"prie\u0161 %s",s:function d(C,P,N,R){return P?"kelios sekund\u0117s":R?"keli\u0173 sekund\u017ei\u0173":"kelias sekundes"},ss:y,m:u,mm:y,h:u,hh:y,d:u,dd:y,M:u,MM:y,y:u,yy:y},dayOfMonthOrdinalParse:/\d{1,2}-oji/,ordinal:function(C){return C+"-oji"},week:{dow:1,doy:4}})}(w(5439))},9991:function(se,q,w){!function(v){"use strict";var m={ss:"sekundes_sekund\u0113m_sekunde_sekundes".split("_"),m:"min\u016btes_min\u016bt\u0113m_min\u016bte_min\u016btes".split("_"),mm:"min\u016btes_min\u016bt\u0113m_min\u016bte_min\u016btes".split("_"),h:"stundas_stund\u0101m_stunda_stundas".split("_"),hh:"stundas_stund\u0101m_stunda_stundas".split("_"),d:"dienas_dien\u0101m_diena_dienas".split("_"),dd:"dienas_dien\u0101m_diena_dienas".split("_"),M:"m\u0113ne\u0161a_m\u0113ne\u0161iem_m\u0113nesis_m\u0113ne\u0161i".split("_"),MM:"m\u0113ne\u0161a_m\u0113ne\u0161iem_m\u0113nesis_m\u0113ne\u0161i".split("_"),y:"gada_gadiem_gads_gadi".split("_"),yy:"gada_gadiem_gads_gadi".split("_")};function d(b,C,P){return P?C%10==1&&C%100!=11?b[2]:b[3]:C%10==1&&C%100!=11?b[0]:b[1]}function u(b,C,P){return b+" "+d(m[P],b,C)}function p(b,C,P){return d(m[P],b,C)}v.defineLocale("lv",{months:"janv\u0101ris_febru\u0101ris_marts_apr\u012blis_maijs_j\u016bnijs_j\u016blijs_augusts_septembris_oktobris_novembris_decembris".split("_"),monthsShort:"jan_feb_mar_apr_mai_j\u016bn_j\u016bl_aug_sep_okt_nov_dec".split("_"),weekdays:"sv\u0113tdiena_pirmdiena_otrdiena_tre\u0161diena_ceturtdiena_piektdiena_sestdiena".split("_"),weekdaysShort:"Sv_P_O_T_C_Pk_S".split("_"),weekdaysMin:"Sv_P_O_T_C_Pk_S".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY.",LL:"YYYY. [gada] D. MMMM",LLL:"YYYY. [gada] D. MMMM, HH:mm",LLLL:"YYYY. [gada] D. MMMM, dddd, HH:mm"},calendar:{sameDay:"[\u0160odien pulksten] LT",nextDay:"[R\u012bt pulksten] LT",nextWeek:"dddd [pulksten] LT",lastDay:"[Vakar pulksten] LT",lastWeek:"[Pag\u0101ju\u0161\u0101] dddd [pulksten] LT",sameElse:"L"},relativeTime:{future:"p\u0113c %s",past:"pirms %s",s:function g(b,C){return C?"da\u017eas sekundes":"da\u017e\u0101m sekund\u0113m"},ss:u,m:p,mm:u,h:p,hh:u,d:p,dd:u,M:p,MM:u,y:p,yy:u},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(w(5439))},8477:function(se,q,w){!function(v){"use strict";var m={words:{ss:["sekund","sekunda","sekundi"],m:["jedan minut","jednog minuta"],mm:["minut","minuta","minuta"],h:["jedan sat","jednog sata"],hh:["sat","sata","sati"],dd:["dan","dana","dana"],MM:["mjesec","mjeseca","mjeseci"],yy:["godina","godine","godina"]},correctGrammaticalCase:function(u,p){return 1===u?p[0]:u>=2&&u<=4?p[1]:p[2]},translate:function(u,p,g){var y=m.words[g];return 1===g.length?p?y[0]:y[1]:u+" "+m.correctGrammaticalCase(u,y)}};v.defineLocale("me",{months:"januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_\u010detvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._\u010det._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_\u010de_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sjutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[ju\u010de u] LT",lastWeek:function(){return["[pro\u0161le] [nedjelje] [u] LT","[pro\u0161log] [ponedjeljka] [u] LT","[pro\u0161log] [utorka] [u] LT","[pro\u0161le] [srijede] [u] LT","[pro\u0161log] [\u010detvrtka] [u] LT","[pro\u0161log] [petka] [u] LT","[pro\u0161le] [subote] [u] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"nekoliko sekundi",ss:m.translate,m:m.translate,mm:m.translate,h:m.translate,hh:m.translate,d:"dan",dd:m.translate,M:"mjesec",MM:m.translate,y:"godinu",yy:m.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(w(5439))},5118:function(se,q,w){!function(v){"use strict";v.defineLocale("mi",{months:"Kohi-t\u0101te_Hui-tanguru_Pout\u016b-te-rangi_Paenga-wh\u0101wh\u0101_Haratua_Pipiri_H\u014dngoingoi_Here-turi-k\u014dk\u0101_Mahuru_Whiringa-\u0101-nuku_Whiringa-\u0101-rangi_Hakihea".split("_"),monthsShort:"Kohi_Hui_Pou_Pae_Hara_Pipi_H\u014dngoi_Here_Mahu_Whi-nu_Whi-ra_Haki".split("_"),monthsRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsStrictRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsShortRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsShortStrictRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,2}/i,weekdays:"R\u0101tapu_Mane_T\u016brei_Wenerei_T\u0101ite_Paraire_H\u0101tarei".split("_"),weekdaysShort:"Ta_Ma_T\u016b_We_T\u0101i_Pa_H\u0101".split("_"),weekdaysMin:"Ta_Ma_T\u016b_We_T\u0101i_Pa_H\u0101".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [i] HH:mm",LLLL:"dddd, D MMMM YYYY [i] HH:mm"},calendar:{sameDay:"[i teie mahana, i] LT",nextDay:"[apopo i] LT",nextWeek:"dddd [i] LT",lastDay:"[inanahi i] LT",lastWeek:"dddd [whakamutunga i] LT",sameElse:"L"},relativeTime:{future:"i roto i %s",past:"%s i mua",s:"te h\u0113kona ruarua",ss:"%d h\u0113kona",m:"he meneti",mm:"%d meneti",h:"te haora",hh:"%d haora",d:"he ra",dd:"%d ra",M:"he marama",MM:"%d marama",y:"he tau",yy:"%d tau"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(w(5439))},5943:function(se,q,w){!function(v){"use strict";v.defineLocale("mk",{months:"\u0458\u0430\u043d\u0443\u0430\u0440\u0438_\u0444\u0435\u0432\u0440\u0443\u0430\u0440\u0438_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0438\u043b_\u043c\u0430\u0458_\u0458\u0443\u043d\u0438_\u0458\u0443\u043b\u0438_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043f\u0442\u0435\u043c\u0432\u0440\u0438_\u043e\u043a\u0442\u043e\u043c\u0432\u0440\u0438_\u043d\u043e\u0435\u043c\u0432\u0440\u0438_\u0434\u0435\u043a\u0435\u043c\u0432\u0440\u0438".split("_"),monthsShort:"\u0458\u0430\u043d_\u0444\u0435\u0432_\u043c\u0430\u0440_\u0430\u043f\u0440_\u043c\u0430\u0458_\u0458\u0443\u043d_\u0458\u0443\u043b_\u0430\u0432\u0433_\u0441\u0435\u043f_\u043e\u043a\u0442_\u043d\u043e\u0435_\u0434\u0435\u043a".split("_"),weekdays:"\u043d\u0435\u0434\u0435\u043b\u0430_\u043f\u043e\u043d\u0435\u0434\u0435\u043b\u043d\u0438\u043a_\u0432\u0442\u043e\u0440\u043d\u0438\u043a_\u0441\u0440\u0435\u0434\u0430_\u0447\u0435\u0442\u0432\u0440\u0442\u043e\u043a_\u043f\u0435\u0442\u043e\u043a_\u0441\u0430\u0431\u043e\u0442\u0430".split("_"),weekdaysShort:"\u043d\u0435\u0434_\u043f\u043e\u043d_\u0432\u0442\u043e_\u0441\u0440\u0435_\u0447\u0435\u0442_\u043f\u0435\u0442_\u0441\u0430\u0431".split("_"),weekdaysMin:"\u043de_\u043fo_\u0432\u0442_\u0441\u0440_\u0447\u0435_\u043f\u0435_\u0441a".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[\u0414\u0435\u043d\u0435\u0441 \u0432\u043e] LT",nextDay:"[\u0423\u0442\u0440\u0435 \u0432\u043e] LT",nextWeek:"[\u0412\u043e] dddd [\u0432\u043e] LT",lastDay:"[\u0412\u0447\u0435\u0440\u0430 \u0432\u043e] LT",lastWeek:function(){switch(this.day()){case 0:case 3:case 6:return"[\u0418\u0437\u043c\u0438\u043d\u0430\u0442\u0430\u0442\u0430] dddd [\u0432\u043e] LT";case 1:case 2:case 4:case 5:return"[\u0418\u0437\u043c\u0438\u043d\u0430\u0442\u0438\u043e\u0442] dddd [\u0432\u043e] LT"}},sameElse:"L"},relativeTime:{future:"\u0437\u0430 %s",past:"\u043f\u0440\u0435\u0434 %s",s:"\u043d\u0435\u043a\u043e\u043b\u043a\u0443 \u0441\u0435\u043a\u0443\u043d\u0434\u0438",ss:"%d \u0441\u0435\u043a\u0443\u043d\u0434\u0438",m:"\u0435\u0434\u043d\u0430 \u043c\u0438\u043d\u0443\u0442\u0430",mm:"%d \u043c\u0438\u043d\u0443\u0442\u0438",h:"\u0435\u0434\u0435\u043d \u0447\u0430\u0441",hh:"%d \u0447\u0430\u0441\u0430",d:"\u0435\u0434\u0435\u043d \u0434\u0435\u043d",dd:"%d \u0434\u0435\u043d\u0430",M:"\u0435\u0434\u0435\u043d \u043c\u0435\u0441\u0435\u0446",MM:"%d \u043c\u0435\u0441\u0435\u0446\u0438",y:"\u0435\u0434\u043d\u0430 \u0433\u043e\u0434\u0438\u043d\u0430",yy:"%d \u0433\u043e\u0434\u0438\u043d\u0438"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0435\u0432|\u0435\u043d|\u0442\u0438|\u0432\u0438|\u0440\u0438|\u043c\u0438)/,ordinal:function(d){var u=d%10,p=d%100;return 0===d?d+"-\u0435\u0432":0===p?d+"-\u0435\u043d":p>10&&p<20?d+"-\u0442\u0438":1===u?d+"-\u0432\u0438":2===u?d+"-\u0440\u0438":7===u||8===u?d+"-\u043c\u0438":d+"-\u0442\u0438"},week:{dow:1,doy:7}})}(w(5439))},3849:function(se,q,w){!function(v){"use strict";v.defineLocale("ml",{months:"\u0d1c\u0d28\u0d41\u0d35\u0d30\u0d3f_\u0d2b\u0d46\u0d2c\u0d4d\u0d30\u0d41\u0d35\u0d30\u0d3f_\u0d2e\u0d3e\u0d7c\u0d1a\u0d4d\u0d1a\u0d4d_\u0d0f\u0d2a\u0d4d\u0d30\u0d3f\u0d7d_\u0d2e\u0d47\u0d2f\u0d4d_\u0d1c\u0d42\u0d7a_\u0d1c\u0d42\u0d32\u0d48_\u0d13\u0d17\u0d38\u0d4d\u0d31\u0d4d\u0d31\u0d4d_\u0d38\u0d46\u0d2a\u0d4d\u0d31\u0d4d\u0d31\u0d02\u0d2c\u0d7c_\u0d12\u0d15\u0d4d\u0d1f\u0d4b\u0d2c\u0d7c_\u0d28\u0d35\u0d02\u0d2c\u0d7c_\u0d21\u0d3f\u0d38\u0d02\u0d2c\u0d7c".split("_"),monthsShort:"\u0d1c\u0d28\u0d41._\u0d2b\u0d46\u0d2c\u0d4d\u0d30\u0d41._\u0d2e\u0d3e\u0d7c._\u0d0f\u0d2a\u0d4d\u0d30\u0d3f._\u0d2e\u0d47\u0d2f\u0d4d_\u0d1c\u0d42\u0d7a_\u0d1c\u0d42\u0d32\u0d48._\u0d13\u0d17._\u0d38\u0d46\u0d2a\u0d4d\u0d31\u0d4d\u0d31._\u0d12\u0d15\u0d4d\u0d1f\u0d4b._\u0d28\u0d35\u0d02._\u0d21\u0d3f\u0d38\u0d02.".split("_"),monthsParseExact:!0,weekdays:"\u0d1e\u0d3e\u0d2f\u0d31\u0d3e\u0d34\u0d4d\u0d1a_\u0d24\u0d3f\u0d19\u0d4d\u0d15\u0d33\u0d3e\u0d34\u0d4d\u0d1a_\u0d1a\u0d4a\u0d35\u0d4d\u0d35\u0d3e\u0d34\u0d4d\u0d1a_\u0d2c\u0d41\u0d27\u0d28\u0d3e\u0d34\u0d4d\u0d1a_\u0d35\u0d4d\u0d2f\u0d3e\u0d34\u0d3e\u0d34\u0d4d\u0d1a_\u0d35\u0d46\u0d33\u0d4d\u0d33\u0d3f\u0d2f\u0d3e\u0d34\u0d4d\u0d1a_\u0d36\u0d28\u0d3f\u0d2f\u0d3e\u0d34\u0d4d\u0d1a".split("_"),weekdaysShort:"\u0d1e\u0d3e\u0d2f\u0d7c_\u0d24\u0d3f\u0d19\u0d4d\u0d15\u0d7e_\u0d1a\u0d4a\u0d35\u0d4d\u0d35_\u0d2c\u0d41\u0d27\u0d7b_\u0d35\u0d4d\u0d2f\u0d3e\u0d34\u0d02_\u0d35\u0d46\u0d33\u0d4d\u0d33\u0d3f_\u0d36\u0d28\u0d3f".split("_"),weekdaysMin:"\u0d1e\u0d3e_\u0d24\u0d3f_\u0d1a\u0d4a_\u0d2c\u0d41_\u0d35\u0d4d\u0d2f\u0d3e_\u0d35\u0d46_\u0d36".split("_"),longDateFormat:{LT:"A h:mm -\u0d28\u0d41",LTS:"A h:mm:ss -\u0d28\u0d41",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm -\u0d28\u0d41",LLLL:"dddd, D MMMM YYYY, A h:mm -\u0d28\u0d41"},calendar:{sameDay:"[\u0d07\u0d28\u0d4d\u0d28\u0d4d] LT",nextDay:"[\u0d28\u0d3e\u0d33\u0d46] LT",nextWeek:"dddd, LT",lastDay:"[\u0d07\u0d28\u0d4d\u0d28\u0d32\u0d46] LT",lastWeek:"[\u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e\u0d4d",past:"%s \u0d2e\u0d41\u0d7b\u0d2a\u0d4d",s:"\u0d05\u0d7d\u0d2a \u0d28\u0d3f\u0d2e\u0d3f\u0d37\u0d19\u0d4d\u0d19\u0d7e",ss:"%d \u0d38\u0d46\u0d15\u0d4d\u0d15\u0d7b\u0d21\u0d4d",m:"\u0d12\u0d30\u0d41 \u0d2e\u0d3f\u0d28\u0d3f\u0d31\u0d4d\u0d31\u0d4d",mm:"%d \u0d2e\u0d3f\u0d28\u0d3f\u0d31\u0d4d\u0d31\u0d4d",h:"\u0d12\u0d30\u0d41 \u0d2e\u0d23\u0d3f\u0d15\u0d4d\u0d15\u0d42\u0d7c",hh:"%d \u0d2e\u0d23\u0d3f\u0d15\u0d4d\u0d15\u0d42\u0d7c",d:"\u0d12\u0d30\u0d41 \u0d26\u0d3f\u0d35\u0d38\u0d02",dd:"%d \u0d26\u0d3f\u0d35\u0d38\u0d02",M:"\u0d12\u0d30\u0d41 \u0d2e\u0d3e\u0d38\u0d02",MM:"%d \u0d2e\u0d3e\u0d38\u0d02",y:"\u0d12\u0d30\u0d41 \u0d35\u0d7c\u0d37\u0d02",yy:"%d \u0d35\u0d7c\u0d37\u0d02"},meridiemParse:/\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f|\u0d30\u0d3e\u0d35\u0d3f\u0d32\u0d46|\u0d09\u0d1a\u0d4d\u0d1a \u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e\u0d4d|\u0d35\u0d48\u0d15\u0d41\u0d28\u0d4d\u0d28\u0d47\u0d30\u0d02|\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f/i,meridiemHour:function(d,u){return 12===d&&(d=0),"\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f"===u&&d>=4||"\u0d09\u0d1a\u0d4d\u0d1a \u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e\u0d4d"===u||"\u0d35\u0d48\u0d15\u0d41\u0d28\u0d4d\u0d28\u0d47\u0d30\u0d02"===u?d+12:d},meridiem:function(d,u,p){return d<4?"\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f":d<12?"\u0d30\u0d3e\u0d35\u0d3f\u0d32\u0d46":d<17?"\u0d09\u0d1a\u0d4d\u0d1a \u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e\u0d4d":d<20?"\u0d35\u0d48\u0d15\u0d41\u0d28\u0d4d\u0d28\u0d47\u0d30\u0d02":"\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f"}})}(w(5439))},1977:function(se,q,w){!function(v){"use strict";function m(u,p,g,y){switch(g){case"s":return p?"\u0445\u044d\u0434\u0445\u044d\u043d \u0441\u0435\u043a\u0443\u043d\u0434":"\u0445\u044d\u0434\u0445\u044d\u043d \u0441\u0435\u043a\u0443\u043d\u0434\u044b\u043d";case"ss":return u+(p?" \u0441\u0435\u043a\u0443\u043d\u0434":" \u0441\u0435\u043a\u0443\u043d\u0434\u044b\u043d");case"m":case"mm":return u+(p?" \u043c\u0438\u043d\u0443\u0442":" \u043c\u0438\u043d\u0443\u0442\u044b\u043d");case"h":case"hh":return u+(p?" \u0446\u0430\u0433":" \u0446\u0430\u0433\u0438\u0439\u043d");case"d":case"dd":return u+(p?" \u04e9\u0434\u04e9\u0440":" \u04e9\u0434\u0440\u0438\u0439\u043d");case"M":case"MM":return u+(p?" \u0441\u0430\u0440":" \u0441\u0430\u0440\u044b\u043d");case"y":case"yy":return u+(p?" \u0436\u0438\u043b":" \u0436\u0438\u043b\u0438\u0439\u043d");default:return u}}v.defineLocale("mn",{months:"\u041d\u044d\u0433\u0434\u04af\u0433\u044d\u044d\u0440 \u0441\u0430\u0440_\u0425\u043e\u0451\u0440\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0413\u0443\u0440\u0430\u0432\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0414\u04e9\u0440\u04e9\u0432\u0434\u04af\u0433\u044d\u044d\u0440 \u0441\u0430\u0440_\u0422\u0430\u0432\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0417\u0443\u0440\u0433\u0430\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0414\u043e\u043b\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u041d\u0430\u0439\u043c\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0415\u0441\u0434\u04af\u0433\u044d\u044d\u0440 \u0441\u0430\u0440_\u0410\u0440\u0430\u0432\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0410\u0440\u0432\u0430\u043d \u043d\u044d\u0433\u0434\u04af\u0433\u044d\u044d\u0440 \u0441\u0430\u0440_\u0410\u0440\u0432\u0430\u043d \u0445\u043e\u0451\u0440\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440".split("_"),monthsShort:"1 \u0441\u0430\u0440_2 \u0441\u0430\u0440_3 \u0441\u0430\u0440_4 \u0441\u0430\u0440_5 \u0441\u0430\u0440_6 \u0441\u0430\u0440_7 \u0441\u0430\u0440_8 \u0441\u0430\u0440_9 \u0441\u0430\u0440_10 \u0441\u0430\u0440_11 \u0441\u0430\u0440_12 \u0441\u0430\u0440".split("_"),monthsParseExact:!0,weekdays:"\u041d\u044f\u043c_\u0414\u0430\u0432\u0430\u0430_\u041c\u044f\u0433\u043c\u0430\u0440_\u041b\u0445\u0430\u0433\u0432\u0430_\u041f\u04af\u0440\u044d\u0432_\u0411\u0430\u0430\u0441\u0430\u043d_\u0411\u044f\u043c\u0431\u0430".split("_"),weekdaysShort:"\u041d\u044f\u043c_\u0414\u0430\u0432_\u041c\u044f\u0433_\u041b\u0445\u0430_\u041f\u04af\u0440_\u0411\u0430\u0430_\u0411\u044f\u043c".split("_"),weekdaysMin:"\u041d\u044f_\u0414\u0430_\u041c\u044f_\u041b\u0445_\u041f\u04af_\u0411\u0430_\u0411\u044f".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY \u043e\u043d\u044b MMMM\u044b\u043d D",LLL:"YYYY \u043e\u043d\u044b MMMM\u044b\u043d D HH:mm",LLLL:"dddd, YYYY \u043e\u043d\u044b MMMM\u044b\u043d D HH:mm"},meridiemParse:/\u04ae\u04e8|\u04ae\u0425/i,isPM:function(u){return"\u04ae\u0425"===u},meridiem:function(u,p,g){return u<12?"\u04ae\u04e8":"\u04ae\u0425"},calendar:{sameDay:"[\u04e8\u043d\u04e9\u04e9\u0434\u04e9\u0440] LT",nextDay:"[\u041c\u0430\u0440\u0433\u0430\u0430\u0448] LT",nextWeek:"[\u0418\u0440\u044d\u0445] dddd LT",lastDay:"[\u04e8\u0447\u0438\u0433\u0434\u04e9\u0440] LT",lastWeek:"[\u04e8\u043d\u0433\u04e9\u0440\u0441\u04e9\u043d] dddd LT",sameElse:"L"},relativeTime:{future:"%s \u0434\u0430\u0440\u0430\u0430",past:"%s \u04e9\u043c\u043d\u04e9",s:m,ss:m,m,mm:m,h:m,hh:m,d:m,dd:m,M:m,MM:m,y:m,yy:m},dayOfMonthOrdinalParse:/\d{1,2} \u04e9\u0434\u04e9\u0440/,ordinal:function(u,p){switch(p){case"d":case"D":case"DDD":return u+" \u04e9\u0434\u04e9\u0440";default:return u}}})}(w(5439))},6184:function(se,q,w){!function(v){"use strict";var m={1:"\u0967",2:"\u0968",3:"\u0969",4:"\u096a",5:"\u096b",6:"\u096c",7:"\u096d",8:"\u096e",9:"\u096f",0:"\u0966"},d={"\u0967":"1","\u0968":"2","\u0969":"3","\u096a":"4","\u096b":"5","\u096c":"6","\u096d":"7","\u096e":"8","\u096f":"9","\u0966":"0"};function u(g,y,b,C){var P="";if(y)switch(b){case"s":P="\u0915\u093e\u0939\u0940 \u0938\u0947\u0915\u0902\u0926";break;case"ss":P="%d \u0938\u0947\u0915\u0902\u0926";break;case"m":P="\u090f\u0915 \u092e\u093f\u0928\u093f\u091f";break;case"mm":P="%d \u092e\u093f\u0928\u093f\u091f\u0947";break;case"h":P="\u090f\u0915 \u0924\u093e\u0938";break;case"hh":P="%d \u0924\u093e\u0938";break;case"d":P="\u090f\u0915 \u0926\u093f\u0935\u0938";break;case"dd":P="%d \u0926\u093f\u0935\u0938";break;case"M":P="\u090f\u0915 \u092e\u0939\u093f\u0928\u093e";break;case"MM":P="%d \u092e\u0939\u093f\u0928\u0947";break;case"y":P="\u090f\u0915 \u0935\u0930\u094d\u0937";break;case"yy":P="%d \u0935\u0930\u094d\u0937\u0947"}else switch(b){case"s":P="\u0915\u093e\u0939\u0940 \u0938\u0947\u0915\u0902\u0926\u093e\u0902";break;case"ss":P="%d \u0938\u0947\u0915\u0902\u0926\u093e\u0902";break;case"m":P="\u090f\u0915\u093e \u092e\u093f\u0928\u093f\u091f\u093e";break;case"mm":P="%d \u092e\u093f\u0928\u093f\u091f\u093e\u0902";break;case"h":P="\u090f\u0915\u093e \u0924\u093e\u0938\u093e";break;case"hh":P="%d \u0924\u093e\u0938\u093e\u0902";break;case"d":P="\u090f\u0915\u093e \u0926\u093f\u0935\u0938\u093e";break;case"dd":P="%d \u0926\u093f\u0935\u0938\u093e\u0902";break;case"M":P="\u090f\u0915\u093e \u092e\u0939\u093f\u0928\u094d\u092f\u093e";break;case"MM":P="%d \u092e\u0939\u093f\u0928\u094d\u092f\u093e\u0902";break;case"y":P="\u090f\u0915\u093e \u0935\u0930\u094d\u0937\u093e";break;case"yy":P="%d \u0935\u0930\u094d\u0937\u093e\u0902"}return P.replace(/%d/i,g)}v.defineLocale("mr",{months:"\u091c\u093e\u0928\u0947\u0935\u093e\u0930\u0940_\u092b\u0947\u092c\u094d\u0930\u0941\u0935\u093e\u0930\u0940_\u092e\u093e\u0930\u094d\u091a_\u090f\u092a\u094d\u0930\u093f\u0932_\u092e\u0947_\u091c\u0942\u0928_\u091c\u0941\u0932\u0948_\u0911\u0917\u0938\u094d\u091f_\u0938\u092a\u094d\u091f\u0947\u0902\u092c\u0930_\u0911\u0915\u094d\u091f\u094b\u092c\u0930_\u0928\u094b\u0935\u094d\u0939\u0947\u0902\u092c\u0930_\u0921\u093f\u0938\u0947\u0902\u092c\u0930".split("_"),monthsShort:"\u091c\u093e\u0928\u0947._\u092b\u0947\u092c\u094d\u0930\u0941._\u092e\u093e\u0930\u094d\u091a._\u090f\u092a\u094d\u0930\u093f._\u092e\u0947._\u091c\u0942\u0928._\u091c\u0941\u0932\u0948._\u0911\u0917._\u0938\u092a\u094d\u091f\u0947\u0902._\u0911\u0915\u094d\u091f\u094b._\u0928\u094b\u0935\u094d\u0939\u0947\u0902._\u0921\u093f\u0938\u0947\u0902.".split("_"),monthsParseExact:!0,weekdays:"\u0930\u0935\u093f\u0935\u093e\u0930_\u0938\u094b\u092e\u0935\u093e\u0930_\u092e\u0902\u0917\u0933\u0935\u093e\u0930_\u092c\u0941\u0927\u0935\u093e\u0930_\u0917\u0941\u0930\u0942\u0935\u093e\u0930_\u0936\u0941\u0915\u094d\u0930\u0935\u093e\u0930_\u0936\u0928\u093f\u0935\u093e\u0930".split("_"),weekdaysShort:"\u0930\u0935\u093f_\u0938\u094b\u092e_\u092e\u0902\u0917\u0933_\u092c\u0941\u0927_\u0917\u0941\u0930\u0942_\u0936\u0941\u0915\u094d\u0930_\u0936\u0928\u093f".split("_"),weekdaysMin:"\u0930_\u0938\u094b_\u092e\u0902_\u092c\u0941_\u0917\u0941_\u0936\u0941_\u0936".split("_"),longDateFormat:{LT:"A h:mm \u0935\u093e\u091c\u0924\u093e",LTS:"A h:mm:ss \u0935\u093e\u091c\u0924\u093e",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u0935\u093e\u091c\u0924\u093e",LLLL:"dddd, D MMMM YYYY, A h:mm \u0935\u093e\u091c\u0924\u093e"},calendar:{sameDay:"[\u0906\u091c] LT",nextDay:"[\u0909\u0926\u094d\u092f\u093e] LT",nextWeek:"dddd, LT",lastDay:"[\u0915\u093e\u0932] LT",lastWeek:"[\u092e\u093e\u0917\u0940\u0932] dddd, LT",sameElse:"L"},relativeTime:{future:"%s\u092e\u0927\u094d\u092f\u0947",past:"%s\u092a\u0942\u0930\u094d\u0935\u0940",s:u,ss:u,m:u,mm:u,h:u,hh:u,d:u,dd:u,M:u,MM:u,y:u,yy:u},preparse:function(g){return g.replace(/[\u0967\u0968\u0969\u096a\u096b\u096c\u096d\u096e\u096f\u0966]/g,function(y){return d[y]})},postformat:function(g){return g.replace(/\d/g,function(y){return m[y]})},meridiemParse:/\u092a\u0939\u093e\u091f\u0947|\u0938\u0915\u093e\u0933\u0940|\u0926\u0941\u092a\u093e\u0930\u0940|\u0938\u093e\u092f\u0902\u0915\u093e\u0933\u0940|\u0930\u093e\u0924\u094d\u0930\u0940/,meridiemHour:function(g,y){return 12===g&&(g=0),"\u092a\u0939\u093e\u091f\u0947"===y||"\u0938\u0915\u093e\u0933\u0940"===y?g:"\u0926\u0941\u092a\u093e\u0930\u0940"===y||"\u0938\u093e\u092f\u0902\u0915\u093e\u0933\u0940"===y||"\u0930\u093e\u0924\u094d\u0930\u0940"===y?g>=12?g:g+12:void 0},meridiem:function(g,y,b){return g>=0&&g<6?"\u092a\u0939\u093e\u091f\u0947":g<12?"\u0938\u0915\u093e\u0933\u0940":g<17?"\u0926\u0941\u092a\u093e\u0930\u0940":g<20?"\u0938\u093e\u092f\u0902\u0915\u093e\u0933\u0940":"\u0930\u093e\u0924\u094d\u0930\u0940"},week:{dow:0,doy:6}})}(w(5439))},4524:function(se,q,w){!function(v){"use strict";v.defineLocale("ms-my",{months:"Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis".split("_"),weekdays:"Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu".split("_"),weekdaysShort:"Ahd_Isn_Sel_Rab_Kha_Jum_Sab".split("_"),weekdaysMin:"Ah_Is_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|tengahari|petang|malam/,meridiemHour:function(d,u){return 12===d&&(d=0),"pagi"===u?d:"tengahari"===u?d>=11?d:d+12:"petang"===u||"malam"===u?d+12:void 0},meridiem:function(d,u,p){return d<11?"pagi":d<15?"tengahari":d<19?"petang":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Esok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kelmarin pukul] LT",lastWeek:"dddd [lepas pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lepas",s:"beberapa saat",ss:"%d saat",m:"seminit",mm:"%d minit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}})}(w(5439))},485:function(se,q,w){!function(v){"use strict";v.defineLocale("ms",{months:"Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis".split("_"),weekdays:"Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu".split("_"),weekdaysShort:"Ahd_Isn_Sel_Rab_Kha_Jum_Sab".split("_"),weekdaysMin:"Ah_Is_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|tengahari|petang|malam/,meridiemHour:function(d,u){return 12===d&&(d=0),"pagi"===u?d:"tengahari"===u?d>=11?d:d+12:"petang"===u||"malam"===u?d+12:void 0},meridiem:function(d,u,p){return d<11?"pagi":d<15?"tengahari":d<19?"petang":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Esok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kelmarin pukul] LT",lastWeek:"dddd [lepas pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lepas",s:"beberapa saat",ss:"%d saat",m:"seminit",mm:"%d minit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}})}(w(5439))},6681:function(se,q,w){!function(v){"use strict";v.defineLocale("mt",{months:"Jannar_Frar_Marzu_April_Mejju_\u0120unju_Lulju_Awwissu_Settembru_Ottubru_Novembru_Di\u010bembru".split("_"),monthsShort:"Jan_Fra_Mar_Apr_Mej_\u0120un_Lul_Aww_Set_Ott_Nov_Di\u010b".split("_"),weekdays:"Il-\u0126add_It-Tnejn_It-Tlieta_L-Erbg\u0127a_Il-\u0126amis_Il-\u0120img\u0127a_Is-Sibt".split("_"),weekdaysShort:"\u0126ad_Tne_Tli_Erb_\u0126am_\u0120im_Sib".split("_"),weekdaysMin:"\u0126a_Tn_Tl_Er_\u0126a_\u0120i_Si".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Illum fil-]LT",nextDay:"[G\u0127ada fil-]LT",nextWeek:"dddd [fil-]LT",lastDay:"[Il-biera\u0127 fil-]LT",lastWeek:"dddd [li g\u0127adda] [fil-]LT",sameElse:"L"},relativeTime:{future:"f\u2019 %s",past:"%s ilu",s:"ftit sekondi",ss:"%d sekondi",m:"minuta",mm:"%d minuti",h:"sieg\u0127a",hh:"%d sieg\u0127at",d:"\u0121urnata",dd:"%d \u0121ranet",M:"xahar",MM:"%d xhur",y:"sena",yy:"%d sni"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(w(5439))},2024:function(se,q,w){!function(v){"use strict";var m={1:"\u1041",2:"\u1042",3:"\u1043",4:"\u1044",5:"\u1045",6:"\u1046",7:"\u1047",8:"\u1048",9:"\u1049",0:"\u1040"},d={"\u1041":"1","\u1042":"2","\u1043":"3","\u1044":"4","\u1045":"5","\u1046":"6","\u1047":"7","\u1048":"8","\u1049":"9","\u1040":"0"};v.defineLocale("my",{months:"\u1007\u1014\u103a\u1014\u101d\u102b\u101b\u102e_\u1016\u1031\u1016\u1031\u102c\u103a\u101d\u102b\u101b\u102e_\u1019\u1010\u103a_\u1027\u1015\u103c\u102e_\u1019\u1031_\u1007\u103d\u1014\u103a_\u1007\u1030\u101c\u102d\u102f\u1004\u103a_\u101e\u103c\u1002\u102f\u1010\u103a_\u1005\u1000\u103a\u1010\u1004\u103a\u1018\u102c_\u1021\u1031\u102c\u1000\u103a\u1010\u102d\u102f\u1018\u102c_\u1014\u102d\u102f\u101d\u1004\u103a\u1018\u102c_\u1012\u102e\u1007\u1004\u103a\u1018\u102c".split("_"),monthsShort:"\u1007\u1014\u103a_\u1016\u1031_\u1019\u1010\u103a_\u1015\u103c\u102e_\u1019\u1031_\u1007\u103d\u1014\u103a_\u101c\u102d\u102f\u1004\u103a_\u101e\u103c_\u1005\u1000\u103a_\u1021\u1031\u102c\u1000\u103a_\u1014\u102d\u102f_\u1012\u102e".split("_"),weekdays:"\u1010\u1014\u1004\u103a\u1039\u1002\u1014\u103d\u1031_\u1010\u1014\u1004\u103a\u1039\u101c\u102c_\u1021\u1004\u103a\u1039\u1002\u102b_\u1017\u102f\u1012\u1039\u1013\u101f\u1030\u1038_\u1000\u103c\u102c\u101e\u1015\u1010\u1031\u1038_\u101e\u1031\u102c\u1000\u103c\u102c_\u1005\u1014\u1031".split("_"),weekdaysShort:"\u1014\u103d\u1031_\u101c\u102c_\u1002\u102b_\u101f\u1030\u1038_\u1000\u103c\u102c_\u101e\u1031\u102c_\u1014\u1031".split("_"),weekdaysMin:"\u1014\u103d\u1031_\u101c\u102c_\u1002\u102b_\u101f\u1030\u1038_\u1000\u103c\u102c_\u101e\u1031\u102c_\u1014\u1031".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u101a\u1014\u1031.] LT [\u1019\u103e\u102c]",nextDay:"[\u1019\u1014\u1000\u103a\u1016\u103c\u1014\u103a] LT [\u1019\u103e\u102c]",nextWeek:"dddd LT [\u1019\u103e\u102c]",lastDay:"[\u1019\u1014\u1031.\u1000] LT [\u1019\u103e\u102c]",lastWeek:"[\u1015\u103c\u102e\u1038\u1001\u1032\u1037\u101e\u1031\u102c] dddd LT [\u1019\u103e\u102c]",sameElse:"L"},relativeTime:{future:"\u101c\u102c\u1019\u100a\u103a\u1037 %s \u1019\u103e\u102c",past:"\u101c\u103d\u1014\u103a\u1001\u1032\u1037\u101e\u1031\u102c %s \u1000",s:"\u1005\u1000\u1039\u1000\u1014\u103a.\u1021\u1014\u100a\u103a\u1038\u1004\u101a\u103a",ss:"%d \u1005\u1000\u1039\u1000\u1014\u1037\u103a",m:"\u1010\u1005\u103a\u1019\u102d\u1014\u1005\u103a",mm:"%d \u1019\u102d\u1014\u1005\u103a",h:"\u1010\u1005\u103a\u1014\u102c\u101b\u102e",hh:"%d \u1014\u102c\u101b\u102e",d:"\u1010\u1005\u103a\u101b\u1000\u103a",dd:"%d \u101b\u1000\u103a",M:"\u1010\u1005\u103a\u101c",MM:"%d \u101c",y:"\u1010\u1005\u103a\u1014\u103e\u1005\u103a",yy:"%d \u1014\u103e\u1005\u103a"},preparse:function(p){return p.replace(/[\u1041\u1042\u1043\u1044\u1045\u1046\u1047\u1048\u1049\u1040]/g,function(g){return d[g]})},postformat:function(p){return p.replace(/\d/g,function(g){return m[g]})},week:{dow:1,doy:4}})}(w(5439))},2688:function(se,q,w){!function(v){"use strict";v.defineLocale("nb",{months:"januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan._feb._mars_apr._mai_juni_juli_aug._sep._okt._nov._des.".split("_"),monthsParseExact:!0,weekdays:"s\xf8ndag_mandag_tirsdag_onsdag_torsdag_fredag_l\xf8rdag".split("_"),weekdaysShort:"s\xf8._ma._ti._on._to._fr._l\xf8.".split("_"),weekdaysMin:"s\xf8_ma_ti_on_to_fr_l\xf8".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] HH:mm",LLLL:"dddd D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[i dag kl.] LT",nextDay:"[i morgen kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[i g\xe5r kl.] LT",lastWeek:"[forrige] dddd [kl.] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s siden",s:"noen sekunder",ss:"%d sekunder",m:"ett minutt",mm:"%d minutter",h:"\xe9n time",hh:"%d timer",d:"\xe9n dag",dd:"%d dager",w:"\xe9n uke",ww:"%d uker",M:"\xe9n m\xe5ned",MM:"%d m\xe5neder",y:"ett \xe5r",yy:"%d \xe5r"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(w(5439))},8914:function(se,q,w){!function(v){"use strict";var m={1:"\u0967",2:"\u0968",3:"\u0969",4:"\u096a",5:"\u096b",6:"\u096c",7:"\u096d",8:"\u096e",9:"\u096f",0:"\u0966"},d={"\u0967":"1","\u0968":"2","\u0969":"3","\u096a":"4","\u096b":"5","\u096c":"6","\u096d":"7","\u096e":"8","\u096f":"9","\u0966":"0"};v.defineLocale("ne",{months:"\u091c\u0928\u0935\u0930\u0940_\u092b\u0947\u092c\u094d\u0930\u0941\u0935\u0930\u0940_\u092e\u093e\u0930\u094d\u091a_\u0905\u092a\u094d\u0930\u093f\u0932_\u092e\u0908_\u091c\u0941\u0928_\u091c\u0941\u0932\u093e\u0908_\u0905\u0917\u0937\u094d\u091f_\u0938\u0947\u092a\u094d\u091f\u0947\u092e\u094d\u092c\u0930_\u0905\u0915\u094d\u091f\u094b\u092c\u0930_\u0928\u094b\u092d\u0947\u092e\u094d\u092c\u0930_\u0921\u093f\u0938\u0947\u092e\u094d\u092c\u0930".split("_"),monthsShort:"\u091c\u0928._\u092b\u0947\u092c\u094d\u0930\u0941._\u092e\u093e\u0930\u094d\u091a_\u0905\u092a\u094d\u0930\u093f._\u092e\u0908_\u091c\u0941\u0928_\u091c\u0941\u0932\u093e\u0908._\u0905\u0917._\u0938\u0947\u092a\u094d\u091f._\u0905\u0915\u094d\u091f\u094b._\u0928\u094b\u092d\u0947._\u0921\u093f\u0938\u0947.".split("_"),monthsParseExact:!0,weekdays:"\u0906\u0907\u0924\u092c\u093e\u0930_\u0938\u094b\u092e\u092c\u093e\u0930_\u092e\u0919\u094d\u0917\u0932\u092c\u093e\u0930_\u092c\u0941\u0927\u092c\u093e\u0930_\u092c\u093f\u0939\u093f\u092c\u093e\u0930_\u0936\u0941\u0915\u094d\u0930\u092c\u093e\u0930_\u0936\u0928\u093f\u092c\u093e\u0930".split("_"),weekdaysShort:"\u0906\u0907\u0924._\u0938\u094b\u092e._\u092e\u0919\u094d\u0917\u0932._\u092c\u0941\u0927._\u092c\u093f\u0939\u093f._\u0936\u0941\u0915\u094d\u0930._\u0936\u0928\u093f.".split("_"),weekdaysMin:"\u0906._\u0938\u094b._\u092e\u0902._\u092c\u0941._\u092c\u093f._\u0936\u0941._\u0936.".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"A\u0915\u094b h:mm \u092c\u091c\u0947",LTS:"A\u0915\u094b h:mm:ss \u092c\u091c\u0947",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A\u0915\u094b h:mm \u092c\u091c\u0947",LLLL:"dddd, D MMMM YYYY, A\u0915\u094b h:mm \u092c\u091c\u0947"},preparse:function(p){return p.replace(/[\u0967\u0968\u0969\u096a\u096b\u096c\u096d\u096e\u096f\u0966]/g,function(g){return d[g]})},postformat:function(p){return p.replace(/\d/g,function(g){return m[g]})},meridiemParse:/\u0930\u093e\u0924\u093f|\u092c\u093f\u0939\u093e\u0928|\u0926\u093f\u0909\u0901\u0938\u094b|\u0938\u093e\u0901\u091d/,meridiemHour:function(p,g){return 12===p&&(p=0),"\u0930\u093e\u0924\u093f"===g?p<4?p:p+12:"\u092c\u093f\u0939\u093e\u0928"===g?p:"\u0926\u093f\u0909\u0901\u0938\u094b"===g?p>=10?p:p+12:"\u0938\u093e\u0901\u091d"===g?p+12:void 0},meridiem:function(p,g,y){return p<3?"\u0930\u093e\u0924\u093f":p<12?"\u092c\u093f\u0939\u093e\u0928":p<16?"\u0926\u093f\u0909\u0901\u0938\u094b":p<20?"\u0938\u093e\u0901\u091d":"\u0930\u093e\u0924\u093f"},calendar:{sameDay:"[\u0906\u091c] LT",nextDay:"[\u092d\u094b\u0932\u093f] LT",nextWeek:"[\u0906\u0909\u0901\u0926\u094b] dddd[,] LT",lastDay:"[\u0939\u093f\u091c\u094b] LT",lastWeek:"[\u0917\u090f\u0915\u094b] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%s\u092e\u093e",past:"%s \u0905\u0917\u093e\u0921\u093f",s:"\u0915\u0947\u0939\u0940 \u0915\u094d\u0937\u0923",ss:"%d \u0938\u0947\u0915\u0947\u0923\u094d\u0921",m:"\u090f\u0915 \u092e\u093f\u0928\u0947\u091f",mm:"%d \u092e\u093f\u0928\u0947\u091f",h:"\u090f\u0915 \u0918\u0923\u094d\u091f\u093e",hh:"%d \u0918\u0923\u094d\u091f\u093e",d:"\u090f\u0915 \u0926\u093f\u0928",dd:"%d \u0926\u093f\u0928",M:"\u090f\u0915 \u092e\u0939\u093f\u0928\u093e",MM:"%d \u092e\u0939\u093f\u0928\u093e",y:"\u090f\u0915 \u092c\u0930\u094d\u0937",yy:"%d \u092c\u0930\u094d\u0937"},week:{dow:0,doy:6}})}(w(5439))},2272:function(se,q,w){!function(v){"use strict";var m="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),d="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),u=[/^jan/i,/^feb/i,/^(maart|mrt\.?)$/i,/^apr/i,/^mei$/i,/^jun[i.]?$/i,/^jul[i.]?$/i,/^aug/i,/^sep/i,/^okt/i,/^nov/i,/^dec/i],p=/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i;v.defineLocale("nl-be",{months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:function(y,b){return y?/-MMM-/.test(b)?d[y.month()]:m[y.month()]:m},monthsRegex:p,monthsShortRegex:p,monthsStrictRegex:/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december)/i,monthsShortStrictRegex:/^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,monthsParse:u,longMonthsParse:u,shortMonthsParse:u,weekdays:"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),weekdaysShort:"zo._ma._di._wo._do._vr._za.".split("_"),weekdaysMin:"zo_ma_di_wo_do_vr_za".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[vandaag om] LT",nextDay:"[morgen om] LT",nextWeek:"dddd [om] LT",lastDay:"[gisteren om] LT",lastWeek:"[afgelopen] dddd [om] LT",sameElse:"L"},relativeTime:{future:"over %s",past:"%s geleden",s:"een paar seconden",ss:"%d seconden",m:"\xe9\xe9n minuut",mm:"%d minuten",h:"\xe9\xe9n uur",hh:"%d uur",d:"\xe9\xe9n dag",dd:"%d dagen",M:"\xe9\xe9n maand",MM:"%d maanden",y:"\xe9\xe9n jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(y){return y+(1===y||8===y||y>=20?"ste":"de")},week:{dow:1,doy:4}})}(w(5439))},1758:function(se,q,w){!function(v){"use strict";var m="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),d="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),u=[/^jan/i,/^feb/i,/^(maart|mrt\.?)$/i,/^apr/i,/^mei$/i,/^jun[i.]?$/i,/^jul[i.]?$/i,/^aug/i,/^sep/i,/^okt/i,/^nov/i,/^dec/i],p=/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i;v.defineLocale("nl",{months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:function(y,b){return y?/-MMM-/.test(b)?d[y.month()]:m[y.month()]:m},monthsRegex:p,monthsShortRegex:p,monthsStrictRegex:/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december)/i,monthsShortStrictRegex:/^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,monthsParse:u,longMonthsParse:u,shortMonthsParse:u,weekdays:"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),weekdaysShort:"zo._ma._di._wo._do._vr._za.".split("_"),weekdaysMin:"zo_ma_di_wo_do_vr_za".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[vandaag om] LT",nextDay:"[morgen om] LT",nextWeek:"dddd [om] LT",lastDay:"[gisteren om] LT",lastWeek:"[afgelopen] dddd [om] LT",sameElse:"L"},relativeTime:{future:"over %s",past:"%s geleden",s:"een paar seconden",ss:"%d seconden",m:"\xe9\xe9n minuut",mm:"%d minuten",h:"\xe9\xe9n uur",hh:"%d uur",d:"\xe9\xe9n dag",dd:"%d dagen",w:"\xe9\xe9n week",ww:"%d weken",M:"\xe9\xe9n maand",MM:"%d maanden",y:"\xe9\xe9n jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(y){return y+(1===y||8===y||y>=20?"ste":"de")},week:{dow:1,doy:4}})}(w(5439))},1510:function(se,q,w){!function(v){"use strict";v.defineLocale("nn",{months:"januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan._feb._mars_apr._mai_juni_juli_aug._sep._okt._nov._des.".split("_"),monthsParseExact:!0,weekdays:"sundag_m\xe5ndag_tysdag_onsdag_torsdag_fredag_laurdag".split("_"),weekdaysShort:"su._m\xe5._ty._on._to._fr._lau.".split("_"),weekdaysMin:"su_m\xe5_ty_on_to_fr_la".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] H:mm",LLLL:"dddd D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[I dag klokka] LT",nextDay:"[I morgon klokka] LT",nextWeek:"dddd [klokka] LT",lastDay:"[I g\xe5r klokka] LT",lastWeek:"[F\xf8reg\xe5ande] dddd [klokka] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s sidan",s:"nokre sekund",ss:"%d sekund",m:"eit minutt",mm:"%d minutt",h:"ein time",hh:"%d timar",d:"ein dag",dd:"%d dagar",w:"ei veke",ww:"%d veker",M:"ein m\xe5nad",MM:"%d m\xe5nader",y:"eit \xe5r",yy:"%d \xe5r"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(w(5439))},2797:function(se,q,w){!function(v){"use strict";v.defineLocale("oc-lnc",{months:{standalone:"geni\xe8r_febri\xe8r_mar\xe7_abril_mai_junh_julhet_agost_setembre_oct\xf2bre_novembre_decembre".split("_"),format:"de geni\xe8r_de febri\xe8r_de mar\xe7_d'abril_de mai_de junh_de julhet_d'agost_de setembre_d'oct\xf2bre_de novembre_de decembre".split("_"),isFormat:/D[oD]?(\s)+MMMM/},monthsShort:"gen._febr._mar\xe7_abr._mai_junh_julh._ago._set._oct._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"dimenge_diluns_dimars_dim\xe8cres_dij\xf2us_divendres_dissabte".split("_"),weekdaysShort:"dg._dl._dm._dc._dj._dv._ds.".split("_"),weekdaysMin:"dg_dl_dm_dc_dj_dv_ds".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [de] YYYY",ll:"D MMM YYYY",LLL:"D MMMM [de] YYYY [a] H:mm",lll:"D MMM YYYY, H:mm",LLLL:"dddd D MMMM [de] YYYY [a] H:mm",llll:"ddd D MMM YYYY, H:mm"},calendar:{sameDay:"[u\xe8i a] LT",nextDay:"[deman a] LT",nextWeek:"dddd [a] LT",lastDay:"[i\xe8r a] LT",lastWeek:"dddd [passat a] LT",sameElse:"L"},relativeTime:{future:"d'aqu\xed %s",past:"fa %s",s:"unas segondas",ss:"%d segondas",m:"una minuta",mm:"%d minutas",h:"una ora",hh:"%d oras",d:"un jorn",dd:"%d jorns",M:"un mes",MM:"%d meses",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(r|n|t|\xe8|a)/,ordinal:function(d,u){var p=1===d?"r":2===d?"n":3===d?"r":4===d?"t":"\xe8";return("w"===u||"W"===u)&&(p="a"),d+p},week:{dow:1,doy:4}})}(w(5439))},7944:function(se,q,w){!function(v){"use strict";var m={1:"\u0a67",2:"\u0a68",3:"\u0a69",4:"\u0a6a",5:"\u0a6b",6:"\u0a6c",7:"\u0a6d",8:"\u0a6e",9:"\u0a6f",0:"\u0a66"},d={"\u0a67":"1","\u0a68":"2","\u0a69":"3","\u0a6a":"4","\u0a6b":"5","\u0a6c":"6","\u0a6d":"7","\u0a6e":"8","\u0a6f":"9","\u0a66":"0"};v.defineLocale("pa-in",{months:"\u0a1c\u0a28\u0a35\u0a30\u0a40_\u0a2b\u0a3c\u0a30\u0a35\u0a30\u0a40_\u0a2e\u0a3e\u0a30\u0a1a_\u0a05\u0a2a\u0a4d\u0a30\u0a48\u0a32_\u0a2e\u0a08_\u0a1c\u0a42\u0a28_\u0a1c\u0a41\u0a32\u0a3e\u0a08_\u0a05\u0a17\u0a38\u0a24_\u0a38\u0a24\u0a70\u0a2c\u0a30_\u0a05\u0a15\u0a24\u0a42\u0a2c\u0a30_\u0a28\u0a35\u0a70\u0a2c\u0a30_\u0a26\u0a38\u0a70\u0a2c\u0a30".split("_"),monthsShort:"\u0a1c\u0a28\u0a35\u0a30\u0a40_\u0a2b\u0a3c\u0a30\u0a35\u0a30\u0a40_\u0a2e\u0a3e\u0a30\u0a1a_\u0a05\u0a2a\u0a4d\u0a30\u0a48\u0a32_\u0a2e\u0a08_\u0a1c\u0a42\u0a28_\u0a1c\u0a41\u0a32\u0a3e\u0a08_\u0a05\u0a17\u0a38\u0a24_\u0a38\u0a24\u0a70\u0a2c\u0a30_\u0a05\u0a15\u0a24\u0a42\u0a2c\u0a30_\u0a28\u0a35\u0a70\u0a2c\u0a30_\u0a26\u0a38\u0a70\u0a2c\u0a30".split("_"),weekdays:"\u0a10\u0a24\u0a35\u0a3e\u0a30_\u0a38\u0a4b\u0a2e\u0a35\u0a3e\u0a30_\u0a2e\u0a70\u0a17\u0a32\u0a35\u0a3e\u0a30_\u0a2c\u0a41\u0a27\u0a35\u0a3e\u0a30_\u0a35\u0a40\u0a30\u0a35\u0a3e\u0a30_\u0a38\u0a3c\u0a41\u0a71\u0a15\u0a30\u0a35\u0a3e\u0a30_\u0a38\u0a3c\u0a28\u0a40\u0a1a\u0a30\u0a35\u0a3e\u0a30".split("_"),weekdaysShort:"\u0a10\u0a24_\u0a38\u0a4b\u0a2e_\u0a2e\u0a70\u0a17\u0a32_\u0a2c\u0a41\u0a27_\u0a35\u0a40\u0a30_\u0a38\u0a3c\u0a41\u0a15\u0a30_\u0a38\u0a3c\u0a28\u0a40".split("_"),weekdaysMin:"\u0a10\u0a24_\u0a38\u0a4b\u0a2e_\u0a2e\u0a70\u0a17\u0a32_\u0a2c\u0a41\u0a27_\u0a35\u0a40\u0a30_\u0a38\u0a3c\u0a41\u0a15\u0a30_\u0a38\u0a3c\u0a28\u0a40".split("_"),longDateFormat:{LT:"A h:mm \u0a35\u0a1c\u0a47",LTS:"A h:mm:ss \u0a35\u0a1c\u0a47",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u0a35\u0a1c\u0a47",LLLL:"dddd, D MMMM YYYY, A h:mm \u0a35\u0a1c\u0a47"},calendar:{sameDay:"[\u0a05\u0a1c] LT",nextDay:"[\u0a15\u0a32] LT",nextWeek:"[\u0a05\u0a17\u0a32\u0a3e] dddd, LT",lastDay:"[\u0a15\u0a32] LT",lastWeek:"[\u0a2a\u0a3f\u0a1b\u0a32\u0a47] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0a35\u0a3f\u0a71\u0a1a",past:"%s \u0a2a\u0a3f\u0a1b\u0a32\u0a47",s:"\u0a15\u0a41\u0a1d \u0a38\u0a15\u0a3f\u0a70\u0a1f",ss:"%d \u0a38\u0a15\u0a3f\u0a70\u0a1f",m:"\u0a07\u0a15 \u0a2e\u0a3f\u0a70\u0a1f",mm:"%d \u0a2e\u0a3f\u0a70\u0a1f",h:"\u0a07\u0a71\u0a15 \u0a18\u0a70\u0a1f\u0a3e",hh:"%d \u0a18\u0a70\u0a1f\u0a47",d:"\u0a07\u0a71\u0a15 \u0a26\u0a3f\u0a28",dd:"%d \u0a26\u0a3f\u0a28",M:"\u0a07\u0a71\u0a15 \u0a2e\u0a39\u0a40\u0a28\u0a3e",MM:"%d \u0a2e\u0a39\u0a40\u0a28\u0a47",y:"\u0a07\u0a71\u0a15 \u0a38\u0a3e\u0a32",yy:"%d \u0a38\u0a3e\u0a32"},preparse:function(p){return p.replace(/[\u0a67\u0a68\u0a69\u0a6a\u0a6b\u0a6c\u0a6d\u0a6e\u0a6f\u0a66]/g,function(g){return d[g]})},postformat:function(p){return p.replace(/\d/g,function(g){return m[g]})},meridiemParse:/\u0a30\u0a3e\u0a24|\u0a38\u0a35\u0a47\u0a30|\u0a26\u0a41\u0a2a\u0a39\u0a3f\u0a30|\u0a38\u0a3c\u0a3e\u0a2e/,meridiemHour:function(p,g){return 12===p&&(p=0),"\u0a30\u0a3e\u0a24"===g?p<4?p:p+12:"\u0a38\u0a35\u0a47\u0a30"===g?p:"\u0a26\u0a41\u0a2a\u0a39\u0a3f\u0a30"===g?p>=10?p:p+12:"\u0a38\u0a3c\u0a3e\u0a2e"===g?p+12:void 0},meridiem:function(p,g,y){return p<4?"\u0a30\u0a3e\u0a24":p<10?"\u0a38\u0a35\u0a47\u0a30":p<17?"\u0a26\u0a41\u0a2a\u0a39\u0a3f\u0a30":p<20?"\u0a38\u0a3c\u0a3e\u0a2e":"\u0a30\u0a3e\u0a24"},week:{dow:0,doy:6}})}(w(5439))},1605:function(se,q,w){!function(v){"use strict";var m="stycze\u0144_luty_marzec_kwiecie\u0144_maj_czerwiec_lipiec_sierpie\u0144_wrzesie\u0144_pa\u017adziernik_listopad_grudzie\u0144".split("_"),d="stycznia_lutego_marca_kwietnia_maja_czerwca_lipca_sierpnia_wrze\u015bnia_pa\u017adziernika_listopada_grudnia".split("_"),u=[/^sty/i,/^lut/i,/^mar/i,/^kwi/i,/^maj/i,/^cze/i,/^lip/i,/^sie/i,/^wrz/i,/^pa\u017a/i,/^lis/i,/^gru/i];function p(b){return b%10<5&&b%10>1&&~~(b/10)%10!=1}function g(b,C,P){var N=b+" ";switch(P){case"ss":return N+(p(b)?"sekundy":"sekund");case"m":return C?"minuta":"minut\u0119";case"mm":return N+(p(b)?"minuty":"minut");case"h":return C?"godzina":"godzin\u0119";case"hh":return N+(p(b)?"godziny":"godzin");case"ww":return N+(p(b)?"tygodnie":"tygodni");case"MM":return N+(p(b)?"miesi\u0105ce":"miesi\u0119cy");case"yy":return N+(p(b)?"lata":"lat")}}v.defineLocale("pl",{months:function(b,C){return b?/D MMMM/.test(C)?d[b.month()]:m[b.month()]:m},monthsShort:"sty_lut_mar_kwi_maj_cze_lip_sie_wrz_pa\u017a_lis_gru".split("_"),monthsParse:u,longMonthsParse:u,shortMonthsParse:u,weekdays:"niedziela_poniedzia\u0142ek_wtorek_\u015broda_czwartek_pi\u0105tek_sobota".split("_"),weekdaysShort:"ndz_pon_wt_\u015br_czw_pt_sob".split("_"),weekdaysMin:"Nd_Pn_Wt_\u015ar_Cz_Pt_So".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Dzi\u015b o] LT",nextDay:"[Jutro o] LT",nextWeek:function(){switch(this.day()){case 0:return"[W niedziel\u0119 o] LT";case 2:return"[We wtorek o] LT";case 3:return"[W \u015brod\u0119 o] LT";case 6:return"[W sobot\u0119 o] LT";default:return"[W] dddd [o] LT"}},lastDay:"[Wczoraj o] LT",lastWeek:function(){switch(this.day()){case 0:return"[W zesz\u0142\u0105 niedziel\u0119 o] LT";case 3:return"[W zesz\u0142\u0105 \u015brod\u0119 o] LT";case 6:return"[W zesz\u0142\u0105 sobot\u0119 o] LT";default:return"[W zesz\u0142y] dddd [o] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"%s temu",s:"kilka sekund",ss:g,m:g,mm:g,h:g,hh:g,d:"1 dzie\u0144",dd:"%d dni",w:"tydzie\u0144",ww:g,M:"miesi\u0105c",MM:g,y:"rok",yy:g},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(w(5439))},3840:function(se,q,w){!function(v){"use strict";v.defineLocale("pt-br",{months:"janeiro_fevereiro_mar\xe7o_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro".split("_"),monthsShort:"jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez".split("_"),weekdays:"domingo_segunda-feira_ter\xe7a-feira_quarta-feira_quinta-feira_sexta-feira_s\xe1bado".split("_"),weekdaysShort:"dom_seg_ter_qua_qui_sex_s\xe1b".split("_"),weekdaysMin:"do_2\xaa_3\xaa_4\xaa_5\xaa_6\xaa_s\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY [\xe0s] HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY [\xe0s] HH:mm"},calendar:{sameDay:"[Hoje \xe0s] LT",nextDay:"[Amanh\xe3 \xe0s] LT",nextWeek:"dddd [\xe0s] LT",lastDay:"[Ontem \xe0s] LT",lastWeek:function(){return 0===this.day()||6===this.day()?"[\xdaltimo] dddd [\xe0s] LT":"[\xdaltima] dddd [\xe0s] LT"},sameElse:"L"},relativeTime:{future:"em %s",past:"h\xe1 %s",s:"poucos segundos",ss:"%d segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",M:"um m\xeas",MM:"%d meses",y:"um ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",invalidDate:"Data inv\xe1lida"})}(w(5439))},4225:function(se,q,w){!function(v){"use strict";v.defineLocale("pt",{months:"janeiro_fevereiro_mar\xe7o_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro".split("_"),monthsShort:"jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez".split("_"),weekdays:"Domingo_Segunda-feira_Ter\xe7a-feira_Quarta-feira_Quinta-feira_Sexta-feira_S\xe1bado".split("_"),weekdaysShort:"Dom_Seg_Ter_Qua_Qui_Sex_S\xe1b".split("_"),weekdaysMin:"Do_2\xaa_3\xaa_4\xaa_5\xaa_6\xaa_S\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY HH:mm"},calendar:{sameDay:"[Hoje \xe0s] LT",nextDay:"[Amanh\xe3 \xe0s] LT",nextWeek:"dddd [\xe0s] LT",lastDay:"[Ontem \xe0s] LT",lastWeek:function(){return 0===this.day()||6===this.day()?"[\xdaltimo] dddd [\xe0s] LT":"[\xdaltima] dddd [\xe0s] LT"},sameElse:"L"},relativeTime:{future:"em %s",past:"h\xe1 %s",s:"segundos",ss:"%d segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",w:"uma semana",ww:"%d semanas",M:"um m\xeas",MM:"%d meses",y:"um ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(w(5439))},5128:function(se,q,w){!function(v){"use strict";function m(u,p,g){var b=" ";return(u%100>=20||u>=100&&u%100==0)&&(b=" de "),u+b+{ss:"secunde",mm:"minute",hh:"ore",dd:"zile",ww:"s\u0103pt\u0103m\xe2ni",MM:"luni",yy:"ani"}[g]}v.defineLocale("ro",{months:"ianuarie_februarie_martie_aprilie_mai_iunie_iulie_august_septembrie_octombrie_noiembrie_decembrie".split("_"),monthsShort:"ian._feb._mart._apr._mai_iun._iul._aug._sept._oct._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"duminic\u0103_luni_mar\u021bi_miercuri_joi_vineri_s\xe2mb\u0103t\u0103".split("_"),weekdaysShort:"Dum_Lun_Mar_Mie_Joi_Vin_S\xe2m".split("_"),weekdaysMin:"Du_Lu_Ma_Mi_Jo_Vi_S\xe2".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[azi la] LT",nextDay:"[m\xe2ine la] LT",nextWeek:"dddd [la] LT",lastDay:"[ieri la] LT",lastWeek:"[fosta] dddd [la] LT",sameElse:"L"},relativeTime:{future:"peste %s",past:"%s \xeen urm\u0103",s:"c\xe2teva secunde",ss:m,m:"un minut",mm:m,h:"o or\u0103",hh:m,d:"o zi",dd:m,w:"o s\u0103pt\u0103m\xe2n\u0103",ww:m,M:"o lun\u0103",MM:m,y:"un an",yy:m},week:{dow:1,doy:7}})}(w(5439))},5127:function(se,q,w){!function(v){"use strict";function d(g,y,b){return"m"===b?y?"\u043c\u0438\u043d\u0443\u0442\u0430":"\u043c\u0438\u043d\u0443\u0442\u0443":g+" "+function m(g,y){var b=g.split("_");return y%10==1&&y%100!=11?b[0]:y%10>=2&&y%10<=4&&(y%100<10||y%100>=20)?b[1]:b[2]}({ss:y?"\u0441\u0435\u043a\u0443\u043d\u0434\u0430_\u0441\u0435\u043a\u0443\u043d\u0434\u044b_\u0441\u0435\u043a\u0443\u043d\u0434":"\u0441\u0435\u043a\u0443\u043d\u0434\u0443_\u0441\u0435\u043a\u0443\u043d\u0434\u044b_\u0441\u0435\u043a\u0443\u043d\u0434",mm:y?"\u043c\u0438\u043d\u0443\u0442\u0430_\u043c\u0438\u043d\u0443\u0442\u044b_\u043c\u0438\u043d\u0443\u0442":"\u043c\u0438\u043d\u0443\u0442\u0443_\u043c\u0438\u043d\u0443\u0442\u044b_\u043c\u0438\u043d\u0443\u0442",hh:"\u0447\u0430\u0441_\u0447\u0430\u0441\u0430_\u0447\u0430\u0441\u043e\u0432",dd:"\u0434\u0435\u043d\u044c_\u0434\u043d\u044f_\u0434\u043d\u0435\u0439",ww:"\u043d\u0435\u0434\u0435\u043b\u044f_\u043d\u0435\u0434\u0435\u043b\u0438_\u043d\u0435\u0434\u0435\u043b\u044c",MM:"\u043c\u0435\u0441\u044f\u0446_\u043c\u0435\u0441\u044f\u0446\u0430_\u043c\u0435\u0441\u044f\u0446\u0435\u0432",yy:"\u0433\u043e\u0434_\u0433\u043e\u0434\u0430_\u043b\u0435\u0442"}[b],+g)}var u=[/^\u044f\u043d\u0432/i,/^\u0444\u0435\u0432/i,/^\u043c\u0430\u0440/i,/^\u0430\u043f\u0440/i,/^\u043c\u0430[\u0439\u044f]/i,/^\u0438\u044e\u043d/i,/^\u0438\u044e\u043b/i,/^\u0430\u0432\u0433/i,/^\u0441\u0435\u043d/i,/^\u043e\u043a\u0442/i,/^\u043d\u043e\u044f/i,/^\u0434\u0435\u043a/i];v.defineLocale("ru",{months:{format:"\u044f\u043d\u0432\u0430\u0440\u044f_\u0444\u0435\u0432\u0440\u0430\u043b\u044f_\u043c\u0430\u0440\u0442\u0430_\u0430\u043f\u0440\u0435\u043b\u044f_\u043c\u0430\u044f_\u0438\u044e\u043d\u044f_\u0438\u044e\u043b\u044f_\u0430\u0432\u0433\u0443\u0441\u0442\u0430_\u0441\u0435\u043d\u0442\u044f\u0431\u0440\u044f_\u043e\u043a\u0442\u044f\u0431\u0440\u044f_\u043d\u043e\u044f\u0431\u0440\u044f_\u0434\u0435\u043a\u0430\u0431\u0440\u044f".split("_"),standalone:"\u044f\u043d\u0432\u0430\u0440\u044c_\u0444\u0435\u0432\u0440\u0430\u043b\u044c_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0435\u043b\u044c_\u043c\u0430\u0439_\u0438\u044e\u043d\u044c_\u0438\u044e\u043b\u044c_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043d\u0442\u044f\u0431\u0440\u044c_\u043e\u043a\u0442\u044f\u0431\u0440\u044c_\u043d\u043e\u044f\u0431\u0440\u044c_\u0434\u0435\u043a\u0430\u0431\u0440\u044c".split("_")},monthsShort:{format:"\u044f\u043d\u0432._\u0444\u0435\u0432\u0440._\u043c\u0430\u0440._\u0430\u043f\u0440._\u043c\u0430\u044f_\u0438\u044e\u043d\u044f_\u0438\u044e\u043b\u044f_\u0430\u0432\u0433._\u0441\u0435\u043d\u0442._\u043e\u043a\u0442._\u043d\u043e\u044f\u0431._\u0434\u0435\u043a.".split("_"),standalone:"\u044f\u043d\u0432._\u0444\u0435\u0432\u0440._\u043c\u0430\u0440\u0442_\u0430\u043f\u0440._\u043c\u0430\u0439_\u0438\u044e\u043d\u044c_\u0438\u044e\u043b\u044c_\u0430\u0432\u0433._\u0441\u0435\u043d\u0442._\u043e\u043a\u0442._\u043d\u043e\u044f\u0431._\u0434\u0435\u043a.".split("_")},weekdays:{standalone:"\u0432\u043e\u0441\u043a\u0440\u0435\u0441\u0435\u043d\u044c\u0435_\u043f\u043e\u043d\u0435\u0434\u0435\u043b\u044c\u043d\u0438\u043a_\u0432\u0442\u043e\u0440\u043d\u0438\u043a_\u0441\u0440\u0435\u0434\u0430_\u0447\u0435\u0442\u0432\u0435\u0440\u0433_\u043f\u044f\u0442\u043d\u0438\u0446\u0430_\u0441\u0443\u0431\u0431\u043e\u0442\u0430".split("_"),format:"\u0432\u043e\u0441\u043a\u0440\u0435\u0441\u0435\u043d\u044c\u0435_\u043f\u043e\u043d\u0435\u0434\u0435\u043b\u044c\u043d\u0438\u043a_\u0432\u0442\u043e\u0440\u043d\u0438\u043a_\u0441\u0440\u0435\u0434\u0443_\u0447\u0435\u0442\u0432\u0435\u0440\u0433_\u043f\u044f\u0442\u043d\u0438\u0446\u0443_\u0441\u0443\u0431\u0431\u043e\u0442\u0443".split("_"),isFormat:/\[ ?[\u0412\u0432] ?(?:\u043f\u0440\u043e\u0448\u043b\u0443\u044e|\u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0443\u044e|\u044d\u0442\u0443)? ?] ?dddd/},weekdaysShort:"\u0432\u0441_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),weekdaysMin:"\u0432\u0441_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),monthsParse:u,longMonthsParse:u,shortMonthsParse:u,monthsRegex:/^(\u044f\u043d\u0432\u0430\u0440[\u044c\u044f]|\u044f\u043d\u0432\.?|\u0444\u0435\u0432\u0440\u0430\u043b[\u044c\u044f]|\u0444\u0435\u0432\u0440?\.?|\u043c\u0430\u0440\u0442\u0430?|\u043c\u0430\u0440\.?|\u0430\u043f\u0440\u0435\u043b[\u044c\u044f]|\u0430\u043f\u0440\.?|\u043c\u0430[\u0439\u044f]|\u0438\u044e\u043d[\u044c\u044f]|\u0438\u044e\u043d\.?|\u0438\u044e\u043b[\u044c\u044f]|\u0438\u044e\u043b\.?|\u0430\u0432\u0433\u0443\u0441\u0442\u0430?|\u0430\u0432\u0433\.?|\u0441\u0435\u043d\u0442\u044f\u0431\u0440[\u044c\u044f]|\u0441\u0435\u043d\u0442?\.?|\u043e\u043a\u0442\u044f\u0431\u0440[\u044c\u044f]|\u043e\u043a\u0442\.?|\u043d\u043e\u044f\u0431\u0440[\u044c\u044f]|\u043d\u043e\u044f\u0431?\.?|\u0434\u0435\u043a\u0430\u0431\u0440[\u044c\u044f]|\u0434\u0435\u043a\.?)/i,monthsShortRegex:/^(\u044f\u043d\u0432\u0430\u0440[\u044c\u044f]|\u044f\u043d\u0432\.?|\u0444\u0435\u0432\u0440\u0430\u043b[\u044c\u044f]|\u0444\u0435\u0432\u0440?\.?|\u043c\u0430\u0440\u0442\u0430?|\u043c\u0430\u0440\.?|\u0430\u043f\u0440\u0435\u043b[\u044c\u044f]|\u0430\u043f\u0440\.?|\u043c\u0430[\u0439\u044f]|\u0438\u044e\u043d[\u044c\u044f]|\u0438\u044e\u043d\.?|\u0438\u044e\u043b[\u044c\u044f]|\u0438\u044e\u043b\.?|\u0430\u0432\u0433\u0443\u0441\u0442\u0430?|\u0430\u0432\u0433\.?|\u0441\u0435\u043d\u0442\u044f\u0431\u0440[\u044c\u044f]|\u0441\u0435\u043d\u0442?\.?|\u043e\u043a\u0442\u044f\u0431\u0440[\u044c\u044f]|\u043e\u043a\u0442\.?|\u043d\u043e\u044f\u0431\u0440[\u044c\u044f]|\u043d\u043e\u044f\u0431?\.?|\u0434\u0435\u043a\u0430\u0431\u0440[\u044c\u044f]|\u0434\u0435\u043a\.?)/i,monthsStrictRegex:/^(\u044f\u043d\u0432\u0430\u0440[\u044f\u044c]|\u0444\u0435\u0432\u0440\u0430\u043b[\u044f\u044c]|\u043c\u0430\u0440\u0442\u0430?|\u0430\u043f\u0440\u0435\u043b[\u044f\u044c]|\u043c\u0430[\u044f\u0439]|\u0438\u044e\u043d[\u044f\u044c]|\u0438\u044e\u043b[\u044f\u044c]|\u0430\u0432\u0433\u0443\u0441\u0442\u0430?|\u0441\u0435\u043d\u0442\u044f\u0431\u0440[\u044f\u044c]|\u043e\u043a\u0442\u044f\u0431\u0440[\u044f\u044c]|\u043d\u043e\u044f\u0431\u0440[\u044f\u044c]|\u0434\u0435\u043a\u0430\u0431\u0440[\u044f\u044c])/i,monthsShortStrictRegex:/^(\u044f\u043d\u0432\.|\u0444\u0435\u0432\u0440?\.|\u043c\u0430\u0440[\u0442.]|\u0430\u043f\u0440\.|\u043c\u0430[\u044f\u0439]|\u0438\u044e\u043d[\u044c\u044f.]|\u0438\u044e\u043b[\u044c\u044f.]|\u0430\u0432\u0433\.|\u0441\u0435\u043d\u0442?\.|\u043e\u043a\u0442\.|\u043d\u043e\u044f\u0431?\.|\u0434\u0435\u043a\.)/i,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY \u0433.",LLL:"D MMMM YYYY \u0433., H:mm",LLLL:"dddd, D MMMM YYYY \u0433., H:mm"},calendar:{sameDay:"[\u0421\u0435\u0433\u043e\u0434\u043d\u044f, \u0432] LT",nextDay:"[\u0417\u0430\u0432\u0442\u0440\u0430, \u0432] LT",lastDay:"[\u0412\u0447\u0435\u0440\u0430, \u0432] LT",nextWeek:function(g){if(g.week()===this.week())return 2===this.day()?"[\u0412\u043e] dddd, [\u0432] LT":"[\u0412] dddd, [\u0432] LT";switch(this.day()){case 0:return"[\u0412 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u0435] dddd, [\u0432] LT";case 1:case 2:case 4:return"[\u0412 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0439] dddd, [\u0432] LT";case 3:case 5:case 6:return"[\u0412 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0443\u044e] dddd, [\u0432] LT"}},lastWeek:function(g){if(g.week()===this.week())return 2===this.day()?"[\u0412\u043e] dddd, [\u0432] LT":"[\u0412] dddd, [\u0432] LT";switch(this.day()){case 0:return"[\u0412 \u043f\u0440\u043e\u0448\u043b\u043e\u0435] dddd, [\u0432] LT";case 1:case 2:case 4:return"[\u0412 \u043f\u0440\u043e\u0448\u043b\u044b\u0439] dddd, [\u0432] LT";case 3:case 5:case 6:return"[\u0412 \u043f\u0440\u043e\u0448\u043b\u0443\u044e] dddd, [\u0432] LT"}},sameElse:"L"},relativeTime:{future:"\u0447\u0435\u0440\u0435\u0437 %s",past:"%s \u043d\u0430\u0437\u0430\u0434",s:"\u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0441\u0435\u043a\u0443\u043d\u0434",ss:d,m:d,mm:d,h:"\u0447\u0430\u0441",hh:d,d:"\u0434\u0435\u043d\u044c",dd:d,w:"\u043d\u0435\u0434\u0435\u043b\u044f",ww:d,M:"\u043c\u0435\u0441\u044f\u0446",MM:d,y:"\u0433\u043e\u0434",yy:d},meridiemParse:/\u043d\u043e\u0447\u0438|\u0443\u0442\u0440\u0430|\u0434\u043d\u044f|\u0432\u0435\u0447\u0435\u0440\u0430/i,isPM:function(g){return/^(\u0434\u043d\u044f|\u0432\u0435\u0447\u0435\u0440\u0430)$/.test(g)},meridiem:function(g,y,b){return g<4?"\u043d\u043e\u0447\u0438":g<12?"\u0443\u0442\u0440\u0430":g<17?"\u0434\u043d\u044f":"\u0432\u0435\u0447\u0435\u0440\u0430"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0439|\u0433\u043e|\u044f)/,ordinal:function(g,y){switch(y){case"M":case"d":case"DDD":return g+"-\u0439";case"D":return g+"-\u0433\u043e";case"w":case"W":return g+"-\u044f";default:return g}},week:{dow:1,doy:4}})}(w(5439))},2525:function(se,q,w){!function(v){"use strict";var m=["\u062c\u0646\u0648\u0631\u064a","\u0641\u064a\u0628\u0631\u0648\u0631\u064a","\u0645\u0627\u0631\u0686","\u0627\u067e\u0631\u064a\u0644","\u0645\u0626\u064a","\u062c\u0648\u0646","\u062c\u0648\u0644\u0627\u0621\u0650","\u0622\u06af\u0633\u067d","\u0633\u064a\u067e\u067d\u0645\u0628\u0631","\u0622\u06aa\u067d\u0648\u0628\u0631","\u0646\u0648\u0645\u0628\u0631","\u068a\u0633\u0645\u0628\u0631"],d=["\u0622\u0686\u0631","\u0633\u0648\u0645\u0631","\u0627\u06b1\u0627\u0631\u0648","\u0627\u0631\u0628\u0639","\u062e\u0645\u064a\u0633","\u062c\u0645\u0639","\u0687\u0646\u0687\u0631"];v.defineLocale("sd",{months:m,monthsShort:m,weekdays:d,weekdaysShort:d,weekdaysMin:d,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd\u060c D MMMM YYYY HH:mm"},meridiemParse:/\u0635\u0628\u062d|\u0634\u0627\u0645/,isPM:function(p){return"\u0634\u0627\u0645"===p},meridiem:function(p,g,y){return p<12?"\u0635\u0628\u062d":"\u0634\u0627\u0645"},calendar:{sameDay:"[\u0627\u0684] LT",nextDay:"[\u0633\u0680\u0627\u06bb\u064a] LT",nextWeek:"dddd [\u0627\u06b3\u064a\u0646 \u0647\u0641\u062a\u064a \u062a\u064a] LT",lastDay:"[\u06aa\u0627\u0644\u0647\u0647] LT",lastWeek:"[\u06af\u0632\u0631\u064a\u0644 \u0647\u0641\u062a\u064a] dddd [\u062a\u064a] LT",sameElse:"L"},relativeTime:{future:"%s \u067e\u0648\u0621",past:"%s \u0627\u06b3",s:"\u0686\u0646\u062f \u0633\u064a\u06aa\u0646\u068a",ss:"%d \u0633\u064a\u06aa\u0646\u068a",m:"\u0647\u06aa \u0645\u0646\u067d",mm:"%d \u0645\u0646\u067d",h:"\u0647\u06aa \u06aa\u0644\u0627\u06aa",hh:"%d \u06aa\u0644\u0627\u06aa",d:"\u0647\u06aa \u068f\u064a\u0646\u0647\u0646",dd:"%d \u068f\u064a\u0646\u0647\u0646",M:"\u0647\u06aa \u0645\u0647\u064a\u0646\u0648",MM:"%d \u0645\u0647\u064a\u0646\u0627",y:"\u0647\u06aa \u0633\u0627\u0644",yy:"%d \u0633\u0627\u0644"},preparse:function(p){return p.replace(/\u060c/g,",")},postformat:function(p){return p.replace(/,/g,"\u060c")},week:{dow:1,doy:4}})}(w(5439))},9893:function(se,q,w){!function(v){"use strict";v.defineLocale("se",{months:"o\u0111\u0111ajagem\xe1nnu_guovvam\xe1nnu_njuk\u010dam\xe1nnu_cuo\u014bom\xe1nnu_miessem\xe1nnu_geassem\xe1nnu_suoidnem\xe1nnu_borgem\xe1nnu_\u010dak\u010dam\xe1nnu_golggotm\xe1nnu_sk\xe1bmam\xe1nnu_juovlam\xe1nnu".split("_"),monthsShort:"o\u0111\u0111j_guov_njuk_cuo_mies_geas_suoi_borg_\u010dak\u010d_golg_sk\xe1b_juov".split("_"),weekdays:"sotnabeaivi_vuoss\xe1rga_ma\u014b\u014beb\xe1rga_gaskavahkku_duorastat_bearjadat_l\xe1vvardat".split("_"),weekdaysShort:"sotn_vuos_ma\u014b_gask_duor_bear_l\xe1v".split("_"),weekdaysMin:"s_v_m_g_d_b_L".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"MMMM D. [b.] YYYY",LLL:"MMMM D. [b.] YYYY [ti.] HH:mm",LLLL:"dddd, MMMM D. [b.] YYYY [ti.] HH:mm"},calendar:{sameDay:"[otne ti] LT",nextDay:"[ihttin ti] LT",nextWeek:"dddd [ti] LT",lastDay:"[ikte ti] LT",lastWeek:"[ovddit] dddd [ti] LT",sameElse:"L"},relativeTime:{future:"%s gea\u017ees",past:"ma\u014bit %s",s:"moadde sekunddat",ss:"%d sekunddat",m:"okta minuhta",mm:"%d minuhtat",h:"okta diimmu",hh:"%d diimmut",d:"okta beaivi",dd:"%d beaivvit",M:"okta m\xe1nnu",MM:"%d m\xe1nut",y:"okta jahki",yy:"%d jagit"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(w(5439))},3123:function(se,q,w){!function(v){"use strict";v.defineLocale("si",{months:"\u0da2\u0db1\u0dc0\u0dcf\u0dbb\u0dd2_\u0db4\u0dd9\u0db6\u0dbb\u0dc0\u0dcf\u0dbb\u0dd2_\u0db8\u0dcf\u0dbb\u0dca\u0dad\u0dd4_\u0d85\u0db4\u0dca\u200d\u0dbb\u0dda\u0dbd\u0dca_\u0db8\u0dd0\u0dba\u0dd2_\u0da2\u0dd6\u0db1\u0dd2_\u0da2\u0dd6\u0dbd\u0dd2_\u0d85\u0d9c\u0ddd\u0dc3\u0dca\u0dad\u0dd4_\u0dc3\u0dd0\u0db4\u0dca\u0dad\u0dd0\u0db8\u0dca\u0db6\u0dbb\u0dca_\u0d94\u0d9a\u0dca\u0dad\u0ddd\u0db6\u0dbb\u0dca_\u0db1\u0ddc\u0dc0\u0dd0\u0db8\u0dca\u0db6\u0dbb\u0dca_\u0daf\u0dd9\u0dc3\u0dd0\u0db8\u0dca\u0db6\u0dbb\u0dca".split("_"),monthsShort:"\u0da2\u0db1_\u0db4\u0dd9\u0db6_\u0db8\u0dcf\u0dbb\u0dca_\u0d85\u0db4\u0dca_\u0db8\u0dd0\u0dba\u0dd2_\u0da2\u0dd6\u0db1\u0dd2_\u0da2\u0dd6\u0dbd\u0dd2_\u0d85\u0d9c\u0ddd_\u0dc3\u0dd0\u0db4\u0dca_\u0d94\u0d9a\u0dca_\u0db1\u0ddc\u0dc0\u0dd0_\u0daf\u0dd9\u0dc3\u0dd0".split("_"),weekdays:"\u0d89\u0dbb\u0dd2\u0daf\u0dcf_\u0dc3\u0db3\u0dd4\u0daf\u0dcf_\u0d85\u0d9f\u0dc4\u0dbb\u0dd4\u0dc0\u0dcf\u0daf\u0dcf_\u0db6\u0daf\u0dcf\u0daf\u0dcf_\u0db6\u0dca\u200d\u0dbb\u0dc4\u0dc3\u0dca\u0db4\u0dad\u0dd2\u0db1\u0dca\u0daf\u0dcf_\u0dc3\u0dd2\u0d9a\u0dd4\u0dbb\u0dcf\u0daf\u0dcf_\u0dc3\u0dd9\u0db1\u0dc3\u0dd4\u0dbb\u0dcf\u0daf\u0dcf".split("_"),weekdaysShort:"\u0d89\u0dbb\u0dd2_\u0dc3\u0db3\u0dd4_\u0d85\u0d9f_\u0db6\u0daf\u0dcf_\u0db6\u0dca\u200d\u0dbb\u0dc4_\u0dc3\u0dd2\u0d9a\u0dd4_\u0dc3\u0dd9\u0db1".split("_"),weekdaysMin:"\u0d89_\u0dc3_\u0d85_\u0db6_\u0db6\u0dca\u200d\u0dbb_\u0dc3\u0dd2_\u0dc3\u0dd9".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"a h:mm",LTS:"a h:mm:ss",L:"YYYY/MM/DD",LL:"YYYY MMMM D",LLL:"YYYY MMMM D, a h:mm",LLLL:"YYYY MMMM D [\u0dc0\u0dd0\u0db1\u0dd2] dddd, a h:mm:ss"},calendar:{sameDay:"[\u0d85\u0daf] LT[\u0da7]",nextDay:"[\u0dc4\u0dd9\u0da7] LT[\u0da7]",nextWeek:"dddd LT[\u0da7]",lastDay:"[\u0d8a\u0dba\u0dda] LT[\u0da7]",lastWeek:"[\u0db4\u0dc3\u0dd4\u0d9c\u0dd2\u0dba] dddd LT[\u0da7]",sameElse:"L"},relativeTime:{future:"%s\u0d9a\u0dd2\u0db1\u0dca",past:"%s\u0d9a\u0da7 \u0db4\u0dd9\u0dbb",s:"\u0dad\u0dad\u0dca\u0db4\u0dbb \u0d9a\u0dd2\u0dc4\u0dd2\u0db4\u0dba",ss:"\u0dad\u0dad\u0dca\u0db4\u0dbb %d",m:"\u0db8\u0dd2\u0db1\u0dd2\u0dad\u0dca\u0dad\u0dd4\u0dc0",mm:"\u0db8\u0dd2\u0db1\u0dd2\u0dad\u0dca\u0dad\u0dd4 %d",h:"\u0db4\u0dd0\u0dba",hh:"\u0db4\u0dd0\u0dba %d",d:"\u0daf\u0dd2\u0db1\u0dba",dd:"\u0daf\u0dd2\u0db1 %d",M:"\u0db8\u0dcf\u0dc3\u0dba",MM:"\u0db8\u0dcf\u0dc3 %d",y:"\u0dc0\u0dc3\u0dbb",yy:"\u0dc0\u0dc3\u0dbb %d"},dayOfMonthOrdinalParse:/\d{1,2} \u0dc0\u0dd0\u0db1\u0dd2/,ordinal:function(d){return d+" \u0dc0\u0dd0\u0db1\u0dd2"},meridiemParse:/\u0db4\u0dd9\u0dbb \u0dc0\u0dbb\u0dd4|\u0db4\u0dc3\u0dca \u0dc0\u0dbb\u0dd4|\u0db4\u0dd9.\u0dc0|\u0db4.\u0dc0./,isPM:function(d){return"\u0db4.\u0dc0."===d||"\u0db4\u0dc3\u0dca \u0dc0\u0dbb\u0dd4"===d},meridiem:function(d,u,p){return d>11?p?"\u0db4.\u0dc0.":"\u0db4\u0dc3\u0dca \u0dc0\u0dbb\u0dd4":p?"\u0db4\u0dd9.\u0dc0.":"\u0db4\u0dd9\u0dbb \u0dc0\u0dbb\u0dd4"}})}(w(5439))},9635:function(se,q,w){!function(v){"use strict";var m="janu\xe1r_febru\xe1r_marec_apr\xedl_m\xe1j_j\xfan_j\xfal_august_september_okt\xf3ber_november_december".split("_"),d="jan_feb_mar_apr_m\xe1j_j\xfan_j\xfal_aug_sep_okt_nov_dec".split("_");function u(y){return y>1&&y<5}function p(y,b,C,P){var N=y+" ";switch(C){case"s":return b||P?"p\xe1r sek\xfand":"p\xe1r sekundami";case"ss":return b||P?N+(u(y)?"sekundy":"sek\xfand"):N+"sekundami";case"m":return b?"min\xfata":P?"min\xfatu":"min\xfatou";case"mm":return b||P?N+(u(y)?"min\xfaty":"min\xfat"):N+"min\xfatami";case"h":return b?"hodina":P?"hodinu":"hodinou";case"hh":return b||P?N+(u(y)?"hodiny":"hod\xedn"):N+"hodinami";case"d":return b||P?"de\u0148":"d\u0148om";case"dd":return b||P?N+(u(y)?"dni":"dn\xed"):N+"d\u0148ami";case"M":return b||P?"mesiac":"mesiacom";case"MM":return b||P?N+(u(y)?"mesiace":"mesiacov"):N+"mesiacmi";case"y":return b||P?"rok":"rokom";case"yy":return b||P?N+(u(y)?"roky":"rokov"):N+"rokmi"}}v.defineLocale("sk",{months:m,monthsShort:d,weekdays:"nede\u013ea_pondelok_utorok_streda_\u0161tvrtok_piatok_sobota".split("_"),weekdaysShort:"ne_po_ut_st_\u0161t_pi_so".split("_"),weekdaysMin:"ne_po_ut_st_\u0161t_pi_so".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd D. MMMM YYYY H:mm"},calendar:{sameDay:"[dnes o] LT",nextDay:"[zajtra o] LT",nextWeek:function(){switch(this.day()){case 0:return"[v nede\u013eu o] LT";case 1:case 2:return"[v] dddd [o] LT";case 3:return"[v stredu o] LT";case 4:return"[vo \u0161tvrtok o] LT";case 5:return"[v piatok o] LT";case 6:return"[v sobotu o] LT"}},lastDay:"[v\u010dera o] LT",lastWeek:function(){switch(this.day()){case 0:return"[minul\xfa nede\u013eu o] LT";case 1:case 2:case 4:case 5:return"[minul\xfd] dddd [o] LT";case 3:return"[minul\xfa stredu o] LT";case 6:return"[minul\xfa sobotu o] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"pred %s",s:p,ss:p,m:p,mm:p,h:p,hh:p,d:p,dd:p,M:p,MM:p,y:p,yy:p},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(w(5439))},8106:function(se,q,w){!function(v){"use strict";function m(u,p,g,y){var b=u+" ";switch(g){case"s":return p||y?"nekaj sekund":"nekaj sekundami";case"ss":return b+(1===u?p?"sekundo":"sekundi":2===u?p||y?"sekundi":"sekundah":u<5?p||y?"sekunde":"sekundah":"sekund");case"m":return p?"ena minuta":"eno minuto";case"mm":return b+(1===u?p?"minuta":"minuto":2===u?p||y?"minuti":"minutama":u<5?p||y?"minute":"minutami":p||y?"minut":"minutami");case"h":return p?"ena ura":"eno uro";case"hh":return b+(1===u?p?"ura":"uro":2===u?p||y?"uri":"urama":u<5?p||y?"ure":"urami":p||y?"ur":"urami");case"d":return p||y?"en dan":"enim dnem";case"dd":return b+(1===u?p||y?"dan":"dnem":2===u?p||y?"dni":"dnevoma":p||y?"dni":"dnevi");case"M":return p||y?"en mesec":"enim mesecem";case"MM":return b+(1===u?p||y?"mesec":"mesecem":2===u?p||y?"meseca":"mesecema":u<5?p||y?"mesece":"meseci":p||y?"mesecev":"meseci");case"y":return p||y?"eno leto":"enim letom";case"yy":return b+(1===u?p||y?"leto":"letom":2===u?p||y?"leti":"letoma":u<5?p||y?"leta":"leti":p||y?"let":"leti")}}v.defineLocale("sl",{months:"januar_februar_marec_april_maj_junij_julij_avgust_september_oktober_november_december".split("_"),monthsShort:"jan._feb._mar._apr._maj._jun._jul._avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedelja_ponedeljek_torek_sreda_\u010detrtek_petek_sobota".split("_"),weekdaysShort:"ned._pon._tor._sre._\u010det._pet._sob.".split("_"),weekdaysMin:"ne_po_to_sr_\u010de_pe_so".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD. MM. YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danes ob] LT",nextDay:"[jutri ob] LT",nextWeek:function(){switch(this.day()){case 0:return"[v] [nedeljo] [ob] LT";case 3:return"[v] [sredo] [ob] LT";case 6:return"[v] [soboto] [ob] LT";case 1:case 2:case 4:case 5:return"[v] dddd [ob] LT"}},lastDay:"[v\u010deraj ob] LT",lastWeek:function(){switch(this.day()){case 0:return"[prej\u0161njo] [nedeljo] [ob] LT";case 3:return"[prej\u0161njo] [sredo] [ob] LT";case 6:return"[prej\u0161njo] [soboto] [ob] LT";case 1:case 2:case 4:case 5:return"[prej\u0161nji] dddd [ob] LT"}},sameElse:"L"},relativeTime:{future:"\u010dez %s",past:"pred %s",s:m,ss:m,m,mm:m,h:m,hh:m,d:m,dd:m,M:m,MM:m,y:m,yy:m},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(w(5439))},8799:function(se,q,w){!function(v){"use strict";v.defineLocale("sq",{months:"Janar_Shkurt_Mars_Prill_Maj_Qershor_Korrik_Gusht_Shtator_Tetor_N\xebntor_Dhjetor".split("_"),monthsShort:"Jan_Shk_Mar_Pri_Maj_Qer_Kor_Gus_Sht_Tet_N\xebn_Dhj".split("_"),weekdays:"E Diel_E H\xebn\xeb_E Mart\xeb_E M\xebrkur\xeb_E Enjte_E Premte_E Shtun\xeb".split("_"),weekdaysShort:"Die_H\xebn_Mar_M\xebr_Enj_Pre_Sht".split("_"),weekdaysMin:"D_H_Ma_M\xeb_E_P_Sh".split("_"),weekdaysParseExact:!0,meridiemParse:/PD|MD/,isPM:function(d){return"M"===d.charAt(0)},meridiem:function(d,u,p){return d<12?"PD":"MD"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Sot n\xeb] LT",nextDay:"[Nes\xebr n\xeb] LT",nextWeek:"dddd [n\xeb] LT",lastDay:"[Dje n\xeb] LT",lastWeek:"dddd [e kaluar n\xeb] LT",sameElse:"L"},relativeTime:{future:"n\xeb %s",past:"%s m\xeb par\xeb",s:"disa sekonda",ss:"%d sekonda",m:"nj\xeb minut\xeb",mm:"%d minuta",h:"nj\xeb or\xeb",hh:"%d or\xeb",d:"nj\xeb dit\xeb",dd:"%d dit\xeb",M:"nj\xeb muaj",MM:"%d muaj",y:"nj\xeb vit",yy:"%d vite"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(w(5439))},2872:function(se,q,w){!function(v){"use strict";var m={words:{ss:["\u0441\u0435\u043a\u0443\u043d\u0434\u0430","\u0441\u0435\u043a\u0443\u043d\u0434\u0435","\u0441\u0435\u043a\u0443\u043d\u0434\u0438"],m:["\u0458\u0435\u0434\u0430\u043d \u043c\u0438\u043d\u0443\u0442","\u0458\u0435\u0434\u043d\u043e\u0433 \u043c\u0438\u043d\u0443\u0442\u0430"],mm:["\u043c\u0438\u043d\u0443\u0442","\u043c\u0438\u043d\u0443\u0442\u0430","\u043c\u0438\u043d\u0443\u0442\u0430"],h:["\u0458\u0435\u0434\u0430\u043d \u0441\u0430\u0442","\u0458\u0435\u0434\u043d\u043e\u0433 \u0441\u0430\u0442\u0430"],hh:["\u0441\u0430\u0442","\u0441\u0430\u0442\u0430","\u0441\u0430\u0442\u0438"],d:["\u0458\u0435\u0434\u0430\u043d \u0434\u0430\u043d","\u0458\u0435\u0434\u043d\u043e\u0433 \u0434\u0430\u043d\u0430"],dd:["\u0434\u0430\u043d","\u0434\u0430\u043d\u0430","\u0434\u0430\u043d\u0430"],M:["\u0458\u0435\u0434\u0430\u043d \u043c\u0435\u0441\u0435\u0446","\u0458\u0435\u0434\u043d\u043e\u0433 \u043c\u0435\u0441\u0435\u0446\u0430"],MM:["\u043c\u0435\u0441\u0435\u0446","\u043c\u0435\u0441\u0435\u0446\u0430","\u043c\u0435\u0441\u0435\u0446\u0438"],y:["\u0458\u0435\u0434\u043d\u0443 \u0433\u043e\u0434\u0438\u043d\u0443","\u0458\u0435\u0434\u043d\u0435 \u0433\u043e\u0434\u0438\u043d\u0435"],yy:["\u0433\u043e\u0434\u0438\u043d\u0443","\u0433\u043e\u0434\u0438\u043d\u0435","\u0433\u043e\u0434\u0438\u043d\u0430"]},correctGrammaticalCase:function(u,p){return u%10>=1&&u%10<=4&&(u%100<10||u%100>=20)?u%10==1?p[0]:p[1]:p[2]},translate:function(u,p,g,y){var C,b=m.words[g];return 1===g.length?"y"===g&&p?"\u0458\u0435\u0434\u043d\u0430 \u0433\u043e\u0434\u0438\u043d\u0430":y||p?b[0]:b[1]:(C=m.correctGrammaticalCase(u,b),"yy"===g&&p&&"\u0433\u043e\u0434\u0438\u043d\u0443"===C?u+" \u0433\u043e\u0434\u0438\u043d\u0430":u+" "+C)}};v.defineLocale("sr-cyrl",{months:"\u0458\u0430\u043d\u0443\u0430\u0440_\u0444\u0435\u0431\u0440\u0443\u0430\u0440_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0438\u043b_\u043c\u0430\u0458_\u0458\u0443\u043d_\u0458\u0443\u043b_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043f\u0442\u0435\u043c\u0431\u0430\u0440_\u043e\u043a\u0442\u043e\u0431\u0430\u0440_\u043d\u043e\u0432\u0435\u043c\u0431\u0430\u0440_\u0434\u0435\u0446\u0435\u043c\u0431\u0430\u0440".split("_"),monthsShort:"\u0458\u0430\u043d._\u0444\u0435\u0431._\u043c\u0430\u0440._\u0430\u043f\u0440._\u043c\u0430\u0458_\u0458\u0443\u043d_\u0458\u0443\u043b_\u0430\u0432\u0433._\u0441\u0435\u043f._\u043e\u043a\u0442._\u043d\u043e\u0432._\u0434\u0435\u0446.".split("_"),monthsParseExact:!0,weekdays:"\u043d\u0435\u0434\u0435\u0459\u0430_\u043f\u043e\u043d\u0435\u0434\u0435\u0459\u0430\u043a_\u0443\u0442\u043e\u0440\u0430\u043a_\u0441\u0440\u0435\u0434\u0430_\u0447\u0435\u0442\u0432\u0440\u0442\u0430\u043a_\u043f\u0435\u0442\u0430\u043a_\u0441\u0443\u0431\u043e\u0442\u0430".split("_"),weekdaysShort:"\u043d\u0435\u0434._\u043f\u043e\u043d._\u0443\u0442\u043e._\u0441\u0440\u0435._\u0447\u0435\u0442._\u043f\u0435\u0442._\u0441\u0443\u0431.".split("_"),weekdaysMin:"\u043d\u0435_\u043f\u043e_\u0443\u0442_\u0441\u0440_\u0447\u0435_\u043f\u0435_\u0441\u0443".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D. M. YYYY.",LL:"D. MMMM YYYY.",LLL:"D. MMMM YYYY. H:mm",LLLL:"dddd, D. MMMM YYYY. H:mm"},calendar:{sameDay:"[\u0434\u0430\u043d\u0430\u0441 \u0443] LT",nextDay:"[\u0441\u0443\u0442\u0440\u0430 \u0443] LT",nextWeek:function(){switch(this.day()){case 0:return"[\u0443] [\u043d\u0435\u0434\u0435\u0459\u0443] [\u0443] LT";case 3:return"[\u0443] [\u0441\u0440\u0435\u0434\u0443] [\u0443] LT";case 6:return"[\u0443] [\u0441\u0443\u0431\u043e\u0442\u0443] [\u0443] LT";case 1:case 2:case 4:case 5:return"[\u0443] dddd [\u0443] LT"}},lastDay:"[\u0458\u0443\u0447\u0435 \u0443] LT",lastWeek:function(){return["[\u043f\u0440\u043e\u0448\u043b\u0435] [\u043d\u0435\u0434\u0435\u0459\u0435] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u043e\u0433] [\u043f\u043e\u043d\u0435\u0434\u0435\u0459\u043a\u0430] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u043e\u0433] [\u0443\u0442\u043e\u0440\u043a\u0430] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u0435] [\u0441\u0440\u0435\u0434\u0435] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u043e\u0433] [\u0447\u0435\u0442\u0432\u0440\u0442\u043a\u0430] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u043e\u0433] [\u043f\u0435\u0442\u043a\u0430] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u0435] [\u0441\u0443\u0431\u043e\u0442\u0435] [\u0443] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"\u0437\u0430 %s",past:"\u043f\u0440\u0435 %s",s:"\u043d\u0435\u043a\u043e\u043b\u0438\u043a\u043e \u0441\u0435\u043a\u0443\u043d\u0434\u0438",ss:m.translate,m:m.translate,mm:m.translate,h:m.translate,hh:m.translate,d:m.translate,dd:m.translate,M:m.translate,MM:m.translate,y:m.translate,yy:m.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(w(5439))},7949:function(se,q,w){!function(v){"use strict";var m={words:{ss:["sekunda","sekunde","sekundi"],m:["jedan minut","jednog minuta"],mm:["minut","minuta","minuta"],h:["jedan sat","jednog sata"],hh:["sat","sata","sati"],d:["jedan dan","jednog dana"],dd:["dan","dana","dana"],M:["jedan mesec","jednog meseca"],MM:["mesec","meseca","meseci"],y:["jednu godinu","jedne godine"],yy:["godinu","godine","godina"]},correctGrammaticalCase:function(u,p){return u%10>=1&&u%10<=4&&(u%100<10||u%100>=20)?u%10==1?p[0]:p[1]:p[2]},translate:function(u,p,g,y){var C,b=m.words[g];return 1===g.length?"y"===g&&p?"jedna godina":y||p?b[0]:b[1]:(C=m.correctGrammaticalCase(u,b),"yy"===g&&p&&"godinu"===C?u+" godina":u+" "+C)}};v.defineLocale("sr",{months:"januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedelja_ponedeljak_utorak_sreda_\u010detvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sre._\u010det._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_\u010de_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D. M. YYYY.",LL:"D. MMMM YYYY.",LLL:"D. MMMM YYYY. H:mm",LLLL:"dddd, D. MMMM YYYY. H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedelju] [u] LT";case 3:return"[u] [sredu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[ju\u010de u] LT",lastWeek:function(){return["[pro\u0161le] [nedelje] [u] LT","[pro\u0161log] [ponedeljka] [u] LT","[pro\u0161log] [utorka] [u] LT","[pro\u0161le] [srede] [u] LT","[pro\u0161log] [\u010detvrtka] [u] LT","[pro\u0161log] [petka] [u] LT","[pro\u0161le] [subote] [u] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"za %s",past:"pre %s",s:"nekoliko sekundi",ss:m.translate,m:m.translate,mm:m.translate,h:m.translate,hh:m.translate,d:m.translate,dd:m.translate,M:m.translate,MM:m.translate,y:m.translate,yy:m.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(w(5439))},6167:function(se,q,w){!function(v){"use strict";v.defineLocale("ss",{months:"Bhimbidvwane_Indlovana_Indlov'lenkhulu_Mabasa_Inkhwekhweti_Inhlaba_Kholwane_Ingci_Inyoni_Imphala_Lweti_Ingongoni".split("_"),monthsShort:"Bhi_Ina_Inu_Mab_Ink_Inh_Kho_Igc_Iny_Imp_Lwe_Igo".split("_"),weekdays:"Lisontfo_Umsombuluko_Lesibili_Lesitsatfu_Lesine_Lesihlanu_Umgcibelo".split("_"),weekdaysShort:"Lis_Umb_Lsb_Les_Lsi_Lsh_Umg".split("_"),weekdaysMin:"Li_Us_Lb_Lt_Ls_Lh_Ug".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Namuhla nga] LT",nextDay:"[Kusasa nga] LT",nextWeek:"dddd [nga] LT",lastDay:"[Itolo nga] LT",lastWeek:"dddd [leliphelile] [nga] LT",sameElse:"L"},relativeTime:{future:"nga %s",past:"wenteka nga %s",s:"emizuzwana lomcane",ss:"%d mzuzwana",m:"umzuzu",mm:"%d emizuzu",h:"lihora",hh:"%d emahora",d:"lilanga",dd:"%d emalanga",M:"inyanga",MM:"%d tinyanga",y:"umnyaka",yy:"%d iminyaka"},meridiemParse:/ekuseni|emini|entsambama|ebusuku/,meridiem:function(d,u,p){return d<11?"ekuseni":d<15?"emini":d<19?"entsambama":"ebusuku"},meridiemHour:function(d,u){return 12===d&&(d=0),"ekuseni"===u?d:"emini"===u?d>=11?d:d+12:"entsambama"===u||"ebusuku"===u?0===d?0:d+12:void 0},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:"%d",week:{dow:1,doy:4}})}(w(5439))},9713:function(se,q,w){!function(v){"use strict";v.defineLocale("sv",{months:"januari_februari_mars_april_maj_juni_juli_augusti_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"),weekdays:"s\xf6ndag_m\xe5ndag_tisdag_onsdag_torsdag_fredag_l\xf6rdag".split("_"),weekdaysShort:"s\xf6n_m\xe5n_tis_ons_tor_fre_l\xf6r".split("_"),weekdaysMin:"s\xf6_m\xe5_ti_on_to_fr_l\xf6".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [kl.] HH:mm",LLLL:"dddd D MMMM YYYY [kl.] HH:mm",lll:"D MMM YYYY HH:mm",llll:"ddd D MMM YYYY HH:mm"},calendar:{sameDay:"[Idag] LT",nextDay:"[Imorgon] LT",lastDay:"[Ig\xe5r] LT",nextWeek:"[P\xe5] dddd LT",lastWeek:"[I] dddd[s] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"f\xf6r %s sedan",s:"n\xe5gra sekunder",ss:"%d sekunder",m:"en minut",mm:"%d minuter",h:"en timme",hh:"%d timmar",d:"en dag",dd:"%d dagar",M:"en m\xe5nad",MM:"%d m\xe5nader",y:"ett \xe5r",yy:"%d \xe5r"},dayOfMonthOrdinalParse:/\d{1,2}(\:e|\:a)/,ordinal:function(d){var u=d%10;return d+(1==~~(d%100/10)?":e":1===u||2===u?":a":":e")},week:{dow:1,doy:4}})}(w(5439))},1982:function(se,q,w){!function(v){"use strict";v.defineLocale("sw",{months:"Januari_Februari_Machi_Aprili_Mei_Juni_Julai_Agosti_Septemba_Oktoba_Novemba_Desemba".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ago_Sep_Okt_Nov_Des".split("_"),weekdays:"Jumapili_Jumatatu_Jumanne_Jumatano_Alhamisi_Ijumaa_Jumamosi".split("_"),weekdaysShort:"Jpl_Jtat_Jnne_Jtan_Alh_Ijm_Jmos".split("_"),weekdaysMin:"J2_J3_J4_J5_Al_Ij_J1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"hh:mm A",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[leo saa] LT",nextDay:"[kesho saa] LT",nextWeek:"[wiki ijayo] dddd [saat] LT",lastDay:"[jana] LT",lastWeek:"[wiki iliyopita] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s baadaye",past:"tokea %s",s:"hivi punde",ss:"sekunde %d",m:"dakika moja",mm:"dakika %d",h:"saa limoja",hh:"masaa %d",d:"siku moja",dd:"siku %d",M:"mwezi mmoja",MM:"miezi %d",y:"mwaka mmoja",yy:"miaka %d"},week:{dow:1,doy:7}})}(w(5439))},2732:function(se,q,w){!function(v){"use strict";var m={1:"\u0be7",2:"\u0be8",3:"\u0be9",4:"\u0bea",5:"\u0beb",6:"\u0bec",7:"\u0bed",8:"\u0bee",9:"\u0bef",0:"\u0be6"},d={"\u0be7":"1","\u0be8":"2","\u0be9":"3","\u0bea":"4","\u0beb":"5","\u0bec":"6","\u0bed":"7","\u0bee":"8","\u0bef":"9","\u0be6":"0"};v.defineLocale("ta",{months:"\u0b9c\u0ba9\u0bb5\u0bb0\u0bbf_\u0baa\u0bbf\u0baa\u0bcd\u0bb0\u0bb5\u0bb0\u0bbf_\u0bae\u0bbe\u0bb0\u0bcd\u0b9a\u0bcd_\u0b8f\u0baa\u0bcd\u0bb0\u0bb2\u0bcd_\u0bae\u0bc7_\u0b9c\u0bc2\u0ba9\u0bcd_\u0b9c\u0bc2\u0bb2\u0bc8_\u0b86\u0b95\u0bb8\u0bcd\u0b9f\u0bcd_\u0b9a\u0bc6\u0baa\u0bcd\u0b9f\u0bc6\u0bae\u0bcd\u0baa\u0bb0\u0bcd_\u0b85\u0b95\u0bcd\u0b9f\u0bc7\u0bbe\u0baa\u0bb0\u0bcd_\u0ba8\u0bb5\u0bae\u0bcd\u0baa\u0bb0\u0bcd_\u0b9f\u0bbf\u0b9a\u0bae\u0bcd\u0baa\u0bb0\u0bcd".split("_"),monthsShort:"\u0b9c\u0ba9\u0bb5\u0bb0\u0bbf_\u0baa\u0bbf\u0baa\u0bcd\u0bb0\u0bb5\u0bb0\u0bbf_\u0bae\u0bbe\u0bb0\u0bcd\u0b9a\u0bcd_\u0b8f\u0baa\u0bcd\u0bb0\u0bb2\u0bcd_\u0bae\u0bc7_\u0b9c\u0bc2\u0ba9\u0bcd_\u0b9c\u0bc2\u0bb2\u0bc8_\u0b86\u0b95\u0bb8\u0bcd\u0b9f\u0bcd_\u0b9a\u0bc6\u0baa\u0bcd\u0b9f\u0bc6\u0bae\u0bcd\u0baa\u0bb0\u0bcd_\u0b85\u0b95\u0bcd\u0b9f\u0bc7\u0bbe\u0baa\u0bb0\u0bcd_\u0ba8\u0bb5\u0bae\u0bcd\u0baa\u0bb0\u0bcd_\u0b9f\u0bbf\u0b9a\u0bae\u0bcd\u0baa\u0bb0\u0bcd".split("_"),weekdays:"\u0b9e\u0bbe\u0baf\u0bbf\u0bb1\u0bcd\u0bb1\u0bc1\u0b95\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0ba4\u0bbf\u0b99\u0bcd\u0b95\u0b9f\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0b9a\u0bc6\u0bb5\u0bcd\u0bb5\u0bbe\u0baf\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0baa\u0bc1\u0ba4\u0ba9\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0bb5\u0bbf\u0baf\u0bbe\u0bb4\u0b95\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0bb5\u0bc6\u0bb3\u0bcd\u0bb3\u0bbf\u0b95\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0b9a\u0ba9\u0bbf\u0b95\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8".split("_"),weekdaysShort:"\u0b9e\u0bbe\u0baf\u0bbf\u0bb1\u0bc1_\u0ba4\u0bbf\u0b99\u0bcd\u0b95\u0bb3\u0bcd_\u0b9a\u0bc6\u0bb5\u0bcd\u0bb5\u0bbe\u0baf\u0bcd_\u0baa\u0bc1\u0ba4\u0ba9\u0bcd_\u0bb5\u0bbf\u0baf\u0bbe\u0bb4\u0ba9\u0bcd_\u0bb5\u0bc6\u0bb3\u0bcd\u0bb3\u0bbf_\u0b9a\u0ba9\u0bbf".split("_"),weekdaysMin:"\u0b9e\u0bbe_\u0ba4\u0bbf_\u0b9a\u0bc6_\u0baa\u0bc1_\u0bb5\u0bbf_\u0bb5\u0bc6_\u0b9a".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, HH:mm",LLLL:"dddd, D MMMM YYYY, HH:mm"},calendar:{sameDay:"[\u0b87\u0ba9\u0bcd\u0bb1\u0bc1] LT",nextDay:"[\u0ba8\u0bbe\u0bb3\u0bc8] LT",nextWeek:"dddd, LT",lastDay:"[\u0ba8\u0bc7\u0bb1\u0bcd\u0bb1\u0bc1] LT",lastWeek:"[\u0b95\u0b9f\u0ba8\u0bcd\u0ba4 \u0bb5\u0bbe\u0bb0\u0bae\u0bcd] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0b87\u0bb2\u0bcd",past:"%s \u0bae\u0bc1\u0ba9\u0bcd",s:"\u0b92\u0bb0\u0bc1 \u0b9a\u0bbf\u0bb2 \u0bb5\u0bbf\u0ba8\u0bbe\u0b9f\u0bbf\u0b95\u0bb3\u0bcd",ss:"%d \u0bb5\u0bbf\u0ba8\u0bbe\u0b9f\u0bbf\u0b95\u0bb3\u0bcd",m:"\u0b92\u0bb0\u0bc1 \u0ba8\u0bbf\u0bae\u0bbf\u0b9f\u0bae\u0bcd",mm:"%d \u0ba8\u0bbf\u0bae\u0bbf\u0b9f\u0b99\u0bcd\u0b95\u0bb3\u0bcd",h:"\u0b92\u0bb0\u0bc1 \u0bae\u0ba3\u0bbf \u0ba8\u0bc7\u0bb0\u0bae\u0bcd",hh:"%d \u0bae\u0ba3\u0bbf \u0ba8\u0bc7\u0bb0\u0bae\u0bcd",d:"\u0b92\u0bb0\u0bc1 \u0ba8\u0bbe\u0bb3\u0bcd",dd:"%d \u0ba8\u0bbe\u0b9f\u0bcd\u0b95\u0bb3\u0bcd",M:"\u0b92\u0bb0\u0bc1 \u0bae\u0bbe\u0ba4\u0bae\u0bcd",MM:"%d \u0bae\u0bbe\u0ba4\u0b99\u0bcd\u0b95\u0bb3\u0bcd",y:"\u0b92\u0bb0\u0bc1 \u0bb5\u0bb0\u0bc1\u0b9f\u0bae\u0bcd",yy:"%d \u0b86\u0ba3\u0bcd\u0b9f\u0bc1\u0b95\u0bb3\u0bcd"},dayOfMonthOrdinalParse:/\d{1,2}\u0bb5\u0ba4\u0bc1/,ordinal:function(p){return p+"\u0bb5\u0ba4\u0bc1"},preparse:function(p){return p.replace(/[\u0be7\u0be8\u0be9\u0bea\u0beb\u0bec\u0bed\u0bee\u0bef\u0be6]/g,function(g){return d[g]})},postformat:function(p){return p.replace(/\d/g,function(g){return m[g]})},meridiemParse:/\u0baf\u0bbe\u0bae\u0bae\u0bcd|\u0bb5\u0bc8\u0b95\u0bb1\u0bc8|\u0b95\u0bbe\u0bb2\u0bc8|\u0ba8\u0ba3\u0bcd\u0baa\u0b95\u0bb2\u0bcd|\u0b8e\u0bb1\u0bcd\u0baa\u0bbe\u0b9f\u0bc1|\u0bae\u0bbe\u0bb2\u0bc8/,meridiem:function(p,g,y){return p<2?" \u0baf\u0bbe\u0bae\u0bae\u0bcd":p<6?" \u0bb5\u0bc8\u0b95\u0bb1\u0bc8":p<10?" \u0b95\u0bbe\u0bb2\u0bc8":p<14?" \u0ba8\u0ba3\u0bcd\u0baa\u0b95\u0bb2\u0bcd":p<18?" \u0b8e\u0bb1\u0bcd\u0baa\u0bbe\u0b9f\u0bc1":p<22?" \u0bae\u0bbe\u0bb2\u0bc8":" \u0baf\u0bbe\u0bae\u0bae\u0bcd"},meridiemHour:function(p,g){return 12===p&&(p=0),"\u0baf\u0bbe\u0bae\u0bae\u0bcd"===g?p<2?p:p+12:"\u0bb5\u0bc8\u0b95\u0bb1\u0bc8"===g||"\u0b95\u0bbe\u0bb2\u0bc8"===g||"\u0ba8\u0ba3\u0bcd\u0baa\u0b95\u0bb2\u0bcd"===g&&p>=10?p:p+12},week:{dow:0,doy:6}})}(w(5439))},3636:function(se,q,w){!function(v){"use strict";v.defineLocale("te",{months:"\u0c1c\u0c28\u0c35\u0c30\u0c3f_\u0c2b\u0c3f\u0c2c\u0c4d\u0c30\u0c35\u0c30\u0c3f_\u0c2e\u0c3e\u0c30\u0c4d\u0c1a\u0c3f_\u0c0f\u0c2a\u0c4d\u0c30\u0c3f\u0c32\u0c4d_\u0c2e\u0c47_\u0c1c\u0c42\u0c28\u0c4d_\u0c1c\u0c41\u0c32\u0c48_\u0c06\u0c17\u0c38\u0c4d\u0c1f\u0c41_\u0c38\u0c46\u0c2a\u0c4d\u0c1f\u0c46\u0c02\u0c2c\u0c30\u0c4d_\u0c05\u0c15\u0c4d\u0c1f\u0c4b\u0c2c\u0c30\u0c4d_\u0c28\u0c35\u0c02\u0c2c\u0c30\u0c4d_\u0c21\u0c3f\u0c38\u0c46\u0c02\u0c2c\u0c30\u0c4d".split("_"),monthsShort:"\u0c1c\u0c28._\u0c2b\u0c3f\u0c2c\u0c4d\u0c30._\u0c2e\u0c3e\u0c30\u0c4d\u0c1a\u0c3f_\u0c0f\u0c2a\u0c4d\u0c30\u0c3f._\u0c2e\u0c47_\u0c1c\u0c42\u0c28\u0c4d_\u0c1c\u0c41\u0c32\u0c48_\u0c06\u0c17._\u0c38\u0c46\u0c2a\u0c4d._\u0c05\u0c15\u0c4d\u0c1f\u0c4b._\u0c28\u0c35._\u0c21\u0c3f\u0c38\u0c46.".split("_"),monthsParseExact:!0,weekdays:"\u0c06\u0c26\u0c3f\u0c35\u0c3e\u0c30\u0c02_\u0c38\u0c4b\u0c2e\u0c35\u0c3e\u0c30\u0c02_\u0c2e\u0c02\u0c17\u0c33\u0c35\u0c3e\u0c30\u0c02_\u0c2c\u0c41\u0c27\u0c35\u0c3e\u0c30\u0c02_\u0c17\u0c41\u0c30\u0c41\u0c35\u0c3e\u0c30\u0c02_\u0c36\u0c41\u0c15\u0c4d\u0c30\u0c35\u0c3e\u0c30\u0c02_\u0c36\u0c28\u0c3f\u0c35\u0c3e\u0c30\u0c02".split("_"),weekdaysShort:"\u0c06\u0c26\u0c3f_\u0c38\u0c4b\u0c2e_\u0c2e\u0c02\u0c17\u0c33_\u0c2c\u0c41\u0c27_\u0c17\u0c41\u0c30\u0c41_\u0c36\u0c41\u0c15\u0c4d\u0c30_\u0c36\u0c28\u0c3f".split("_"),weekdaysMin:"\u0c06_\u0c38\u0c4b_\u0c2e\u0c02_\u0c2c\u0c41_\u0c17\u0c41_\u0c36\u0c41_\u0c36".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[\u0c28\u0c47\u0c21\u0c41] LT",nextDay:"[\u0c30\u0c47\u0c2a\u0c41] LT",nextWeek:"dddd, LT",lastDay:"[\u0c28\u0c3f\u0c28\u0c4d\u0c28] LT",lastWeek:"[\u0c17\u0c24] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0c32\u0c4b",past:"%s \u0c15\u0c4d\u0c30\u0c3f\u0c24\u0c02",s:"\u0c15\u0c4a\u0c28\u0c4d\u0c28\u0c3f \u0c15\u0c4d\u0c37\u0c23\u0c3e\u0c32\u0c41",ss:"%d \u0c38\u0c46\u0c15\u0c28\u0c4d\u0c32\u0c41",m:"\u0c12\u0c15 \u0c28\u0c3f\u0c2e\u0c3f\u0c37\u0c02",mm:"%d \u0c28\u0c3f\u0c2e\u0c3f\u0c37\u0c3e\u0c32\u0c41",h:"\u0c12\u0c15 \u0c17\u0c02\u0c1f",hh:"%d \u0c17\u0c02\u0c1f\u0c32\u0c41",d:"\u0c12\u0c15 \u0c30\u0c4b\u0c1c\u0c41",dd:"%d \u0c30\u0c4b\u0c1c\u0c41\u0c32\u0c41",M:"\u0c12\u0c15 \u0c28\u0c46\u0c32",MM:"%d \u0c28\u0c46\u0c32\u0c32\u0c41",y:"\u0c12\u0c15 \u0c38\u0c02\u0c35\u0c24\u0c4d\u0c38\u0c30\u0c02",yy:"%d \u0c38\u0c02\u0c35\u0c24\u0c4d\u0c38\u0c30\u0c3e\u0c32\u0c41"},dayOfMonthOrdinalParse:/\d{1,2}\u0c35/,ordinal:"%d\u0c35",meridiemParse:/\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f|\u0c09\u0c26\u0c2f\u0c02|\u0c2e\u0c27\u0c4d\u0c2f\u0c3e\u0c39\u0c4d\u0c28\u0c02|\u0c38\u0c3e\u0c2f\u0c02\u0c24\u0c4d\u0c30\u0c02/,meridiemHour:function(d,u){return 12===d&&(d=0),"\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f"===u?d<4?d:d+12:"\u0c09\u0c26\u0c2f\u0c02"===u?d:"\u0c2e\u0c27\u0c4d\u0c2f\u0c3e\u0c39\u0c4d\u0c28\u0c02"===u?d>=10?d:d+12:"\u0c38\u0c3e\u0c2f\u0c02\u0c24\u0c4d\u0c30\u0c02"===u?d+12:void 0},meridiem:function(d,u,p){return d<4?"\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f":d<10?"\u0c09\u0c26\u0c2f\u0c02":d<17?"\u0c2e\u0c27\u0c4d\u0c2f\u0c3e\u0c39\u0c4d\u0c28\u0c02":d<20?"\u0c38\u0c3e\u0c2f\u0c02\u0c24\u0c4d\u0c30\u0c02":"\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f"},week:{dow:0,doy:6}})}(w(5439))},2115:function(se,q,w){!function(v){"use strict";v.defineLocale("tet",{months:"Janeiru_Fevereiru_Marsu_Abril_Maiu_Ju\xf1u_Jullu_Agustu_Setembru_Outubru_Novembru_Dezembru".split("_"),monthsShort:"Jan_Fev_Mar_Abr_Mai_Jun_Jul_Ago_Set_Out_Nov_Dez".split("_"),weekdays:"Domingu_Segunda_Tersa_Kuarta_Kinta_Sesta_Sabadu".split("_"),weekdaysShort:"Dom_Seg_Ters_Kua_Kint_Sest_Sab".split("_"),weekdaysMin:"Do_Seg_Te_Ku_Ki_Ses_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Ohin iha] LT",nextDay:"[Aban iha] LT",nextWeek:"dddd [iha] LT",lastDay:"[Horiseik iha] LT",lastWeek:"dddd [semana kotuk] [iha] LT",sameElse:"L"},relativeTime:{future:"iha %s",past:"%s liuba",s:"segundu balun",ss:"segundu %d",m:"minutu ida",mm:"minutu %d",h:"oras ida",hh:"oras %d",d:"loron ida",dd:"loron %d",M:"fulan ida",MM:"fulan %d",y:"tinan ida",yy:"tinan %d"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(d){var u=d%10;return d+(1==~~(d%100/10)?"th":1===u?"st":2===u?"nd":3===u?"rd":"th")},week:{dow:1,doy:4}})}(w(5439))},9801:function(se,q,w){!function(v){"use strict";var m={0:"-\u0443\u043c",1:"-\u0443\u043c",2:"-\u044e\u043c",3:"-\u044e\u043c",4:"-\u0443\u043c",5:"-\u0443\u043c",6:"-\u0443\u043c",7:"-\u0443\u043c",8:"-\u0443\u043c",9:"-\u0443\u043c",10:"-\u0443\u043c",12:"-\u0443\u043c",13:"-\u0443\u043c",20:"-\u0443\u043c",30:"-\u044e\u043c",40:"-\u0443\u043c",50:"-\u0443\u043c",60:"-\u0443\u043c",70:"-\u0443\u043c",80:"-\u0443\u043c",90:"-\u0443\u043c",100:"-\u0443\u043c"};v.defineLocale("tg",{months:{format:"\u044f\u043d\u0432\u0430\u0440\u0438_\u0444\u0435\u0432\u0440\u0430\u043b\u0438_\u043c\u0430\u0440\u0442\u0438_\u0430\u043f\u0440\u0435\u043b\u0438_\u043c\u0430\u0439\u0438_\u0438\u044e\u043d\u0438_\u0438\u044e\u043b\u0438_\u0430\u0432\u0433\u0443\u0441\u0442\u0438_\u0441\u0435\u043d\u0442\u044f\u0431\u0440\u0438_\u043e\u043a\u0442\u044f\u0431\u0440\u0438_\u043d\u043e\u044f\u0431\u0440\u0438_\u0434\u0435\u043a\u0430\u0431\u0440\u0438".split("_"),standalone:"\u044f\u043d\u0432\u0430\u0440_\u0444\u0435\u0432\u0440\u0430\u043b_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0435\u043b_\u043c\u0430\u0439_\u0438\u044e\u043d_\u0438\u044e\u043b_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043d\u0442\u044f\u0431\u0440_\u043e\u043a\u0442\u044f\u0431\u0440_\u043d\u043e\u044f\u0431\u0440_\u0434\u0435\u043a\u0430\u0431\u0440".split("_")},monthsShort:"\u044f\u043d\u0432_\u0444\u0435\u0432_\u043c\u0430\u0440_\u0430\u043f\u0440_\u043c\u0430\u0439_\u0438\u044e\u043d_\u0438\u044e\u043b_\u0430\u0432\u0433_\u0441\u0435\u043d_\u043e\u043a\u0442_\u043d\u043e\u044f_\u0434\u0435\u043a".split("_"),weekdays:"\u044f\u043a\u0448\u0430\u043d\u0431\u0435_\u0434\u0443\u0448\u0430\u043d\u0431\u0435_\u0441\u0435\u0448\u0430\u043d\u0431\u0435_\u0447\u043e\u0440\u0448\u0430\u043d\u0431\u0435_\u043f\u0430\u043d\u04b7\u0448\u0430\u043d\u0431\u0435_\u04b7\u0443\u043c\u044a\u0430_\u0448\u0430\u043d\u0431\u0435".split("_"),weekdaysShort:"\u044f\u0448\u0431_\u0434\u0448\u0431_\u0441\u0448\u0431_\u0447\u0448\u0431_\u043f\u0448\u0431_\u04b7\u0443\u043c_\u0448\u043d\u0431".split("_"),weekdaysMin:"\u044f\u0448_\u0434\u0448_\u0441\u0448_\u0447\u0448_\u043f\u0448_\u04b7\u043c_\u0448\u0431".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0418\u043c\u0440\u04ef\u0437 \u0441\u043e\u0430\u0442\u0438] LT",nextDay:"[\u0424\u0430\u0440\u0434\u043e \u0441\u043e\u0430\u0442\u0438] LT",lastDay:"[\u0414\u0438\u0440\u04ef\u0437 \u0441\u043e\u0430\u0442\u0438] LT",nextWeek:"dddd[\u0438] [\u04b3\u0430\u0444\u0442\u0430\u0438 \u043e\u044f\u043d\u0434\u0430 \u0441\u043e\u0430\u0442\u0438] LT",lastWeek:"dddd[\u0438] [\u04b3\u0430\u0444\u0442\u0430\u0438 \u0433\u0443\u0437\u0430\u0448\u0442\u0430 \u0441\u043e\u0430\u0442\u0438] LT",sameElse:"L"},relativeTime:{future:"\u0431\u0430\u044a\u0434\u0438 %s",past:"%s \u043f\u0435\u0448",s:"\u044f\u043a\u0447\u0430\u043d\u0434 \u0441\u043e\u043d\u0438\u044f",m:"\u044f\u043a \u0434\u0430\u049b\u0438\u049b\u0430",mm:"%d \u0434\u0430\u049b\u0438\u049b\u0430",h:"\u044f\u043a \u0441\u043e\u0430\u0442",hh:"%d \u0441\u043e\u0430\u0442",d:"\u044f\u043a \u0440\u04ef\u0437",dd:"%d \u0440\u04ef\u0437",M:"\u044f\u043a \u043c\u043e\u04b3",MM:"%d \u043c\u043e\u04b3",y:"\u044f\u043a \u0441\u043e\u043b",yy:"%d \u0441\u043e\u043b"},meridiemParse:/\u0448\u0430\u0431|\u0441\u0443\u0431\u04b3|\u0440\u04ef\u0437|\u0431\u0435\u0433\u043e\u04b3/,meridiemHour:function(u,p){return 12===u&&(u=0),"\u0448\u0430\u0431"===p?u<4?u:u+12:"\u0441\u0443\u0431\u04b3"===p?u:"\u0440\u04ef\u0437"===p?u>=11?u:u+12:"\u0431\u0435\u0433\u043e\u04b3"===p?u+12:void 0},meridiem:function(u,p,g){return u<4?"\u0448\u0430\u0431":u<11?"\u0441\u0443\u0431\u04b3":u<16?"\u0440\u04ef\u0437":u<19?"\u0431\u0435\u0433\u043e\u04b3":"\u0448\u0430\u0431"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0443\u043c|\u044e\u043c)/,ordinal:function(u){return u+(m[u]||m[u%10]||m[u>=100?100:null])},week:{dow:1,doy:7}})}(w(5439))},2868:function(se,q,w){!function(v){"use strict";v.defineLocale("th",{months:"\u0e21\u0e01\u0e23\u0e32\u0e04\u0e21_\u0e01\u0e38\u0e21\u0e20\u0e32\u0e1e\u0e31\u0e19\u0e18\u0e4c_\u0e21\u0e35\u0e19\u0e32\u0e04\u0e21_\u0e40\u0e21\u0e29\u0e32\u0e22\u0e19_\u0e1e\u0e24\u0e29\u0e20\u0e32\u0e04\u0e21_\u0e21\u0e34\u0e16\u0e38\u0e19\u0e32\u0e22\u0e19_\u0e01\u0e23\u0e01\u0e0e\u0e32\u0e04\u0e21_\u0e2a\u0e34\u0e07\u0e2b\u0e32\u0e04\u0e21_\u0e01\u0e31\u0e19\u0e22\u0e32\u0e22\u0e19_\u0e15\u0e38\u0e25\u0e32\u0e04\u0e21_\u0e1e\u0e24\u0e28\u0e08\u0e34\u0e01\u0e32\u0e22\u0e19_\u0e18\u0e31\u0e19\u0e27\u0e32\u0e04\u0e21".split("_"),monthsShort:"\u0e21.\u0e04._\u0e01.\u0e1e._\u0e21\u0e35.\u0e04._\u0e40\u0e21.\u0e22._\u0e1e.\u0e04._\u0e21\u0e34.\u0e22._\u0e01.\u0e04._\u0e2a.\u0e04._\u0e01.\u0e22._\u0e15.\u0e04._\u0e1e.\u0e22._\u0e18.\u0e04.".split("_"),monthsParseExact:!0,weekdays:"\u0e2d\u0e32\u0e17\u0e34\u0e15\u0e22\u0e4c_\u0e08\u0e31\u0e19\u0e17\u0e23\u0e4c_\u0e2d\u0e31\u0e07\u0e04\u0e32\u0e23_\u0e1e\u0e38\u0e18_\u0e1e\u0e24\u0e2b\u0e31\u0e2a\u0e1a\u0e14\u0e35_\u0e28\u0e38\u0e01\u0e23\u0e4c_\u0e40\u0e2a\u0e32\u0e23\u0e4c".split("_"),weekdaysShort:"\u0e2d\u0e32\u0e17\u0e34\u0e15\u0e22\u0e4c_\u0e08\u0e31\u0e19\u0e17\u0e23\u0e4c_\u0e2d\u0e31\u0e07\u0e04\u0e32\u0e23_\u0e1e\u0e38\u0e18_\u0e1e\u0e24\u0e2b\u0e31\u0e2a_\u0e28\u0e38\u0e01\u0e23\u0e4c_\u0e40\u0e2a\u0e32\u0e23\u0e4c".split("_"),weekdaysMin:"\u0e2d\u0e32._\u0e08._\u0e2d._\u0e1e._\u0e1e\u0e24._\u0e28._\u0e2a.".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY \u0e40\u0e27\u0e25\u0e32 H:mm",LLLL:"\u0e27\u0e31\u0e19dddd\u0e17\u0e35\u0e48 D MMMM YYYY \u0e40\u0e27\u0e25\u0e32 H:mm"},meridiemParse:/\u0e01\u0e48\u0e2d\u0e19\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07|\u0e2b\u0e25\u0e31\u0e07\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07/,isPM:function(d){return"\u0e2b\u0e25\u0e31\u0e07\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07"===d},meridiem:function(d,u,p){return d<12?"\u0e01\u0e48\u0e2d\u0e19\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07":"\u0e2b\u0e25\u0e31\u0e07\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07"},calendar:{sameDay:"[\u0e27\u0e31\u0e19\u0e19\u0e35\u0e49 \u0e40\u0e27\u0e25\u0e32] LT",nextDay:"[\u0e1e\u0e23\u0e38\u0e48\u0e07\u0e19\u0e35\u0e49 \u0e40\u0e27\u0e25\u0e32] LT",nextWeek:"dddd[\u0e2b\u0e19\u0e49\u0e32 \u0e40\u0e27\u0e25\u0e32] LT",lastDay:"[\u0e40\u0e21\u0e37\u0e48\u0e2d\u0e27\u0e32\u0e19\u0e19\u0e35\u0e49 \u0e40\u0e27\u0e25\u0e32] LT",lastWeek:"[\u0e27\u0e31\u0e19]dddd[\u0e17\u0e35\u0e48\u0e41\u0e25\u0e49\u0e27 \u0e40\u0e27\u0e25\u0e32] LT",sameElse:"L"},relativeTime:{future:"\u0e2d\u0e35\u0e01 %s",past:"%s\u0e17\u0e35\u0e48\u0e41\u0e25\u0e49\u0e27",s:"\u0e44\u0e21\u0e48\u0e01\u0e35\u0e48\u0e27\u0e34\u0e19\u0e32\u0e17\u0e35",ss:"%d \u0e27\u0e34\u0e19\u0e32\u0e17\u0e35",m:"1 \u0e19\u0e32\u0e17\u0e35",mm:"%d \u0e19\u0e32\u0e17\u0e35",h:"1 \u0e0a\u0e31\u0e48\u0e27\u0e42\u0e21\u0e07",hh:"%d \u0e0a\u0e31\u0e48\u0e27\u0e42\u0e21\u0e07",d:"1 \u0e27\u0e31\u0e19",dd:"%d \u0e27\u0e31\u0e19",w:"1 \u0e2a\u0e31\u0e1b\u0e14\u0e32\u0e2b\u0e4c",ww:"%d \u0e2a\u0e31\u0e1b\u0e14\u0e32\u0e2b\u0e4c",M:"1 \u0e40\u0e14\u0e37\u0e2d\u0e19",MM:"%d \u0e40\u0e14\u0e37\u0e2d\u0e19",y:"1 \u0e1b\u0e35",yy:"%d \u0e1b\u0e35"}})}(w(5439))},1310:function(se,q,w){!function(v){"use strict";var m={1:"'inji",5:"'inji",8:"'inji",70:"'inji",80:"'inji",2:"'nji",7:"'nji",20:"'nji",50:"'nji",3:"'\xfcnji",4:"'\xfcnji",100:"'\xfcnji",6:"'njy",9:"'unjy",10:"'unjy",30:"'unjy",60:"'ynjy",90:"'ynjy"};v.defineLocale("tk",{months:"\xddanwar_Fewral_Mart_Aprel_Ma\xfd_I\xfdun_I\xfdul_Awgust_Sent\xfdabr_Okt\xfdabr_No\xfdabr_Dekabr".split("_"),monthsShort:"\xddan_Few_Mar_Apr_Ma\xfd_I\xfdn_I\xfdl_Awg_Sen_Okt_No\xfd_Dek".split("_"),weekdays:"\xddek\u015fenbe_Du\u015fenbe_Si\u015fenbe_\xc7ar\u015fenbe_Pen\u015fenbe_Anna_\u015eenbe".split("_"),weekdaysShort:"\xddek_Du\u015f_Si\u015f_\xc7ar_Pen_Ann_\u015een".split("_"),weekdaysMin:"\xddk_D\u015f_S\u015f_\xc7r_Pn_An_\u015en".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bug\xfcn sagat] LT",nextDay:"[ertir sagat] LT",nextWeek:"[indiki] dddd [sagat] LT",lastDay:"[d\xfc\xfdn] LT",lastWeek:"[ge\xe7en] dddd [sagat] LT",sameElse:"L"},relativeTime:{future:"%s so\u0148",past:"%s \xf6\u0148",s:"birn\xe4\xe7e sekunt",m:"bir minut",mm:"%d minut",h:"bir sagat",hh:"%d sagat",d:"bir g\xfcn",dd:"%d g\xfcn",M:"bir a\xfd",MM:"%d a\xfd",y:"bir \xfdyl",yy:"%d \xfdyl"},ordinal:function(u,p){switch(p){case"d":case"D":case"Do":case"DD":return u;default:if(0===u)return u+"'unjy";var g=u%10;return u+(m[g]||m[u%100-g]||m[u>=100?100:null])}},week:{dow:1,doy:7}})}(w(5439))},2360:function(se,q,w){!function(v){"use strict";v.defineLocale("tl-ph",{months:"Enero_Pebrero_Marso_Abril_Mayo_Hunyo_Hulyo_Agosto_Setyembre_Oktubre_Nobyembre_Disyembre".split("_"),monthsShort:"Ene_Peb_Mar_Abr_May_Hun_Hul_Ago_Set_Okt_Nob_Dis".split("_"),weekdays:"Linggo_Lunes_Martes_Miyerkules_Huwebes_Biyernes_Sabado".split("_"),weekdaysShort:"Lin_Lun_Mar_Miy_Huw_Biy_Sab".split("_"),weekdaysMin:"Li_Lu_Ma_Mi_Hu_Bi_Sab".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"MM/D/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY HH:mm",LLLL:"dddd, MMMM DD, YYYY HH:mm"},calendar:{sameDay:"LT [ngayong araw]",nextDay:"[Bukas ng] LT",nextWeek:"LT [sa susunod na] dddd",lastDay:"LT [kahapon]",lastWeek:"LT [noong nakaraang] dddd",sameElse:"L"},relativeTime:{future:"sa loob ng %s",past:"%s ang nakalipas",s:"ilang segundo",ss:"%d segundo",m:"isang minuto",mm:"%d minuto",h:"isang oras",hh:"%d oras",d:"isang araw",dd:"%d araw",M:"isang buwan",MM:"%d buwan",y:"isang taon",yy:"%d taon"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:function(d){return d},week:{dow:1,doy:4}})}(w(5439))},6645:function(se,q,w){!function(v){"use strict";var m="pagh_wa\u2019_cha\u2019_wej_loS_vagh_jav_Soch_chorgh_Hut".split("_");function p(b,C,P,N){var R=function g(b){var C=Math.floor(b%1e3/100),P=Math.floor(b%100/10),N=b%10,R="";return C>0&&(R+=m[C]+"vatlh"),P>0&&(R+=(""!==R?" ":"")+m[P]+"maH"),N>0&&(R+=(""!==R?" ":"")+m[N]),""===R?"pagh":R}(b);switch(P){case"ss":return R+" lup";case"mm":return R+" tup";case"hh":return R+" rep";case"dd":return R+" jaj";case"MM":return R+" jar";case"yy":return R+" DIS"}}v.defineLocale("tlh",{months:"tera\u2019 jar wa\u2019_tera\u2019 jar cha\u2019_tera\u2019 jar wej_tera\u2019 jar loS_tera\u2019 jar vagh_tera\u2019 jar jav_tera\u2019 jar Soch_tera\u2019 jar chorgh_tera\u2019 jar Hut_tera\u2019 jar wa\u2019maH_tera\u2019 jar wa\u2019maH wa\u2019_tera\u2019 jar wa\u2019maH cha\u2019".split("_"),monthsShort:"jar wa\u2019_jar cha\u2019_jar wej_jar loS_jar vagh_jar jav_jar Soch_jar chorgh_jar Hut_jar wa\u2019maH_jar wa\u2019maH wa\u2019_jar wa\u2019maH cha\u2019".split("_"),monthsParseExact:!0,weekdays:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),weekdaysShort:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),weekdaysMin:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[DaHjaj] LT",nextDay:"[wa\u2019leS] LT",nextWeek:"LLL",lastDay:"[wa\u2019Hu\u2019] LT",lastWeek:"LLL",sameElse:"L"},relativeTime:{future:function d(b){var C=b;return-1!==b.indexOf("jaj")?C.slice(0,-3)+"leS":-1!==b.indexOf("jar")?C.slice(0,-3)+"waQ":-1!==b.indexOf("DIS")?C.slice(0,-3)+"nem":C+" pIq"},past:function u(b){var C=b;return-1!==b.indexOf("jaj")?C.slice(0,-3)+"Hu\u2019":-1!==b.indexOf("jar")?C.slice(0,-3)+"wen":-1!==b.indexOf("DIS")?C.slice(0,-3)+"ben":C+" ret"},s:"puS lup",ss:p,m:"wa\u2019 tup",mm:p,h:"wa\u2019 rep",hh:p,d:"wa\u2019 jaj",dd:p,M:"wa\u2019 jar",MM:p,y:"wa\u2019 DIS",yy:p},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(w(5439))},8374:function(se,q,w){!function(v){"use strict";var m={1:"'inci",5:"'inci",8:"'inci",70:"'inci",80:"'inci",2:"'nci",7:"'nci",20:"'nci",50:"'nci",3:"'\xfcnc\xfc",4:"'\xfcnc\xfc",100:"'\xfcnc\xfc",6:"'nc\u0131",9:"'uncu",10:"'uncu",30:"'uncu",60:"'\u0131nc\u0131",90:"'\u0131nc\u0131"};v.defineLocale("tr",{months:"Ocak_\u015eubat_Mart_Nisan_May\u0131s_Haziran_Temmuz_A\u011fustos_Eyl\xfcl_Ekim_Kas\u0131m_Aral\u0131k".split("_"),monthsShort:"Oca_\u015eub_Mar_Nis_May_Haz_Tem_A\u011fu_Eyl_Eki_Kas_Ara".split("_"),weekdays:"Pazar_Pazartesi_Sal\u0131_\xc7ar\u015famba_Per\u015fembe_Cuma_Cumartesi".split("_"),weekdaysShort:"Paz_Pzt_Sal_\xc7ar_Per_Cum_Cmt".split("_"),weekdaysMin:"Pz_Pt_Sa_\xc7a_Pe_Cu_Ct".split("_"),meridiem:function(u,p,g){return u<12?g?"\xf6\xf6":"\xd6\xd6":g?"\xf6s":"\xd6S"},meridiemParse:/\xf6\xf6|\xd6\xd6|\xf6s|\xd6S/,isPM:function(u){return"\xf6s"===u||"\xd6S"===u},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bug\xfcn saat] LT",nextDay:"[yar\u0131n saat] LT",nextWeek:"[gelecek] dddd [saat] LT",lastDay:"[d\xfcn] LT",lastWeek:"[ge\xe7en] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s sonra",past:"%s \xf6nce",s:"birka\xe7 saniye",ss:"%d saniye",m:"bir dakika",mm:"%d dakika",h:"bir saat",hh:"%d saat",d:"bir g\xfcn",dd:"%d g\xfcn",w:"bir hafta",ww:"%d hafta",M:"bir ay",MM:"%d ay",y:"bir y\u0131l",yy:"%d y\u0131l"},ordinal:function(u,p){switch(p){case"d":case"D":case"Do":case"DD":return u;default:if(0===u)return u+"'\u0131nc\u0131";var g=u%10;return u+(m[g]||m[u%100-g]||m[u>=100?100:null])}},week:{dow:1,doy:7}})}(w(5439))},256:function(se,q,w){!function(v){"use strict";function d(u,p,g,y){var b={s:["viensas secunds","'iensas secunds"],ss:[u+" secunds",u+" secunds"],m:["'n m\xedut","'iens m\xedut"],mm:[u+" m\xeduts",u+" m\xeduts"],h:["'n \xfeora","'iensa \xfeora"],hh:[u+" \xfeoras",u+" \xfeoras"],d:["'n ziua","'iensa ziua"],dd:[u+" ziuas",u+" ziuas"],M:["'n mes","'iens mes"],MM:[u+" mesen",u+" mesen"],y:["'n ar","'iens ar"],yy:[u+" ars",u+" ars"]};return y||p?b[g][0]:b[g][1]}v.defineLocale("tzl",{months:"Januar_Fevraglh_Mar\xe7_Avr\xefu_Mai_G\xfcn_Julia_Guscht_Setemvar_Listop\xe4ts_Noemvar_Zecemvar".split("_"),monthsShort:"Jan_Fev_Mar_Avr_Mai_G\xfcn_Jul_Gus_Set_Lis_Noe_Zec".split("_"),weekdays:"S\xfaladi_L\xfane\xe7i_Maitzi_M\xe1rcuri_Xh\xfaadi_Vi\xe9ner\xe7i_S\xe1turi".split("_"),weekdaysShort:"S\xfal_L\xfan_Mai_M\xe1r_Xh\xfa_Vi\xe9_S\xe1t".split("_"),weekdaysMin:"S\xfa_L\xfa_Ma_M\xe1_Xh_Vi_S\xe1".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD.MM.YYYY",LL:"D. MMMM [dallas] YYYY",LLL:"D. MMMM [dallas] YYYY HH.mm",LLLL:"dddd, [li] D. MMMM [dallas] YYYY HH.mm"},meridiemParse:/d\'o|d\'a/i,isPM:function(u){return"d'o"===u.toLowerCase()},meridiem:function(u,p,g){return u>11?g?"d'o":"D'O":g?"d'a":"D'A"},calendar:{sameDay:"[oxhi \xe0] LT",nextDay:"[dem\xe0 \xe0] LT",nextWeek:"dddd [\xe0] LT",lastDay:"[ieiri \xe0] LT",lastWeek:"[s\xfcr el] dddd [lasteu \xe0] LT",sameElse:"L"},relativeTime:{future:"osprei %s",past:"ja%s",s:d,ss:d,m:d,mm:d,h:d,hh:d,d,dd:d,M:d,MM:d,y:d,yy:d},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(w(5439))},1631:function(se,q,w){!function(v){"use strict";v.defineLocale("tzm-latn",{months:"innayr_br\u02e4ayr\u02e4_mar\u02e4s\u02e4_ibrir_mayyw_ywnyw_ywlywz_\u0263w\u0161t_\u0161wtanbir_kt\u02e4wbr\u02e4_nwwanbir_dwjnbir".split("_"),monthsShort:"innayr_br\u02e4ayr\u02e4_mar\u02e4s\u02e4_ibrir_mayyw_ywnyw_ywlywz_\u0263w\u0161t_\u0161wtanbir_kt\u02e4wbr\u02e4_nwwanbir_dwjnbir".split("_"),weekdays:"asamas_aynas_asinas_akras_akwas_asimwas_asi\u1e0dyas".split("_"),weekdaysShort:"asamas_aynas_asinas_akras_akwas_asimwas_asi\u1e0dyas".split("_"),weekdaysMin:"asamas_aynas_asinas_akras_akwas_asimwas_asi\u1e0dyas".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[asdkh g] LT",nextDay:"[aska g] LT",nextWeek:"dddd [g] LT",lastDay:"[assant g] LT",lastWeek:"dddd [g] LT",sameElse:"L"},relativeTime:{future:"dadkh s yan %s",past:"yan %s",s:"imik",ss:"%d imik",m:"minu\u1e0d",mm:"%d minu\u1e0d",h:"sa\u025ba",hh:"%d tassa\u025bin",d:"ass",dd:"%d ossan",M:"ayowr",MM:"%d iyyirn",y:"asgas",yy:"%d isgasn"},week:{dow:6,doy:12}})}(w(5439))},1595:function(se,q,w){!function(v){"use strict";v.defineLocale("tzm",{months:"\u2d49\u2d4f\u2d4f\u2d30\u2d62\u2d54_\u2d31\u2d55\u2d30\u2d62\u2d55_\u2d4e\u2d30\u2d55\u2d5a_\u2d49\u2d31\u2d54\u2d49\u2d54_\u2d4e\u2d30\u2d62\u2d62\u2d53_\u2d62\u2d53\u2d4f\u2d62\u2d53_\u2d62\u2d53\u2d4d\u2d62\u2d53\u2d63_\u2d56\u2d53\u2d5b\u2d5c_\u2d5b\u2d53\u2d5c\u2d30\u2d4f\u2d31\u2d49\u2d54_\u2d3d\u2d5f\u2d53\u2d31\u2d55_\u2d4f\u2d53\u2d61\u2d30\u2d4f\u2d31\u2d49\u2d54_\u2d37\u2d53\u2d4a\u2d4f\u2d31\u2d49\u2d54".split("_"),monthsShort:"\u2d49\u2d4f\u2d4f\u2d30\u2d62\u2d54_\u2d31\u2d55\u2d30\u2d62\u2d55_\u2d4e\u2d30\u2d55\u2d5a_\u2d49\u2d31\u2d54\u2d49\u2d54_\u2d4e\u2d30\u2d62\u2d62\u2d53_\u2d62\u2d53\u2d4f\u2d62\u2d53_\u2d62\u2d53\u2d4d\u2d62\u2d53\u2d63_\u2d56\u2d53\u2d5b\u2d5c_\u2d5b\u2d53\u2d5c\u2d30\u2d4f\u2d31\u2d49\u2d54_\u2d3d\u2d5f\u2d53\u2d31\u2d55_\u2d4f\u2d53\u2d61\u2d30\u2d4f\u2d31\u2d49\u2d54_\u2d37\u2d53\u2d4a\u2d4f\u2d31\u2d49\u2d54".split("_"),weekdays:"\u2d30\u2d59\u2d30\u2d4e\u2d30\u2d59_\u2d30\u2d62\u2d4f\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4f\u2d30\u2d59_\u2d30\u2d3d\u2d54\u2d30\u2d59_\u2d30\u2d3d\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4e\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d39\u2d62\u2d30\u2d59".split("_"),weekdaysShort:"\u2d30\u2d59\u2d30\u2d4e\u2d30\u2d59_\u2d30\u2d62\u2d4f\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4f\u2d30\u2d59_\u2d30\u2d3d\u2d54\u2d30\u2d59_\u2d30\u2d3d\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4e\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d39\u2d62\u2d30\u2d59".split("_"),weekdaysMin:"\u2d30\u2d59\u2d30\u2d4e\u2d30\u2d59_\u2d30\u2d62\u2d4f\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4f\u2d30\u2d59_\u2d30\u2d3d\u2d54\u2d30\u2d59_\u2d30\u2d3d\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4e\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d39\u2d62\u2d30\u2d59".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u2d30\u2d59\u2d37\u2d45 \u2d34] LT",nextDay:"[\u2d30\u2d59\u2d3d\u2d30 \u2d34] LT",nextWeek:"dddd [\u2d34] LT",lastDay:"[\u2d30\u2d5a\u2d30\u2d4f\u2d5c \u2d34] LT",lastWeek:"dddd [\u2d34] LT",sameElse:"L"},relativeTime:{future:"\u2d37\u2d30\u2d37\u2d45 \u2d59 \u2d62\u2d30\u2d4f %s",past:"\u2d62\u2d30\u2d4f %s",s:"\u2d49\u2d4e\u2d49\u2d3d",ss:"%d \u2d49\u2d4e\u2d49\u2d3d",m:"\u2d4e\u2d49\u2d4f\u2d53\u2d3a",mm:"%d \u2d4e\u2d49\u2d4f\u2d53\u2d3a",h:"\u2d59\u2d30\u2d44\u2d30",hh:"%d \u2d5c\u2d30\u2d59\u2d59\u2d30\u2d44\u2d49\u2d4f",d:"\u2d30\u2d59\u2d59",dd:"%d o\u2d59\u2d59\u2d30\u2d4f",M:"\u2d30\u2d62o\u2d53\u2d54",MM:"%d \u2d49\u2d62\u2d62\u2d49\u2d54\u2d4f",y:"\u2d30\u2d59\u2d33\u2d30\u2d59",yy:"%d \u2d49\u2d59\u2d33\u2d30\u2d59\u2d4f"},week:{dow:6,doy:12}})}(w(5439))},6050:function(se,q,w){!function(v){"use strict";v.defineLocale("ug-cn",{months:"\u064a\u0627\u0646\u06cb\u0627\u0631_\u0641\u06d0\u06cb\u0631\u0627\u0644_\u0645\u0627\u0631\u062a_\u0626\u0627\u067e\u0631\u06d0\u0644_\u0645\u0627\u064a_\u0626\u0649\u064a\u06c7\u0646_\u0626\u0649\u064a\u06c7\u0644_\u0626\u0627\u06cb\u063a\u06c7\u0633\u062a_\u0633\u06d0\u0646\u062a\u06d5\u0628\u0649\u0631_\u0626\u06c6\u0643\u062a\u06d5\u0628\u0649\u0631_\u0646\u0648\u064a\u0627\u0628\u0649\u0631_\u062f\u06d0\u0643\u0627\u0628\u0649\u0631".split("_"),monthsShort:"\u064a\u0627\u0646\u06cb\u0627\u0631_\u0641\u06d0\u06cb\u0631\u0627\u0644_\u0645\u0627\u0631\u062a_\u0626\u0627\u067e\u0631\u06d0\u0644_\u0645\u0627\u064a_\u0626\u0649\u064a\u06c7\u0646_\u0626\u0649\u064a\u06c7\u0644_\u0626\u0627\u06cb\u063a\u06c7\u0633\u062a_\u0633\u06d0\u0646\u062a\u06d5\u0628\u0649\u0631_\u0626\u06c6\u0643\u062a\u06d5\u0628\u0649\u0631_\u0646\u0648\u064a\u0627\u0628\u0649\u0631_\u062f\u06d0\u0643\u0627\u0628\u0649\u0631".split("_"),weekdays:"\u064a\u06d5\u0643\u0634\u06d5\u0646\u0628\u06d5_\u062f\u06c8\u0634\u06d5\u0646\u0628\u06d5_\u0633\u06d5\u064a\u0634\u06d5\u0646\u0628\u06d5_\u0686\u0627\u0631\u0634\u06d5\u0646\u0628\u06d5_\u067e\u06d5\u064a\u0634\u06d5\u0646\u0628\u06d5_\u062c\u06c8\u0645\u06d5_\u0634\u06d5\u0646\u0628\u06d5".split("_"),weekdaysShort:"\u064a\u06d5_\u062f\u06c8_\u0633\u06d5_\u0686\u0627_\u067e\u06d5_\u062c\u06c8_\u0634\u06d5".split("_"),weekdaysMin:"\u064a\u06d5_\u062f\u06c8_\u0633\u06d5_\u0686\u0627_\u067e\u06d5_\u062c\u06c8_\u0634\u06d5".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY-\u064a\u0649\u0644\u0649M-\u0626\u0627\u064a\u0646\u0649\u06adD-\u0643\u06c8\u0646\u0649",LLL:"YYYY-\u064a\u0649\u0644\u0649M-\u0626\u0627\u064a\u0646\u0649\u06adD-\u0643\u06c8\u0646\u0649\u060c HH:mm",LLLL:"dddd\u060c YYYY-\u064a\u0649\u0644\u0649M-\u0626\u0627\u064a\u0646\u0649\u06adD-\u0643\u06c8\u0646\u0649\u060c HH:mm"},meridiemParse:/\u064a\u06d0\u0631\u0649\u0645 \u0643\u06d0\u0686\u06d5|\u0633\u06d5\u06be\u06d5\u0631|\u0686\u06c8\u0634\u062a\u0649\u0646 \u0628\u06c7\u0631\u06c7\u0646|\u0686\u06c8\u0634|\u0686\u06c8\u0634\u062a\u0649\u0646 \u0643\u06d0\u064a\u0649\u0646|\u0643\u06d5\u0686/,meridiemHour:function(d,u){return 12===d&&(d=0),"\u064a\u06d0\u0631\u0649\u0645 \u0643\u06d0\u0686\u06d5"===u||"\u0633\u06d5\u06be\u06d5\u0631"===u||"\u0686\u06c8\u0634\u062a\u0649\u0646 \u0628\u06c7\u0631\u06c7\u0646"===u?d:"\u0686\u06c8\u0634\u062a\u0649\u0646 \u0643\u06d0\u064a\u0649\u0646"===u||"\u0643\u06d5\u0686"===u?d+12:d>=11?d:d+12},meridiem:function(d,u,p){var g=100*d+u;return g<600?"\u064a\u06d0\u0631\u0649\u0645 \u0643\u06d0\u0686\u06d5":g<900?"\u0633\u06d5\u06be\u06d5\u0631":g<1130?"\u0686\u06c8\u0634\u062a\u0649\u0646 \u0628\u06c7\u0631\u06c7\u0646":g<1230?"\u0686\u06c8\u0634":g<1800?"\u0686\u06c8\u0634\u062a\u0649\u0646 \u0643\u06d0\u064a\u0649\u0646":"\u0643\u06d5\u0686"},calendar:{sameDay:"[\u0628\u06c8\u06af\u06c8\u0646 \u0633\u0627\u0626\u06d5\u062a] LT",nextDay:"[\u0626\u06d5\u062a\u06d5 \u0633\u0627\u0626\u06d5\u062a] LT",nextWeek:"[\u0643\u06d0\u0644\u06d5\u0631\u0643\u0649] dddd [\u0633\u0627\u0626\u06d5\u062a] LT",lastDay:"[\u062a\u06c6\u0646\u06c8\u06af\u06c8\u0646] LT",lastWeek:"[\u0626\u0627\u0644\u062f\u0649\u0646\u0642\u0649] dddd [\u0633\u0627\u0626\u06d5\u062a] LT",sameElse:"L"},relativeTime:{future:"%s \u0643\u06d0\u064a\u0649\u0646",past:"%s \u0628\u06c7\u0631\u06c7\u0646",s:"\u0646\u06d5\u0686\u0686\u06d5 \u0633\u06d0\u0643\u0648\u0646\u062a",ss:"%d \u0633\u06d0\u0643\u0648\u0646\u062a",m:"\u0628\u0649\u0631 \u0645\u0649\u0646\u06c7\u062a",mm:"%d \u0645\u0649\u0646\u06c7\u062a",h:"\u0628\u0649\u0631 \u0633\u0627\u0626\u06d5\u062a",hh:"%d \u0633\u0627\u0626\u06d5\u062a",d:"\u0628\u0649\u0631 \u0643\u06c8\u0646",dd:"%d \u0643\u06c8\u0646",M:"\u0628\u0649\u0631 \u0626\u0627\u064a",MM:"%d \u0626\u0627\u064a",y:"\u0628\u0649\u0631 \u064a\u0649\u0644",yy:"%d \u064a\u0649\u0644"},dayOfMonthOrdinalParse:/\d{1,2}(-\u0643\u06c8\u0646\u0649|-\u0626\u0627\u064a|-\u06be\u06d5\u067e\u062a\u06d5)/,ordinal:function(d,u){switch(u){case"d":case"D":case"DDD":return d+"-\u0643\u06c8\u0646\u0649";case"w":case"W":return d+"-\u06be\u06d5\u067e\u062a\u06d5";default:return d}},preparse:function(d){return d.replace(/\u060c/g,",")},postformat:function(d){return d.replace(/,/g,"\u060c")},week:{dow:1,doy:7}})}(w(5439))},5610:function(se,q,w){!function(v){"use strict";function d(y,b,C){return"m"===C?b?"\u0445\u0432\u0438\u043b\u0438\u043d\u0430":"\u0445\u0432\u0438\u043b\u0438\u043d\u0443":"h"===C?b?"\u0433\u043e\u0434\u0438\u043d\u0430":"\u0433\u043e\u0434\u0438\u043d\u0443":y+" "+function m(y,b){var C=y.split("_");return b%10==1&&b%100!=11?C[0]:b%10>=2&&b%10<=4&&(b%100<10||b%100>=20)?C[1]:C[2]}({ss:b?"\u0441\u0435\u043a\u0443\u043d\u0434\u0430_\u0441\u0435\u043a\u0443\u043d\u0434\u0438_\u0441\u0435\u043a\u0443\u043d\u0434":"\u0441\u0435\u043a\u0443\u043d\u0434\u0443_\u0441\u0435\u043a\u0443\u043d\u0434\u0438_\u0441\u0435\u043a\u0443\u043d\u0434",mm:b?"\u0445\u0432\u0438\u043b\u0438\u043d\u0430_\u0445\u0432\u0438\u043b\u0438\u043d\u0438_\u0445\u0432\u0438\u043b\u0438\u043d":"\u0445\u0432\u0438\u043b\u0438\u043d\u0443_\u0445\u0432\u0438\u043b\u0438\u043d\u0438_\u0445\u0432\u0438\u043b\u0438\u043d",hh:b?"\u0433\u043e\u0434\u0438\u043d\u0430_\u0433\u043e\u0434\u0438\u043d\u0438_\u0433\u043e\u0434\u0438\u043d":"\u0433\u043e\u0434\u0438\u043d\u0443_\u0433\u043e\u0434\u0438\u043d\u0438_\u0433\u043e\u0434\u0438\u043d",dd:"\u0434\u0435\u043d\u044c_\u0434\u043d\u0456_\u0434\u043d\u0456\u0432",MM:"\u043c\u0456\u0441\u044f\u0446\u044c_\u043c\u0456\u0441\u044f\u0446\u0456_\u043c\u0456\u0441\u044f\u0446\u0456\u0432",yy:"\u0440\u0456\u043a_\u0440\u043e\u043a\u0438_\u0440\u043e\u043a\u0456\u0432"}[C],+y)}function p(y){return function(){return y+"\u043e"+(11===this.hours()?"\u0431":"")+"] LT"}}v.defineLocale("uk",{months:{format:"\u0441\u0456\u0447\u043d\u044f_\u043b\u044e\u0442\u043e\u0433\u043e_\u0431\u0435\u0440\u0435\u0437\u043d\u044f_\u043a\u0432\u0456\u0442\u043d\u044f_\u0442\u0440\u0430\u0432\u043d\u044f_\u0447\u0435\u0440\u0432\u043d\u044f_\u043b\u0438\u043f\u043d\u044f_\u0441\u0435\u0440\u043f\u043d\u044f_\u0432\u0435\u0440\u0435\u0441\u043d\u044f_\u0436\u043e\u0432\u0442\u043d\u044f_\u043b\u0438\u0441\u0442\u043e\u043f\u0430\u0434\u0430_\u0433\u0440\u0443\u0434\u043d\u044f".split("_"),standalone:"\u0441\u0456\u0447\u0435\u043d\u044c_\u043b\u044e\u0442\u0438\u0439_\u0431\u0435\u0440\u0435\u0437\u0435\u043d\u044c_\u043a\u0432\u0456\u0442\u0435\u043d\u044c_\u0442\u0440\u0430\u0432\u0435\u043d\u044c_\u0447\u0435\u0440\u0432\u0435\u043d\u044c_\u043b\u0438\u043f\u0435\u043d\u044c_\u0441\u0435\u0440\u043f\u0435\u043d\u044c_\u0432\u0435\u0440\u0435\u0441\u0435\u043d\u044c_\u0436\u043e\u0432\u0442\u0435\u043d\u044c_\u043b\u0438\u0441\u0442\u043e\u043f\u0430\u0434_\u0433\u0440\u0443\u0434\u0435\u043d\u044c".split("_")},monthsShort:"\u0441\u0456\u0447_\u043b\u044e\u0442_\u0431\u0435\u0440_\u043a\u0432\u0456\u0442_\u0442\u0440\u0430\u0432_\u0447\u0435\u0440\u0432_\u043b\u0438\u043f_\u0441\u0435\u0440\u043f_\u0432\u0435\u0440_\u0436\u043e\u0432\u0442_\u043b\u0438\u0441\u0442_\u0433\u0440\u0443\u0434".split("_"),weekdays:function u(y,b){var C={nominative:"\u043d\u0435\u0434\u0456\u043b\u044f_\u043f\u043e\u043d\u0435\u0434\u0456\u043b\u043e\u043a_\u0432\u0456\u0432\u0442\u043e\u0440\u043e\u043a_\u0441\u0435\u0440\u0435\u0434\u0430_\u0447\u0435\u0442\u0432\u0435\u0440_\u043f\u2019\u044f\u0442\u043d\u0438\u0446\u044f_\u0441\u0443\u0431\u043e\u0442\u0430".split("_"),accusative:"\u043d\u0435\u0434\u0456\u043b\u044e_\u043f\u043e\u043d\u0435\u0434\u0456\u043b\u043e\u043a_\u0432\u0456\u0432\u0442\u043e\u0440\u043e\u043a_\u0441\u0435\u0440\u0435\u0434\u0443_\u0447\u0435\u0442\u0432\u0435\u0440_\u043f\u2019\u044f\u0442\u043d\u0438\u0446\u044e_\u0441\u0443\u0431\u043e\u0442\u0443".split("_"),genitive:"\u043d\u0435\u0434\u0456\u043b\u0456_\u043f\u043e\u043d\u0435\u0434\u0456\u043b\u043a\u0430_\u0432\u0456\u0432\u0442\u043e\u0440\u043a\u0430_\u0441\u0435\u0440\u0435\u0434\u0438_\u0447\u0435\u0442\u0432\u0435\u0440\u0433\u0430_\u043f\u2019\u044f\u0442\u043d\u0438\u0446\u0456_\u0441\u0443\u0431\u043e\u0442\u0438".split("_")};return!0===y?C.nominative.slice(1,7).concat(C.nominative.slice(0,1)):y?C[/(\[[\u0412\u0432\u0423\u0443]\]) ?dddd/.test(b)?"accusative":/\[?(?:\u043c\u0438\u043d\u0443\u043b\u043e\u0457|\u043d\u0430\u0441\u0442\u0443\u043f\u043d\u043e\u0457)? ?\] ?dddd/.test(b)?"genitive":"nominative"][y.day()]:C.nominative},weekdaysShort:"\u043d\u0434_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),weekdaysMin:"\u043d\u0434_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY \u0440.",LLL:"D MMMM YYYY \u0440., HH:mm",LLLL:"dddd, D MMMM YYYY \u0440., HH:mm"},calendar:{sameDay:p("[\u0421\u044c\u043e\u0433\u043e\u0434\u043d\u0456 "),nextDay:p("[\u0417\u0430\u0432\u0442\u0440\u0430 "),lastDay:p("[\u0412\u0447\u043e\u0440\u0430 "),nextWeek:p("[\u0423] dddd ["),lastWeek:function(){switch(this.day()){case 0:case 3:case 5:case 6:return p("[\u041c\u0438\u043d\u0443\u043b\u043e\u0457] dddd [").call(this);case 1:case 2:case 4:return p("[\u041c\u0438\u043d\u0443\u043b\u043e\u0433\u043e] dddd [").call(this)}},sameElse:"L"},relativeTime:{future:"\u0437\u0430 %s",past:"%s \u0442\u043e\u043c\u0443",s:"\u0434\u0435\u043a\u0456\u043b\u044c\u043a\u0430 \u0441\u0435\u043a\u0443\u043d\u0434",ss:d,m:d,mm:d,h:"\u0433\u043e\u0434\u0438\u043d\u0443",hh:d,d:"\u0434\u0435\u043d\u044c",dd:d,M:"\u043c\u0456\u0441\u044f\u0446\u044c",MM:d,y:"\u0440\u0456\u043a",yy:d},meridiemParse:/\u043d\u043e\u0447\u0456|\u0440\u0430\u043d\u043a\u0443|\u0434\u043d\u044f|\u0432\u0435\u0447\u043e\u0440\u0430/,isPM:function(y){return/^(\u0434\u043d\u044f|\u0432\u0435\u0447\u043e\u0440\u0430)$/.test(y)},meridiem:function(y,b,C){return y<4?"\u043d\u043e\u0447\u0456":y<12?"\u0440\u0430\u043d\u043a\u0443":y<17?"\u0434\u043d\u044f":"\u0432\u0435\u0447\u043e\u0440\u0430"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0439|\u0433\u043e)/,ordinal:function(y,b){switch(b){case"M":case"d":case"DDD":case"w":case"W":return y+"-\u0439";case"D":return y+"-\u0433\u043e";default:return y}},week:{dow:1,doy:7}})}(w(5439))},6077:function(se,q,w){!function(v){"use strict";var m=["\u062c\u0646\u0648\u0631\u06cc","\u0641\u0631\u0648\u0631\u06cc","\u0645\u0627\u0631\u0686","\u0627\u067e\u0631\u06cc\u0644","\u0645\u0626\u06cc","\u062c\u0648\u0646","\u062c\u0648\u0644\u0627\u0626\u06cc","\u0627\u06af\u0633\u062a","\u0633\u062a\u0645\u0628\u0631","\u0627\u06a9\u062a\u0648\u0628\u0631","\u0646\u0648\u0645\u0628\u0631","\u062f\u0633\u0645\u0628\u0631"],d=["\u0627\u062a\u0648\u0627\u0631","\u067e\u06cc\u0631","\u0645\u0646\u06af\u0644","\u0628\u062f\u06be","\u062c\u0645\u0639\u0631\u0627\u062a","\u062c\u0645\u0639\u06c1","\u06c1\u0641\u062a\u06c1"];v.defineLocale("ur",{months:m,monthsShort:m,weekdays:d,weekdaysShort:d,weekdaysMin:d,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd\u060c D MMMM YYYY HH:mm"},meridiemParse:/\u0635\u0628\u062d|\u0634\u0627\u0645/,isPM:function(p){return"\u0634\u0627\u0645"===p},meridiem:function(p,g,y){return p<12?"\u0635\u0628\u062d":"\u0634\u0627\u0645"},calendar:{sameDay:"[\u0622\u062c \u0628\u0648\u0642\u062a] LT",nextDay:"[\u06a9\u0644 \u0628\u0648\u0642\u062a] LT",nextWeek:"dddd [\u0628\u0648\u0642\u062a] LT",lastDay:"[\u06af\u0630\u0634\u062a\u06c1 \u0631\u0648\u0632 \u0628\u0648\u0642\u062a] LT",lastWeek:"[\u06af\u0630\u0634\u062a\u06c1] dddd [\u0628\u0648\u0642\u062a] LT",sameElse:"L"},relativeTime:{future:"%s \u0628\u0639\u062f",past:"%s \u0642\u0628\u0644",s:"\u0686\u0646\u062f \u0633\u06cc\u06a9\u0646\u0688",ss:"%d \u0633\u06cc\u06a9\u0646\u0688",m:"\u0627\u06cc\u06a9 \u0645\u0646\u0679",mm:"%d \u0645\u0646\u0679",h:"\u0627\u06cc\u06a9 \u06af\u06be\u0646\u0679\u06c1",hh:"%d \u06af\u06be\u0646\u0679\u06d2",d:"\u0627\u06cc\u06a9 \u062f\u0646",dd:"%d \u062f\u0646",M:"\u0627\u06cc\u06a9 \u0645\u0627\u06c1",MM:"%d \u0645\u0627\u06c1",y:"\u0627\u06cc\u06a9 \u0633\u0627\u0644",yy:"%d \u0633\u0627\u0644"},preparse:function(p){return p.replace(/\u060c/g,",")},postformat:function(p){return p.replace(/,/g,"\u060c")},week:{dow:1,doy:4}})}(w(5439))},2207:function(se,q,w){!function(v){"use strict";v.defineLocale("uz-latn",{months:"Yanvar_Fevral_Mart_Aprel_May_Iyun_Iyul_Avgust_Sentabr_Oktabr_Noyabr_Dekabr".split("_"),monthsShort:"Yan_Fev_Mar_Apr_May_Iyun_Iyul_Avg_Sen_Okt_Noy_Dek".split("_"),weekdays:"Yakshanba_Dushanba_Seshanba_Chorshanba_Payshanba_Juma_Shanba".split("_"),weekdaysShort:"Yak_Dush_Sesh_Chor_Pay_Jum_Shan".split("_"),weekdaysMin:"Ya_Du_Se_Cho_Pa_Ju_Sha".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"D MMMM YYYY, dddd HH:mm"},calendar:{sameDay:"[Bugun soat] LT [da]",nextDay:"[Ertaga] LT [da]",nextWeek:"dddd [kuni soat] LT [da]",lastDay:"[Kecha soat] LT [da]",lastWeek:"[O'tgan] dddd [kuni soat] LT [da]",sameElse:"L"},relativeTime:{future:"Yaqin %s ichida",past:"Bir necha %s oldin",s:"soniya",ss:"%d soniya",m:"bir daqiqa",mm:"%d daqiqa",h:"bir soat",hh:"%d soat",d:"bir kun",dd:"%d kun",M:"bir oy",MM:"%d oy",y:"bir yil",yy:"%d yil"},week:{dow:1,doy:7}})}(w(5439))},2862:function(se,q,w){!function(v){"use strict";v.defineLocale("uz",{months:"\u044f\u043d\u0432\u0430\u0440_\u0444\u0435\u0432\u0440\u0430\u043b_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0435\u043b_\u043c\u0430\u0439_\u0438\u044e\u043d_\u0438\u044e\u043b_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043d\u0442\u044f\u0431\u0440_\u043e\u043a\u0442\u044f\u0431\u0440_\u043d\u043e\u044f\u0431\u0440_\u0434\u0435\u043a\u0430\u0431\u0440".split("_"),monthsShort:"\u044f\u043d\u0432_\u0444\u0435\u0432_\u043c\u0430\u0440_\u0430\u043f\u0440_\u043c\u0430\u0439_\u0438\u044e\u043d_\u0438\u044e\u043b_\u0430\u0432\u0433_\u0441\u0435\u043d_\u043e\u043a\u0442_\u043d\u043e\u044f_\u0434\u0435\u043a".split("_"),weekdays:"\u042f\u043a\u0448\u0430\u043d\u0431\u0430_\u0414\u0443\u0448\u0430\u043d\u0431\u0430_\u0421\u0435\u0448\u0430\u043d\u0431\u0430_\u0427\u043e\u0440\u0448\u0430\u043d\u0431\u0430_\u041f\u0430\u0439\u0448\u0430\u043d\u0431\u0430_\u0416\u0443\u043c\u0430_\u0428\u0430\u043d\u0431\u0430".split("_"),weekdaysShort:"\u042f\u043a\u0448_\u0414\u0443\u0448_\u0421\u0435\u0448_\u0427\u043e\u0440_\u041f\u0430\u0439_\u0416\u0443\u043c_\u0428\u0430\u043d".split("_"),weekdaysMin:"\u042f\u043a_\u0414\u0443_\u0421\u0435_\u0427\u043e_\u041f\u0430_\u0416\u0443_\u0428\u0430".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"D MMMM YYYY, dddd HH:mm"},calendar:{sameDay:"[\u0411\u0443\u0433\u0443\u043d \u0441\u043e\u0430\u0442] LT [\u0434\u0430]",nextDay:"[\u042d\u0440\u0442\u0430\u0433\u0430] LT [\u0434\u0430]",nextWeek:"dddd [\u043a\u0443\u043d\u0438 \u0441\u043e\u0430\u0442] LT [\u0434\u0430]",lastDay:"[\u041a\u0435\u0447\u0430 \u0441\u043e\u0430\u0442] LT [\u0434\u0430]",lastWeek:"[\u0423\u0442\u0433\u0430\u043d] dddd [\u043a\u0443\u043d\u0438 \u0441\u043e\u0430\u0442] LT [\u0434\u0430]",sameElse:"L"},relativeTime:{future:"\u042f\u043a\u0438\u043d %s \u0438\u0447\u0438\u0434\u0430",past:"\u0411\u0438\u0440 \u043d\u0435\u0447\u0430 %s \u043e\u043b\u0434\u0438\u043d",s:"\u0444\u0443\u0440\u0441\u0430\u0442",ss:"%d \u0444\u0443\u0440\u0441\u0430\u0442",m:"\u0431\u0438\u0440 \u0434\u0430\u043a\u0438\u043a\u0430",mm:"%d \u0434\u0430\u043a\u0438\u043a\u0430",h:"\u0431\u0438\u0440 \u0441\u043e\u0430\u0442",hh:"%d \u0441\u043e\u0430\u0442",d:"\u0431\u0438\u0440 \u043a\u0443\u043d",dd:"%d \u043a\u0443\u043d",M:"\u0431\u0438\u0440 \u043e\u0439",MM:"%d \u043e\u0439",y:"\u0431\u0438\u0440 \u0439\u0438\u043b",yy:"%d \u0439\u0438\u043b"},week:{dow:1,doy:7}})}(w(5439))},8093:function(se,q,w){!function(v){"use strict";v.defineLocale("vi",{months:"th\xe1ng 1_th\xe1ng 2_th\xe1ng 3_th\xe1ng 4_th\xe1ng 5_th\xe1ng 6_th\xe1ng 7_th\xe1ng 8_th\xe1ng 9_th\xe1ng 10_th\xe1ng 11_th\xe1ng 12".split("_"),monthsShort:"Thg 01_Thg 02_Thg 03_Thg 04_Thg 05_Thg 06_Thg 07_Thg 08_Thg 09_Thg 10_Thg 11_Thg 12".split("_"),monthsParseExact:!0,weekdays:"ch\u1ee7 nh\u1eadt_th\u1ee9 hai_th\u1ee9 ba_th\u1ee9 t\u01b0_th\u1ee9 n\u0103m_th\u1ee9 s\xe1u_th\u1ee9 b\u1ea3y".split("_"),weekdaysShort:"CN_T2_T3_T4_T5_T6_T7".split("_"),weekdaysMin:"CN_T2_T3_T4_T5_T6_T7".split("_"),weekdaysParseExact:!0,meridiemParse:/sa|ch/i,isPM:function(d){return/^ch$/i.test(d)},meridiem:function(d,u,p){return d<12?p?"sa":"SA":p?"ch":"CH"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [n\u0103m] YYYY",LLL:"D MMMM [n\u0103m] YYYY HH:mm",LLLL:"dddd, D MMMM [n\u0103m] YYYY HH:mm",l:"DD/M/YYYY",ll:"D MMM YYYY",lll:"D MMM YYYY HH:mm",llll:"ddd, D MMM YYYY HH:mm"},calendar:{sameDay:"[H\xf4m nay l\xfac] LT",nextDay:"[Ng\xe0y mai l\xfac] LT",nextWeek:"dddd [tu\u1ea7n t\u1edbi l\xfac] LT",lastDay:"[H\xf4m qua l\xfac] LT",lastWeek:"dddd [tu\u1ea7n tr\u01b0\u1edbc l\xfac] LT",sameElse:"L"},relativeTime:{future:"%s t\u1edbi",past:"%s tr\u01b0\u1edbc",s:"v\xe0i gi\xe2y",ss:"%d gi\xe2y",m:"m\u1ed9t ph\xfat",mm:"%d ph\xfat",h:"m\u1ed9t gi\u1edd",hh:"%d gi\u1edd",d:"m\u1ed9t ng\xe0y",dd:"%d ng\xe0y",w:"m\u1ed9t tu\u1ea7n",ww:"%d tu\u1ea7n",M:"m\u1ed9t th\xe1ng",MM:"%d th\xe1ng",y:"m\u1ed9t n\u0103m",yy:"%d n\u0103m"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:function(d){return d},week:{dow:1,doy:4}})}(w(5439))},5590:function(se,q,w){!function(v){"use strict";v.defineLocale("x-pseudo",{months:"J~\xe1\xf1\xfa\xe1~r\xfd_F~\xe9br\xfa~\xe1r\xfd_~M\xe1rc~h_\xc1p~r\xedl_~M\xe1\xfd_~J\xfa\xf1\xe9~_J\xfal~\xfd_\xc1\xfa~g\xfast~_S\xe9p~t\xe9mb~\xe9r_\xd3~ct\xf3b~\xe9r_\xd1~\xf3v\xe9m~b\xe9r_~D\xe9c\xe9~mb\xe9r".split("_"),monthsShort:"J~\xe1\xf1_~F\xe9b_~M\xe1r_~\xc1pr_~M\xe1\xfd_~J\xfa\xf1_~J\xfal_~\xc1\xfag_~S\xe9p_~\xd3ct_~\xd1\xf3v_~D\xe9c".split("_"),monthsParseExact:!0,weekdays:"S~\xfa\xf1d\xe1~\xfd_M\xf3~\xf1d\xe1\xfd~_T\xfa\xe9~sd\xe1\xfd~_W\xe9d~\xf1\xe9sd~\xe1\xfd_T~h\xfars~d\xe1\xfd_~Fr\xedd~\xe1\xfd_S~\xe1t\xfar~d\xe1\xfd".split("_"),weekdaysShort:"S~\xfa\xf1_~M\xf3\xf1_~T\xfa\xe9_~W\xe9d_~Th\xfa_~Fr\xed_~S\xe1t".split("_"),weekdaysMin:"S~\xfa_M\xf3~_T\xfa_~W\xe9_T~h_Fr~_S\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[T~\xf3d\xe1~\xfd \xe1t] LT",nextDay:"[T~\xf3m\xf3~rr\xf3~w \xe1t] LT",nextWeek:"dddd [\xe1t] LT",lastDay:"[\xdd~\xe9st~\xe9rd\xe1~\xfd \xe1t] LT",lastWeek:"[L~\xe1st] dddd [\xe1t] LT",sameElse:"L"},relativeTime:{future:"\xed~\xf1 %s",past:"%s \xe1~g\xf3",s:"\xe1 ~f\xe9w ~s\xe9c\xf3~\xf1ds",ss:"%d s~\xe9c\xf3\xf1~ds",m:"\xe1 ~m\xed\xf1~\xfat\xe9",mm:"%d m~\xed\xf1\xfa~t\xe9s",h:"\xe1~\xf1 h\xf3~\xfar",hh:"%d h~\xf3\xfars",d:"\xe1 ~d\xe1\xfd",dd:"%d d~\xe1\xfds",M:"\xe1 ~m\xf3\xf1~th",MM:"%d m~\xf3\xf1t~hs",y:"\xe1 ~\xfd\xe9\xe1r",yy:"%d \xfd~\xe9\xe1rs"},dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(d){var u=d%10;return d+(1==~~(d%100/10)?"th":1===u?"st":2===u?"nd":3===u?"rd":"th")},week:{dow:1,doy:4}})}(w(5439))},9058:function(se,q,w){!function(v){"use strict";v.defineLocale("yo",{months:"S\u1eb9\u0301r\u1eb9\u0301_E\u0300re\u0300le\u0300_\u1eb8r\u1eb9\u0300na\u0300_I\u0300gbe\u0301_E\u0300bibi_O\u0300ku\u0300du_Ag\u1eb9mo_O\u0300gu\u0301n_Owewe_\u1ecc\u0300wa\u0300ra\u0300_Be\u0301lu\u0301_\u1ecc\u0300p\u1eb9\u0300\u0300".split("_"),monthsShort:"S\u1eb9\u0301r_E\u0300rl_\u1eb8rn_I\u0300gb_E\u0300bi_O\u0300ku\u0300_Ag\u1eb9_O\u0300gu\u0301_Owe_\u1ecc\u0300wa\u0300_Be\u0301l_\u1ecc\u0300p\u1eb9\u0300\u0300".split("_"),weekdays:"A\u0300i\u0300ku\u0301_Aje\u0301_I\u0300s\u1eb9\u0301gun_\u1eccj\u1ecd\u0301ru\u0301_\u1eccj\u1ecd\u0301b\u1ecd_\u1eb8ti\u0300_A\u0300ba\u0301m\u1eb9\u0301ta".split("_"),weekdaysShort:"A\u0300i\u0300k_Aje\u0301_I\u0300s\u1eb9\u0301_\u1eccjr_\u1eccjb_\u1eb8ti\u0300_A\u0300ba\u0301".split("_"),weekdaysMin:"A\u0300i\u0300_Aj_I\u0300s_\u1eccr_\u1eccb_\u1eb8t_A\u0300b".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[O\u0300ni\u0300 ni] LT",nextDay:"[\u1ecc\u0300la ni] LT",nextWeek:"dddd [\u1eccs\u1eb9\u0300 to\u0301n'b\u1ecd] [ni] LT",lastDay:"[A\u0300na ni] LT",lastWeek:"dddd [\u1eccs\u1eb9\u0300 to\u0301l\u1ecd\u0301] [ni] LT",sameElse:"L"},relativeTime:{future:"ni\u0301 %s",past:"%s k\u1ecdja\u0301",s:"i\u0300s\u1eb9ju\u0301 aaya\u0301 die",ss:"aaya\u0301 %d",m:"i\u0300s\u1eb9ju\u0301 kan",mm:"i\u0300s\u1eb9ju\u0301 %d",h:"wa\u0301kati kan",hh:"wa\u0301kati %d",d:"\u1ecdj\u1ecd\u0301 kan",dd:"\u1ecdj\u1ecd\u0301 %d",M:"osu\u0300 kan",MM:"osu\u0300 %d",y:"\u1ecddu\u0301n kan",yy:"\u1ecddu\u0301n %d"},dayOfMonthOrdinalParse:/\u1ecdj\u1ecd\u0301\s\d{1,2}/,ordinal:"\u1ecdj\u1ecd\u0301 %d",week:{dow:1,doy:4}})}(w(5439))},7908:function(se,q,w){!function(v){"use strict";v.defineLocale("zh-cn",{months:"\u4e00\u6708_\u4e8c\u6708_\u4e09\u6708_\u56db\u6708_\u4e94\u6708_\u516d\u6708_\u4e03\u6708_\u516b\u6708_\u4e5d\u6708_\u5341\u6708_\u5341\u4e00\u6708_\u5341\u4e8c\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),weekdays:"\u661f\u671f\u65e5_\u661f\u671f\u4e00_\u661f\u671f\u4e8c_\u661f\u671f\u4e09_\u661f\u671f\u56db_\u661f\u671f\u4e94_\u661f\u671f\u516d".split("_"),weekdaysShort:"\u5468\u65e5_\u5468\u4e00_\u5468\u4e8c_\u5468\u4e09_\u5468\u56db_\u5468\u4e94_\u5468\u516d".split("_"),weekdaysMin:"\u65e5_\u4e00_\u4e8c_\u4e09_\u56db_\u4e94_\u516d".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY\u5e74M\u6708D\u65e5",LLL:"YYYY\u5e74M\u6708D\u65e5Ah\u70b9mm\u5206",LLLL:"YYYY\u5e74M\u6708D\u65e5ddddAh\u70b9mm\u5206",l:"YYYY/M/D",ll:"YYYY\u5e74M\u6708D\u65e5",lll:"YYYY\u5e74M\u6708D\u65e5 HH:mm",llll:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm"},meridiemParse:/\u51cc\u6668|\u65e9\u4e0a|\u4e0a\u5348|\u4e2d\u5348|\u4e0b\u5348|\u665a\u4e0a/,meridiemHour:function(d,u){return 12===d&&(d=0),"\u51cc\u6668"===u||"\u65e9\u4e0a"===u||"\u4e0a\u5348"===u?d:"\u4e0b\u5348"===u||"\u665a\u4e0a"===u?d+12:d>=11?d:d+12},meridiem:function(d,u,p){var g=100*d+u;return g<600?"\u51cc\u6668":g<900?"\u65e9\u4e0a":g<1130?"\u4e0a\u5348":g<1230?"\u4e2d\u5348":g<1800?"\u4e0b\u5348":"\u665a\u4e0a"},calendar:{sameDay:"[\u4eca\u5929]LT",nextDay:"[\u660e\u5929]LT",nextWeek:function(d){return d.week()!==this.week()?"[\u4e0b]dddLT":"[\u672c]dddLT"},lastDay:"[\u6628\u5929]LT",lastWeek:function(d){return this.week()!==d.week()?"[\u4e0a]dddLT":"[\u672c]dddLT"},sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(\u65e5|\u6708|\u5468)/,ordinal:function(d,u){switch(u){case"d":case"D":case"DDD":return d+"\u65e5";case"M":return d+"\u6708";case"w":case"W":return d+"\u5468";default:return d}},relativeTime:{future:"%s\u540e",past:"%s\u524d",s:"\u51e0\u79d2",ss:"%d \u79d2",m:"1 \u5206\u949f",mm:"%d \u5206\u949f",h:"1 \u5c0f\u65f6",hh:"%d \u5c0f\u65f6",d:"1 \u5929",dd:"%d \u5929",w:"1 \u5468",ww:"%d \u5468",M:"1 \u4e2a\u6708",MM:"%d \u4e2a\u6708",y:"1 \u5e74",yy:"%d \u5e74"},week:{dow:1,doy:4}})}(w(5439))},8867:function(se,q,w){!function(v){"use strict";v.defineLocale("zh-hk",{months:"\u4e00\u6708_\u4e8c\u6708_\u4e09\u6708_\u56db\u6708_\u4e94\u6708_\u516d\u6708_\u4e03\u6708_\u516b\u6708_\u4e5d\u6708_\u5341\u6708_\u5341\u4e00\u6708_\u5341\u4e8c\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),weekdays:"\u661f\u671f\u65e5_\u661f\u671f\u4e00_\u661f\u671f\u4e8c_\u661f\u671f\u4e09_\u661f\u671f\u56db_\u661f\u671f\u4e94_\u661f\u671f\u516d".split("_"),weekdaysShort:"\u9031\u65e5_\u9031\u4e00_\u9031\u4e8c_\u9031\u4e09_\u9031\u56db_\u9031\u4e94_\u9031\u516d".split("_"),weekdaysMin:"\u65e5_\u4e00_\u4e8c_\u4e09_\u56db_\u4e94_\u516d".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY\u5e74M\u6708D\u65e5",LLL:"YYYY\u5e74M\u6708D\u65e5 HH:mm",LLLL:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm",l:"YYYY/M/D",ll:"YYYY\u5e74M\u6708D\u65e5",lll:"YYYY\u5e74M\u6708D\u65e5 HH:mm",llll:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm"},meridiemParse:/\u51cc\u6668|\u65e9\u4e0a|\u4e0a\u5348|\u4e2d\u5348|\u4e0b\u5348|\u665a\u4e0a/,meridiemHour:function(d,u){return 12===d&&(d=0),"\u51cc\u6668"===u||"\u65e9\u4e0a"===u||"\u4e0a\u5348"===u?d:"\u4e2d\u5348"===u?d>=11?d:d+12:"\u4e0b\u5348"===u||"\u665a\u4e0a"===u?d+12:void 0},meridiem:function(d,u,p){var g=100*d+u;return g<600?"\u51cc\u6668":g<900?"\u65e9\u4e0a":g<1200?"\u4e0a\u5348":1200===g?"\u4e2d\u5348":g<1800?"\u4e0b\u5348":"\u665a\u4e0a"},calendar:{sameDay:"[\u4eca\u5929]LT",nextDay:"[\u660e\u5929]LT",nextWeek:"[\u4e0b]ddddLT",lastDay:"[\u6628\u5929]LT",lastWeek:"[\u4e0a]ddddLT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(\u65e5|\u6708|\u9031)/,ordinal:function(d,u){switch(u){case"d":case"D":case"DDD":return d+"\u65e5";case"M":return d+"\u6708";case"w":case"W":return d+"\u9031";default:return d}},relativeTime:{future:"%s\u5f8c",past:"%s\u524d",s:"\u5e7e\u79d2",ss:"%d \u79d2",m:"1 \u5206\u9418",mm:"%d \u5206\u9418",h:"1 \u5c0f\u6642",hh:"%d \u5c0f\u6642",d:"1 \u5929",dd:"%d \u5929",M:"1 \u500b\u6708",MM:"%d \u500b\u6708",y:"1 \u5e74",yy:"%d \u5e74"}})}(w(5439))},1133:function(se,q,w){!function(v){"use strict";v.defineLocale("zh-mo",{months:"\u4e00\u6708_\u4e8c\u6708_\u4e09\u6708_\u56db\u6708_\u4e94\u6708_\u516d\u6708_\u4e03\u6708_\u516b\u6708_\u4e5d\u6708_\u5341\u6708_\u5341\u4e00\u6708_\u5341\u4e8c\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),weekdays:"\u661f\u671f\u65e5_\u661f\u671f\u4e00_\u661f\u671f\u4e8c_\u661f\u671f\u4e09_\u661f\u671f\u56db_\u661f\u671f\u4e94_\u661f\u671f\u516d".split("_"),weekdaysShort:"\u9031\u65e5_\u9031\u4e00_\u9031\u4e8c_\u9031\u4e09_\u9031\u56db_\u9031\u4e94_\u9031\u516d".split("_"),weekdaysMin:"\u65e5_\u4e00_\u4e8c_\u4e09_\u56db_\u4e94_\u516d".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"YYYY\u5e74M\u6708D\u65e5",LLL:"YYYY\u5e74M\u6708D\u65e5 HH:mm",LLLL:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm",l:"D/M/YYYY",ll:"YYYY\u5e74M\u6708D\u65e5",lll:"YYYY\u5e74M\u6708D\u65e5 HH:mm",llll:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm"},meridiemParse:/\u51cc\u6668|\u65e9\u4e0a|\u4e0a\u5348|\u4e2d\u5348|\u4e0b\u5348|\u665a\u4e0a/,meridiemHour:function(d,u){return 12===d&&(d=0),"\u51cc\u6668"===u||"\u65e9\u4e0a"===u||"\u4e0a\u5348"===u?d:"\u4e2d\u5348"===u?d>=11?d:d+12:"\u4e0b\u5348"===u||"\u665a\u4e0a"===u?d+12:void 0},meridiem:function(d,u,p){var g=100*d+u;return g<600?"\u51cc\u6668":g<900?"\u65e9\u4e0a":g<1130?"\u4e0a\u5348":g<1230?"\u4e2d\u5348":g<1800?"\u4e0b\u5348":"\u665a\u4e0a"},calendar:{sameDay:"[\u4eca\u5929] LT",nextDay:"[\u660e\u5929] LT",nextWeek:"[\u4e0b]dddd LT",lastDay:"[\u6628\u5929] LT",lastWeek:"[\u4e0a]dddd LT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(\u65e5|\u6708|\u9031)/,ordinal:function(d,u){switch(u){case"d":case"D":case"DDD":return d+"\u65e5";case"M":return d+"\u6708";case"w":case"W":return d+"\u9031";default:return d}},relativeTime:{future:"%s\u5167",past:"%s\u524d",s:"\u5e7e\u79d2",ss:"%d \u79d2",m:"1 \u5206\u9418",mm:"%d \u5206\u9418",h:"1 \u5c0f\u6642",hh:"%d \u5c0f\u6642",d:"1 \u5929",dd:"%d \u5929",M:"1 \u500b\u6708",MM:"%d \u500b\u6708",y:"1 \u5e74",yy:"%d \u5e74"}})}(w(5439))},3291:function(se,q,w){!function(v){"use strict";v.defineLocale("zh-tw",{months:"\u4e00\u6708_\u4e8c\u6708_\u4e09\u6708_\u56db\u6708_\u4e94\u6708_\u516d\u6708_\u4e03\u6708_\u516b\u6708_\u4e5d\u6708_\u5341\u6708_\u5341\u4e00\u6708_\u5341\u4e8c\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),weekdays:"\u661f\u671f\u65e5_\u661f\u671f\u4e00_\u661f\u671f\u4e8c_\u661f\u671f\u4e09_\u661f\u671f\u56db_\u661f\u671f\u4e94_\u661f\u671f\u516d".split("_"),weekdaysShort:"\u9031\u65e5_\u9031\u4e00_\u9031\u4e8c_\u9031\u4e09_\u9031\u56db_\u9031\u4e94_\u9031\u516d".split("_"),weekdaysMin:"\u65e5_\u4e00_\u4e8c_\u4e09_\u56db_\u4e94_\u516d".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY\u5e74M\u6708D\u65e5",LLL:"YYYY\u5e74M\u6708D\u65e5 HH:mm",LLLL:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm",l:"YYYY/M/D",ll:"YYYY\u5e74M\u6708D\u65e5",lll:"YYYY\u5e74M\u6708D\u65e5 HH:mm",llll:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm"},meridiemParse:/\u51cc\u6668|\u65e9\u4e0a|\u4e0a\u5348|\u4e2d\u5348|\u4e0b\u5348|\u665a\u4e0a/,meridiemHour:function(d,u){return 12===d&&(d=0),"\u51cc\u6668"===u||"\u65e9\u4e0a"===u||"\u4e0a\u5348"===u?d:"\u4e2d\u5348"===u?d>=11?d:d+12:"\u4e0b\u5348"===u||"\u665a\u4e0a"===u?d+12:void 0},meridiem:function(d,u,p){var g=100*d+u;return g<600?"\u51cc\u6668":g<900?"\u65e9\u4e0a":g<1130?"\u4e0a\u5348":g<1230?"\u4e2d\u5348":g<1800?"\u4e0b\u5348":"\u665a\u4e0a"},calendar:{sameDay:"[\u4eca\u5929] LT",nextDay:"[\u660e\u5929] LT",nextWeek:"[\u4e0b]dddd LT",lastDay:"[\u6628\u5929] LT",lastWeek:"[\u4e0a]dddd LT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(\u65e5|\u6708|\u9031)/,ordinal:function(d,u){switch(u){case"d":case"D":case"DDD":return d+"\u65e5";case"M":return d+"\u6708";case"w":case"W":return d+"\u9031";default:return d}},relativeTime:{future:"%s\u5f8c",past:"%s\u524d",s:"\u5e7e\u79d2",ss:"%d \u79d2",m:"1 \u5206\u9418",mm:"%d \u5206\u9418",h:"1 \u5c0f\u6642",hh:"%d \u5c0f\u6642",d:"1 \u5929",dd:"%d \u5929",M:"1 \u500b\u6708",MM:"%d \u500b\u6708",y:"1 \u5e74",yy:"%d \u5e74"}})}(w(5439))},5439:function(se,q,w){(se=w.nmd(se)).exports=function(){"use strict";var v,te;function m(){return v.apply(null,arguments)}function u(c){return c instanceof Array||"[object Array]"===Object.prototype.toString.call(c)}function p(c){return null!=c&&"[object Object]"===Object.prototype.toString.call(c)}function g(c,_){return Object.prototype.hasOwnProperty.call(c,_)}function y(c){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(c).length;var _;for(_ in c)if(g(c,_))return!1;return!0}function b(c){return void 0===c}function C(c){return"number"==typeof c||"[object Number]"===Object.prototype.toString.call(c)}function P(c){return c instanceof Date||"[object Date]"===Object.prototype.toString.call(c)}function N(c,_){var I,T=[],Z=c.length;for(I=0;I>>0;for(I=0;I0)for(T=0;T=0?T?"+":"":"-")+Math.pow(10,Math.max(0,_-I.length)).toString().substr(1)+I}var je=/(\[[^\[]*\])|(\\)?([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,Q=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,de={},re={};function ae(c,_,T,I){var Z=I;"string"==typeof I&&(Z=function(){return this[I]()}),c&&(re[c]=Z),_&&(re[_[0]]=function(){return bt(Z.apply(this,arguments),_[1],_[2])}),T&&(re[T]=function(){return this.localeData().ordinal(Z.apply(this,arguments),c)})}function qe(c){return c.match(/\[[\s\S]/)?c.replace(/^\[|\]$/g,""):c.replace(/\\/g,"")}function ut(c,_){return c.isValid()?(_=Tt(_,c.localeData()),de[_]=de[_]||function Ve(c){var T,I,_=c.match(je);for(T=0,I=_.length;T=0&&Q.test(c);)c=c.replace(Q,I),Q.lastIndex=0,T-=1;return c}var Bn={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 xn(c){return"string"==typeof c?Bn[c]||Bn[c.toLowerCase()]:void 0}function ue(c){var T,I,_={};for(I in c)g(c,I)&&(T=xn(I))&&(_[T]=c[I]);return _}var et={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};var Bt,we=/\d/,xe=/\d\d/,Ze=/\d{3}/,at=/\d{4}/,Pt=/[+-]?\d{6}/,_t=/\d\d?/,Le=/\d\d\d\d?/,Ye=/\d\d\d\d\d\d?/,gt=/\d{1,3}/,Mt=/\d{1,4}/,Xt=/[+-]?\d{1,6}/,bn=/\d+/,X=/[+-]?\d+/,ge=/Z|[+-]\d\d:?\d\d/gi,be=/Z|[+-]\d\d(?::?\d\d)?/gi,$=/[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,pe=/^[1-9]\d?/,Ke=/^([1-9]\d|\d)/;function yt(c,_,T){Bt[c]=K(_)?_:function(I,Z){return I&&T?T:_}}function Dt(c,_){return g(Bt,c)?Bt[c](_._strict,_._locale):new RegExp(function en(c){return ne(c.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(_,T,I,Z,Be){return T||I||Z||Be}))}(c))}function ne(c){return c.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function fe(c){return c<0?Math.ceil(c)||0:Math.floor(c)}function W(c){var _=+c,T=0;return 0!==_&&isFinite(_)&&(T=fe(_)),T}Bt={};var ce={};function ye(c,_){var T,Z,I=_;for("string"==typeof c&&(c=[c]),C(_)&&(I=function(Be,ht){ht[_]=W(Be)}),Z=c.length,T=0;T68?1900:2e3)};var me,Ut=qt("FullYear",!0);function qt(c,_){return function(T){return null!=T?(S(this,c,T),m.updateOffset(this,_),this):z(this,c)}}function z(c,_){if(!c.isValid())return NaN;var T=c._d,I=c._isUTC;switch(_){case"Milliseconds":return I?T.getUTCMilliseconds():T.getMilliseconds();case"Seconds":return I?T.getUTCSeconds():T.getSeconds();case"Minutes":return I?T.getUTCMinutes():T.getMinutes();case"Hours":return I?T.getUTCHours():T.getHours();case"Date":return I?T.getUTCDate():T.getDate();case"Day":return I?T.getUTCDay():T.getDay();case"Month":return I?T.getUTCMonth():T.getMonth();case"FullYear":return I?T.getUTCFullYear():T.getFullYear();default:return NaN}}function S(c,_,T){var I,Z,Be,ht,un;if(c.isValid()&&!isNaN(T)){switch(I=c._d,Z=c._isUTC,_){case"Milliseconds":return void(Z?I.setUTCMilliseconds(T):I.setMilliseconds(T));case"Seconds":return void(Z?I.setUTCSeconds(T):I.setSeconds(T));case"Minutes":return void(Z?I.setUTCMinutes(T):I.setMinutes(T));case"Hours":return void(Z?I.setUTCHours(T):I.setHours(T));case"Date":return void(Z?I.setUTCDate(T):I.setDate(T));case"FullYear":break;default:return}Be=T,ht=c.month(),un=29!==(un=c.date())||1!==ht||J(Be)?un:28,Z?I.setUTCFullYear(Be,ht,un):I.setFullYear(Be,ht,un)}}function Ge(c,_){if(isNaN(c)||isNaN(_))return NaN;var T=function ve(c,_){return(c%_+_)%_}(_,12);return c+=(_-T)/12,1===T?J(c)?29:28:31-T%7%2}me=Array.prototype.indexOf?Array.prototype.indexOf:function(c){var _;for(_=0;_=0?(un=new Date(c+400,_,T,I,Z,Be,ht),isFinite(un.getFullYear())&&un.setFullYear(c)):un=new Date(c,_,T,I,Z,Be,ht),un}function la(c){var _,T;return c<100&&c>=0?((T=Array.prototype.slice.call(arguments))[0]=c+400,_=new Date(Date.UTC.apply(null,T)),isFinite(_.getUTCFullYear())&&_.setUTCFullYear(c)):_=new Date(Date.UTC.apply(null,arguments)),_}function Dl(c,_,T){var I=7+_-T;return-(7+la(c,0,I).getUTCDay()-_)%7+I-1}function fs(c,_,T,I,Z){var Rn,Wn,un=1+7*(_-1)+(7+T-I)%7+Dl(c,I,Z);return un<=0?Wn=Nt(Rn=c-1)+un:un>Nt(c)?(Rn=c+1,Wn=un-Nt(c)):(Rn=c,Wn=un),{year:Rn,dayOfYear:Wn}}function Tr(c,_,T){var Be,ht,I=Dl(c.year(),_,T),Z=Math.floor((c.dayOfYear()-I-1)/7)+1;return Z<1?Be=Z+Vs(ht=c.year()-1,_,T):Z>Vs(c.year(),_,T)?(Be=Z-Vs(c.year(),_,T),ht=c.year()+1):(ht=c.year(),Be=Z),{week:Be,year:ht}}function Vs(c,_,T){var I=Dl(c,_,T),Z=Dl(c+1,_,T);return(Nt(c)-I+Z)/7}ae("w",["ww",2],"wo","week"),ae("W",["WW",2],"Wo","isoWeek"),yt("w",_t,pe),yt("ww",_t,xe),yt("W",_t,pe),yt("WW",_t,xe),Oe(["w","ww","W","WW"],function(c,_,T,I){_[I.substr(0,1)]=W(c)});function ym(c,_){return c.slice(_,7).concat(c.slice(0,_))}ae("d",0,"do","day"),ae("dd",0,0,function(c){return this.localeData().weekdaysMin(this,c)}),ae("ddd",0,0,function(c){return this.localeData().weekdaysShort(this,c)}),ae("dddd",0,0,function(c){return this.localeData().weekdays(this,c)}),ae("e",0,0,"weekday"),ae("E",0,0,"isoWeekday"),yt("d",_t),yt("e",_t),yt("E",_t),yt("dd",function(c,_){return _.weekdaysMinRegex(c)}),yt("ddd",function(c,_){return _.weekdaysShortRegex(c)}),yt("dddd",function(c,_){return _.weekdaysRegex(c)}),Oe(["dd","ddd","dddd"],function(c,_,T,I){var Z=T._locale.weekdaysParse(c,I,T._strict);null!=Z?_.d=Z:L(T).invalidWeekday=c}),Oe(["d","e","E"],function(c,_,T,I){_[I]=W(c)});var El="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Ci="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),gu="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),eh=$,th=$,vm=$;function At(c,_,T){var I,Z,Be,ht=c.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],I=0;I<7;++I)Be=B([2e3,1]).day(I),this._minWeekdaysParse[I]=this.weekdaysMin(Be,"").toLocaleLowerCase(),this._shortWeekdaysParse[I]=this.weekdaysShort(Be,"").toLocaleLowerCase(),this._weekdaysParse[I]=this.weekdays(Be,"").toLocaleLowerCase();return T?"dddd"===_?-1!==(Z=me.call(this._weekdaysParse,ht))?Z:null:"ddd"===_?-1!==(Z=me.call(this._shortWeekdaysParse,ht))?Z:null:-1!==(Z=me.call(this._minWeekdaysParse,ht))?Z:null:"dddd"===_?-1!==(Z=me.call(this._weekdaysParse,ht))||-1!==(Z=me.call(this._shortWeekdaysParse,ht))||-1!==(Z=me.call(this._minWeekdaysParse,ht))?Z:null:"ddd"===_?-1!==(Z=me.call(this._shortWeekdaysParse,ht))||-1!==(Z=me.call(this._weekdaysParse,ht))||-1!==(Z=me.call(this._minWeekdaysParse,ht))?Z:null:-1!==(Z=me.call(this._minWeekdaysParse,ht))||-1!==(Z=me.call(this._weekdaysParse,ht))||-1!==(Z=me.call(this._shortWeekdaysParse,ht))?Z:null}function rt(){function c(zr,Ho){return Ho.length-zr.length}var Be,ht,un,Rn,Wn,_=[],T=[],I=[],Z=[];for(Be=0;Be<7;Be++)ht=B([2e3,1]).day(Be),un=ne(this.weekdaysMin(ht,"")),Rn=ne(this.weekdaysShort(ht,"")),Wn=ne(this.weekdays(ht,"")),_.push(un),T.push(Rn),I.push(Wn),Z.push(un),Z.push(Rn),Z.push(Wn);_.sort(c),T.sort(c),I.sort(c),Z.sort(c),this._weekdaysRegex=new RegExp("^("+Z.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+I.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+T.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+_.join("|")+")","i")}function Sr(){return this.hours()%12||12}function Lo(c,_){ae(c,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),_)})}function ca(c,_){return _._meridiemParse}ae("H",["HH",2],0,"hour"),ae("h",["hh",2],0,Sr),ae("k",["kk",2],0,function Lr(){return this.hours()||24}),ae("hmm",0,0,function(){return""+Sr.apply(this)+bt(this.minutes(),2)}),ae("hmmss",0,0,function(){return""+Sr.apply(this)+bt(this.minutes(),2)+bt(this.seconds(),2)}),ae("Hmm",0,0,function(){return""+this.hours()+bt(this.minutes(),2)}),ae("Hmmss",0,0,function(){return""+this.hours()+bt(this.minutes(),2)+bt(this.seconds(),2)}),Lo("a",!0),Lo("A",!1),yt("a",ca),yt("A",ca),yt("H",_t,Ke),yt("h",_t,pe),yt("k",_t,pe),yt("HH",_t,xe),yt("hh",_t,xe),yt("kk",_t,xe),yt("hmm",Le),yt("hmmss",Ye),yt("Hmm",Le),yt("Hmmss",Ye),ye(["H","HH"],3),ye(["k","kk"],function(c,_,T){var I=W(c);_[3]=24===I?0:I}),ye(["a","A"],function(c,_,T){T._isPm=T._locale.isPM(c),T._meridiem=c}),ye(["h","hh"],function(c,_,T){_[3]=W(c),L(T).bigHour=!0}),ye("hmm",function(c,_,T){var I=c.length-2;_[3]=W(c.substr(0,I)),_[4]=W(c.substr(I)),L(T).bigHour=!0}),ye("hmmss",function(c,_,T){var I=c.length-4,Z=c.length-2;_[3]=W(c.substr(0,I)),_[4]=W(c.substr(I,2)),_[5]=W(c.substr(Z)),L(T).bigHour=!0}),ye("Hmm",function(c,_,T){var I=c.length-2;_[3]=W(c.substr(0,I)),_[4]=W(c.substr(I))}),ye("Hmmss",function(c,_,T){var I=c.length-4,Z=c.length-2;_[3]=W(c.substr(0,I)),_[4]=W(c.substr(I,2)),_[5]=W(c.substr(Z))});var nh=qt("Hours",!0);var vc,yc={calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},longDateFormat:{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"},invalidDate:"Invalid date",ordinal:"%d",dayOfMonthOrdinalParse:/\d{1,2}/,relativeTime:{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"},months:De,monthsShort:xt,week:{dow:0,doy:6},weekdays:El,weekdaysMin:gu,weekdaysShort:Ci,meridiemParse:/[ap]\.?m?\.?/i},fi={},cr={};function Is(c,_){var T,I=Math.min(c.length,_.length);for(T=0;T0;){if(Z=qr(Be.slice(0,T).join("-")))return Z;if(I&&I.length>=T&&Is(Be,I)>=T-1)break;T--}_++}return vc}(c)}function ua(c){var _,T=c._a;return T&&-2===L(c).overflow&&(_=T[1]<0||T[1]>11?1:T[2]<1||T[2]>Ge(T[0],T[1])?2:T[3]<0||T[3]>24||24===T[3]&&(0!==T[4]||0!==T[5]||0!==T[6])?3:T[4]<0||T[4]>59?4:T[5]<0||T[5]>59?5:T[6]<0||T[6]>999?6:-1,L(c)._overflowDayOfYear&&(_<0||_>2)&&(_=2),L(c)._overflowWeeks&&-1===_&&(_=7),L(c)._overflowWeekday&&-1===_&&(_=8),L(c).overflow=_),c}var Un=/^\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)?)?$/,yu=/^\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)?)?$/,Cl=/Z|[+-]\d\d(?::?\d\d)?/,Tl=[["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]],da=[["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/]],Xr=/^\/?Date\((-?\d+)/i,wc=/^(?:(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}))$/,Sl={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function As(c){var _,T,Be,ht,un,Rn,I=c._i,Z=Un.exec(I)||yu.exec(I),Wn=Tl.length,zr=da.length;if(Z){for(L(c).iso=!0,_=0,T=Wn;_7)&&(Rn=!0)):(Be=c._locale._week.dow,ht=c._locale._week.doy,Wn=Tr(Vi(),Be,ht),T=Oo(_.gg,c._a[0],Wn.year),I=Oo(_.w,Wn.week),null!=_.d?((Z=_.d)<0||Z>6)&&(Rn=!0):null!=_.e?(Z=_.e+Be,(_.e<0||_.e>6)&&(Rn=!0)):Z=Be),I<1||I>Vs(T,Be,ht)?L(c)._overflowWeeks=!0:null!=Rn?L(c)._overflowWeekday=!0:(un=fs(T,I,Z,Be,ht),c._a[0]=un.year,c._dayOfYear=un.dayOfYear)}(c),null!=c._dayOfYear&&(ht=Oo(c._a[0],Z[0]),(c._dayOfYear>Nt(ht)||0===c._dayOfYear)&&(L(c)._overflowDayOfYear=!0),T=la(ht,0,c._dayOfYear),c._a[1]=T.getUTCMonth(),c._a[2]=T.getUTCDate()),_=0;_<3&&null==c._a[_];++_)c._a[_]=I[_]=Z[_];for(;_<7;_++)c._a[_]=I[_]=null==c._a[_]?2===_?1:0:c._a[_];24===c._a[3]&&0===c._a[4]&&0===c._a[5]&&0===c._a[6]&&(c._nextDay=!0,c._a[3]=0),c._d=(c._useUTC?la:lr).apply(null,I),Be=c._useUTC?c._d.getUTCDay():c._d.getDay(),null!=c._tzm&&c._d.setUTCMinutes(c._d.getUTCMinutes()-c._tzm),c._nextDay&&(c._a[3]=24),c._w&&void 0!==c._w.d&&c._w.d!==Be&&(L(c).weekdayMismatch=!0)}}function rh(c){if(c._f!==m.ISO_8601)if(c._f!==m.RFC_2822){c._a=[],L(c).empty=!0;var T,I,Z,Be,ht,Wn,zr,_=""+c._i,un=_.length,Rn=0;for(zr=(Z=Tt(c._f,c._locale).match(je)||[]).length,T=0;T0&&L(c).unusedInput.push(ht),_=_.slice(_.indexOf(I)+I.length),Rn+=I.length),re[Be]?(I?L(c).empty=!1:L(c).unusedTokens.push(Be),U(Be,I,c)):c._strict&&!I&&L(c).unusedTokens.push(Be);L(c).charsLeftOver=un-Rn,_.length>0&&L(c).unusedInput.push(_),c._a[3]<=12&&!0===L(c).bigHour&&c._a[3]>0&&(L(c).bigHour=void 0),L(c).parsedDateParts=c._a.slice(0),L(c).meridiem=c._meridiem,c._a[3]=function jy(c,_,T){var I;return null==T?_:null!=c.meridiemHour?c.meridiemHour(_,T):(null!=c.isPM&&((I=c.isPM(T))&&_<12&&(_+=12),!I&&12===_&&(_=0)),_)}(c._locale,c._a[3],c._meridiem),null!==(Wn=L(c).era)&&(c._a[0]=c._locale.erasConvertYear(Wn,c._a[0])),ih(c),ua(c)}else vu(c);else As(c)}function By(c){var _=c._i,T=c._f;return c._locale=c._locale||gi(c._l),null===_||void 0===T&&""===_?ct({nullInput:!0}):("string"==typeof _&&(c._i=_=c._locale.preparse(_)),Xe(_)?new st(ua(_)):(P(_)?c._d=_:u(T)?function gE(c){var _,T,I,Z,Be,ht,un=!1,Rn=c._f.length;if(0===Rn)return L(c).invalidFormat=!0,void(c._d=new Date(NaN));for(Z=0;Zthis?this:c:ct()});function Hy(c,_){var T,I;if(1===_.length&&u(_[0])&&(_=_[0]),!_.length)return Vi();for(T=_[0],I=1;I<_.length;++I)(!_[I].isValid()||_[I][c](T))&&(T=_[I]);return T}var wu=["year","quarter","month","week","day","hour","minute","second","millisecond"];function oh(c){var _=ue(c),T=_.year||0,I=_.quarter||0,Z=_.month||0,Be=_.week||_.isoWeek||0,ht=_.day||0,un=_.hour||0,Rn=_.minute||0,Wn=_.second||0,zr=_.millisecond||0;this._isValid=function Cm(c){var _,I,T=!1,Z=wu.length;for(_ in c)if(g(c,_)&&(-1===me.call(wu,_)||null!=c[_]&&isNaN(c[_])))return!1;for(I=0;I=0?new Date(c+400,_,T)-Lm:new Date(c,_,T).valueOf()}function Ur(c,_,T){return c<100&&c>=0?Date.UTC(c+400,_,T)-Lm:Date.UTC(c,_,T)}function Or(c,_){return _.erasAbbrRegex(c)}function Dh(){var Z,Be,ht,un,Rn,c=[],_=[],T=[],I=[],Wn=this.eras();for(Z=0,Be=Wn.length;Z(Be=Vs(c,I,Z))&&(_=Be),Vm.call(this,c,_,T,I,Z))}function Vm(c,_,T,I,Z){var Be=fs(c,_,T,I,Z),ht=la(Be.year,0,Be.dayOfYear);return this.year(ht.getUTCFullYear()),this.month(ht.getUTCMonth()),this.date(ht.getUTCDate()),this}ae("N",0,0,"eraAbbr"),ae("NN",0,0,"eraAbbr"),ae("NNN",0,0,"eraAbbr"),ae("NNNN",0,0,"eraName"),ae("NNNNN",0,0,"eraNarrow"),ae("y",["y",1],"yo","eraYear"),ae("y",["yy",2],0,"eraYear"),ae("y",["yyy",3],0,"eraYear"),ae("y",["yyyy",4],0,"eraYear"),yt("N",Or),yt("NN",Or),yt("NNN",Or),yt("NNNN",function ma(c,_){return _.erasNameRegex(c)}),yt("NNNNN",function $i(c,_){return _.erasNarrowRegex(c)}),ye(["N","NN","NNN","NNNN","NNNNN"],function(c,_,T,I){var Z=T._locale.erasParse(c,I,T._strict);Z?L(T).era=Z:L(T).invalidEra=c}),yt("y",bn),yt("yy",bn),yt("yyy",bn),yt("yyyy",bn),yt("yo",function Gs(c,_){return _._eraYearOrdinalRegex||bn}),ye(["y","yy","yyy","yyyy"],0),ye(["yo"],function(c,_,T,I){var Z;T._locale._eraYearOrdinalRegex&&(Z=c.match(T._locale._eraYearOrdinalRegex)),_[0]=T._locale.eraYearOrdinalParse?T._locale.eraYearOrdinalParse(c,Z):parseInt(c,10)}),ae(0,["gg",2],0,function(){return this.weekYear()%100}),ae(0,["GG",2],0,function(){return this.isoWeekYear()%100}),Wa("gggg","weekYear"),Wa("ggggg","weekYear"),Wa("GGGG","isoWeekYear"),Wa("GGGGG","isoWeekYear"),yt("G",X),yt("g",X),yt("GG",_t,xe),yt("gg",_t,xe),yt("GGGG",Mt,at),yt("gggg",Mt,at),yt("GGGGG",Xt,Pt),yt("ggggg",Xt,Pt),Oe(["gggg","ggggg","GGGG","GGGGG"],function(c,_,T,I){_[I.substr(0,2)]=W(c)}),Oe(["gg","GG"],function(c,_,T,I){_[I]=m.parseTwoDigitYear(c)}),ae("Q",0,"Qo","quarter"),yt("Q",we),ye("Q",function(c,_){_[1]=3*(W(c)-1)}),ae("D",["DD",2],"Do","date"),yt("D",_t,pe),yt("DD",_t,xe),yt("Do",function(c,_){return c?_._dayOfMonthOrdinalParse||_._ordinalParse:_._dayOfMonthOrdinalParseLenient}),ye(["D","DD"],2),ye("Do",function(c,_){_[2]=W(c.match(_t)[0])});var jo=qt("Date",!0);ae("DDD",["DDDD",3],"DDDo","dayOfYear"),yt("DDD",gt),yt("DDDD",Ze),ye(["DDD","DDDD"],function(c,_,T){T._dayOfYear=W(c)}),ae("m",["mm",2],0,"minute"),yt("m",_t,Ke),yt("mm",_t,xe),ye(["m","mm"],4);var hv=qt("Minutes",!1);ae("s",["ss",2],0,"second"),yt("s",_t,Ke),yt("ss",_t,xe),ye(["s","ss"],5);var Ls,Ru,pv=qt("Seconds",!1);for(ae("S",0,0,function(){return~~(this.millisecond()/100)}),ae(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),ae(0,["SSS",3],0,"millisecond"),ae(0,["SSSS",4],0,function(){return 10*this.millisecond()}),ae(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),ae(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),ae(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),ae(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),ae(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),yt("S",gt,we),yt("SS",gt,xe),yt("SSS",gt,Ze),Ls="SSSS";Ls.length<=9;Ls+="S")yt(Ls,bn);function mv(c,_){_[6]=W(1e3*("0."+c))}for(Ls="S";Ls.length<=9;Ls+="S")ye(Ls,mv);Ru=qt("Milliseconds",!1),ae("z",0,0,"zoneAbbr"),ae("zz",0,0,"zoneName");var $t=st.prototype;function Ou(c){return c}$t.add=TE,$t.calendar=function gh(c,_){1===arguments.length&&(arguments[0]?Ky(arguments[0])?(c=arguments[0],_=void 0):gs(arguments[0])&&(_=arguments[0],c=void 0):(c=void 0,_=void 0));var T=c||Vi(),I=ch(T,this).startOf("day"),Z=m.calendarFormat(this,I)||"sameElse",Be=_&&(K(_[Z])?_[Z].call(this,T):_[Z]);return this.format(Be||this.localeData().calendar(Z,this,Vi(T)))},$t.clone=function Zy(){return new st(this)},$t.diff=function Xy(c,_,T){var I,Z,Be;if(!this.isValid())return NaN;if(!(I=ch(c,this)).isValid())return NaN;switch(Z=6e4*(I.utcOffset()-this.utcOffset()),_=xn(_)){case"year":Be=Cu(this,I)/12;break;case"month":Be=Cu(this,I);break;case"quarter":Be=Cu(this,I)/3;break;case"second":Be=(this-I)/1e3;break;case"minute":Be=(this-I)/6e4;break;case"hour":Be=(this-I)/36e5;break;case"day":Be=(this-I-Z)/864e5;break;case"week":Be=(this-I-Z)/6048e5;break;default:Be=this-I}return T?Be:fe(Be)},$t.endOf=function Om(c){var _,T;if(void 0===(c=xn(c))||"millisecond"===c||!this.isValid())return this;switch(T=this._isUTC?Ur:Dc,c){case"year":_=T(this.year()+1,0,1)-1;break;case"quarter":_=T(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":_=T(this.year(),this.month()+1,1)-1;break;case"week":_=T(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":_=T(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":_=T(this.year(),this.month(),this.date()+1)-1;break;case"hour":_=this._d.valueOf(),_+=vh-Mc(_+(this._isUTC?0:this.utcOffset()*pa),vh)-1;break;case"minute":_=this._d.valueOf(),_+=pa-Mc(_,pa)-1;break;case"second":_=this._d.valueOf(),_+=1e3-Mc(_,1e3)-1}return this._d.setTime(_),m.updateOffset(this,!0),this},$t.format=function tv(c){c||(c=this.isUtc()?m.defaultFormatUtc:m.defaultFormat);var _=ut(this,c);return this.localeData().postformat(_)},$t.from=function Rt(c,_){return this.isValid()&&(Xe(c)&&c.isValid()||Vi(c).isValid())?uo({to:this,from:c}).locale(this.locale()).humanize(!_):this.localeData().invalidDate()},$t.fromNow=function oi(c){return this.from(Vi(),c)},$t.to=function zt(c,_){return this.isValid()&&(Xe(c)&&c.isValid()||Vi(c).isValid())?uo({from:this,to:c}).locale(this.locale()).humanize(!_):this.localeData().invalidDate()},$t.toNow=function gr(c){return this.to(Vi(),c)},$t.get=function A(c){return K(this[c=xn(c)])?this[c]():this},$t.invalidAt=function Fm(){return L(this).overflow},$t.isAfter=function ha(c,_){var T=Xe(c)?c:Vi(c);return!(!this.isValid()||!T.isValid())&&("millisecond"===(_=xn(_)||"millisecond")?this.valueOf()>T.valueOf():T.valueOf()9999?ut(T,_?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):K(Date.prototype.toISOString)?_?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",ut(T,"Z")):ut(T,_?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")},$t.inspect=function ev(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var T,I,c="moment",_="";return this.isLocal()||(c=0===this.utcOffset()?"moment.utc":"moment.parseZone",_="Z"),T="["+c+'("]',I=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",this.format(T+I+"-MM-DD[T]HH:mm:ss.SSS"+_+'[")]')},"undefined"!=typeof Symbol&&null!=Symbol.for&&($t[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),$t.toJSON=function rv(){return this.isValid()?this.toISOString():null},$t.toString=function Jy(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},$t.unix=function No(){return Math.floor(this.valueOf()/1e3)},$t.valueOf=function Al(){return this._d.valueOf()-6e4*(this._offset||0)},$t.creationData=function Mh(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},$t.eraName=function jm(){var c,_,T,I=this.localeData().eras();for(c=0,_=I.length;c<_;++c)if(T=this.clone().startOf("day").valueOf(),I[c].since<=T&&T<=I[c].until||I[c].until<=T&&T<=I[c].since)return I[c].name;return""},$t.eraNarrow=function Bm(){var c,_,T,I=this.localeData().eras();for(c=0,_=I.length;c<_;++c)if(T=this.clone().startOf("day").valueOf(),I[c].since<=T&&T<=I[c].until||I[c].until<=T&&T<=I[c].since)return I[c].narrow;return""},$t.eraAbbr=function Ym(){var c,_,T,I=this.localeData().eras();for(c=0,_=I.length;c<_;++c)if(T=this.clone().startOf("day").valueOf(),I[c].since<=T&&T<=I[c].until||I[c].until<=T&&T<=I[c].since)return I[c].abbr;return""},$t.eraYear=function Hm(){var c,_,T,I,Z=this.localeData().eras();for(c=0,_=Z.length;c<_;++c)if(T=Z[c].since<=Z[c].until?1:-1,I=this.clone().startOf("day").valueOf(),Z[c].since<=I&&I<=Z[c].until||Z[c].until<=I&&I<=Z[c].since)return(this.year()-m(Z[c].since).year())*T+Z[c].offset;return this.year()},$t.year=Ut,$t.isLeapYear=function mt(){return J(this.year())},$t.weekYear=function lv(c){return Au.call(this,c,this.week(),this.weekday()+this.localeData()._week.dow,this.localeData()._week.dow,this.localeData()._week.doy)},$t.isoWeekYear=function cv(c){return Au.call(this,c,this.isoWeek(),this.isoWeekday(),1,4)},$t.quarter=$t.quarters=function dv(c){return null==c?Math.ceil((this.month()+1)/3):this.month(3*(c-1)+this.month()%3)},$t.month=nr,$t.daysInMonth=function Ao(){return Ge(this.year(),this.month())},$t.week=$t.weeks=function Ly(c){var _=this.localeData().week(this);return null==c?_:this.add(7*(c-_),"d")},$t.isoWeek=$t.isoWeeks=function pE(c){var _=Tr(this,1,4).week;return null==c?_:this.add(7*(c-_),"d")},$t.weeksInYear=function xu(){var c=this.localeData()._week;return Vs(this.year(),c.dow,c.doy)},$t.weeksInWeekYear=function Iu(){var c=this.localeData()._week;return Vs(this.weekYear(),c.dow,c.doy)},$t.isoWeeksInYear=function uv(){return Vs(this.year(),1,4)},$t.isoWeeksInISOWeekYear=function ku(){return Vs(this.isoWeekYear(),1,4)},$t.date=jo,$t.day=$t.days=function wm(c){if(!this.isValid())return null!=c?this:NaN;var _=z(this,"Day");return null!=c?(c=function Ei(c,_){return"string"!=typeof c?c:isNaN(c)?"number"==typeof(c=_.weekdaysParse(c))?c:null:parseInt(c,10)}(c,this.localeData()),this.add(c-_,"d")):_},$t.weekday=function Mm(c){if(!this.isValid())return null!=c?this:NaN;var _=(this.day()+7-this.localeData()._week.dow)%7;return null==c?_:this.add(c-_,"d")},$t.isoWeekday=function Dm(c){if(!this.isValid())return null!=c?this:NaN;if(null!=c){var _=function mE(c,_){return"string"==typeof c?_.weekdaysParse(c)%7||7:isNaN(c)?null:c}(c,this.localeData());return this.day(this.day()%7?_:_-7)}return this.day()||7},$t.dayOfYear=function Ec(c){var _=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==c?_:this.add(c-_,"d")},$t.hour=$t.hours=nh,$t.minute=$t.minutes=hv,$t.second=$t.seconds=pv,$t.millisecond=$t.milliseconds=Ru,$t.utcOffset=function Sm(c,_,T){var Z,I=this._offset||0;if(!this.isValid())return null!=c?this:NaN;if(null!=c){if("string"==typeof c){if(null===(c=lh(be,c)))return this}else Math.abs(c)<16&&!T&&(c*=60);return!this._isUTC&&_&&(Z=Mu(this)),this._offset=c,this._isUTC=!0,null!=Z&&this.add(Z,"m"),I!==c&&(!_||this._changeInProgress?km(this,uo(c-I,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,m.updateOffset(this,!0),this._changeInProgress=null)),this}return this._isUTC?I:Mu(this)},$t.utc=function uh(c){return this.utcOffset(0,c)},$t.local=function Uy(c){return this._isUTC&&(this.utcOffset(0,c),this._isUTC=!1,c&&this.subtract(Mu(this),"m")),this},$t.parseZone=function Rs(){if(null!=this._tzm)this.utcOffset(this._tzm,!1,!0);else if("string"==typeof this._i){var c=lh(ge,this._i);null!=c?this.utcOffset(c):this.utcOffset(0,!0)}return this},$t.hasAlignedHourOffset=function dh(c){return!!this.isValid()&&(c=c?Vi(c).utcOffset():0,(this.utcOffset()-c)%60==0)},$t.isDST=function zy(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},$t.isLocal=function Gy(){return!!this.isValid()&&!this._isUTC},$t.isUtcOffset=function $y(){return!!this.isValid()&&this._isUTC},$t.isUtc=Du,$t.isUTC=Du,$t.zoneAbbr=function fv(){return this._isUTC?"UTC":""},$t.zoneName=function kE(){return this._isUTC?"Coordinated Universal Time":""},$t.dates=E("dates accessor is deprecated. Use date instead.",jo),$t.months=E("months accessor is deprecated. Use month instead",nr),$t.years=E("years accessor is deprecated. Use year instead",Ut),$t.zone=E("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",function qy(c,_){return null!=c?("string"!=typeof c&&(c=-c),this.utcOffset(c,_),this):-this.utcOffset()}),$t.isDSTShifted=E("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",function hh(){if(!b(this._isDSTShifted))return this._isDSTShifted;var _,c={};return kt(c,this),(c=By(c))._a?(_=c._isUTC?B(c._a):Vi(c._a),this._isDSTShifted=this.isValid()&&function Vy(c,_,T){var ht,I=Math.min(c.length,_.length),Z=Math.abs(c.length-_.length),Be=0;for(ht=0;ht0):this._isDSTShifted=!1,this._isDSTShifted});var ri=_e.prototype;function Cc(c,_,T,I){var Z=gi(),Be=B().set(I,_);return Z[T](Be,c)}function Eh(c,_,T){if(C(c)&&(_=c,c=void 0),c=c||"",null!=_)return Cc(c,_,T,"month");var I,Z=[];for(I=0;I<12;I++)Z[I]=Cc(c,I,T,"month");return Z}function fa(c,_,T,I){"boolean"==typeof c?(C(_)&&(T=_,_=void 0),_=_||""):(T=_=c,c=!1,C(_)&&(T=_,_=void 0),_=_||"");var ht,Z=gi(),Be=c?Z._week.dow:0,un=[];if(null!=T)return Cc(_,(T+Be)%7,I,"day");for(ht=0;ht<7;ht++)un[ht]=Cc(_,(ht+Be)%7,I,"day");return un}ri.calendar=function Qe(c,_,T){var I=this._calendar[c]||this._calendar.sameElse;return K(I)?I.call(_,T):I},ri.longDateFormat=function Te(c){var _=this._longDateFormat[c],T=this._longDateFormat[c.toUpperCase()];return _||!T?_:(this._longDateFormat[c]=T.match(je).map(function(I){return"MMMM"===I||"MM"===I||"DD"===I||"dddd"===I?I.slice(1):I}).join(""),this._longDateFormat[c])},ri.invalidDate=function dt(){return this._invalidDate},ri.ordinal=function St(c){return this._ordinal.replace("%d",c)},ri.preparse=Ou,ri.postformat=Ou,ri.relativeTime=function Jt(c,_,T,I){var Z=this._relativeTime[T];return K(Z)?Z(c,_,T,I):Z.replace(/%d/i,c)},ri.pastFuture=function Vt(c,_){var T=this._relativeTime[c>0?"future":"past"];return K(T)?T(_):T.replace(/%s/i,_)},ri.set=function Pe(c){var _,T;for(T in c)g(c,T)&&(K(_=c[T])?this[T]=_:this["_"+T]=_);this._config=c,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)},ri.eras=function sv(c,_){var T,I,Z,Be=this._eras||gi("en")._eras;for(T=0,I=Be.length;T=0)return Be[I]},ri.erasConvertYear=function Tu(c,_){var T=c.since<=c.until?1:-1;return void 0===_?m(c.since).year():m(c.since).year()+(_-c.offset)*T},ri.erasAbbrRegex=function ov(c){return g(this,"_erasAbbrRegex")||Dh.call(this),c?this._erasAbbrRegex:this._erasRegex},ri.erasNameRegex=function Su(c){return g(this,"_erasNameRegex")||Dh.call(this),c?this._erasNameRegex:this._erasRegex},ri.erasNarrowRegex=function av(c){return g(this,"_erasNarrowRegex")||Dh.call(this),c?this._erasNarrowRegex:this._erasRegex},ri.months=function Vn(c,_){return c?u(this._months)?this._months[c.month()]:this._months[(this._months.isFormat||He).test(_)?"format":"standalone"][c.month()]:u(this._months)?this._months:this._months.standalone},ri.monthsShort=function $n(c,_){return c?u(this._monthsShort)?this._monthsShort[c.month()]:this._monthsShort[He.test(_)?"format":"standalone"][c.month()]:u(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},ri.monthsParse=function jn(c,_,T){var I,Z,Be;if(this._monthsParseExact)return pi.call(this,c,_,T);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),I=0;I<12;I++){if(Z=B([2e3,I]),T&&!this._longMonthsParse[I]&&(this._longMonthsParse[I]=new RegExp("^"+this.months(Z,"").replace(".","")+"$","i"),this._shortMonthsParse[I]=new RegExp("^"+this.monthsShort(Z,"").replace(".","")+"$","i")),!T&&!this._monthsParse[I]&&(Be="^"+this.months(Z,"")+"|^"+this.monthsShort(Z,""),this._monthsParse[I]=new RegExp(Be.replace(".",""),"i")),T&&"MMMM"===_&&this._longMonthsParse[I].test(c))return I;if(T&&"MMM"===_&&this._shortMonthsParse[I].test(c))return I;if(!T&&this._monthsParse[I].test(c))return I}},ri.monthsRegex=function ns(c){return this._monthsParseExact?(g(this,"_monthsRegex")||Fi.call(this),c?this._monthsStrictRegex:this._monthsRegex):(g(this,"_monthsRegex")||(this._monthsRegex=Tn),this._monthsStrictRegex&&c?this._monthsStrictRegex:this._monthsRegex)},ri.monthsShortRegex=function En(c){return this._monthsParseExact?(g(this,"_monthsRegex")||Fi.call(this),c?this._monthsShortStrictRegex:this._monthsShortRegex):(g(this,"_monthsShortRegex")||(this._monthsShortRegex=fn),this._monthsShortStrictRegex&&c?this._monthsShortStrictRegex:this._monthsShortRegex)},ri.week=function _m(c){return Tr(c,this._week.dow,this._week.doy).week},ri.firstDayOfYear=function Ry(){return this._week.doy},ri.firstDayOfWeek=function fc(){return this._week.dow},ri.weekdays=function Ro(c,_){var T=u(this._weekdays)?this._weekdays:this._weekdays[c&&!0!==c&&this._weekdays.isFormat.test(_)?"format":"standalone"];return!0===c?ym(T,this._week.dow):c?T[c.day()]:T},ri.weekdaysMin=function Oy(c){return!0===c?ym(this._weekdaysMin,this._week.dow):c?this._weekdaysMin[c.day()]:this._weekdaysMin},ri.weekdaysShort=function gc(c){return!0===c?ym(this._weekdaysShort,this._week.dow):c?this._weekdaysShort[c.day()]:this._weekdaysShort},ri.weekdaysParse=function bm(c,_,T){var I,Z,Be;if(this._weekdaysParseExact)return At.call(this,c,_,T);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),I=0;I<7;I++){if(Z=B([2e3,1]).day(I),T&&!this._fullWeekdaysParse[I]&&(this._fullWeekdaysParse[I]=new RegExp("^"+this.weekdays(Z,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[I]=new RegExp("^"+this.weekdaysShort(Z,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[I]=new RegExp("^"+this.weekdaysMin(Z,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[I]||(Be="^"+this.weekdays(Z,"")+"|^"+this.weekdaysShort(Z,"")+"|^"+this.weekdaysMin(Z,""),this._weekdaysParse[I]=new RegExp(Be.replace(".",""),"i")),T&&"dddd"===_&&this._fullWeekdaysParse[I].test(c))return I;if(T&&"ddd"===_&&this._shortWeekdaysParse[I].test(c))return I;if(T&&"dd"===_&&this._minWeekdaysParse[I].test(c))return I;if(!T&&this._weekdaysParse[I].test(c))return I}},ri.weekdaysRegex=function Ht(c){return this._weekdaysParseExact?(g(this,"_weekdaysRegex")||rt.call(this),c?this._weekdaysStrictRegex:this._weekdaysRegex):(g(this,"_weekdaysRegex")||(this._weekdaysRegex=eh),this._weekdaysStrictRegex&&c?this._weekdaysStrictRegex:this._weekdaysRegex)},ri.weekdaysShortRegex=function Py(c){return this._weekdaysParseExact?(g(this,"_weekdaysRegex")||rt.call(this),c?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(g(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=th),this._weekdaysShortStrictRegex&&c?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},ri.weekdaysMinRegex=function Em(c){return this._weekdaysParseExact?(g(this,"_weekdaysRegex")||rt.call(this),c?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(g(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=vm),this._weekdaysMinStrictRegex&&c?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},ri.isPM=function xs(c){return"p"===(c+"").toLowerCase().charAt(0)},ri.meridiem=function _c(c,_,T){return c>11?T?"pm":"PM":T?"am":"AM"},rs("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 _=c%10;return c+(1===W(c%100/10)?"th":1===_?"st":2===_?"nd":3===_?"rd":"th")}}),m.lang=E("moment.lang is deprecated. Use moment.locale instead.",rs),m.langData=E("moment.langData is deprecated. Use moment.localeData instead.",gi);var ho=Math.abs;function zm(c,_,T,I){var Z=uo(_,T);return c._milliseconds+=I*Z._milliseconds,c._days+=I*Z._days,c._months+=I*Z._months,c._bubble()}function Fu(c){return c<0?Math.floor(c):Math.ceil(c)}function Sc(c){return 4800*c/146097}function Ll(c){return 146097*c/4800}function po(c){return function(){return this.as(c)}}var Sh=po("ms"),Gm=po("s"),$m=po("m"),vv=po("h"),bv=po("d"),Nu=po("w"),kc=po("M"),wv=po("Q"),Wm=po("y"),Qm=Sh;function Bo(c){return function(){return this.isValid()?this._data[c]:NaN}}var _r=Bo("milliseconds"),Pl=Bo("seconds"),Fl=Bo("minutes"),Nl=Bo("hours"),Km=Bo("days"),kh=Bo("months"),jl=Bo("years");var Yo=Math.round,pt={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function Mv(c,_,T,I,Z){return Z.relativeTime(_||1,!!T,c,I)}var Xm=Math.abs;function Qa(c){return(c>0)-(c<0)||+c}function ga(){if(!this.isValid())return this.localeData().invalidDate();var I,Z,Be,ht,Rn,Wn,zr,Ho,c=Xm(this._milliseconds)/1e3,_=Xm(this._days),T=Xm(this._months),un=this.asSeconds();return un?(I=fe(c/60),Z=fe(I/60),c%=60,I%=60,Be=fe(T/12),T%=12,ht=c?c.toFixed(3).replace(/\.?0+$/,""):"",Rn=un<0?"-":"",Wn=Qa(this._months)!==Qa(un)?"-":"",zr=Qa(this._days)!==Qa(un)?"-":"",Ho=Qa(this._milliseconds)!==Qa(un)?"-":"",Rn+"P"+(Be?Wn+Be+"Y":"")+(T?Wn+T+"M":"")+(_?zr+_+"D":"")+(Z||I||c?"T":"")+(Z?Ho+Z+"H":"")+(I?Ho+I+"M":"")+(c?Ho+ht+"S":"")):"P0D"}var ui=oh.prototype;return ui.isValid=function sh(){return this._isValid},ui.abs=function Um(){var c=this._data;return this._milliseconds=ho(this._milliseconds),this._days=ho(this._days),this._months=ho(this._months),c.milliseconds=ho(c.milliseconds),c.seconds=ho(c.seconds),c.minutes=ho(c.minutes),c.hours=ho(c.hours),c.months=ho(c.months),c.years=ho(c.years),this},ui.add=function _v(c,_){return zm(this,c,_,1)},ui.subtract=function Tc(c,_){return zm(this,c,_,-1)},ui.as=function yv(c){if(!this.isValid())return NaN;var _,T,I=this._milliseconds;if("month"===(c=xn(c))||"quarter"===c||"year"===c)switch(_=this._days+I/864e5,T=this._months+Sc(_),c){case"month":return T;case"quarter":return T/3;case"year":return T/12}else switch(_=this._days+Math.round(Ll(this._months)),c){case"week":return _/7+I/6048e5;case"day":return _+I/864e5;case"hour":return 24*_+I/36e5;case"minute":return 1440*_+I/6e4;case"second":return 86400*_+I/1e3;case"millisecond":return Math.floor(864e5*_)+I;default:throw new Error("Unknown unit "+c)}},ui.asMilliseconds=Sh,ui.asSeconds=Gm,ui.asMinutes=$m,ui.asHours=vv,ui.asDays=bv,ui.asWeeks=Nu,ui.asMonths=kc,ui.asQuarters=wv,ui.asYears=Wm,ui.valueOf=Qm,ui._bubble=function Th(){var Z,Be,ht,un,Rn,c=this._milliseconds,_=this._days,T=this._months,I=this._data;return c>=0&&_>=0&&T>=0||c<=0&&_<=0&&T<=0||(c+=864e5*Fu(Ll(T)+_),_=0,T=0),I.milliseconds=c%1e3,Z=fe(c/1e3),I.seconds=Z%60,Be=fe(Z/60),I.minutes=Be%60,ht=fe(Be/60),I.hours=ht%24,_+=fe(ht/24),T+=Rn=fe(Sc(_)),_-=Fu(Ll(Rn)),un=fe(T/12),T%=12,I.days=_,I.months=T,I.years=un,this},ui.clone=function Ol(){return uo(this)},ui.get=function Hn(c){return c=xn(c),this.isValid()?this[c+"s"]():NaN},ui.milliseconds=_r,ui.seconds=Pl,ui.minutes=Fl,ui.hours=Nl,ui.days=Km,ui.weeks=function xc(){return fe(this.days()/7)},ui.months=kh,ui.years=jl,ui.humanize=function Dv(c,_){if(!this.isValid())return this.localeData().invalidDate();var Z,Be,T=!1,I=pt;return"object"==typeof c&&(_=c,c=!1),"boolean"==typeof c&&(T=c),"object"==typeof _&&(I=Object.assign({},pt,_),null!=_.s&&null==_.ss&&(I.ss=_.s-1)),Be=function IE(c,_,T,I){var Z=uo(c).abs(),Be=Yo(Z.as("s")),ht=Yo(Z.as("m")),un=Yo(Z.as("h")),Rn=Yo(Z.as("d")),Wn=Yo(Z.as("M")),zr=Yo(Z.as("w")),Ho=Yo(Z.as("y")),_a=Be<=T.ss&&["s",Be]||Be0,_a[4]=I,Mv.apply(null,_a)}(this,!T,I,Z=this.localeData()),T&&(Be=Z.pastFuture(+this,Be)),Z.postformat(Be)},ui.toISOString=ga,ui.toString=ga,ui.toJSON=ga,ui.locale=yh,ui.localeData=zs,ui.toIsoString=E("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",ga),ui.lang=xl,ae("X",0,0,"unix"),ae("x",0,0,"valueOf"),yt("x",X),yt("X",/[+-]?\d+(\.\d{1,3})?/),ye("X",function(c,_,T){T._d=new Date(1e3*parseFloat(c))}),ye("x",function(c,_,T){T._d=new Date(W(c))}),m.version="2.30.1",function d(c){v=c}(Vi),m.fn=$t,m.min=function ME(){return Hy("isBefore",[].slice.call(arguments,0))},m.max=function DE(){return Hy("isAfter",[].slice.call(arguments,0))},m.now=function(){return Date.now?Date.now():+new Date},m.utc=B,m.unix=function Lu(c){return Vi(1e3*c)},m.months=function gv(c,_){return Eh(c,_,"months")},m.isDate=P,m.locale=rs,m.invalid=ct,m.duration=uo,m.isMoment=Xe,m.weekdays=function Ch(c,_,T){return fa(c,_,T,"weekdays")},m.parseZone=function qm(){return Vi.apply(null,arguments).parseZone()},m.localeData=gi,m.isDuration=ah,m.monthsShort=function Rl(c,_){return Eh(c,_,"monthsShort")},m.weekdaysMin=function xE(c,_,T){return fa(c,_,T,"weekdaysMin")},m.defineLocale=ur,m.updateLocale=function $a(c,_){if(null!=_){var T,I,Z=yc;null!=fi[c]&&null!=fi[c].parentLocale?fi[c].set(Ne(fi[c]._config,_)):(null!=(I=qr(c))&&(Z=I._config),_=Ne(Z,_),null==I&&(_.abbr=c),(T=new _e(_)).parentLocale=fi[c],fi[c]=T),rs(c)}else null!=fi[c]&&(null!=fi[c].parentLocale?(fi[c]=fi[c].parentLocale,c===rs()&&rs(c)):null!=fi[c]&&delete fi[c]);return fi[c]},m.locales=function bc(){return ot(fi)},m.weekdaysShort=function Pu(c,_,T){return fa(c,_,T,"weekdaysShort")},m.normalizeUnits=xn,m.relativeTimeRounding=function Zm(c){return void 0===c?Yo:"function"==typeof c&&(Yo=c,!0)},m.relativeTimeThreshold=function AE(c,_){return void 0!==pt[c]&&(void 0===_?pt[c]:(pt[c]=_,"s"===c&&(pt.ss=_-1),!0))},m.calendarFormat=function xm(c,_){var T=c.diff(_,"days",!0);return T<-6?"sameElse":T<-1?"lastWeek":T<0?"lastDay":T<1?"sameDay":T<2?"nextDay":T<7?"nextWeek":"sameElse"},m.prototype=$t,m.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"},m}()},9637:(se,q)=>{"use strict";var v=function(){if("undefined"!=typeof self)return self;if("undefined"!=typeof window)return window;if("undefined"!=typeof global)return global;throw new Error("unable to locate global object")}();se.exports=q=v.fetch,v.fetch&&(q.default=v.fetch.bind(v)),q.Headers=v.Headers,q.Request=v.Request,q.Response=v.Response},6051:(se,q,w)=>{se.exports=function v(m){m.getFirstPage=w(6849).bind(null,m),m.getLastPage=w(7386).bind(null,m),m.getNextPage=w(8283).bind(null,m),m.getPreviousPage=w(7742).bind(null,m),m.hasFirstPage=w(3465),m.hasLastPage=w(1484),m.hasNextPage=w(8012),m.hasPreviousPage=w(9643)}},6695:se=>{se.exports=function w(v){q[v]||(console.warn(`DEPRECATED (@octokit/rest): ${v}`),q[v]=1)};const q={}},6849:(se,q,w)=>{se.exports=function m(d,u,p){return v(d,u,"first",p)};const v=w(8811)},7386:(se,q,w)=>{se.exports=function m(d,u,p){return v(d,u,"last",p)};const v=w(8811)},8283:(se,q,w)=>{se.exports=function m(d,u,p){return v(d,u,"next",p)};const v=w(8811)},9970:se=>{se.exports=function q(w){const v={};return(w=w.link||w.headers.link||"").replace(/<([^>]*)>;\s*rel="([\w]*)"/g,(m,d,u)=>{v[u]=d}),v}},8811:(se,q,w)=>{se.exports=function u(g,y,b,C){v(`octokit.get${b.charAt(0).toUpperCase()+b.slice(1)}Page() \u2013 You can use octokit.paginate or async iterators instead: https://github.com/octokit/rest.js#pagination.`);const P=m(y)[b];if(!P){const B=new d(`No ${b} page found`,404);return Promise.reject(B)}const N={url:P,headers:p(y,C)};return g.request(N)};const v=w(6695),m=w(9970),d=w(9780);function p(g,y){const b=g.headers&&g.headers["x-github-media-type"];return!b||y&&y.accept||((y=y||{}).accept="application/vnd."+b.replace("; param=",".").replace("; format=","+")),y}},7742:(se,q,w)=>{se.exports=function m(d,u,p){return v(d,u,"prev",p)};const v=w(8811)},3465:(se,q,w)=>{se.exports=function d(u){return v("octokit.hasFirstPage() \u2013 You can use octokit.paginate or async iterators instead: https://github.com/octokit/rest.js#pagination."),m(u).first};const v=w(6695),m=w(9970)},1484:(se,q,w)=>{se.exports=function d(u){return v("octokit.hasLastPage() \u2013 You can use octokit.paginate or async iterators instead: https://github.com/octokit/rest.js#pagination."),m(u).last};const v=w(6695),m=w(9970)},8012:(se,q,w)=>{se.exports=function d(u){return v("octokit.hasNextPage() \u2013 You can use octokit.paginate or async iterators instead: https://github.com/octokit/rest.js#pagination."),m(u).next};const v=w(6695),m=w(9970)},9643:(se,q,w)=>{se.exports=function d(u){return v("octokit.hasPreviousPage() \u2013 You can use octokit.paginate or async iterators instead: https://github.com/octokit/rest.js#pagination."),m(u).prev};const v=w(6695),m=w(9970)},9780:se=>{se.exports=class extends Error{constructor(w,v,m){super(w),Error.captureStackTrace&&Error.captureStackTrace(this,this.constructor),this.name="HttpError",this.code=v,this.headers=m}}},6389:(se,q,w)=>{var v=w(9136);function m(u){var p=function(){return p.called?p.value:(p.called=!0,p.value=u.apply(this,arguments))};return p.called=!1,p}function d(u){var p=function(){if(p.called)throw new Error(p.onceError);return p.called=!0,p.value=u.apply(this,arguments)};return p.onceError=(u.name||"Function wrapped with `once`")+" shouldn't be called more than once",p.called=!1,p}se.exports=v(m),se.exports.strict=v(d),m.proto=m(function(){Object.defineProperty(Function.prototype,"once",{value:function(){return m(this)},configurable:!0}),Object.defineProperty(Function.prototype,"onceStrict",{value:function(){return d(this)},configurable:!0})})},3037:()=>{var se,q;q=se||(se={}),function(w){var v="object"==typeof global?global:"object"==typeof self?self:"object"==typeof this?this:Function("return this;")(),m=d(q);function d(u,p){return function(g,y){"function"!=typeof u[g]&&Object.defineProperty(u,g,{configurable:!0,writable:!0,value:y}),p&&p(g,y)}}void 0===v.Reflect?v.Reflect=q:m=d(v.Reflect,m),function(w){var v=Object.prototype.hasOwnProperty,m="function"==typeof Symbol,d=m&&void 0!==Symbol.toPrimitive?Symbol.toPrimitive:"@@toPrimitive",u=m&&void 0!==Symbol.iterator?Symbol.iterator:"@@iterator",p="function"==typeof Object.create,g={__proto__:[]}instanceof Array,y=!p&&!g,b={create:p?function(){return et(Object.create(null))}:g?function(){return et({__proto__:null})}:function(){return et({})},has:y?function(le,we){return v.call(le,we)}:function(le,we){return we in le},get:y?function(le,we){return v.call(le,we)?le[we]:void 0}:function(le,we){return le[we]}},C=Object.getPrototypeOf(Function),P="object"==typeof process&&process.env&&"true"===process.env.REFLECT_METADATA_USE_MAP_POLYFILL,N=P||"function"!=typeof Map||"function"!=typeof Map.prototype.entries?function Bn(){var le={},we=[],xe=function(){function _t(Le,Ye,gt){this._index=0,this._keys=Le,this._values=Ye,this._selector=gt}return _t.prototype["@@iterator"]=function(){return this},_t.prototype[u]=function(){return this},_t.prototype.next=function(){var Le=this._index;if(Le>=0&&Le=this._keys.length?(this._index=-1,this._keys=we,this._values=we):this._index++,{value:Ye,done:!1}}return{value:void 0,done:!0}},_t.prototype.throw=function(Le){throw this._index>=0&&(this._index=-1,this._keys=we,this._values=we),Le},_t.prototype.return=function(Le){return this._index>=0&&(this._index=-1,this._keys=we,this._values=we),{value:Le,done:!0}},_t}();return function(){function _t(){this._keys=[],this._values=[],this._cacheKey=le,this._cacheIndex=-2}return Object.defineProperty(_t.prototype,"size",{get:function(){return this._keys.length},enumerable:!0,configurable:!0}),_t.prototype.has=function(Le){return this._find(Le,!1)>=0},_t.prototype.get=function(Le){var Ye=this._find(Le,!1);return Ye>=0?this._values[Ye]:void 0},_t.prototype.set=function(Le,Ye){var gt=this._find(Le,!0);return this._values[gt]=Ye,this},_t.prototype.delete=function(Le){var Ye=this._find(Le,!1);if(Ye>=0){for(var gt=this._keys.length,Mt=Ye+1;Mt=0;--xe){var at=(0,le[xe])(we);if(!je(at)&&!Q(at)){if(!lt(at))throw new TypeError;we=at}}return we}(le,we)}if(!pn(le))throw new TypeError;if(!re(we))throw new TypeError;if(!re(Ze)&&!je(Ze)&&!Q(Ze))throw new TypeError;return Q(Ze)&&(Ze=void 0),function G(le,we,xe,Ze){for(var at=le.length-1;at>=0;--at){var _t=(0,le[at])(we,xe,Ze);if(!je(_t)&&!Q(_t)){if(!re(_t))throw new TypeError;Ze=_t}}return Ze}(le,we,xe=Tt(xe),Ze)}),w("metadata",function te(le,we){return function xe(Ze,at){if(!re(Ze))throw new TypeError;if(!je(at)&&!function dt(le){switch(bt(le)){case 3:case 4:return!0;default:return!1}}(at))throw new TypeError;ot(le,we,Ze,at)}}),w("defineMetadata",function $e(le,we,xe,Ze){if(!re(xe))throw new TypeError;return je(Ze)||(Ze=Tt(Ze)),ot(le,we,xe,Ze)}),w("hasMetadata",function ct(le,we,xe){if(!re(we))throw new TypeError;return je(xe)||(xe=Tt(xe)),K(le,we,xe)}),w("hasOwnMetadata",function jt(le,we,xe){if(!re(we))throw new TypeError;return je(xe)||(xe=Tt(xe)),Pe(le,we,xe)}),w("getMetadata",function Ot(le,we,xe){if(!re(we))throw new TypeError;return je(xe)||(xe=Tt(xe)),Ne(le,we,xe)}),w("getOwnMetadata",function kt(le,we,xe){if(!re(we))throw new TypeError;return je(xe)||(xe=Tt(xe)),_e(le,we,xe)}),w("getMetadataKeys",function st(le,we){if(!re(le))throw new TypeError;return je(we)||(we=Tt(we)),vt(le,we)}),w("getOwnMetadataKeys",function Xe(le,we){if(!re(le))throw new TypeError;return je(we)||(we=Tt(we)),Qe(le,we)}),w("deleteMetadata",function Ee(le,we,xe){if(!re(we))throw new TypeError;je(xe)||(xe=Tt(xe));var Ze=ie(we,xe,!1);if(je(Ze)||!Ze.delete(le))return!1;if(Ze.size>0)return!0;var at=F.get(we);return at.delete(xe),at.size>0||F.delete(we),!0})}(m)}()},1082:(se,q,w)=>{"use strict";w.d(q,{ej:()=>K,kG:()=>Pe,U6:()=>vt});var v=function(Q,de){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(re,ae){re.__proto__=ae}||function(re,ae){for(var qe in ae)ae.hasOwnProperty(qe)&&(re[qe]=ae[qe])})(Q,de)},E="Invariant Violation",G=Object.setPrototypeOf,ie=void 0===G?function(Q,de){return Q.__proto__=de,Q}:G,K=function(Q){function de(re){void 0===re&&(re=E);var ae=Q.call(this,"number"==typeof re?E+": "+re+" (see https://github.com/apollographql/invariant-packages)":re)||this;return ae.framesToPop=1,ae.name=E,ie(ae,de.prototype),ae}return function m(Q,de){function re(){this.constructor=Q}v(Q,de),Q.prototype=null===de?Object.create(de):(re.prototype=de.prototype,new re)}(de,Q),de}(Error);function Pe(Q,de){if(!Q)throw new K(de)}var Q,Ne=["log","warn","error","silent"],_e=Ne.indexOf("log");function ot(Q){return function(){if(Ne.indexOf(Q)>=_e)return console[Q].apply(console,arguments)}}function vt(Q){var de=Ne[_e];return _e=Math.max(0,Ne.indexOf(Q)),de}(Q=Pe||(Pe={})).log=ot("log"),Q.warn=ot("warn"),Q.error=ot("error");var Qe={env:{}};if("object"==typeof process)Qe=process;else try{Function("stub","process = stub")(Qe)}catch(Q){}},9136:se=>{se.exports=function q(w,v){if(w&&v)return q(w)(v);if("function"!=typeof w)throw new TypeError("need wrapper function");return Object.keys(w).forEach(function(d){m[d]=w[d]}),m;function m(){for(var d=new Array(arguments.length),u=0;u{se.exports=w(6289).Observable},6289:(se,q)=>{"use strict";function v(Xe,Ee){if(!(Xe instanceof Ee))throw new TypeError("Cannot call a class as a function")}function m(Xe,Ee){for(var E=0;E1,Pe=!1,Ne=arguments[1],_e=Ne;return new ie(function(ot){return G.subscribe({next:function(vt){var Qe=!Pe;if(Pe=!0,!Qe||K)try{_e=E(_e,vt)}catch(bt){return ot.error(bt)}else _e=vt},error:function(vt){ot.error(vt)},complete:function(){if(!Pe&&!K)return ot.error(new TypeError("Cannot reduce an empty sequence"));ot.next(_e),ot.complete()}})})}},{key:"concat",value:function(){for(var E=this,G=arguments.length,ie=new Array(G),K=0;K=0&&Pe.splice(Qe,1),_e()}});Pe.push(vt)},error:function(ot){K.error(ot)},complete:function(){_e()}});function _e(){Ne.closed&&0===Pe.length&&K.complete()}return function(){Pe.forEach(function(ot){return ot.unsubscribe()}),Ne.unsubscribe()}})}},{key:b,value:function(){return this}}],[{key:"from",value:function(E){var G="function"==typeof this?this:Xe;if(null==E)throw new TypeError(E+" is not an object");var ie=P(E,b);if(ie){var K=ie.call(E);if(Object(K)!==K)throw new TypeError(K+" is not an object");return function R(Xe){return Xe instanceof st}(K)&&K.constructor===G?K:new G(function(Pe){return K.subscribe(Pe)})}if(p("iterator")&&(ie=P(E,y)))return new G(function(Pe){F(function(){if(!Pe.closed){var Ne=!0,_e=!1,ot=void 0;try{for(var Qe,vt=ie.call(E)[Symbol.iterator]();!(Ne=(Qe=vt.next()).done);Ne=!0)if(Pe.next(Qe.value),Pe.closed)return}catch(je){_e=!0,ot=je}finally{try{!Ne&&null!=vt.return&&vt.return()}finally{if(_e)throw ot}}Pe.complete()}})});if(Array.isArray(E))return new G(function(Pe){F(function(){if(!Pe.closed){for(var Ne=0;Ne{"use strict";!function(ue){const et=ue.performance;function le(ze){et&&et.mark&&et.mark(ze)}function we(ze,nt){et&&et.measure&&et.measure(ze,nt)}le("Zone");const xe=ue.__Zone_symbol_prefix||"__zone_symbol__";function Ze(ze){return xe+ze}const at=!0===ue[Ze("forceDuplicateZoneCheck")];if(ue.Zone){if(at||"function"!=typeof ue.Zone.__symbol__)throw new Error("Zone already loaded.");return ue.Zone}let Pt=(()=>{class ze{constructor(he,ke){this._parent=he,this._name=ke?ke.name||"unnamed":"",this._properties=ke&&ke.properties||{},this._zoneDelegate=new Le(this,this._parent&&this._parent._zoneDelegate,ke)}static assertZonePatched(){if(ue.Promise!==ye.ZoneAwarePromise)throw new Error("Zone.js has detected that ZoneAwarePromise `(window|global).Promise` has been overwritten.\nMost likely cause is that a Promise polyfill has been loaded after Zone.js (Polyfilling Promise api is not necessary when zone.js is loaded. If you must load one, do so before loading zone.js.)")}static get root(){let he=ze.current;for(;he.parent;)he=he.parent;return he}static get current(){return U.zone}static get currentTask(){return J}static __load_patch(he,ke,Ft=!1){if(ye.hasOwnProperty(he)){if(!Ft&&at)throw Error("Already loaded patch: "+he)}else if(!ue["__Zone_disable_"+he]){const rn="Zone:"+he;le(rn),ye[he]=ke(ue,ze,Oe),we(rn,rn)}}get parent(){return this._parent}get name(){return this._name}get(he){const ke=this.getZoneWith(he);if(ke)return ke._properties[he]}getZoneWith(he){let ke=this;for(;ke;){if(ke._properties.hasOwnProperty(he))return ke;ke=ke._parent}return null}fork(he){if(!he)throw new Error("ZoneSpec required!");return this._zoneDelegate.fork(this,he)}wrap(he,ke){if("function"!=typeof he)throw new Error("Expecting function got: "+he);const Ft=this._zoneDelegate.intercept(this,he,ke),rn=this;return function(){return rn.runGuarded(Ft,this,arguments,ke)}}run(he,ke,Ft,rn){U={parent:U,zone:this};try{return this._zoneDelegate.invoke(this,he,ke,Ft,rn)}finally{U=U.parent}}runGuarded(he,ke=null,Ft,rn){U={parent:U,zone:this};try{try{return this._zoneDelegate.invoke(this,he,ke,Ft,rn)}catch(Xn){if(this._zoneDelegate.handleError(this,Xn))throw Xn}}finally{U=U.parent}}runTask(he,ke,Ft){if(he.zone!=this)throw new Error("A task can only be run in the zone of creation! (Creation: "+(he.zone||pe).name+"; Execution: "+this.name+")");if(he.state===Ke&&(he.type===ce||he.type===W))return;const rn=he.state!=Dt;rn&&he._transitionTo(Dt,yt),he.runCount++;const Xn=J;J=he,U={parent:U,zone:this};try{he.type==W&&he.data&&!he.data.isPeriodic&&(he.cancelFn=void 0);try{return this._zoneDelegate.invokeTask(this,he,ke,Ft)}catch(Nt){if(this._zoneDelegate.handleError(this,Nt))throw Nt}}finally{he.state!==Ke&&he.state!==ne&&(he.type==ce||he.data&&he.data.isPeriodic?rn&&he._transitionTo(yt,Dt):(he.runCount=0,this._updateTaskCount(he,-1),rn&&he._transitionTo(Ke,Dt,Ke))),U=U.parent,J=Xn}}scheduleTask(he){if(he.zone&&he.zone!==this){let Ft=this;for(;Ft;){if(Ft===he.zone)throw Error(`can not reschedule task to ${this.name} which is descendants of the original zone ${he.zone.name}`);Ft=Ft.parent}}he._transitionTo(Bt,Ke);const ke=[];he._zoneDelegates=ke,he._zone=this;try{he=this._zoneDelegate.scheduleTask(this,he)}catch(Ft){throw he._transitionTo(ne,Bt,Ke),this._zoneDelegate.handleError(this,Ft),Ft}return he._zoneDelegates===ke&&this._updateTaskCount(he,1),he.state==Bt&&he._transitionTo(yt,Bt),he}scheduleMicroTask(he,ke,Ft,rn){return this.scheduleTask(new Ye(fe,he,ke,Ft,rn,void 0))}scheduleMacroTask(he,ke,Ft,rn,Xn){return this.scheduleTask(new Ye(W,he,ke,Ft,rn,Xn))}scheduleEventTask(he,ke,Ft,rn,Xn){return this.scheduleTask(new Ye(ce,he,ke,Ft,rn,Xn))}cancelTask(he){if(he.zone!=this)throw new Error("A task can only be cancelled in the zone of creation! (Creation: "+(he.zone||pe).name+"; Execution: "+this.name+")");he._transitionTo(en,yt,Dt);try{this._zoneDelegate.cancelTask(this,he)}catch(ke){throw he._transitionTo(ne,en),this._zoneDelegate.handleError(this,ke),ke}return this._updateTaskCount(he,-1),he._transitionTo(Ke,en),he.runCount=0,he}_updateTaskCount(he,ke){const Ft=he._zoneDelegates;-1==ke&&(he._zoneDelegates=null);for(let rn=0;rnze.hasTask(he,ke),onScheduleTask:(ze,nt,he,ke)=>ze.scheduleTask(he,ke),onInvokeTask:(ze,nt,he,ke,Ft,rn)=>ze.invokeTask(he,ke,Ft,rn),onCancelTask:(ze,nt,he,ke)=>ze.cancelTask(he,ke)};class Le{constructor(nt,he,ke){this._taskCounts={microTask:0,macroTask:0,eventTask:0},this.zone=nt,this._parentDelegate=he,this._forkZS=ke&&(ke&&ke.onFork?ke:he._forkZS),this._forkDlgt=ke&&(ke.onFork?he:he._forkDlgt),this._forkCurrZone=ke&&(ke.onFork?this.zone:he._forkCurrZone),this._interceptZS=ke&&(ke.onIntercept?ke:he._interceptZS),this._interceptDlgt=ke&&(ke.onIntercept?he:he._interceptDlgt),this._interceptCurrZone=ke&&(ke.onIntercept?this.zone:he._interceptCurrZone),this._invokeZS=ke&&(ke.onInvoke?ke:he._invokeZS),this._invokeDlgt=ke&&(ke.onInvoke?he:he._invokeDlgt),this._invokeCurrZone=ke&&(ke.onInvoke?this.zone:he._invokeCurrZone),this._handleErrorZS=ke&&(ke.onHandleError?ke:he._handleErrorZS),this._handleErrorDlgt=ke&&(ke.onHandleError?he:he._handleErrorDlgt),this._handleErrorCurrZone=ke&&(ke.onHandleError?this.zone:he._handleErrorCurrZone),this._scheduleTaskZS=ke&&(ke.onScheduleTask?ke:he._scheduleTaskZS),this._scheduleTaskDlgt=ke&&(ke.onScheduleTask?he:he._scheduleTaskDlgt),this._scheduleTaskCurrZone=ke&&(ke.onScheduleTask?this.zone:he._scheduleTaskCurrZone),this._invokeTaskZS=ke&&(ke.onInvokeTask?ke:he._invokeTaskZS),this._invokeTaskDlgt=ke&&(ke.onInvokeTask?he:he._invokeTaskDlgt),this._invokeTaskCurrZone=ke&&(ke.onInvokeTask?this.zone:he._invokeTaskCurrZone),this._cancelTaskZS=ke&&(ke.onCancelTask?ke:he._cancelTaskZS),this._cancelTaskDlgt=ke&&(ke.onCancelTask?he:he._cancelTaskDlgt),this._cancelTaskCurrZone=ke&&(ke.onCancelTask?this.zone:he._cancelTaskCurrZone),this._hasTaskZS=null,this._hasTaskDlgt=null,this._hasTaskDlgtOwner=null,this._hasTaskCurrZone=null;const Ft=ke&&ke.onHasTask;(Ft||he&&he._hasTaskZS)&&(this._hasTaskZS=Ft?ke:_t,this._hasTaskDlgt=he,this._hasTaskDlgtOwner=this,this._hasTaskCurrZone=nt,ke.onScheduleTask||(this._scheduleTaskZS=_t,this._scheduleTaskDlgt=he,this._scheduleTaskCurrZone=this.zone),ke.onInvokeTask||(this._invokeTaskZS=_t,this._invokeTaskDlgt=he,this._invokeTaskCurrZone=this.zone),ke.onCancelTask||(this._cancelTaskZS=_t,this._cancelTaskDlgt=he,this._cancelTaskCurrZone=this.zone))}fork(nt,he){return this._forkZS?this._forkZS.onFork(this._forkDlgt,this.zone,nt,he):new Pt(nt,he)}intercept(nt,he,ke){return this._interceptZS?this._interceptZS.onIntercept(this._interceptDlgt,this._interceptCurrZone,nt,he,ke):he}invoke(nt,he,ke,Ft,rn){return this._invokeZS?this._invokeZS.onInvoke(this._invokeDlgt,this._invokeCurrZone,nt,he,ke,Ft,rn):he.apply(ke,Ft)}handleError(nt,he){return!this._handleErrorZS||this._handleErrorZS.onHandleError(this._handleErrorDlgt,this._handleErrorCurrZone,nt,he)}scheduleTask(nt,he){let ke=he;if(this._scheduleTaskZS)this._hasTaskZS&&ke._zoneDelegates.push(this._hasTaskDlgtOwner),ke=this._scheduleTaskZS.onScheduleTask(this._scheduleTaskDlgt,this._scheduleTaskCurrZone,nt,he),ke||(ke=he);else if(he.scheduleFn)he.scheduleFn(he);else{if(he.type!=fe)throw new Error("Task is missing scheduleFn.");Ie(he)}return ke}invokeTask(nt,he,ke,Ft){return this._invokeTaskZS?this._invokeTaskZS.onInvokeTask(this._invokeTaskDlgt,this._invokeTaskCurrZone,nt,he,ke,Ft):he.callback.apply(ke,Ft)}cancelTask(nt,he){let ke;if(this._cancelTaskZS)ke=this._cancelTaskZS.onCancelTask(this._cancelTaskDlgt,this._cancelTaskCurrZone,nt,he);else{if(!he.cancelFn)throw Error("Task is not cancelable");ke=he.cancelFn(he)}return ke}hasTask(nt,he){try{this._hasTaskZS&&this._hasTaskZS.onHasTask(this._hasTaskDlgt,this._hasTaskCurrZone,nt,he)}catch(ke){this.handleError(nt,ke)}}_updateTaskCount(nt,he){const ke=this._taskCounts,Ft=ke[nt],rn=ke[nt]=Ft+he;if(rn<0)throw new Error("More tasks executed then were scheduled.");0!=Ft&&0!=rn||this.hasTask(this.zone,{microTask:ke.microTask>0,macroTask:ke.macroTask>0,eventTask:ke.eventTask>0,change:nt})}}class Ye{constructor(nt,he,ke,Ft,rn,Xn){if(this._zone=null,this.runCount=0,this._zoneDelegates=null,this._state="notScheduled",this.type=nt,this.source=he,this.data=Ft,this.scheduleFn=rn,this.cancelFn=Xn,!ke)throw new Error("callback is not defined");this.callback=ke;const Nt=this;this.invoke=nt===ce&&Ft&&Ft.useG?Ye.invokeTask:function(){return Ye.invokeTask.call(ue,Nt,this,arguments)}}static invokeTask(nt,he,ke){nt||(nt=this),ee++;try{return nt.runCount++,nt.zone.runTask(nt,he,ke)}finally{1==ee&&$(),ee--}}get zone(){return this._zone}get state(){return this._state}cancelScheduleRequest(){this._transitionTo(Ke,Bt)}_transitionTo(nt,he,ke){if(this._state!==he&&this._state!==ke)throw new Error(`${this.type} '${this.source}': can not transition to '${nt}', expecting state '${he}'${ke?" or '"+ke+"'":""}, was '${this._state}'.`);this._state=nt,nt==Ke&&(this._zoneDelegates=null)}toString(){return this.data&&void 0!==this.data.handleId?this.data.handleId.toString():Object.prototype.toString.call(this)}toJSON(){return{type:this.type,state:this.state,source:this.source,zone:this.zone.name,runCount:this.runCount}}}const gt=Ze("setTimeout"),Mt=Ze("Promise"),Xt=Ze("then");let ge,bn=[],X=!1;function be(ze){if(ge||ue[Mt]&&(ge=ue[Mt].resolve(0)),ge){let nt=ge[Xt];nt||(nt=ge.then),nt.call(ge,ze)}else ue[gt](ze,0)}function Ie(ze){0===ee&&0===bn.length&&be($),ze&&bn.push(ze)}function $(){if(!X){for(X=!0;bn.length;){const ze=bn;bn=[];for(let nt=0;ntU,onUnhandledError:Re,microtaskDrainDone:Re,scheduleMicroTask:Ie,showUncaughtError:()=>!Pt[Ze("ignoreConsoleErrorUncaughtError")],patchEventTarget:()=>[],patchOnProperties:Re,patchMethod:()=>Re,bindArguments:()=>[],patchThen:()=>Re,patchMacroTask:()=>Re,patchEventPrototype:()=>Re,isIEOrEdge:()=>!1,getGlobalObjects:()=>{},ObjectDefineProperty:()=>Re,ObjectGetOwnPropertyDescriptor:()=>{},ObjectCreate:()=>{},ArraySlice:()=>[],patchClass:()=>Re,wrapWithCurrentZone:()=>Re,filterProperties:()=>[],attachOriginToPatched:()=>Re,_redefineProperty:()=>Re,patchCallbacks:()=>Re,nativeScheduleMicroTask:be};let U={parent:null,zone:new Pt(null,null)},J=null,ee=0;function Re(){}we("Zone","Zone"),ue.Zone=Pt}("undefined"!=typeof window&&window||"undefined"!=typeof self&&self||global);const se=Object.getOwnPropertyDescriptor,q=Object.defineProperty,w=Object.getPrototypeOf,v=Object.create,m=Array.prototype.slice,d="addEventListener",u="removeEventListener",p=Zone.__symbol__(d),g=Zone.__symbol__(u),y="true",b="false",C=Zone.__symbol__("");function P(ue,et){return Zone.current.wrap(ue,et)}function N(ue,et,le,we,xe){return Zone.current.scheduleMacroTask(ue,et,le,we,xe)}const R=Zone.__symbol__,B="undefined"!=typeof window,F=B?window:void 0,L=B&&F||"object"==typeof self&&self||global;function $e(ue,et){for(let le=ue.length-1;le>=0;le--)"function"==typeof ue[le]&&(ue[le]=P(ue[le],et+"_"+le));return ue}function jt(ue){return!ue||!1!==ue.writable&&!("function"==typeof ue.get&&void 0===ue.set)}const Ot="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope,kt=!("nw"in L)&&void 0!==L.process&&"[object process]"==={}.toString.call(L.process),st=!kt&&!Ot&&!(!B||!F.HTMLElement),Xe=void 0!==L.process&&"[object process]"==={}.toString.call(L.process)&&!Ot&&!(!B||!F.HTMLElement),Ee={},E=function(ue){if(!(ue=ue||L.event))return;let et=Ee[ue.type];et||(et=Ee[ue.type]=R("ON_PROPERTY"+ue.type));const le=this||ue.target||L,we=le[et];let xe;if(st&&le===F&&"error"===ue.type){const Ze=ue;xe=we&&we.call(this,Ze.message,Ze.filename,Ze.lineno,Ze.colno,Ze.error),!0===xe&&ue.preventDefault()}else xe=we&&we.apply(this,arguments),null!=xe&&!xe&&ue.preventDefault();return xe};function G(ue,et,le){let we=se(ue,et);if(!we&&le&&se(le,et)&&(we={enumerable:!0,configurable:!0}),!we||!we.configurable)return;const xe=R("on"+et+"patched");if(ue.hasOwnProperty(xe)&&ue[xe])return;delete we.writable,delete we.value;const Ze=we.get,at=we.set,Pt=et.slice(2);let _t=Ee[Pt];_t||(_t=Ee[Pt]=R("ON_PROPERTY"+Pt)),we.set=function(Le){let Ye=this;!Ye&&ue===L&&(Ye=L),Ye&&("function"==typeof Ye[_t]&&Ye.removeEventListener(Pt,E),at&&at.call(Ye,null),Ye[_t]=Le,"function"==typeof Le&&Ye.addEventListener(Pt,E,!1))},we.get=function(){let Le=this;if(!Le&&ue===L&&(Le=L),!Le)return null;const Ye=Le[_t];if(Ye)return Ye;if(Ze){let gt=Ze.call(this);if(gt)return we.set.call(this,gt),"function"==typeof Le.removeAttribute&&Le.removeAttribute(et),gt}return null},q(ue,et,we),ue[xe]=!0}function ie(ue,et,le){if(et)for(let we=0;wefunction(at,Pt){const _t=le(at,Pt);return _t.cbIdx>=0&&"function"==typeof Pt[_t.cbIdx]?N(_t.name,Pt[_t.cbIdx],_t,xe):Ze.apply(at,Pt)})}function ot(ue,et){ue[R("OriginalDelegate")]=et}let vt=!1,Qe=!1;function je(){if(vt)return Qe;vt=!0;try{const ue=F.navigator.userAgent;(-1!==ue.indexOf("MSIE ")||-1!==ue.indexOf("Trident/")||-1!==ue.indexOf("Edge/"))&&(Qe=!0)}catch(ue){}return Qe}Zone.__load_patch("ZoneAwarePromise",(ue,et,le)=>{const we=Object.getOwnPropertyDescriptor,xe=Object.defineProperty,at=le.symbol,Pt=[],_t=!0===ue[at("DISABLE_WRAPPING_UNCAUGHT_PROMISE_REJECTION")],Le=at("Promise"),Ye=at("then");le.onUnhandledError=Nt=>{if(le.showUncaughtError()){const Ut=Nt&&Nt.rejection;Ut?console.error("Unhandled Promise rejection:",Ut instanceof Error?Ut.message:Ut,"; Zone:",Nt.zone.name,"; Task:",Nt.task&&Nt.task.source,"; Value:",Ut,Ut instanceof Error?Ut.stack:void 0):console.error(Nt)}},le.microtaskDrainDone=()=>{for(;Pt.length;){const Nt=Pt.shift();try{Nt.zone.runGuarded(()=>{throw Nt.throwOriginal?Nt.rejection:Nt})}catch(Ut){Xt(Ut)}}};const Mt=at("unhandledPromiseRejectionHandler");function Xt(Nt){le.onUnhandledError(Nt);try{const Ut=et[Mt];"function"==typeof Ut&&Ut.call(this,Nt)}catch(Ut){}}function bn(Nt){return Nt&&Nt.then}function X(Nt){return Nt}function ge(Nt){return he.reject(Nt)}const be=at("state"),Ie=at("value"),$=at("finally"),pe=at("parentPromiseValue"),Ke=at("parentPromiseState"),yt=null,en=!1;function fe(Nt,Ut){return mt=>{try{Oe(Nt,Ut,mt)}catch(qt){Oe(Nt,!1,qt)}}}const W=function(){let Nt=!1;return function(mt){return function(){Nt||(Nt=!0,mt.apply(null,arguments))}}},ye=at("currentTaskTrace");function Oe(Nt,Ut,mt){const qt=W();if(Nt===mt)throw new TypeError("Promise resolved with itself");if(Nt[be]===yt){let z=null;try{("object"==typeof mt||"function"==typeof mt)&&(z=mt&&mt.then)}catch(S){return qt(()=>{Oe(Nt,!1,S)})(),Nt}if(Ut!==en&&mt instanceof he&&mt.hasOwnProperty(be)&&mt.hasOwnProperty(Ie)&&mt[be]!==yt)J(mt),Oe(Nt,mt[be],mt[Ie]);else if(Ut!==en&&"function"==typeof z)try{z.call(mt,qt(fe(Nt,Ut)),qt(fe(Nt,!1)))}catch(S){qt(()=>{Oe(Nt,!1,S)})()}else{Nt[be]=Ut;const S=Nt[Ie];if(Nt[Ie]=mt,Nt[$]===$&&!0===Ut&&(Nt[be]=Nt[Ke],Nt[Ie]=Nt[pe]),Ut===en&&mt instanceof Error){const A=et.currentTask&&et.currentTask.data&&et.currentTask.data.__creationTrace__;A&&xe(mt,ye,{configurable:!0,enumerable:!1,writable:!0,value:A})}for(let A=0;A{try{const V=Nt[Ie],ve=!!mt&&$===mt[$];ve&&(mt[pe]=V,mt[Ke]=S);const me=Ut.run(A,void 0,ve&&A!==ge&&A!==X?[]:[V]);Oe(mt,!0,me)}catch(V){Oe(mt,!1,V)}},mt)}const ze=function(){},nt=ue.AggregateError;class he{static toString(){return"function ZoneAwarePromise() { [native code] }"}static resolve(Ut){return Oe(new this(null),!0,Ut)}static reject(Ut){return Oe(new this(null),en,Ut)}static any(Ut){if(!Ut||"function"!=typeof Ut[Symbol.iterator])return Promise.reject(new nt([],"All promises were rejected"));const mt=[];let qt=0;try{for(let A of Ut)qt++,mt.push(he.resolve(A))}catch(A){return Promise.reject(new nt([],"All promises were rejected"))}if(0===qt)return Promise.reject(new nt([],"All promises were rejected"));let z=!1;const S=[];return new he((A,V)=>{for(let ve=0;ve{z||(z=!0,A(me))},me=>{S.push(me),qt--,0===qt&&(z=!0,V(new nt(S,"All promises were rejected")))})})}static race(Ut){let mt,qt,z=new this((V,ve)=>{mt=V,qt=ve});function S(V){mt(V)}function A(V){qt(V)}for(let V of Ut)bn(V)||(V=this.resolve(V)),V.then(S,A);return z}static all(Ut){return he.allWithCallback(Ut)}static allSettled(Ut){return(this&&this.prototype instanceof he?this:he).allWithCallback(Ut,{thenCallback:qt=>({status:"fulfilled",value:qt}),errorCallback:qt=>({status:"rejected",reason:qt})})}static allWithCallback(Ut,mt){let qt,z,S=new this((me,Ge)=>{qt=me,z=Ge}),A=2,V=0;const ve=[];for(let me of Ut){bn(me)||(me=this.resolve(me));const Ge=V;try{me.then(De=>{ve[Ge]=mt?mt.thenCallback(De):De,A--,0===A&&qt(ve)},De=>{mt?(ve[Ge]=mt.errorCallback(De),A--,0===A&&qt(ve)):z(De)})}catch(De){z(De)}A++,V++}return A-=2,0===A&&qt(ve),S}constructor(Ut){const mt=this;if(!(mt instanceof he))throw new Error("Must be an instanceof Promise.");mt[be]=yt,mt[Ie]=[];try{const qt=W();Ut&&Ut(qt(fe(mt,!0)),qt(fe(mt,en)))}catch(qt){Oe(mt,!1,qt)}}get[Symbol.toStringTag](){return"Promise"}get[Symbol.species](){return he}then(Ut,mt){var qt;let z=null===(qt=this.constructor)||void 0===qt?void 0:qt[Symbol.species];(!z||"function"!=typeof z)&&(z=this.constructor||he);const S=new z(ze),A=et.current;return this[be]==yt?this[Ie].push(A,S,Ut,mt):ee(this,A,S,Ut,mt),S}catch(Ut){return this.then(null,Ut)}finally(Ut){var mt;let qt=null===(mt=this.constructor)||void 0===mt?void 0:mt[Symbol.species];(!qt||"function"!=typeof qt)&&(qt=he);const z=new qt(ze);z[$]=$;const S=et.current;return this[be]==yt?this[Ie].push(S,z,Ut,Ut):ee(this,S,z,Ut,Ut),z}}he.resolve=he.resolve,he.reject=he.reject,he.race=he.race,he.all=he.all;const ke=ue[Le]=ue.Promise;ue.Promise=he;const Ft=at("thenPatched");function rn(Nt){const Ut=Nt.prototype,mt=we(Ut,"then");if(mt&&(!1===mt.writable||!mt.configurable))return;const qt=Ut.then;Ut[Ye]=qt,Nt.prototype.then=function(z,S){return new he((V,ve)=>{qt.call(this,V,ve)}).then(z,S)},Nt[Ft]=!0}return le.patchThen=rn,ke&&(rn(ke),Ne(ue,"fetch",Nt=>function Xn(Nt){return function(Ut,mt){let qt=Nt.apply(Ut,mt);if(qt instanceof he)return qt;let z=qt.constructor;return z[Ft]||rn(z),qt}}(Nt))),Promise[et.__symbol__("uncaughtPromiseErrors")]=Pt,he}),Zone.__load_patch("toString",ue=>{const et=Function.prototype.toString,le=R("OriginalDelegate"),we=R("Promise"),xe=R("Error"),Ze=function(){if("function"==typeof this){const Le=this[le];if(Le)return"function"==typeof Le?et.call(Le):Object.prototype.toString.call(Le);if(this===Promise){const Ye=ue[we];if(Ye)return et.call(Ye)}if(this===Error){const Ye=ue[xe];if(Ye)return et.call(Ye)}}return et.call(this)};Ze[le]=et,Function.prototype.toString=Ze;const at=Object.prototype.toString;Object.prototype.toString=function(){return"function"==typeof Promise&&this instanceof Promise?"[object Promise]":at.call(this)}});let Q=!1;if("undefined"!=typeof window)try{const ue=Object.defineProperty({},"passive",{get:function(){Q=!0}});window.addEventListener("test",ue,ue),window.removeEventListener("test",ue,ue)}catch(ue){Q=!1}const de={useG:!0},re={},ae={},qe=new RegExp("^"+C+"(\\w+)(true|false)$"),Ve=R("propagationStopped");function ut(ue,et){const le=(et?et(ue):ue)+b,we=(et?et(ue):ue)+y,xe=C+le,Ze=C+we;re[ue]={},re[ue][b]=xe,re[ue][y]=Ze}function Tt(ue,et,le,we){const xe=we&&we.add||d,Ze=we&&we.rm||u,at=we&&we.listeners||"eventListeners",Pt=we&&we.rmAll||"removeAllListeners",_t=R(xe),Le="."+xe+":",Mt=function(Ie,$,pe){if(Ie.isRemoved)return;const Ke=Ie.callback;let Bt;"object"==typeof Ke&&Ke.handleEvent&&(Ie.callback=Dt=>Ke.handleEvent(Dt),Ie.originalDelegate=Ke);try{Ie.invoke(Ie,$,[pe])}catch(Dt){Bt=Dt}const yt=Ie.options;return yt&&"object"==typeof yt&&yt.once&&$[Ze].call($,pe.type,Ie.originalDelegate?Ie.originalDelegate:Ie.callback,yt),Bt};function Xt(Ie,$,pe){if(!($=$||ue.event))return;const Ke=Ie||$.target||ue,Bt=Ke[re[$.type][pe?y:b]];if(Bt){const yt=[];if(1===Bt.length){const Dt=Mt(Bt[0],Ke,$);Dt&&yt.push(Dt)}else{const Dt=Bt.slice();for(let en=0;en{throw en})}}}const bn=function(Ie){return Xt(this,Ie,!1)},X=function(Ie){return Xt(this,Ie,!0)};function ge(Ie,$){if(!Ie)return!1;let pe=!0;$&&void 0!==$.useG&&(pe=$.useG);const Ke=$&&$.vh;let Bt=!0;$&&void 0!==$.chkDup&&(Bt=$.chkDup);let yt=!1;$&&void 0!==$.rt&&(yt=$.rt);let Dt=Ie;for(;Dt&&!Dt.hasOwnProperty(xe);)Dt=w(Dt);if(!Dt&&Ie[xe]&&(Dt=Ie),!Dt||Dt[_t])return!1;const en=$&&$.eventNameToString,ne={},fe=Dt[_t]=Dt[xe],W=Dt[R(Ze)]=Dt[Ze],ce=Dt[R(at)]=Dt[at],ye=Dt[R(Pt)]=Dt[Pt];let Oe;function U(mt,qt){return!Q&&"object"==typeof mt&&mt?!!mt.capture:Q&&qt?"boolean"==typeof mt?{capture:mt,passive:!0}:mt?"object"==typeof mt&&!1!==mt.passive?Object.assign(Object.assign({},mt),{passive:!0}):mt:{passive:!0}:mt}$&&$.prepend&&(Oe=Dt[R($.prepend)]=Dt[$.prepend]);const he=pe?function(mt){if(!ne.isExisting)return fe.call(ne.target,ne.eventName,ne.capture?X:bn,ne.options)}:function(mt){return fe.call(ne.target,ne.eventName,mt.invoke,ne.options)},ke=pe?function(mt){if(!mt.isRemoved){const qt=re[mt.eventName];let z;qt&&(z=qt[mt.capture?y:b]);const S=z&&mt.target[z];if(S)for(let A=0;Afunction(xe,Ze){xe[Ve]=!0,we&&we.apply(xe,Ze)})}function lt(ue,et,le,we,xe){const Ze=Zone.__symbol__(we);if(et[Ze])return;const at=et[Ze]=et[we];et[we]=function(Pt,_t,Le){return _t&&_t.prototype&&xe.forEach(function(Ye){const gt=`${le}.${we}::`+Ye,Mt=_t.prototype;try{if(Mt.hasOwnProperty(Ye)){const Xt=ue.ObjectGetOwnPropertyDescriptor(Mt,Ye);Xt&&Xt.value?(Xt.value=ue.wrapWithCurrentZone(Xt.value,gt),ue._redefineProperty(_t.prototype,Ye,Xt)):Mt[Ye]&&(Mt[Ye]=ue.wrapWithCurrentZone(Mt[Ye],gt))}else Mt[Ye]&&(Mt[Ye]=ue.wrapWithCurrentZone(Mt[Ye],gt))}catch(Xt){}}),at.call(et,Pt,_t,Le)},ue.attachOriginToPatched(et[we],at)}function dt(ue,et,le){if(!le||0===le.length)return et;const we=le.filter(Ze=>Ze.target===ue);if(!we||0===we.length)return et;const xe=we[0].ignoreProperties;return et.filter(Ze=>-1===xe.indexOf(Ze))}function ft(ue,et,le,we){ue&&ie(ue,dt(ue,et,le),we)}function Je(ue){return Object.getOwnPropertyNames(ue).filter(et=>et.startsWith("on")&&et.length>2).map(et=>et.substring(2))}Zone.__load_patch("util",(ue,et,le)=>{const we=Je(ue);le.patchOnProperties=ie,le.patchMethod=Ne,le.bindArguments=$e,le.patchMacroTask=_e;const xe=et.__symbol__("BLACK_LISTED_EVENTS"),Ze=et.__symbol__("UNPATCHED_EVENTS");ue[Ze]&&(ue[xe]=ue[Ze]),ue[xe]&&(et[xe]=et[Ze]=ue[xe]),le.patchEventPrototype=Te,le.patchEventTarget=Tt,le.isIEOrEdge=je,le.ObjectDefineProperty=q,le.ObjectGetOwnPropertyDescriptor=se,le.ObjectCreate=v,le.ArraySlice=m,le.patchClass=Pe,le.wrapWithCurrentZone=P,le.filterProperties=dt,le.attachOriginToPatched=ot,le._redefineProperty=Object.defineProperty,le.patchCallbacks=lt,le.getGlobalObjects=()=>({globalSources:ae,zoneSymbolEventNames:re,eventNames:we,isBrowser:st,isMix:Xe,isNode:kt,TRUE_STR:y,FALSE_STR:b,ZONE_SYMBOL_PREFIX:C,ADD_EVENT_LISTENER_STR:d,REMOVE_EVENT_LISTENER_STR:u})});const Qt=R("zoneTask");function Jt(ue,et,le,we){let xe=null,Ze=null;le+=we;const at={};function Pt(Le){const Ye=Le.data;return Ye.args[0]=function(){return Le.invoke.apply(this,arguments)},Ye.handleId=xe.apply(ue,Ye.args),Le}function _t(Le){return Ze.call(ue,Le.data.handleId)}xe=Ne(ue,et+=we,Le=>function(Ye,gt){if("function"==typeof gt[0]){const Mt={isPeriodic:"Interval"===we,delay:"Timeout"===we||"Interval"===we?gt[1]||0:void 0,args:gt},Xt=gt[0];gt[0]=function(){try{return Xt.apply(this,arguments)}finally{Mt.isPeriodic||("number"==typeof Mt.handleId?delete at[Mt.handleId]:Mt.handleId&&(Mt.handleId[Qt]=null))}};const bn=N(et,gt[0],Mt,Pt,_t);if(!bn)return bn;const X=bn.data.handleId;return"number"==typeof X?at[X]=bn:X&&(X[Qt]=bn),X&&X.ref&&X.unref&&"function"==typeof X.ref&&"function"==typeof X.unref&&(bn.ref=X.ref.bind(X),bn.unref=X.unref.bind(X)),"number"==typeof X||X?X:bn}return Le.apply(ue,gt)}),Ze=Ne(ue,le,Le=>function(Ye,gt){const Mt=gt[0];let Xt;"number"==typeof Mt?Xt=at[Mt]:(Xt=Mt&&Mt[Qt],Xt||(Xt=Mt)),Xt&&"string"==typeof Xt.type?"notScheduled"!==Xt.state&&(Xt.cancelFn&&Xt.data.isPeriodic||0===Xt.runCount)&&("number"==typeof Mt?delete at[Mt]:Mt&&(Mt[Qt]=null),Xt.zone.cancelTask(Xt)):Le.apply(ue,gt)})}Zone.__load_patch("legacy",ue=>{const et=ue[Zone.__symbol__("legacyPatch")];et&&et()}),Zone.__load_patch("queueMicrotask",(ue,et,le)=>{le.patchMethod(ue,"queueMicrotask",we=>function(xe,Ze){et.current.scheduleMicroTask("queueMicrotask",Ze[0])})}),Zone.__load_patch("timers",ue=>{const le="clear";Jt(ue,"set",le,"Timeout"),Jt(ue,"set",le,"Interval"),Jt(ue,"set",le,"Immediate")}),Zone.__load_patch("requestAnimationFrame",ue=>{Jt(ue,"request","cancel","AnimationFrame"),Jt(ue,"mozRequest","mozCancel","AnimationFrame"),Jt(ue,"webkitRequest","webkitCancel","AnimationFrame")}),Zone.__load_patch("blocking",(ue,et)=>{const le=["alert","prompt","confirm"];for(let we=0;wefunction(_t,Le){return et.current.run(Ze,ue,Le,Pt)})}),Zone.__load_patch("EventTarget",(ue,et,le)=>{(function xn(ue,et){et.patchEventPrototype(ue,et)})(ue,le),function Bn(ue,et){if(Zone[et.symbol("patchEventTarget")])return;const{eventNames:le,zoneSymbolEventNames:we,TRUE_STR:xe,FALSE_STR:Ze,ZONE_SYMBOL_PREFIX:at}=et.getGlobalObjects();for(let _t=0;_t{Pe("MutationObserver"),Pe("WebKitMutationObserver")}),Zone.__load_patch("IntersectionObserver",(ue,et,le)=>{Pe("IntersectionObserver")}),Zone.__load_patch("FileReader",(ue,et,le)=>{Pe("FileReader")}),Zone.__load_patch("on_property",(ue,et,le)=>{!function St(ue,et){if(kt&&!Xe||Zone[ue.symbol("patchEvents")])return;const le=et.__Zone_ignore_on_properties;let we=[];if(st){const xe=window;we=we.concat(["Document","SVGElement","Element","HTMLElement","HTMLBodyElement","HTMLMediaElement","HTMLFrameSetElement","HTMLFrameElement","HTMLIFrameElement","HTMLMarqueeElement","Worker"]);const Ze=function bt(){try{const ue=F.navigator.userAgent;if(-1!==ue.indexOf("MSIE ")||-1!==ue.indexOf("Trident/"))return!0}catch(ue){}return!1}()?[{target:xe,ignoreProperties:["error"]}]:[];ft(xe,Je(xe),le&&le.concat(Ze),w(xe))}we=we.concat(["XMLHttpRequest","XMLHttpRequestEventTarget","IDBIndex","IDBRequest","IDBOpenDBRequest","IDBDatabase","IDBTransaction","IDBCursor","WebSocket"]);for(let xe=0;xe{!function Vt(ue,et){const{isBrowser:le,isMix:we}=et.getGlobalObjects();(le||we)&&ue.customElements&&"customElements"in ue&&et.patchCallbacks(et,ue.customElements,"customElements","define",["connectedCallback","disconnectedCallback","adoptedCallback","attributeChangedCallback"])}(ue,le)}),Zone.__load_patch("XHR",(ue,et)=>{!function _t(Le){const Ye=Le.XMLHttpRequest;if(!Ye)return;const gt=Ye.prototype;let Xt=gt[p],bn=gt[g];if(!Xt){const ne=Le.XMLHttpRequestEventTarget;if(ne){const fe=ne.prototype;Xt=fe[p],bn=fe[g]}}const X="readystatechange",ge="scheduled";function be(ne){const fe=ne.data,W=fe.target;W[Ze]=!1,W[Pt]=!1;const ce=W[xe];Xt||(Xt=W[p],bn=W[g]),ce&&bn.call(W,X,ce);const ye=W[xe]=()=>{if(W.readyState===W.DONE)if(!fe.aborted&&W[Ze]&&ne.state===ge){const U=W[et.__symbol__("loadfalse")];if(0!==W.status&&U&&U.length>0){const J=ne.invoke;ne.invoke=function(){const ee=W[et.__symbol__("loadfalse")];for(let Re=0;Refunction(ne,fe){return ne[we]=0==fe[2],ne[at]=fe[1],pe.apply(ne,fe)}),Bt=R("fetchTaskAborting"),yt=R("fetchTaskScheduling"),Dt=Ne(gt,"send",()=>function(ne,fe){if(!0===et.current[yt]||ne[we])return Dt.apply(ne,fe);{const W={target:ne,url:ne[at],isPeriodic:!1,args:fe,aborted:!1},ce=N("XMLHttpRequest.send",Ie,W,be,$);ne&&!0===ne[Pt]&&!W.aborted&&ce.state===ge&&ce.invoke()}}),en=Ne(gt,"abort",()=>function(ne,fe){const W=function Mt(ne){return ne[le]}(ne);if(W&&"string"==typeof W.type){if(null==W.cancelFn||W.data&&W.data.aborted)return;W.zone.cancelTask(W)}else if(!0===et.current[Bt])return en.apply(ne,fe)})}(ue);const le=R("xhrTask"),we=R("xhrSync"),xe=R("xhrListener"),Ze=R("xhrScheduled"),at=R("xhrURL"),Pt=R("xhrErrorBeforeScheduled")}),Zone.__load_patch("geolocation",ue=>{ue.navigator&&ue.navigator.geolocation&&function ct(ue,et){const le=ue.constructor.name;for(let we=0;we{const _t=function(){return Pt.apply(this,$e(arguments,le+"."+xe))};return ot(_t,Pt),_t})(Ze)}}}(ue.navigator.geolocation,["getCurrentPosition","watchPosition"])}),Zone.__load_patch("PromiseRejectionEvent",(ue,et)=>{function le(we){return function(xe){pn(ue,we).forEach(at=>{const Pt=ue.PromiseRejectionEvent;if(Pt){const _t=new Pt(we,{promise:xe.promise,reason:xe.rejection});at.invoke(_t)}})}}ue.PromiseRejectionEvent&&(et[R("unhandledPromiseRejectionHandler")]=le("unhandledrejection"),et[R("rejectionHandledHandler")]=le("rejectionhandled"))})},3564:(se,q,w)=>{"use strict";w.d(q,{Jh:()=>C,ZT:()=>m,_T:()=>u,mG:()=>b,pi:()=>d,pr:()=>L});var v=function(E,G){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(ie,K){ie.__proto__=K}||function(ie,K){for(var Pe in K)K.hasOwnProperty(Pe)&&(ie[Pe]=K[Pe])})(E,G)};function m(E,G){function ie(){this.constructor=E}v(E,G),E.prototype=null===G?Object.create(G):(ie.prototype=G.prototype,new ie)}var d=function(){return d=Object.assign||function(G){for(var ie,K=1,Pe=arguments.length;K0&&Ne[Ne.length-1])&&(6===Qe[0]||2===Qe[0])){ie=0;continue}if(3===Qe[0]&&(!Ne||Qe[1]>Ne[0]&&Qe[1]{var v={"./af":7088,"./af.js":7088,"./ar":7038,"./ar-dz":2502,"./ar-dz.js":2502,"./ar-kw":128,"./ar-kw.js":128,"./ar-ly":4519,"./ar-ly.js":4519,"./ar-ma":5443,"./ar-ma.js":5443,"./ar-ps":4523,"./ar-ps.js":4523,"./ar-sa":7642,"./ar-sa.js":7642,"./ar-tn":8592,"./ar-tn.js":8592,"./ar.js":7038,"./az":1213,"./az.js":1213,"./be":9191,"./be.js":9191,"./bg":322,"./bg.js":322,"./bm":8042,"./bm.js":8042,"./bn":9620,"./bn-bd":5903,"./bn-bd.js":5903,"./bn.js":9620,"./bo":9645,"./bo.js":9645,"./br":5020,"./br.js":5020,"./bs":4792,"./bs.js":4792,"./ca":7980,"./ca.js":7980,"./cs":7322,"./cs.js":7322,"./cv":365,"./cv.js":365,"./cy":2092,"./cy.js":2092,"./da":7387,"./da.js":7387,"./de":4307,"./de-at":9459,"./de-at.js":9459,"./de-ch":3694,"./de-ch.js":3694,"./de.js":4307,"./dv":9659,"./dv.js":9659,"./el":3460,"./el.js":3460,"./en-au":4369,"./en-au.js":4369,"./en-ca":530,"./en-ca.js":530,"./en-gb":9998,"./en-gb.js":9998,"./en-ie":3391,"./en-ie.js":3391,"./en-il":5414,"./en-il.js":5414,"./en-in":9615,"./en-in.js":9615,"./en-nz":1248,"./en-nz.js":1248,"./en-sg":3767,"./en-sg.js":3767,"./eo":4530,"./eo.js":4530,"./es":6866,"./es-do":8944,"./es-do.js":8944,"./es-mx":9116,"./es-mx.js":9116,"./es-us":3609,"./es-us.js":3609,"./es.js":6866,"./et":6725,"./et.js":6725,"./eu":7931,"./eu.js":7931,"./fa":6417,"./fa.js":6417,"./fi":944,"./fi.js":944,"./fil":1766,"./fil.js":1766,"./fo":5867,"./fo.js":5867,"./fr":1636,"./fr-ca":6848,"./fr-ca.js":6848,"./fr-ch":7773,"./fr-ch.js":7773,"./fr.js":1636,"./fy":4940,"./fy.js":4940,"./ga":1402,"./ga.js":1402,"./gd":6924,"./gd.js":6924,"./gl":6398,"./gl.js":6398,"./gom-deva":2457,"./gom-deva.js":2457,"./gom-latn":2545,"./gom-latn.js":2545,"./gu":2641,"./gu.js":2641,"./he":7536,"./he.js":7536,"./hi":6335,"./hi.js":6335,"./hr":7458,"./hr.js":7458,"./hu":6540,"./hu.js":6540,"./hy-am":5283,"./hy-am.js":5283,"./id":8780,"./id.js":8780,"./is":4205,"./is.js":4205,"./it":4211,"./it-ch":9985,"./it-ch.js":9985,"./it.js":4211,"./ja":1003,"./ja.js":1003,"./jv":420,"./jv.js":420,"./ka":851,"./ka.js":851,"./kk":6074,"./kk.js":6074,"./km":3343,"./km.js":3343,"./kn":4799,"./kn.js":4799,"./ko":3549,"./ko.js":3549,"./ku":1037,"./ku-kmr":3775,"./ku-kmr.js":3775,"./ku.js":1037,"./ky":3125,"./ky.js":3125,"./lb":9586,"./lb.js":9586,"./lo":2349,"./lo.js":2349,"./lt":2400,"./lt.js":2400,"./lv":9991,"./lv.js":9991,"./me":8477,"./me.js":8477,"./mi":5118,"./mi.js":5118,"./mk":5943,"./mk.js":5943,"./ml":3849,"./ml.js":3849,"./mn":1977,"./mn.js":1977,"./mr":6184,"./mr.js":6184,"./ms":485,"./ms-my":4524,"./ms-my.js":4524,"./ms.js":485,"./mt":6681,"./mt.js":6681,"./my":2024,"./my.js":2024,"./nb":2688,"./nb.js":2688,"./ne":8914,"./ne.js":8914,"./nl":1758,"./nl-be":2272,"./nl-be.js":2272,"./nl.js":1758,"./nn":1510,"./nn.js":1510,"./oc-lnc":2797,"./oc-lnc.js":2797,"./pa-in":7944,"./pa-in.js":7944,"./pl":1605,"./pl.js":1605,"./pt":4225,"./pt-br":3840,"./pt-br.js":3840,"./pt.js":4225,"./ro":5128,"./ro.js":5128,"./ru":5127,"./ru.js":5127,"./sd":2525,"./sd.js":2525,"./se":9893,"./se.js":9893,"./si":3123,"./si.js":3123,"./sk":9635,"./sk.js":9635,"./sl":8106,"./sl.js":8106,"./sq":8799,"./sq.js":8799,"./sr":7949,"./sr-cyrl":2872,"./sr-cyrl.js":2872,"./sr.js":7949,"./ss":6167,"./ss.js":6167,"./sv":9713,"./sv.js":9713,"./sw":1982,"./sw.js":1982,"./ta":2732,"./ta.js":2732,"./te":3636,"./te.js":3636,"./tet":2115,"./tet.js":2115,"./tg":9801,"./tg.js":9801,"./th":2868,"./th.js":2868,"./tk":1310,"./tk.js":1310,"./tl-ph":2360,"./tl-ph.js":2360,"./tlh":6645,"./tlh.js":6645,"./tr":8374,"./tr.js":8374,"./tzl":256,"./tzl.js":256,"./tzm":1595,"./tzm-latn":1631,"./tzm-latn.js":1631,"./tzm.js":1595,"./ug-cn":6050,"./ug-cn.js":6050,"./uk":5610,"./uk.js":5610,"./ur":6077,"./ur.js":6077,"./uz":2862,"./uz-latn":2207,"./uz-latn.js":2207,"./uz.js":2862,"./vi":8093,"./vi.js":8093,"./x-pseudo":5590,"./x-pseudo.js":5590,"./yo":9058,"./yo.js":9058,"./zh-cn":7908,"./zh-cn.js":7908,"./zh-hk":8867,"./zh-hk.js":8867,"./zh-mo":1133,"./zh-mo.js":1133,"./zh-tw":3291,"./zh-tw.js":3291};function m(u){var p=d(u);return w(p)}function d(u){if(!w.o(v,u)){var p=new Error("Cannot find module '"+u+"'");throw p.code="MODULE_NOT_FOUND",p}return v[u]}m.keys=function(){return Object.keys(v)},m.resolve=d,se.exports=m,m.id=6700},930:(se,q,w)=>{"use strict";let v;if(w.r(q),w.d(q,{InputTypes:()=>C,Parser:()=>L,anyChar:()=>qe,anyCharExcept:()=>le,anyOfString:()=>ft,anythingExcept:()=>et,between:()=>Bn,char:()=>ae,choice:()=>Vt,composeParsers:()=>ie,coroutine:()=>Qe,decide:()=>Ne,decoder:()=>d,digit:()=>pn,digits:()=>Te,either:()=>vt,encoder:()=>m,endOfInput:()=>Pt,errorMapTo:()=>re,everyCharUntil:()=>ue,everythingUntil:()=>xn,exactly:()=>bt,fail:()=>_e,getCharacterLength:()=>y,getData:()=>st,getNextCharWidth:()=>p,getString:()=>u,getUtf8Char:()=>g,letter:()=>lt,letters:()=>dt,lookAhead:()=>we,many:()=>je,many1:()=>Q,mapData:()=>Ee,mapTo:()=>de,namedSequenceOf:()=>Je,optionalWhitespace:()=>Le,parse:()=>Pe,peek:()=>Ve,pipeParsers:()=>G,possibly:()=>xe,recursiveParser:()=>Ye,regex:()=>Tt,sepBy:()=>Qt,sepBy1:()=>Jt,sequenceOf:()=>St,setData:()=>Xe,skip:()=>Ze,startOfInput:()=>at,str:()=>ut,succeedWith:()=>ot,takeLeft:()=>Mt,takeRight:()=>gt,tapParser:()=>K,toPromise:()=>Xt,toValue:()=>bn,updateData:()=>B,updateError:()=>N,updateParserState:()=>F,updateResult:()=>R,whitespace:()=>_t,withData:()=>E}),"undefined"!=typeof TextEncoder)v={Encoder:TextEncoder,Decoder:TextDecoder};else try{const X=require("util");v={Encoder:X.TextEncoder,Decoder:X.TextDecoder}}catch(X){throw new Error("Arcsecond requires TextEncoder and TextDecoder to be polyfilled.")}const m=new v.Encoder,d=new v.Decoder,u=(X,ge,be)=>{const Ie=Uint8Array.from({length:ge},(pe,Ke)=>be.getUint8(X+Ke));return d.decode(Ie)},p=(X,ge)=>{const be=ge.getUint8(X);return(128&be)>>7==0?1:(224&be)>>5==6?2:(240&be)>>4==14?3:(240&be)>>4==15?4:1},g=(X,ge,be)=>{const Ie=Uint8Array.from({length:ge},($,pe)=>be.getUint8(X+pe));return d.decode(Ie)},y=X=>{let ge,be=0,Ie=0;for(;Ie>=8,Ie++;be++}return be};var C=(()=>{return(X=C||(C={})).STRING="string",X.ARRAY_BUFFER="arrayBuffer",X.TYPED_ARRAY="typedArray",X.DATA_VIEW="dataView",C;var X})();const P=(X,ge=null)=>{let be,Ie;if("string"==typeof X){const $=m.encode(X);be=new DataView($.buffer),Ie=C.STRING}else if(X instanceof ArrayBuffer)be=new DataView(X),Ie=C.ARRAY_BUFFER;else if((X=>X instanceof Uint8Array||X instanceof Uint8ClampedArray||X instanceof Int8Array||X instanceof Uint16Array||X instanceof Int16Array||X instanceof Uint32Array||X instanceof Int32Array||X instanceof Float32Array||X instanceof Float64Array)(X))be=new DataView(X.buffer),Ie=C.TYPED_ARRAY;else{if(!(X instanceof DataView))throw new Error("Cannot process input. Must be a string, ArrayBuffer, TypedArray, or DataView. but got "+typeof X);be=X,Ie=C.DATA_VIEW}return{dataView:be,inputType:Ie,isError:!1,error:null,result:null,data:ge,index:0}},N=(X,ge)=>Io(Rr({},X),{isError:!0,error:ge}),R=(X,ge)=>Io(Rr({},X),{result:ge}),B=(X,ge)=>Io(Rr({},X),{data:ge}),F=(X,ge,be)=>Io(Rr({},X),{result:ge,index:be});class L{constructor(ge){this.p=ge}run(ge){const be=P(ge),Ie=this.p(be);return Ie.isError?{isError:!0,error:Ie.error,index:Ie.index,data:Ie.data}:{isError:!1,result:Ie.result,index:Ie.index,data:Ie.data}}fork(ge,be,Ie){const $=P(ge),pe=this.p($);return pe.isError?be(pe.error,pe):Ie(pe.result,pe)}map(ge){const be=this.p;return new L(function($){const pe=be($);return pe.isError?pe:R(pe,ge(pe.result))})}chain(ge){const be=this.p;return new L(function($){const pe=be($);return pe.isError?pe:ge(pe.result).p(pe)})}ap(ge){const be=this.p;return new L(function($){if($.isError)return $;const pe=be($);if(pe.isError)return pe;const Ke=ge.p(pe);return Ke.isError?Ke:R(Ke,Ke.result(pe.result))})}errorMap(ge){const be=this.p;return new L(function($){const pe=be($);return pe.isError?N(pe,ge({isError:!0,error:pe.error,index:pe.index,data:pe.data})):pe})}errorChain(ge){const be=this.p;return new L(function($){const pe=be($);if(pe.isError){const{error:Ke,index:Bt,data:yt}=pe;return ge({isError:!0,error:Ke,index:Bt,data:yt}).p(Io(Rr({},pe),{isError:!1}))}return pe})}mapFromData(ge){const be=this.p;return new L(Ie=>{const $=be(Ie);return $.isError&&$.error?$:R($,ge({isError:!1,result:$.result,data:$.data,index:$.index}))})}chainFromData(ge){const be=this.p;return new L(function($){const pe=be($);return pe.isError&&pe.error?pe:ge({result:pe.result,data:pe.data}).p(pe)})}mapData(ge){const be=this.p;return new L(function($){const pe=be($);return B(pe,ge(pe.data))})}static of(ge){return new L(be=>R(be,ge))}}const te=/[0-9]/,ct=/[a-zA-Z]/,kt=/ParseError.+Expecting/,st=new L(function(ge){return ge.isError?ge:R(ge,ge.data)});function Xe(X){return new L(function(be){return be.isError?be:B(be,X)})}function Ee(X){return new L(function(be){return be.isError?be:B(be,X(be.data))})}function E(X){return function(be){return Xe(be).chain(()=>X)}}function G(X){return new L(function(be){let Ie=be;for(const $ of X)Ie=$.p(Ie);return Ie})}function ie(X){return new L(function(be){return G([...X].reverse()).p(be)})}function K(X){return new L(function(be){return X(be),be})}function Pe(X){return function(be){return X.run(be)}}function Ne(X){return new L(function(be){return be.isError?be:X(be.result).p(be)})}function _e(X){return new L(function(be){return be.isError?be:N(be,X)})}const ot=L.of;function vt(X){return new L(function(be){if(be.isError)return be;const Ie=X.p(be);return R(Io(Rr({},Ie),{isError:!1}),{isError:Ie.isError,value:Ie.isError?Ie.error:Ie.result})})}function Qe(X){return new L(function(be){const Ie=X();let $,pe=be;for(;;){const Ke=Ie.next($),Bt=Ke.value;if(Ke.done)return R(pe,Bt);if(!(Bt&&Bt instanceof L))throw new Error(`[coroutine] yielded values must be Parsers, got ${Ke.value}.`);if(pe=Bt.p(pe),pe.isError)return pe;$=pe.result}})}function bt(X){if("number"!=typeof X||X<=0)throw new TypeError(`exactly must be called with a number > 0, but got ${X}`);return function(be){return new L(function($){if($.isError)return $;const pe=[];let Ke=$;for(let Bt=0;Bt`ParseError (position ${Ie}): Expecting ${X}${$.replace(kt,"")}`)}}const je=function(ge){return new L(function(Ie){if(Ie.isError)return Ie;const $=[];let pe=Ie;for(;;){const Ke=ge.p(pe);if(Ke.isError)break;if(pe=Ke,$.push(pe.result),pe.index>=pe.dataView.byteLength)break}return R(pe,$)})},Q=function(ge){return new L(function(Ie){if(Ie.isError)return Ie;const $=je(ge).p(Ie);return $.result.length?$:N(Ie,`ParseError 'many1' (position ${Ie.index}): Expecting to match at least one value`)})};function de(X){return new L(function(be){return be.isError?be:R(be,X(be.result))})}function re(X){return new L(function(be){return be.isError?N(be,X(be.error,be.index,be.data)):be})}const ae=function(ge){if(!ge||1!==y(ge))throw new TypeError(`char must be called with a single character, but got ${ge}`);return new L(function(Ie){if(Ie.isError)return Ie;const{index:$,dataView:pe}=Ie;if($ 1, but got ${X}`);const ge=m.encode(X);return new L(function(Ie){const{index:$,dataView:pe}=Ie;if(pe.byteLength-$=1){const Bt=Ke.match(X);return Bt?F(Ie,Bt[0],pe+m.encode(Bt[0]).byteLength):N(Ie,`ParseError (position ${pe}): Expecting string matching '${X}', got '${Ke.slice(0,5)}...'`)}return N(Ie,`ParseError (position ${pe}): Expecting string matching '${X}', but got end of input.`)})}const pn=new L(function(ge){if(ge.isError)return ge;const{dataView:be,index:Ie}=ge;if(be.byteLength>Ie){const $=p(Ie,be);if(Ie+$<=be.byteLength){const pe=g(Ie,$,be);return be.byteLength&&pe&&te.test(pe)?F(ge,pe,Ie+$):N(ge,`ParseError (position ${Ie}): Expecting digit, got '${pe}'`)}}return N(ge,`ParseError (position ${Ie}): Expecting digit, but got end of input.`)}),Te=Tt(/^[0-9]+/).errorMap(({index:X})=>`ParseError (position ${X}): Expecting digits`),lt=new L(function(ge){if(ge.isError)return ge;const{index:be,dataView:Ie}=ge;if(Ie.byteLength>be){const $=p(be,Ie);if(be+$<=Ie.byteLength){const pe=g(be,$,Ie);return Ie.byteLength&&pe&&ct.test(pe)?F(ge,pe,be+$):N(ge,`ParseError (position ${be}): Expecting letter, got '${pe}'`)}}return N(ge,`ParseError (position ${be}): Expecting letter, but got end of input.`)}),dt=Tt(/^[a-zA-Z]+/).errorMap(({index:X})=>`ParseError (position ${X}): Expecting letters`);function ft(X){return new L(function(be){if(be.isError)return be;const{dataView:Ie,index:$}=be;if(Ie.byteLength>$){const pe=p($,Ie);if($+pe<=Ie.byteLength){const Ke=g($,pe,Ie);return X.includes(Ke)?F(be,Ke,$+pe):N(be,`ParseError (position ${$}): Expecting any of the string "${X}", got ${Ke}`)}}return N(be,`ParseError (position ${$}): Expecting any of the string "${X}", but got end of input.`)})}function Je(X){return new L(function(be){if(be.isError)return be;const Ie={};let $=be;for(const[pe,Ke]of X){const Bt=Ke.p($);if(Bt.isError)return Bt;$=Bt,Ie[pe]=Bt.result}return R($,Ie)})}function St(X){return new L(function(be){if(be.isError)return be;const Ie=X.length,$=new Array(Ie);let pe=be;for(let Ke=0;KeIe.index)&&(Ie=pe)}return Ie})}function Bn(X){return function(be){return function($){return St([X,$,be]).map(([pe,Ke])=>Ke)}}}function xn(X){return new L(ge=>{if(ge.isError)return ge;const be=[];let Ie=ge;for(;X.p(Ie).isError;){const{index:pe,dataView:Ke}=Ie;if(Ke.byteLength<=pe)return N(Ie,`ParseError 'everythingUntil' (position ${Ie.index}): Unexpected end of input.`);const Bt=Ke.getUint8(pe);Bt&&(be.push(Bt),Ie=F(Ie,Bt,pe+1))}return R(Ie,be)})}const ue=X=>xn(X).map(ge=>d.decode(Uint8Array.from(ge))),et=function(ge){return new L(function(Ie){if(Ie.isError)return Ie;const{dataView:$,index:pe}=Ie,Ke=ge.p(Ie);return Ke.isError?F(Ie,$.getUint8(pe),pe+1):N(Ie,`ParseError 'anythingExcept' (position ${pe}): Matched '${Ke.result}' from the exception parser`)})},le=function(ge){return new L(function(Ie){if(Ie.isError)return Ie;const{dataView:$,index:pe}=Ie,Ke=ge.p(Ie);if(Ke.isError){if(pe<$.byteLength){const Bt=p(pe,$);if(pe+Bt<=$.byteLength){const yt=g(pe,Bt,$);return F(Ie,yt,pe+Bt)}}return N(Ie,`ParseError 'anyCharExcept' (position ${pe}): Unexpected end of input`)}return N(Ie,`ParseError 'anyCharExcept' (position ${pe}): Matched '${Ke.result}' from the exception parser`)})};function we(X){return new L(function(be){if(be.isError)return be;const Ie=X.p(be);return Ie.isError?N(be,Ie.error):R(be,Ie.result)})}function xe(X){return new L(function(be){if(be.isError)return be;const Ie=X.p(be);return Ie.isError?R(be,null):Ie})}function Ze(X){return new L(function(be){if(be.isError)return be;const Ie=X.p(be);return Ie.isError?Ie:R(Ie,be.result)})}const at=new L(function(ge){if(ge.isError)return ge;const{index:be}=ge;return be>0?N(ge,`ParseError 'startOfInput' (position ${be}): Expected start of input'`):ge}),Pt=new L(function(ge){if(ge.isError)return ge;const{dataView:be,index:Ie,inputType:$}=ge;if(Ie!==be.byteLength){const pe=$===C.STRING?String.fromCharCode(be.getUint8(Ie)):`0x${be.getUint8(Ie).toString(16).padStart(2,"0")}`;return N(ge,`ParseError 'endOfInput' (position ${Ie}): Expected end of input but got '${pe}'`)}return R(ge,null)}),_t=Tt(/^\s+/).errorMap(({index:X})=>`ParseError 'many1' (position ${X}): Expecting to match at least one value`),Le=xe(_t).map(X=>X||"");function Ye(X){return new L(function(be){return X().p(be)})}function gt(X){return function(be){return X.chain(()=>be)}}const Mt=function(ge){return function(Ie){return ge.chain($=>Ie.map(()=>$))}};function Xt(X){return!0===X.isError?Promise.reject({error:X.error,index:X.index,data:X.data}):Promise.resolve(X.result)}function bn(X){if(!0===X.isError){const ge=new Error(String(X.error)||"null");throw ge.parseIndex=X.index,ge.data=X.data,ge}return X.result}},744:(se,q,w)=>{"use strict";w.d(q,{Z:()=>p});var v=w(5202);function m(R){return(m="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(F){return typeof F}:function(F){return F&&"function"==typeof Symbol&&F.constructor===Symbol&&F!==Symbol.prototype?"symbol":typeof F})(R)}function p(R){return g(R,[])}function g(R,B){switch(m(R)){case"string":return JSON.stringify(R);case"function":return R.name?"[function ".concat(R.name,"]"):"[function]";case"object":return null===R?"null":function y(R,B){if(-1!==B.indexOf(R))return"[Circular]";var F=[].concat(B,[R]),L=function P(R){var B=R[String(v.Z)];return"function"==typeof B?B:"function"==typeof R.inspect?R.inspect:void 0}(R);if(void 0!==L){var te=L.call(R);if(te!==R)return"string"==typeof te?te:g(te,F)}else if(Array.isArray(R))return function C(R,B){if(0===R.length)return"[]";if(B.length>2)return"[Array]";for(var F=Math.min(10,R.length),L=R.length-F,te=[],$e=0;$e1&&te.push("... ".concat(L," more items")),"["+te.join(", ")+"]"}(R,F);return function b(R,B){var F=Object.keys(R);if(0===F.length)return"{}";if(B.length>2)return"["+function N(R){var B=Object.prototype.toString.call(R).replace(/^\[object /,"").replace(/]$/,"");if("Object"===B&&"function"==typeof R.constructor){var F=R.constructor.name;if("string"==typeof F&&""!==F)return F}return B}(R)+"]";var L=F.map(function(te){return te+": "+g(R[te],B)});return"{ "+L.join(", ")+" }"}(R,F)}(R,B);default:return String(R)}}},5202:(se,q,w)=>{"use strict";w.d(q,{Z:()=>m});const m="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):void 0},848:(se,q,w)=>{"use strict";w.d(q,{Ye:()=>u,WU:()=>p,UG:()=>g});var m=w(5202);function d(y){var b=y.prototype.toJSON;"function"==typeof b||function v(y,b){if(!Boolean(y))throw new Error(null!=b?b:"Unexpected invariant triggered.")}(0),y.prototype.inspect=b,m.Z&&(y.prototype[m.Z]=b)}var u=function(){function y(C,P,N){this.start=C.start,this.end=P.end,this.startToken=C,this.endToken=P,this.source=N}return y.prototype.toJSON=function(){return{start:this.start,end:this.end}},y}();d(u);var p=function(){function y(C,P,N,R,B,F,L){this.kind=C,this.start=P,this.end=N,this.line=R,this.column=B,this.value=L,this.prev=F,this.next=null}return y.prototype.toJSON=function(){return{kind:this.kind,value:this.value,line:this.line,column:this.column}},y}();function g(y){return null!=y&&"string"==typeof y.kind}d(p)},2032:(se,q,w)=>{"use strict";function v(p){var g=p.split(/\r\n|[\n\r]/g),y=function d(p){for(var g,y=!0,b=!0,C=0,P=null,N=0;NC&&m(g[P-1]);)--P;return g.slice(C,P).join("\n")}function m(p){for(var g=0;g1&&void 0!==arguments[1]?arguments[1]:"",y=arguments.length>2&&void 0!==arguments[2]&&arguments[2],b=-1===p.indexOf("\n"),C=" "===p[0]||"\t"===p[0],P='"'===p[p.length-1],N="\\"===p[p.length-1],R=!b||P||N||y,B="";return R&&!(b&&C)&&(B+="\n"+g),B+=g?p.replace(/\n/g,"\n"+g):p,R&&(B+="\n"),'"""'+B.replace(/"""/g,'\\"""')+'"""'}w.d(q,{LZ:()=>u,W7:()=>v})},4989:(se,q,w)=>{"use strict";w.d(q,{S:()=>d});var v=w(1335),m=w(2032);function d(B){return(0,v.Vn)(B,{leave:p})}var p={Name:function(F){return F.value},Variable:function(F){return"$"+F.name},Document:function(F){return y(F.definitions,"\n\n")+"\n"},OperationDefinition:function(F){var L=F.operation,te=F.name,$e=C("(",y(F.variableDefinitions,", "),")"),ct=y(F.directives," "),jt=F.selectionSet;return te||ct||$e||"query"!==L?y([L,y([te,$e]),ct,jt]," "):jt},VariableDefinition:function(F){var ct=F.directives;return F.variable+": "+F.type+C(" = ",F.defaultValue)+C(" ",y(ct," "))},SelectionSet:function(F){return b(F.selections)},Field:function(F){var te=F.name,$e=F.arguments,ct=F.directives,jt=F.selectionSet,Ot=C("",F.alias,": ")+te,kt=Ot+C("(",y($e,", "),")");return kt.length>80&&(kt=Ot+C("(\n",P(y($e,"\n")),"\n)")),y([kt,y(ct," "),jt]," ")},Argument:function(F){return F.name+": "+F.value},FragmentSpread:function(F){return"..."+F.name+C(" ",y(F.directives," "))},InlineFragment:function(F){var te=F.directives,$e=F.selectionSet;return y(["...",C("on ",F.typeCondition),y(te," "),$e]," ")},FragmentDefinition:function(F){var te=F.typeCondition,$e=F.variableDefinitions,ct=F.directives,jt=F.selectionSet;return"fragment ".concat(F.name).concat(C("(",y($e,", "),")")," ")+"on ".concat(te," ").concat(C("",y(ct," ")," "))+jt},IntValue:function(F){return F.value},FloatValue:function(F){return F.value},StringValue:function(F,L){var te=F.value;return F.block?(0,m.LZ)(te,"description"===L?"":" "):JSON.stringify(te)},BooleanValue:function(F){return F.value?"true":"false"},NullValue:function(){return"null"},EnumValue:function(F){return F.value},ListValue:function(F){return"["+y(F.values,", ")+"]"},ObjectValue:function(F){return"{"+y(F.fields,", ")+"}"},ObjectField:function(F){return F.name+": "+F.value},Directive:function(F){return"@"+F.name+C("(",y(F.arguments,", "),")")},NamedType:function(F){return F.name},ListType:function(F){return"["+F.type+"]"},NonNullType:function(F){return F.type+"!"},SchemaDefinition:g(function(B){var L=B.operationTypes;return y(["schema",y(B.directives," "),b(L)]," ")}),OperationTypeDefinition:function(F){return F.operation+": "+F.type},ScalarTypeDefinition:g(function(B){return y(["scalar",B.name,y(B.directives," ")]," ")}),ObjectTypeDefinition:g(function(B){var te=B.directives,$e=B.fields;return y(["type",B.name,C("implements ",y(B.interfaces," & ")),y(te," "),b($e)]," ")}),FieldDefinition:g(function(B){var L=B.arguments,te=B.type,$e=B.directives;return B.name+(R(L)?C("(\n",P(y(L,"\n")),"\n)"):C("(",y(L,", "),")"))+": "+te+C(" ",y($e," "))}),InputValueDefinition:g(function(B){var $e=B.directives;return y([B.name+": "+B.type,C("= ",B.defaultValue),y($e," ")]," ")}),InterfaceTypeDefinition:g(function(B){var te=B.directives,$e=B.fields;return y(["interface",B.name,C("implements ",y(B.interfaces," & ")),y(te," "),b($e)]," ")}),UnionTypeDefinition:g(function(B){var te=B.types;return y(["union",B.name,y(B.directives," "),te&&0!==te.length?"= "+y(te," | "):""]," ")}),EnumTypeDefinition:g(function(B){var te=B.values;return y(["enum",B.name,y(B.directives," "),b(te)]," ")}),EnumValueDefinition:g(function(B){return y([B.name,y(B.directives," ")]," ")}),InputObjectTypeDefinition:g(function(B){var te=B.fields;return y(["input",B.name,y(B.directives," "),b(te)]," ")}),DirectiveDefinition:g(function(B){var L=B.arguments,te=B.repeatable,$e=B.locations;return"directive @"+B.name+(R(L)?C("(\n",P(y(L,"\n")),"\n)"):C("(",y(L,", "),")"))+(te?" repeatable":"")+" on "+y($e," | ")}),SchemaExtension:function(F){var te=F.operationTypes;return y(["extend schema",y(F.directives," "),b(te)]," ")},ScalarTypeExtension:function(F){return y(["extend scalar",F.name,y(F.directives," ")]," ")},ObjectTypeExtension:function(F){var $e=F.directives,ct=F.fields;return y(["extend type",F.name,C("implements ",y(F.interfaces," & ")),y($e," "),b(ct)]," ")},InterfaceTypeExtension:function(F){var $e=F.directives,ct=F.fields;return y(["extend interface",F.name,C("implements ",y(F.interfaces," & ")),y($e," "),b(ct)]," ")},UnionTypeExtension:function(F){var $e=F.types;return y(["extend union",F.name,y(F.directives," "),$e&&0!==$e.length?"= "+y($e," | "):""]," ")},EnumTypeExtension:function(F){var $e=F.values;return y(["extend enum",F.name,y(F.directives," "),b($e)]," ")},InputObjectTypeExtension:function(F){var $e=F.fields;return y(["extend input",F.name,y(F.directives," "),b($e)]," ")}};function g(B){return function(F){return y([F.description,B(F)],"\n")}}function y(B){var F,L=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return null!==(F=null==B?void 0:B.filter(function(te){return te}).join(L))&&void 0!==F?F:""}function b(B){return C("{\n",P(y(B,"\n")),"\n}")}function C(B,F){var L=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";return null!=F&&""!==F?B+F+L:""}function P(B){return C(" ",B.replace(/\n/g,"\n "))}function N(B){return-1!==B.indexOf("\n")}function R(B){return null!=B&&B.some(N)}},1335:(se,q,w)=>{"use strict";w.d(q,{$_:()=>u,Vn:()=>p});var v=w(744),m=w(848),d={Name:[],Document:["definitions"],OperationDefinition:["name","variableDefinitions","directives","selectionSet"],VariableDefinition:["variable","type","defaultValue","directives"],Variable:["name"],SelectionSet:["selections"],Field:["alias","name","arguments","directives","selectionSet"],Argument:["name","value"],FragmentSpread:["name","directives"],InlineFragment:["typeCondition","directives","selectionSet"],FragmentDefinition:["name","variableDefinitions","typeCondition","directives","selectionSet"],IntValue:[],FloatValue:[],StringValue:[],BooleanValue:[],NullValue:[],EnumValue:[],ListValue:["values"],ObjectValue:["fields"],ObjectField:["name","value"],Directive:["name","arguments"],NamedType:["name"],ListType:["type"],NonNullType:["type"],SchemaDefinition:["description","directives","operationTypes"],OperationTypeDefinition:["type"],ScalarTypeDefinition:["description","name","directives"],ObjectTypeDefinition:["description","name","interfaces","directives","fields"],FieldDefinition:["description","name","arguments","type","directives"],InputValueDefinition:["description","name","type","defaultValue","directives"],InterfaceTypeDefinition:["description","name","interfaces","directives","fields"],UnionTypeDefinition:["description","name","directives","types"],EnumTypeDefinition:["description","name","directives","values"],EnumValueDefinition:["description","name","directives"],InputObjectTypeDefinition:["description","name","directives","fields"],DirectiveDefinition:["description","name","arguments","locations"],SchemaExtension:["directives","operationTypes"],ScalarTypeExtension:["name","directives"],ObjectTypeExtension:["name","interfaces","directives","fields"],InterfaceTypeExtension:["name","interfaces","directives","fields"],UnionTypeExtension:["name","directives","types"],EnumTypeExtension:["name","directives","values"],InputObjectTypeExtension:["name","directives","fields"]},u=Object.freeze({});function p(b,C){var P=arguments.length>2&&void 0!==arguments[2]?arguments[2]:d,N=void 0,R=Array.isArray(b),B=[b],F=-1,L=[],te=void 0,$e=void 0,ct=void 0,jt=[],Ot=[],kt=b;do{var st=++F===B.length,Xe=st&&0!==L.length;if(st){if($e=0===Ot.length?void 0:jt[jt.length-1],te=ct,ct=Ot.pop(),Xe){if(R)te=te.slice();else{for(var Ee={},E=0,G=Object.keys(te);E{"use strict";function v(d,u,p,g,y,b,C){try{var P=d[b](C),N=P.value}catch(R){return void p(R)}P.done?u(N):Promise.resolve(N).then(g,y)}function m(d){return function(){var u=this,p=arguments;return new Promise(function(g,y){var b=d.apply(u,p);function C(N){v(b,g,y,C,P,"next",N)}function P(N){v(b,g,y,C,P,"throw",N)}C(void 0)})}}w.d(q,{Z:()=>m})},7582:(se,q,w)=>{"use strict";w.d(q,{_T:()=>u,mG:()=>R,pi:()=>d});var d=function(){return d=Object.assign||function(de){for(var re,ae=1,qe=arguments.length;ae{"use strict";se.exports=JSON.parse('{"name":"@octokit/rest","version":"16.43.2","publishConfig":{"access":"public"},"description":"GitHub REST API client for Node.js","keywords":["octokit","github","rest","api-client"],"author":"Gregor Martynus (https://github.com/gr2m)","contributors":[{"name":"Mike de Boer","email":"info@mikedeboer.nl"},{"name":"Fabian Jakobs","email":"fabian@c9.io"},{"name":"Joe Gallo","email":"joe@brassafrax.com"},{"name":"Gregor Martynus","url":"https://github.com/gr2m"}],"repository":"https://github.com/octokit/rest.js","dependencies":{"@octokit/auth-token":"^2.4.0","@octokit/plugin-paginate-rest":"^1.1.1","@octokit/plugin-request-log":"^1.0.0","@octokit/plugin-rest-endpoint-methods":"2.4.0","@octokit/request":"^5.2.0","@octokit/request-error":"^1.0.2","atob-lite":"^2.0.0","before-after-hook":"^2.0.0","btoa-lite":"^1.0.0","deprecation":"^2.0.0","lodash.get":"^4.4.2","lodash.set":"^4.3.2","lodash.uniq":"^4.5.0","octokit-pagination-methods":"^1.1.0","once":"^1.4.0","universal-user-agent":"^4.0.0"},"devDependencies":{"@gimenete/type-writer":"^0.1.3","@octokit/auth":"^1.1.1","@octokit/fixtures-server":"^5.0.6","@octokit/graphql":"^4.2.0","@types/node":"^13.1.0","bundlesize":"^0.18.0","chai":"^4.1.2","compression-webpack-plugin":"^3.1.0","cypress":"^4.0.0","glob":"^7.1.2","http-proxy-agent":"^4.0.0","lodash.camelcase":"^4.3.0","lodash.merge":"^4.6.1","lodash.upperfirst":"^4.3.1","lolex":"^6.0.0","mkdirp":"^1.0.0","mocha":"^7.0.1","mustache":"^4.0.0","nock":"^11.3.3","npm-run-all":"^4.1.2","nyc":"^15.0.0","prettier":"^1.14.2","proxy":"^1.0.0","semantic-release":"^17.0.0","sinon":"^8.0.0","sinon-chai":"^3.0.0","sort-keys":"^4.0.0","string-to-arraybuffer":"^1.0.0","string-to-jsdoc-comment":"^1.0.0","typescript":"^3.3.1","webpack":"^4.0.0","webpack-bundle-analyzer":"^3.0.0","webpack-cli":"^3.0.0"},"types":"index.d.ts","scripts":{"coverage":"nyc report --reporter=html && open coverage/index.html","lint":"prettier --check \'{lib,plugins,scripts,test}/**/*.{js,json,ts}\' \'docs/*.{js,json}\' \'docs/src/**/*\' index.js README.md package.json","lint:fix":"prettier --write \'{lib,plugins,scripts,test}/**/*.{js,json,ts}\' \'docs/*.{js,json}\' \'docs/src/**/*\' index.js README.md package.json","pretest":"npm run -s lint","test":"nyc mocha test/mocha-node-setup.js \\"test/*/**/*-test.js\\"","test:browser":"cypress run --browser chrome","build":"npm-run-all build:*","build:ts":"npm run -s update-endpoints:typescript","prebuild:browser":"mkdirp dist/","build:browser":"npm-run-all build:browser:*","build:browser:development":"webpack --mode development --entry . --output-library=Octokit --output=./dist/octokit-rest.js --profile --json > dist/bundle-stats.json","build:browser:production":"webpack --mode production --entry . --plugin=compression-webpack-plugin --output-library=Octokit --output-path=./dist --output-filename=octokit-rest.min.js --devtool source-map","generate-bundle-report":"webpack-bundle-analyzer dist/bundle-stats.json --mode=static --no-open --report dist/bundle-report.html","update-endpoints":"npm-run-all update-endpoints:*","update-endpoints:fetch-json":"node scripts/update-endpoints/fetch-json","update-endpoints:typescript":"node scripts/update-endpoints/typescript","prevalidate:ts":"npm run -s build:ts","validate:ts":"tsc --target es6 --noImplicitAny index.d.ts","postvalidate:ts":"tsc --noEmit --target es6 test/typescript-validate.ts","start-fixtures-server":"octokit-fixtures-server"},"license":"MIT","files":["index.js","index.d.ts","lib","plugins"],"nyc":{"ignore":["test"]},"release":{"publish":["@semantic-release/npm",{"path":"@semantic-release/github","assets":["dist/*","!dist/*.map.gz"]}]},"bundlesize":[{"path":"./dist/octokit-rest.min.js.gz","maxSize":"33 kB"}]}')},4147:se=>{"use strict";se.exports=JSON.parse('{"name":"CATcher","version":"3.5.4","main":"main.js","engines":{"node":">=14.0.0"},"scripts":{"ng":"ng","build:staging":"npm run codegen:gql && ng build --c staging --base-href=https://catcher-org.github.io/CATcher-staging/","build:prod:web":"npm run codegen:gql && ng build --configuration production --base-href=https://CATcher-org.github.io/CATcher/","ng:serve":"npm run codegen:gql && ng serve","ng:serve:web":"npm run ng:serve -- -o","deploy:staging":"npm run build:staging && ngh --dir=dist --name=CATcher --email=se-edu@comp.nus.edu.sg --no-silent","ng:serve:test":"npm run ng:serve -- --configuration=test -o","deploy:web":"npm run build:prod:web && ngh --dir=dist --name=CATcher --email=se-edu@comp.nus.edu.sg --no-silent","test":"npm run codegen:gql && ng test","e2e":"npx playwright test --headed --project=chromium --workers=1","lint":"ng lint","lint:fix":"ng lint --fix","codegen:gql":"graphql-codegen --config codegen.yml","codegen:gql-watch":"graphql-codegen --config -w codegen.yml","pretty-quick":"pretty-quick"},"husky":{"hooks":{"pre-commit":"pretty-quick --staged","pre-push":"npm run lint && npm run test"}},"dependencies":{"@angular/animations":"^13.4.0","@angular/cdk":"^13.3.9","@angular/common":"^13.4.0","@angular/compiler":"^13.4.0","@angular/core":"^13.4.0","@angular/forms":"^13.4.0","@angular/localize":"^13.4.0","@angular/material":"^13.3.9","@angular/platform-browser":"^13.4.0","@angular/platform-browser-dynamic":"^13.4.0","@angular/router":"^13.4.0","@apollo/client":"3.3.0","@github/markdown-toolbar-element":"^2.1.1","@octokit/rest":"^16.37.0","@octokit/core":"^4.2.1","apollo-angular":"^3.0.1","arcsecond":"^4.1.0","core-js":"^3.16.4","diff-match-patch":"^1.0.4","graphql":"^15.0.0","karma-spec-reporter":"0.0.32","moment":"^2.24.0","ngx-markdown":"^13.1.0","ngx-mat-select-search":"^3.3.3","rxjs":"6.6.7","tslib":"^2.0.0","uuid":"7.0.3","zone.js":"~0.11.4"},"devDependencies":{"@angular-devkit/build-angular":"~13.3.11","@angular/cli":"^13.3.11","@angular/compiler-cli":"^13.4.0","@angular/language-service":"^13.4.0","@angular-eslint/builder":"12.7.0","@angular-eslint/eslint-plugin":"13.5.0","@angular-eslint/eslint-plugin-template":"13.5.0","@angular-eslint/schematics":"13.5.0","@angular-eslint/template-parser":"13.5.0","@graphql-codegen/cli":"2.16.4","@graphql-codegen/fragment-matcher":"^1.17.7","@graphql-codegen/typescript":"1.17.7","@graphql-codegen/typescript-document-nodes":"1.17.7","@graphql-codegen/typescript-operations":"^1.18.4","@graphql-codegen/typescript-resolvers":"^1.20.0","@octokit/graphql-schema":"^8.24.0","@playwright/test":"~1.33","@types/dompurify":"^2.3.1","@types/jasmine":"^3.8.2","@types/jasminewd2":"2.0.8","@types/node":"^15.6.1","@typescript-eslint/eslint-plugin":"5.0.0","@typescript-eslint/parser":"5.0.0","angular-cli-ghpages":"^1.0.0-rc.2","eslint":"^8.57.0","husky":"^4.2.5","jasmine":"^3.9.0","jasmine-core":"~3.8.0","jasmine-spec-reporter":"~5.0.0","karma":"~6.4.2","karma-chrome-launcher":"^3.1.1","karma-coverage-istanbul-reporter":"~3.0.2","karma-firefox-launcher":"^2.1.1","karma-jasmine":"~4.0.0","karma-jasmine-html-reporter":"^1.7.0","npm-run-all":"4.1.5","prettier":"2.2.1","pretty-quick":"^3.1.1","scuri":"^0.9.4","ts-node":"^10.9.2","tslint-config-prettier":"^1.18.0","typescript":"4.6.4"}}')}},se=>{se(se.s=2442)}]); \ No newline at end of file