PageSourceSearch

https://www.learnmyway.com/main.da3eefd5c126b9e7.js

js learnmyway.com collected 2026-10-03 21:31:25 UTC 1,062,448 bytes, 2 lines download raw bytes

1(self.webpackChunklearn_my_way=self.webpackChunklearn_my_way||[]).push([[792],{1501:(Qe,ge,v)=>{"use strict";v.d(ge,{D:()=>c});const c={path:"user"}},3917:(Qe,ge,v)=>{"use strict";v.d(ge,{Z:()=>c});class c{}},1713:(Qe,ge,v)=>{"use strict";v.d(ge,{T:()=>c});const c=""},5946:(Qe,ge,v)=>{"use strict";v.d(ge,{c:()=>c});const c={lazyLoadedPath:"",lmwHomeStatePath:"",lmwHomeStateTitle:"Learn My Way | Develop Your Digital Skills",browseSubjectsStatePath:"explore-the-subjects",browseSubjectsTitle:"Explore the subjects | Learn My Way",browseSubjectsPageTitle:"Explore the subjects",browseTopicsTitle:"Topics | Learn My Way",reportAnIssueStatePath:"report-an-issue",reportAnIssueTitle:"Report an issue | Learn My Way",caseStudyStatePath:"case-study",caseStudyTitle:"Why Learn My Way? | Learn My Way",myLearningHomeStatePath:"my-learning",myLearningHomeTitle:"My learning | Learn My Way",helpStatePath:"help",helpTitle:"Help | Learn My Way",topicLandingTitle:"Topic introduction | Learn My Way",termsAndConditionsStatePath:"terms-and-conditions",termsAndConditionsTitle:"Terms and conditions | Learn My Way",accessibilityStatePath:"accessibility",accessibilityTitle:"Accessibility statement | Learn My Way",cookiesStatePath:"cookies",cookiesTitle:"Cookies policy | Learn My Way",privacyStatePath:"privacy",privacyTitle:"Privacy policy | Learn My Way",homeLinkText:"Home"}},5631:(Qe,ge,v)=>{"use strict";v.d(ge,{B3:()=>c,M_:()=>G,j3:()=>h,kM:()=>j});const c={path:"complete"},h={path:"subject-complete"},G={path:"stage"},j={path:"topic-player"}},3889:(Qe,ge,v)=>{"use strict";v.d(ge,{c:()=>h});const h=new class c{constructor(){this.production=!0,this.applicationName="Learn My Way",this.appVersion="uk",this.current="PROD",this.localeId="en-gb",this.countryCode="GB",this.language="en",this.strapiBaseUrl="https://nextgen-strapi.learnmyway.com",this.strapiApiUrl="api",this.loadAuth=!0,this.loadLocalSupport=!0,this.loadCookies=!1,this.tts={voice:"Amy",voiceSpeed:"slow"},this.amplify={Auth:{region:"eu-west-2",userPoolId:"eu-west-2_V6iw0ziLN",userPoolWebClientId:"2o36cmi4pfum5jrh7o57m58nn2",endpoint:"https://www.learnmyway.com/cognito-idp"},API:{endpoints:[{name:"public-api",endpoint:"https://nextgen-uk-api.learnmyway.com"}],apiKey:"7D3NM4N5Xb5HuORzQzNRP86XTNjMOvNx89NrD0xP"},storage:sessionStorage},this.ga_measurement_id="G-0BNCGMR17T",this.enableAnalytics=!0,this.textToSpeechUrl="/core-new/text-to-speech"}}},6957:(Qe,ge,v)=>{"use strict";var c=v(436),h=v(8559),G=v(7172);function R(_e){return new h.wOt(3e3,!1)}function wn(_e){switch(_e.length){case 0:return new G.sf;case 1:return _e[0];default:return new G.ui(_e)}}function Mn(_e,_,S=new Map,V=new Map){const he=[],xe=[];let et=-1,ut=null;if(_.forEach(Tt=>{const Nt=Tt.get("offset"),An=Nt==et,$n=An&&ut||new Map;Tt.forEach((Fr,Cr)=>{let Hn=Cr,cr=Fr;if("offset"!==Cr)switch(Hn=_e.normalizePropertyName(Hn,he),cr){case G.FX:cr=S.get(Cr);break;case G.kp:cr=V.get(Cr);break;default:cr=_e.normalizeStyleValue(Cr,Hn,cr,he)}$n.set(Hn,cr)}),An||xe.push($n),ut=$n,et=Nt}),he.length)throw function _t(_e){return new h.wOt(3502,!1)}();return xe}function pn(_e,_,S,V){switch(_){case"start":_e.onStart(()=>V(S&&Zn(S,"start",_e)));break;case"done":_e.onDone(()=>V(S&&Zn(S,"done",_e)));break;case"destroy":_e.onDestroy(()=>V(S&&Zn(S,"destroy",_e)))}}function Zn(_e,_,S){const xe=be(_e.element,_e.triggerName,_e.fromState,_e.toState,_||_e.phaseName,S.totalTime??_e.totalTime,!!S.disabled),et=_e._data;return null!=et&&(xe._data=et),xe}function be(_e,_,S,V,he="",xe=0,et){return{element:_e,triggerName:_,fromState:S,toState:V,phaseName:he,totalTime:xe,disabled:!!et}}function Pt(_e,_,S){let V=_e.get(_);return V||_e.set(_,V=S),V}function In(_e){const _=_e.indexOf(":");return[_e.substring(1,_),_e.slice(_+1)]}const Nn=typeof document>"u"?null:document.documentElement;function ur(_e){const _=_e.parentNode||_e.host||null;return _===Nn?null:_}let zt=null,ke=!1;function lt(_e,_){for(;_;){if(_===_e)return!0;_=ur(_)}return!1}function Mt(_e,_,S){if(S)return Array.from(_e.querySelectorAll(_));const V=_e.querySelector(_);return V?[V]:[]}let En=(()=>{var _e;class _{validateStyleProperty(V){return function te(_e){zt||(zt=function Ve(){return typeof document<"u"?document.body:null}()||{},ke=!!zt.style&&"WebkitAppearance"in zt.style);let _=!0;return zt.style&&!function Hr(_e){return"ebkit"==_e.substring(1,6)}(_e)&&(_=_e in zt.style,!_&&ke&&(_="Webkit"+_e.charAt(0).toUpperCase()+_e.slice(1)in zt.style)),_}(V)}matchesElement(V,he){return!1}containsElement(V,he){return lt(V,he)}getParentElement(V){return ur(V)}query(V,he,xe){return Mt(V,he,xe)}computeStyle(V,he,xe){return xe||""}animate(V,he,xe,et,ut,Tt=[],Nt){return new G.sf(xe,et)}}return(_e=_).\u0275fac=function(V){return new(V||_e)},_e.\u0275prov=h.jDH({token:_e,factory:_e.\u0275fac}),_})();class Qn{}
1Qn.NOOP=new En;class zn{}const fn=1e3,mn="ng-enter",Br="ng-leave",hr="ng-trigger",jn=".ng-trigger",oi="ng-animating",or=".ng-animating";function Dr(_e){if("number"==typeof _e)return _e;const _=_e.match(/^(-?[\.\d]+)(m?s)/);return!_||_.length<2?0:Ei(parseFloat(_[1]),_[2])}function Ei(_e,_){return"s"===_?_e*fn:_e}function Et(_e,_,S){return _e.hasOwnProperty("duration")?_e:function It(_e,_,S){let he,xe=0,et="";if("string"==typeof _e){const ut=_e.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===ut)return _.push(R()),{duration:0,delay:0,easing:""};he=Ei(parseFloat(ut[1]),ut[2]);const Tt=ut[3];null!=Tt&&(xe=Ei(parseFloat(Tt),ut[4]));const Nt=ut[5];Nt&&(et=Nt)}else he=_e;if(!S){let ut=!1,Tt=_.length;he<0&&(_.push(function D(){return new h.wOt(3100,!1)}()),ut=!0),xe<0&&(_.push(function W(){return new h.wOt(3101,!1)}()),ut=!0),ut&&_.splice(Tt,0,R())}return{duration:he,delay:xe,easing:et}}(_e,_,S)}function tt(_e,_,S){_.forEach((V,he)=>{const xe=Lr(he);S&&!S.has(he)&&S.set(he,_e.style[xe]),_e.style[xe]=V})}function Xe(_e,_){_.forEach((S,V)=>{const he=Lr(V);_e.style[he]=""})}function ft(_e){return Array.isArray(_e)?1==_e.length?_e[0]:(0,G.K2)(_e):_e}const hn=new RegExp("{{\\s*(.+?)\\s*}}","g");function Jt(_e){let _=[];if("string"==typeof _e){let S;for(;S=hn.exec(_e);)_.push(S[1]);hn.lastIndex=0}return _}function Ir(_e,_,S){const V=`${_e}`,he=V.replace(hn,(xe,et)=>{let ut=_[et];return null==ut&&(S.push(function F(_e){return new h.wOt(3003,!1)}()),ut=""),ut.toString()});return he==V?_e:he}const kr=/-+([a-z0-9])/g;function Lr(_e){return _e.replace(kr,(..._)=>_[1].toUpperCase())}function Zr(_e,_,S){switch(_.type){case G.If.Trigger:return _e.visitTrigger(_,S);case G.If.State:return _e.visitState(_,S);case G.If.Transition:return _e.visitTransition(_,S);case G.If.Sequence:return _e.visitSequence(_,S);case G.If.Group:return _e.visitGroup(_,S);case G.If.Animate:return _e.visitAnimate(_,S);case G.If.Keyframes:return _e.visitKeyframes(_,S);case G.If.Style:return _e.visitStyle(_,S);case G.If.Reference:return _e.visitReference(_,S);case G.If.AnimateChild:return _e.visitAnimateChild(_,S);case G.If.AnimateRef:return _e.visitAnimateRef(_,S);case G.If.Query:return _e.visitQuery(_,S);case G.If.Stagger:return _e.visitStagger(_,S);default:throw function k(_e){return new h.wOt(3004,!1)}()}}function Ot(_e,_){return window.getComputedStyle(_e)[_]}const Rn=new Set(["width","height","minWidth","minHeight","maxWidth","maxHeight","left","top","bottom","right","fontSize","outlineWidth","outlineOffset","paddingTop","paddingLeft","paddingBottom","paddingRight","marginTop","marginLeft","marginBottom","marginRight","borderRadius","borderWidth","borderTopWidth","borderLeftWidth","borderRightWidth","borderBottomWidth","textIndent","perspective"]);class co extends zn{normalizePropertyName(_,S){return Lr(_)}normalizeStyleValue(_,S,V,he){let xe="";const et=V.toString().trim();if(Rn.has(S)&&0!==V&&"0"!==V)if("number"==typeof V)xe="px";else{const ut=V.match(/^[+-]?[\d\.]+([a-z]*)$/);ut&&0==ut[1].length&&he.push(function oe(_e,_){return new h.wOt(3005,!1)}())}return et+xe}}const He="*";const tn=new Set(["true","1"]),se=new Set(["false","0"]);function Z(_e,_){const S=tn.has(_e)||se.has(_e),V=tn.has(_)||se.has(_);return(he,xe)=>{let et=_e==He||_e==he,ut=_==He||_==xe;return!et&&S&&"boolean"==typeof he&&(et=he?tn.has(_e):se.has(_e)),!ut&&V&&"boolean"==typeof xe&&(ut=xe?tn.has(_):se.has(_)),et&&ut}}const ht=new RegExp("s*:selfs*,?","g");function dt(_e,_,S,V){return new Rt(_e).build(_,S,V)}class Rt{constructor(_){this._driver=_}build(_,S,V){const he=new bn(S);return this._resetContextStyleTimingState(he),Zr(this,ft(_),he)}_resetContextStyleTimingState(_){_.currentQuerySelector="",_.collectedStyles=new Map,_.collectedStyles.set("",new Map),_.currentTime=0}visitTrigger(_,S){let V=S.queryCount=0,he=S.depCount=0;const xe=[],et=[];return"@"==_.name.charAt(0)&&S.errors.push(function x(){return new h.wOt(3006,!1)}()),_.definitions.forEach(ut=>{if(this._resetContextStyleTimingState(S),ut.type==G.If.State){const Tt=ut,Nt=Tt.name;
1Nt.toString().split(/\s*,\s*/).forEach(An=>{Tt.name=An,xe.push(this.visitState(Tt,S))}),Tt.name=Nt}else if(ut.type==G.If.Transition){const Tt=this.visitTransition(ut,S);V+=Tt.queryCount,he+=Tt.depCount,et.push(Tt)}else S.errors.push(function ue(){return new h.wOt(3007,!1)}())}),{type:G.If.Trigger,name:_.name,states:xe,transitions:et,queryCount:V,depCount:he,options:null}}visitState(_,S){const V=this.visitStyle(_.styles,S),he=_.options&&_.options.params||null;if(V.containsDynamicStyles){const xe=new Set,et=he||{};V.styles.forEach(ut=>{ut instanceof Map&&ut.forEach(Tt=>{Jt(Tt).forEach(Nt=>{et.hasOwnProperty(Nt)||xe.add(Nt)})})}),xe.size&&S.errors.push(function le(_e,_){return new h.wOt(3008,!1)}(0,xe.values()))}return{type:G.If.State,name:_.name,style:V,options:he?{params:he}:null}}visitTransition(_,S){S.queryCount=0,S.depCount=0;const V=Zr(this,ft(_.animation),S),he=function ee(_e,_){const S=[];return"string"==typeof _e?_e.split(/\s*,\s*/).forEach(V=>function it(_e,_,S){if(":"==_e[0]){const Tt=function Ct(_e,_){switch(_e){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(S,V)=>parseFloat(V)>parseFloat(S);case":decrement":return(S,V)=>parseFloat(V)<parseFloat(S);default:return _.push(function Me(_e){return new h.wOt(3016,!1)}()),"* => *"}}(_e,S);if("function"==typeof Tt)return void _.push(Tt);_e=Tt}const V=_e.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(null==V||V.length<4)return S.push(function ye(_e){return new h.wOt(3015,!1)}()),_;const he=V[1],xe=V[2],et=V[3];_.push(Z(he,et)),"<"==xe[0]&&(he!=He||et!=He)&&_.push(Z(et,he))}(V,S,_)):S.push(_e),S}(_.expr,S.errors);return{type:G.If.Transition,matchers:he,animation:V,queryCount:S.queryCount,depCount:S.depCount,options:pr(_.options)}}visitSequence(_,S){return{type:G.If.Sequence,steps:_.steps.map(V=>Zr(this,V,S)),options:pr(_.options)}}visitGroup(_,S){const V=S.currentTime;let he=0;const xe=_.steps.map(et=>{S.currentTime=V;const ut=Zr(this,et,S);return he=Math.max(he,S.currentTime),ut});return S.currentTime=he,{type:G.If.Group,steps:xe,options:pr(_.options)}}visitAnimate(_,S){const V=function mr(_e,_){if(_e.hasOwnProperty("duration"))return _e;if("number"==typeof _e)return Er(Et(_e,_).duration,0,"");const S=_e;if(S.split(/\s+/).some(xe=>"{"==xe.charAt(0)&&"{"==xe.charAt(1))){const xe=Er(0,0,"");return xe.dynamic=!0,xe.strValue=S,xe}const he=Et(S,_);return Er(he.duration,he.delay,he.easing)}(_.timings,S.errors);S.currentAnimateTimings=V;let he,xe=_.styles?_.styles:(0,G.iF)({});if(xe.type==G.If.Keyframes)he=this.visitKeyframes(xe,S);else{let et=_.styles,ut=!1;if(!et){ut=!0;const Nt={};V.easing&&(Nt.easing=V.easing),et=(0,G.iF)(Nt)}S.currentTime+=V.duration+V.delay;const Tt=this.visitStyle(et,S);Tt.isEmptyStep=ut,he=Tt}return S.currentAnimateTimings=null,{type:G.If.Animate,timings:V,style:he,options:null}}visitStyle(_,S){const V=this._makeStyleAst(_,S);return this._validateStyleAst(V,S),V}_makeStyleAst(_,S){const V=[],he=Array.isArray(_.styles)?_.styles:[_.styles];for(let ut of he)"string"==typeof ut?ut===G.kp?V.push(ut):S.errors.push(new h.wOt(3002,!1)):V.push(new Map(Object.entries(ut)));let xe=!1,et=null;return V.forEach(ut=>{if(ut instanceof Map&&(ut.has("easing")&&(et=ut.get("easing"),ut.delete("easing")),!xe))for(let Tt of ut.values())if(Tt.toString().indexOf("{{")>=0){xe=!0;break}}),{type:G.If.Style,styles:V,easing:et,offset:_.offset,containsDynamicStyles:xe,options:null}}_validateStyleAst(_,S){const V=S.currentAnimateTimings;let he=S.currentTime,xe=S.currentTime;V&&xe>0&&(xe-=V.duration+V.delay),_.styles.forEach(et=>{"string"!=typeof et&&et.forEach((ut,Tt)=>{const Nt=S.collectedStyles.get(S.currentQuerySelector),An=Nt.get(Tt);let $n=!0;An&&(xe!=he&&xe>=An.startTime&&he<=An.endTime&&(S.errors.push(function Re(_e,_,S,V,he){return new h.wOt(3010,!1)}()),$n=!1),xe=An.startTime),$n&&Nt.set(Tt,{startTime:xe,endTime:he}),S.options&&function Bt(_e,_,S){const V=_.params||{},he=Jt(_e);he.length&&he.forEach(xe=>{V.hasOwnProperty(xe)||S.push(function $(_e){return new h.wOt(3001,!1)}())})}(ut,S.options,S.errors)})})}visitKeyframes(_,S){const V={type:G.If.Keyframes,styles:[],options:null};
vendor: 12,774 bytes, line 1
1if(!S.currentAnimateTimings)return S.errors.push(function Je(){return new h.wOt(3011,!1)}()),V;let xe=0;const et=[];let ut=!1,Tt=!1,Nt=0;const An=_.steps.map(Zi=>{const so=this._makeStyleAst(Zi,S);let vo=null!=so.offset?so.offset:function Ln(_e){if("string"==typeof _e)return null;let _=null;if(Array.isArray(_e))_e.forEach(S=>{if(S instanceof Map&&S.has("offset")){const V=S;_=parseFloat(V.get("offset")),V.delete("offset")}});else if(_e instanceof Map&&_e.has("offset")){const S=_e;_=parseFloat(S.get("offset")),S.delete("offset")}return _}(so.styles),Mi=0;return null!=vo&&(xe++,Mi=so.offset=vo),Tt=Tt||Mi<0||Mi>1,ut=ut||Mi<Nt,Nt=Mi,et.push(Mi),so});Tt&&S.errors.push(function st(){return new h.wOt(3012,!1)}()),ut&&S.errors.push(function at(){return new h.wOt(3200,!1)}());const $n=_.steps.length;let Fr=0;xe>0&&xe<$n?S.errors.push(function nt(){return new h.wOt(3202,!1)}()):0==xe&&(Fr=1/($n-1));const Cr=$n-1,Hn=S.currentTime,cr=S.currentAnimateTimings,gi=cr.duration;return An.forEach((Zi,so)=>{const vo=Fr>0?so==Cr?1:Fr*so:et[so],Mi=vo*gi;S.currentTime=Hn+cr.delay+Mi,cr.duration=Mi,this._validateStyleAst(Zi,S),Zi.offset=vo,V.styles.push(Zi)}),V}visitReference(_,S){return{type:G.If.Reference,animation:Zr(this,ft(_.animation),S),options:pr(_.options)}}visitAnimateChild(_,S){return S.depCount++,{type:G.If.AnimateChild,options:pr(_.options)}}visitAnimateRef(_,S){return{type:G.If.AnimateRef,animation:this.visitReference(_.animation,S),options:pr(_.options)}}visitQuery(_,S){const V=S.currentQuerySelector,he=_.options||{};S.queryCount++,S.currentQuery=_;const[xe,et]=function on(_e){const _=!!_e.split(/\s*,\s*/).find(S=>":self"==S);return _&&(_e=_e.replace(ht,"")),_e=_e.replace(/@\*/g,jn).replace(/@\w+/g,S=>jn+"-"+S.slice(1)).replace(/:animating/g,or),[_e,_]}(_.selector);S.currentQuerySelector=V.length?V+" "+xe:xe,Pt(S.collectedStyles,S.currentQuerySelector,new Map);const ut=Zr(this,ft(_.animation),S);return S.currentQuery=null,S.currentQuerySelector=V,{type:G.If.Query,selector:xe,limit:he.limit||0,optional:!!he.optional,includeSelf:et,animation:ut,originalSelector:_.selector,options:pr(_.options)}}visitStagger(_,S){S.currentQuery||S.errors.push(function we(){return new h.wOt(3013,!1)}());const V="full"===_.timings?{duration:0,delay:0,easing:"full"}:Et(_.timings,S.errors,!0);return{type:G.If.Stagger,animation:Zr(this,ft(_.animation),S),timings:V,options:null}}}class bn{constructor(_){this.errors=_,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles=new Map,this.options=null,this.unsupportedCSSPropertiesFound=new Set}}function pr(_e){return _e?(_e={..._e}).params&&(_e.params=function ln(_e){return _e?{..._e}:null}(_e.params)):_e={},_e}function Er(_e,_,S){return{duration:_e,delay:_,easing:S}}function xn(_e,_,S,V,he,xe,et=null,ut=!1){return{type:1,element:_e,keyframes:_,preStyleProps:S,postStyleProps:V,duration:he,delay:xe,totalTime:he+xe,easing:et,subTimeline:ut}}class Vr{constructor(){this._map=new Map}get(_){return this._map.get(_)||[]}append(_,S){let V=this._map.get(_);V||this._map.set(_,V=[]),V.push(...S)}has(_){return this._map.has(_)}clear(){this._map.clear()}}const rr=new RegExp(":enter","g"),bi=new RegExp(":leave","g");function Mr(_e,_,S,V,he,xe=new Map,et=new Map,ut,Tt,Nt=[]){return(new ai).buildKeyframes(_e,_,S,V,he,xe,et,ut,Tt,Nt)}class ai{buildKeyframes(_,S,V,he,xe,et,ut,Tt,Nt,An=[]){Nt=Nt||new Vr;const $n=new Un(_,S,Nt,he,xe,An,[]);$n.options=Tt;const Fr=Tt.delay?Dr(Tt.delay):0;$n.currentTimeline.delayNextStep(Fr),$n.currentTimeline.setStyles([et],null,$n.errors,Tt),Zr(this,V,$n);const Cr=$n.timelines.filter(Hn=>Hn.containsAnimation());if(Cr.length&&ut.size){let Hn;for(let cr=Cr.length-1;cr>=0;cr--){const gi=Cr[cr];if(gi.element===S){Hn=gi;break}}Hn&&!Hn.allowOnlyTimelineStyles()&&Hn.setStyles([ut],null,$n.errors,Tt)}return Cr.length?Cr.map(Hn=>Hn.buildKeyframes()):[xn(S,[],[],[],0,Fr,"",!1)]}visitTrigger(_,S){}visitState(_,S){}visitTransition(_,S){}visitAnimateChild(_,S){const V=S.subInstructions.get(S.element);if(V){const he=S.createSubContext(_.options),xe=S.currentTimeline.currentTime,et=this._visitSubInstructions(V,he,he.options);xe!=et&&S.transformIntoNewTimeline(et)}S.previousNode=_}visitAnimateRef(_,S){const V=S.createSubContext(_.options);V.transformIntoNewTimeline(),this._applyAnimationRefDelays([_.options,_.animation.options],S,V),this.visitReference(_.animation,V),S.transformIntoNewTimeline(V.currentTimeline.currentTime),S.previousNode=_}_applyAnimationRefDelays(_,S,V){for(const he of _){const xe=he?.delay;if(xe){const et="number"==typeof xe?xe:Dr(Ir(xe,he?.params??{},S.errors));V.delayNextStep(et)}}}_visitSubInstructions(_,S,V){let xe=S.currentTimeline.currentTime;const et=null!=V.duration?Dr(V.duration):null,ut=null!=V.delay?Dr(V.delay):null;return 0!==et&&_.forEach(Tt=>{const Nt=S.appendInstructionToTimeline(Tt,et,ut);xe=Math.max(xe,Nt.duration+Nt.delay)}),xe}visitReference(_,S){S.updateOptions(_.options,!0),Zr(this,_.animation,S),S.previousNode=_}visitSequence(_,S){const V=S.subContextCount;let he=S;const xe=_.options;if(xe&&(xe.params||xe.delay)&&(he=S.createSubContext(xe),he.transformIntoNewTimeline(),null!=xe.delay)){he.previousNode.type==G.If.Style&&(he.currentTimeline.snapshotCurrentStyles(),he.previousNode=wi);const et=Dr(xe.delay);he.delayNextStep(et)}_.steps.length&&(_.steps.forEach(et=>Zr(this,et,he)),he.currentTimeline.applyStylesToKeyframe(),he.subContextCount>V&&he.transformIntoNewTimeline()),S.previousNode=_}visitGroup(_,S){const V=[];let he=S.currentTimeline.currentTime;const xe=_.options&&_.options.delay?Dr(_.options.delay):0;_.steps.forEach(et=>{const ut=S.createSubContext(_.options);xe&&ut.delayNextStep(xe),Zr(this,et,ut),he=Math.max(he,ut.currentTimeline.currentTime),V.push(ut.currentTimeline)}),V.forEach(et=>S.currentTimeline.mergeTimelineCollectedStyles(et)),S.transformIntoNewTimeline(he),S.previousNode=_}_visitTiming(_,S){if(_.dynamic){const V=_.strValue;return Et(S.params?Ir(V,S.params,S.errors):V,S.errors)}return{duration:_.duration,delay:_.delay,easing:_.easing}}visitAnimate(_,S){const V=S.currentAnimateTimings=this._visitTiming(_.timings,S),he=S.currentTimeline;V.delay&&(S.incrementTime(V.delay),he.snapshotCurrentStyles());const xe=_.style;xe.type==G.If.Keyframes?this.visitKeyframes(xe,S):(S.incrementTime(V.duration),this.visitStyle(xe,S),he.applyStylesToKeyframe()),S.currentAnimateTimings=null,S.previousNode=_}visitStyle(_,S){const V=S.currentTimeline,he=S.currentAnimateTimings;!he&&V.hasCurrentStyleProperties()&&V.forwardFrame();const xe=he&&he.easing||_.easing;_.isEmptyStep?V.applyEmptyStep(xe):V.setStyles(_.styles,xe,S.errors,S.options),S.previousNode=_}visitKeyframes(_,S){const V=S.currentAnimateTimings,he=S.currentTimeline.duration,xe=V.duration,ut=S.createSubContext().currentTimeline;ut.easing=V.easing,_.styles.forEach(Tt=>{ut.forwardTime((Tt.offset||0)*xe),ut.setStyles(Tt.styles,Tt.easing,S.errors,S.options),ut.applyStylesToKeyframe()}),S.currentTimeline.mergeTimelineCollectedStyles(ut),S.transformIntoNewTimeline(he+xe),S.previousNode=_}visitQuery(_,S){const V=S.currentTimeline.currentTime,he=_.options||{},xe=he.delay?Dr(he.delay):0;xe&&(S.previousNode.type===G.If.Style||0==V&&S.currentTimeline.hasCurrentStyleProperties())&&(S.currentTimeline.snapshotCurrentStyles(),S.previousNode=wi);let et=V;const ut=S.invokeQuery(_.selector,_.originalSelector,_.limit,_.includeSelf,!!he.optional,S.errors);S.currentQueryTotal=ut.length;let Tt=null;ut.forEach((Nt,An)=>{S.currentQueryIndex=An;const $n=S.createSubContext(_.options,Nt);xe&&$n.delayNextStep(xe),Nt===S.element&&(Tt=$n.currentTimeline),Zr(this,_.animation,$n),$n.currentTimeline.applyStylesToKeyframe(),et=Math.max(et,$n.currentTimeline.currentTime)}),S.currentQueryIndex=0,S.currentQueryTotal=0,S.transformIntoNewTimeline(et),Tt&&(S.currentTimeline.mergeTimelineCollectedStyles(Tt),S.currentTimeline.snapshotCurrentStyles()),S.previousNode=_}visitStagger(_,S){const V=S.parentContext,he=S.currentTimeline,xe=_.timings,et=Math.abs(xe.duration),ut=et*(S.currentQueryTotal-1);let Tt=et*S.currentQueryIndex;switch(xe.duration<0?"reverse":xe.easing){case"reverse":Tt=ut-Tt;break;case"full":Tt=V.currentStaggerTime}const An=S.currentTimeline;Tt&&An.delayNextStep(Tt);const $n=An.currentTime;Zr(this,_.animation,S),S.previousNode=_,V.currentStaggerTime=he.currentTime-$n+(he.startTime-V.currentTimeline.startTime)}}const wi={};class Un{constructor(_,S,V,he,xe,et,ut,Tt){this._driver=_,this.element=S,this.subInstructions=V,this._enterClassName=he,this._leaveClassName=xe,this.errors=et,this.timelines=ut,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=wi,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=Tt||new br(this._driver,S,0),ut.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(_,S){if(!_)return;const V=_;let he=this.options;null!=V.duration&&(he.duration=Dr(V.duration)),null!=V.delay&&(he.delay=Dr(V.delay));const xe=V.params;if(xe){let et=he.params;et||(et=this.options.params={}),Object.keys(xe).forEach(ut=>{(!S||!et.hasOwnProperty(ut))&&(et[ut]=Ir(xe[ut],et,this.errors))})}}_copyOptions(){const _={};if(this.options){const S=this.options.params;if(S){const V=_.params={};Object.keys(S).forEach(he=>{V[he]=S[he]})}}return _}createSubContext(_=null,S,V){const he=S||this.element,xe=new Un(this._driver,he,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(he,V||0));return xe.previousNode=this.previousNode,xe.currentAnimateTimings=this.currentAnimateTimings,xe.options=this._copyOptions(),xe.updateOptions(_),xe.currentQueryIndex=this.currentQueryIndex,xe.currentQueryTotal=this.currentQueryTotal,xe.parentContext=this,this.subContextCount++,xe}transformIntoNewTimeline(_){return this.previousNode=wi,this.currentTimeline=this.currentTimeline.fork(this.element,_),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(_,S,V){const he={duration:S??_.duration,delay:this.currentTimeline.currentTime+(V??0)+_.delay,easing:""},xe=new lo(this._driver,_.element,_.keyframes,_.preStyleProps,_.postStyleProps,he,_.stretchStartingKeyframe);return this.timelines.push(xe),he}incrementTime(_){this.currentTimeline.forwardTime(this.currentTimeline.duration+_)}delayNextStep(_){_>0&&this.currentTimeline.delayNextStep(_)}invokeQuery(_,S,V,he,xe,et){let ut=[];if(he&&ut.push(this.element),_.length>0){_=(_=_.replace(rr,"."+this._enterClassName)).replace(bi,"."+this._leaveClassName);let Nt=this._driver.query(this.element,_,1!=V);0!==V&&(Nt=V<0?Nt.slice(Nt.length+V,Nt.length):Nt.slice(0,V)),ut.push(...Nt)}return!xe&&0==ut.length&&et.push(function re(_e){return new h.wOt(3014,!1)}()),ut}}class br{constructor(_,S,V,he){this._driver=_,this.element=S,this.startTime=V,this._elementTimelineStylesLookup=he,this.duration=0,this.easing=null,this._previousKeyframe=new Map,this._currentKeyframe=new Map,this._keyframes=new Map,this._styleSummary=new Map,this._localTimelineStyles=new Map,this._pendingStyles=new Map,this._backFill=new Map,this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(S),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(S,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.hasCurrentStyleProperties();default:return!0}}hasCurrentStyleProperties(){return this._currentKeyframe.size>0}get currentTime(){return this.startTime+this.duration}delayNextStep(_){const S=1===this._keyframes.size&&this._pendingStyles.size;this.duration||S?(this.forwardTime(this.currentTime+_),S&&this.snapshotCurrentStyles()):this.startTime+=_}fork(_,S){return this.applyStylesToKeyframe(),new br(this._driver,_,S||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=new Map,this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=1,this._loadKeyframe()}forwardTime(_){this.applyStylesToKeyframe(),this.duration=_,this._loadKeyframe()}_updateStyle(_,S){this._localTimelineStyles.set(_,S),this._globalTimelineStyles.set(_,S),this._styleSummary.set(_,{time:this.currentTime,value:S})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}
1applyEmptyStep(_){_&&this._previousKeyframe.set("easing",_);for(let[S,V]of this._globalTimelineStyles)this._backFill.set(S,V||G.kp),this._currentKeyframe.set(S,G.kp);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(_,S,V,he){S&&this._previousKeyframe.set("easing",S);const xe=he&&he.params||{},et=function O(_e,_){const S=new Map;let V;return _e.forEach(he=>{if("*"===he){V??=_.keys();for(let xe of V)S.set(xe,G.kp)}else for(let[xe,et]of he)S.set(xe,et)}),S}(_,this._globalTimelineStyles);for(let[ut,Tt]of et){const Nt=Ir(Tt,xe,V);this._pendingStyles.set(ut,Nt),this._localTimelineStyles.has(ut)||this._backFill.set(ut,this._globalTimelineStyles.get(ut)??G.kp),this._updateStyle(ut,Nt)}}applyStylesToKeyframe(){0!=this._pendingStyles.size&&(this._pendingStyles.forEach((_,S)=>{this._currentKeyframe.set(S,_)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((_,S)=>{this._currentKeyframe.has(S)||this._currentKeyframe.set(S,_)}))}snapshotCurrentStyles(){for(let[_,S]of this._localTimelineStyles)this._pendingStyles.set(_,S),this._updateStyle(_,S)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const _=[];for(let S in this._currentKeyframe)_.push(S);return _}
1mergeTimelineCollectedStyles(_){_._styleSummary.forEach((S,V)=>{const he=this._styleSummary.get(V);(!he||S.time>he.time)&&this._updateStyle(V,S.value)})}buildKeyframes(){this.applyStylesToKeyframe();const _=new Set,S=new Set,V=1===this._keyframes.size&&0===this.duration;let he=[];this._keyframes.forEach((ut,Tt)=>{const Nt=new Map([...this._backFill,...ut]);Nt.forEach((An,$n)=>{An===G.FX?_.add($n):An===G.kp&&S.add($n)}),V||Nt.set("offset",Tt/this.duration),he.push(Nt)});const xe=[..._.values()],et=[...S.values()];if(V){const ut=he[0],Tt=new Map(ut);ut.set("offset",0),Tt.set("offset",1),he=[ut,Tt]}return xn(this.element,he,xe,et,this.duration,this.startTime,this.easing,!1)}}class lo extends br{constructor(_,S,V,he,xe,et,ut=!1){super(_,S,et.delay),this.keyframes=V,this.preStyleProps=he,this.postStyleProps=xe,this._stretchStartingKeyframe=ut,this.timings={duration:et.duration,delay:et.delay,easing:et.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let _=this.keyframes,{delay:S,duration:V,easing:he}=this.timings;if(this._stretchStartingKeyframe&&S){const xe=[],et=V+S,ut=S/et,Tt=new Map(_[0]);Tt.set("offset",0),xe.push(Tt);const Nt=new Map(_[0]);Nt.set("offset",Ii(ut)),xe.push(Nt);const An=_.length-1;for(let $n=1;$n<=An;$n++){let Fr=new Map(_[$n]);const Cr=Fr.get("offset");Fr.set("offset",Ii((S+Cr*V)/et)),xe.push(Fr)}V=et,S=0,he="",_=xe}return xn(this.element,_,this.preStyleProps,this.postStyleProps,V,S,he,!0)}}function Ii(_e,_=3){const S=Math.pow(10,_-1);return Math.round(_e*S)/S}function ae(_e,_,S,V,he,xe,et,ut,Tt,Nt,An,$n,Fr){return{type:0,element:_e,triggerName:_,isRemovalTransition:he,fromState:S,fromStyles:xe,toState:V,toStyles:et,timelines:ut,queriedElements:Tt,preStyleProps:Nt,postStyleProps:An,totalTime:$n,errors:Fr}}const J={};class pe{constructor(_,S,V){this._triggerName=_,this.ast=S,this._stateStyles=V}match(_,S,V,he){return function wt(_e,_,S,V,he){return _e.some(xe=>xe(_,S,V,he))}(this.ast.matchers,_,S,V,he)}buildStyles(_,S,V){let he=this._stateStyles.get("*");return void 0!==_&&(he=this._stateStyles.get(_?.toString())||he),he?he.buildStyles(S,V):new Map}build(_,S,V,he,xe,et,ut,Tt,Nt,An){const $n=[],Fr=this.ast.options&&this.ast.options.params||J,Hn=this.buildStyles(V,ut&&ut.params||J,$n),cr=Tt&&Tt.params||J,gi=this.buildStyles(he,cr,$n),Zi=new Set,so=new Map,vo=new Map,Mi="void"===he,us={params:Kt(cr,Fr),delay:this.ast.options?.delay},Yo=An?[]:Mr(_,S,this.ast.animation,xe,et,Hn,gi,us,Nt,$n);let Gi=0;return Yo.forEach(Li=>{Gi=Math.max(Li.duration+Li.delay,Gi)}),$n.length?ae(S,this._triggerName,V,he,Mi,Hn,gi,[],[],so,vo,Gi,$n):(Yo.forEach(Li=>{const eo=Li.element,Ds=Pt(so,eo,new Set);Li.preStyleProps.forEach(E=>Ds.add(E));const $s=Pt(vo,eo,new Set);Li.postStyleProps.forEach(E=>$s.add(E)),eo!==S&&Zi.add(eo)}),ae(S,this._triggerName,V,he,Mi,Hn,gi,Yo,[...Zi.values()],so,vo,Gi))}}function Kt(_e,_){const S={..._};return Object.entries(_e).forEach(([V,he])=>{null!=he&&(S[V]=he)}),S}class yn{constructor(_,S,V){this.styles=_,this.defaultParams=S,this.normalizer=V}buildStyles(_,S){const V=new Map,he=Kt(_,this.defaultParams);return this.styles.styles.forEach(xe=>{"string"!=typeof xe&&xe.forEach((et,ut)=>{et&&(et=Ir(et,he,S));const Tt=this.normalizer.normalizePropertyName(ut,S);et=this.normalizer.normalizeStyleValue(ut,Tt,et,S),V.set(ut,et)})}),V}}class Kn{constructor(_,S,V){this.name=_,this.ast=S,this._normalizer=V,this.transitionFactories=[],this.states=new Map,S.states.forEach(he=>{this.states.set(he.name,new yn(he.style,he.options&&he.options.params||{},V))}),sr(this.states,"true","1"),sr(this.states,"false","0"),S.transitions.forEach(he=>{this.transitionFactories.push(new pe(_,he,this.states))}),this.fallbackTransition=function en(_e,_,S){return new pe(_e,{type:G.If.Transition,animation:{type:G.If.Sequence,steps:[],options:null},matchers:[(et,ut)=>!0],options:null,queryCount:0,depCount:0},_)}(_,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(_,S,V,he){return this.transitionFactories.find(et=>et.match(_,S,V,he))||null}matchStyles(_,S,V){return this.fallbackTransition.buildStyles(_,S,V)}}function sr(_e,_,S){_e.has(_)?_e.has(S)||_e.set(S,_e.get(_)):_e.has(S)&&_e.set(_,_e.get(S))}const Gn=new Vr;class di{constructor(_,S,V){this.bodyNode=_,this._driver=S,this._normalizer=V,this._animations=new Map,this._playersById=new Map,this.players=[]}register(_,S){const V=[],xe=dt(this._driver,S,V,[]);if(V.length)throw function Yt(_e){return new h.wOt(3503,!1)}();this._animations.set(_,xe)}_buildPlayer(_,S,V){const he=_.element,xe=Mn(this._normalizer,_.keyframes,S,V);return this._driver.animate(he,xe,_.duration,_.delay,_.easing,[],!0)}
1create(_,S,V={}){const he=[],xe=this._animations.get(_);let et;const ut=new Map;if(xe?(et=Mr(this._driver,S,xe,mn,Br,new Map,new Map,V,Gn,he),et.forEach(An=>{const $n=Pt(ut,An.element,new Map);An.postStyleProps.forEach(Fr=>$n.set(Fr,null))})):(he.push(function vn(){return new h.wOt(3300,!1)}()),et=[]),he.length)throw function Gt(_e){return new h.wOt(3504,!1)}();ut.forEach((An,$n)=>{An.forEach((Fr,Cr)=>{An.set(Cr,this._driver.computeStyle($n,Cr,G.kp))})});const Nt=wn(et.map(An=>{const $n=ut.get(An.element);return this._buildPlayer(An,new Map,$n)}));return this._playersById.set(_,Nt),Nt.onDestroy(()=>this.destroy(_)),this.players.push(Nt),Nt}destroy(_){const S=this._getPlayer(_);S.destroy(),this._playersById.delete(_);const V=this.players.indexOf(S);V>=0&&this.players.splice(V,1)}_getPlayer(_){const S=this._playersById.get(_);if(!S)throw function an(_e){return new h.wOt(3301,!1)}();return S}listen(_,S,V,he){const xe=be(S,"","","");return pn(this._getPlayer(_),V,xe,he),()=>{}}command(_,S,V,he){if("register"==V)return void this.register(_,he[0]);if("create"==V)return void this.create(_,S,he[0]||{});const xe=this._getPlayer(_);switch(V){case"play":xe.play();break;case"pause":xe.pause();break;case"reset":xe.reset();break;case"restart":xe.restart();break;case"finish":xe.finish();break;case"init":xe.init();break;case"setPosition":xe.setPosition(parseFloat(he[0]));break;case"destroy":this.destroy(_)}}}const qi="ng-animate-queued",Ri="ng-animate-disabled",Ti=[],fi={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},yi={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},Si="__ng_removed";class Yn{get params(){return this.options.params}constructor(_,S=""){this.namespaceId=S;const V=_&&_.hasOwnProperty("value");if(this.value=function Po(_e){return _e??null}(V?_.value:_),V){const{value:xe,...et}=_;this.options=et}else this.options={};this.options.params||(this.options.params={})}absorbOptions(_){const S=_.params;if(S){const V=this.options.params;Object.keys(S).forEach(he=>{null==V[he]&&(V[he]=S[he])})}}}const Io="void",Ci=new Yn(Io);class ui{constructor(_,S,V){this.id=_,this.hostElement=S,this._engine=V,this.players=[],this._triggers=new Map,this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"
vendor: 24,880 bytes, line 1
1+_,oo(S,this._hostClassName)}listen(_,S,V,he){if(!this._triggers.has(S))throw function Ut(_e,_){return new h.wOt(3302,!1)}();if(null==V||0==V.length)throw function Xt(_e){return new h.wOt(3303,!1)}();if(!function Ns(_e){return"start"==_e||"done"==_e}(V))throw function rn(_e,_){return new h.wOt(3400,!1)}();const xe=Pt(this._elementListeners,_,[]),et={name:S,phase:V,callback:he};xe.push(et);const ut=Pt(this._engine.statesByElement,_,new Map);return ut.has(S)||(oo(_,hr),oo(_,hr+"-"+S),ut.set(S,Ci)),()=>{this._engine.afterFlush(()=>{const Tt=xe.indexOf(et);Tt>=0&&xe.splice(Tt,1),this._triggers.has(S)||ut.delete(S)})}}register(_,S){return!this._triggers.has(_)&&(this._triggers.set(_,S),!0)}_getTrigger(_){const S=this._triggers.get(_);if(!S)throw function Cn(_e){return new h.wOt(3401,!1)}();return S}trigger(_,S,V,he=!0){const xe=this._getTrigger(S),et=new Ko(this.id,S,_);let ut=this._engine.statesByElement.get(_);ut||(oo(_,hr),oo(_,hr+"-"+S),this._engine.statesByElement.set(_,ut=new Map));let Tt=ut.get(S);const Nt=new Yn(V,this.id);if(!(V&&V.hasOwnProperty("value"))&&Tt&&Nt.absorbOptions(Tt.options),ut.set(S,Nt),Tt||(Tt=Ci),Nt.value!==Io&&Tt.value===Nt.value){if(!function Ao(_e,_){const S=Object.keys(_e),V=Object.keys(_);if(S.length!=V.length)return!1;for(let he=0;he<S.length;he++){const xe=S[he];if(!_.hasOwnProperty(xe)||_e[xe]!==_[xe])return!1}return!0}(Tt.params,Nt.params)){const cr=[],gi=xe.matchStyles(Tt.value,Tt.params,cr),Zi=xe.matchStyles(Nt.value,Nt.params,cr);cr.length?this._engine.reportError(cr):this._engine.afterFlush(()=>{Xe(_,gi),tt(_,Zi)})}return}const Fr=Pt(this._engine.playersByElement,_,[]);Fr.forEach(cr=>{cr.namespaceId==this.id&&cr.triggerName==S&&cr.queued&&cr.destroy()});let Cr=xe.matchTransition(Tt.value,Nt.value,_,Nt.params),Hn=!1;if(!Cr){if(!he)return;Cr=xe.fallbackTransition,Hn=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:_,triggerName:S,transition:Cr,fromState:Tt,toState:Nt,player:et,isFallbackTransition:Hn}),Hn||(oo(_,qi),et.onStart(()=>{ei(_,qi)})),et.onDone(()=>{let cr=this.players.indexOf(et);cr>=0&&this.players.splice(cr,1);const gi=this._engine.playersByElement.get(_);if(gi){let Zi=gi.indexOf(et);Zi>=0&&gi.splice(Zi,1)}}),this.players.push(et),Fr.push(et),et}deregister(_){this._triggers.delete(_),this._engine.statesByElement.forEach(S=>S.delete(_)),this._elementListeners.forEach((S,V)=>{this._elementListeners.set(V,S.filter(he=>he.name!=_))})}clearElementCache(_){this._engine.statesByElement.delete(_),this._elementListeners.delete(_);const S=this._engine.playersByElement.get(_);S&&(S.forEach(V=>V.destroy()),this._engine.playersByElement.delete(_))}_signalRemovalForInnerTriggers(_,S){const V=this._engine.driver.query(_,jn,!0);V.forEach(he=>{if(he[Si])return;const xe=this._engine.fetchNamespacesByElement(he);xe.size?xe.forEach(et=>et.triggerLeaveAnimation(he,S,!1,!0)):this.clearElementCache(he)}),this._engine.afterFlushAnimationsDone(()=>V.forEach(he=>this.clearElementCache(he)))}triggerLeaveAnimation(_,S,V,he){const xe=this._engine.statesByElement.get(_),et=new Map;if(xe){const ut=[];if(xe.forEach((Tt,Nt)=>{if(et.set(Nt,Tt.value),this._triggers.has(Nt)){const An=this.trigger(_,Nt,Io,he);An&&ut.push(An)}}),ut.length)return this._engine.markElementAsRemoved(this.id,_,!0,S,et),V&&wn(ut).onDone(()=>this._engine.processLeaveNode(_)),!0}return!1}prepareLeaveAnimationListeners(_){const S=this._elementListeners.get(_),V=this._engine.statesByElement.get(_);if(S&&V){const he=new Set;S.forEach(xe=>{const et=xe.name;if(he.has(et))return;he.add(et);const Tt=this._triggers.get(et).fallbackTransition,Nt=V.get(et)||Ci,An=new Yn(Io),$n=new Ko(this.id,et,_);this._engine.totalQueuedPlayers++,this._queue.push({element:_,triggerName:et,transition:Tt,fromState:Nt,toState:An,player:$n,isFallbackTransition:!0})})}}removeNode(_,S){const V=this._engine;if(_.childElementCount&&this._signalRemovalForInnerTriggers(_,S),this.triggerLeaveAnimation(_,S,!0))return;let he=!1;if(V.totalAnimations){const xe=V.players.length?V.playersByQueriedElement.get(_):[];if(xe&&xe.length)he=!0;else{let et=_;for(;et=et.parentNode;)if(V.statesByElement.get(et)){he=!0;break}}}if(this.prepareLeaveAnimationListeners(_),he)V.markElementAsRemoved(this.id,_,!1,S);else{const xe=_[Si];(!xe||xe===fi)&&(V.afterFlush(()=>this.clearElementCache(_)),V.destroyInnerAnimations(_),V._onRemovalComplete(_,S))}}insertNode(_,S){oo(_,this._hostClassName)}drainQueuedTransitions(_){const S=[];return this._queue.forEach(V=>{const he=V.player;if(he.destroyed)return;const xe=V.element,et=this._elementListeners.get(xe);et&&et.forEach(ut=>{if(ut.name==V.triggerName){const Tt=be(xe,V.triggerName,V.fromState.value,V.toState.value);Tt._data=_,pn(V.player,ut.phase,Tt,ut.callback)}}),he.markedForDestroy?this._engine.afterFlush(()=>{he.destroy()}):S.push(V)}),this._queue=[],S.sort((V,he)=>{const xe=V.transition.ast.depCount,et=he.transition.ast.depCount;return 0==xe||0==et?xe-et:this._engine.driver.containsElement(V.element,he.element)?1:-1})}destroy(_){this.players.forEach(S=>S.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,_)}}class ss{_onRemovalComplete(_,S){this.onRemovalComplete(_,S)}constructor(_,S,V,he){this.bodyNode=_,this.driver=S,this._normalizer=V,this.scheduler=he,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=(xe,et)=>{}}get queuedPlayers(){const _=[];return this._namespaceList.forEach(S=>{S.players.forEach(V=>{V.queued&&_.push(V)})}),_}createNamespace(_,S){const V=new ui(_,S,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,S)?this._balanceNamespaceList(V,S):(this.newHostElements.set(S,V),this.collectEnterElement(S)),this._namespaceLookup[_]=V}_balanceNamespaceList(_,S){const V=this._namespaceList,he=this.namespacesByHostElement;if(V.length-1>=0){let et=!1,ut=this.driver.getParentElement(S);for(;ut;){const Tt=he.get(ut);if(Tt){const Nt=V.indexOf(Tt);V.splice(Nt+1,0,_),et=!0;break}ut=this.driver.getParentElement(ut)}et||V.unshift(_)}else V.push(_);return he.set(S,_),_}register(_,S){let V=this._namespaceLookup[_];return V||(V=this.createNamespace(_,S)),V}registerTrigger(_,S,V){let he=this._namespaceLookup[_];he&&he.register(S,V)&&this.totalAnimations++}destroy(_,S){_&&(this.afterFlush(()=>{}),this.afterFlushAnimationsDone(()=>{const V=this._fetchNamespace(_);this.namespacesByHostElement.delete(V.hostElement);const he=this._namespaceList.indexOf(V);he>=0&&this._namespaceList.splice(he,1),V.destroy(S),delete this._namespaceLookup[_]}))}_fetchNamespace(_){return this._namespaceLookup[_]}fetchNamespacesByElement(_){const S=new Set,V=this.statesByElement.get(_);if(V)for(let he of V.values())if(he.namespaceId){const xe=this._fetchNamespace(he.namespaceId);xe&&S.add(xe)}return S}trigger(_,S,V,he){if(Yi(S)){const xe=this._fetchNamespace(_);if(xe)return xe.trigger(S,V,he),!0}return!1}insertNode(_,S,V,he){if(!Yi(S))return;const xe=S[Si];if(xe&&xe.setForRemoval){xe.setForRemoval=!1,xe.setForMove=!0;const et=this.collectedLeaveElements.indexOf(S);et>=0&&this.collectedLeaveElements.splice(et,1)}if(_){const et=this._fetchNamespace(_);et&&et.insertNode(S,V)}he&&this.collectEnterElement(S)}collectEnterElement(_){this.collectedEnterElements.push(_)}markElementAsDisabled(_,S){S?this.disabledNodes.has(_)||(this.disabledNodes.add(_),oo(_,Ri)):this.disabledNodes.has(_)&&(this.disabledNodes.delete(_),ei(_,Ri))}removeNode(_,S,V){if(Yi(S)){this.scheduler?.notify();const he=_?this._fetchNamespace(_):null;he?he.removeNode(S,V):this.markElementAsRemoved(_,S,!1,V);const xe=this.namespacesByHostElement.get(S);xe&&xe.id!==_&&xe.removeNode(S,V)}else this._onRemovalComplete(S,V)}markElementAsRemoved(_,S,V,he,xe){this.collectedLeaveElements.push(S),S[Si]={namespaceId:_,setForRemoval:he,hasAnimation:V,removedBeforeQueried:!1,previousTriggersValues:xe}}listen(_,S,V,he,xe){return Yi(S)?this._fetchNamespace(_).listen(S,V,he,xe):()=>{}}_buildInstruction(_,S,V,he,xe){return _.transition.build(this.driver,_.element,_.fromState.value,_.toState.value,V,he,_.fromState.options,_.toState.options,S,xe)}destroyInnerAnimations(_){let S=this.driver.query(_,jn,!0);S.forEach(V=>this.destroyActiveAnimationsForElement(V)),0!=this.playersByQueriedElement.size&&(S=this.driver.query(_,or,!0),S.forEach(V=>this.finishActiveQueriedAnimationOnElement(V)))}destroyActiveAnimationsForElement(_){const S=this.playersByElement.get(_);S&&S.forEach(V=>{V.queued?V.markedForDestroy=!0:V.destroy()})}finishActiveQueriedAnimationOnElement(_){const S=this.playersByQueriedElement.get(_);S&&S.forEach(V=>V.finish())}whenRenderingDone(){return new Promise(_=>{if(this.players.length)return wn(this.players).onDone(()=>_());_()})}processLeaveNode(_){const S=_[Si];if(S&&S.setForRemoval){if(_[Si]=fi,S.namespaceId){this.destroyInnerAnimations(_);const V=this._fetchNamespace(S.namespaceId);V&&V.clearElementCache(_)}this._onRemovalComplete(_,S.setForRemoval)}_.classList?.contains(Ri)&&this.markElementAsDisabled(_,!1),this.driver.query(_,".ng-animate-disabled",!0).forEach(V=>{this.markElementAsDisabled(V,!1)})}flush(_=-1){let S=[];if(this.newHostElements.size&&(this.newHostElements.forEach((V,he)=>this._balanceNamespaceList(V,he)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let V=0;V<this.collectedEnterElements.length;V++)oo(this.collectedEnterElements[V],"ng-star-inserted");if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){const V=[];try{S=this._flushAnimations(V,_)}finally{for(let he=0;he<V.length;he++)V[he]()}}else for(let V=0;V<this.collectedLeaveElements.length;V++)this.processLeaveNode(this.collectedLeaveElements[V]);if(this.totalQueuedPlayers=0,this.collectedEnterElements.length=0,this.collectedLeaveElements.length=0,this._flushFns.forEach(V=>V()),this._flushFns=[],this._whenQuietFns.length){const V=this._whenQuietFns;this._whenQuietFns=[],S.length?wn(S).onDone(()=>{V.forEach(he=>he())}):V.forEach(he=>he())}}reportError(_){throw function On(_e){return new h.wOt(3402,!1)}()}_flushAnimations(_,S){const V=new Vr,he=[],xe=new Map,et=[],ut=new Map,Tt=new Map,Nt=new Map,An=new Set;this.disabledNodes.forEach(Ee=>{An.add(Ee);const je=this.driver.query(Ee,".ng-animate-queued",!0);for(let yt=0;yt<je.length;yt++)An.add(je[yt])});const $n=this.bodyNode,Fr=Array.from(this.statesByElement.keys()),Cr=fo(Fr,this.collectedEnterElements),Hn=new Map;let cr=0;Cr.forEach((Ee,je)=>{const yt=mn+cr++;Hn.set(je,yt),Ee.forEach(xt=>oo(xt,yt))});const gi=[],Zi=new Set,so=new Set;for(let Ee=0;Ee<this.collectedLeaveElements.length;Ee++){const je=this.collectedLeaveElements[Ee],yt=je[Si];yt&&yt.setForRemoval&&(gi.push(je),Zi.add(je),yt.hasAnimation?this.driver.query(je,".ng-star-inserted",!0).forEach(xt=>Zi.add(xt)):so.add(je))}const vo=new Map,Mi=fo(Fr,Array.from(Zi));Mi.forEach((Ee,je)=>{const yt=Br+cr++;vo.set(je,yt),Ee.forEach(xt=>oo(xt,yt))}),_.push(()=>{Cr.forEach((Ee,je)=>{const yt=Hn.get(je);Ee.forEach(xt=>ei(xt,yt))}),Mi.forEach((Ee,je)=>{const yt=vo.get(je);Ee.forEach(xt=>ei(xt,yt))}),gi.forEach(Ee=>{this.processLeaveNode(Ee)})});const us=[],Yo=[];for(let Ee=this._namespaceList.length-1;Ee>=0;Ee--)this._namespaceList[Ee].drainQueuedTransitions(S).forEach(yt=>{const xt=yt.player,Jn=yt.element;if(us.push(xt),this.collectedEnterElements.length){const gr=Jn[Si];if(gr&&gr.setForMove){if(gr.previousTriggersValues&&gr.previousTriggersValues.has(yt.triggerName)){const Wt=gr.previousTriggersValues.get(yt.triggerName),Pn=this.statesByElement.get(yt.element);if(Pn&&Pn.has(yt.triggerName)){const jr=Pn.get(yt.triggerName);jr.value=Wt,Pn.set(yt.triggerName,jr)}}return void xt.destroy()}}const wr=!$n||!this.driver.containsElement($n,Jn),Or=vo.get(Jn),Sr=Hn.get(Jn),lr=this._buildInstruction(yt,V,Sr,Or,wr);if(lr.errors&&lr.errors.length)return void Yo.push(lr);if(wr)return xt.onStart(()=>Xe(Jn,lr.fromStyles)),xt.onDestroy(()=>tt(Jn,lr.toStyles)),void he.push(xt);if(yt.isFallbackTransition)return xt.onStart(()=>Xe(Jn,lr.fromStyles)),xt.onDestroy(()=>tt(Jn,lr.toStyles)),void he.push(xt);const ti=[];lr.timelines.forEach(gr=>{gr.stretchStartingKeyframe=!0,this.disabledNodes.has(gr.element)||ti.push(gr)}),lr.timelines=ti,V.append(Jn,lr.timelines),et.push({instruction:lr,player:xt,element:Jn}),lr.queriedElements.forEach(gr=>Pt(ut,gr,[]).push(xt)),lr.preStyleProps.forEach((gr,Wt)=>{if(gr.size){let Pn=Tt.get(Wt);Pn||Tt.set(Wt,Pn=new Set),gr.forEach((jr,Gr)=>Pn.add(Gr))}}),lr.postStyleProps.forEach((gr,Wt)=>{let Pn=Nt.get(Wt);Pn||Nt.set(Wt,Pn=new Set),gr.forEach((jr,Gr)=>Pn.add(Gr))})});if(Yo.length){const Ee=[];Yo.forEach(je=>{Ee.push(function dn(_e,_){return new h.wOt(3505,!1)}())}),us.forEach(je=>je.destroy()),this.reportError(Ee)}const Gi=new Map,Li=new Map;et.forEach(Ee=>{const je=Ee.element;V.has(je)&&(Li.set(je,je),this._beforeAnimationBuild(Ee.player.namespaceId,Ee.instruction,Gi))}),he.forEach(Ee=>{const je=Ee.element;this._getPreviousPlayers(je,!1,Ee.namespaceId,Ee.triggerName,null).forEach(xt=>{Pt(Gi,je,[]).push(xt),xt.destroy()})});const eo=gi.filter(Ee=>zo(Ee,Tt,Nt)),Ds=new Map;Rs(Ds,this.driver,so,Nt,G.kp).forEach(Ee=>{zo(Ee,Tt,Nt)&&eo.push(Ee)});const E=new Map;Cr.forEach((Ee,je)=>{Rs(E,this.driver,new Set(Ee),Tt,G.FX)}),eo.forEach(Ee=>{const je=Ds.get(Ee),yt=E.get(Ee);Ds.set(Ee,new Map([...je?.entries()??[],...yt?.entries()??[]]))});const Y=[],Be=[],B={};et.forEach(Ee=>{const{element:je,player:yt,instruction:xt}=Ee;if(V.has(je)){if(An.has(je))return yt.onDestroy(()=>tt(je,xt.toStyles)),yt.disabled=!0,yt.overrideTotalTime(xt.totalTime),void he.push(yt);let Jn=B;if(Li.size>1){let Or=je;const Sr=[];for(;Or=Or.parentNode;){const lr=Li.get(Or);if(lr){Jn=lr;break}Sr.push(Or)}Sr.forEach(lr=>Li.set(lr,Jn))}const wr=this._buildAnimation(yt.namespaceId,xt,Gi,xe,E,Ds);if(yt.setRealPlayer(wr),Jn===B)Y.push(yt);else{const Or=this.playersByElement.get(Jn);Or&&Or.length&&(yt.parentPlayer=wn(Or)),he.push(yt)}}else Xe(je,xt.fromStyles),yt.onDestroy(()=>tt(je,xt.toStyles)),Be.push(yt),An.has(je)&&he.push(yt)}),Be.forEach(Ee=>{const je=xe.get(Ee.element);if(je&&je.length){const yt=wn(je);Ee.setRealPlayer(yt)}}),he.forEach(Ee=>{Ee.parentPlayer?Ee.syncPlayerEvents(Ee.parentPlayer):Ee.destroy()});for(let Ee=0;Ee<gi.length;Ee++){const je=gi[Ee],yt=je[Si];if(ei(je,Br),yt&&yt.hasAnimation)continue;let xt=[];if(ut.size){let wr=ut.get(je);wr&&wr.length&&xt.push(...wr);let Or=this.driver.query(je,or,!0);for(let Sr=0;Sr<Or.length;Sr++){let lr=ut.get(Or[Sr]);lr&&lr.length&&xt.push(...lr)}}const Jn=xt.filter(wr=>!wr.destroyed);Jn.length?To(this,je,Jn):this.processLeaveNode(je)}return gi.length=0,Y.forEach(Ee=>{this.players.push(Ee),Ee.onDone(()=>{Ee.destroy();const je=this.players.indexOf(Ee);this.players.splice(je,1)}),Ee.play()}),Y}afterFlush(_){this._flushFns.push(_)}afterFlushAnimationsDone(_){this._whenQuietFns.push(_)}_getPreviousPlayers(_,S,V,he,xe){let et=[];if(S){const ut=this.playersByQueriedElement.get(_);ut&&(et=ut)}else{const ut=this.playersByElement.get(_);if(ut){const Tt=!xe||xe==Io;ut.forEach(Nt=>{Nt.queued||!Tt&&Nt.triggerName!=he||et.push(Nt)})}}return(V||he)&&(et=et.filter(ut=>!(V&&V!=ut.namespaceId||he&&he!=ut.triggerName))),et}_beforeAnimationBuild(_,S,V){const xe=S.element,et=S.isRemovalTransition?void 0:_,ut=S.isRemovalTransition?void 0:S.triggerName;for(const Tt of S.timelines){const Nt=Tt.element,An=Nt!==xe,$n=Pt(V,Nt,[]);this._getPreviousPlayers(Nt,An,et,ut,S.toState).forEach(Cr=>{const Hn=Cr.getRealPlayer();Hn.beforeDestroy&&Hn.beforeDestroy(),Cr.destroy(),$n.push(Cr)})}Xe(xe,S.fromStyles)}_buildAnimation(_,S,V,he,xe,et){const ut=S.triggerName,Tt=S.element,Nt=[],An=new Set,$n=new Set,Fr=S.timelines.map(Hn=>{const cr=Hn.element;An.add(cr);const gi=cr[Si];if(gi&&gi.removedBeforeQueried)return new G.sf(Hn.duration,Hn.delay);const Zi=cr!==Tt,so=function hs(_e){const _=[];return Wo(_e,_),_}((V.get(cr)||Ti).map(Gi=>Gi.getRealPlayer())).filter(Gi=>!!Gi.element&&Gi.element===cr),vo=xe.get(cr),Mi=et.get(cr),us=Mn(this._normalizer,Hn.keyframes,vo,Mi),Yo=this._buildPlayer(Hn,us,so);if(Hn.subTimeline&&he&&$n.add(cr),Zi){const Gi=new Ko(_,ut,cr);Gi.setRealPlayer(Yo),Nt.push(Gi)}return Yo});Nt.forEach(Hn=>{Pt(this.playersByQueriedElement,Hn.element,[]).push(Hn),Hn.onDone(()=>function Bo(_e,_,S){let V=_e.get(_);if(V){if(V.length){const he=V.indexOf(S);V.splice(he,1)}0==V.length&&_e.delete(_)}return V}(this.playersByQueriedElement,Hn.element,Hn))}),An.forEach(Hn=>oo(Hn,oi));const Cr=wn(Fr);return Cr.onDestroy(()=>{An.forEach(Hn=>ei(Hn,oi)),tt(Tt,S.toStyles)}),$n.forEach(Hn=>{Pt(he,Hn,[]).push(Cr)}),Cr}_buildPlayer(_,S,V){return S.length>0?this.driver.animate(_.element,S,_.duration,_.delay,_.easing,V):new G.sf(_.duration,_.delay)}}class Ko{constructor(_,S,V){this.namespaceId=_,this.triggerName=S,this.element=V,this._player=new G.sf,this._containsRealPlayer=!1,this._queuedCallbacks=new Map,this.destroyed=!1,this.parentPlayer=null,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(_){this._containsRealPlayer||(this._player=_,this._queuedCallbacks.forEach((S,V)=>{S.forEach(he=>pn(_,V,void 0,he))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(_.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(_){this.totalTime=_}syncPlayerEvents(_){const S=this._player;S.triggerCallback&&_.onStart(()=>S.triggerCallback("start")),_.onDone(()=>this.finish()),_.onDestroy(()=>this.destroy())}_queueEvent(_,S){Pt(this._queuedCallbacks,_,[]).push(S)}onDone(_){this.queued&&this._queueEvent("done",_),this._player.onDone(_)}onStart(_){this.queued&&this._queueEvent("start",_),this._player.onStart(_)}onDestroy(_){this.queued&&this._queueEvent("destroy",_),this._player.onDestroy(_)}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(_){this.queued||this._player.setPosition(_)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(_){const S=this._player;S.triggerCallback&&S.triggerCallback(_)}}function Yi(_e){return _e&&1===_e.nodeType}function io(_e,_){const S=_e.style.display;return _e.style.display=_??"none",S}function Rs(_e,_,S,V,he){const xe=[];S.forEach(Tt=>xe.push(io(Tt)));const et=[];V.forEach((Tt,Nt)=>{const An=new Map;Tt.forEach($n=>{const Fr=_.computeStyle(Nt,$n,he);An.set($n,Fr),(!Fr||0==Fr.length)&&(Nt[Si]=yi,et.push(Nt))}),_e.set(Nt,An)});let ut=0;return S.forEach(Tt=>io(Tt,xe[ut++])),et}function fo(_e,_){const S=new Map;if(_e.forEach(ut=>S.set(ut,[])),0==_.length)return S;const he=new Set(_),xe=new Map;function et(ut){if(!ut)return 1;let Tt=xe.get(ut);if(Tt)return Tt;const Nt=ut.parentNode;return Tt=S.has(Nt)?Nt:he.has(Nt)?1:et(Nt),xe.set(ut,Tt),Tt}return _.forEach(ut=>{const Tt=et(ut);1!==Tt&&S.get(Tt).push(ut)}),S}function oo(_e,_){_e.classList?.add(_)}function ei(_e,_){_e.classList?.remove(_)}function To(_e,_,S){wn(S).onDone(()=>_e.processLeaveNode(_))}function Wo(_e,_){for(let S=0;S<_e.length;S++){const V=_e[S];V instanceof G.ui?Wo(V.players,_):_.push(V)}}function zo(_e,_,S){const V=S.get(_e);if(!V)return!1;let he=_.get(_e);return he?V.forEach(xe=>he.add(xe)):_.set(_e,V),S.delete(_e),!0}class Ai{constructor(_,S,V,he){this._driver=S,this._normalizer=V,this._triggerCache={},this.onRemovalComplete=(xe,et)=>{},this._transitionEngine=new ss(_.body,S,V,he),this._timelineEngine=new di(_.body,S,V),this._transitionEngine.onRemovalComplete=(xe,et)=>this.onRemovalComplete(xe,et)}registerTrigger(_,S,V,he,xe){const et=_+"-"+he;let ut=this._triggerCache[et];if(!ut){const Tt=[],An=dt(this._driver,xe,Tt,[]);if(Tt.length)throw function me(_e,_){return new h.wOt(3404,!1)}();ut=function Fn(_e,_,S){return new Kn(_e,_,S)}(he,An,this._normalizer),this._triggerCache[et]=ut}this._transitionEngine.registerTrigger(S,he,ut)}register(_,S){this._transitionEngine.register(_,S)}destroy(_,S){this._transitionEngine.destroy(_,S)}onInsert(_,S,V,he){this._transitionEngine.insertNode(_,S,V,he)}onRemove(_,S,V){this._transitionEngine.removeNode(_,S,V)}disableAnimations(_,S){this._transitionEngine.markElementAsDisabled(_,S)}process(_,S,V,he){if("@"==V.charAt(0)){const[xe,et]=In(V);this._timelineEngine.command(xe,S,et,he)}else this._transitionEngine.trigger(_,S,V,he)}listen(_,S,V,he,xe){if("@"==V.charAt(0)){const[et,ut]=In(V);return this._timelineEngine.listen(et,S,ut,xe)}return this._transitionEngine.listen(_,S,V,he,xe)}flush(_=-1){this._transitionEngine.flush(_)}get players(){return[...this._transitionEngine.players,...this._timelineEngine.players]}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}afterFlushAnimationsDone(_){this._transitionEngine.afterFlushAnimationsDone(_)}}class Mo{constructor(_,S,V){this._element=_,this._startStyles=S,this._endStyles=V,this._state=0;let he=Mo.initialStylesByElement.get(_);he||Mo.initialStylesByElement.set(_,he=new Map),this._initialStyles=he}start(){this._state<1&&(this._startStyles&&tt(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(tt(this._element,this._initialStyles),this._endStyles&&(tt(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(Mo.initialStylesByElement.delete(this._element),this._startStyles&&(Xe(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(Xe(this._element,this._endStyles),this._endStyles=null),tt(this._element,this._initialStyles),this._state=3)}}function Hi(_e){let _=null;return _e.forEach((S,V)=>{(function mo(_e){return"display"===_e||"position"===_e})(V)&&(_=_||new Map,_.set(V,S))}),_}Mo.initialStylesByElement=new WeakMap;class Qi{constructor(_,S,V,he){this.element=_,this.keyframes=S,this.options=V,this._specialStyles=he,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this._originalOnDoneFns=[],this._originalOnStartFns=[],this.time=0,this.parentPlayer=null,this.currentSnapshot=new Map,this._duration=V.duration,this._delay=V.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(_=>_()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const _=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,_,this.options),this._finalKeyframe=_.length?_[_.length-1]:new Map;const S=()=>this._onFinish();this.domPlayer.addEventListener("finish",S),this.onDestroy(()=>{this.domPlayer.removeEventListener("finish",S)})}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(_){const S=[];return _.forEach(V=>{S.push(Object.fromEntries(V))}),S}_triggerWebAnimation(_,S,V){return _.animate(this._convertKeyframesToObject(S),V)}onStart(_){this._originalOnStartFns.push(_),this._onStartFns.push(_)}onDone(_){this._originalOnDoneFns.push(_),this._onDoneFns.push(_)}onDestroy(_){this._onDestroyFns.push(_)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(_=>_()),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()}pause(){this.init(),this.domPlayer.pause()}finish(){this.init(),this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish()}reset(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}_resetDomPlayerState(){this.domPlayer&&this.domPlayer.cancel()}restart(){this.reset(),this.play()}hasStarted(){return this._started}destroy(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(_=>_()),this._onDestroyFns=[])}setPosition(_){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=_*this.time}getPosition(){return+(this.domPlayer.currentTime??0)/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const _=new Map;this.hasStarted()&&this._finalKeyframe.forEach((V,he)=>{"offset"!==he&&_.set(he,this._finished?V:Ot(this.element,he))}),this.currentSnapshot=_}triggerCallback(_){const S="start"===_?this._onStartFns:this._onDoneFns;
1S.forEach(V=>V()),S.length=0}}class Vo{validateStyleProperty(_){return!0}validateAnimatableStyleProperty(_){return!0}matchesElement(_,S){return!1}containsElement(_,S){return lt(_,S)}getParentElement(_){return ur(_)}query(_,S,V){return Mt(_,S,V)}computeStyle(_,S,V){return Ot(_,S)}animate(_,S,V,he,xe,et=[]){const Tt={duration:V,delay:he,fill:0==he?"both":"forwards"};xe&&(Tt.easing=xe);const Nt=new Map,An=et.filter(Cr=>Cr instanceof Qi);(function _r(_e,_){return 0===_e||0===_})(V,he)&&An.forEach(Cr=>{Cr.currentSnapshot.forEach((Hn,cr)=>Nt.set(cr,Hn))});let $n=function Ue(_e){return _e.length?_e[0]instanceof Map?_e:_e.map(_=>new Map(Object.entries(_))):[]}(S).map(Cr=>new Map(Cr));$n=function Tn(_e,_,S){if(S.size&&_.length){let V=_[0],he=[];if(S.forEach((xe,et)=>{V.has(et)||he.push(et),V.set(et,xe)}),he.length)for(let xe=1;xe<_.length;xe++){let et=_[xe];he.forEach(ut=>et.set(ut,Ot(_e,ut)))}}return _}(_,$n,Nt);const Fr=function qs(_e,_){let S=null,V=null;return Array.isArray(_)&&_.length?(S=Hi(_[0]),_.length>1&&(V=Hi(_[_.length-1]))):_ instanceof Map&&(S=Hi(_)),S||V?new Mo(_e,S,V):null}(_,$n);return new Qi(_,$n,Tt,Fr)}}const hi="@.disabled";class qo{constructor(_,S,V,he){this.namespaceId=_,this.delegate=S,this.engine=V,this._onDestroy=he,this.\u0275type=0}get data(){return this.delegate.data}destroyNode(_){this.delegate.destroyNode?.(_)}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.engine.afterFlushAnimationsDone(()=>{queueMicrotask(()=>{this.delegate.destroy()})}),this._onDestroy?.()}createElement(_,S){return this.delegate.createElement(_,S)}createComment(_){return this.delegate.createComment(_)}createText(_){return this.delegate.createText(_)}appendChild(_,S){this.delegate.appendChild(_,S),this.engine.onInsert(this.namespaceId,S,_,!1)}insertBefore(_,S,V,he=!0){this.delegate.insertBefore(_,S,V),this.engine.onInsert(this.namespaceId,S,_,he)}removeChild(_,S,V){this.engine.onRemove(this.namespaceId,S,this.delegate)}selectRootElement(_,S){return this.delegate.selectRootElement(_,S)}parentNode(_){return this.delegate.parentNode(_)}nextSibling(_){return this.delegate.nextSibling(_)}setAttribute(_,S,V,he){this.delegate.setAttribute(_,S,V,he)}removeAttribute(_,S,V){this.delegate.removeAttribute(_,S,V)}addClass(_,S){this.delegate.addClass(_,S)}removeClass(_,S){this.delegate.removeClass(_,S)}setStyle(_,S,V,he){this.delegate.setStyle(_,S,V,he)}removeStyle(_,S,V){this.delegate.removeStyle(_,S,V)}setProperty(_,S,V){"@"==S.charAt(0)&&S==hi?this.disableAnimations(_,!!V):this.delegate.setProperty(_,S,V)}setValue(_,S){this.delegate.setValue(_,S)}listen(_,S,V){return this.delegate.listen(_,S,V)}disableAnimations(_,S){this.engine.disableAnimations(_,S)}}class pi extends qo{constructor(_,S,V,he,xe){super(S,V,he,xe),this.factory=_,this.namespaceId=S}setProperty(_,S,V){"@"==S.charAt(0)?"."==S.charAt(1)&&S==hi?this.disableAnimations(_,V=void 0===V||!!V):this.engine.process(this.namespaceId,_,S.slice(1),V):this.delegate.setProperty(_,S,V)}listen(_,S,V){if("@"==S.charAt(0)){const he=function Xo(_e){switch(_e){case"body":return document.body;case"document":return document;case"window":return window;default:return _e}}(_);let xe=S.slice(1),et="";return"@"!=xe.charAt(0)&&([xe,et]=function as(_e){const _=_e.indexOf(".");return[_e.substring(0,_),_e.slice(_+1)]}(xe)),this.engine.listen(this.namespaceId,he,xe,et,ut=>{this.factory.scheduleListenerCallback(ut._data||-1,V,ut)})}return this.delegate.listen(_,S,V)}}class qt{constructor(_,S,V){this.delegate=_,this.engine=S,this._zone=V,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,S.onRemovalComplete=(he,xe)=>{const et=xe?.parentNode(he);et&&xe.removeChild(et,he)}}createRenderer(_,S){const he=this.delegate.createRenderer(_,S);if(!_||!S?.data?.animation){const Nt=this._rendererCache;let An=Nt.get(he);return An||(An=new qo("",he,this.engine,()=>Nt.delete(he)),Nt.set(he,An)),An}const xe=S.id,et=S.id+"-"+this._currentId;this._currentId++,this.engine.register(et,_);const ut=Nt=>{Array.isArray(Nt)?Nt.forEach(ut):this.engine.registerTrigger(xe,et,_,Nt.name,Nt)};return S.data.animation.forEach(ut),new pi(this,et,he,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){queueMicrotask(()=>{this._microtaskId++})}scheduleListenerCallback(_,S,V){if(_>=0&&_<this._microtaskId)return void this._zone.run(()=>S(V));const he=this._animationCallbacksBuffer;0==he.length&&queueMicrotask(()=>{this._zone.run(()=>{he.forEach(xe=>{const[et,ut]=xe;et(ut)}),this._animationCallbacksBuffer=[]})}),he.push([S,V])}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()}}var Ji=v(316);const H=[{provide:zn,useFactory:function ps(){return new co}},{provide:Ai,useClass:(()=>{var _e;class _ extends Ai{constructor(V,he,xe){super(V,he,xe,(0,h.WQX)(h.An2,{optional:!0}))}ngOnDestroy(){this.flush()}}return(_e=_).\u0275fac=function(V){return new(V||_e)(h.KVO(Ji.qQ),h.KVO(Qn),h.KVO(zn))},_e.\u0275prov=h.jDH({token:_e,factory:_e.\u0275fac}),_})()},{provide:h._9s,useFactory:function z(_e,_,S){return new qt(_e,_,S)},deps:[c.B7,Ai,h.SKi]}],Te=[{provide:Qn,useFactory:()=>new Vo},{provide:h.bc$,useValue:"BrowserAnimations"},...H],Q=[{provide:Qn,useClass:En},{provide:h.bc$,useValue:"NoopAnimations"},...H];let Le=(()=>{var _e;class _{static withConfig(V){return{ngModule:_,providers:V.disableAnimations?Q:Te}}}return(_e=_).\u0275fac=function(V){return new(V||_e)},_e.\u0275mod=h.$C({type:_e}
1),_e.\u0275inj=h.G2t({providers:Te,imports:[c.Bb]}),_})();var w=v(2728),N=v(1434),U=v(8627),de=v(5443),Ne=v(3119),ze=v(6212);const Ke={apiKey:"d3ae477ba8f6f7a024788c373df9f0e02b59fab2",product:"PRO_MULTISITE",logConsent:!1,notifyOnce:!1,initialState:"NOTIFY",position:"RIGHT",theme:"DARK",layout:"SLIDEOUT",toggleType:"checkbox",acceptBehaviour:"all",closeOnGlobalChange:!0,iabCMP:!1,closeStyle:"icon",consentCookieExpiry:90,subDomains:!0,mode:"gdpr",rejectButton:!0,settingsStyle:"button",encodeCookie:!1,setInnerHTML:!0,accessibility:{accessKey:"C",highlightFocus:!1,outline:!0,overlay:!0},text:{title:"This site uses cookies",intro:"'Cookies' are small pieces of text we store on your device. We can't identify who you are by any of the cookies we collect. Cookies help Learn My Way to work and can improve your experience.",necessaryTitle:"Necessary cookies",necessaryDescription:"We use these necessary cookies to make Learn My Way work. These cookies are always stored.",thirdPartyTitle:"Warning: Some cookies require your attention",thirdPartyDescription:"Consent for the following cookies could not be automatically withdrawn. Please follow the link(s) below to opt out manually.",on:"On",off:"Off",accept:"Accept all cookies",settings:"I don't understand this",acceptRecommended:"Accept recommended settings",acceptSettings:"Accept all cookies",notifyTitle:"It's your choice whether you want 'cookies' to be stored",notifyDescription:"We use cookies to make Learn My Way work and give you the best possible experience.",closeLabel:"Close",cornerButton:"Set cookie preferences.",landmark:"Cookie preferences.",showVendors:"Show vendors within this category",thirdPartyCookies:"This vendor may set third party cookies.",readMore:"Read more",accessibilityAlert:"This site uses cookies to store information. Press accesskey C to learn more about your options.",rejectSettings:"Reject unnecessary cookies",reject:"Reject unnecessary cookies"},branding:{fontColor:"#fff",fontFamily:"Rubik,Helvetica Neue,Helvetica,Arial,sans-serif",fontSizeTitle:"1.4em",fontSizeHeaders:"1.2em",fontSize:"1em",backgroundColor:"#027DBB",toggleText:"#000000",toggleColor:"#000000",toggleBackgroun
1d:"#ffffff",alertText:"#fff",alertBackground:"#027DBB",acceptText:"#000000",acceptBackground:"#ffffff",rejectText:"#000000",rejectBackground:"#ffffff",closeText:"#ffffff",closeBackground:"#027DBB",notifyFontColor:"#FFF",notifyBackgroundColor:"#027DBB",buttonIcon:null,buttonIconWidth:"64px",buttonIconHeight:"64px",removeIcon:!1,removeAbout:!0},necessaryCookies:["CookieControl","CookieConsent"],optionalCookies:[{name:"analytics",label:"Optional cookies",description:"These optional cookies (known as 'analytics cookies') help us to improve everyone's experience. They provide us with information about how Learn My Way is being used.",cookies:["_ga","_gat","_gid"],onAccept:function(){window.gtag("consent","update",{analytics_storage:"granted"})},onRevoke:function(){window.gtag("consent","update",{analytics_storage:"denied"})},recommendedState:"off",lawfulBasis:"consent"}],sameSiteCookie:!0,sameSiteValue:"Strict",notifyDismissButton:!1};var ct=v(3889),kt=v(6016),At=v(5903),Zt=v(9916),cn=v(1836);function Dn(_e,_){if(1&_e){const S=h.RV6();h.j41(0,"div",3),h.bIt("click",function(){h.eBV(S);const he=h.XpG(2);return h.Njj(he.onCloseErrorPopup())}),h.k0s()}}function qn(_e,_){if(1&_e){const S=h.RV6();h.j41(0,"div"),h.DNE(1,Dn,1,0,"div",1),h.j41(2,"mono-common-help-popup",2),h.bIt("removeHelpMessage",function(){h.eBV(S);const he=h.XpG();return h.Njj(he.onCloseErrorPopup())}),h.k0s()()}if(2&_e){const S=h.XpG();h.R7$(),h.Y8G("ngIf",S.showOverlay()),h.R7$(),h.Y8G("title",S.title())("message",S.description())("open",S.isOpen())("enableAnimations",!0)("shadow",!0)}}let Vn=(()=>{var _e;class _{constructor(){this.title=h.hFB.required(),this.description=h.hFB.required(),this.isOpen=h.hFB.required(),this.showOverlay=(0,h.hFB)(!1),this.closePopup=new h.bkB}onCloseErrorPopup(){this.closePopup.emit()}}return(_e=_).\u0275fac=function(V){return new(V||_e)},_e.\u0275cmp=h.VBU({type:_e,selectors:[["error-global-error-popup"]],inputs:{title:[h.Mj6.SignalBased,"title"],description:[h.Mj6.SignalBased,"description"],isOpen:[h.Mj6.SignalBased,"isOpen"],showOverlay:[h.Mj6.SignalBased,"showOverlay"]},outputs:{closePopup:"closePopup"},decls:1,vars:1,consts:[[4,"ngIf"],["class","reveal-overlay reveal-overlay--modal-confirmation","aria-hidden","true",3,"click",4,"ngIf"],[1,"global-error-popup",3,"removeHelpMessage","title","message","open","enableAnimations","shadow"],["aria-hidden","true",1,"reveal-overlay","reveal-overlay--modal-confirmation",3,"click"]],template:function(V,he){1&V&&h.DNE(0,qn,3,6,"div",0),2&V&&h.Y8G("ngIf",he.isOpen())},dependencies:[Ji.bT,cn.T],encapsulation:2}),_})();const ar=["contentSkip"];function Pr(_e,_){if(1&_e){const S=h.RV6();h.j41(0,"error-global-error-popup",6),h.nI1(1,"async"),h.bIt("closePopup",function(){h.eBV(S);const he=h.XpG();return h.Njj(he.closeErrorPopup())}),h.k0s()}if(2&_e){const S=h.XpG();h.Y8G("title",null==S.cms?null:S.cms.data.attributes.title)("description",null==S.cms?null:S.cms.data.attributes.description)("isOpen",h.bMT(1,3,S.errorPopupIsOpen$))}}let Yr=(()=>{var _e;class _{constructor(V,he,xe,et,ut,Tt,Nt){this.AwsAuthService=V,this.router=he,this.activatedRoute=xe,this.titleService=et,this.strapiService=ut,this.store=Tt,this.cookieService=Nt,this.userLoggedIn=!1,this.userInactivityObservable=new Ne.B7}ngOnInit(){this.getCurrentLinkWithoutAnchors(),this.setRouteTitle(),this.userInactivityObservable.subscribe(()=>{this.userLoggedIn&&this.AwsAuthService.logout().then(()=>{this.userLoggedIn=!1,window.location.href="/"})}),this.strapiService.get("errors/generic-popup").subscribe(V=>{this.cms=V}),this.errorPopupIsOpen$=this.store.select(At.CG),ct.c.enableAnalytics&&this.cookieService.loadCookieControlScript(Ke)}getCurrentLinkWithoutAnchors(){this.navigationSubscription=this.router.events.pipe((0,U.p)(V=>V instanceof w.wF)).subscribe(V=>{V.url.includes("#")||(this.skipToContentLink=V.url.split("#")[0],this.contentSkip.nativeElement.focus()),this.checkIfUserIsLoggedIn()})}setRouteTitle(){const V=this.titleService.getTitle();this.router.events.pipe((0,U.p)(he=>he instanceof w.wF),(0,de.T)(()=>this.createRouteTitle(V))).subscribe(he=>{this.titleService.setTitle(he)})}createRouteTitle(V){let he=this.activatedRoute.firstChild;for(;he.firstChild;)he=he.firstChild;return he.snapshot.data.title?he.snapshot.data.title:V}checkIfUserIsLoggedIn(){this.AwsAuthService.isUserLoggedIn().then(V=>{this.userLoggedIn=V,V&&(this.idleTimer=new ze.gt({timeoutInSeconds:3600,onT
1imeout:()=>{this.userInactivityObservable.next(),this.idleTimer.cleanUp()}}))})}ngOnDestroy(){this.navigationSubscription&&this.navigationSubscription.unsubscribe()}closeErrorPopup(){this.store.dispatch((0,At.cX)())}}return(_e=_).\u0275fac=function(V){return new(V||_e)(h.rXU(N.$u),h.rXU(w.Ix),h.rXU(w.nX),h.rXU(c.hE),h.rXU(kt.dr),h.rXU(Zt.il),h.rXU(ze.P4))},_e.\u0275cmp=h.VBU({type:_e,selectors:[["nx-root"]],viewQuery:function(V,he){if(1&V&&h.GBs(ar,7),2&V){let xe;h.mGM(xe=h.lsd())&&(he.contentSkip=xe.first)}},decls:9,vars:2,consts:[["contentSkip",""],["tabindex","-1",1,"grid-container","grid-container--skip-to-content","show-for-xlarge"],[1,"button","button--icon-on-right","button--skip-to-content",3,"href"],["viewBox","0 0 24 24",1,"icon","icon--arrow-down",2,"width","20px","height","20px"],[0,"xlink","href","#icon-arrow-down","href","#icon-arrow-down"],[3,"title","description","isOpen","closePopup",4,"ngIf"],[3,"closePopup","title","description","isOpen"]],template:function(V,he){1&V&&(h.j41(0,"div",1,0)(2,"a",2)(3,"span"),h.EFF(4,"Skip to main content"),h.k0s(),h.qSk(),h.j41(5,"svg",3),h.nrm(6,"use",4),h.k0s()()(),h.joV(),h.nrm(7,"router-outlet"),h.DNE(8,Pr,2,5,"error-global-error-popup",5)),2&V&&(h.R7$(2),h.Y8G("href",he.skipToContentLink+"#content",h.B4B),h.R7$(6),h.Y8G("ngIf",he.cms))},dependencies:[Ji.bT,Vn,w.n3,Ji.Jj]}),_})();var ci=v(8824);let Wn=(()=>{var _e;class _{constructor(){}ngOnInit(){}}return(_e=_).\u0275fac=function(V){return new(V||_e)},_e.\u0275cmp=h.VBU({type:_e,selectors:[["nx-learn-my-way-svg-sprite"]],decls:151,vars:0,consts:[[1,"unit-player__content",2,"margin-top","0"],[1,"grid-container"],[1,"grid-x"],[1,"cell"],["viewBox","0 0 36 36",1,"icon","icon--exit",2,"width","36px","height","36px"],[0,"xlink","href","#icon-exit","href","#icon-exit"],["viewBox","0 0 34 34",1,"icon","icon--cog",2,"width","34px","height","34px"],[0,"xlink","href","#icon-cog","href","#icon-cog"],["viewBox","0 0 24 24",1,"icon","icon--help",2,"width","24px","height","24px"],[0,"xlink","href","#icon-help","href","#icon-help"],["viewBox","0 0 36 36",1,"icon","icon--audio-muted",2,"width","36px","height","36px"],[0,"xlink","href","#icon-audio-muted","href","#icon-audio-muted"],["viewBox","0 0 36 36",1,"icon","icon--audio-on",2,"width","36px","height","36px"],[0,"xlink","href","#icon-audio-on","href","#icon-audio-on"],["viewBox","0 0 36 36",1,"icon","icon--text-size",2,"width","36px","height","36px"],[0,"xlink","href","#icon-text-size","href","#icon-text-size"],["viewBox","0 0 30 30",1,"icon","icon--info-circle",2,"width","30px","height","30px"],[0,"xlink","href","#icon-info-circle","href","#icon-info-circle"],["viewBox","0 0 30 30",1,"icon","icon--speech-bubbles",2,"width","30px","height","30px"],[0,"xlink","href","#icon-speech-bubbles","href","#icon-speech-bubbles"],["viewBox","0 0 24 24",1,"icon","icon--arrow-left",2,"width","24px","height","24px"],[0,"xlink","href","#icon-arrow-left","href","#icon-arrow-left"],["viewBox","0 0 24 24",1,"icon","icon--arrow-right",2,"width","24px","height","24px"],[0,"xlink","href","#icon-arrow-right","href","#icon-arrow-right"],["viewBox","0 0 24 24",1,"icon","icon--arrow-down",2,"width","24px","height","24px"],[0,"xlink","href","#icon-arrow-down","href","#icon-arrow-down"],["viewBox","0 0 24 24",1,"icon","icon--restart",2,"width","24px","height","24px"],[0,"xlink","href","#icon-restart","href","#icon-restart"],["viewBox","0 0 24 24",1,"icon","icon--checkmark",2,"width","24px","height","24px"],[0,"xlink","href","#icon-checkmark","href","#icon-checkmark"],["viewBox","0 0 24 24",1,"icon","icon--show-password",2,"width","24px","height","24px"],[0,"xlink","href","#icon-show-password","href","#icon-show-password"],["viewBox","0 0 24 24",1,"icon","icon--hide-password",2,"width","24px","height","24px"],[0,"xlink","href","#icon-hide-password","href","#icon-hide-password"],["viewBox","0 0 30 30",1,"icon","icon--user",2,"width","30px","height","30px"],[0,"xlink","href","#icon-user","href","#icon-user"],["viewBox","0 0 36 36",1,"icon","icon--chevron-up",2,"width","36px","height","36px"],[0,"xlink","href","#icon-chevron-up","href","#icon-chevron-up"],["viewBox","0 0 36 36",1,"icon","icon--chevron-down",2,"width","36px","height","36px"],[0,"xlink","href","#icon-chevron-down","href","#icon-chevron-down"],["viewBox","0 0 24 24",1,"icon","icon--register",2,"width","24px","height","24px"],[0,"xlink","href","#icon-register","href","#icon-register"],["viewBox","0 0 24 24",1,"icon","icon--email",2,"width","24px","height","24px"],[0,"xlink","href","#icon-email","href","#icon-email"],["xmlns","http://www.w3.org/2000/svg","viewBox","0 0 100 100","preserveAspectRatio","xMidYMid","display","block",2,"width","48px","height","48px"],["x","48.5","y","23.5","rx","1.5","ry","2.21","width","3","height","13","fill","#000"],["attributeName","opacity","values","1;0","keyTimes","0;1","dur","1s","begin","-0.9375s","repeatCount","indefinite"],["x","48.5","y","23.5","rx","1.5","ry","2.21","width","3","height","13","fill","#000","transform","rotate(22.5 50 50)"],["attributeName","opacity","values","1;0","keyTimes","0;1","dur","1s","begin","-0.875s","repeatCount","indefinite"],["x","48.5","y","23.5","rx","1.5","ry","2.21","width","3","height","13","fill","#000","transform","rotate(45 50 50)"],["attributeName","opacity","values","1;0","keyTimes","0;1","dur","1s","begin","-0.8125s","repeatCount","indefinite"],["x","48.5","y","23.5","rx","1.5","ry","2.21","width","3","height","13","fill","#000","transform","rotate(67.5 50 50)"],["attributeName","opacity","values","1;0","keyTimes","0;1","dur","1s","begin","-0.75s","repeatCount","indefinite"],["x","48.5","y","23.5","rx","1.5","ry","2.21","width","3","height","13","fill","#000","transform","rotate(90 50 50)"],["attributeName","opacity","values","1;0","keyTimes","0;1","dur","1s","begin","-0.6875s","repeatCount","indefinite"],["x","48.5","y","23.5","rx","1.5","ry","2.21","width","3","height","13","fill","#000","transform","rotate(112.5 50 50)"],["attributeName","opacity","values","1;0","keyTimes","0;1","dur","1s","begin","-0.625s","repeatCount","indefinite"],["x","48.5","y","23.5","rx","1.5","ry","2.21","width","3","height","13","fill","#000","transform","rotate(135 50 50)"],["attributeName","opacity","values","1;0","keyTimes","0;1","dur","1s","begin","-0.5625s","repeatCount","indefinite"],["x","48.5","y","23.5","rx","1.5","ry","2.21","width","3","height","13","fill","#000","transform","rotate(157.5 50 50)"],["attributeName","opacity","values","1;0","keyTimes","0;1","dur","1s","begin","-0.5s","repeatCount","indefinite"],["x","48.5","y","23.5","rx","1.5","ry","2.21","width","3","height","13","fill","#000","transform","rotate(180 50 50)"],["attributeName","opacity","values","1;0","keyTimes","0;1","dur","1s","begin","-0.4375s","repeatCount","indefinite"],["x","48.5","y","23.5","rx","1.5","ry","2.21","width","3","height","13","fill","#000","transform","rotate(202.5 50 50)"],["attributeName","opacity","values","1;0","keyTimes","0;1","dur","1s","begin","-0.375s","repeatCount","indefinite"],["x","48.5","y","23.5","rx","1.5","ry","2.21","width","3","height","13","fill","#000","transform","rotate(225 50 50)"],["attributeName","opacity","values","1;0","keyTimes","0;1","dur","1s","begin","-0.3125s","repeatCount","indefinite"],["x","48.5","y","23.5","rx","1.5","ry","2.21","width","3","height","13","fill","#000","transform","rotate(247.5 50 50)"],["attributeName","opacity","values","1;0","keyTimes","0;1","dur","1s","begin","-0.25s","repeatCount","indefinite"],["x","48.5","y","23.5","rx","1.5","ry","2.21","width","3","height","13","fill","#000","transform","rotate(270 50 50)"],["attributeName","opacity","values","1;0","keyTimes","0;1","dur","1s","begin","-0.1875s","repeatCount","indefinite"],["x","48.5","y","23.5","rx","1.5","ry","2.21","width","3","height","13","fill","#000","transform","rotate(292.5 50 50)"],["attributeName","opacity","values","1;0","keyTimes","0;1","dur","1s","begin","-0.125s","repeatCount","indefinite"],["x","48.5","y","23.5","rx","1.5","ry","2.21","width","3","height","13","fill","#000","transform","rotate(315 50 50)"],["attributeName","opacity","values","1;0","keyTimes","0;1","dur","1s","begin","-0.0625s","repeatCount","indefinite"],["x","48.5","y","23.5","rx","1.5","ry","2.21","width","3","height","13","fill","#000","transform","rotate(337.5 50 50)"],["attributeName","opacity","values","1;0","keyTimes","0;1","dur","1s","begin","0s","repeatCount","indefinite"],[1,"no-bullet"],["viewBox","0 0 24 24",1,"icon","icon--sign-in",2,"width","24px","height","24px"],[0,"xlink","href","#icon-sign-in","href","#icon-sign-in"],["viewBox","0 0 24 24",1,"icon","icon--search",2,"width","1.875rem","height","1.875rem"],[0,"xlink","href","#icon-search","href","#icon-search"],["viewBox","0 0 24 24",1,"icon","icon--hamburger",2,"width","48px","height","48px"],[0,"xlink","href","#icon-hamburger","href","#icon-hamburger"],["viewBox","0 0 24 24",1,"icon","icon--chevron-right",2,"width","36px","height","36px"],[0,"xlink","href","#icon-chevron-right","href","#icon-chevron-right"]],template:function(V,he){1&V&&(h.j41(0,"main",0)(1,"div",1)(2,"div",2)(3,"div",3)(4,"h1"),h.EFF(5,"Icons pulled from a sprite for Learn My Way"),h.k0s(),h.j41(6,"h2"),h.EFF(7," Unit Player icons "),h.k0s(),h.j41(8,"ul")(9,"li"),h.EFF(10," Exit x "),h.nrm(11,"br"),h.qSk(),h.j41(12,"svg",4),h.nrm(13,"use",5),h.k0s()(),h.joV(),h.j41(14,"li"),h.EFF(15," Cog "),h.nrm(16,"br"),h.qSk(),h.j41(17,"svg",6),h.nrm(18,"use",7),h.k0s()(),h.joV(),h.j41(19,"li"),h.EFF(20," Help (this doesn't have a circle around it as it is used differently in different places)"),h.nrm(21,"br"),h.qSk(),h.j41(22,"svg",8),h.nrm(23,"use",9),h.k0s()(),h.joV(),h.j41(24,"li"),h.EFF(25," Audio on and off "),h.nrm(26,"br"),h.qSk(),h.j41(27,"svg",10),h.nrm(28,"use",11),h.k0s(),h.joV(),h.nrm(29,"br"),h.qSk(),h.j41(30,"svg",12),h.nrm(31,"use",13),h.k0s()(),h.joV(),h.j41(32,"li"),h.EFF(33," T for text sizing (will be decreased/enlarged as necessary through CSS)"),h.nrm(34,"br"),h.qSk(),h.j41(35,"svg",14),h.nrm(36,"use",15),h.k0s()(),h.joV(),h.j41(37,"li"),h.EFF(38," Info circle (again differing sizes dealt with through CSS - this has a circle around it as it's only ever displayed like this)"),h.nrm(39,"br"),h.qSk(),h.j41(40,"svg",16),h.nrm(41,"use",17),h.k0s()(),h.joV(),h.j41(42,"li"),h.EFF(43," Contact someone (two speech bubbles)"),h.nrm(44,"br"),h.qSk(),h.j41(45,"svg",18),h.nrm(46,"use",19),h.k0s()(),h.joV(),h.j41(47,"li"),h.EFF(48," Left, right and down arrows"),h.nrm(49,"br"),h.qSk(),h.j41(50,"svg",20),h.nrm(51,"use",21),h.k0s(),h.j41(52,"svg",22),h.nrm(53,"use",23),h.k0s(),h.j41(54,"svg",24),h.nrm(55,"use",25),h.k0s()(),h.joV(),h.j41(56,"li"),h.EFF(57," Restart"),h.nrm(58,"br"),h.qSk(),h.j41(59,"svg",26),h.nrm(60,"use",27),h.k0s()(),h.joV(),h.j41(61,"li"),h.EFF(62," Checkmark"),h.nrm(63,"br"),h.qSk(),h.j41(64,"svg",28),h.nrm(65,"use",29),h.k0s()()(),h.joV(),h.j41(66,"h2"),h.EFF(67," Registration icons "),h.k0s(),h.j41(68,"ul")(69,"li"),h.EFF(70," Show/hide password "),h.qSk(),h.j41(71,"svg",30),h.nrm(72,"use",31),h.k0s(),h.joV(),h.nrm(73,"br"),h.qSk(),h.j41(74,"svg",32),h.nrm(75,"use",33),h.k0s()(),h.joV(),h.j41(76,"li"),h.EFF(77," User "),h.qSk(),h.j41(78,"svg",34),h.nrm(79,"use",35),h.k0s()(),h.joV(),h.j41(80,"li"),h.EFF(81," Chevrons "),h.qSk(),h.j41(82,"svg",36),h.nrm(83,"use",37),h.k0s(),h.j41(84,"svg",38),h.nrm(85,"use",39),h.k0s()()(),h.joV(),h.j41(86,"h2"),h.EFF(87," Sign-in icons "),h.k0s(),h.j41(88,"ul")(89,"li"),h.EFF(90," Register "),h.qSk(),h.j41(91,"svg",40),h.nrm(92,"use",41),h.k0s()(),h.joV(),h.j41(93,"li"),h.EFF(94," Email "),h.qSk(),h.j41(95,"svg",42),h.nrm(96,"use",43),h.k0s()(),h.joV(),h.j41(97,"li"),h.EFF(98," Loading spinner "),h.qSk(),h.j41(99,"svg",44)(100,"rect",45),h.nrm(101,"animate",46),h.k0s(),h.j41(102,"rect",47),h.nrm(103,"animate",48),h.k0s(),h.j41(104,"rect",49),h.nrm(105,"animate",50),h.k0s(),h.j41(106,"rect",51),h.nrm(107,"animate",52),h.k0s(),h.j41(108,"rect",53),h.nrm(109,"animate",54),h.k0s(),h.j41(110,"rect",55),h.nrm(111,"animate",56),h.k0s(),h.j41(112,"rect",57),h.nrm(113,"animate",58),h.k0s(),h.j41(114,"rect",59),h.nrm(115,"animate",60),h.k0s(),h.j41(116,"rect",61),h.nrm(117,"animate",62),h.k0s(),h.j41(118,"rect",63),h.nrm(119,"animate",64),h.k0s(),h.j41(120,"rect",65),h.nrm(121,"animate",66),h.k0s(),h.j41(122,"rect",67),h.nrm(123,"animate",68),h.k0s(),h.j41(124,"rect",69),h.nrm(125,"animate",70),h.k0s(),h.j41(126,"rect",71),h.nrm(127,"animate",72),h.k0s(),h.j41(128,"rect",73),h.nrm(129,"animate",74),h.k0s(),h.j41(130,"rect",75),h.nrm(131,"animate",76),h.k0s()()()(),h.joV(),h.j41(132,"h2"),h.EFF(133,"Website-specific icons"),h.k0s(),h.j41(134,"ul",77)(135,"li"),h.EFF(136," Sign-in "),h.qSk(),h.j41(137,"svg",78),h.nrm(138,"use",79),h.k0s()(),h.joV(),h.j41(139,"li"),h.EFF(140," Search "),h.qSk(),h.j41(141,"svg",80),h.nrm(142,"use",81),h.k0s()(),h.joV(),h.j41(143,"li"),h.EFF(144," Hamburger mobile nav "),h.qSk(),h.j41(145,"svg",82),h.nrm(146,"use",83),h.k0s()(),h.joV(),h.j41(147,"li"),h.EFF(148," Chevron right "),h.qSk(),h.j41(149,"svg",84),h.nrm(150,"use",85),h.k0s()()()()()()())}}),_})();var vr=v(6551),ri=v(3917),Di=v(1713),$i=v(1501),gs=v(5631),Oo=v(5946),jo=v(9204);let ws=(()=>{var _e;class _{constructor(V){this.AwsAuthService=V}autoUserCheck(){var V=this;return(0,jo.A)(function*(){try{(yield V.AwsAuthService.getCurrentUserClaims()).user.apps.lmw||(yield V.AwsAuthService.logout())}catch{}})()}}return(_e=_).\u0275fac=function(V){return new(V||_e)(h.KVO(N.$u))},_e.\u0275prov=h.jDH({token:_e,factory:_e.\u0275fac,providedIn:"root"}),_})();var Ss=v(3321);const ts=[{path:gs.kM.path,loadChildren:()=>Promise.all([v.e(273),v.e(925),v.e(76),v.e(517)]).then(v.bind(v,1517)).then(_e=>_e.TopicPlayerModule)},ct.c.loadAuth?{path:$i.D.path,loadChildren:()=>Promise.all([v.e(925),v.e(76),v.e(463)]).then(v.bind(v,3463)).then(_e=>_e.LmwAuthModule)}:null,{path:"svg-sprite",component:Wn},{path:Oo.c.lazyLoadedPath,loadChildren:()=>Promise.all([v.e(273),v.e(356),v.e(240),v.e(76),v.e(653)]).then(v.bind(v,2653)).then(_e=>_e.LmwBaseModule)}
1].filter(Boolean);let ms=(()=>{var _e;class _{}return(_e=_).\u0275fac=function(V){return new(V||_e)},_e.\u0275mod=h.$C({type:_e,bootstrap:[Yr]}),_e.\u0275inj=h.G2t({providers:[{provide:vr.SZ,useValue:ct.c},{provide:h.xe9,useValue:ct.c.localeId},{provide:Di.T,useValue:ct.c.countryCode},{provide:ri.Z,useValue:{applicationName:ct.c.applicationName,appVersion:ct.c.appVersion,langLocale:ct.c.localeId,language:ct.c.language,privacyLinkPath:Oo.c.privacyStatePath,termsAndConditionsLinkPath:Oo.c.termsAndConditionsStatePath}},{provide:At.E3,useValue:{applicationName:ct.c.applicationName}},{provide:kt.Hb,useValue:{strapiBaseUrl:ct.c.strapiBaseUrl,strapiApiUrl:ct.c.strapiApiUrl}},{provide:ze.Sy,useValue:{apiUrl:ct.c.textToSpeechUrl}},{provide:h.hnV,useFactory:(S,V)=>()=>{S.autoUserCheck(),V.get("errors/generic-popup").toPromise()},deps:[ws,kt.dr],multi:!0},{provide:h.hnV,useFactory:S=>()=>{ct.c.enableAnalytics&&ct.c.ga_measurement_id&&S.loadGoogleAnalytics(ct.c.ga_measurement_id)},deps:[ze.p],multi:!0},{provide:h.hnV,useFactory:At.H,deps:[At.P0],multi:!0},{provide:ci.a7,useClass:At.zw,deps:[At.Ln],multi:!0},{provide:h.hnV,useFactory:S=>()=>{ct.c.tts&&(S.setVoice(ct.c.tts.voice),S.setVoiceSpeed(ct.c.tts.voiceSpeed))},deps:[ze.qM],multi:!0}],imports:[c.Bb,ci.q1,c.Bb,At.rp,Le,Zt.md.forRoot({}),Ss.Vm.forRoot(),w.iI.forRoot(ts,{initialNavigation:"enabledBlocking",scrollPositionRestoration:"top",anchorScrolling:"enabled",onSameUrlNavigation:"reload"})]}),_})();var xs=v(291);try{xs.H.configure(ct.c.amplify)}catch(_e){console.error(_e)}ct.c.production&&(0,h.SmG)(),c.sG().bootstrapModule(ms).then(()=>console.log(`Loading hotfix/TP-621-upgrade-nx-v-17 for the ${ct.c.current} environment...`)).catch(_e=>console.error(_e))},6551:(Qe,ge,v)=>{"use strict";v.d(ge,{SZ:()=>h,Un:()=>Gd});var c={};v.r(c),v.d(c,{hasBrowserEnv:()=>Lu,hasStandardBrowserEnv:()=>Sd,hasStandardBrowserWebWorkerEnv:()=>Cd,navigator:()=>rl,origin:()=>du});class h{}var G=v(9204),j=function(s,o){return(j=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(u,l){u.__proto__=l}||function(u,l){for(var f in l)l.hasOwnProperty(f)&&(u[f]=l[f])})(s,o)},P=function(){return P=Object.assign||function(o){for(var u,l=1,f=arguments.length;l<f;l++)for(var p in u=arguments[l])Object.prototype.hasOwnProperty.call(u,p)&&(o[p]=u[p]);return o},P.apply(this,arguments)};var Ie=v(6606),We=v(291),Yt=function(){return Yt=Object.assign||function(o){for(var u,l=1,f=arguments.length;l<f;l++)for(var p in u=arguments[l])Object.prototype.hasOwnProperty.call(u,p)&&(o[p]=u[p]);return o},Yt.apply(this,arguments)};function Xt(s,o,u,l){return new(u||(u=Promise))(function(p,M){function ie(qe){try{ve(l.next(qe))}catch(gt){M(gt)}}function Ce(qe){try{ve(l.throw(qe))}catch(gt){M(gt)}}function ve(qe){qe.done?p(qe.value):function f(p){return p instanceof u?p:new u(function(M){M(p)})}(qe.value).then(ie,Ce)}ve((l=l.apply(s,o||[])).next())})}function rn(s,o){var l,f,p,M,u={label:0,sent:function(){if(1&p[0])throw p[1];return p[1]},trys:[],ops:[]};return M={next:ie(0),throw:ie(1),return:ie(2)},"function"==typeof Symbol&&(M[Symbol.iterator]=function(){return this}),M;function ie(ve){return function(qe){return function Ce(ve){if(l)throw new TypeError("Generator is already executing.");for(;u;)try{if(l=1,f&&(p=2&ve[0]?f.return:ve[0]?f.throw||((p=f.return)&&p.call(f),0):f.next)&&!(p=p.call(f,ve[1])).done)return p;switch(f=0,p&&(ve=[2&ve[0],p.value]),ve[0]){case 0:case 1:p=ve;break;case 4:return u.label++,{value:ve[1],done:!1};case 5:u.label++,f=ve[1],ve=[0];continue;case 7:ve=u.ops.pop(),u.trys.pop();continue;default:if(!(p=(p=u.trys).length>0&&p[p.length-1])&&(6===ve[0]||2===ve[0])){u=0;continue}if(3===ve[0]&&(!p||ve[1]>p[0]&&ve[1]<p[3])){u.label=ve[1];break}if(6===ve[0]&&u.label<p[1]){u.label=p[1],p=ve;break}if(p&&u.label<p[2]){u.label=p[2],u.ops.push(ve);break}p[2]&&u.ops.pop(),u.trys.pop();continue}ve=o.call(s,u)}catch(qe){ve=[6,qe],f=0}finally{l=p=0}if(5&ve[0])throw ve[1];return{value:ve[0]?ve[1]:void 0,done:!0}}([ve,qe])}}}function dn(s,o){var u="function"==typeof Symbol&&s[Symbol.iterator];if(!u)return s;var f,M,l=u.call(s),p=[];try{for(;(void 0===o||o-- >0)&&!(f=l.next()).done;)p.push(f.value)}catch(ie){M={error:ie}}finally{try{f&&!f.done&&(u=l.return)&&u.call(l)}
1finally{if(M)throw M.error}}return p}function zt(s){return(zt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(u){return typeof u}:function(u){return u&&"function"==typeof Symbol&&u.constructor===Symbol&&u!==Symbol.prototype?"symbol":typeof u})(s)}"function"==typeof Symbol&&null!=Symbol.iterator&&Symbol,"function"==typeof Symbol&&null!=Symbol.asyncIterator&&Symbol;var Ve="function"==typeof Symbol&&null!=Symbol.toStringTag?Symbol.toStringTag:"@@toStringTag";function lt(s,o){for(var p,u=/\r\n|[\n\r]/g,l=1,f=o+1;(p=u.exec(s.body))&&p.index<o;)l+=1,f=o+1-(p.index+p[0].length);return{line:l,column:f}}function Mt(s){return Dt(s.source,lt(s.source,s.start))}function Dt(s,o){var u=s.locationOffset.column-1,l=Qn(u)+s.body,f=o.line-1,M=o.line+(s.locationOffset.line-1),Ce=o.column+(1===o.line?u:0),ve="".concat(s.name,":").concat(M,":").concat(Ce,"\n"),qe=l.split(/\r\n|[\n\r]/g),gt=qe[f];if(gt.length>120){for(var vt=Math.floor(Ce/80),Lt=Ce%80,Ft=[],sn=0;sn<gt.length;sn+=80)Ft.push(gt.slice(sn,sn+80));return ve+En([["".concat(M),Ft[0]]].concat(Ft.slice(1,vt+1).map(function(un){return["",un]}),[[" ",Qn(Lt-1)+"^"],["",Ft[vt+1]]]))}return ve+En([["".concat(M-1),qe[f-1]],["".concat(M),gt],["",Qn(Ce-1)+"^"],["".concat(M+1),qe[f+1]]])}function En(s){var o=s.filter(function(l){return void 0!==l[1]}),u=Math.max.apply(Math,o.map(function(l){return l[0].length}));return o.map(function(l){var p=l[1];return function zn(s,o){return Qn(s-o.length)+o}(u,l[0])+(p?" | "+p:" |")}).join("\n")}function Qn(s){return Array(s+1).join(" ")}function kn(s){return(kn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(u){return typeof u}:function(u){return u&&"function"==typeof Symbol&&u.constructor===Symbol&&u!==Symbol.prototype?"symbol":typeof u})(s)}function fn(s,o){var u=Object.keys(s);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(s);o&&(l=l.filter(function(f){return Object.getOwnPropertyDescriptor(s,f).enumerable})),u.push.apply(u,l)}return u}function zr(s,o,u){return o in s?Object.defineProperty(s,o,{value:u,enumerable:!0,configurable:!0,writable:!0}):s[o]=u,s}function Br(s,o){for(var u=0;u<o.length;u++){var l=o[u];l.enumerable=l.enumerable||!1,l.configurable=!0,"value"in l&&(l.writable=!0),Object.defineProperty(s,l.key,l)}}function or(s,o){return!o||"object"!==kn(o)&&"function"!=typeof o?Dr(s):o}function Dr(s){if(void 0===s)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return s}function Ei(s){var o="function"==typeof Map?new Map:void 0;return Ei=function(l){if(null===l||!function Ue(s){return-1!==Function.toString.call(s).indexOf("[native code]")}(l))return l;if("function"!=typeof l)throw new TypeError("Super expression must either be null or a function");if(typeof o<"u"){if(o.has(l))return o.get(l);o.set(l,f)}function f(){return Et(l,arguments,tt(this).constructor)}return f.prototype=Object.create(l.prototype,{constructor:{value:f,enumerable:!1,writable:!0,configurable:!0}}),Oe(f,l)},Ei(s)}function Et(s,o,u){return(Et=It()?Reflect.construct:function(f,p,M){var ie=[null];ie.push.apply(ie,p);var ve=new(Function.bind.apply(f,ie));return M&&Oe(ve,M.prototype),ve}).apply(null,arguments)}function It(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}function Oe(s,o){return(Oe=Object.setPrototypeOf||function(l,f){return l.__proto__=f,l})(s,o)}function tt(s){return(tt=Object.setPrototypeOf?Object.getPrototypeOf:function(u){return u.__proto__||Object.getPrototypeOf(u)})(s)}var Xe=function(s){!function jn(s,o){if("function"!=typeof o&&null!==o)throw new TypeError("Super expression must either be null or a function");s.prototype=Object.create(o&&o.prototype,{constructor:{value:s,writable:!0,configurable:!0}}),o&&Oe(s,o)}(u,s);var o=function oi(s){var o=It();return function(){var f,l=tt(s);if(o){var p=tt(this).constructor;f=Reflect.construct(l,arguments,p)}else f=l.apply(this,arguments);return or(this,f)}}(u);function u(l,f,p,M,ie,Ce,ve){var qe,gt,vt,Lt;(function mn(s,o){if(!(s instanceof o))throw new TypeError("Cannot call a class as a function")})(this,u),(Lt=o.call(this,l)).name="GraphQLError",Lt.originalError=Ce??void 0,Lt.nodes=ft(Array.isArray(f)?f:f?[f]:void 0);for(var Ft=[],sn=0,un=null!==(ir=Lt.nodes)&&void 0!==ir?ir:[];sn<un.length;sn++){var ir,fr=un[sn].loc;null!=fr&&Ft.push(fr)}Ft=ft(Ft),Lt.source=p??(null===(qe=Ft)||void 0===qe?void 0:qe[0].source),Lt.positions=M??(null===(gt=Ft)||void 0===gt?void 0:gt.map(function(Wr){return Wr.start})),Lt.locations=M&&p?M.map(function(Wr){return lt(p,Wr)}):null===(vt=Ft)||void 0===vt?void 0:vt.map(function(Wr){return lt(Wr.source,Wr.start)}),Lt.path=ie??void 0;var Kr=Ce?.extensions;return Lt.extensions=null==ve&&function ke(s){return"object"==zt(s)&&null!==s}(Kr)?function Xn(s){for(var o=1;o<arguments.length;o++){var u=null!=arguments[o]?arguments[o]:{};
1o%2?fn(Object(u),!0).forEach(function(l){zr(s,l,u[l])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(u)):fn(Object(u)).forEach(function(l){Object.defineProperty(s,l,Object.getOwnPropertyDescriptor(u,l))})}return s}({},Kr):ve??{},Object.defineProperties(Dr(Lt),{message:{enumerable:!0},locations:{enumerable:null!=Lt.locations},path:{enumerable:null!=Lt.path},extensions:{enumerable:null!=Lt.extensions&&Object.keys(Lt.extensions).length>0},name:{enumerable:!1},nodes:{enumerable:!1},source:{enumerable:!1},positions:{enumerable:!1},originalError:{enumerable:!1}}),null!=Ce&&Ce.stack?(Object.defineProperty(Dr(Lt),"stack",{value:Ce.stack,writable:!0,configurable:!0}),or(Lt)):(Error.captureStackTrace?Error.captureStackTrace(Dr(Lt),u):Object.defineProperty(Dr(Lt),"stack",{value:Error().stack,writable:!0,configurable:!0}),Lt)}return function hr(s,o,u){o&&Br(s.prototype,o),u&&Br(s,u)}(u,[{key:"toString",value:function(){return function Bt(s){var o=s.message;if(s.nodes)for(var u=0,l=s.nodes;u<l.length;u++){var f=l[u];f.loc&&(o+="\n\n"+Mt(f.loc))}else if(s.source&&s.locations)for(var p=0,M=s.locations;p<M.length;p++)o+="\n\n"+Dt(s.source,M[p]);return o}(this)}},{key:Ve,get:function(){return"Object"}}]),u}(Ei(Error));function ft(s){return void 0===s||0===s.length?void 0:s}function hn(s,o,u){return new Xe("Syntax Error: ".concat(u),void 0,s,[o])}var Jt=Object.freeze({NAME:"Name",DOCUMENT:"Document",OPERATION_DEFINITION:"OperationDefinition",VARIABLE_DEFINITION:"VariableDefinition",SELECTION_SET:"SelectionSet",FIELD:"Field",ARGUMENT:"Argument",FRAGMENT_SPREAD:"FragmentSpread",INLINE_FRAGMENT:"InlineFragment",FRAGMENT_DEFINITION:"FragmentDefinition",VARIABLE:"Variable",INT:"IntValue",FLOAT:"FloatValue",STRING:"StringValue",BOOLEAN:"BooleanValue",NULL:"NullValue",ENUM:"EnumValue",LIST:"ListValue",OBJECT:"ObjectValue",OBJECT_FIELD:"ObjectField",DIRECTIVE:"Directive",NAMED_TYPE:"NamedType",LIST_TYPE:"ListType",NON_NULL_TYPE:"NonNullType",SCHEMA_DEFINITION:"SchemaDefinition",OPERATION_TYPE_DEFINITION:"OperationTypeDefinition",SCALAR_TYPE_DEFINITION:"ScalarTypeDefinition",OBJECT_TYPE_DEFINITION:"ObjectTypeDefinition",FIELD_DEFINITION:"FieldDefinition",INPUT_VALUE_DEFINITION:"InputValueDefinition",INTERFACE_TYPE_DEFINITION:"InterfaceTypeDefinition",UNION_TYPE_DEFINITION:"UnionTypeDefinition",ENUM_TYPE_DEFINITION:"EnumTypeDefinition",ENUM_VALUE_DEFINITION:"EnumValueDefinition",INPUT_OBJECT_TYPE_DEFINITION:"InputObjectTypeDefinition",DIRECTIVE_DEFINITION:"DirectiveDefinition",SCHEMA_EXTENSION:"SchemaExtension",SCALAR_TYPE_EXTENSION:"ScalarTypeExtension",OBJECT_TYPE_EXTENSION:"ObjectTypeExtension",INTERFACE_TYPE_EXTENSION:"InterfaceTypeExtension",UNION_TYPE_EXTENSION:"UnionTypeExtension",ENUM_TYPE_EXTENSION:"EnumTypeExtension",INPUT_OBJECT_TYPE_EXTENSION:"InputObjectTypeExtension"});const Lr="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):void 0;function tr(s){var o=s.prototype.toJSON;"function"==typeof o||function Ir(s,o){if(!s)throw new Error(o??"Unexpected invariant triggered.")}(0),s.prototype.inspect=o,Lr&&(s.prototype[Lr]=o)}var _r=function(){function s(u,l,f){this.start=u.start,this.end=l.end,this.startToken=u,this.endToken=l,this.source=f}return s.prototype.toJSON=function(){return{start:this.start,end:this.end}},s}();tr(_r);var Tn=function(){function s(u,l,f,p,M,ie,Ce){this.kind=u,this.start=l,this.end=f,this.line=p,this.column=M,this.value=Ce,this.prev=ie,this.next=null}return s.prototype.toJSON=function(){return{kind:this.kind,value:this.value,line:this.line,column:this.column}},s}();function Zr(s){return null!=s&&"string"==typeof s.kind}tr(Tn);var Ot=Object.freeze({SOF:"<SOF>",EOF:"<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"});function Rn(s){return(Rn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(u){return typeof u}:function(u){return u&&"function"==typeof Symbol&&u.constructor===Symbol&&u!==Symbol.prototype?"symbol":typeof u})(s)}var co=10,Vi=2;function ji(s){return rt(s,[])}function rt(s,o){switch(Rn(s)){case"string":return JSON.stringify(s);case"function":return s.name?"[function ".concat(s.name,"]"):"[function]";case"object":return null===s?"null":function Ye(s,o){if(-1!==o.indexOf(s))return"[Circular]";var u=[].concat(o,[s]),l=function He(s){var o=s[String(Lr)];return"function"==typeof o?o:"function"==typeof s.inspect?s.inspect:void 0}(s);if(void 0!==l){var f=l.call(s);if(f!==s)return"string"==typeof f?f:rt(f,u)}else if(Array.isArray(s))return function Ze(s,o){if(0===s.length)return"[]";if(o.length>Vi)return"[Array]";for(var u=Math.min(co,s.length),l=s.length-u,f=[],p=0;p<u;++p)f.push(rt(s[p],o));return 1===l?f.push("... 1 more item"):l>1&&f.push("... ".concat(l," more items")),"["+f.join(", ")+"]"}(s,u);return function ce(s,o){var u=Object.keys(s);if(0===u.length)return"{}";if(o.length>Vi)return"["+function ee(s){var o=Object.prototype.toString.call(s).replace(/^\[object /,"").replace(/]$/,"");if("Object"===o&&"function"==typeof s.constructor){var u=s.constructor.name;if("string"==typeof u&&""!==u)return u}return o}(s)+"]";var l=u.map(function(f){return f+": "+rt(s[f],o)});return"{ "+l.join(", ")+" }"}(s,u)}(s,o);default:return String(s)}}function it(s,o){if(!s)throw new Error(o)}function se(s,o){for(var u=0;u<o.length;u++){var l=o[u];l.enumerable=l.enumerable||!1,l.configurable=!0,"value"in l&&(l.writable=!0),Object.defineProperty(s,l.key,l)}}var Ae=function(){function s(o){var u=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"GraphQL request",l=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{line:1,column:1};"string"==typeof o||it(0,"Body must be a string. Received: ".concat(ji(o),".")),this.body=o,this.name=u,this.locationOffset=l,this.locationOffset.line>0||it(0,"line in locationOffset is 1-indexed and must be positive."),this.locationOffset.column>0||it(0,"column in locationOffset is 1-indexed and must be positive.")}return function Z(s,o,u){o&&se(s.prototype,o),u&&se(s,u)}(s,[{key:Ve,get:function(){return"Source"}}]),s}(),dt=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",
vendor: 28,356 bytes, line 1
1ENUM_VALUE:"ENUM_VALUE",INPUT_OBJECT:"INPUT_OBJECT",INPUT_FIELD_DEFINITION:"INPUT_FIELD_DEFINITION"});function mt(s){var o=s.split(/\r\n|[\n\r]/g),u=function on(s){for(var o,u=!0,l=!0,f=0,p=null,M=0;M<s.length;++M)switch(s.charCodeAt(M)){case 13:10===s.charCodeAt(M+1)&&++M;case 10:u=!1,l=!0,f=0;break;case 9:case 32:++f;break;default:l&&!u&&(null===p||f<p)&&(p=f),l=!1}return null!==(o=p)&&void 0!==o?o:0}(s);if(0!==u)for(var l=1;l<o.length;l++)o[l]=o[l].slice(u);for(var f=0;f<o.length&&Rt(o[f]);)++f;for(var p=o.length;p>f&&Rt(o[p-1]);)--p;return o.slice(f,p).join("\n")}function Rt(s){for(var o=0;o<s.length;++o)if(" "!==s[o]&&"\t"!==s[o])return!1;return!0}var bn=function(){function s(u){var l=new Tn(Ot.SOF,0,0,0,0,null);this.source=u,this.lastToken=l,this.token=l,this.line=1,this.lineStart=0}var o=s.prototype;return o.advance=function(){return this.lastToken=this.token,this.token=this.lookahead()},o.lookahead=function(){var l=this.token;if(l.kind!==Ot.EOF)do{var f;l=null!==(f=l.next)&&void 0!==f?f:l.next=pr(this,l)}while(l.kind===Ot.COMMENT);return l},s}();function mr(s){return isNaN(s)?Ot.EOF:s<127?JSON.stringify(String.fromCharCode(s)):'"\\u'.concat(("00"+s.toString(16).toUpperCase()).slice(-4),'"')}function pr(s,o){for(var u=s.source,l=u.body,f=l.length,p=o.end;p<f;){var M=l.charCodeAt(p),ie=s.line,Ce=1+p-s.lineStart;switch(M){case 65279:case 9:case 32:case 44:++p;continue;case 10:++p,++s.line,s.lineStart=p;continue;case 13:10===l.charCodeAt(p+1)?p+=2:++p,++s.line,s.lineStart=p;continue;case 33:return new Tn(Ot.BANG,p,p+1,ie,Ce,o);case 35:return xn(u,p,ie,Ce,o);case 36:return new Tn(Ot.DOLLAR,p,p+1,ie,Ce,o);case 38:return new Tn(Ot.AMP,p,p+1,ie,Ce,o);case 40:return new Tn(Ot.PAREN_L,p,p+1,ie,Ce,o);case 41:return new Tn(Ot.PAREN_R,p,p+1,ie,Ce,o);case 46:if(46===l.charCodeAt(p+1)&&46===l.charCodeAt(p+2))return new Tn(Ot.SPREAD,p,p+3,ie,Ce,o);break;case 58:return new Tn(Ot.COLON,p,p+1,ie,Ce,o);case 61:return new Tn(Ot.EQUALS,p,p+1,ie,Ce,o);case 64:return new Tn(Ot.AT,p,p+1,ie,Ce,o);case 91:return new Tn(Ot.BRACKET_L,p,p+1,ie,Ce,o);case 93:return new Tn(Ot.BRACKET_R,p,p+1,ie,Ce,o);case 123:return new Tn(Ot.BRACE_L,p,p+1,ie,Ce,o);case 124:return new Tn(Ot.PIPE,p,p+1,ie,Ce,o);case 125:return new Tn(Ot.BRACE_R,p,p+1,ie,Ce,o);case 34:return 34===l.charCodeAt(p+1)&&34===l.charCodeAt(p+2)?rr(u,p,ie,Ce,o,s):nr(u,p,ie,Ce,o);case 45:case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return Vr(u,p,M,ie,Ce,o);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 Mr(u,p,ie,Ce,o)}throw hn(u,p,Er(M))}return new Tn(Ot.EOF,f,f,s.line,1+p-s.lineStart,o)}function Er(s){return s<32&&9!==s&&10!==s&&13!==s?"Cannot contain the invalid character ".concat(mr(s),"."):39===s?"Unexpected single quote character ('), did you mean to use a double quote (\")?":"Cannot parse the unexpected character ".concat(mr(s),".")}function xn(s,o,u,l,f){var M,p=s.body,ie=o;do{M=p.charCodeAt(++ie)}while(!isNaN(M)&&(M>31||9===M));return new Tn(Ot.COMMENT,o,ie,u,l,f,p.slice(o+1,ie))}function Vr(s,o,u,l,f,p){var M=s.body,ie=u,Ce=o,ve=!1;if(45===ie&&(ie=M.charCodeAt(++Ce)),48===ie){if((ie=M.charCodeAt(++Ce))>=48&&ie<=57)throw hn(s,Ce,"Invalid number, unexpected digit after 0: ".concat(mr(ie),"."))}else Ce=xr(s,Ce,ie),ie=M.charCodeAt(Ce);if(46===ie&&(ve=!0,ie=M.charCodeAt(++Ce),Ce=xr(s,Ce,ie),ie=M.charCodeAt(Ce)),(69===ie||101===ie)&&(ve=!0,(43===(ie=M.charCodeAt(++Ce))||45===ie)&&(ie=M.charCodeAt(++Ce)),Ce=xr(s,Ce,ie),ie=M.charCodeAt(Ce)),46===ie||function ai(s){return 95===s||s>=65&&s<=90||s>=97&&s<=122}(ie))throw hn(s,Ce,"Invalid number, expected digit but got: ".concat(mr(ie),"."));return new Tn(ve?Ot.FLOAT:Ot.INT,o,Ce,l,f,p,M.slice(o,Ce))}function xr(s,o,u){var l=s.body,f=o,p=u;if(p>=48&&p<=57){do{p=l.charCodeAt(++f)}while(p>=48&&p<=57);return f}throw hn(s,f,"Invalid number, expected digit but got: ".concat(mr(p),"."))}function nr(s,o,u,l,f){for(var p=s.body,M=o+1,ie=M,Ce=0,ve="";M<p.length&&!isNaN(Ce=p.charCodeAt(M))&&10!==Ce&&13!==Ce;){if(34===Ce)return ve+=p.slice(ie,M),new Tn(Ot.STRING,o,M+1,u,l,f,ve);if(Ce<32&&9!==Ce)throw hn(s,M,"Invalid character within String: ".concat(mr(Ce),"."));if(++M,92===Ce){switch(ve+=p.slice(ie,M-1),Ce=p.charCodeAt(M)){case 34:ve+='"';break;case 47:ve+="/";break;case 92:ve+="\\";break;case 98:ve+="\b";break;case 102:ve+="\f";break;case 110:ve+="\n";break;case 114:ve+="\r";break;case 116:ve+="\t";break;case 117:var qe=si(p.charCodeAt(M+1),p.charCodeAt(M+2),p.charCodeAt(M+3),p.charCodeAt(M+4));if(qe<0){var gt=p.slice(M+1,M+5);throw hn(s,M,"Invalid character escape sequence: \\u".concat(gt,"."))}ve+=String.fromCharCode(qe),M+=4;break;default:throw hn(s,M,"Invalid character escape sequence: \\".concat(String.fromCharCode(Ce),"."))}ie=++M}}throw hn(s,M,"Unterminated string.")}function rr(s,o,u,l,f,p){for(var M=s.body,ie=o+3,Ce=ie,ve=0,qe="";ie<M.length&&!isNaN(ve=M.charCodeAt(ie));){if(34===ve&&34===M.charCodeAt(ie+1)&&34===M.charCodeAt(ie+2))return qe+=M.slice(Ce,ie),new Tn(Ot.BLOCK_STRING,o,ie+3,u,l,f,mt(qe));if(ve<32&&9!==ve&&10!==ve&&13!==ve)throw hn(s,ie,"Invalid character within String: ".concat(mr(ve),"."));10===ve?(++ie,++p.line,p.lineStart=ie):13===ve?(10===M.charCodeAt(ie+1)?ie+=2:++ie,++p.line,p.lineStart=ie):92===ve&&34===M.charCodeAt(ie+1)&&34===M.charCodeAt(ie+2)&&34===M.charCodeAt(ie+3)?(qe+=M.slice(Ce,ie)+'"""',Ce=ie+=4):++ie}throw hn(s,ie,"Unterminated string.")}function si(s,o,u,l){return bi(s)<<12|bi(o)<<8|bi(u)<<4|bi(l)}function bi(s){return s>=48&&s<=57?s-48:s>=65&&s<=70?s-55:s>=97&&s<=102?s-87:-1}function Mr(s,o,u,l,f){for(var p=s.body,M=p.length,ie=o+1,Ce=0;ie!==M&&!isNaN(Ce=p.charCodeAt(ie))&&(95===Ce||Ce>=48&&Ce<=57||Ce>=65&&Ce<=90||Ce>=97&&Ce<=122);)++ie;return new Tn(Ot.NAME,o,ie,u,l,f,p.slice(o,ie))}function wi(s,o){return new lo(s,o).parseDocument()}var lo=function(){function s(u,l){var f=function ht(s){return s instanceof Ae}(u)?u:new Ae(u);this._lexer=new bn(f),this._options=l}var o=s.prototype;return o.parseName=function(){var l=this.expectToken(Ot.NAME);return{kind:Jt.NAME,value:l.value,loc:this.loc(l)}},o.parseDocument=function(){var l=this._lexer.token;return{kind:Jt.DOCUMENT,definitions:this.many(Ot.SOF,this.parseDefinition,Ot.EOF),loc:this.loc(l)}},o.parseDefinition=function(){if(this.peek(Ot.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(Ot.BRACE_L))return this.parseOperationDefinition();if(this.peekDescription())return this.parseTypeSystemDefinition()}throw this.unexpected()},o.parseOperationDefinition=function(){var l=this._lexer.token;if(this.peek(Ot.BRACE_L))return{kind:Jt.OPERATION_DEFINITION,operation:"query",name:void 0,variableDefinitions:[],directives:[],selectionSet:this.parseSelectionSet(),loc:this.loc(l)};var p,f=this.parseOperationType();return this.peek(Ot.NAME)&&(p=this.parseName()),{kind:Jt.OPERATION_DEFINITION,operation:f,name:p,variableDefinitions:this.parseVariableDefinitions(),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet(),loc:this.loc(l)}},o.parseOperationType=function(){var l=this.expectToken(Ot.NAME);switch(l.value){case"query":return"query";case"mutation":return"mutation";case"subscription":return"subscription"}throw this.unexpected(l)},o.parseVariableDefinitions=function(){return this.optionalMany(Ot.PAREN_L,this.parseVariableDefinition,Ot.PAREN_R)},o.parseVariableDefinition=function(){var l=this._lexer.token;return{kind:Jt.VARIABLE_DEFINITION,variable:this.parseVariable(),type:(this.expectToken(Ot.COLON),this.parseTypeReference()),defaultValue:this.expectOptionalToken(Ot.EQUALS)?this.parseValueLiteral(!0):void 0,directives:this.parseDirectives(!0),loc:this.loc(l)}},o.parseVariable=function(){var l=this._lexer.token;return this.expectToken(Ot.DOLLAR),{kind:Jt.VARIABLE,name:this.parseName(),loc:this.loc(l)}},o.parseSelectionSet=function(){var l=this._lexer.token;return{kind:Jt.SELECTION_SET,selections:this.many(Ot.BRACE_L,this.parseSelection,Ot.BRACE_R),loc:this.loc(l)}},o.parseSelection=function(){return this.peek(Ot.SPREAD)?this.parseFragment():this.parseField()},o.parseField=function(){var p,M,l=this._lexer.token,f=this.parseName();return this.expectOptionalToken(Ot.COLON)?(p=f,M=this.parseName()):M=f,{kind:Jt.FIELD,alias:p,name:M,arguments:this.parseArguments(!1),directives:this.parseDirectives(!1),selectionSet:this.peek(Ot.BRACE_L)?this.parseSelectionSet():void 0,loc:this.loc(l)}},o.parseArguments=function(l){return this.optionalMany(Ot.PAREN_L,l?this.parseConstArgument:this.parseArgument,Ot.PAREN_R)},o.parseArgument=function(){var l=this._lexer.token,f=this.parseName();return this.expectToken(Ot.COLON),{kind:Jt.ARGUMENT,name:f,value:this.parseValueLiteral(!1),loc:this.loc(l)}},o.parseConstArgument=function(){var l=this._lexer.token;return{kind:Jt.ARGUMENT,name:this.parseName(),value:(this.expectToken(Ot.COLON),this.parseValueLiteral(!0)),loc:this.loc(l)}},o.parseFragment=function(){var l=this._lexer.token;this.expectToken(Ot.SPREAD);var f=this.expectOptionalKeyword("on");return!f&&this.peek(Ot.NAME)?{kind:Jt.FRAGMENT_SPREAD,name:this.parseFragmentName(),directives:this.parseDirectives(!1),loc:this.loc(l)}:{kind:Jt.INLINE_FRAGMENT,typeCondition:f?this.parseNamedType():void 0,directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet(),loc:this.loc(l)}},o.parseFragmentDefinition=function(){var l,f=this._lexer.token;return this.expectKeyword("fragment"),!0===(null===(l=this._options)||void 0===l?void 0:l.experimentalFragmentVariables)?{kind:Jt.FRAGMENT_DEFINITION,name:this.parseFragmentName(),variableDefinitions:this.parseVariableDefinitions(),typeCondition:(this.expectKeyword("on"),this.parseNamedType()),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet(),loc:this.loc(f)}:{kind:Jt.FRAGMENT_DEFINITION,name:this.parseFragmentName(),typeCondition:(this.expectKeyword("on"),this.parseNamedType()),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet(),loc:this.loc(f)}},o.parseFragmentName=function(){if("on"===this._lexer.token.value)throw this.unexpected();return this.parseName()},o.parseValueLiteral=function(l){var f=this._lexer.token;switch(f.kind){case Ot.BRACKET_L:return this.parseList(l);case Ot.BRACE_L:return this.parseObject(l);case Ot.INT:return this._lexer.advance(),{kind:Jt.INT,value:f.value,loc:this.loc(f)};case Ot.FLOAT:return this._lexer.advance(),{kind:Jt.FLOAT,value:f.value,loc:this.loc(f)};case Ot.STRING:case Ot.BLOCK_STRING:return this.parseStringLiteral();case Ot.NAME:switch(this._lexer.advance(),f.value){case"true":return{kind:Jt.BOOLEAN,value:!0,loc:this.loc(f)};case"false":return{kind:Jt.BOOLEAN,value:!1,loc:this.loc(f)};case"null":return{kind:Jt.NULL,loc:this.loc(f)};default:return{kind:Jt.ENUM,value:f.value,loc:this.loc(f)}}case Ot.DOLLAR:if(!l)return this.parseVariable()}throw this.unexpected()},o.parseStringLiteral=function(){var l=this._lexer.token;return this._lexer.advance(),{kind:Jt.STRING,value:l.value,block:l.kind===Ot.BLOCK_STRING,loc:this.loc(l)}},o.parseList=function(l){var f=this,p=this._lexer.token;return{kind:Jt.LIST,values:this.any(Ot.BRACKET_L,function(){return f.parseValueLiteral(l)},Ot.BRACKET_R),loc:this.loc(p)}},o.parseObject=function(l){var f=this,p=this._lexer.token;return{kind:Jt.OBJECT,fields:this.any(Ot.BRACE_L,function(){return f.parseObjectField(l)},Ot.BRACE_R),loc:this.loc(p)}},o.parseObjectField=function(l){var f=this._lexer.token,p=this.parseName();return this.expectToken(Ot.COLON),{kind:Jt.OBJECT_FIELD,name:p,value:this.parseValueLiteral(l),loc:this.loc(f)}},o.parseDirectives=function(l){for(var f=[];this.peek(Ot.AT);)f.push(this.parseDirective(l));return f},o.parseDirective=function(l){var f=this._lexer.token;return this.expectToken(Ot.AT),{kind:Jt.DIRECTIVE,name:this.parseName(),arguments:this.parseArguments(l),loc:this.loc(f)}},o.parseTypeReference=function(){var f,l=this._lexer.token;return this.expectOptionalToken(Ot.BRACKET_L)?(f=this.parseTypeReference(),this.expectToken(Ot.BRACKET_R),f={kind:Jt.LIST_TYPE,type:f,loc:this.loc(l)}):f=this.parseNamedType(),this.expectOptionalToken(Ot.BANG)?{kind:Jt.NON_NULL_TYPE,type:f,loc:this.loc(l)}:f},o.parseNamedType=function(){var l=this._lexer.token;return{kind:Jt.NAMED_TYPE,name:this.parseName(),loc:this.loc(l)}},o.parseTypeSystemDefinition=function(){var l=this.peekDescription()?this._lexer.lookahead():this._lexer.token;if(l.kind===Ot.NAME)switch(l.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(l)},o.peekDescription=function(){return this.peek(Ot.STRING)||this.peek(Ot.BLOCK_STRING)},o.parseDescription=function(){if(this.peekDescription())return this.parseStringLiteral()},o.parseSchemaDefinition=function(){var l=this._lexer.token,f=this.parseDescription();this.expectKeyword("schema");var p=this.parseDirectives(!0),M=this.many(Ot.BRACE_L,this.parseOperationTypeDefinition,Ot.BRACE_R);return{kind:Jt.SCHEMA_DEFINITION,description:f,directives:p,operationTypes:M,loc:this.loc(l)}},o.parseOperationTypeDefinition=function(){var l=this._lexer.token,f=this.parseOperationType();this.expectToken(Ot.COLON);var p=this.parseNamedType();return{kind:Jt.OPERATION_TYPE_DEFINITION,operation:f,type:p,loc:this.loc(l)}},o.parseScalarTypeDefinition=function(){var l=this._lexer.token,f=this.parseDescription();this.expectKeyword("scalar");var p=this.parseName(),M=this.parseDirectives(!0);return{kind:Jt.SCALAR_TYPE_DEFINITION,description:f,name:p,directives:M,loc:this.loc(l)}},o.parseObjectTypeDefinition=function(){var l=this._lexer.token,f=this.parseDescription();this.expectKeyword("type");var p=this.parseName(),M=this.parseImplementsInterfaces(),ie=this.parseDirectives(!0),Ce=this.parseFieldsDefinition();return{kind:Jt.OBJECT_TYPE_DEFINITION,description:f,name:p,interfaces:M,directives:ie,fields:Ce,loc:this.loc(l)}},o.parseImplementsInterfaces=function(){var l;if(!this.expectOptionalKeyword("implements"))return[];if(!0===(null===(l=this._options)||void 0===l?void 0:l.allowLegacySDLImplementsInterfaces)){var f=[];this.expectOptionalToken(Ot.AMP);do{f.push(this.parseNamedType())}while(this.expectOptionalToken(Ot.AMP)||this.peek(Ot.NAME));return f}return this.delimitedMany(Ot.AMP,this.parseNamedType)},o.parseFieldsDefinition=function(){var l;return!0===(null===(l=this._options)||void 0===l?void 0:l.allowLegacySDLEmptyFields)&&this.peek(Ot.BRACE_L)&&this._lexer.lookahead().kind===Ot.BRACE_R?(this._lexer.advance(),this._lexer.advance(),[]):this.optionalMany(Ot.BRACE_L,this.parseFieldDefinition,Ot.BRACE_R)},o.parseFieldDefinition=function(){var l=this._lexer.token,f=this.parseDescription(),p=this.parseName(),M=this.parseArgumentDefs();this.expectToken(Ot.COLON);var ie=this.parseTypeReference(),Ce=this.parseDirectives(!0);return{kind:Jt.FIELD_DEFINITION,description:f,name:p,arguments:M,type:ie,directives:Ce,loc:this.loc(l)}},o.parseArgumentDefs=function(){return this.optionalMany(Ot.PAREN_L,this.parseInputValueDef,Ot.PAREN_R)},o.parseInputValueDef=function(){var l=this._lexer.token,f=this.parseDescription(),p=this.parseName();this.expectToken(Ot.COLON);var ie,M=this.parseTypeReference();this.expectOptionalToken(Ot.EQUALS)&&(ie=this.parseValueLiteral(!0));var Ce=this.parseDirectives(!0);return{kind:Jt.INPUT_VALUE_DEFINITION,description:f,name:p,type:M,defaultValue:ie,directives:Ce,loc:this.loc(l)}},o.parseInterfaceTypeDefinition=function(){var l=this._lexer.token,f=this.parseDescription();this.expectKeyword("interface");var p=this.parseName(),M=this.parseImplementsInterfaces(),ie=this.parseDirectives(!0),Ce=this.parseFieldsDefinition();return{kind:Jt.INTERFACE_TYPE_DEFINITION,description:f,name:p,interfaces:M,directives:ie,fields:Ce,loc:this.loc(l)}},o.parseUnionTypeDefinition=function(){var l=this._lexer.token,f=this.parseDescription();this.expectKeyword("union");var p=this.parseName(),M=this.parseDirectives(!0),ie=this.parseUnionMemberTypes();return{kind:Jt.UNION_TYPE_DEFINITION,description:f,name:p,directives:M,types:ie,loc:this.loc(l)}},o.parseUnionMemberTypes=function(){return this.expectOptionalToken(Ot.EQUALS)?this.delimitedMany(Ot.PIPE,this.parseNamedType):[]},o.parseEnumTypeDefinition=function(){var l=this._lexer.token,f=this.parseDescription();this.expectKeyword("enum");var p=this.parseName(),M=this.parseDirectives(!0),ie=this.parseEnumValuesDefinition();return{kind:Jt.ENUM_TYPE_DEFINITION,description:f,name:p,directives:M,values:ie,loc:this.loc(l)}},o.parseEnumValuesDefinition=function(){return this.optionalMany(Ot.BRACE_L,this.parseEnumValueDefinition,Ot.BRACE_R)},o.parseEnumValueDefinition=function(){var l=this._lexer.token,f=this.parseDescription(),p=this.parseName(),M=this.parseDirectives(!0);return{kind:Jt.ENUM_VALUE_DEFINITION,description:f,name:p,directives:M,loc:this.loc(l)}},o.parseInputObjectTypeDefinition=function(){var l=this._lexer.token,f=this.parseDescription();this.expectKeyword("input");var p=this.parseName(),M=this.parseDirectives(!0),ie=this.parseInputFieldsDefinition();return{kind:Jt.INPUT_OBJECT_TYPE_DEFINITION,description:f,name:p,directives:M,fields:ie,loc:this.loc(l)}},o.parseInputFieldsDefinition=function(){return this.optionalMany(Ot.BRACE_L,this.parseInputValueDef,Ot.BRACE_R)},o.parseTypeSystemExtension=function(){var l=this._lexer.lookahead();if(l.kind===Ot.NAME)switch(l.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(l)},o.parseSchemaExtension=function(){var l=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("schema");var f=this.parseDirectives(!0),p=this.optionalMany(Ot.BRACE_L,this.parseOperationTypeDefinition,Ot.BRACE_R);if(0===f.length&&0===p.length)throw this.unexpected();return{kind:Jt.SCHEMA_EXTENSION,directives:f,operationTypes:p,loc:this.loc(l)}},o.parseScalarTypeExtension=function(){var l=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("scalar");var f=this.parseName(),p=this.parseDirectives(!0);if(0===p.length)throw this.unexpected();return{kind:Jt.SCALAR_TYPE_EXTENSION,name:f,directives:p,loc:this.loc(l)}},o.parseObjectTypeExtension=function(){var l=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("type");var f=this.parseName(),p=this.parseImplementsInterfaces(),M=this.parseDirectives(!0),ie=this.parseFieldsDefinition();if(0===p.length&&0===M.length&&0===ie.length)throw this.unexpected();return{kind:Jt.OBJECT_TYPE_EXTENSION,name:f,interfaces:p,directives:M,fields:ie,loc:this.loc(l)}},o.parseInterfaceTypeExtension=function(){var l=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("interface");var f=this.parseName(),p=this.parseImplementsInterfaces(),M=this.parseDirectives(!0),ie=this.parseFieldsDefinition();if(0===p.length&&0===M.length&&0===ie.length)throw this.unexpected();return{kind:Jt.INTERFACE_TYPE_EXTENSION,name:f,interfaces:p,directives:M,fields:ie,loc:this.loc(l)}},o.parseUnionTypeExtension=function(){var l=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("union");var f=this.parseName(),p=this.parseDirectives(!0),M=this.parseUnionMemberTypes();if(0===p.length&&0===M.length)throw this.unexpected();return{kind:Jt.UNION_TYPE_EXTENSION,name:f,directives:p,types:M,loc:this.loc(l)}},o.parseEnumTypeExtension=function(){var l=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("enum");var f=this.parseName(),p=this.parseDirectives(!0),M=this.parseEnumValuesDefinition();if(0===p.length&&0===M.length)throw this.unexpected();return{kind:Jt.ENUM_TYPE_EXTENSION,name:f,directives:p,values:M,loc:this.loc(l)}},o.parseInputObjectTypeExtension=function(){var l=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("input");var f=this.parseName(),p=this.parseDirectives(!0),M=this.parseInputFieldsDefinition();if(0===p.length&&0===M.length)throw this.unexpected();return{kind:Jt.INPUT_OBJECT_TYPE_EXTENSION,name:f,directives:p,fields:M,loc:this.loc(l)}},o.parseDirectiveDefinition=function(){var l=this._lexer.token,f=this.parseDescription();this.expectKeyword("directive"),this.expectToken(Ot.AT);var p=this.parseName(),M=this.parseArgumentDefs(),ie=this.expectOptionalKeyword("repeatable");this.expectKeyword("on");var Ce=this.parseDirectiveLocations();return{kind:Jt.DIRECTIVE_DEFINITION,description:f,name:p,arguments:M,repeatable:ie,locations:Ce,loc:this.loc(l)}},o.parseDirectiveLocations=function(){return this.delimitedMany(Ot.PIPE,this.parseDirectiveLocation)},o.parseDirectiveLocation=function(){var l=this._lexer.token,f=this.parseName();if(void 0!==dt[f.value])return f;throw this.unexpected(l)},o.loc=function(l){var f;if(!0!==(null===(f=this._options)||void 0===f?void 0:f.noLocation))return new _r(l,this._lexer.lastToken,this._lexer.source)},o.peek=function(l){return this._lexer.token.kind===l},o.expectToken=function(l){var f=this._lexer.token;if(f.kind===l)return this._lexer.advance(),f;throw hn(this._lexer.source,f.start,"Expected ".concat(O(l),", found ").concat(Ii(f),"."))},o.expectOptionalToken=function(l){var f=this._lexer.token;if(f.kind===l)return this._lexer.advance(),f},o.expectKeyword=function(l){var f=this._lexer.token;if(f.kind!==Ot.NAME||f.value!==l)throw hn(this._lexer.source,f.start,'Expected "'.concat(l,'", found ').concat(Ii(f),"."));this._lexer.advance()},o.expectOptionalKeyword=function(l){var f=this._lexer.token;return f.kind===Ot.NAME&&f.value===l&&(this._lexer.advance(),!0)},o.unexpected=function(l){var f=l??this._lexer.token;return hn(this._lexer.source,f.start,"Unexpected ".concat(Ii(f),"."))},o.any=function(l,f,p){this.expectToken(l);for(var M=[];!this.expectOptionalToken(p);)M.push(f.call(this));return M},o.optionalMany=function(l,f,p){if(this.expectOptionalToken(l)){var M=[];do{M.push(f.call(this))}while(!this.expectOptionalToken(p));return M}return[]},o.many=function(l,f,p){this.expectToken(l);var M=[];do{M.push(f.call(this))}while(!this.expectOptionalToken(p));return M},o.delimitedMany=function(l,f){this.expectOptionalToken(l);var p=[];do{p.push(f.call(this))}while(this.expectOptionalToken(l));return p},s}();function Ii(s){var o=s.value;return O(s.kind)+(null!=o?' "'.concat(o,'"'):"")}function O(s){return function Ln(s){return s===Ot.BANG||s===Ot.DOLLAR||s===Ot.AMP||s===Ot.PAREN_L||s===Ot.PAREN_R||s===Ot.SPREAD||s===Ot.COLON||s===Ot.EQUALS||s===Ot.AT||s===Ot.BRACKET_L||s===Ot.BRACKET_R||s===Ot.BRACE_L||s===Ot.PIPE||s===Ot.BRACE_R}(s)?'"'.concat(s,'"'):s}var ae={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"]},J=Object.freeze({});function wt(s,o,u){var l=s[o];if(l){if(!u&&"function"==typeof l)return l;var f=u?l.leave:l.enter;if("function"==typeof f)return f}else{var p=u?s.leave:s.enter;if(p){if("function"==typeof p)return p;var M=p[o];if("function"==typeof M)return M}}}function Kt(s){return function pe(s,o){var u=arguments.length>2&&void 0!==arguments[2]?arguments[2]:ae,l=void 0,f=Array.isArray(s),p=[s],M=-1,ie=[],Ce=void 0,ve=void 0,qe=void 0,gt=[],vt=[],Lt=s;do{var Ft=++M===p.length,sn=Ft&&0!==ie.length;if(Ft){if(ve=0===vt.length?void 0:gt[gt.length-1],Ce=qe,qe=vt.pop(),sn){if(f)Ce=Ce.slice();else{for(var un={},ir=0,dr=Object.keys(Ce);ir<dr.length;ir++){var fr=dr[ir];un[fr]=Ce[fr]}Ce=un}for(var Kr=0,Wr=0;Wr<ie.length;Wr++){var ni=ie[Wr][0],Oi=ie[Wr][1];f&&(ni-=Kr),f&&null===Oi?(Ce.splice(ni,1),Kr++):Ce[ni]=Oi}}M=l.index,p=l.keys,ie=l.edits,f=l.inArray,l=l.prev}else{if(ve=qe?f?M:p[M]:void 0,null==(Ce=qe?qe[ve]:Lt))continue;qe&&gt.push(ve)}var go,Bi=void 0;if(!Array.isArray(Ce)){if(!Zr(Ce))throw new Error("Invalid AST Node: ".concat(ji(Ce),"."));var bo=wt(o,Ce.kind,Ft);if(bo){if((Bi=bo.call(o,Ce,ve,qe,gt,vt))===J)break;if(!1===Bi){if(!Ft){gt.pop();continue}}else if(void 0!==Bi&&(ie.push([ve,Bi]),!Ft)){if(!Zr(Bi)){gt.pop();continue}Ce=Bi}}}void 0===Bi&&sn&&ie.push([ve,Ce]),Ft?gt.pop():(l={inArray:f,index:M,keys:p,edits:ie,prev:l},p=(f=Array.isArray(Ce))?Ce:null!==(go=u[Ce.kind])&&void 0!==go?go:[],M=-1,ie=[],qe&&vt.push(qe),qe=Ce)}while(void 0!==l);return 0!==ie.length&&(Lt=ie[ie.length-1][1]),Lt}(s,{leave:Fn})}var Fn={Name:function(o){return o.value},Variable:function(o){return"$"+o.name},Document:function(o){return en(o.definitions,"\n\n")+"\n"},OperationDefinition:function(o){var u=o.operation,l=o.name,f=Gn("(",en(o.variableDefinitions,", "),")"),p=en(o.directives," "),M=o.selectionSet;return l||p||f||"query"!==u?en([u,en([l,f]),p,M]," "):M},VariableDefinition:function(o){var p=o.directives;return o.variable+": "+o.type+Gn(" = ",o.defaultValue)+Gn(" ",en(p," "))},SelectionSet:function(o){return sr(o.selections)},Field:function(o){var l=o.name,f=o.arguments,p=o.directives,M=o.selectionSet,ie=Gn("",o.alias,": ")+l,Ce=ie+Gn("(",en(f,", "),")");return Ce.length>80&&(Ce=ie+Gn("(\n",di(en(f,"\n")),"\n)")),en([Ce,en(p," "),M]," ")},Argument:function(o){return o.name+": "+o.value},FragmentSpread:function(o){return"..."+o.name+Gn(" ",en(o.directives," "))},InlineFragment:function(o){var l=o.directives,f=o.selectionSet;return en(["...",Gn("on ",o.typeCondition),en(l," "),f]," ")},FragmentDefinition:function(o){var l=o.typeCondition,f=o.variableDefinitions,p=o.directives,M=o.selectionSet;return"fragment ".concat(o.name).concat(Gn("(",en(f,", "),")")," ")+"on ".concat(l," ").concat(Gn("",en(p," ")," "))+M},IntValue:function(o){return o.value}
1,FloatValue:function(o){return o.value},StringValue:function(o,u){var l=o.value;return o.block?function ln(s){var o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",u=arguments.length>2&&void 0!==arguments[2]&&arguments[2],l=-1===s.indexOf("\n"),ie=!l||'"'===s[s.length-1]||"\\"===s[s.length-1]||u,Ce="";return ie&&!(l&&(" "===s[0]||"\t"===s[0]))&&(Ce+="\n"+o),Ce+=o?s.replace(/\n/g,"\n"+o):s,ie&&(Ce+="\n"),'"""'+Ce.replace(/"""/g,'\\"""')+'"""'}(l,"description"===u?"":"  "):JSON.stringify(l)},BooleanValue:function(o){return o.value?"true":"false"},NullValue:function(){return"null"},EnumValue:function(o){return o.value},ListValue:function(o){return"["+en(o.values,", ")+"]"},ObjectValue:function(o){return"{"+en(o.fields,", ")+"}"},ObjectField:function(o){return o.name+": "+o.value},Directive:function(o){return"@"+o.name+Gn("(",en(o.arguments,", "),")")},NamedType:function(o){return o.name},ListType:function(o){return"["+o.type+"]"},NonNullType:function(o){return o.type+"!"},SchemaDefinition:Kn(function(s){var u=s.operationTypes;return en(["schema",en(s.directives," "),sr(u)]," ")}),OperationTypeDefinition:function(o){return o.operation+": "+o.type},ScalarTypeDefinition:Kn(function(s){return en(["scalar",s.name,en(s.directives," ")]," ")}),ObjectTypeDefinition:Kn(function(s){var l=s.directives,f=s.fields;return en(["type",s.name,Gn("implements ",en(s.interfaces," & ")),en(l," "),sr(f)]," ")}),FieldDefinition:Kn(function(s){var u=s.arguments,l=s.type,f=s.directives;return s.name+(Ni(u)?Gn("(\n",di(en(u,"\n")),"\n)"):Gn("(",en(u,", "),")"))+": "+l+Gn(" ",en(f," "))}),InputValueDefinition:Kn(function(s){var f=s.directives;return en([s.name+": "+s.type,Gn("= ",s.defaultValue),en(f," ")]," ")}),InterfaceTypeDefinition:Kn(function(s){var l=s.directives,f=s.fields;return en(["interface",s.name,Gn("implements ",en(s.interfaces," & ")),en(l," "),sr(f)]," ")}),UnionTypeDefinition:Kn(function(s){var l=s.types;return en(["union",s.name,en(s.directives," "),l&&0!==l.length?"= "+en(l," | "):""]," ")}),EnumTypeDefinition:Kn(function(s){var l=s.values;return en(["enum",s.name,en(s.directives," "),sr(l)]," ")}),EnumValueDefinition:Kn(function(s){return en([s.name,en(s.directives," ")]," ")}),InputObjectTypeDefinition:Kn(function(s){var l=s.fields;return en(["input",s.name,en(s.directives," "),sr(l)]," ")}),DirectiveDefinition:Kn(function(s){var u=s.arguments,l=s.repeatable,f=s.locations;return"directive @"+s.name+(Ni(u)?Gn("(\n",di(en(u,"\n")),"\n)"):Gn("(",en(u,", "),")"))+(l?" repeatable":"")+" on "+en(f," | ")}),SchemaExtension:function(o){var l=o.operationTypes;return en(["extend schema",en(o.directives," "),sr(l)]," ")},ScalarTypeExtension:function(o){return en(["extend scalar",o.name,en(o.directives," ")]," ")},ObjectTypeExtension:function(o){var f=o.directives,p=o.fields;return en(["extend type",o.name,Gn("implements ",en(o.interfaces," & ")),en(f," "),sr(p)]," ")},InterfaceTypeExtension:function(o){var f=o.directives,p=o.fields;return en(["extend interface",o.name,Gn("implements ",en(o.interfaces," & ")),en(f," "),sr(p)]," ")},UnionTypeExtension:function(o){var f=o.types;return en(["extend union",o.name,en(o.directives," "),f&&0!==f.length?"= "+en(f," | "):""]," ")},EnumTypeExtension:function(o){var f=o.values;return en(["extend enum",o.name,en(o.directives," "),sr(f)]," ")},InputObjectTypeExtension:function(o){var f=o.fields;return en(["extend input",o.name,en(o.directives," "),sr(f)]," ")}};function Kn(s){return function(o){return en([o.description,s(o)],"\n")}}function en(s){var o,u=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return null!==(o=s?.filter(function(l){return l}).join(u))&&void 0!==o?o:""}function sr(s){return Gn("{\n",di(en(s,"\n")),"\n}")}function Gn(s,o){return null!=o&&""!==o?s+o+(arguments.length>2&&void 0!==arguments[2]?arguments[2]:""):""}function di(s){return Gn("  ",s.replace(/\n/g,"\n  "))}function qi(s){return-1!==s.indexOf("\n")}function Ni(s){return null!=s&&s.some(qi)}var Ri=v(6622),Go=v(754),Xi=v(946),Uo=function(s,o){return(Uo=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(u,l){u.__proto__=l}||function(u,l){for(var f in l)l.hasOwnProperty(f)&&(u[f]=l[f])})(s,o)},fi=function(){return fi=Object.assign||function(o){for(var u,l=1,f=arguments.length;l<f;l++)for(var p in u=arguments[l])Object.prototype.hasOwnProperty.call(u,p)&&(o[p]=u[p]);return o},fi.apply(this,arguments)};function Ci(s,o,u,l){return new(u||(u=Promise))(function(p,M){function ie(qe){try{ve(l.next(qe))}catch(gt){M(gt)}}function Ce(qe){try{ve(l.throw(qe))}catch(gt){M(gt)}}
1function ve(qe){qe.done?p(qe.value):function f(p){return p instanceof u?p:new u(function(M){M(p)})}(qe.value).then(ie,Ce)}ve((l=l.apply(s,o||[])).next())})}function ui(s,o){var l,f,p,M,u={label:0,sent:function(){if(1&p[0])throw p[1];return p[1]},trys:[],ops:[]};return M={next:ie(0),throw:ie(1),return:ie(2)},"function"==typeof Symbol&&(M[Symbol.iterator]=function(){return this}),M;function ie(ve){return function(qe){return function Ce(ve){if(l)throw new TypeError("Generator is already executing.");for(;u;)try{if(l=1,f&&(p=2&ve[0]?f.return:ve[0]?f.throw||((p=f.return)&&p.call(f),0):f.next)&&!(p=p.call(f,ve[1])).done)return p;switch(f=0,p&&(ve=[2&ve[0],p.value]),ve[0]){case 0:case 1:p=ve;break;case 4:return u.label++,{value:ve[1],done:!1};case 5:u.label++,f=ve[1],ve=[0];continue;case 7:ve=u.ops.pop(),u.trys.pop();continue;default:if(!(p=(p=u.trys).length>0&&p[p.length-1])&&(6===ve[0]||2===ve[0])){u=0;continue}if(3===ve[0]&&(!p||ve[1]>p[0]&&ve[1]<p[3])){u.label=ve[1];break}if(6===ve[0]&&u.label<p[1]){u.label=p[1],p=ve;break}if(p&&u.label<p[2]){u.label=p[2],u.ops.push(ve);break}p[2]&&u.ops.pop(),u.trys.pop();continue}ve=o.call(s,u)}catch(qe){ve=[6,qe],f=0}finally{l=p=0}if(5&ve[0])throw ve[1];return{value:ve[0]?ve[1]:void 0,done:!0}}([ve,qe])}}}var zo=v(4576),Ai=v(9682),qs=v(9316);const mo=v.n(qs)();for(var Qi=v(1879),Vo=v(7994),Xs=v(163),ho=v(7560),er=v(1250),pi={clockOffset:0,getDateWithClockOffset:function(){return pi.clockOffset?new Date((new Date).getTime()+pi.clockOffset):new Date},getClockOffset:function(){return pi.clockOffset},getHeaderStringFromDate:function(s){return void 0===s&&(s=pi.getDateWithClockOffset()),s.toISOString().replace(/[:\-]|\.\d{3}/g,"")},getDateFromHeaderString:function(s){var o=function(s,o){var u="function"==typeof Symbol&&s[Symbol.iterator];if(!u)return s;var f,M,l=u.call(s),p=[];try{for(;(void 0===o||o-- >0)&&!(f=l.next()).done;)p.push(f.value)}catch(ie){M={error:ie}}finally{try{f&&!f.done&&(u=l.return)&&u.call(l)}finally{if(M)throw M.error}}return p}(s.match(/^(\d{4})(\d{2})(\d{2})T(\d{2})(\d{2})(\d{2}).+/),7),l=o[2],f=o[3],p=o[4],M=o[5],ie=o[6];return new Date(Date.UTC(Number(o[1]),Number(l)-1,Number(f),Number(p),Number(M),Number(ie)))},isClockSkewed:function(s){return Math.abs(s.getTime()-pi.getDateWithClockOffset().getTime())>=3e5},isClockSkewError:function(s){if(!s.response||!s.response.headers)return!1;var o=s.response.headers;return!(!["BadRequestException","InvalidSignatureException"].includes(o["x-amzn-errortype"])||!o.date&&!o.Date)},setClockOffset:function(s){pi.clockOffset=s}},Xo=function(s){return Object.keys(s).map(function(o){return o.toLowerCase()}).sort().join(";")},qt="X-Amz-Date",Te="X-Amz-Security-Token",Le="host",A=qt.toLowerCase(),g=Te.toLowerCase(),I="aws4_request",w="AWS4-HMAC-SHA256",Ke=function(s){var o=s.credentials,u=s.signingDate,f=s.signingRegion,p=s.signingService,M=s.uriEscapePath,ie=void 0===M||M,Ce=o.accessKeyId,ve=o.secretAccessKey,qe=o.sessionToken,gt=function(s){var o=s.toISOString().replace(/[:\-]|\.\d{3}/g,"");return{longDate:o,shortDate:o.slice(0,8)}}(void 0===u?new Date:u),vt=gt.longDate,Lt=gt.shortDate,Ft=function(s,o,u){return"".concat(s,"/").concat(o,"/").concat(u,"/").concat(I)}(Lt,f,p);return{accessKeyId:Ce,credentialScope:Ft,longDate:vt,secretAccessKey:ve,sessionToken:qe,shortDate:Lt,signingRegion:f,signingService:p,uriEscapePath:ie}},ct=v(3967),kt={},At={},Zt=0;Zt<256;Zt++){var cn=Zt.toString(16).toLowerCase();1===cn.length&&(cn="0"+cn),kt[Zt]=cn,At[cn]=Zt}var Vn=function(s,o){var u=new ct.Sha256(s);return u.update(o),u.digestSync()},ar=function(s,o){return function qn(s){for(var o="",u=0;u<s.byteLength;u++)o+=kt[s[u]];return o}(Vn(s,o))},Yr=function(s){return Object.entries(s).map(function(o){var u,l=function(s,o){var u="function"==typeof Symbol&&s[Symbol.iterator];if(!u)return s;var f,M,l=u.call(s),p=[];try{for(;(void 0===o||o-- >0)&&!(f=l.next()).done;)p.push(f.value)}catch(ie){M={error:ie}}finally{try{f&&!f.done&&(u=l.return)&&u.call(l)}finally{if(M)throw M.error}}return p}(o,2),p=l[1];return{key:l[0].toLowerCase(),value:null!==(u=p?.trim().replace(/\s+/g," "))&&void 0!==u?u:""}}).sort(function(o,u){return o.key<u.key?-1:1}).map(function(o){return"".concat(o.key,":").concat(o.value,"\n")}).join("")},ci=function(s,o){var u="function"==typeof Symbol&&s[Symbol.iterator];if(!u)return s;var f,M,l=u.call(s),p=[];try{for(;(void 0===o||o-- >0)&&!(f=l.next()).done;)p.push(f.value)}catch(ie){M={error:ie}}finally{try{f&&!f.done&&(u=l.return)&&u.call(l)}
1finally{if(M)throw M.error}}return p},Wn=function(s){return Array.from(s).sort(function(o,u){var l=ci(o,2),f=l[0],p=l[1],M=ci(u,2),ie=M[0];return f===ie?p<M[1]?-1:1:f<ie?-1:1}).map(function(o){var u=ci(o,2),f=u[1];return"".concat(vr(u[0]),"=").concat(vr(f))}).join("&")},vr=function(s){return encodeURIComponent(s).replace(/[!'()*]/g,ri)},ri=function(s){return"%".concat(s.charCodeAt(0).toString(16).toUpperCase())},Di=function(s,o){return void 0===o&&(o=!0),s?o?encodeURIComponent(s).replace(/%2F/g,"/"):s:"/"},$i=function(s){return null==s?"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855":gs(s)?ar(null,s):"UNSIGNED-PAYLOAD"},gs=function(s){return"string"==typeof s||ArrayBuffer.isView(s)||Oo(s)},Oo=function(s){return"function"==typeof ArrayBuffer&&s instanceof ArrayBuffer||"[object ArrayBuffer]"===Object.prototype.toString.call(s)},ts=function(s,o){var u=o.credentialScope,l=o.longDate,f=o.secretAccessKey,p=o.shortDate,M=o.signingRegion,ie=o.signingService,ve=function(s,o){var u=s.body,l=s.headers,p=s.url;return void 0===o&&(o=!0),[s.method,Di(p.pathname,o),Wn(p.searchParams),Yr(l),Xo(l),$i(u)].join("\n")}(s,o.uriEscapePath),gt=function(s,o,u){return[w,s,o,u].join("\n")}(l,u,ar(null,ve)),vt=ar(function(s,o,u,l){var f="".concat("AWS4").concat(s),p=Vn(f,o),M=Vn(p,u),ie=Vn(M,l);return Vn(ie,I)}(f,p,M,ie),gt);return vt},ms=function(){return ms=Object.assign||function(s){for(var o,u=1,l=arguments.length;u<l;u++)for(var f in o=arguments[u])Object.prototype.hasOwnProperty.call(o,f)&&(s[f]=o[f]);return s},ms.apply(this,arguments)},Cs=function(){return Cs=Object.assign||function(s){for(var o,u=1,l=arguments.length;u<l;u++)for(var f in o=arguments[u])Object.prototype.hasOwnProperty.call(o,f)&&(s[f]=o[f]);return s},Cs.apply(this,arguments)},V=function(){return V=Object.assign||function(s){for(var o,u=1,l=arguments.length;u<l;u++)for(var f in o=arguments[u])Object.prototype.hasOwnProperty.call(o,f)&&(s[f]=o[f]);return s},V.apply(this,arguments)},xe=/([^\.]+)\.(?:([^\.]*)\.)?amazonaws\.com(.cn)?$/,et=function(){function s(){}return s.sign=function(o,u,l){if(o.headers=o.headers||{},o.body&&!o.data)throw new Error('The attribute "body" was found on the request object. Please use the attribute "data" instead.');var f=V(V({},o),{body:o.data,url:new URL(o.url)}),M=function(s,o){var u=Ke(o),l=u.accessKeyId,f=u.credentialScope,p=u.longDate,M=u.sessionToken,ie=ms({},s.headers);ie[Le]=s.url.host,ie[A]=p,M&&(ie[g]=M);var Ce=ms(ms({},s),{headers:ie}),ve=ts(Ce,u),qe="Credential=".concat(l,"/").concat(f),gt="SignedHeaders=".concat(Xo(ie)),vt="Signature=".concat(ve);return ie.authorization="".concat(w," ").concat(qe,", ").concat(gt,", ").concat(vt),Ce}(f,ut(f,u,l));return M.url=M.url.toString(),M.headers.Authorization=M.headers.authorization,M.headers["X-Amz-Security-Token"]=M.headers["x-amz-security-token"],delete M.headers.authorization,delete M.headers["x-amz-security-token"],M}
1,s.signUrl=function(o,u,l,f){var Ce={body:"object"==typeof o?o.body:void 0,method:"object"==typeof o?o.method:"GET",url:new URL("object"==typeof o?o.url:o)},ve=ut(Ce,u,l,f),qe=function(s,o){var u,l,f,p,M=s.body,ie=s.method,Ce=void 0===ie?"GET":ie,ve=s.url,qe=o.expiration,gt=function(s,o){var u={};for(var l in s)Object.prototype.hasOwnProperty.call(s,l)&&o.indexOf(l)<0&&(u[l]=s[l]);if(null!=s&&"function"==typeof Object.getOwnPropertySymbols){var f=0;for(l=Object.getOwnPropertySymbols(s);f<l.length;f++)o.indexOf(l[f])<0&&Object.prototype.propertyIsEnumerable.call(s,l[f])&&(u[l[f]]=s[l[f]])}return u}(o,["expiration"]),vt=Ke(gt),Lt=vt.accessKeyId,Ft=vt.credentialScope,sn=vt.longDate,un=vt.sessionToken,ir=new URL(ve);Object.entries(Cs(Cs((u={},u["X-Amz-Algorithm"]=w,u["X-Amz-Credential"]="".concat(Lt,"/").concat(Ft),u[qt]=sn,u["X-Amz-SignedHeaders"]=Le,u),qe&&(l={},l["X-Amz-Expires"]=qe.toString(),l)),un&&(f={},f[Te]=un,f))).forEach(function(Kr){var Wr=function(s,o){var u="function"==typeof Symbol&&s[Symbol.iterator];if(!u)return s;var f,M,l=u.call(s),p=[];try{for(;(void 0===o||o-- >0)&&!(f=l.next()).done;)p.push(f.value)}catch(ie){M={error:ie}}finally{try{f&&!f.done&&(u=l.return)&&u.call(l)}finally{if(M)throw M.error}}return p}(Kr,2);ir.searchParams.append(Wr[0],Wr[1])});var dr={body:M,headers:(p={},p[Le]=ve.host,p),method:Ce,url:ir},fr=ts(dr,vt);return ir.searchParams.append("X-Amz-Signature",fr),ir}(Ce,ve);return u.session_token&&!Nt(ve.signingService)&&qe.searchParams.append(Te,u.session_token),qe.toString()},s}(),ut=function(s,o,u,l){var f=o??{},p=f.access_key,M=f.secret_key,ie=f.session_token,Ce=Tt(s.url),gt=u??{},vt=gt.region,Lt=void 0===vt?Ce.region:vt,Ft=gt.service,sn=void 0===Ft?Ce.service:Ft,un=V({accessKeyId:p,secretAccessKey:M},Nt(sn)?{sessionToken:ie}:{});return V({credentials:un,signingDate:pi.getDateWithClockOffset(),signingRegion:Lt,signingService:sn},l&&{expiration:l})},Tt=function(s){var o,f=(null!==(o=s.host.match(xe))&&void 0!==o?o:[]).slice(1,3);return"es"===f[1]&&(f=f.reverse()),{service:f[0],region:f[1]}},Nt=function(s){return"iotdevicegateway"!==s},An=function(s,o){return(An=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(u,l){u.__proto__=l}||function(u,l){for(var f in l)l.hasOwnProperty(f)&&(u[f]=l[f])})(s,o)},xt={keyPrefix:"aws-amplify-cache",capacityInBytes:1048576,itemMaxSize:21e4,defaultTTL:2592e5,defaultPriority:5,warningThreshold:.8,storage:(new(v(5925).i)).getStorage()};function Jn(s){var o=0;o=s.length;for(var u=s.length;u>=0;u-=1){var l=s.charCodeAt(u);l>127&&l<=2047?o+=1:l>2047&&l<=65535&&(o+=2),l>=56320&&l<=57343&&(u-=1)}return o}function wr(){return(new Date).getTime()}function Or(s){return Number.isInteger?Number.isInteger(s):function Sr(s){return"number"==typeof s&&isFinite(s)&&Math.floor(s)===s}(s)}var lr={},qr=(function(){function s(){}s.clear=function(){lr={}},s.getItem=function(o){return lr[o]||null},s.setItem=function(o,u){lr[o]=u},s.removeItem=function(o){delete lr[o]}}(),new Ie.C("StorageCache")),gr=function(){function s(o){this.config=Object.assign({},o),this.cacheCurSizeKey=this.config.keyPrefix+"CurSize",this.checkConfig()}return s.prototype.getModuleName=function(){return"Cache"},s.prototype.checkConfig=function(){Or(this.config.capacityInBytes)||(qr.error("Invalid parameter: capacityInBytes. It should be an Integer. Setting back to default."),this.config.capacityInBytes=xt.capacityInBytes),Or(this.config.itemMaxSize)||(qr.error("Invalid parameter: itemMaxSize. It should be an Integer. Setting back to default."),this.config.itemMaxSize=xt.itemMaxSize),Or(this.config.defaultTTL)||(qr.error("Invalid parameter: defaultTTL. It should be an Integer. Setting back to default."),this.config.defaultTTL=xt.defaultTTL),Or(this.config.defaultPriority)||(qr.error("Invalid parameter: defaultPriority. It should be an Integer. Setting back to default."),this.config.defaultPriority=xt.defaultPriority),this.config.itemMaxSize>this.config.capacityInBytes&&(qr.error("Invalid parameter: itemMaxSize. It should be smaller than capacityInBytes. Setting back to default."),this.config.itemMaxSize=xt.itemMaxSize),(this.config.defaultPriority>5||this.config.defaultPriority<1)&&(qr.error("Invalid parameter: defaultPriority. It should be between 1 and 5. Setting back to default."),this.config.defaultPriority=xt.defaultPriority),(Number(this.config.warningThreshold)>1||Number(this.config.warningThreshold)<0)&&(qr.error("Invalid parameter: warningThreshold. It should be between 0 and 1. Setting back to default."),this.config.warningThreshold=xt.warningThreshold),this.config.capacityInBytes>5242880&&(qr.error("Cache Capacity should be less than 5MB. Setting back to default. Setting back to default."),this.config.capacityInBytes=xt.capacityInBytes)},s.prototype.fillCacheItem=function(o,u,l){var f={key:o,data:u,timestamp:wr(),visitedTime:wr(),priority:l.priority,expires:l.expires,type:typeof u,byteSize:0};return f.byteSize=Jn(JSON.stringify(f)),f.byteSize=Jn(JSON.stringify(f)),f},s.prototype.configure=function(o){return o?(o.keyPrefix&&qr.warn("Don't try to configure keyPrefix!"),this.config=Object.assign({},this.config,o,o.Cache),this.checkConfig(),this.config):this.config},s}
1(),Wt=new Ie.C("Cache"),Pn=function(s){function o(u){var l=this,f=u?Object.assign({},xt,u):xt;return(l=s.call(this,f)||this).config.storage=f.storage,l.getItem=l.getItem.bind(l),l.setItem=l.setItem.bind(l),l.removeItem=l.removeItem.bind(l),l}return function $n(s,o){function u(){this.constructor=s}An(s,o),s.prototype=null===o?Object.create(o):(u.prototype=o.prototype,new u)}(o,s),o.prototype._decreaseCurSizeInBytes=function(u){var l=this.getCacheCurSize();this.config.storage.setItem(this.cacheCurSizeKey,(l-u).toString())},o.prototype._increaseCurSizeInBytes=function(u){var l=this.getCacheCurSize();this.config.storage.setItem(this.cacheCurSizeKey,(l+u).toString())},o.prototype._refreshItem=function(u,l){return u.visitedTime=wr(),this.config.storage.setItem(l,JSON.stringify(u)),u},o.prototype._isExpired=function(u){var l=this.config.storage.getItem(u),f=JSON.parse(l);return wr()>=f.expires},o.prototype._removeItem=function(u,l){var f=l||JSON.parse(this.config.storage.getItem(u)).byteSize;this._decreaseCurSizeInBytes(f),this.config.storage.removeItem(u)},o.prototype._setItem=function(u,l){this._increaseCurSizeInBytes(l.byteSize);try{this.config.storage.setItem(u,JSON.stringify(l))}catch(f){this._decreaseCurSizeInBytes(l.byteSize),Wt.error("Failed to set item "+f)}},o.prototype._sizeToPop=function(u){var l=this.getCacheCurSize()+u-this.config.capacityInBytes,f=(1-this.config.warningThreshold)*this.config.capacityInBytes;return l>f?l:f},o.prototype._isCacheFull=function(u){return u+this.getCacheCurSize()>this.config.capacityInBytes},o.prototype._findValidKeys=function(){for(var u=[],l=[],f=0;f<this.config.storage.length;f+=1)l.push(this.config.storage.key(f));for(f=0;f<l.length;f+=1){var p=l[f];0===p.indexOf(this.config.keyPrefix)&&p!==this.cacheCurSizeKey&&(this._isExpired(p)?this._removeItem(p):u.push(p))}return u},o.prototype._popOutItems=function(u,l){for(var f=[],p=l,M=0;M<u.length;M+=1){var ie=this.config.storage.getItem(u[M]);if(null!=ie){var Ce=JSON.parse(ie);f.push(Ce)}}for(f.sort(function(ve,qe){return ve.priority>qe.priority?-1:ve.priority<qe.priority?1:ve.visitedTime<qe.visitedTime?-1:1}),M=0;M<f.length;M+=1)if(this._removeItem(f[M].key,f[M].byteSize),(p-=f[M].byteSize)<=0)return},o.prototype.setItem=function(u,l,f){Wt.log("Set item: key is "+u+", value is "+l+" with options: "+f);var p=this.config.keyPrefix+u;if(p!==this.config.keyPrefix&&p!==this.cacheCurSizeKey)if(typeof l>"u")Wt.warn("The value of item should not be undefined!");else{var M={priority:f&&void 0!==f.priority?f.priority:this.config.defaultPriority,expires:f&&void 0!==f.expires?f.expires:this.config.defaultTTL+wr()};if(M.priority<1||M.priority>5)Wt.warn("Invalid parameter: priority due to out or range. It should be within 1 and 5.");else{var ie=this.fillCacheItem(p,l,M);if(ie.byteSize>this.config.itemMaxSize)Wt.warn("Item with key: "+u+" you are trying to put into is too big!");else try{var Ce=this.config.storage.getItem(p);if(Ce&&this._removeItem(p,JSON.parse(Ce).byteSize),this._isCacheFull(ie.byteSize)){var ve=this._findValidKeys();if(this._isCacheFull(ie.byteSize)){var qe=this._sizeToPop(ie.byteSize);this._popOutItems(ve,qe)}}this._setItem(p,ie)}catch(gt){Wt.warn("setItem failed! "+gt)}}}else Wt.warn("Invalid key: should not be empty or 'CurSize'")},o.prototype.getItem=function(u,l){Wt.log("Get item: key is "+u+" with options "+l);var f=null,p=this.config.keyPrefix+u;if(p===this.config.keyPrefix||p===this.cacheCurSizeKey)return Wt.warn("Invalid key: should not be empty or 'CurSize'"),null;try{if(null!=(f=this.config.storage.getItem(p))){if(!this._isExpired(p)){var M=JSON.parse(f);return(M=this._refreshItem(M,p)).data}this._removeItem(p,JSON.parse(f).byteSize),f=null}if(l&&void 0!==l.callback){var ie=l.callback();return null!==ie&&this.setItem(u,ie,l),ie}return null}catch(Ce){return Wt.warn("getItem failed! "+Ce),null}},o.prototype.removeItem=function(u){Wt.log("Remove item: key is "+u);var l=this.config.keyPrefix+u;if(l!==this.config.keyPrefix&&l!==this.cacheCurSizeKey)try{var f=this.config.storage.getItem(l);f&&this._removeItem(l,JSON.parse(f).byteSize)}
1catch(p){Wt.warn("removeItem failed! "+p)}},o.prototype.clear=function(){Wt.log("Clear Cache");for(var u=[],l=0;l<this.config.storage.length;l+=1){var f=this.config.storage.key(l);0===f.indexOf(this.config.keyPrefix)&&u.push(f)}try{for(l=0;l<u.length;l+=1)this.config.storage.removeItem(u[l])}catch(p){Wt.warn("clear failed! "+p)}},o.prototype.getAllKeys=function(){for(var u=[],l=0;l<this.config.storage.length;l+=1){var f=this.config.storage.key(l);0===f.indexOf(this.config.keyPrefix)&&f!==this.cacheCurSizeKey&&u.push(f.substring(this.config.keyPrefix.length))}return u},o.prototype.getCacheCurSize=function(){var u=this.config.storage.getItem(this.cacheCurSizeKey);return u||(this.config.storage.setItem(this.cacheCurSizeKey,"0"),u="0"),Number(u)},o.prototype.createInstance=function(u){return(!u.keyPrefix||u.keyPrefix===xt.keyPrefix)&&(Wt.error("invalid keyPrefix, setting keyPrefix with timeStamp"),u.keyPrefix=wr.toString()),new o(u)},o}(gr),jr=new Pn;We.H.register(jr);var Gr=v(5036),Pi=new Ie.C("AbstractPubSubProvider"),ao=function(){function s(o){this._config=o}return s.prototype.configure=function(o){return this._config=fi(fi({},o),this._config),Pi.debug("configure "+this.getProviderName(),this._config),this.options},s.prototype.getCategory=function(){return"PubSub"},Object.defineProperty(s.prototype,"options",{get:function(){return fi({},this._config)},enumerable:!0,configurable:!0}),s}(),Ki=function(s){return s.CONNECTION_CLOSED="Connection closed",s.CONNECTION_FAILED="Connection failed",s.REALTIME_SUBSCRIPTION_INIT_ERROR="AppSync Realtime subscription init error",s.SUBSCRIPTION_ACK="Subscription ack",s.TIMEOUT_DISCONNECT="Timeout disconnect",s}(Ki||{}),$r=function(s){return s.Connected="Connected",s.ConnectedPendingNetwork="ConnectedPendingNetwork",s.ConnectionDisrupted="ConnectionDisrupted",s.ConnectionDisruptedPendingNetwork="ConnectionDisruptedPendingNetwork",s.Connecting="Connecting",s.ConnectedPendingDisconnect="ConnectedPendingDisconnect",s.Disconnected="Disconnected",s.ConnectedPendingKeepAlive="ConnectedPendingKeepAlive",s}($r||{}),ns=[400,401,403],Qo=function(s){return s.GQL_CONNECTION_INIT="connection_init",s.GQL_CONNECTION_ERROR="connection_error",s.GQL_CONNECTION_ACK="connection_ack",s.GQL_START="start",s.GQL_START_ACK="start_ack",s.GQL_DATA="data",s.GQL_CONNECTION_KEEP_ALIVE="ka",s.GQL_STOP="stop",s.GQL_COMPLETE="complete",s.GQL_ERROR="error",s}(Qo||{}),Fs=function(s){return s[s.PENDING=0]="PENDING",s[s.CONNECTED=1]="CONNECTED",s[s.FAILED=2]="FAILED",s}(Fs||{}),po=function(s){return s[s.CLOSED=0]="CLOSED",s[s.READY=1]="READY",s[s.CONNECTING=2]="CONNECTING",s}(po||{}),Fi=typeof Symbol<"u"&&"function"==typeof Symbol.for?Symbol.for("amplify_default"):"@@amplify_default",Na={accept:"application/json, text/javascript","content-encoding":"amz-1.0","content-type":"application/json; charset=UTF-8"},Nr=function(){function s(){}return s.prototype.networkMonitor=function(o){if((0,zo.gy)().isNode)return mo.from([{online:!0}]);var u=(0,zo.p7)()?self:window;return new mo(function(l){l.next({online:u.navigator.onLine});var f=function(){return l.next({online:!0})},p=function(){return l.next({online:!1})};return u.addEventListener("online",f),u.addEventListener("offline",p),s._observers.push(l),function(){u.removeEventListener("online",f),u.removeEventListener("offline",p),s._observers=s._observers.filter(function(M){return M!==l})}})},s._observerOverride=function(o){var u,l,f=function(Ce){if(Ce.closed)return s._observers=s._observers.filter(function(ve){return ve!==Ce}),"continue";Ce.next(o)};try{for(var p=function(s){var o="function"==typeof Symbol&&Symbol.iterator,u=o&&s[o],l=0;if(u)return u.call(s);if(s&&"number"==typeof s.length)return{next:function(){return s&&l>=s.length&&(s=void 0),{value:s&&s[l++],done:!s}}};throw new TypeError(o?"Object is not iterable.":"Symbol.iterator is not defined.")}(s._observers),M=p.next();!M.done;M=p.next())f(M.value)}catch(Ce){u={error:Ce}}finally{try{M&&!M.done&&(l=p.return)&&l.call(p)}finally{if(u)throw u.error}}},s._observers=[],s}();const va=Nr;var oa=function(){return(new va).networkMonitor()},xi={KEEP_ALIVE_MISSED:{keepAliveState:"unhealthy"},KEEP_ALIVE:{keepAliveState:"healthy"},CONNECTION_ESTABLISHED:{connectionState:"connected"},CONNECTION_FAILED:{intendedConnectionState:"disconnected",connectionState:"disconnected"},CLOSING_CONNECTION:{intendedConnectionState:"disconnected"},OPENING_CONNECTION:{intendedConnectionState:"connected",connectionState:"connecting"},CLOSED:{connectionState:"disconnected"},ONLINE:{networkState:"connected"},OFFLINE:{networkState:"disconnected"}},ru=function(){function s(){var o=this;this._networkMonitoringSubscription=void 0,this._linkedConnectionState={networkState:"connected",connectionState:"disconnected",intendedConnectionState:"disconnected",keepAliveState:"healthy"},this._initialNetworkStateSubscription=oa().subscribe(function(u){var f;o.record(u.online?xi.ONLINE:xi.OFFLINE),null===(f=o._initialNetworkStateSubscription)||void 0===f||f.unsubscribe()}
1),this._linkedConnectionStateObservable=new mo(function(u){u.next(o._linkedConnectionState),o._linkedConnectionStateObserver=u})}return s.prototype.enableNetworkMonitoring=function(){var u,o=this;null===(u=this._initialNetworkStateSubscription)||void 0===u||u.unsubscribe(),void 0===this._networkMonitoringSubscription&&(this._networkMonitoringSubscription=oa().subscribe(function(l){o.record(l.online?xi.ONLINE:xi.OFFLINE)}))},s.prototype.disableNetworkMonitoring=function(){var o;null===(o=this._networkMonitoringSubscription)||void 0===o||o.unsubscribe(),this._networkMonitoringSubscription=void 0},Object.defineProperty(s.prototype,"connectionStateObservable",{get:function(){var u,o=this;return this._linkedConnectionStateObservable.map(function(l){return o.connectionStatesTranslator(l)}).filter(function(l){var f=l!==u;return u=l,f})},enumerable:!0,configurable:!0}),s.prototype.record=function(o){"connected"===o.intendedConnectionState?this.enableNetworkMonitoring():"disconnected"===o.intendedConnectionState&&this.disableNetworkMonitoring();var u=fi(fi({},this._linkedConnectionState),o);this._linkedConnectionState=fi({},u),this._linkedConnectionStateObserver.next(this._linkedConnectionState)},s.prototype.connectionStatesTranslator=function(o){var u=o.connectionState,l=o.networkState,f=o.intendedConnectionState;return"connected"===u&&"disconnected"===l?$r.ConnectedPendingNetwork:"connected"===u&&"disconnected"===f?$r.ConnectedPendingDisconnect:"disconnected"===u&&"connected"===f&&"disconnected"===l?$r.ConnectionDisruptedPendingNetwork:"disconnected"===u&&"connected"===f?$r.ConnectionDisrupted:"connected"===u&&"unhealthy"===o.keepAliveState?$r.ConnectedPendingKeepAlive:"connecting"===u?$r.Connecting:"disconnected"===u?$r.Disconnected:$r.Connected},s}(),cs=function(s){return s.START_RECONNECT="START_RECONNECT",s.HALT_RECONNECT="HALT_RECONNECT",s}(cs||{}),to=function(){function s(){this.reconnectObservers=[]}return s.prototype.addObserver=function(o){this.reconnectObservers.push(o)},s.prototype.record=function(o){var u=this;o===cs.START_RECONNECT&&void 0===this.reconnectSetTimeoutId&&void 0===this.reconnectIntervalId&&(this.reconnectSetTimeoutId=setTimeout(function(){u._triggerReconnect(),u.reconnectIntervalId=setInterval(function(){u._triggerReconnect()},6e4)},5e3)),o===cs.HALT_RECONNECT&&(this.reconnectIntervalId&&(clearInterval(this.reconnectIntervalId),this.reconnectIntervalId=void 0),this.reconnectSetTimeoutId&&(clearTimeout(this.reconnectSetTimeoutId),this.reconnectSetTimeoutId=void 0))},s.prototype.close=function(){this.reconnectObservers.forEach(function(o){var u;null===(u=o.complete)||void 0===u||u.call(o)})},s.prototype._triggerReconnect=function(){this.reconnectObservers.forEach(function(o){var u;null===(u=o.next)||void 0===u||u.call(o)})},s}(),_i=new Ie.C("AWSAppSyncRealTimeProvider"),No=function(s,o,u){ho.Y.dispatch("api",{event:s,data:o,message:u},"PubSub",Fi)},iu=/^https:\/\/\w{26}\.appsync\-api\.\w{2}(?:(?:\-\w{2,})+)\-\d\.amazonaws.com(?:\.cn)?\/graphql$/i,ou=function(s){function o(u){void 0===u&&(u={});var l=s.call(this,u)||this;return l.socketStatus=po.CLOSED,l.keepAliveTimeout=3e5,l.subscriptionObserverMap=new Map,l.promiseArray=[],l.connectionStateMonitor=new ru,l.reconnectionMonitor=new to,l.connectionStateMonitorSubscription=l.connectionStateMonitor.connectionStateObservable.subscribe(function(f){No("ConnectionStateChange",{provider:l,connectionState:f},"Connection state is "+f),l.connectionState=f,f===$r.ConnectionDisrupted&&l.reconnectionMonitor.record(cs.START_RECONNECT),[$r.Connected,$r.ConnectedPendingDisconnect,$r.ConnectedPendingKeepAlive,$r.ConnectedPendingNetwork,$r.ConnectionDisruptedPendingNetwork,$r.Disconnected].includes(f)&&l.reconnectionMonitor.record(cs.HALT_RECONNECT)}),l}return function Ti(s,o){function u(){this.constructor=s}Uo(s,o),s.prototype=null===o?Object.create(o):(u.prototype=o.prototype,new u)}(o,s),o.prototype.close=function(){this.socketStatus=po.CLOSED,this.connectionStateMonitor.record(xi.CONNECTION_FAILED),this.connectionStateMonitorSubscription.unsubscribe(),this.reconnectionMonitor.close()},o.prototype.getNewWebSocket=function(u,l){return new WebSocket(u,l)},o.prototype.getProviderName=function(){return"AWSAppSyncRealTimeProvider"},o.prototype.newClient=function(){throw new Error("Not used here")},o.prototype.publish=function(u,l,f){return Ci(this,void 0,void 0,function(){return ui(this,function(p){throw new Error("Operation not supported")})})},o.prototype.isCustomDomain=function(u){return null===u.match(iu)},o.prototype.subscribe=function(u,l,f){var p=this,M=l?.appSyncGraphqlEndpoint;return new mo(function(ie){if(l&&M){var gt,Ce=!1,ve=(0,Vo.v4)(),qe=function(){Ce||(Ce=!0,p._startSubscriptionWithAWSAppSyncRealTime({options:l,observer:ie,subscriptionId:ve,customUserAgentDetails:f}).catch(function(Lt){_i.debug(Ki.REALTIME_SUBSCRIPTION_INIT_ERROR+": "+Lt),p.connectionStateMonitor.record(xi.CLOSED)}).finally(function(){Ce=!1}))};return gt=new mo(function(vt){p.reconnectionMonitor.addObserver(vt)}).subscribe(function(){qe()}),qe(),function(){return Ci(p,void 0,void 0,function(){var vt,Lt;return ui(this,function(Ft){switch(Ft.label){case 0:gt?.unsubscribe(),Ft.label=1;case 1:return Ft.trys.push([1,3,4,5]),[4,this._waitForSubscriptionToBeConnected(ve)];case 2:if(Ft.sent(),!(vt=(this.subscriptionObserverMap.get(ve)||{}).subscriptionState))return[2];if(vt!==Fs.CONNECTED)throw new Error("Subscription never connected");return this._sendUnsubscriptionMessage(ve),[3,5];case 3:return Lt=Ft.sent(),_i.debug("Error while unsubscribing "+Lt),[3,5];case 4:return this._removeSubscriptionObserver(ve),[7];case 5:return[2]}})})}}ie.error({errors:[fi({},new Xe("Subscribe only available for AWS AppSync endpoint"))]}),ie.complete()})},Object.defineProperty(o.prototype,"isSSLEnabled",{get:function(){return!this.options.aws_appsync_dangerously_connect_to_http_endpoint_for_testing},enumerable:!0,configurable:!0}),o.prototype._startSubscriptionWithAWSAppSyncRealTime=function(u){var ie,l=u.options,f=u.observer,p=u.subscriptionId,M=u.customUserAgentDetails;return Ci(this,void 0,void 0,function(){var Ce,ve,qe,gt,vt,Lt,Ft,sn,un,ir,dr,fr,Kr,Wr,ni,Oi,Bi,bo,go,es,ro,Kd=this;return ui(this,function(qa){switch(qa.label){case 0:return Ce=l.appSyncGraphqlEndpoint,ve=l.authenticationType,vt=l.apiKey,Lt=l.region,sn=void 0===(Ft=l.graphql_headers)?function(){return{}}:Ft,ir=void 0===(un=l.additionalHeaders)?{}:un,fr={query:qe=l.query,variables:gt=l.variables},this.subscriptionObserverMap.set(p,{observer:f,query:qe??"",variables:gt??{},subscriptionState:dr=Fs.PENDING,startAckTimeoutId:void 0}),Kr=JSON.stringify(fr),ni=[{}],[4,this._awsRealTimeHeaderBasedAuth({apiKey:vt,appSyncGraphqlEndpoint:Ce,authenticationType:ve,payload:Kr,canonicalUri:"",region:Lt,additionalHeaders:ir})];case 1:return Oi=[fi.apply(void 0,ni.concat([qa.sent()]))],[4,sn()];case 2:Wr=fi.apply(void 0,[fi.apply(void 0,[fi.apply(void 0,Oi.concat([qa.sent()])),ir]),(ro={},ro[Xi.Y]=(0,Go.fE)(M),ro)]),Bi={id:p,payload:{data:Kr,extensions:{authorization:fi({},Wr)}},type:Qo.GQL_START},bo=JSON.stringify(Bi),qa.label=3;case 3:return qa.trys.push([3,5,,6]),this.connectionStateMonitor.record(xi.OPENING_CONNECTION),[4,this._initializeWebSocketConnection({apiKey:vt,appSyncGraphqlEndpoint:Ce,authenticationType:ve,region:Lt,additionalHeaders:ir})];case 4:return qa.sent(),[3,6];case 5:return go=qa.sent(),this._logStartSubscriptionError(p,f,go),[2];case 6:return es=null!==(ie=this.subscriptionObserverMap.get(p))&&void 0!==ie?ie:{},this.subscriptionObserverMap.set(p,{observer:f,subscriptionState:dr,query:qe??"",variables:gt??{},subscriptionReadyCallback:es.subscriptionReadyCallback,subscriptionFailedCallback:es.subscriptionFailedCallback,startAckTimeoutId:setTimeout(function(){Kd._timeoutStartSubscriptionAck.call(Kd,p)},15e3)}),this.awsRealTimeSocket&&this.awsRealTimeSocket.send(bo),[2]}})})},o.prototype._logStartSubscriptionError=function(u,l,f){var p;_i.debug({err:f});var M=String(null!==(p=f.message)&&void 0!==p?p:"");if(Promise.resolve(this.connectionStateMonitor.record(xi.CLOSED)),this.connectionState!==$r.ConnectionDisruptedPendingNetwork){(0,er.gD)(f)?l.error({errors:[fi({},new Xe(Ki.CONNECTION_FAILED+": "+M))]}):_i.debug(Ki.CONNECTION_FAILED+": "+M);var ie=(this.subscriptionObserverMap.get(u)||{}).subscriptionFailedCallback;"function"==typeof ie&&ie()}},o.prototype._waitForSubscriptionToBeConnected=function(u){return Ci(this,void 0,void 0,function(){var l,p=this;return ui(this,function(M){return(l=this.subscriptionObserverMap.get(u))&&l.subscriptionState===Fs.PENDING?[2,new Promise(function(ie,Ce){p.subscriptionObserverMap.set(u,{observer:l.observer,subscriptionState:l.subscriptionState,variables:l.variables,query:l.query,subscriptionReadyCallback:ie,subscriptionFailedCallback:Ce})})]:[2]})})},o.prototype._sendUnsubscriptionMessage=function(u){try{if(this.awsRealTimeSocket&&this.awsRealTimeSocket.readyState===WebSocket.OPEN&&this.socketStatus===po.READY){var f=JSON.stringify({id:u,type:Qo.GQL_STOP});this.awsRealTimeSocket.send(f)}}catch(p){_i.debug({err:p})}},o.prototype._removeSubscriptionObserver=function(u){this.subscriptionObserverMap.delete(u),setTimeout(this._closeSocketIfRequired.bind(this),1e3)},o.prototype._closeSocketIfRequired=function(){if(!(this.subscriptionObserverMap.size>0)){if(!this.awsRealTimeSocket)return void(this.socketStatus=po.CLOSED);if(this.connectionStateMonitor.record(xi.CLOSING_CONNECTION),this.awsRealTimeSocket.bufferedAmount>0)setTimeout(this._closeSocketIfRequired.bind(this),1e3);else{_i.debug("closing WebSocket..."),this.keepAliveTimeoutId&&clearTimeout(this.keepAliveTimeoutId),this.keepAliveAlertTimeoutId&&clearTimeout(this.keepAliveAlertTimeoutId);var u=this.awsRealTimeSocket;u.onclose=null,u.onerror=null,u.close(1e3),this.awsRealTimeSocket=void 0,this.socketStatus=po.CLOSED,this.connectionStateMonitor.record(xi.CLOSED)}}},o.prototype._handleIncomingSubscriptionMessage=function(u){var l=this;if("string"==typeof u.data){_i.debug("subscription message from AWS AppSync RealTime: "+u.data);var f=JSON.parse(String(u.data)),p=f.id,M=void 0===p?"":p,ie=f.payload,Ce=f.type,ve=this.subscriptionObserverMap.get(M)||{},qe=ve.observer,gt=void 0===qe?null:qe,vt=ve.query,Lt=void 0===vt?"":vt,Ft=ve.variables,sn=void 0===Ft?{}:Ft,un=ve.startAckTimeoutId,ir=ve.subscriptionReadyCallback,dr=ve.subscriptionFailedCallback;if(_i.debug({id:M,observer:gt,query:Lt,variables:sn}),Ce===Qo.GQL_DATA&&ie&&ie.data)return void(gt?gt.next(ie):_i.debug("observer not found for id: "+M));if(Ce===Qo.GQL_START_ACK){_i.debug("subscription ready for "+JSON.stringify({query:Lt,variables:sn})),"function"==typeof ir&&ir(),un&&clearTimeout(un),No(Ki.SUBSCRIPTION_ACK,{query:Lt,variables:sn},"Connection established for subscription");var fr=Fs.CONNECTED;return gt&&this.subscriptionObserverMap.set(M,{observer:gt,query:Lt,variables:sn,startAckTimeoutId:void 0,subscriptionState:fr,subscriptionReadyCallback:ir,subscriptionFailedCallback:dr}),void this.connectionStateMonitor.record(xi.CONNECTION_ESTABLISHED)}if(Ce===Qo.GQL_CONNECTION_KEEP_ALIVE)return this.keepAliveTimeoutId&&clearTimeout(this.keepAliveTimeoutId),this.keepAliveAlertTimeoutId&&clearTimeout(this.keepAliveAlertTimeoutId),this.keepAliveTimeoutId=setTimeout(function(){return l._errorDisconnect(Ki.TIMEOUT_DISCONNECT)},this.keepAliveTimeout),this.keepAliveAlertTimeoutId=setTimeout(function(){l.connectionStateMonitor.record(xi.KEEP_ALIVE_MISSED)},65e3),void this.connectionStateMonitor.record(xi.KEEP_ALIVE);Ce===Qo.GQL_ERROR&&(fr=Fs.FAILED,gt&&(this.subscriptionObserverMap.set(M,{observer:gt,query:Lt,variables:sn,startAckTimeoutId:un,subscriptionReadyCallback:ir,subscriptionFailedCallback:dr,subscriptionState:fr}),_i.debug(Ki.CONNECTION_FAILED+": "+JSON.stringify(ie)),gt.error({errors:[fi({},new Xe(Ki.CONNECTION_FAILED+": "+JSON.stringify(ie)))]}),un&&clearTimeout(un),"function"==typeof dr&&dr()))}},o.prototype._errorDisconnect=function(u){_i.debug("Disconnect error: "+u),this.awsRealTimeSocket&&(this.connectionStateMonitor.record(xi.CLOSED),this.awsRealTimeSocket.close()),this.socketStatus=po.CLOSED},o.prototype._timeoutStartSubscriptionAck=function(u){var l=this.subscriptionObserverMap.get(u);if(l){var f=l.observer,p=l.query,M=l.variables;if(!f)return;this.subscriptionObserverMap.set(u,{observer:f,query:p,variables:M,subscriptionState:Fs.FAILED}),this.connectionStateMonitor.record(xi.CLOSED),_i.debug("timeoutStartSubscription",JSON.stringify({query:p,variables:M}))}},o.prototype._initializeWebSocketConnection=function(u){var l=this,f=u.appSyncGraphqlEndpoint,p=u.authenticationType,M=u.apiKey,ie=u.region,Ce=u.additionalHeaders;if(this.socketStatus!==po.READY)return new Promise(function(ve,qe){return Ci(l,void 0,void 0,function(){var vt,Lt,Ft,sn,un,fr;return ui(this,function(Kr){switch(Kr.label){case 0:if(this.promiseArray.push({res:ve,rej:qe}),this.socketStatus!==po.CLOSED)return[3,5];Kr.label=1;case 1:return Kr.trys.push([1,4,,5]),this.socketStatus=po.CONNECTING,[4,this._awsRealTimeHeaderBasedAuth({authenticationType:p,payload:"{}",canonicalUri:"/connect",apiKey:M,appSyncGraphqlEndpoint:f,region:ie,additionalHeaders:Ce})];case 2:return vt=Kr.sent(),Lt=vt?JSON.stringify(vt):"",Ft=function(s){return Xs.hp.from(s).toString("base64").replace(/\+/g,"-").replace(/\//g,"_").replace(/=/g,"")}
1(Lt),sn=(sn=this.isCustomDomain(sn=f??"")?sn.concat("/realtime"):sn.replace("appsync-api","appsync-realtime-api").replace("gogi-beta","grt-beta")).replace("https://",un=this.isSSLEnabled?"wss://":"ws://").replace("http://",un),[4,this._initializeRetryableHandshake(sn,"header-"+Ft)];case 3:return Kr.sent(),this.promiseArray.forEach(function(Wr){var ni=Wr.res;_i.debug("Notifying connection successful"),ni()}),this.socketStatus=po.READY,this.promiseArray=[],[3,5];case 4:return fr=Kr.sent(),_i.debug("Connection exited with",fr),this.promiseArray.forEach(function(Wr){return(0,Wr.rej)(fr)}),this.promiseArray=[],this.awsRealTimeSocket&&this.awsRealTimeSocket.readyState===WebSocket.OPEN&&this.awsRealTimeSocket.close(3001),this.awsRealTimeSocket=void 0,this.socketStatus=po.CLOSED,[3,5];case 5:return[2]}})})})},o.prototype._initializeRetryableHandshake=function(u,l){return Ci(this,void 0,void 0,function(){return ui(this,function(f){switch(f.label){case 0:return _i.debug("Initializaling retryable Handshake"),[4,(0,er.hu)(this._initializeHandshake.bind(this),[u,l],5e3)];case 1:return f.sent(),[2]}})})},o.prototype._initializeHandshake=function(u,l){return Ci(this,void 0,void 0,function(){var f,p,M,Ce=this;return ui(this,function(ve){switch(ve.label){case 0:_i.debug("Initializing handshake "+u),ve.label=1;case 1:return ve.trys.push([1,4,,5]),[4,new Promise(function(qe,gt){var vt=Ce.getNewWebSocket(u,["graphql-ws",l]);vt.onerror=function(){_i.debug("WebSocket connection error")},vt.onclose=function(){gt(new Error("Connection handshake error"))},vt.onopen=function(){return Ce.awsRealTimeSocket=vt,qe()}})];case 2:return ve.sent(),[4,new Promise(function(qe,gt){if(Ce.awsRealTimeSocket){var vt=!1;Ce.awsRealTimeSocket.onerror=function(sn){_i.debug("WebSocket error "+JSON.stringify(sn))},Ce.awsRealTimeSocket.onclose=function(sn){_i.debug("WebSocket closed "+sn.reason),gt(new Error(JSON.stringify(sn)))},Ce.awsRealTimeSocket.onmessage=function(sn){if("string"==typeof sn.data){_i.debug("subscription message from AWS AppSyncRealTime: "+sn.data+" ");var un=JSON.parse(sn.data),ir=un.type,dr=un.payload,fr=(void 0===dr?{}:dr).connectionTimeoutMs;if(ir===Qo.GQL_CONNECTION_ACK)return vt=!0,Ce.awsRealTimeSocket&&(Ce.keepAliveTimeout=void 0===fr?3e5:fr,Ce.awsRealTimeSocket.onmessage=Ce._handleIncomingSubscriptionMessage.bind(Ce),Ce.awsRealTimeSocket.onerror=function(ro){_i.debug(ro),Ce._errorDisconnect(Ki.CONNECTION_CLOSED)},Ce.awsRealTimeSocket.onclose=function(ro){_i.debug("WebSocket closed "+ro.reason),Ce._errorDisconnect(Ki.CONNECTION_CLOSED)}),void qe("Cool, connected to AWS AppSyncRealTime");if(ir===Qo.GQL_CONNECTION_ERROR){var Wr=un.payload,ni=(void 0===Wr?{}:Wr).errors,Bi=function Po(s,o){var u="function"==typeof Symbol&&s[Symbol.iterator];if(!u)return s;var f,M,l=u.call(s),p=[];try{for(;(void 0===o||o-- >0)&&!(f=l.next()).done;)p.push(f.value)}catch(ie){M={error:ie}}finally{try{f&&!f.done&&(u=l.return)&&u.call(l)}finally{if(M)throw M.error}}return p}(void 0===ni?[]:ni,1)[0],bo=void 0===Bi?{}:Bi,go=bo.errorType,wo=bo.errorCode;gt({errorType:void 0===go?"":go,errorCode:void 0===wo?0:wo})}}},Ce.awsRealTimeSocket.send(JSON.stringify({type:Qo.GQL_CONNECTION_INIT})),setTimeout(function(){vt||(Ce.connectionStateMonitor.record(xi.CONNECTION_FAILED),gt(new Error("Connection timeout: ack from AWSAppSyncRealTime was not received after 15000 ms")))},15e3)}})];case 3:return ve.sent(),[3,5];case 4:throw f=ve.sent(),M=(p=f).errorType,ns.includes(p.errorCode)?new er.OI(M):M?new Error(M):f;case 5:return[2]}})})},o.prototype._awsRealTimeHeaderBasedAuth=function(u){var l=u.authenticationType,f=u.payload,p=u.canonicalUri,M=u.appSyncGraphqlEndpoint,ie=u.apiKey,Ce=u.region,ve=u.additionalHeaders;return Ci(this,void 0,void 0,function(){var qe,gt,vt;return ui(this,function(Ft){switch(Ft.label){case 0:return qe={API_KEY:this._awsRealTimeApiKeyHeader.bind(this),AWS_IAM:this._awsRealTimeIAMHeader.bind(this),OPENID_CONNECT:this._awsRealTimeOPENIDHeader.bind(this),AMAZON_COGNITO_USER_POOLS:this._awsRealTimeCUPHeader.bind(this),AWS_LAMBDA:this._customAuthHeader},l&&qe[l]?[3,1]:(_i.debug("Authentication type "+l+" not supported"),[2,void 0]);case 1:return gt=qe[l],vt=Qi.qg(M??"").host,_i.debug("Authenticating with "+l),[4,gt({payload:f,canonicalUri:p,appSyncGraphqlEndpoint:M,apiKey:ie,region:Ce,host:vt,additionalHeaders:ve})];case 2:return[2,Ft.sent()]}})})},o.prototype._awsRealTimeCUPHeader=function(u){var l=u.host;return Ci(this,void 0,void 0,function(){return ui(this,function(p){switch(p.label){case 0:return[4,Gr.N.currentSession()];case 1:return[2,{Authorization:p.sent().getAccessToken().getJwtToken(),host:l}]}})})},o.prototype._awsRealTimeOPENIDHeader=function(u){var l=u.host;return Ci(this,void 0,void 0,function(){var f,p,M;return ui(this,function(ie){switch(ie.label){case 0:return[4,jr.getItem("federatedInfo")];case 1:return(p=ie.sent())?(f=p.token,[3,4]):[3,2];case 2:return[4,Gr.N.currentAuthenticatedUser()];case 3:(M=ie.sent())&&(f=M.token),ie.label=4;case 4:if(!f)throw new Error("No federated jwt");return[2,{Authorization:f,host:l}]}})})},o.prototype._awsRealTimeApiKeyHeader=function(u){var l=u.apiKey,f=u.host;return Ci(this,void 0,void 0,function(){var M;return ui(this,function(ie){return M=(new Date).toISOString().replace(/[:\-]|\.\d{3}/g,""),[2,{host:f,"x-amz-date":M,"x-api-key":l}]})})},o.prototype._awsRealTimeIAMHeader=function(u){var l=u.payload,f=u.canonicalUri,p=u.appSyncGraphqlEndpoint,M=u.region;return Ci(this,void 0,void 0,function(){var ie,ve,qe;return ui(this,function(vt){switch(vt.label){case 0:return ie={region:M,service:"appsync"},[4,this._ensureCredentials()];case 1:if(!vt.sent())throw new Error("No credentials");return[4,Ri.J.get().then(function(Lt){return{secret_key:Lt.secretAccessKey,access_key:Lt.accessKeyId,session_token:Lt.sessionToken}})];case 2:return ve=vt.sent(),qe={url:""+p+f,data:l,method:"POST",headers:fi({},Na)},[2,et.sign(qe,ve,ie).headers]}})})},o.prototype._customAuthHeader=function(u){var l=u.host,f=u.additionalHeaders;if(!f||!f.Authorization)throw new Error("No auth token specified");return{Authorization:f.Authorization,host:l}},o.prototype._ensureCredentials=function(){return Ri.J.get().then(function(u){if(!u)return!1;
1var l=Ri.J.shear(u);return _i.debug("set credentials for AWSAppSyncRealTimeProvider",l),!0}).catch(function(u){return _i.warn("ensure credentials error",u),!1})},o}(ao),rs=(0,zo.gy)().isNode,ya=new Ie.C("PubSub"),Bc=function(){function s(o){this._options=o??{},ya.debug("PubSub Options",this._options),this._pluggables=[],this.subscribe=this.subscribe.bind(this)}return Object.defineProperty(s.prototype,"awsAppSyncRealTimeProvider",{get:function(){return this._awsAppSyncRealTimeProvider||(this._awsAppSyncRealTimeProvider=new ou(this._options)),this._awsAppSyncRealTimeProvider},enumerable:!0,configurable:!0}),s.prototype.getModuleName=function(){return"InternalPubSub"},s.prototype.configure=function(o){var u=this,l=o?o.PubSub||o:{};return ya.debug("configure PubSub",{opt:l}),this._options=Object.assign({},this._options,l),this._pluggables.map(function(f){return f.configure(u._options)}),this._options},s.prototype.addPluggable=function(o){return Ci(this,void 0,void 0,function(){return ui(this,function(l){return o&&"PubSub"===o.getCategory()?(this._pluggables.push(o),[2,o.configure(this._options)]):[2]})})},s.prototype.removePluggable=function(o){this._pluggables=this._pluggables.filter(function(u){return u.getProviderName()!==o})},s.prototype.getProviderByName=function(o){return o===Xi.b?this.awsAppSyncRealTimeProvider:this._pluggables.find(function(u){return u.getProviderName()===o})},s.prototype.getProviders=function(o){void 0===o&&(o={});var u=o.provider;if(!u)return this._pluggables;var l=this.getProviderByName(u);if(!l)throw new Error("Could not find provider named "+String(u));return[l]},s.prototype.publish=function(o,u,l){return Ci(this,void 0,void 0,function(){return ui(this,function(f){return[2,Promise.all(this.getProviders(l).map(function(p){return p.publish(o,u,l)}))]})})},s.prototype.subscribe=function(o,u,l){if(rs&&this._options&&this._options.ssr)throw new Error("Subscriptions are not supported for Server-Side Rendering (SSR)");ya.debug("subscribe options",u);var f=this.getProviders(u),p=fi({category:Ai.b7.PubSub,action:Ai.Mv.Subscribe},l);return new mo(function(M){var Ce=f.map(function(ve){return{provider:ve,observable:ve.subscribe(o,u,p)}}).map(function(ve){var qe=ve.provider;return ve.observable.subscribe({start:console.error,next:function(vt){return M.next({provider:qe,value:vt})},error:function(vt){return M.error({provider:qe,error:vt})}})});return function(){return Ce.forEach(function(ve){return ve.unsubscribe()})}})},s}(),Ra=new Bc;We.H.register(Ra);var Is=function(s){return s.NO_API_KEY="No api-key configured",s.NO_CURRENT_USER="No current user",s.NO_CREDENTIALS="No credentials",s.NO_FEDERATED_JWT="No federated jwt",s.NO_AUTH_TOKEN="No auth token specified",s}(Is||{}),Ho=function(){return Ho=Object.assign||function(o){for(var u,l=1,f=arguments.length;l<f;l++)for(var p in u=arguments[l])Object.prototype.hasOwnProperty.call(u,p)&&(o[p]=u[p]);return o},Ho.apply(this,arguments)};function su(s,o){var u={};for(var l in s)Object.prototype.hasOwnProperty.call(s,l)&&o.indexOf(l)<0&&(u[l]=s[l]);if(null!=s&&"function"==typeof Object.getOwnPropertySymbols){var f=0;for(l=Object.getOwnPropertySymbols(s);f<l.length;f++)o.indexOf(l[f])<0&&Object.prototype.propertyIsEnumerable.call(s,l[f])&&(u[l[f]]=s[l[f]])}return u}function ud(s,o,u,l){return new(u||(u=Promise))(function(p,M){function ie(qe){try{ve(l.next(qe))}catch(gt){M(gt)}}function Ce(qe){try{ve(l.throw(qe))}catch(gt){M(gt)}}function ve(qe){qe.done?p(qe.value):function f(p){return p instanceof u?p:new u(function(M){M(p)})}(qe.value).then(ie,Ce)}ve((l=l.apply(s,o||[])).next())})}function cd(s,o){var l,f,p,M,u={label:0,sent:function(){if(1&p[0])throw p[1];return p[1]},trys:[],ops:[]};return M={next:ie(0),throw:ie(1),return:ie(2)},"function"==typeof Symbol&&(M[Symbol.iterator]=function(){return this}),M;function ie(ve){return function(qe){return function Ce(ve){if(l)throw new TypeError("Generator is already executing.");for(;u;)try{if(l=1,f&&(p=2&ve[0]?f.return:ve[0]?f.throw||((p=f.return)&&p.call(f),0):f.next)&&!(p=p.call(f,ve[1])).done)return p;switch(f=0,p&&(ve=[2&ve[0],p.value]),ve[0]){case 0:case 1:p=ve;break;case 4:return u.label++,{value:ve[1],done:!1};case 5:u.label++,f=ve[1],ve=[0];continue;case 7:ve=u.ops.pop(),u.trys.pop();continue;default:if(!(p=(p=u.trys).length>0&&p[p.length-1])&&(6===ve[0]||2===ve[0])){u=0;continue}if(3===ve[0]&&(!p||ve[1]>p[0]&&ve[1]<p[3])){u.label=ve[1];break}if(6===ve[0]&&u.label<p[1]){u.label=p[1],p=ve;break}if(p&&u.label<p[2]){u.label=p[2],u.ops.push(ve);break}
1p[2]&&u.ops.pop(),u.trys.pop();continue}ve=o.call(s,u)}catch(qe){ve=[6,qe],f=0}finally{l=p=0}if(5&ve[0])throw ve[1];return{value:ve[0]?ve[1]:void 0,done:!0}}([ve,qe])}}}function Wi(s,o){return function(){return s.apply(o,arguments)}}const{toString:_a}=Object.prototype,{getPrototypeOf:Js}=Object,Zs=(s=>o=>{const u=_a.call(o);return s[u]||(s[u]=u.slice(8,-1).toLowerCase())})(Object.create(null)),_o=s=>(s=s.toLowerCase(),o=>Zs(o)===s),xa=s=>o=>typeof o===s,{isArray:sa}=Array,au=xa("undefined"),Vc=_o("ArrayBuffer"),dd=xa("string"),ls=xa("function"),uh=xa("number"),mi=s=>null!==s&&"object"==typeof s,aa=s=>{if("object"!==Zs(s))return!1;const o=Js(s);return!(null!==o&&o!==Object.prototype&&null!==Object.getPrototypeOf(o)||Symbol.toStringTag in s||Symbol.iterator in s)},Jo=_o("Date"),ch=_o("File"),uu=_o("Blob"),$a=_o("FileList"),Hc=_o("URLSearchParams"),[dh,Bs,fd,fh]=["ReadableStream","Request","Response","Headers"].map(_o);function Ea(s,o,{allOwnKeys:u=!1}={}){if(null===s||typeof s>"u")return;let l,f;if("object"!=typeof s&&(s=[s]),sa(s))for(l=0,f=s.length;l<f;l++)o.call(null,s[l],l,s);else{const p=u?Object.getOwnPropertyNames(s):Object.keys(s),M=p.length;let ie;for(l=0;l<M;l++)ie=p[l],o.call(null,s[ie],ie,s)}}function Pu(s,o){o=o.toLowerCase();const u=Object.keys(s);let f,l=u.length;for(;l-- >0;)if(f=u[l],o===f.toLowerCase())return f;return null}const Ts=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,cu=s=>!au(s)&&s!==Ts,gh=(s=>o=>s&&o instanceof s)(typeof Uint8Array<"u"&&Js(Uint8Array)),mh=_o("HTMLFormElement"),md=(({hasOwnProperty:s})=>(o,u)=>s.call(o,u))(Object.prototype),yh=_o("RegExp"),vd=(s,o)=>{const u=Object.getOwnPropertyDescriptors(s),l={};Ea(u,(f,p)=>{let M;!1!==(M=o(f,p,s))&&(l[p]=M||f)}),Object.defineProperties(s,l)},vi="abcdefghijklmnopqrstuvwxyz",Gc="0123456789",ka={DIGIT:Gc,ALPHA:vi,ALPHA_DIGIT:vi+vi.toUpperCase()+Gc},_h=_o("AsyncFunction"),zc=(s="function"==typeof setImmediate,o=ls(Ts.postMessage),s?setImmediate:o?(u=`axios@${Math.random()}`,l=[],Ts.addEventListener("message",({source:f,data:p})=>{f===Ts&&p===u&&l.length&&l.shift()()},!1),f=>{l.push(f),Ts.postMessage(u,"*")}):u=>setTimeout(u)),Zo=typeof queueMicrotask<"u"?queueMicrotask.bind(Ts):typeof process<"u"&&process.nextTick||zc,$t={isArray:sa,isArrayBuffer:Vc,isBuffer:function Us(s){return null!==s&&!au(s)&&null!==s.constructor&&!au(s.constructor)&&ls(s.constructor.isBuffer)&&s.constructor.isBuffer(s)},isFormData:s=>{let o;return s&&("function"==typeof FormData&&s instanceof FormData||ls(s.append)&&("formdata"===(o=Zs(s))||"object"===o&&ls(s.toString)&&"[object FormData]"===s.toString()))},isArrayBufferView:function ld(s){let o;return o=typeof ArrayBuffer<"u"&&ArrayBuffer.isView?ArrayBuffer.isView(s):s&&s.buffer&&Vc(s.buffer),o},isString:dd,isNumber:uh,isBoolean:s=>!0===s||!1===s,isObject:mi,isPlainObject:aa,isReadableStream:dh,isRequest:Bs,isResponse:fd,isHeaders:fh,isUndefined:au,isDate:Jo,isFile:ch,isBlob:uu,isRegExp:yh,isFunction:ls,isStream:s=>mi(s)&&ls(s.pipe),isURLSearchParams:Hc,isTypedArray:gh,isFileList:$a,forEach:Ea,merge:function lu(){const{caseless:s}=cu(this)&&this||{},o={},u=(l,f)=>{const p=s&&Pu(o,f)||f;o[p]=aa(o[p])&&aa(l)?lu(o[p],l):aa(l)?lu({},l):sa(l)?l.slice():l};for(let l=0,f=arguments.length;l<f;l++)arguments[l]&&Ea(arguments[l],u);return o},extend:(s,o,u,{allOwnKeys:l}={})=>(Ea(o,(f,p)=>{s[p]=u&&ls(f)?Wi(f,u):f},{allOwnKeys:l}),s),trim:s=>s.trim?s.trim():s.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,""),stripBOM:s=>(65279===s.charCodeAt(0)&&(s=s.slice(1)),s),inherits:(s,o,u,l)=>{s.prototype=Object.create(o.prototype,l),s.prototype.constructor=s,Object.defineProperty(s,"super",{value:o.prototype}),u&&Object.assign(s.prototype,u)},toFlatObject:(s,o,u,l)=>{let f,p,M;const ie={};if(o=o||{},null==s)return o;do{for(f=Object.getOwnPropertyNames(s),p=f.length;p-- >0;)M=f[p],(!l||l(M,s,o))&&!ie[M]&&(o[M]=s[M],ie[M]=!0);s=!1!==u&&Js(s)}while(s&&(!u||u(s,o))&&s!==Object.prototype);return o},kindOf:Zs,kindOfTest:_o,endsWith:(s,o,u)=>{s=String(s),(void 0===u||u>s.length)&&(u=s.length);const l=s.indexOf(o,u-=o.length);return-1!==l&&l===u},toArray:s=>{if(!s)return null;if(sa(s))return s;let o=s.length;if(!uh(o))return null;const u=new Array(o);for(;o-- >0;)u[o]=s[o];return u},forEachEntry:(s,o)=>{const l=(s&&s[Symbol.iterator]).call(s);let f;for(;(f=l.next())&&!f.done;){const p=f.value;o.call(s,p[0],p[1])}},matchAll:(s,o)=>{let u;const l=[];for(;null!==(u=s.exec(o));)l.push(u);return l},isHTMLForm:mh,hasOwnProperty:md,hasOwnProp:md,reduceDescriptors:vd,freezeMethods:s=>{vd(s,(o,u)=>{if(ls(s)&&-1!==["arguments","caller","callee"].indexOf(u))return!1;if(ls(s[u])){if(o.enumerable=!1,"writable"in o)return void(o.writable=!1);
1o.set||(o.set=()=>{throw Error("Can not rewrite read-only method '"+u+"'")})}})},toObjectSet:(s,o)=>{const u={},l=f=>{f.forEach(p=>{u[p]=!0})};return sa(s)?l(s):l(String(s).split(o)),u},toCamelCase:s=>s.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(u,l,f){return l.toUpperCase()+f}),noop:()=>{},toFiniteNumber:(s,o)=>null!=s&&Number.isFinite(s=+s)?s:o,findKey:Pu,global:Ts,isContextDefined:cu,ALPHABET:ka,generateString:(s=16,o=ka.ALPHA_DIGIT)=>{let u="";const{length:l}=o;for(;s--;)u+=o[Math.random()*l|0];return u},isSpecCompliantForm:function Kc(s){return!!(s&&ls(s.append)&&"FormData"===s[Symbol.toStringTag]&&s[Symbol.iterator])},toJSONObject:s=>{const o=new Array(10),u=(l,f)=>{if(mi(l)){if(o.indexOf(l)>=0)return;if(!("toJSON"in l)){o[f]=l;const p=sa(l)?[]:{};return Ea(l,(M,ie)=>{const Ce=u(M,f+1);!au(Ce)&&(p[ie]=Ce)}),o[f]=void 0,p}}return l};return u(s,0)},isAsyncFn:_h,isThenable:s=>s&&(mi(s)||ls(s))&&ls(s.then)&&ls(s.catch),setImmediate:zc,asap:Zo};var s,o,u,l;function wa(s,o,u,l,f){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=(new Error).stack,this.message=s,this.name="AxiosError",o&&(this.code=o),u&&(this.config=u),l&&(this.request=l),f&&(this.response=f,this.status=f.status?f.status:null)}$t.inherits(wa,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:$t.toJSONObject(this.config),code:this.code,status:this.status}}});const vs=wa.prototype,js={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(s=>{js[s]={value:s}}),Object.defineProperties(wa,js),Object.defineProperty(vs,"isAxiosError",{value:!0}),wa.from=(s,o,u,l,f,p)=>{const M=Object.create(vs);return $t.toFlatObject(s,M,function(Ce){return Ce!==Error.prototype},ie=>"isAxiosError"!==ie),wa.call(M,s.message,o,u,l,f),M.cause=s,M.name=s.name,p&&Object.assign(M,p),M};const Jr=wa;function Xc(s){return $t.isPlainObject(s)||$t.isArray(s)}function Ed(s){return $t.endsWith(s,"[]")?s.slice(0,-2):s}function xu(s,o,u){return s?s.concat(o).map(function(f,p){return f=Ed(f),!u&&p?"["+f+"]":f}).join(u?".":""):o}const Qc=$t.toFlatObject($t,{},null,function(o){return/^is[A-Z]/.test(o)}),Fu=function $u(s,o,u){if(!$t.isObject(s))throw new TypeError("target must be an object");o=o||new FormData;const l=(u=$t.toFlatObject(u,{metaTokens:!0,dots:!1,indexes:!1},!1,function(sn,un){return!$t.isUndefined(un[sn])})).metaTokens,f=u.visitor||qe,p=u.dots,M=u.indexes,Ce=(u.Blob||typeof Blob<"u"&&Blob)&&$t.isSpecCompliantForm(o);if(!$t.isFunction(f))throw new TypeError("visitor must be a function");function ve(Ft){if(null===Ft)return"";if($t.isDate(Ft))return Ft.toISOString();if(!Ce&&$t.isBlob(Ft))throw new Jr("Blob is not supported. Use a Buffer instead.");return $t.isArrayBuffer(Ft)||$t.isTypedArray(Ft)?Ce&&"function"==typeof Blob?new Blob([Ft]):Buffer.from(Ft):Ft}function qe(Ft,sn,un){let ir=Ft;if(Ft&&!un&&"object"==typeof Ft)if($t.endsWith(sn,"{}"))sn=l?sn:sn.slice(0,-2),Ft=JSON.stringify(Ft);else if($t.isArray(Ft)&&function Yc(s){return $t.isArray(s)&&!s.some(Xc)}(Ft)||($t.isFileList(Ft)||$t.endsWith(sn,"[]"))&&(ir=$t.toArray(Ft)))return sn=Ed(sn),ir.forEach(function(fr,Kr){!$t.isUndefined(fr)&&null!==fr&&o.append(!0===M?xu([sn],Kr,p):null===M?sn:sn+"[]",ve(fr))}),!1;return!!Xc(Ft)||(o.append(xu(un,sn,p),ve(Ft)),!1)}const gt=[],vt=Object.assign(Qc,{defaultVisitor:qe,convertValue:ve,isVisitable:Xc});if(!$t.isObject(s))throw new TypeError("data must be an object");return function Lt(Ft,sn){if(!$t.isUndefined(Ft)){if(-1!==gt.indexOf(Ft))throw Error("Circular reference detected in "+sn.join("."));gt.push(Ft),$t.forEach(Ft,function(ir,dr){!0===(!($t.isUndefined(ir)||null===ir)&&f.call(o,ir,$t.isString(dr)?dr.trim():dr,sn,vt))&&Lt(ir,sn?sn.concat(dr):[dr])}),gt.pop()}}(s),o};
1function Jc(s){const o={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(s).replace(/[!'()~]|%20|%00/g,function(l){return o[l]})}function ku(s,o){this._pairs=[],s&&Fu(s,this,o)}const Zc=ku.prototype;Zc.append=function(o,u){this._pairs.push([o,u])},Zc.toString=function(o){const u=o?function(l){return o.call(this,l,Jc)}:Jc;return this._pairs.map(function(f){return u(f[0])+"="+u(f[1])},"").join("&")};const el=ku;function bd(s){return encodeURIComponent(s).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function tl(s,o,u){if(!o)return s;const l=u&&u.encode||bd,f=u&&u.serialize;let p;if(p=f?f(o,u):$t.isURLSearchParams(o)?o.toString():new el(o,u).toString(l),p){const M=s.indexOf("#");-1!==M&&(s=s.slice(0,M)),s+=(-1===s.indexOf("?")?"?":"&")+p}return s}const wd=class nl{constructor(){this.handlers=[]}use(o,u,l){return this.handlers.push({fulfilled:o,rejected:u,synchronous:!!l&&l.synchronous,runWhen:l?l.runWhen:null}),this.handlers.length-1}eject(o){this.handlers[o]&&(this.handlers[o]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(o){$t.forEach(this.handlers,function(l){null!==l&&o(l)})}},$o={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},bh={isBrowser:!0,classes:{URLSearchParams:typeof URLSearchParams<"u"?URLSearchParams:el,FormData:typeof FormData<"u"?FormData:null,Blob:typeof Blob<"u"?Blob:null},protocols:["http","https","file","blob","url","data"]},Lu=typeof window<"u"&&typeof document<"u",rl="object"==typeof navigator&&navigator||void 0,Sd=Lu&&(!rl||["ReactNative","NativeScript","NS"].indexOf(rl.product)<0),Cd=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&"function"==typeof self.importScripts,du=Lu&&window.location.href||"http://localhost",no={...c,...bh},ju=function Vu(s){function o(u,l,f,p){let M=u[p++];if("__proto__"===M)return!0;const ie=Number.isFinite(+M),Ce=p>=u.length;return M=!M&&$t.isArray(f)?f.length:M,Ce?(f[M]=$t.hasOwnProp(f,M)?[f[M],l]:l,!ie):((!f[M]||!$t.isObject(f[M]))&&(f[M]=[]),o(u,l,f[M],p)&&$t.isArray(f[M])&&(f[M]=function Bu(s){const o={},u=Object.keys(s);let l;const f=u.length;let p;for(l=0;l<f;l++)p=u[l],o[p]=s[p];return o}(f[M])),!ie)}if($t.isFormData(s)&&$t.isFunction(s.entries)){const u={};return $t.forEachEntry(s,(l,f)=>{o(function Uu(s){return $t.matchAll(/\w+|\[(\w*)]/g,s).map(o=>"[]"===o[0]?"":o[1]||o[0])}(l),f,u,0)}),u}return null},Hu={transitional:$o,adapter:["xhr","http","fetch"],transformRequest:[function(o,u){const l=u.getContentType()||"",f=l.indexOf("application/json")>-1,p=$t.isObject(o);if(p&&$t.isHTMLForm(o)&&(o=new FormData(o)),$t.isFormData(o))return f?JSON.stringify(ju(o)):o;if($t.isArrayBuffer(o)||$t.isBuffer(o)||$t.isStream(o)||$t.isFile(o)||$t.isBlob(o)||$t.isReadableStream(o))return o;if($t.isArrayBufferView(o))return o.buffer;if($t.isURLSearchParams(o))return u.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),o.toString();let ie;if(p){if(l.indexOf("application/x-www-form-urlencoded")>-1)return function wh(s,o){return Fu(s,new no.classes.URLSearchParams,Object.assign({visitor:function(u,l,f,p){return no.isNode&&$t.isBuffer(u)?(this.append(l,u.toString("base64")),!1):p.defaultVisitor.apply(this,arguments)}},o))}(o,this.formSerializer).toString();if((ie=$t.isFileList(o))||l.indexOf("multipart/form-data")>-1){const Ce=this.env&&this.env.FormData;return Fu(ie?{"files[]":o}:o,Ce&&new Ce,this.formSerializer)}}return p||f?(u.setContentType("application/json",!1),function Dd(s,o,u){if($t.isString(s))try{return(o||JSON.parse)(s),$t.trim(s)}catch(l){if("SyntaxError"!==l.name)throw l}return(u||JSON.stringify)(s)}(o)):o}],transformResponse:[function(o){const u=this.transitional||Hu.transitional,l=u&&u.forcedJSONParsing,f="json"===this.responseType;if($t.isResponse(o)||$t.isReadableStream(o))return o;if(o&&$t.isString(o)&&(l&&!this.responseType||f)){const M=!(u&&u.silentJSONParsing)&&f;try{return JSON.parse(o)}catch(ie){if(M)throw"SyntaxError"===ie.name?Jr.from(ie,Jr.ERR_BAD_RESPONSE,this,null,this.response):ie}}return o}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:no.classes.FormData,Blob:no.classes.Blob},validateStatus:function(o){return o>=200&&o<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};$t.forEach(["delete","get","head","post","put","patch"],s=>{Hu.headers[s]={}});const il=Hu,Ua=$t.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),Id=Symbol("internals");function Sa(s){return s&&String(s).trim().toLowerCase()}function Gu(s){return!1===s||null==s?s:$t.isArray(s)?s.map(Gu):String(s)}function Td(s,o,u,l,f){if($t.isFunction(l))return l.call(this,o,u);if(f&&(o=u),$t.isString(o)){if($t.isString(l))return-1!==o.indexOf(l);if($t.isRegExp(l))return l.test(o)}}class ua{constructor(o){o&&this.set(o)}set(o,u,l){const f=this;function p(ie,Ce,ve){const qe=Sa(Ce);if(!qe)throw new Error("header name must be a non-empty string");const gt=$t.findKey(f,qe);(!gt||void 0===f[gt]||!0===ve||void 0===ve&&!1!==f[gt])&&(f[gt||Ce]=Gu(ie))}const M=(ie,Ce)=>$t.forEach(ie,(ve,qe)=>p(ve,qe,Ce));if($t.isPlainObject(o)||o instanceof this.constructor)M(o,u);else if($t.isString(o)&&(o=o.trim())&&!(s=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(s.trim()))(o))M((s=>{const o={};let u,l,f;return s&&s.split("\n").forEach(function(M){f=M.indexOf(":"),u=M.substring(0,f).trim().toLowerCase(),l=M.substring(f+1).trim(),!(!u||o[u]&&Ua[u])&&("set-cookie"===u?o[u]?o[u].push(l):o[u]=[l]:o[u]=o[u]?o[u]+", "+l:l)}),o})(o),u);else if($t.isHeaders(o))for(const[ie,Ce]of o.entries())p(Ce,ie,l);else null!=o&&p(u,o,l);return this}get(o,u){if(o=Sa(o)){const l=$t.findKey(this,o);if(l){const f=this[l];if(!u)return f;if(!0===u)return function Sh(s){const o=Object.create(null),u=/([^\s,;
1=]+)\s*(?:=\s*([^,;]+))?/g;let l;for(;l=u.exec(s);)o[l[1]]=l[2];return o}(f);if($t.isFunction(u))return u.call(this,f,l);if($t.isRegExp(u))return u.exec(f);throw new TypeError("parser must be boolean|regexp|function")}}}has(o,u){if(o=Sa(o)){const l=$t.findKey(this,o);return!(!l||void 0===this[l]||u&&!Td(0,this[l],l,u))}return!1}delete(o,u){const l=this;let f=!1;function p(M){if(M=Sa(M)){const ie=$t.findKey(l,M);ie&&(!u||Td(0,l[ie],ie,u))&&(delete l[ie],f=!0)}}return $t.isArray(o)?o.forEach(p):p(o),f}clear(o){const u=Object.keys(this);let l=u.length,f=!1;for(;l--;){const p=u[l];(!o||Td(0,this[p],p,o,!0))&&(delete this[p],f=!0)}return f}normalize(o){const u=this,l={};return $t.forEach(this,(f,p)=>{const M=$t.findKey(l,p);if(M)return u[M]=Gu(f),void delete u[p];const ie=o?function lm(s){return s.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(o,u,l)=>u.toUpperCase()+l)}(p):String(p).trim();ie!==p&&delete u[p],u[ie]=Gu(f),l[ie]=!0}),this}concat(...o){return this.constructor.concat(this,...o)}toJSON(o){const u=Object.create(null);return $t.forEach(this,(l,f)=>{null!=l&&!1!==l&&(u[f]=o&&$t.isArray(l)?l.join(", "):l)}),u}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([o,u])=>o+": "+u).join("\n")}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(o){return o instanceof this?o:new this(o)}static concat(o,...u){const l=new this(o);return u.forEach(f=>l.set(f)),l}static accessor(o){const l=(this[Id]=this[Id]={accessors:{}}).accessors,f=this.prototype;function p(M){const ie=Sa(M);l[ie]||(function ol(s,o){const u=$t.toCamelCase(" "+o);["get","set","has"].forEach(l=>{Object.defineProperty(s,l+u,{value:function(f,p,M){return this[l].call(this,o,f,p,M)},configurable:!0})})}(f,M),l[ie]=!0)}return $t.isArray(o)?o.forEach(p):p(o),this}}ua.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),$t.reduceDescriptors(ua.prototype,({value:s},o)=>{let u=o[0].toUpperCase()+o.slice(1);return{get:()=>s,set(l){this[u]=l}}}),$t.freezeMethods(ua);const As=ua;function Ca(s,o){const u=this||il,l=o||u,f=As.from(l.headers);let p=l.data;return $t.forEach(s,function(ie){p=ie.call(u,p,f.normalize(),o?o.status:void 0)}),f.normalize(),p}function Ku(s){return!(!s||!s.__CANCEL__)}function hu(s,o,u){Jr.call(this,s??"canceled",Jr.ERR_CANCELED,o,u),this.name="CanceledError"}$t.inherits(hu,Jr,{__CANCEL__:!0});const Wu=hu;function sl(s,o,u){const l=u.config.validateStatus;u.status&&l&&!l(u.status)?o(new Jr("Request failed with status code "+u.status,[Jr.ERR_BAD_REQUEST,Jr.ERR_BAD_RESPONSE][Math.floor(u.status/100)-4],u.config,u.request,u)):s(u)}const Ba=(s,o,u=3)=>{let l=0;const f=function Dh(s,o){s=s||10;const u=new Array(s),l=new Array(s);let M,f=0,p=0;return o=void 0!==o?o:1e3,function(Ce){const ve=Date.now(),qe=l[p];M||(M=ve),u[f]=Ce,l[f]=ve;let gt=p,vt=0;for(;gt!==f;)vt+=u[gt++],gt%=s;if(f=(f+1)%s,f===p&&(p=(p+1)%s),ve-M<o)return;const Lt=qe&&ve-qe;return Lt?Math.round(1e3*vt/Lt):void 0}}(50,250);return function Ih(s,o){let f,p,u=0,l=1e3/o;const M=(ve,qe=Date.now())=>{u=qe,f=null,p&&(clearTimeout(p),p=null),s.apply(null,ve)};return[(...ve)=>{const qe=Date.now(),gt=qe-u;gt>=l?M(ve,qe):(f=ve,p||(p=setTimeout(()=>{p=null,M(f)},l-gt)))},()=>f&&M(f)]}(p=>{const M=p.loaded,ie=p.lengthComputable?p.total:void 0,Ce=M-l,ve=f(Ce);l=M,s({loaded:M,total:ie,progress:ie?M/ie:void 0,bytes:Ce,rate:ve||void 0,estimated:ve&&ie&&M<=ie?(ie-M)/ve:void 0,event:p,lengthComputable:null!=ie,[o?"download":"upload"]:!0})},u)},al=(s,o)=>{const u=null!=s;return[l=>o[0]({lengthComputable:u,total:s,loaded:l}),o[1]]},pu=s=>(...o)=>$t.asap(()=>s(...o)),ul=no.hasStandardBrowserEnv?function(){const o=no.navigator&&/(msie|trident)/i.test(no.navigator.userAgent),u=document.createElement("a");let l;function f(p){let M=p;return o&&(u.setAttribute("href",M),M=u.href),u.setAttribute("href",M),{href:u.href,protocol:u.protocol?u.protocol.replace(/:$/,""):"",host:u.host,search:u.search?u.search.replace(/^\?/,""):"",hash:u.hash?u.hash.replace(/^#/,""):"",hostname:u.hostname,port:u.port,pathname:"/"===u.pathname.charAt(0)?u.pathname:"/"+u.pathname}}return l=f(window.location.href),function(M){const ie=$t.isString(M)?f(
1M):M;return ie.protocol===l.protocol&&ie.host===l.host}}():function(){return function(){return!0}}(),Th=no.hasStandardBrowserEnv?{write(s,o,u,l,f,p){const M=[s+"="+encodeURIComponent(o)];$t.isNumber(u)&&M.push("expires="+new Date(u).toGMTString()),$t.isString(l)&&M.push("path="+l),$t.isString(f)&&M.push("domain="+f),!0===p&&M.push("secure"),document.cookie=M.join("; ")},read(s){const o=document.cookie.match(new RegExp("(^|;\\s*)("+s+")=([^;]*)"));return o?decodeURIComponent(o[3]):null},remove(s){this.write(s,"",Date.now()-864e5)}}:{write(){},read:()=>null,remove(){}};function cl(s,o){return s&&!function Md(s){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(s)}(o)?function Od(s,o){return o?s.replace(/\/?\/$/,"")+"/"+o.replace(/^\/+/,""):s}(s,o):o}const ll=s=>s instanceof As?{...s}:s;function Da(s,o){o=o||{};const u={};function l(ve,qe,gt){return $t.isPlainObject(ve)&&$t.isPlainObject(qe)?$t.merge.call({caseless:gt},ve,qe):$t.isPlainObject(qe)?$t.merge({},qe):$t.isArray(qe)?qe.slice():qe}function f(ve,qe,gt){return $t.isUndefined(qe)?$t.isUndefined(ve)?void 0:l(void 0,ve,gt):l(ve,qe,gt)}function p(ve,qe){if(!$t.isUndefined(qe))return l(void 0,qe)}function M(ve,qe){return $t.isUndefined(qe)?$t.isUndefined(ve)?void 0:l(void 0,ve):l(void 0,qe)}function ie(ve,qe,gt){return gt in o?l(ve,qe):gt in s?l(void 0,ve):void 0}const Ce={url:p,method:p,data:p,baseURL:M,transformRequest:M,transformResponse:M,paramsSerializer:M,timeout:M,timeoutMessage:M,withCredentials:M,withXSRFToken:M,adapter:M,responseType:M,xsrfCookieName:M,xsrfHeaderName:M,onUploadProgress:M,onDownloadProgress:M,decompress:M,maxContentLength:M,maxBodyLength:M,beforeRedirect:M,transport:M,httpAgent:M,httpsAgent:M,cancelToken:M,socketPath:M,responseEncoding:M,validateStatus:ie,headers:(ve,qe)=>f(ll(ve),ll(qe),!0)};return $t.forEach(Object.keys(Object.assign({},s,o)),function(qe){const gt=Ce[qe]||f,vt=gt(s[qe],o[qe],qe);$t.isUndefined(vt)&&gt!==ie||(u[qe]=vt)}),u}const gu=s=>{const o=Da({},s);let Ce,{data:u,withXSRFToken:l,xsrfHeaderName:f,xsrfCookieName:p,headers:M,auth:ie}=o;if(o.headers=M=As.from(M),o.url=tl(cl(o.baseURL,o.url),s.params,s.paramsSerializer),ie&&M.set("Authorization","Basic "+btoa((ie.username||"")+":"+(ie.password?unescape(encodeURIComponent(ie.password)):""))),$t.isFormData(u))if(no.hasStandardBrowserEnv||no.hasStandardBrowserWebWorkerEnv)M.setContentType(void 0);else if(!1!==(Ce=M.getContentType())){const[ve,...qe]=Ce?Ce.split(";").map(gt=>gt.trim()).filter(Boolean):[];M.setContentType([ve||"multipart/form-data",...qe].join("; "))}if(no.hasStandardBrowserEnv&&(l&&$t.isFunction(l)&&(l=l(o)),l||!1!==l&&ul(o.url))){const ve=f&&p&&Th.read(p);ve&&M.set(f,ve)}return o},Ah=typeof XMLHttpRequest<"u"&&function(s){return new Promise(function(u,l){const f=gu(s);let p=f.data;const M=As.from(f.headers).normalize();let qe,gt,vt,Lt,Ft,{responseType:ie,onUploadProgress:Ce,onDownloadProgress:ve}=f;function sn(){Lt&&Lt(),Ft&&Ft(),f.cancelToken&&f.cancelToken.unsubscribe(qe),f.signal&&f.signal.removeEventListener("abort",qe)}let un=new XMLHttpRequest;function ir(){if(!un)return;const fr=As.from("getAllResponseHeaders"in un&&un.getAllResponseHeaders());sl(function(Oi){u(Oi),sn()},function(Oi){l(Oi),sn()},{data:ie&&"text"!==ie&&"json"!==ie?un.response:un.responseText,status:un.status,statusText:un.statusText,headers:fr,config:s,request:un}),un=null}un.open(f.method.toUpperCase(),f.url,!0),un.timeout=f.timeout,"onloadend"in un?un.onloadend=ir:un.onreadystatechange=function(){!un||4!==un.readyState||0===un.status&&(!un.responseURL||0!==un.responseURL.indexOf("file:"))||setTimeout(ir)},un.onabort=function(){un&&(l(new Jr("Request aborted",Jr.ECONNABORTED,s,un)),un=null)},un.onerror=function(){l(new Jr("Network Error",Jr.ERR_NETWORK,s,un)),un=null},un.ontimeout=function(){let Kr=f.timeout?"timeout of "+f.timeout+"ms exceeded":"timeout exceeded";f.timeoutErrorMessage&&(Kr=f.timeoutErrorMessage),l(new Jr(Kr,(f.transitional||$o).clarifyTimeoutError?Jr.ETIMEDOUT:Jr.ECONNABORTED,s,un)),un=null},void 0===p&&M.setContentType(null),"setRequestHeader"in un&&$t.forEach(M.toJSON(),function(Kr,Wr){un.setRequestHeader(Wr,Kr)}),$t.isUndefined(f.withCredentials)||(un.withCredentials=!!f.withCredentials),ie&&"json"!==ie&&(un.responseType=f.responseType),ve&&([vt,Ft]=Ba(ve,!0),un.addEventListener("progress",vt)),Ce&&un.upload&&([gt,Lt]=Ba(Ce),un.upload.addEventListener("progress",gt),un.upload.addEventListener("loadend",Lt)),(f.cancelToken||f.signal)&&(qe=fr=>{un&&(l(!fr||fr.type?new Wu(null,s,un):fr),un.abort(),un=null)},f.cancelToken&&f.cancelToken.subscribe(qe),f.signal&&(f.signal.aborted?qe():f.signal.addEventListener("abort",qe)));const dr=function Ad(s){const o=/^([-+\w]{1,25})(:?\/\/|:)/.exec(s);return o&&o[1]||""}(f.url);dr&&-1===no.protocols.indexOf(dr)?l(new Jr("Unsupported protocol "+dr+":",Jr.ERR_BAD_REQUEST,s)):un.send(p||null)})},Nd=(s,o)=>{const{length:u}
1=s=s?s.filter(Boolean):[];if(o||u){let f,l=new AbortController;const p=function(ve){if(!f){f=!0,ie();const qe=ve instanceof Error?ve:this.reason;l.abort(qe instanceof Jr?qe:new Wu(qe instanceof Error?qe.message:qe))}};let M=o&&setTimeout(()=>{M=null,p(new Jr(`timeout ${o} of ms exceeded`,Jr.ETIMEDOUT))},o);const ie=()=>{s&&(M&&clearTimeout(M),M=null,s.forEach(ve=>{ve.unsubscribe?ve.unsubscribe(p):ve.removeEventListener("abort",p)}),s=null)};s.forEach(ve=>ve.addEventListener("abort",p));const{signal:Ce}=l;return Ce.unsubscribe=()=>$t.asap(ie),Ce}};function ca(s,o){this.v=s,this.k=o}function Gs(s){var o,u;function l(p,M){try{var ie=s[p](M),Ce=ie.value,ve=Ce instanceof ca;Promise.resolve(ve?Ce.v:Ce).then(function(qe){if(ve){var gt="return"===p?"return":"next";if(!Ce.k||qe.done)return l(gt,qe);qe=s[gt](qe).value}f(ie.done?"return":"normal",qe)},function(qe){l("throw",qe)})}catch(qe){f("throw",qe)}}function f(p,M){switch(p){case"return":o.resolve({value:M,done:!0});break;case"throw":o.reject(M);break;default:o.resolve({value:M,done:!1})}(o=o.next)?l(o.key,o.arg):u=null}this._invoke=function(p,M){return new Promise(function(ie,Ce){var ve={key:p,arg:M,resolve:ie,reject:Ce,next:null};u?u=u.next=ve:(o=u=ve,l(p,M))})}
1,"function"!=typeof s.return&&(this.return=void 0)}function Eo(s){return function(){return new Gs(s.apply(this,arguments))}}function ja(s){return new ca(s,0)}function dl(s){var o={},u=!1;function l(f,p){return u=!0,{done:!1,value:new ca(p=new Promise(function(M){M(s[f](p))}),1)}}return o[typeof Symbol<"u"&&Symbol.iterator||"@@iterator"]=function(){return this},o.next=function(f){return u?(u=!1,f):l("next",f)},"function"==typeof s.throw&&(o.throw=function(f){if(u)throw u=!1,f;return l("throw",f)}),"function"==typeof s.return&&(o.return=function(f){return u?(u=!1,f):l("return",f)}),o}function mu(s){var o,u,l,f=2;for(typeof Symbol<"u"&&(u=Symbol.asyncIterator,l=Symbol.iterator);f--;){if(u&&null!=(o=s[u]))return o.call(s);if(l&&null!=(o=s[l]))return new qu(o.call(s));u="@@asyncIterator",l="@@iterator"}throw new TypeError("Object is not async iterable")}function qu(s){function o(u){if(Object(u)!==u)return Promise.reject(new TypeError(u+" is not an object."));var l=u.done;return Promise.resolve(u.value).then(function(f){return{value:f,done:l}})}return qu=function(l){this.s=l,this.n=l.next},qu.prototype={s:null,n:null,next:function(){return o(this.n.apply(this.s,arguments))},return:function(l){var f=this.s.return;return void 0===f?Promise.resolve({value:l,done:!0}):o(f.apply(this.s,arguments))},throw:function(l){var f=this.s.return;return void 0===f?Promise.reject(l):o(f.apply(this.s,arguments))}},new qu(s)}Gs.prototype["function"==typeof Symbol&&Symbol.asyncIterator||"@@asyncIterator"]=function(){return this},Gs.prototype.next=function(s){return this._invoke("next",s)},Gs.prototype.throw=function(s){return this._invoke("throw",s)},Gs.prototype.return=function(s){return this._invoke("return",s)};const Rd=function*(s,o){let u=s.byteLength;if(!o||u<o)return void(yield s);let f,l=0;for(;l<u;)f=l+o,yield s.slice(l,f),l=f},Xu=function(){var s=Eo(function*(o,u){var p,l=!1,f=!1;try{for(var ie,M=mu(Oh(o));l=!(ie=yield ja(M.next())).done;l=!1){const Ce=ie.value;yield*dl(mu(Rd(Ce,u)))}}catch(Ce){f=!0,p=Ce}
1finally{try{l&&null!=M.return&&(yield ja(M.return()))}finally{if(f)throw p}}});return function(u,l){return s.apply(this,arguments)}}(),Oh=function(){var s=Eo(function*(o){if(o[Symbol.asyncIterator])return void(yield*dl(mu(o)));const u=o.getReader();try{for(;;){const{done:l,value:f}=yield ja(u.read());if(l)break;yield f}}finally{yield ja(u.cancel())}});return function(u){return s.apply(this,arguments)}}(),fl=(s,o,u,l)=>{const f=Xu(s,o);let M,p=0,ie=Ce=>{M||(M=!0,l&&l(Ce))};return new ReadableStream({pull:Ce=>(0,G.A)(function*(){try{const{done:ve,value:qe}=yield f.next();if(ve)return ie(),void Ce.close();if(u){let vt=p+=qe.byteLength;u(vt)}Ce.enqueue(new Uint8Array(qe))}catch(ve){throw ie(ve),ve}})(),cancel:Ce=>(ie(Ce),f.return())},{highWaterMark:2})},Ha="function"==typeof fetch&&"function"==typeof Request&&"function"==typeof Response,vu=Ha&&"function"==typeof ReadableStream,Pd=Ha&&("function"==typeof TextEncoder?(s=>o=>s.encode(o))(new TextEncoder):function(){var s=(0,G.A)(function*(o){return new Uint8Array(yield new Response(o).arrayBuffer())});return function(o){return s.apply(this,arguments)}}()),xd=(s,...o)=>{try{return!!s(...o)}catch{return!1}},Nh=vu&&xd(()=>{let s=!1;const o=new Request(no.origin,{body:new ReadableStream,method:"POST",get duplex(){return s=!0,"half"}}).headers.has("Content-Type");return s&&!o}),Yu=vu&&xd(()=>$t.isReadableStream(new Response("").body)),Qu={stream:Yu&&(s=>s.body)};Ha&&(s=>{["text","arrayBuffer","blob","formData","stream"].forEach(o=>{!Qu[o]&&(Qu[o]=$t.isFunction(s[o])?u=>u[o]():(u,l)=>{throw new Jr(`Response type '${o}' is not supported`,Jr.ERR_NOT_SUPPORT,l)})})})(new Response);const Fd=function(){var s=(0,G.A)(function*(o){return null==o?0:$t.isBlob(o)?o.size:$t.isSpecCompliantForm(o)?(yield new Request(no.origin,{method:"POST",body:o}).arrayBuffer()).byteLength:$t.isArrayBufferView(o)||$t.isArrayBuffer(o)?o.byteLength:($t.isURLSearchParams(o)&&(o+=""),$t.isString(o)?(yield Pd(o)).byteLength:void 0)});return function(u){return s.apply(this,arguments)}}(),Rh=function(){var s=(0,G.A)(function*(o,u){return $t.toFiniteNumber(o.getContentLength())??Fd(u)});return function(u,l){return s.apply(this,arguments)}}(),kd={http:null,xhr:Ah,fetch:Ha&&function(){var s=(0,G.A)(function*(o){let{url:u,method:l,data:f,signal:p,cancelToken:M,timeout:ie,onDownloadProgress:Ce,onUploadProgress:ve,responseType:qe,headers:gt,withCredentials:vt="same-origin",fetchOptions:Lt}=gu(o);qe=qe?(qe+"").toLowerCase():"text";let sn,Ft=Nd([p,M&&M.toAbortSignal()],ie);const un=Ft&&Ft.unsubscribe&&(()=>{Ft.unsubscribe()});let ir;try{if(ve&&Nh&&"get"!==l&&"head"!==l&&0!==(ir=yield Rh(gt,f))){let Oi,ni=new Request(u,{method:"POST",body:f,duplex:"half"});if($t.isFormData(f)&&(Oi=ni.headers.get("content-type"))&&gt.setContentType(Oi),ni.body){const[Bi,bo]=al(ir,Ba(pu(ve)));f=fl(ni.body,65536,Bi,bo)}}$t.isString(vt)||(vt=vt?"include":"omit");const dr="credentials"in Request.prototype;sn=new Request(u,{...Lt,signal:Ft,method:l.toUpperCase(),headers:gt.normalize().toJSON(),body:f,duplex:"half",credentials:dr?vt:void 0});let fr=yield fetch(sn);const Kr=Yu&&("stream"===qe||"response"===qe);if(Yu&&(Ce||Kr&&un)){const ni={};["status","statusText","headers"].forEach(go=>{ni[go]=fr[go]});const Oi=$t.toFiniteNumber(fr.headers.get("content-length")),[Bi,bo]=Ce&&al(Oi,Ba(pu(Ce),!0))||[];fr=new Response(fl(fr.body,65536,Bi,()=>{bo&&bo(),un&&un()}),ni)}qe=qe||"text";let Wr=yield Qu[$t.findKey(Qu,qe)||"text"](fr,o);return!Kr&&un&&un(),yield new Promise((ni,Oi)=>{sl(ni,Oi,{data:Wr,headers:As.from(fr.headers),status:fr.status,statusText:fr.statusText,config:o,request:sn})})}catch(dr){throw un&&un(),dr&&"TypeError"===dr.name&&/fetch/i.test(dr.message)?Object.assign(new Jr("Network Error",Jr.ERR_NETWORK,o,sn),{cause:dr.cause||dr}):Jr.from(dr,dr&&dr.code,o,sn)}});return function(o){return s.apply(this,arguments)}}()};$t.forEach(kd,(s,o)=>{if(s){try{Object.defineProperty(s,"name",{value:o})}catch{}Object.defineProperty(s,"adapterName",{value:o})}});const hl=s=>`- ${s}`,Ld=s=>$t.isFunction(s)||null===s||!1===s,is_getAdapter=s=>{s=$t.isArray(s)?s:[s];const{length:o}=s;let u,l;const f={};for(let p=0;p<o;p++){let M;if(u=s[p],l=u,!Ld(u)&&(l=kd[(M=String(u)).toLowerCase()],void 0===l))throw new Jr(`Unknown adapter '${M}'`);if(l)break;f[M||"#"+p]=l}if(!l){const p=Object.entries(f).map(([ie,Ce])=>`adapter ${ie} `+(!1===Ce?"is not supported by the environment":"is not available in the build"));let M=o?p.length>
11?"since :\n"+p.map(hl).join("\n"):" "+hl(p[0]):"as no adapter specified";throw new Jr("There is no suitable adapter to dispatch the request "+M,"ERR_NOT_SUPPORT")}return l};function Ud(s){if(s.cancelToken&&s.cancelToken.throwIfRequested(),s.signal&&s.signal.aborted)throw new Wu(null,s)}function pl(s){return Ud(s),s.headers=As.from(s.headers),s.data=Ca.call(s,s.transformRequest),-1!==["post","put","patch"].indexOf(s.method)&&s.headers.setContentType("application/x-www-form-urlencoded",!1),is_getAdapter(s.adapter||il.adapter)(s).then(function(l){return Ud(s),l.data=Ca.call(s,s.transformResponse,l),l.headers=As.from(l.headers),l},function(l){return Ku(l)||(Ud(s),l&&l.response&&(l.response.data=Ca.call(s,s.transformResponse,l.response),l.response.headers=As.from(l.response.headers))),Promise.reject(l)})}const yu={};["object","boolean","number","function","string","symbol"].forEach((s,o)=>{yu[s]=function(l){return typeof l===s||"a"+(o<1?"n ":" ")+s}});const Ks={};yu.transitional=function(o,u,l){function f(p,M){return"[Axios v1.7.7] Transitional option '"+p+"'"+M+(l?". "+l:"")}return(p,M,ie)=>{if(!1===o)throw new Jr(f(M," has been removed"+(u?" in "+u:"")),Jr.ERR_DEPRECATED);return u&&!Ks[M]&&(Ks[M]=!0,console.warn(f(M," has been deprecated since v"+u+" and will be removed in the near future"))),!o||o(p,M,ie)}};const ea={assertOptions:function Bd(s,o,u){if("object"!=typeof s)throw new Jr("options must be an object",Jr.ERR_BAD_OPTION_VALUE);const l=Object.keys(s);let f=l.length;for(;f-- >0;){const p=l[f],M=o[p];if(M){const ie=s[p],Ce=void 0===ie||M(ie,p,s);if(!0!==Ce)throw new Jr("option "+p+" must be "+Ce,Jr.ERR_BAD_OPTION_VALUE)}else if(!0!==u)throw new Jr("Unknown option "+p,Jr.ERR_BAD_OPTION)}},validators:yu},la=ea.validators;class Ju{constructor(o){this.defaults=o,this.interceptors={request:new wd,response:new wd}}request(o,u){var l=this;return(0,G.A)(function*(){try{return yield l._request(o,u)}catch(f){if(f instanceof Error){let p;Error.captureStackTrace?Error.captureStackTrace(p={}):p=new Error;const M=p.stack?p.stack.replace(/^.+\n/,""):"";try{f.stack?M&&!String(f.stack).endsWith(M.replace(/^.+\n.+\n/,""))&&(f.stack+="\n"+M):f.stack=M}catch{}}throw f}})()}_request(o,u){"string"==typeof o?(u=u||{}).url=o:u=o||{},u=Da(this.defaults,u);const{transitional:l,paramsSerializer:f,headers:p}=u;void 0!==l&&ea.assertOptions(l,{silentJSONParsing:la.transitional(la.boolean),forcedJSONParsing:la.transitional(la.boolean),clarifyTimeoutError:la.transitional(la.boolean)},!1),null!=f&&($t.isFunction(f)?u.paramsSerializer={serialize:f}:ea.assertOptions(f,{encode:la.function,serialize:la.function},!0)),u.method=(u.method||this.defaults.method||"get").toLowerCase();let M=p&&$t.merge(p.common,p[u.method]);p&&$t.forEach(["delete","get","head","post","put","patch","common"],Ft=>{delete p[Ft]}),u.headers=As.concat(M,p);const ie=[];let Ce=!0;this.interceptors.request.forEach(function(sn){"function"==typeof sn.runWhen&&!1===sn.runWhen(u)||(Ce=Ce&&sn.synchronous,ie.unshift(sn.fulfilled,sn.rejected))});const ve=[];this.interceptors.response.forEach(function(sn){ve.push(sn.fulfilled,sn.rejected)});let qe,vt,gt=0;if(!Ce){const Ft=[pl.bind(this),void 0];for(Ft.unshift.apply(Ft,ie),Ft.push.apply(Ft,ve),vt=Ft.length,qe=Promise.resolve(u);gt<vt;)qe=qe.then(Ft[gt++],Ft[gt++]);return qe}vt=ie.length;let Lt=u;for(gt=0;gt<vt;){const Ft=ie[gt++],sn=ie[gt++];try{Lt=Ft(Lt)}catch(un){sn.call(this,un);break}}try{qe=pl.call(this,Lt)}catch(Ft){return Promise.reject(Ft)}for(gt=0,vt=ve.length;gt<vt;)qe=qe.then(ve[gt++],ve[gt++]);return qe}getUri(o){return tl(cl((o=Da(this.defaults,o)).baseURL,o.url),o.params,o.paramsSerializer)}}$t.forEach(["delete","get","head","options"],function(o){Ju.prototype[o]=function(u,l){return this.request(Da(l||{},{method:o,url:u,data:(l||{}).data}))}}),$t.forEach(["post","put","patch"],function(o){function u(l){return function(p,M,ie){return this.request(Da(ie||{},{method:o,headers:l?{"Content-Type":"multipart/form-data"}:{},url:p,data:M}))}}Ju.prototype[o]=u(),Ju.prototype[o+"Form"]=u(!0)});const _u=Ju;class Vd{constructor(o){if("function"!=typeof o)throw new TypeError("executor must be a function.");let u;this.promise=new Promise(function(p){u=p});const l=this;this.promise.then(f=>{if(!l._listeners)return;let p=l._listeners.length;for(;p-- >0;)l._listeners[p](f);l._listeners=null}),this.promise.then=f=>{let p;const M=new Promise(ie=>{l.subscribe(ie),p=ie}).then(f);return M.cancel=function(){l.unsubscribe(p)},M},o(function(p,M,ie){l.reason||(l.reason=new Wu(p,M,ie),u(l.reason))})}throwIfRequested(){if(this.reason)throw this.reason}
1subscribe(o){this.reason?o(this.reason):this._listeners?this._listeners.push(o):this._listeners=[o]}unsubscribe(o){if(!this._listeners)return;const u=this._listeners.indexOf(o);-1!==u&&this._listeners.splice(u,1)}toAbortSignal(){const o=new AbortController,u=l=>{o.abort(l)};return this.subscribe(u),o.signal.unsubscribe=()=>this.unsubscribe(u),o.signal}static source(){let o;return{token:new Vd(function(f){o=f}),cancel:o}}}const fm=Vd,gl={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(gl).forEach(([s,o])=>{gl[o]=s});const $h=gl,zi=function Ia(s){const o=new _u(s),u=Wi(_u.prototype.request,o);return $t.extend(u,_u.prototype,o,{allOwnKeys:!0}),$t.extend(u,o,null,{allOwnKeys:!0}),u.create=function(f){return Ia(Da(s,f))},u}(il);zi.Axios=_u,zi.CanceledError=Wu,zi.CancelToken=fm,zi.isCancel=Ku,zi.VERSION="1.7.7",zi.toFormData=Fu,zi.AxiosError=Jr,zi.Cancel=zi.CanceledError,zi.all=function(o){return Promise.all(o)},zi.spread=function jd(s){return function(u){return s.apply(null,u)}},zi.isAxiosError=function xh(s){return $t.isObject(s)&&!0===s.isAxiosError},zi.mergeConfig=Da,zi.AxiosHeaders=As,zi.formToJSON=s=>ju($t.isHTMLForm(s)?new FormData(s):s),zi.getAdapter=is_getAdapter,zi.HttpStatusCode=$h,zi.default=zi;const Eu=zi;var Ga=new Ie.C("RestClient"),Zu=function(){function s(o){this._region="us-east-1",this._service="execute-api",this._custom_header=void 0,this._cancelTokenMap=null,this.Credentials=Ri.J,this._options=o,Ga.debug("API Options",this._options),null==this._cancelTokenMap&&(this._cancelTokenMap=new WeakMap)}return s.prototype.ajax=function(o,u,l){return ud(this,void 0,void 0,function(){var f,p,M,ie,Ce,ve,qe,gt,vt,Lt,Ft,sn,ir,dr,Kr,Wr,ni,Oi,bo,go,es;return cd(this,function(wo){switch(wo.label){case 0:return Ga.debug(u,o),M="us-east-1",ie="execute-api",Ce=void 0,"string"==typeof o?(f=this._parseUrl(o),p=o):(p=o.endpoint,Ce=o.custom_header,M=o.region,ie=o.service,f=this._parseUrl(o.endpoint)),ve={method:u,url:p,host:f.host,path:f.path,headers:{},data:null,responseType:"json",timeout:0,cancelToken:null},qe={},gt=Object.assign({},l),vt=gt.response,gt.body&&("function"==typeof FormData&&gt.body instanceof FormData?(qe["Content-Type"]="multipart/form-data",ve.data=gt.body):(qe["Content-Type"]="application/json; charset=UTF-8",ve.data=JSON.stringify(gt.body))),gt.responseType&&(ve.responseType=gt.responseType),gt.withCredentials&&(ve.withCredentials=gt.withCredentials),gt.timeout&&(ve.timeout=gt.timeout),gt.cancellableToken&&(ve.cancelToken=gt.cancellableToken.token),ve.signerServiceInfo=gt.signerServiceInfo,"function"!=typeof Ce?[3,2]:[4,Ce()];case 1:return Ft=wo.sent(),[3,3];case 2:Ft=void 0,wo.label=3;case 3:if(Lt=Ft,ve.headers=Ho(Ho(Ho({},qe),Lt),gt.headers),sn=(0,Qi.qg)(p,!0,!0),ir=su(sn,["search"]),ve.url=(0,Qi.GP)(Ho(Ho({},ir),{query:Ho(Ho({},ir.query),gt.queryStringParameters||{})})),typeof ve.headers.Authorization<"u")return ve.headers=Object.keys(ve.headers).reduce(function(ys,ro){return ve.headers[ro]&&(ys[ro]=ve.headers[ro]),ys},{}),[2,this._request(ve,vt)];wo.label=4;
1case 4:return wo.trys.push([4,6,,7]),[4,this.Credentials.get()];case 5:return dr=wo.sent(),[3,7];case 6:return wo.sent(),Ga.debug("No credentials available, the request will be unsigned"),[2,this._request(ve,vt)];case 7:return wo.trys.push([7,9,,10]),Kr=this._sign(Ho({},ve),dr,{region:M,service:ie}),[4,Eu(Kr)];case 8:return Wr=wo.sent(),[2,vt?Wr:Wr.data];case 9:if(ni=wo.sent(),Ga.debug(ni),pi.isClockSkewError(ni)&&(Oi=ni.response.headers,bo=new Date(Oi&&(Oi.date||Oi.Date)),go=pi.getDateFromHeaderString(Kr.headers["x-amz-date"]),pi.isClockSkewed(bo)))return es=go.getTime()-pi.getClockOffset(),pi.setClockOffset(bo.getTime()-es),[2,this.ajax(o,u,l)];throw ni;case 10:return[2]}})})},s.prototype.get=function(o,u){return this.ajax(o,"GET",u)},s.prototype.put=function(o,u){return this.ajax(o,"PUT",u)},s.prototype.patch=function(o,u){return this.ajax(o,"PATCH",u)},s.prototype.post=function(o,u){return this.ajax(o,"POST",u)},s.prototype.del=function(o,u){return this.ajax(o,"DELETE",u)},s.prototype.head=function(o,u){return this.ajax(o,"HEAD",u)},s.prototype.cancel=function(o,u){var l=this._cancelTokenMap.get(o);return!!l&&(l.cancel(u),!0)},s.prototype.hasCancelToken=function(o){return this._cancelTokenMap.has(o)},s.prototype.isCancel=function(o){return Eu.isCancel(o)},s.prototype.getCancellableToken=function(){return Eu.CancelToken.source()},s.prototype.updateRequestToBeCancellable=function(o,u){this._cancelTokenMap.set(o,u)},s.prototype.endpoint=function(o){var u=this,l=this._options.endpoints,f="";return Array.isArray(l)&&l.forEach(function(p){p.name===o&&(f=p.endpoint,"string"==typeof p.region?u._region=p.region:"string"==typeof u._options.region&&(u._region=u._options.region),u._service="string"==typeof p.service&&p.service||"execute-api",u._custom_header="function"==typeof p.custom_header?p.custom_header:void 0)}),f},s.prototype._sign=function(o,u,l){var f=l.service,p=l.region,M=o.signerServiceInfo,ie=su(o,["signerServiceInfo"]),qe={secret_key:u.secretAccessKey,access_key:u.accessKeyId,session_token:u.sessionToken},vt=Object.assign({region:p||this._region||this._options.region,service:f||this._service||this._options.service},M),Lt=et.sign(ie,qe,vt);return Lt.data&&(Lt.body=Lt.data),Ga.debug("Signed Request: ",Lt),delete Lt.headers.host,Lt},s.prototype._request=function(o,u){return void 0===u&&(u=!1),Eu(o).then(function(l){return u?l:l.data}).catch(function(l){throw Ga.debug(l),l})},s.prototype._parseUrl=function(o){var u=o.split("/");return{host:u[2],path:"/"+u.slice(3).join("/")}},s}(),Ta=new Ie.C("GraphQLAPI"),Ka=function(){function s(o){this._api=null,this.Auth=Gr.N,this.Cache=jr,this.Credentials=Ri.J,this._options=o,Ta.debug("API Options",this._options)}return s.prototype.getModuleName=function(){return"InternalGraphQLAPI"},s.prototype.configure=function(o){var u=o||{},l=u.API,f=void 0===l?{}:l,p=function vn(s,o){var u={};for(var l in s)Object.prototype.hasOwnProperty.call(s,l)&&o.indexOf(l)<0&&(u[l]=s[l]);if(null!=s&&"function"==typeof Object.getOwnPropertySymbols){var f=0;for(l=Object.getOwnPropertySymbols(s);f<l.length;f++)o.indexOf(l[f])<0&&Object.prototype.propertyIsEnumerable.call(s,l[f])&&(u[l[f]]=s[l[f]])}return u}(u,["API"]),M=Yt(Yt({},p),f);return Ta.debug("configure GraphQL API",{opt:M}),M.aws_project_region&&(M=Object.assign({},M,{region:M.aws_project_region,header:{}})),typeof M.graphql_headers<"u"&&"function"!=typeof M.graphql_headers&&(Ta.warn("graphql_headers should be a function"),M.graphql_headers=void 0),this._options=Object.assign({},this._options,M),this.createInstance(),this._options},s.prototype.createInstance=function(){return Ta.debug("create Rest instance"),this._options?(this._api=new Zu(this._options),this._api.Credentials=this.Credentials,!0):Promise.reject("API not configured")},s.prototype._headerBasedAuth=function(o,u){return void 0===u&&(u={}),Xt(this,void 0,void 0,function(){var l,f,p,ie,qe,gt,vt,Ft;return rn(this,function(un){switch(un.label){case 0:switch(f=(l=this._options).aws_appsync_authenticationType,p=l.aws_appsync_apiKey,ie={},o||f||"AWS_IAM"){case"API_KEY":return[3,1];case"AWS_IAM":return[3,2];case"OPENID_CONNECT":return[3,4];case"AMAZON_COGNITO_USER_POOLS":return[3,11];case"AWS_LAMBDA":return[3,15]}
1return[3,16];case 1:if(!p)throw new Error(Is.NO_API_KEY);return ie={Authorization:null,"X-Api-Key":p},[3,17];case 2:return[4,this._ensureCredentials()];case 3:if(!un.sent())throw new Error(Is.NO_CREDENTIALS);return[3,17];case 4:return un.trys.push([4,9,,10]),qe=void 0,[4,jr.getItem("federatedInfo")];case 5:return(gt=un.sent())?(qe=gt.token,[3,8]):[3,6];case 6:return[4,Gr.N.currentAuthenticatedUser()];case 7:(vt=un.sent())&&(qe=vt.token),un.label=8;case 8:if(!qe)throw new Error(Is.NO_FEDERATED_JWT);return ie={Authorization:qe},[3,10];case 9:throw un.sent(),new Error(Is.NO_CURRENT_USER);case 10:return[3,17];case 11:return un.trys.push([11,13,,14]),[4,this.Auth.currentSession()];case 12:return Ft=un.sent(),ie={Authorization:Ft.getAccessToken().getJwtToken()},[3,14];case 13:throw un.sent(),new Error(Is.NO_CURRENT_USER);case 14:return[3,17];case 15:if(!u.Authorization)throw new Error(Is.NO_AUTH_TOKEN);return ie={Authorization:u.Authorization},[3,17];case 16:return ie={Authorization:null},[3,17];case 17:return[2,ie]}})})},s.prototype.getGraphqlOperationType=function(o){return dn(wi(o).definitions,1)[0].operation},s.prototype.graphql=function(o,u,l){var f=o.query,p=o.variables,M=void 0===p?{}:p,ie=o.authMode,Ce=o.authToken,ve=wi("string"==typeof f?f:Kt(f)),gt=dn(ve.definitions.filter(function(dr){return"OperationDefinition"===dr.kind}),1)[0],Lt=(void 0===gt?{}:gt).operation,Ft=u||{};switch(Ce&&(Ft.Authorization=Ce),Lt){case"query":case"mutation":this.createInstanceIfNotCreated();var sn=this._api.getCancellableToken(),ir=this._graphql({query:ve,variables:M,authMode:ie},Ft,{cancellableToken:sn,withCredentials:this._options.withCredentials},l);return this._api.updateRequestToBeCancellable(ir,sn),ir;case"subscription":return this._graphqlSubscribe({query:ve,variables:M,authMode:ie},Ft,l);default:throw new Error("invalid operation type: ".concat(Lt))}},s.prototype._graphql=function(o,u,l,f){var p=o.query,M=o.variables,ie=o.authMode;return void 0===u&&(u={}),void 0===l&&(l={}),Xt(this,void 0,void 0,function(){var Ce,ve,qe,gt,vt,Lt,Ft,sn,un,ir,dr,fr,Kr,Wr,ni,Oi,Bi,go,es,wo,ys;return rn(this,function(ro){switch(ro.label){case 0:return this.createInstanceIfNotCreated(),ve=(Ce=this._options).aws_appsync_region,qe=Ce.aws_appsync_graphqlEndpoint,vt=void 0===(gt=Ce.graphql_headers)?function(){return{}}:gt,Ft=Ce.graphql_endpoint_iam_region,un=[{}],(ir=!(Lt=Ce.graphql_endpoint))?[4,this._headerBasedAuth(ie,u)]:[3,2];case 1:ir=ro.sent(),ro.label=2;case 2:return dr=[Yt.apply(void 0,un.concat([ir]))],(fr=Lt)?Ft?[4,this._headerBasedAuth(ie,u)]:[3,4]:[3,6];case 3:return Kr=ro.sent(),[3,5];case 4:Kr={Authorization:null},ro.label=5;case 5:fr=Kr,ro.label=6;case 6:return Wr=[Yt.apply(void 0,dr.concat([fr]))],[4,vt({query:p,variables:M})];case 7:if(sn=Yt.apply(void 0,[Yt.apply(void 0,[Yt.apply(void 0,Wr.concat([ro.sent()])),u]),!Lt&&(ys={},ys["x-amz-user-agent"]=(0,Go.fE)(f),ys)]),ni={query:Kt(p),variables:M},Oi=Object.assign({headers:sn,body:ni,signerServiceInfo:{service:Lt?"execute-api":"appsync",region:Lt?Ft:ve}},l),!(Bi=Lt||qe))throw{data:{},errors:[new Xe("No graphql endpoint provided.")]};ro.label=8;case 8:return ro.trys.push([8,10,,11]),[4,this._api.post(Bi,Oi)];case 9:return go=ro.sent(),[3,11];case 10:if(es=ro.sent(),this._api.isCancel(es))throw es;return go={data:{},errors:[new Xe(es.message,null,null,null,null,es)]},[3,11];case 11:if((wo=go.errors)&&wo.length)throw go;return[2,go]}})})},s.prototype.createInstanceIfNotCreated=function(){return Xt(this,void 0,void 0,function(){return rn(this,function(o){switch(o.label){case 0:return this._api?[3,2]:[4,this.createInstance()];case 1:o.sent(),o.label=2;case 2:return[2]}})})},s.prototype.isCancel=function(o){return this._api.isCancel(o)},s.prototype.cancel=function(o,u){return this._api.cancel(o,u)},s.prototype.hasCancelToken=function(o){return this._api.hasCancelToken(o)},s.prototype._graphqlSubscribe=function(o,u,l){var p=o.variables,ie=o.authToken;void 0===u&&(u={});var Ce=this._options,ve=Ce.aws_appsync_region,Lt=Ce.graphql_headers,Ft=void 0===Lt?function(){return{}}:Lt;if(Ra&&"function"==typeof Ra.subscribe)return Ra.subscribe("",{provider:Xi.b,appSyncGraphqlEndpoint:Ce.aws_appsync_graphqlEndpoint,authenticationType:o.authMode||Ce.aws_appsync_authenticationType||"AWS_IAM",apiKey:Ce.aws_appsync_apiKey,query:Kt(o.query
1),region:ve,variables:p,graphql_headers:Ft,additionalHeaders:u,authToken:ie},l);throw Ta.debug("No pubsub module applied for subscription"),new Error("No pubsub module applied for subscription")},s.prototype._ensureCredentials=function(){var o=this;return this.Credentials.get().then(function(u){if(!u)return!1;var l=o.Credentials.shear(u);return Ta.debug("set credentials for api",l),!0}).catch(function(u){return Ta.warn("ensure credentials error",u),!1})},s}(),Fh=new Ka(null);We.H.register(Fh);var bu=new Ie.C("RestAPI"),ml=function(){function s(o){this._api=null,this.Credentials=Ri.J,this._options=o,bu.debug("API Options",this._options)}return s.prototype.getModuleName=function(){return"RestAPI"},s.prototype.configure=function(o){var u=o||{},l=u.API,f=void 0===l?{}:l,p=su(u,["API"]),M=Ho(Ho({},p),f);if(bu.debug("configure Rest API",{opt:M}),M.aws_project_region){if(M.aws_cloud_logic_custom){var ie=M.aws_cloud_logic_custom;M.endpoints="string"==typeof ie?JSON.parse(ie):ie}M=Object.assign({},M,{region:M.aws_project_region,header:{}})}return Array.isArray(M.endpoints)?M.endpoints.forEach(function(Ce){typeof Ce.custom_header<"u"&&"function"!=typeof Ce.custom_header&&(bu.warn("Rest API "+Ce.name+", custom_header should be a function"),Ce.custom_header=void 0)}):M.endpoints=this._options&&Array.isArray(this._options.endpoints)?this._options.endpoints:[],this._options=Object.assign({},this._options,M),this.createInstance(),this._options},s.prototype.createInstance=function(){return bu.debug("create Rest API instance"),this._api=new Zu(this._options),this._api.Credentials=this.Credentials,!0},s.prototype.get=function(o,u,l){try{var f=this.getEndpointInfo(o,u),p=this._api.getCancellableToken(),M=Object.assign({},l);M.cancellableToken=p;var ie=this._api.get(f,M);return this._api.updateRequestToBeCancellable(ie,p),ie}catch(Ce){return Promise.reject(Ce.message)}},s.prototype.post=function(o,u,l){try{var f=this.getEndpointInfo(o,u),p=this._api.getCancellableToken(),M=Object.assign({},l);M.cancellableToken=p;var ie=this._api.post(f,M);return this._api.updateRequestToBeCancellable(ie,p),ie}catch(Ce){return Promise.reject(Ce.message)}},s.prototype.put=function(o,u,l){try{var f=this.getEndpointInfo(o,u),p=this._api.getCancellableToken(),M=Object.assign({},l);M.cancellableToken=p;var ie=this._api.put(f,M);return this._api.updateRequestToBeCancellable(ie,p),ie}catch(Ce){return Promise.reject(Ce.message)}},s.prototype.patch=function(o,u,l){try{var f=this.getEndpointInfo(o,u),p=this._api.getCancellableToken(),M=Object.assign({},l);M.cancellableToken=p;var ie=this._api.patch(f,M);return this._api.updateRequestToBeCancellable(ie,p),ie}catch(Ce){return Promise.reject(Ce.message)}},s.prototype.del=function(o,u,l){try{var f=this.getEndpointInfo(o,u),p=this._api.getCancellableToken(),M=Object.assign({},l);M.cancellableToken=p;var ie=this._api.del(f,M);return this._api.updateRequestToBeCancellable(ie,p),ie}catch(Ce){return Promise.reject(Ce.message)}},s.prototype.head=function(o,u,l){try{var f=this.getEndpointInfo(o,u),p=this._api.getCancellableToken(),M=Object.assign({},l);M.cancellableToken=p;var ie=this._api.head(f,M);return this._api.updateRequestToBeCancellable(ie,p),ie}catch(Ce){return Promise.reject(Ce.message)}},s.prototype.isCancel=function(o){return this._api.isCancel(o)},s.prototype.cancel=function(o,u){return this._api.cancel(o,u)},s.prototype.hasCancelToken=function(o){return this._api.hasCancelToken(o)},s.prototype.endpoint=function(o){return ud(this,void 0,void 0,function(){return cd(this,function(u){return[2,this._api.endpoint(o)]})})},s.prototype.getEndpointInfo=function(o,u){var l=this._options.endpoints;if(!Array.isArray(l))throw new Error("API category not configured");var f=l.find(function(M){return M.name===o});if(!f)throw new Error("API ".concat(o," does not exist"));var p={endpoint:f.endpoint+u};return"string"==typeof f.region?p.region=f.region:"string"==typeof this._options.region&&(p.region=this._options.region),p.service="string"==typeof f.service&&f.service||"execute-api",p.custom_header="function"==typeof f.custom_header?f.custom_header:void 0,p},s}(),ec=new ml(null);We.H.register(ec);var tc=new Ie.C("API"),nc=function(){function s(o){this.Auth=Gr.N,this.Cache=jr,this.Credentials=Ri.J,this._options=o,this._restApi=new ml(o),this._graphqlApi=new Ka(o),tc.debug("API Options",this._options)}return s.prototype.getModuleName=function(){return"InternalAPI"},s.prototype.configure=function(o){this._options=Object.assign({},this._options,o),this._restApi.Credentials=this.Credentials,this._graphqlApi.Auth=this.Auth,this._graphqlApi.Cache=this.Cache,this._graphqlApi.Credentials=this.Credentials;var u=this._restApi.configure(this._options),l=this._graphqlApi.configure(this._options);return P(P({},u),l)},s.prototype.get=function(o,u,l){return this._restApi.get(o,u,this.getInitWithCustomUserAgentDetails(l,Ai.Fu.Get))},s.prototype.post=function(o,u,l){return this._restApi.post(o,u,this.getInitWithCustomUserAgentDetails(l,Ai.Fu.Post))},s.prototype.put=function(o,u,l){return this._restApi.put(o,u,this.getInitWithCustomUserAgentDetails(l,Ai.Fu.Put))},s.prototype.patch=function(o,u,l){return this._restApi.patch(o,u,this.getInitWithCustomUserAgentDetails(l,Ai.Fu.Patch))},s.prototype.del=function(o,u,l){return this._restApi.del(o,u,this.getInitWithCustomUserAgentDetails(l,Ai.Fu.Del))},s.prototype.head=function(o,u,l){return this._restApi.head(o,u,this.getInitWithCustomUserAgentDetails(l,Ai.Fu.Head))},s.prototype.isCancel=function(o){return this._restApi.isCancel(o)},s.prototype.cancel=function(o,u){return this._restApi.hasCancelToken(o)?this._restApi.cancel(o,u):!!this._graphqlApi.hasCancelToken(o)&&this._graphqlApi.cancel(o,u)},s.prototype.getInitWithCustomUserAgentDetails=function(o,u){var l={category:Ai.b7.API,action:u};return P(P({},o),{customUserAgentDetails:l})},s.prototype.endpoint=function(o){return function F(s,o,u,l){return new(u||(u=Promise))(function(p,M){function ie(qe){try{ve(l.next(qe))}catch(gt){M(gt)}}function Ce(qe){try{ve(l.throw(qe))}catch(gt){M(gt)}}
1function ve(qe){qe.done?p(qe.value):function f(p){return p instanceof u?p:new u(function(M){M(p)})}(qe.value).then(ie,Ce)}ve((l=l.apply(s,o||[])).next())})}(this,void 0,void 0,function(){return function k(s,o){var l,f,p,M,u={label:0,sent:function(){if(1&p[0])throw p[1];return p[1]},trys:[],ops:[]};return M={next:ie(0),throw:ie(1),return:ie(2)},"function"==typeof Symbol&&(M[Symbol.iterator]=function(){return this}),M;function ie(ve){return function(qe){return function Ce(ve){if(l)throw new TypeError("Generator is already executing.");for(;u;)try{if(l=1,f&&(p=2&ve[0]?f.return:ve[0]?f.throw||((p=f.return)&&p.call(f),0):f.next)&&!(p=p.call(f,ve[1])).done)return p;switch(f=0,p&&(ve=[2&ve[0],p.value]),ve[0]){case 0:case 1:p=ve;break;case 4:return u.label++,{value:ve[1],done:!1};case 5:u.label++,f=ve[1],ve=[0];continue;case 7:ve=u.ops.pop(),u.trys.pop();continue;default:if(!(p=(p=u.trys).length>0&&p[p.length-1])&&(6===ve[0]||2===ve[0])){u=0;continue}if(3===ve[0]&&(!p||ve[1]>p[0]&&ve[1]<p[3])){u.label=ve[1];break}if(6===ve[0]&&u.label<p[1]){u.label=p[1],p=ve;break}if(p&&u.label<p[2]){u.label=p[2],u.ops.push(ve);break}p[2]&&u.ops.pop(),u.trys.pop();continue}ve=o.call(s,u)}catch(qe){ve=[6,qe],f=0}finally{l=p=0}if(5&ve[0])throw ve[1];return{value:ve[0]?ve[1]:void 0,done:!0}}([ve,qe])}}}(this,function(u){return[2,this._restApi.endpoint(o)]})})},s.prototype.getGraphqlOperationType=function(o){return this._graphqlApi.getGraphqlOperationType(o)},s.prototype.graphql=function(o,u,l){var f=P({category:Ai.b7.API,action:Ai.Fu.GraphQl},l);return this._graphqlApi.graphql(o,u,f)},s}(),kh=new nc(null);We.H.register(kh),new Ie.C("API");var Lh=function(s){function o(){return null!==s&&s.apply(this,arguments)||this}return function K(s,o){function u(){this.constructor=s}j(s,o),s.prototype=null===o?Object.create(o):(u.prototype=o.prototype,new u)}(o,s),o.prototype.getModuleName=function(){return"API"},o.prototype.graphql=function(u,l){return s.prototype.graphql.call(this,u,l)},o}(nc),da=new Lh(null);We.H.register(da);var Wa=v(2677),za=v(3602),os=v(1434),wu=v(8559);let Gd=(()=>{var s;class o{constructor(l,f){this.amplifyApiEnv=l,this.awsAuthService=f}publicPost(l,f){return(0,Wa.H)(this.publicPostRequest(l,f)).pipe((0,za.s)(1))}publicGet(l,f){return(0,Wa.H)(this.publicGetRequest(l,f)).pipe((0,za.s)(1))}privateGet(l){return(0,Wa.H)(this.privateGetRequest(l)).pipe((0,za.s)(1))}privatePost(l,f){return(0,Wa.H)(this.privatePostRequest(l,f)).pipe((0,za.s)(1))}privatePatch(l,f){return(0,Wa.H)(this.privatePatchRequest(l,f)).pipe((0,za.s)(1))}privatePut(l,f){return(0,Wa.H)(this.privatePutRequest(l,f)).pipe((0,za.s)(1))}publicPostRequest(l,f){var p=this;return(0,G.A)(function*(){return yield da.post("public-api",l,{headers:{"x-api-key":p.amplifyApiEnv.amplify.API.apiKey},body:f})})()}publicGetRequest(l,f){var p=this;return(0,G.A)(function*(){return yield da.get("public-api",l,{headers:{"x-api-key":p.amplifyApiEnv.amplify.API.apiKey},...f&&{queryStringParameters:f}})})()}privateGetRequest(l){var f=this;return(0,G.A)(function*(){const p=yield f.awsAuthService.getFullCurrentUser();return yield da.get("public-api",l,{headers:{Authorization:"Bearer "+p.signInUserSession.idToken.jwtToken,"x-api-key":f.amplifyApiEnv.amplify.API.apiKey}})})()}privatePostRequest(l,f){var p=this;return(0,G.A)(function*(){const M=yield p.awsAuthService.getFullCurrentUser();return yield da.post("public-api",l,{headers:{Authorization:"Bearer "+M.signInUserSession.idToken.jwtToken,"x-api-key":p.amplifyApiEnv.amplify.API.apiKey},body:f})})()}privatePatchRequest(l,f){var p=this;return(0,G.A)(function*(){const M=yield p.awsAuthService.getFullCurrentUser();return yield da.patch("public-api",l,{headers:{Authorization:"Bearer "+M.signInUserSession.idToken.jwtToken,"x-api-key":p.amplifyApiEnv.amplify.API.apiKey},body:f})})()}privatePutRequest(l,f){var p=this;return(0,G.A)(function*(){const M=yield p.awsAuthService.getFullCurrentUser();return yield da.put("public-api",l,{headers:{Authorization:"Bearer "+M.signInUserSession.idToken.jwtToken,"x-api-key":p.amplifyApiEnv.amplify.API.apiKey},body:f})})()}}return(s=o).\u0275fac=function(l){return new(l||s)(wu.KVO(h),wu.KVO(os.$u))},s.\u0275prov=wu.jDH({token:s,factory:s.\u0275fac,providedIn:"root"}),o})()},1434:(Qe,ge,v)=>{"use strict";v.d(ge,{$u:()=>P,zd:()=>W});var c=v(9204),h=v(5036),G=v(2677),j=v(3602),K=v(8559);let P=(()=>{var Re;class Je{constructor(){}register(at){return(0,G.H)(this.registerAmplify(at)).pipe((0,j.s)(1))}confirmSignUp(at,nt,we){return(0,G.H)(this.confirmSignUpAmplify(at,nt)).pipe((0,j.s)(1))}login(at,nt,we){return(0,G.H)(this.loginAmplify(at,nt)).pipe((0,j.s)(1))}sendResetPasswordCode(at,nt){return(0,G.H)(this.sendForgotPasswordCodeAmplify(at,nt)).pipe((0,j.s)(1))}createNewPassword(at,nt,we){return(0,G.H)(this.createNewPasswordAmplify(at,nt,we)).pipe((0,j.s)(1))}changePassword(at,nt){return(0,G.H)(this.changePasswordAmplify(at,nt)).pipe((0,j.s)(1))}sendVerificationCode(at,nt){return(0,G.H)(this.updateUserAttributesAmplify(at,nt)).pipe((0,j.s)(1))}sendNewUpdateVerificationCode(at,nt){return(0,G.H)(this.verifyUserAttributeAmplify(at,nt)).pipe((0,j.s)(1))}sendNewSignUpVerificationCode(at,nt){return(0,G.H)(this.resendSignUpAmplify(at,nt)).pipe((0,j.s)(1))}updateSignInAttribute(at,nt){return(0,G.H)(this.verifyUserAttributeSubmitAmplify(at,nt)).pipe((0,j.s)(1))}getFullCurrentUser(){return this.getCurrentUserAmplify()}getCurrentUserClaims(){return this.getCurrentUserSessionAmplify().then(at=>({user:JSON.parse(at.idToken.payload.user)}))}getCurrentUsername(){return this.getCurrentUserAmplify().then(at=>at.signInUserSession.accessToken)}getUserFullName(){return this.getCurrentUserAmplify().then(at=>at.attributes.name?at.attributes.name:"")}isUserLoggedIn(){return(0,c.A)(function*(){try{return yield h.N.currentAuthenticatedUser(),!0}catch{return!1}})()}logout(){return this.logoutAmplify()}refreshToken(at){var nt=this;return(0,c.A)(function*(){at=at||(()=>{});const we=yield nt.getCurrentUserAmplify(),re=yield nt.getCurrentUserSessionAmplify();we.refreshSession(re.refreshToken,at)})()}logoutAmplify(){return(0,c.A)(function*(){return yield h.N.signOut()})()}getCurrentUserAmplify(){return(0,c.A)(function*(){return yield h.N.currentAuthenticatedUser()})()}getCurrentUserSessionAmplify(){return(0,c.A)(function*(){return yield h.N.currentSession()})()}registerAmplify(at){return(0,c.A)(function*(){try{return yield h.N.signUp(at)}catch(nt){if("object"==typeof nt&&nt&&"code"in nt&&"string"==typeof nt.code)throw new Error(nt.code)}})()}confirmSignUpAmplify(at,nt){return(0,c.A)(function*(){try{return yield h.N.confirmSignUp(at,nt)}catch(we){if("object"==typeof we&&we&&"code"in we&&"string"==typeof we.code)throw new Error(we.code)}})()}loginAmplify(at,nt){return(0,c.A)(function*(){return yield h.N.signIn(at,nt)})()}sendForgotPasswordCodeAmplify(at,nt){return(0,c.A)(function*(){try{return yield h.N.forgotPassword(at,nt)}catch(we){if("object"==typeof we&&we&&"code"in we&&"string"==typeof we.code)throw new Error(we.code)}})()}changePasswordAmplify(at,nt){return(0,c.A)(function*(){try{return yield h.N.currentAuthenticatedUser().then(we=>
1h.N.changePassword(we,at,nt))}catch(we){if("object"==typeof we&&we&&"code"in we&&"string"==typeof we.code)throw new Error(we.code)}})()}updateUserAttributesAmplify(at,nt){return(0,c.A)(function*(){try{return yield h.N.currentAuthenticatedUser().then(we=>h.N.updateUserAttributes(we,{...at},nt))}catch(we){if("object"==typeof we&&we&&"code"in we&&"string"==typeof we.code)throw new Error(we.code)}})()}verifyUserAttributeAmplify(at,nt){return(0,c.A)(function*(){try{return yield h.N.currentAuthenticatedUser().then(we=>h.N.verifyUserAttribute(we,at,nt))}catch(we){if("object"==typeof we&&we&&"code"in we&&"string"==typeof we.code)throw new Error(we.code)}})()}resendSignUpAmplify(at,nt){return(0,c.A)(function*(){try{return yield h.N.resendSignUp(at,nt)}catch(we){if("object"==typeof we&&we&&"code"in we&&"string"==typeof we.code)throw new Error(we.code)}})()}verifyUserAttributeSubmitAmplify(at,nt){return(0,c.A)(function*(){try{return yield h.N.currentAuthenticatedUser().then(we=>h.N.verifyUserAttributeSubmit(we,nt,at))}catch(we){throw"object"==typeof we&&we&&"code"in we&&"string"==typeof we.code?new Error(we.code):we}})()}createNewPasswordAmplify(at,nt,we){return(0,c.A)(function*(){try{return yield h.N.forgotPasswordSubmit(at,nt,we)}catch(re){if("object"==typeof re&&re&&"code"in re&&"string"==typeof re.code)throw new Error(re.code)}})()}}return(Re=Je).\u0275fac=function(at){return new(at||Re)},Re.\u0275prov=K.jDH({token:Re,factory:Re.\u0275fac,providedIn:"root"}),Je})();var R=v(1536),D=v(1963);let W=(()=>{var Re;class Je{constructor(at){this.authService=at}resolve(){return(0,G.H)(this.authService.isUserLoggedIn()).pipe((0,D.n)(at=>at?(0,G.H)(this.authService.getCurrentUserClaims()):(0,R.of)(!1)))}}return(Re=Je).\u0275fac=function(at){return new(at||Re)(K.KVO(P))},Re.\u0275prov=K.jDH({token:Re,factory:Re.\u0275fac,providedIn:"root"}),Je})();class F extends Error{}F.prototype.name="InvalidTokenError"},5903:(Qe,ge,v)=>{"use strict";v.d(ge,{P0:()=>Xt,cX:()=>D,rp:()=>x,Ln:()=>_t,E3:()=>Je.E,zw:()=>dn,H:()=>rn,CG:()=>Gt});var c=function(Qt){return Qt.SkipGenericErrorHandling="X-LMW-Skip-Client-Error-Handler",Qt}(c||{}),h=v(316),G=v(2728),j=v(9916);const P=(0,j.VP)("[error] Open Global Error Popup"),D=(0,j.VP)("[error] Close Global Error Popup"),$=(0,j.vy)({errorPopupIsOpen:!1},(0,j.on)(P,(Qt,{...wn})=>Object.assign({},Qt,{errorPopupIsOpen:!0})),(0,j.on)(D,(Qt,{...wn})=>Object.assign({},Qt,{errorPopupIsOpen:!1})));function F(Qt,wn){return $(Qt,wn)}var k=v(1836),oe=v(8559);let x=(()=>{var Qt;class wn{}return(Qt=wn).\u0275fac=function(pn){return new(pn||Qt)},Qt.\u0275mod=oe.$C({type:Qt}),Qt.\u0275inj=oe.G2t({imports:[h.MD,G.iI,k.T,j.md.forFeature("error",F)]}),wn})();v(5731),v(9839),v(2351),v(2275),v(4925);var Je=v(2065);let _t=(()=>{var Qt;class wn{constructor(pn){this.store=pn,this.errorHandlingDisabled=!1}showGeneralError(){this.errorHandlingDisabled||this.store.dispatch(P())}closeGeneralError(){this.errorHandlingDisabled||this.store.dispatch(D())}isErrorHandlingDisabled(){return this.errorHandlingDisabled}enableErrorHandling(){this.errorHandlingDisabled=!1}disableErrorHandling(){this.errorHandlingDisabled=!0}}return(Qt=wn).\u0275fac=function(pn){return new(pn||Qt)(oe.KVO(j.il))},Qt.\u0275prov=oe.jDH({token:Qt,factory:Qt.\u0275fac,providedIn:"root"}),wn})();const vn=(0,j.UX)("error"),Gt=(0,j.Mz)(vn,Qt=>Qt.errorPopupIsOpen);var an=v(5677),Ut=v.n(an);let Xt=(()=>{var Qt;class wn{constructor(pn){this.errorNotificationService=pn}intercept(){Ut().interceptors.response.use(pn=>Promise.resolve(pn),pn=>c.SkipGenericErrorHandling in pn.config.headers||this.errorNotificationService.isErrorHandlingDisabled()?Promise.reject(pn):(this.errorNotificationService.showGeneralError(),Promise.resolve()))}}return(Qt=wn).\u0275fac=function(pn){return new(pn||Qt)(oe.KVO(_t))},Qt.\u0275prov=oe.jDH({token:Qt,factory:Qt.\u0275fac,providedIn:"root"}),wn})();function rn(Qt){return()=>Qt.intercept()}var Cn=v(6651),On=v(1536),Bn=v(9314);let dn=(()=>{var Qt;class wn{constructor(pn){this.errorNotificationService=pn}intercept(pn,Zn){const be=pn.headers.has(c.SkipGenericErrorHandling)||this.errorNotificationService.isErrorHandlingDisabled();return Zn.handle(pn).pipe((0,Bn.W)(Pt=>be?(0,Cn.$)(Pt):(this.errorNotificationService.showGeneralError(),(0,On.of)())))}}
1return(Qt=wn).\u0275fac=function(pn){return new(pn||Qt)(oe.KVO(_t))},Qt.\u0275prov=oe.jDH({token:Qt,factory:Qt.\u0275fac}),wn})()},5731:(Qe,ge,v)=>{"use strict";v.d(ge,{q:()=>P});var c=v(8559),h=v(2065),G=v(8568);const j=[[["","extraContentLower",""]]],K=["[extraContentLower]"];let P=(()=>{var R;class D{constructor($){this.errorProvider=$}ngOnInit(){}}return(R=D).\u0275fac=function($){return new($||R)(c.rXU(h.E))},R.\u0275cmp=c.VBU({type:R,selectors:[["error-bad-request"]],inputs:{title:"title",description:"description"},ngContentSelectors:K,decls:8,vars:4,consts:[["id","content",1,"grid-container","site-container","site-container--error-page"],[1,"grid-x","grid-margin-x"],[1,"cell"],[1,"secondary"],[3,"innerHTML"]],template:function($,F){1&$&&(c.NAR(j),c.j41(0,"main",0)(1,"div",1)(2,"div",2)(3,"h1",3),c.EFF(4),c.k0s(),c.nrm(5,"div",4),c.nI1(6,"dontSanitizeHtml"),c.SdG(7),c.k0s()()()),2&$&&(c.R7$(4),c.SpI(" ",F.title?F.title:"Sorry, something went wrong with "+F.errorProvider.applicationName+" (400 error)"," "),c.R7$(),c.Y8G("innerHTML",F.description?F.description:c.bMT(6,2,"It looks like something technical went wrong with "+F.errorProvider.applicationName+". We're working to fix it."),c.npT))},dependencies:[G.Y],encapsulation:2}),D})()},9839:(Qe,ge,v)=>{"use strict";v.d(ge,{B:()=>K});var c=v(8559),h=v(8568);const G=[[["","extraContentLower",""]]],j=["[extraContentLower]"];let K=(()=>{var P;class R{constructor(){}ngOnInit(){}}return(P=R).\u0275fac=function(W){return new(W||P)},P.\u0275cmp=c.VBU({type:P,selectors:[["error-forbidden"]],inputs:{title:"title",description:"description"},ngContentSelectors:j,decls:8,vars:4,consts:[["id","content",1,"grid-container","site-container","site-container--error-page"],[1,"grid-x","grid-margin-x"],[1,"cell"],[1,"secondary"],[3,"innerHTML"]],template:function(W,$){1&W&&(c.NAR(G),c.j41(0,"main",0)(1,"div",1)(2,"div",2)(3,"h1",3),c.EFF(4),c.k0s(),c.nrm(5,"div",4),c.nI1(6,"dontSanitizeHtml"),c.SdG(7),c.k0s()()()),2&W&&(c.R7$(4),c.SpI(" ",$.title?$.title:"Sorry, we can't give you access to that page (403 error)"," "),c.R7$(),c.Y8G("innerHTML",$.description?$.description:c.bMT(6,2,"This is probably a security issue."),c.npT))},dependencies:[h.Y],encapsulation:2}),R})()},2351:(Qe,ge,v)=>{"use strict";v.d(ge,{_:()=>P});var c=v(8559),h=v(2065),G=v(8568);const j=[[["","extraContentLower",""]]],K=["[extraContentLower]"];let P=(()=>{var R;class D{constructor($){this.errorProvider=$}ngOnInit(){}}return(R=D).\u0275fac=function($){return new($||R)(c.rXU(h.E))},R.\u0275cmp=c.VBU({type:R,selectors:[["error-internal-server-error"]],inputs:{title:"title",description:"description"},ngContentSelectors:K,decls:8,vars:4,consts:[["id","content",1,"grid-container","site-container","site-container--error-page"],[1,"grid-x","grid-margin-x"],[1,"cell"],[1,"secondary"],[3,"innerHTML"]],template:function($,F){1&$&&(c.NAR(j),c.j41(0,"main",0)(1,"div",1)(2,"div",2)(3,"h1",3),c.EFF(4),c.k0s(),c.nrm(5,"div",4),c.nI1(6,"dontSanitizeHtml"),c.SdG(7),c.k0s()()()),2&$&&(c.R7$(4),c.SpI(" ",F.title?F.title:"Sorry, something went wrong with "+F.errorProvider.applicationName+" (500 error)"," "),c.R7$(),c.Y8G("innerHTML",F.description?F.description:c.bMT(6,2,"It's nothing you've done. We're working on a fix for this."),c.npT))},dependencies:[G.Y],encapsulation:2}),D})()},2275:(Qe,ge,v)=>{"use strict";v.d(ge,{X:()=>K});var c=v(8559),h=v(8568);const G=[[["","extraContentLower",""]]],j=["[extraContentLower]"];let K=(()=>{var P;class R{constructor(){}ngOnInit(){}}return(P=R).\u0275fac=function(W){return new(W||P)},P.\u0275cmp=c.VBU({type:P,selectors:[["error-not-found"]],inputs:{title:"title",description:"description"},ngContentSelectors:j,decls:8,vars:4,consts:[["id","content",1,"grid-container","site-container","site-container--error-page"],[1,"grid-x","grid-margin-x"],[1,"cell"],[1,"secondary"],[1,"lead",3,"innerHTML"]],template:function(W,$){1&W&&(c.NAR(G),c.j41(0,"main",0)(1,"div",1)(2,"div",2)(3,"h1",3),c.EFF(4),c.k0s(),c.nrm(5,"div",4),c.nI1(6,"dontSanitizeHtml"),c.SdG(7),c.k0s()()()),2&W&&(c.R7$(4),c.SpI(" ",$.title?$.title:"Sorry, we can't find that page (404 error)"," "),c.R7$(),c.Y8G("innerHTML",$.description?$.description:c.bMT(6,2,"It looks like you've tried to access a page which isn't available."),c.npT))},dependencies:[h.Y],encapsulation:2}),R})()},4925:(Qe,ge,v)=>{"use strict";v.d(ge,{k:()=>K});var c=v(8559),h=v(8568);const G=[[["","extraContentLower",""]]],j=["[extraContentLower]"];let K=(()=>{var P;class R{constructor(){}ngOnInit(){}}return(P=R).\u0275fac=function(W){return new(W||P)},P.\u0275cmp=c.VBU({type:P,selectors:[["error-unauthorized"]],inputs:{title:"title",description:"description"},ngContentSelectors:j,decls:8,vars:4,consts:[["id","content",1,"grid-container","site-container","site-container--error-page"],[1,"grid-x","grid-margin-x"],[1,"cell"],[1,"secondary"],[3,"innerHTML"]],template:function(W,$){1&W&&(c.NAR(G),c.j41(0,"main",0)(1,"div",1)(2,"div",2)(3,"h1",3),c.EFF(4),c.k0s(),c.nrm(5,"div",4),c.nI1(6,"dontSanitizeHtml"),c.SdG(7),c.k0s()()()),2&W&&(c.R7$(4),c.SpI(" ",$.title?$.title:"Sorry, you can't access the page you were looking for (401 error)"," "),c.R7$(),c.Y8G("innerHTML",$.description?$.description:c.bMT(6,2,"This is probably due to security issues, it's nothing to worry about."),c.npT))},dependencies:[h.Y],encapsulation:2}),R})()},2065:(Qe,ge,v)=>{"use strict";v.d(ge,{E:()=>c});class c{}},6212:(Qe,ge,v)=>{"use strict";v.d(ge,{MY:()=>F,P4:()=>Re,p:()=>Je,d8:()=>Ut.d,gt:()=>le,lc:()=>pn,hp:()=>Zn,fe:()=>D,bT:()=>x,RH:()=>k.R,pC:()=>$e.p,Sy:()=>rn.S,qM:()=>Xt.q,c$:()=>Se.c,W1:()=>W,ln:()=>we.l,g0:()=>ye,dL:()=>nt.d,lA:()=>Ie,$V:()=>Gt,$o:()=>an,tB:()=>re.t});var c=v(316),h=v(7840),G=v(2728),j=v(8559);let K=(()=>{var be;class Pt{}return(be=Pt).\u0275fac=function(Nn){return new(Nn||be)},be.\u0275mod=j.$C({type:be}),be.\u0275inj=j.G2t({imports:[c.MD,G.iI]}),Pt})(),P=(()=>{var be;class Pt{}return(be=Pt).\u0275fac=function(Nn){return new(Nn||be)},be.\u0275mod=j.$C({type:be}),be.\u0275inj=j.G2t({imports:[c.MD,G.iI]}),Pt})();var R=v(4456);let D=(()=>{var be;class Pt{}return(be=Pt).\u0275fac=function(Nn){return new(Nn||be)},be.\u0275mod=j.$C({type:be}),be.\u0275inj=j.G2t({imports:[c.MD,G.iI,R.X1,h.K,K,P]}),Pt})();const W=be=>({previousRoutes:{...be}});var F=function(be){return be.LMW4="LMW4",be.LMW="lmw",be.OCN="OCN",be}(F||{}),k=v(321);class x{constructor(Pt,In){this.router=Pt,this.context=In,this.navigationExtras=this.router.getCurrentNavigation()?this.router.getCurrentNavigation().extras:{},this.previousRoute=this.getPreviousRoute()}dispatchStoreUpdate(Pt){Pt({previousRoute:this.previousRoute})}contextPreviousRouteExistsInRouter(){const{state:Pt}=this.navigationExtras;return!!((be=Pt)&&"previousRoutes"in be&&Pt.previousRoutes[this.context]);var be}getPreviousRoute(){if(this.contextPreviousRouteExistsInRouter()){const{state:Pt}=this.navigationExtras;return Pt.previousRoutes[this.context]}
1if(this.router.routerState.snapshot.url.split("#")[0])return this.router.routerState.snapshot.url.split("#")[0];if(document.referrer){const Pt=new URL(document.referrer);return Pt.pathname+Pt.search}return"/"}}var ue=v(2526);class le{constructor({timeoutInSeconds:Pt,onTimeout:In}){this.timeout=Pt,this.onTimeout=In,this.creationTimeout=this.checkExpiredTimeOnCreation(),this.eventHandler=(()=>this.updateExpiredTime()).bind(this),this.tracker(),this.startInterval()}cleanUp(){clearInterval(this.intervalTracker),document.removeEventListener("mousedown",this.eventHandler),document.removeEventListener("keydown",this.eventHandler),sessionStorage.removeItem(ue.I)}checkExpiredTimeOnCreation(){return sessionStorage.getItem(ue.I)?(parseInt(sessionStorage.getItem(ue.I),10)-Date.now())/1e3:this.timeout}startInterval(){this.updateExpiredTime(this.creationTimeout),this.intervalTracker=setInterval(()=>{parseInt(sessionStorage.getItem(ue.I),10)<Date.now()&&this.onTimeout&&(this.onTimeout(),this.cleanUp())},1e3)}updateExpiredTime(Pt){const In=Pt||this.timeout;this.timeoutTracker&&clearTimeout(this.timeoutTracker),this.timeoutTracker=setTimeout(()=>{sessionStorage.setItem(ue.I,(Date.now()+1e3*In).toString())},300)}tracker(){document.addEventListener("mousedown",this.eventHandler),document.addEventListener("keydown",this.eventHandler)}}var Se=v(2577),$e=v(165);let Re=(()=>{var be;class Pt{constructor(Nn){this.document=Nn}loadCookieControlScript(Nn){CookieControl.load(Nn)}}return(be=Pt).\u0275fac=function(Nn){return new(Nn||be)(j.KVO(c.qQ))},be.\u0275prov=j.jDH({token:be,factory:be.\u0275fac,providedIn:"root"}),Pt})(),Je=(()=>{var be;class Pt{constructor(Nn){this.document=Nn,this.analyticsMeasurementId=null}loadGoogleAnalytics(Nn){Nn&&(this.analyticsMeasurementId=Nn,this.appendScript(Nn),window.dataLayer=window.dataLayer||[],window.gtag=function(){window.dataLayer.push(arguments)},gtag("js",new Date),gtag("consent","default",{ad_storage:"denied",analytics_storage:"denied"}),gtag("config",Nn,{cookie_flags:"SameSite=None;Secure"}))}sendEvent(Nn,ur){this.analyticsMeasurementId&&gtag("event",Nn,{...ur})}appendScript(Nn){const ur=document.createElement("script");ur.src=`https://www.googletagmanager.com/gtag/js?id=${Nn}`,ur.async=!0,this.document.body.appendChild(ur)}}return(be=Pt).\u0275fac=function(Nn){return new(Nn||be)(j.KVO(c.qQ))},be.\u0275prov=j.jDH({token:be,factory:be.\u0275fac,providedIn:"root"}),Pt})();v(6325);var nt=v(401),we=v(3672),re=v(1389);function ye(be){const Pt=be.value;return Pt?/^[^<>{}&\\]+$/.test(Pt)?null:{illegalCharacters:!0}:null}var Me=v(5451);function Ie(be,Pt){return!be||(0,Me.g)(be,Pt)?null:{notValidPhoneNumber:!0}}var me=function(be){return be.UK="UK",be.GB="GB",be.JE="JE",be.GG="GG",be.IM="IM",be.US="US",be.CA="CA",be.IE="IE",be.DE="DE",be.JP="JP",be.FR="FR",be.AU="AU",be.IT="IT",be.CH="CH",be.AT="AT",be.ES="ES",be.NL="NL",be.BE="BE",be.DK="DK",be.SE="SE",be.NO="NO",be.BR="BR",be.PT="PT",be.FI="FI",be.AX="AX",be.KR="KR",be.CN="CN",be.TW="TW",be.SG="SG",be.DZ="DZ",be.AD="AD",be.AR="AR",be.AM="AM",be.AZ="AZ",be.BH="BH",be.BD="BD",be.BB="BB",be.BY="BY",be.BM="BM",be.BA="BA",be.IO="IO",be.BN="BN",be.BG="BG",be.KH="KH",be.CV="CV",be.CL="CL",be.CR="CR",be.HR="HR",be.CY="CY",be.CZ="CZ",be.DO="DO",be.EC="EC",be.EG="EG",be.EE="EE",be.FO="FO",be.GE="GE",be.GR="GR",be.GL="GL",be.GT="GT",be.HT="HT",be.HN="HN",be.HU="HU",be.IS="IS",be.IN="IN",be.ID="ID",be.IL="IL",be.JO="JO",be.KZ="KZ",be.KE="KE",be.KW="KW",be.KY="KY",be.LA="LA",be.LV="LV",be.LB="LB",be.LI="LI",be.LT="LT",be.LU="LU",be.MK="MK",be.MY="MY",be.MV="MV",be.MT="MT",be.MU="MU",be.MX="MX",be.MD="MD",be.MC="MC",be.MA="MA",be.NP="NP",be.NZ="NZ",be.NI="NI",be.NG="NG",be.OM="OM",be.PA="PA",be.PK="PK",be.PY="PY",be.PH="PH",be.PL="PL",be.PR="PR",be.RO="RO",be.RU="RU",be.SM="SM",be.SA="SA",be.SN="SN",be.SK="SK",be.SI="SI",be.ZA="ZA",be.LK="LK",be.TJ="TJ",be.TH="TH",be.TN="TN",be.TR="TR",be.TM="TM",be.UA="UA",be.UY="UY",be.UZ="UZ",be.VA="VA",be.VE="VE",be.ZM="ZM",be.AS="AS",be.CC="CC",be.CK="CK",be.RS="RS",be.ME="ME",be.CS="CS",be.YU="YU",be.CX="CX",be.ET="ET",be.FK="FK",be.NF="NF",be.FM="FM",be.GF="GF",be.GN="GN",be.GP="GP",be.GS="GS",be.GU="GU",be.GW="GW",be.HM="HM",be.IQ="IQ",be.KG="KG",be.LR="LR",be.LS="LS",be.MG="MG",be.MH="MH",be.MN="MN",be.MP="MP",be.MQ="MQ",be.NC="NC",be.NE="NE",be.VI="VI",be.VN="VN",be.PF="PF",be.PG="PG",be.PM="PM",be.PN="PN",be.PW="PW",be.RE="RE",be.SH="SH",be.SJ="SJ",be.SO="SO",be.SZ="SZ",be.TC="TC",be.WF="WF",be.XK="XK",be.YT="YT",be.PE="PE",be.GI="GI",be.BT="BT",be.AL="AL",be.CU="CU",be.UM="UM",be.AI="AI",be.AF="AF",be.SD="SD",be.VC="VC",be.TA="TA",be.NA="NA",be.EH="EH",be.BL="BL",be.TZ="TZ",be.AC="AC",be.VG="VG",be.MZ="MZ",be.MF="MF",be.MM="MM",be.SV="SV",be.IR="IR",be.INTL="INTL",be.CO="CO",be}(me||{});const _t=new Map([[me.UK,/^([A-Z]){1}([0-9][0-9]|[0-9]|[A-Z][0-9][A-Z]|[A-Z][0-9][0-9]|[A-Z][0-9]|[0-9][A-Z]){1}([ ])?([0-9][A-z][A-z]){1}$/i],[me.GB,/^([A-Z]){1}([0-9][0-9]|[0-9]|[A-Z][0-9][A-Z]|[A-Z][0-9][0-9]|[A-Z][0-9]|[0-9][A-Z]){1}([ ])?([0-9][A-z][A-z]){1}$/i],[me.JE,/^JE\d[\dA-Z]?[ ]?\d[ABD-HJLN-UW-Z]{2}$/],[me.GG,/^GY\d[\dA-Z]?[ ]?\d[ABD-HJLN-UW-Z]{2}$/],[me.IM,/^IM\d[\dA-Z]?[ ]?\d[ABD-HJLN-UW-Z]{2}$/],[me.US,/^([0-9]{5})(?:-([0-9]{4}))?$/],[me.CA,/^([ABCEGHJKLMNPRSTVXY][0-9][ABCEGHJKLMNPRSTVWXYZ])\s*([0-9][ABCEGHJKLMNPRSTVWXYZ][0-9])$/i],[me.IE,/^([AC-FHKNPRTV-Y][0-9]{2}|D6W)[ -]?[0-9AC-FHKNPRTV-Y]{4}$/],[me.DE,/^\d{5}$/],[me.JP,/^\d{3}-\d{4}$/],[me.FR,/^\d{2}[ ]?\d{3}$/],[me.AU,/^\d{4}$/],[me.IT,/^\d{5}
1$/],[me.CH,/^\d{4}$/],[me.AT,/^(?!0)\d{4}$/],[me.ES,/^(?:0[1-9]|[1-4]\d|5[0-2])\d{3}$/],[me.NL,/^\d{4}[ ]?[A-Z]{2}$/],[me.BE,/^\d{4}$/],[me.DK,/^\d{4}$/],[me.SE,/^(SE-)?\d{3}[ ]?\d{2}$/],[me.NO,/^\d{4}$/],[me.BR,/^\d{5}[\-]?\d{3}$/],[me.PT,/^\d{4}([\-]\d{3})?$/],[me.FI,/^(FI-|AX-)?\d{5}$/],[me.AX,/^22\d{3}$/],[me.KR,/^\d{5}$/],[me.CN,/^\d{6}$/],[me.TW,/^\d{3}(\d{2,3})?$/],[me.SG,/^\d{6}$/],[me.DZ,/^\d{5}$/],[me.AD,/^AD\d{3}$/],[me.AR,/^([A-HJ-NP-Z])?\d{4}([A-Z]{3})?$/],[me.AM,/^(37)?\d{4}$/],[me.AZ,/^\d{4}$/],[me.BH,/^((1[0-2]|[2-9])\d{2})?$/],[me.BD,/^\d{4}$/],[me.BB,/^(BB\d{5})?$/],[me.BY,/^\d{6}$/],[me.BM,/^[A-Z]{2}[ ]?[A-Z0-9]{2}$/],[me.BA,/^\d{5}$/],[me.IO,/^BBND 1ZZ$/],[me.BN,/^[A-Z]{2}[ ]?\d{4}$/],[me.BG,/^\d{4}$/],[me.KH,/^\d{5}$/],[me.CV,/^\d{4}$/],[me.CL,/^\d{7}$/],[me.CR,/^(\d{4,5}|\d{3}-\d{4})$/],[me.HR,/^(HR-)?\d{5}$/],[me.CY,/^\d{4}$/],[me.CZ,/^\d{3}[ ]?\d{2}$/],[me.DO,/^\d{5}$/],[me.EC,/^([A-Z]\d{4}[A-Z]|(?:[A-Z]{2})?\d{6})?$/],[me.EG,/^\d{5}$/],[me.EE,/^\d{5}$/],[me.FO,/^\d{3}$/],[me.GE,/^\d{4}$/],[me.GR,/^\d{3}[ ]?\d{2}$/],[me.GL,/^39\d{2}$/],[me.GT,/^\d{5}$/],[me.HT,/^\d{4}$/],[me.HN,/^(?:\d{5})?$/],[me.HU,/^\d{4}$/],[me.IS,/^\d{3}$/],[me.IN,/^\d{6}$/],[me.ID,/^\d{5}$/],[me.IL,/^\d{5,7}$/],[me.JO,/^\d{5}$/],[me.KZ,/^\d{6}$/],[me.KE,/^\d{5}$/],[me.KW,/^\d{5}$/],[me.KY,/^KY[123]-\d{4}$/],[me.LA,/^\d{5}$/],[me.LV,/^(LV-)?\d{4}$/],[me.LB,/^(\d{4}([ ]?\d{4})?)?$/],[me.LI,/^(948[5-9])|(949[0-7])$/],[me.LT,/^(LT-)?\d{5}$/],[me.LU,/^(L-)?\d{4}$/],[me.MK,/^\d{4}$/],[me.MY,/^\d{5}$/],[me.MV,/^\d{5}$/],[me.MT,/^[A-Z]{3}[ ]?\d{2,4}$/],[me.MU,/^((\d|[A-Z])\d{4})?$/],[me.MX,/^\d{5}$/],[me.MD,/^\d{4}$/],[me.MC,/^980\d{2}$/],[me.MA,/^\d{5}$/],[me.NP,/^\d{5}$/],[me.NZ,/^\d{4}$/],[me.NI,/^((\d{4}-)?\d{3}-\d{3}(-\d{1})?)?$/],[me.NG,/^(\d{6})?$/],[me.OM,/^(PC )?\d{3}$/],[me.PA,/^\d{4}$/],[me.PK,/^\d{5}$/],[me.PY,/^\d{4}$/],[me.PH,/^\d{4}$/],[me.PL,/^\d{2}-\d{3}$/],[me.PR,/^00[679]\d{2}([ \-]\d{4})?$/],[me.RO,/^\d{6}$/],[me.RU,/^\d{6}$/],[me.SM,/^4789\d$/],[me.SA,/^\d{5}$/],[me.SN,/^\d{5}$/],[me.SK,/^\d{3}[ ]?\d{2}$/],[me.SI,/^(SI-)?\d{4}$/],[me.ZA,/^\d{4}$/],[me.LK,/^\d{5}$/],[me.TJ,/^\d{6}$/],[me.TH,/^\d{5}$/],[me.TN,/^\d{4}$/],[me.TR,/^\d{5}$/],[me.TM,/^\d{6}$/],[me.UA,/^\d{5}$/],[me.UY,/^\d{5}$/],[me.UZ,/^\d{6}$/],[me.VA,/^00120$/],[me.VE,/^\d{4}$/],[me.ZM,/^\d{5}$/],[me.AS,/^96799$/],[me.CC,/^6799$/],[me.CK,/^\d{4}$/],[me.RS,/^\d{5,6}$/],[me.ME,/^8\d{4}$/],[me.CS,/^\d{5}$/],[me.YU,/^\d{5}$/],[me.CX,/^6798$/],[me.ET,/^\d{4}$/],[me.FK,/^FIQQ 1ZZ$/],[me.NF,/^2899$/],[me.FM,/^(9694[1-4])([ \-]\d{4})?$/],[me.GF,/^9[78]3\d{2}$/],[me.GN,/^\d{3}$/],[me.GP,/^9[78][01]\d{2}$/],[me.GS,/^SIQQ 1ZZ$/],[me.GU,/^969[123]\d([ \-]\d{4})?$/],[me.GW,/^\d{4}$/],[me.HM,/^\d{4}$/],[me.IQ,/^\d{5}$/],[me.KG,/^\d{6}$/],[me.LR,/^\d{4}$/],[me.LS,/^\d{3}$/],[me.MG,/^\d{3}$/],[me.MH,/^969[67]\d([ \-]\d{4})?$/],[me.MN,/^\d{5}$/],[me.MP,/^9695[012]([ \-]\d{4})?$/],[me.MQ,/^9[78]2\d{2}$/],[me.NC,/^988\d{2}$/],[me.NE,/^\d{4}$/],[me.VI,/^008(([0-4]\d)|(5[01]))([ \-]\d{4})?$/],[me.VN,/^\d{6}$/],[me.PF,/^987\d{2}$/],[me.PG,/^\d{3}$/],[me.PM,/^9[78]5\d{2}$/],[me.PN,/^PCRN 1ZZ$/],[me.PW,/^96940$/],[me.RE,/^9[78]4\d{2}$/],[me.SH,/^(ASCN|STHL) 1ZZ$/],[me.SJ,/^\d{4}$/],[me.SO,/^\d{5}$/],[me.SZ,/^[HLMS]\d{3}$/],[me.TC,/^TKCA 1ZZ$/],[me.WF,/^986\d{2}$/],[me.XK,/^\d{5}$/],[me.YT,/^976\d{2}$/],[me.GI,/^GX11 1AA/],[me.BT,/^\d{5}/],[me.AL,/^\d{4}/],[me.CU,/^\d{5}/],[me.UM,/^96898/],[me.AI,/^(?:AI-)?2640/],[me.AF,/^\d{4}/],[me.SD,/^\d{5}/],[me.VC,/^VC\d{4}/],[me.TA,/^TDCU 1ZZ/],[me.NA,/^\d{5}/],[me.EH,/^\d{5}/],[me.BL,/^9[78][01]\d{2}/],[me.TZ,/^\d{4,5}/],[me.AC,/^ASCN 1ZZ/],[me.VG,/^VG\d{4}/],[me.MZ,/^\d{4}/],[me.MF,/^9[78][01]\d{2}/],[me.MM,/^\d{5}/],[me.SV,/^CP [1-3][1-7][0-2]\d/],[me.IR,/^\d{5}-?\d{5}/],[me.PE,/^[0-2]\d{4}$/],[me.INTL,/^(?:[A-Z0-9]+([- ]?[A-Z0-9]+)*)?$/i],[me.CO,/^(0[58]|1[135789]|2[0357]|4[147]|5[024]|6[368]|7[036]|8[1568]|9[4579])\d{4}$/]]),Yt=(be,Pt)=>{if(!_t.has(Pt))throw Error(`Invalid country code: ${Pt}`);return _t.get(Pt).test(be)};function Gt(be,Pt="Must be a valid postcode format."){return In=>!In.value||Yt(In.value,be)?null:{notValidPostCode:{errorMessage:Pt}}}function an(be,Pt){be.nativeElement.type=Pt?"text":"password";const In=be.nativeElement.value.length;be.nativeElement.focus(),setTimeout(()=>be.nativeElement.setSelectionRange(In,In),0)}var Ut=v(1060),Xt=v(1782),rn=v(8856),Cn=v(9916),On=v(9943);const dn=(0,Cn.vy)({previousRoute:""},(0,Cn.on)(On.r,(be,{previousRoute:Pt})=>Object.assign({},be,{...Pt})));function Qt(be,Pt){return dn(be,Pt)}var wn=v(4774);let pn=(()=>{var be;class Pt{constructor(Nn,ur){this.headerCommonService=Nn,this.router=ur}canActivate(){return new x(this.router,"modalHeader").dispatchStoreUpdate(this.headerCommonService.dispatchUpdateStore.bind(this.headerCommonService)),!0}}return(be=Pt).\u0275fac=function(Nn){return new(Nn||be)(j.KVO(wn.d),j.KVO(G.Ix))},be.\u0275prov=j.jDH({token:be,factory:be.\u0275fac,providedIn:"root"}),Pt})(),Zn=(()=>{var be;class Pt{}return(be=Pt).\u0275fac=function(Nn){return new(Nn||be)},be.\u0275mod=j.$C({type:be}),be.\u0275inj=j.G2t({providers:[wn.d,pn],imports:[c.MD,Cn.md.forFeature
1("commonHeader",Qt)]}),Pt})()},1836:(Qe,ge,v)=>{"use strict";v.d(ge,{T:()=>k});var c=v(8559),h=v(2651),G=v(7172);const P=(0,G.hZ)("slideInUpwards",[(0,G.kY)(":enter",[(0,G.iF)({opacity:0,transform:"translateY(200px)"}),(0,G.i0)("200ms",(0,G.iF)({opacity:1,transform:"translateY(0)"}))]),(0,G.kY)(":leave",[(0,G.i0)("200ms",(0,G.iF)({opacity:0,transform:"translateY(200px)"}))])]);var R=v(316),D=v(8568);const W=(oe,x,ue)=>[oe,x,ue];function $(oe,x){1&oe&&c.nrm(0,"div",12)}function F(oe,x){if(1&oe){const ue=c.RV6();c.j41(0,"aside",2,0),c.DNE(2,$,1,0,"div",3),c.j41(3,"div",4)(4,"h3"),c.qSk(),c.j41(5,"svg",5),c.nrm(6,"use",6),c.k0s(),c.joV(),c.j41(7,"span",7),c.EFF(8),c.k0s()(),c.j41(9,"button",8),c.bIt("click",function(){c.eBV(ue);const Se=c.XpG();return c.Njj(Se.closeHelpPopup())})("mousedown",function(Se){c.eBV(ue);const $e=c.XpG();return c.Njj($e.preventFocusOnElementIfPointerPresent(Se))}),c.qSk(),c.j41(10,"svg",9),c.nrm(11,"use",10),c.k0s()()(),c.joV(),c.nrm(12,"div",11),c.nI1(13,"dontSanitizeHtml"),c.k0s()}if(2&oe){const ue=c.XpG();c.Y8G("ngClass",c.sMw(8,W,ue.helpPopupPosition()?"help-popup--"+ue.helpPopupPosition():"",ue.shadow()?"big-shadow":"",ue.helpPopupCalledFrom()?"help-popup--"+ue.helpPopupCalledFrom():""))("@slideInUpwards",void 0)("@.disabled",!ue.enableAnimations()),c.R7$(2),c.Y8G("ngIf",ue.pointer()),c.R7$(6),c.JRh(ue.title()),c.R7$(4),c.Y8G("innerHTML",c.bMT(13,6,ue.message()),c.npT)}}let k=(()=>{var oe;class x extends h._{constructor(){super(),this.open=c.hFB.required(),this.shadow=(0,c.hFB)(!1),this.pointer=(0,c.hFB)(!1),this.enableAnimations=(0,c.hFB)(!1),this.removeHelpMessage=new c.bkB}ngOnInit(){}preventFocusOnElementIfPointerPresent(le){this.pointer()&&le.preventDefault()}closeHelpPopup(){this.destroyWindowResize(),this.removeHelpMessage.emit(null)}ngOnDestroy(){super.ngOnDestroy(),this.closeHelpPopup()}}return(oe=x).\u0275fac=function(le){return new(le||oe)},oe.\u0275cmp=c.VBU({type:oe,selectors:[["mono-common-help-popup"]],inputs:{open:[c.Mj6.SignalBased,"open"],shadow:[c.Mj6.SignalBased,"shadow"],pointer:[c.Mj6.SignalBased,"pointer"],enableAnimations:[c.Mj6.SignalBased,"enableAnimations"]},outputs:{removeHelpMessage:"removeHelpMessage"},standalone:!0,features:[c.Vt3,c.aNF],decls:1,vars:1,consts:[["helpBox",""],["role","alert","class","help-popup","tabindex","-1",3,"ngClass",4,"ngIf"],["role","alert","tabindex","-1",1,"help-popup",3,"ngClass"],["class","pointer","aria-hidden","true",4,"ngIf"],[1,"flex-container","align-justify"],["viewBox","0 0 24 24",1,"icon","icon--light","icon--help-circle"],[0,"xlink","href","#icon-help","href","#icon-help"],["data-test","mono-common-help-popup-title"],["data-test","mono-common-help-popup-close-button","type","button",1,"button","close-button",3,"click","mousedown"],[1,"icon","icon--exit","icon--light"],[0,"xlink","href","#icon-exit","href","#icon-exit"],["data-test","mono-common-help-popup-message",1,"flex-container","flex-dir-column",3,"innerHTML"],["aria-hidden","true",1,"pointer"]],template:function(le,Se){1&le&&c.DNE(0,F,14,12,"aside",1),2&le&&c.Y8G("ngIf",Se.open())},dependencies:[R.MD,R.YU,R.bT,D.Y],encapsulation:2,data:{animation:[P]}}),x})()},7840:(Qe,ge,v)=>{"use strict";v.d(ge,{K:()=>G});var c=v(316),h=v(8559);let G=(()=>{var j;class K{constructor(){this.size=(0,h.hFB)("")}}return(j=K).\u0275fac=function(R){return new(R||j)},j.\u0275cmp=h.VBU({type:j,selectors:[["mono-common-loading-animation-network"]],inputs:{size:[h.Mj6.SignalBased,"size"]},standalone:!0,features:[h.aNF],decls:2,vars:1,consts:[["xmlns","http://www.w3.org/2000/svg","viewBox","0 0 100 100",1,"icon","icon--loader",3,"ngClass"],["cx","50","cy","50","fill","none","stroke","currentcolor","stroke-width","10","r","35","stroke-dasharray","164.93361431346415 56.97787143782138"]],template:function(R,D){1&R&&(h.qSk(),h.j41(0,"svg",0),h.nrm(1,"circle",1),h.k0s()),2&R&&h.Y8G("ngClass","small"===D.size()?"icon--loader-small":"")},dependencies:[c.MD,c.YU],encapsulation:2}),K})()},2526:(Qe,ge,v)=>{"use strict";v.d(ge,{I:()=>c});const c="_expiredTime"},6325:(Qe,ge,v)=>{"use strict";v.d(ge,{q:()=>h});var c=v(321);const h=new Map([["LimitExceededException",c.R.TooManyCodeRequests]])},321:(Qe,ge,v)=>{"use strict";v.d(ge,{R:()=>c});var c=function(h){return h[h.TooManyCodeRequests=0]="TooManyCodeRequests",h}(c||{})},2651:(Qe,ge,v)=>{"use strict";v.d(ge,{_:()=>oe});var c=v(8559),h=v(434),G=v(9869),j=v(4526),K=v(5443);function R(x,ue,le,Se){return(0,j.T)(le)&&(Se=le,le=void 0),Se?R(x,ue,le).pipe((0,K.T)($e=>(0,G.c)($e)?Se(...$e):Se($e))):new h.c($e=>{D(x,ue,function Re(Je){$e.next(arguments.length>1?Array.prototype.slice.call(arguments):Je)},$e,le)})}function D(x,ue,le,Se,$e){let Re;if(function F(x){return x&&"function"==typeof x.addEventListener&&"function"==typeof x.removeEventListener}(x)){const Je=x;x.addEventListener(ue,le,$e),Re=()=>Je.removeEventListener(ue,le,$e)}else if(function $(x){return x&&"function"==typeof x.on&&"function"==typeof x.off}(x)){const Je=x;x.on(ue,le),Re=()=>Je.off(ue,le)}else if(function W(x){return x&&"function"==typeof x.addListener&&"function"==typeof x.removeListener}(x)){const Je=x;x.addListener(ue,le),Re=()=>Je.removeListener(ue,le)}else{if(!x||!x.length)throw new TypeError("Invalid event target");for(let Je=0,st=x.length;Je<st;Je++)D(x[Je],ue,le,Se,$e)}Se.add(Re)}const k=["helpBox"];let oe=(()=>{var x;class ue{constructor(){this.title=c.hFB.required(),this.message=c.hFB.required(),this.helpPopupPosition=(0,c.hFB)("bottom"),this.helpPopupCalledFrom=(0,c.hFB)(),this.noMatrix="none"}set helpBox(Se){this._helpBox=Se,Se&&Se.nativeElement.focus(),Se&&this._elementAttachedTo&&(this.createWindowResize(),this.helpBoxPositioning())}get helpBox(){return this._helpBox}set elementAttachedTo(Se){this._elementAttachedTo=Se,this._elementAttachedTo&&this.helpBox&&(this.createWindowResize(),this.helpBoxPositioning())}helpBoxPositioning(){this.resetHelpBoxTransform();const Se=this.getYAxisDifference(),$e=this.getXAxisDifference();this.addHelpBoxTransform(Se,$e)}destroyWindowResize(){this.windowResize&&this.windowResize.unsubscribe()}createWindowResize(){this.destroyWindowResize(),this.windowResize=R(window,"resize").subscribe(()=>{this.helpBox&&this.helpBoxPositioning()})}getYAxisDifference(){const Se=this.helpBox.nativeElement.getBoundingClientRect(),$e=this._elementAttachedTo.nativeElement.getBoundingClientRect();return-(Se["top"===this.helpPopupPosition()?"bottom":"top"]-$e["top"===this.helpPopupPosition()?"top":"bottom"])+("top"===this.helpPopupPosition()?-5:5)}addHelpBoxTransform(Se,$e){const Re=this.getHelpBoxCurrentMatrix();this.helpBox.nativeElement.style.transform=Re!==this.noMatrix?this.createNewMatrix(Re,Se,$e):"translate("+$e+"px, "+Se+"px)"}resetHelpBoxTransform(){const Se=this.getHelpBoxCurrentMatrix();this.helpBox.nativeElement.style.transform=Se!==this.noMatrix?this.createNewMatrix(Se,0,0):"translate(0px, 0px)"}createNewMatrix(Se,$e,Re){const at=Se.replace("matrix(","").replace(")","").split(",");return`matrix(\n      ${at[0]},\n      ${at[1]},\n      ${at[2]},\n      ${at[3]},\n      ${Math.floor(Re)},\n      ${Math.floor($e)})`}getXAxisDifference(){const Se=this.helpBox.nativeElement.getBoundingClientRect(),$e=this._elementAttachedTo.nativeElement.getBoundingClientRect();return-(Se.left-$e.left)}getHelpBoxCurrentMatrix(){return window.getComputedStyle(this.helpBox.nativeElement).transform}ngOnDestroy(){this.destroyWindowResize()}}return(x=ue).\u0275fac=function(Se){return new(Se||x)},x.\u0275cmp=c.VBU({type:x,selectors:[["ng-component"]],viewQuery:function(Se,$e){if(1&Se&&c.GBs(k,5),2&Se){let Re;c.mGM(Re=c.lsd())&&($e.helpBox=Re.first)}},inputs:{title:[c.Mj6.SignalBased,"title"],message:[c.Mj6.SignalBased,"message"],helpPopupPosition:[c.Mj6.SignalBased,"helpPopupPosition"],helpPopupCalledFrom:[c.Mj6.SignalBased,"helpPopupCalledFrom"],elementAttachedTo:"elementAttachedTo"},decls:0,vars:0,template:function(Se,$e){},encapsulation:2}),ue})()},1060:(Qe,ge,v)=>{"use strict";v.d(ge,{d:()=>F});var c=v(8559),h=v(3119),G=v(7464),j=v(2651),K=v(316),P=v(2270);const R=k=>({"bottom.px":k}),D=k=>({"top.px":k});function W(k,oe){if(1&k){const x=c.RV6();c.j41(0,"button",11),c.bIt("click",function(){c.eBV(x);const le=c.XpG(2);return le.closeHelpMessage(),c.Njj(le.secondaryButtonExtrasEmit())}),c.EFF(1),c.k0s()}if(2&k){const x=c.XpG(2);c.R7$(),c.JRh(x.secondaryButtonText())}}function $(k,oe){if(1&k){const x=c.RV6();c.j41(0,"aside",2,0),c.nrm(2,"div",3),c.j41(3,"h3"),c.qSk(),c.j41(4,"svg",4),c.nrm(5,"use",5),c.k0s(),c.joV(),c.j41(6,"span",6),c.EFF(7),c.k0s()(),c.j41(8,"p",7),c.EFF(9),c.k0s(),c.j41(10,"footer",8)(11,"button",9),c.bIt("click",function(le){c.eBV(x);const Se=c.XpG();return Se.closeHelpMessage(),c.Njj(Se.closeButtonExtrasEmit(le))}),c.EFF(12),c.k0s(),c.DNE(13,W,2,1,"button",10),c.k0s()()}if(2&k){const x=c.XpG();c.Y8G("ngClass",x.helpPopupCalledFrom()?"help-popup--"+x.helpPopupCalledFrom():"help-popup--"+x.helpPopupPosition())("ngStyle","top"===x.helpPopupPosition()?c.eq3(6,R,x.helpPopupAbsolutePositioning):c.eq3(8,D,x.helpPopupAbsolutePositioning)),c.R7$(7),c.JRh(x.title()),c.R7$(2),c.JRh(x.message()),c.R7$(3),c.JRh(x.closeButtonText()),c.R7$(),c.vxM(13,x.secondaryButtonText()?13:-1)}}let F=(()=>{var k;class oe extends j._{constructor(ue){super(),this.helpStoreService=ue,this.action=c.hFB.required(),this.closeButtonText=c.hFB.required(),this.secondaryButtonText=(0,c.hFB)(),this.removeHelpMessage=(0,c.hFB)(),this.closeButtonExtras=new c.bkB,this.secondaryButtonExtras=new c.bkB,this.showHelp=(0,c.EWP)(()=>this.helpStoreService.selectHelpAction()()===this.action()),this.stopSubscriber=new h.B7}ngOnInit(){this.onRemoveHelpMessage()}closeHelpMessage(){this.destroyWindowResize(),this.helpStoreService.dispatchUpdateHelpStore(null)}
1closeButtonExtrasEmit(ue){this.closeButtonExtras.emit(ue)}secondaryButtonExtrasEmit(ue){this.secondaryButtonExtras.emit(ue)}onRemoveHelpMessage(){this.removeHelpMessage()&&this.removeHelpMessage().pipe((0,G.Q)(this.stopSubscriber)).subscribe(ue=>{ue===this.action()&&this.showHelp&&this.closeHelpMessage()})}ngOnDestroy(){super.ngOnDestroy(),this.closeHelpMessage(),this.stopSubscriber.next(),this.stopSubscriber.complete()}}return(k=oe).\u0275fac=function(ue){return new(ue||k)(c.rXU(P._))},k.\u0275cmp=c.VBU({type:k,selectors:[["mono-common-help"]],inputs:{action:[c.Mj6.SignalBased,"action"],closeButtonText:[c.Mj6.SignalBased,"closeButtonText"],secondaryButtonText:[c.Mj6.SignalBased,"secondaryButtonText"],removeHelpMessage:[c.Mj6.SignalBased,"removeHelpMessage"]},outputs:{closeButtonExtras:"closeButtonExtras",secondaryButtonExtras:"secondaryButtonExtras"},standalone:!0,features:[c.Vt3,c.aNF],decls:1,vars:1,consts:[["helpBox",""],["role","alert","class","help-popup","tabindex","-1",3,"ngClass","ngStyle",4,"ngIf"],["role","alert","tabindex","-1",1,"help-popup",3,"ngClass","ngStyle"],["aria-hidden","true",1,"pointer"],["viewBox","0 0 24 24","aria-hidden","true",1,"icon","icon--light","icon--help-circle"],[0,"xlink","href","#icon-help","href","#icon-help"],["data-test","mono-common-help-title"],["data-test","mono-common-help-message"],[1,"flex-container"],["data-test","mono-common-help-close-button","type","button",1,"button","button--light","margin-right-1",3,"click"],["type","button",1,"button","button--light"],["type","button",1,"button","button--light",3,"click"]],template:function(ue,le){1&ue&&c.DNE(0,$,14,10,"aside",1),2&ue&&c.Y8G("ngIf",le.showHelp())},dependencies:[K.MD,K.YU,K.bT,K.B3],encapsulation:2}),oe})()},2270:(Qe,ge,v)=>{"use strict";v.d(ge,{_:()=>h});var c=v(8559);let h=(()=>{var G;class j{constructor(){this.helpActionSignal=(0,c.vPA)(null)}selectHelpAction(){return this.helpActionSignal}dispatchUpdateHelpStore(P){this.helpActionSignal.set(P)}}return(G=j).\u0275fac=function(P){return new(P||G)},G.\u0275prov=c.jDH({token:G,factory:G.\u0275fac,providedIn:"root"}),j})()},4774:(Qe,ge,v)=>{"use strict";v.d(ge,{d:()=>P});var c=v(9943),h=v(9916);const G=(0,h.UX)("commonHeader"),j=(0,h.Mz)(G,R=>R.previousRoute);var K=v(8559);let P=(()=>{var R;class D{constructor($){this.store=$}dispatchUpdateStore($){return this.store.dispatch((0,c.r)({previousRoute:$}))}getLocation(){return this.store.select(j)}}return(R=D).\u0275fac=function($){return new($||R)(K.KVO(h.il))},R.\u0275prov=K.jDH({token:R,factory:R.\u0275fac,providedIn:"root"}),D})()},9943:(Qe,ge,v)=>{"use strict";v.d(ge,{r:()=>h});var c=v(9916);const h=(0,c.VP)("[Common] Update Common Header Store",(0,c.xk)())},8856:(Qe,ge,v)=>{"use strict";v.d(ge,{S:()=>c});class c{}},1782:(Qe,ge,v)=>{"use strict";v.d(ge,{q:()=>j});var c=v(6551),h=v(8559),G=v(8856);let j=(()=>{var K;class P{constructor(D,W){this.textToSpeechProvider=D,this.amplifyApiService=W,this.cache={},this.audio=new Audio,this.voice="Amy",this.voiceSpeed="slow"}play(D){this.isAudioPlaying()?this.silence():D.id in this.cache?(this.audio=this.cache[D.id],this.audio.currentTime=0,this.audio.play()):this.load(D)}silence(){this.audio.pause(),this.audio.currentTime=0}setVoice(D){this.voice=D}setVoiceSpeed(D){this.voiceSpeed=D}isAudioPlaying(){return!this.audio.paused}load(D){0!==D.text.length&&(this.cache[D.id]=new Audio,this.amplifyApiService.publicPost(this.textToSpeechProvider.apiUrl,{text:D.text,guid:D.id,format:"mp3",voice:this.voice,speed:this.voiceSpeed,groupBy:["learnmyway"]}).subscribe($=>{const F=this.cache[D.id];F.preload="auto",F.src=$,F.load(),F.addEventListener("ended",()=>{F.src===this.audio.src&&this.silence()}),this.play(D)}))}}return(K=P).\u0275fac=function(D){return new(D||K)(h.KVO(G.S),h.KVO(c.Un))},K.\u0275prov=h.jDH({token:K,factory:K.\u0275fac,providedIn:"root"}),P})()},8568:(Qe,ge,v)=>{"use strict";v.d(ge,{Y:()=>G});var c=v(8559),h=v(436);let G=(()=>{var j;class K{constructor(R){this._sanitizer=R}transform(R){return this._sanitizer.bypassSecurityTrustHtml(R)}}return(j=K).\u0275fac=function(R){return new(R||j)(c.rXU(h.up,16))},j.\u0275pipe=c.EJ8({name:"dontSanitizeHtml",type:j,pure:!0,standalone:!0}),K})()},165:(Qe,ge,v)=>{"use strict";v.d(ge,{p:()=>G});var c=v(3119),h=v(8559);let G=(()=>{var j;class K{constructor(){this.sessionUpdatedAnnouncer=new c.B7}getSessionUpdatedAnnouncer(){return this.sessionUpdatedAnnouncer.asObservable()}broadcastSessionUpdated(R){this.sessionUpdatedAnnouncer.next(R)}}return(j=K).\u0275fac=function(R){return new(R||j)},j.\u0275prov=h.jDH({token:j,factory:j.\u0275fac,providedIn:"root"}),K})()},2577:(Qe,ge,v)=>{"use strict";v.d(ge,{c:()=>P});var c=v(2677),h=v(4041),G=v(3261),j=v(1282),K=v(8559);let P=(()=>{var R;class D{constructor(){this.cache={}}translate($,F){return this.cache[$]||(this.cache[$]=(0,c.H)((0,j.A)($,F)).pipe((0,h.H)(),(0,G.B)())),this.cache[$]}
1}return(R=D).\u0275fac=function($){return new($||R)},R.\u0275prov=K.jDH({token:R,factory:R.\u0275fac,providedIn:"root"}),D})()},3672:(Qe,ge,v)=>{"use strict";function c(h){return h=h||[],G=>{if(!G.value)return null;for(const j of h){const K=j.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");if(new RegExp(K,"i").test(G.value.trim()))return{forbiddenInput:{value:G.value}}}return null}}v.d(ge,{l:()=>c})},401:(Qe,ge,v)=>{"use strict";function c(h){const K=h.value;return K?/[A-Z]/i.test(K)?/[*|\":.<>%[\]{}`\\();@&$^0-9\xa3!_+=?/~\xb1\xa7\u20ac#]/.test(K)?{invalidCharacters:!0}:null:{noLettersProvidedInName:!0}:null}v.d(ge,{d:()=>c})},1389:(Qe,ge,v)=>{"use strict";function c(h){const G=h.value;return G?/^[0-9]*$/.test(G)?G.length<6?{codeIsTooShort:!0}:G.length>6?{codeIsTooLong:!0}:null:{notValidNumber:!0}:null}v.d(ge,{t:()=>c})},6016:(Qe,ge,v)=>{"use strict";v.d(ge,{Hb:()=>c,c6:()=>x,dr:()=>P});class c{}var h=v(4041),G=v(3261),j=v(8559),K=v(8824);let P=(()=>{var ue;class le{constructor($e,Re){this.strapiProvider=$e,this.http=Re,this.cache={}}get($e){return this.cache[$e]||(this.cache[$e]=this.http.get(`${this.strapiProvider.strapiBaseUrl}/${this.strapiProvider.strapiApiUrl}/${$e}`).pipe((0,h.H)(),(0,G.B)())),this.cache[$e]}}return(ue=le).\u0275fac=function($e){return new($e||ue)(j.KVO(c),j.KVO(K.Qq))},ue.\u0275prov=j.jDH({token:ue,factory:ue.\u0275fac,providedIn:"root"}),le})();var R=v(9314),D=v(9863),W=v(5443),$=v(8757),F=v(1536),k=v(5903),oe=v(2728);let x=(()=>{var ue;class le{constructor($e,Re,Je){this.strapiService=$e,this.router=Re,this.errorNotificationService=Je}resolve($e){if($e.routeConfig.data.strapiUrl)return this.errorNotificationService.disableErrorHandling(),this.strapiService.get($e.routeConfig.data.strapiUrl).pipe((0,R.W)(Re=>this.handleError($e,Re)),(0,D.j)(()=>this.errorNotificationService.enableErrorHandling()));{const Re=this.getStrapiUrlsCalls($e.routeConfig.data.strapiUrls);return(0,$.p)(Re).pipe((0,W.T)(Je=>Je.reduce((st,at)=>({...st,...at}),{})),(0,R.W)(Je=>this.handleError($e,Je)))}}getStrapiUrlsCalls($e){return Object.entries($e).map(Re=>this.strapiService.get(Re[1]).pipe((0,W.T)(Je=>({[Re[0]]:Je}))))}handleError($e,Re){return"404"!==$e.routeConfig.path?this.router.navigateByUrl("/404"):(0,F.of)(Re)}}return(ue=le).\u0275fac=function($e){return new($e||ue)(j.KVO(P),j.KVO(oe.Ix),j.KVO(k.Ln))},ue.\u0275prov=j.jDH({token:ue,factory:ue.\u0275fac,providedIn:"root"}),le})()},5036:(Qe,ge,v)=>{"use strict";v.d(ge,{N:()=>Le});var c=function(A,g){return(c=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(I,w){I.__proto__=w}||function(I,w){for(var N in w)w.hasOwnProperty(N)&&(I[N]=w[N])})(A,g)};function h(A,g){function I(){this.constructor=A}c(A,g),A.prototype=null===g?Object.create(g):(I.prototype=g.prototype,new I)}var G=function(){return G=Object.assign||function(g){for(var I,w=1,N=arguments.length;w<N;w++)for(var U in I=arguments[w])Object.prototype.hasOwnProperty.call(I,U)&&(g[U]=I[U]);return g},G.apply(this,arguments)};function D(A,g,I,w){return new(I||(I=Promise))(function(U,de){function Ne(ct){try{Ke(w.next(ct))}catch(kt){de(kt)}}function ze(ct){try{Ke(w.throw(ct))}catch(kt){de(kt)}}function Ke(ct){ct.done?U(ct.value):function N(U){return U instanceof I?U:new I(function(de){de(U)})}(ct.value).then(Ne,ze)}Ke((w=w.apply(A,g||[])).next())})}function W(A,g){var w,N,U,de,I={label:0,sent:function(){if(1&U[0])throw U[1];return U[1]},trys:[],ops:[]};return de={next:Ne(0),throw:Ne(1),return:Ne(2)},"function"==typeof Symbol&&(de[Symbol.iterator]=function(){return this}),de;function Ne(Ke){return function(ct){return function ze(Ke){if(w)throw new TypeError("Generator is already executing.");for(;I;)try{if(w=1,N&&(U=2&Ke[0]?N.return:Ke[0]?N.throw||((U=N.return)&&U.call(N),0):N.next)&&!(U=U.call(N,Ke[1])).done)return U;switch(N=0,U&&(Ke=[2&Ke[0],U.value]),Ke[0]){case 0:case 1:U=Ke;break;case 4:return I.label++,{value:Ke[1],done:!1};case 5:I.label++,N=Ke[1],Ke=[0];continue;case 7:Ke=I.ops.pop(),I.trys.pop();continue;default:if(!(U=(U=I.trys).length>0&&U[U.length-1])&&(6===Ke[0]||2===Ke[0])){I=0;continue}if(3===Ke[0]&&(!U||Ke[1]>U[0]&&Ke[1]<U[3])){I.label=Ke[1];break}if(6===Ke[0]&&I.label<U[1]){I.label=U[1],U=Ke;break}if(U&&I.label<U[2]){I.label=U[2],I.ops.push(Ke);break}U[2]&&I.ops.pop(),I.trys.pop();continue}Ke=g.call(A,I)}catch(ct){Ke=[6,ct],N=0}finally{w=U=0}if(5&Ke[0])throw Ke[1];return{value:Ke[0]?Ke[1]:void 0,done:!0}}([Ke,ct])}}}function oe(A,g){var I="function"==typeof Symbol&&A[Symbol.iterator];if(!I)return A;var N,de,w=I.call(A),U=[];try{for(;(void 0===g||g-- >0)&&!(N=w.next()).done;)U.push(N.value)}catch(Ne){de={error:Ne}}finally{try{N&&!N.done&&(I=w.return)&&I.call(w)}finally{if(de)throw de.error}}return U}var re=function(A){return A.Cognito="COGNITO",A.Google="Google",A.Facebook="Facebook",A.Amazon="LoginWithAmazon",A.Apple="Sign
1InWithApple",A}(re||{});function ye(A){return A&&!!["provider"].find(function(I){return A.hasOwnProperty(I)})}function We(A){return void 0!==A.redirectSignIn}var me=function(A){return A.NoConfig="noConfig",A.MissingAuthConfig="missingAuthConfig",A.EmptyUsername="emptyUsername",A.InvalidUsername="invalidUsername",A.EmptyPassword="emptyPassword",A.EmptyCode="emptyCode",A.SignUpError="signUpError",A.NoMFA="noMFA",A.InvalidMFA="invalidMFA",A.EmptyChallengeResponse="emptyChallengeResponse",A.NoUserSession="noUserSession",A.Default="default",A.DeviceConfig="deviceConfig",A.NetworkError="networkError",A.AutoSignInError="autoSignInError",A}(me||{}),vn=v(6606),Gt=v(7560),an=v(6622),Ut=v(754),Xt=v(9260),rn=v(8415);function Qt(A,g){void 0===g&&(g={});var I=function wn(A){return A&&"j"===A[0]&&":"===A[1]?A.substr(2):A}(A);if(function dn(A,g){return typeof g>"u"&&(g=!A||"{"!==A[0]&&"["!==A[0]&&'"'!==A[0]),!g}(I,g.doNotParse))try{return JSON.parse(I)}catch{}return A}var Mn=function(){return Mn=Object.assign||function(A){for(var g,I=1,w=arguments.length;I<w;I++)for(var N in g=arguments[I])Object.prototype.hasOwnProperty.call(g,N)&&(A[N]=g[N]);return A},Mn.apply(this,arguments)};const be=function(){function A(g,I){var w=this;this.changeListeners=[],this.HAS_DOCUMENT_COOKIE=!1,this.cookies=function Bn(A,g){return"string"==typeof A?rn.q(A,g):"object"==typeof A&&null!==A?A:{}}(g,I),new Promise(function(){w.HAS_DOCUMENT_COOKIE=function Cn(){return"object"==typeof document&&"string"==typeof document.cookie}()}).catch(function(){})}return A.prototype._updateBrowserValues=function(g){this.HAS_DOCUMENT_COOKIE&&(this.cookies=rn.q(document.cookie,g))},A.prototype._emitChange=function(g){for(var I=0;I<this.changeListeners.length;++I)this.changeListeners[I](g)},A.prototype.get=function(g,I,w){return void 0===I&&(I={}),this._updateBrowserValues(w),Qt(this.cookies[g],I)},A.prototype.getAll=function(g,I){void 0===g&&(g={}),this._updateBrowserValues(I);var w={};for(var N in this.cookies)w[N]=Qt(this.cookies[N],g);return w},A.prototype.set=function(g,I,w){var N;"object"==typeof I&&(I=JSON.stringify(I)),this.cookies=Mn(Mn({},this.cookies),((N={})[g]=I,N)),this.HAS_DOCUMENT_COOKIE&&(document.cookie=rn.l(g,I,w)),this._emitChange({name:g,value:I,options:w})},A.prototype.remove=function(g,I){var w=I=Mn(Mn({},I),{expires:new Date(1970,1,1,0,0,1),maxAge:0});this.cookies=Mn({},this.cookies),delete this.cookies[g],this.HAS_DOCUMENT_COOKIE&&(document.cookie=rn.l(g,"",w)),this._emitChange({name:g,value:void 0,options:I})},A.prototype.addChangeListener=function(g){this.changeListeners.push(g)},A.prototype.removeChangeListener=function(g){var I=this.changeListeners.indexOf(g);I>=0&&this.changeListeners.splice(I,1)},A}();var Mt,Pt=v(4576),In=function(){return In=Object.assign||function(A){for(var g,I=1,w=arguments.length;I<w;I++)for(var N in g=arguments[I])Object.prototype.hasOwnProperty.call(g,N)&&(A[N]=g[N]);return A},In.apply(this,arguments)},Nn=(0,Pt.gy)().isBrowser,Hr=function(){function A(g){void 0===g&&(g={}),this.cookies=new be,this.store=Nn?window.localStorage:Object.create(null),this.cookies=g.req?new be(decodeURIComponent(g.req.headers.cookie)):new be,Object.assign(this.store,this.cookies.getAll())}return Object.defineProperty(A.prototype,"length",{get:function(){return Object.entries(this.store).length},enumerable:!1,configurable:!0}),A.prototype.clear=function(){var g=this;Array.from(new Array(this.length)).map(function(I,w){return g.key(w)}).forEach(function(I){return g.removeItem(I)})},A.prototype.getItem=function(g){return this.getLocalItem(g)},A.prototype.getLocalItem=function(g){return Object.prototype.hasOwnProperty.call(this.store,g)?this.store[g]:null},A.prototype.getUniversalItem=function(g){return this.cookies.get(g)},A.prototype.key=function(g){return Object.keys(this.store)[g]},A.prototype.removeItem=function(g){this.removeLocalItem(g),this.removeUniversalItem(g)},A.prototype.removeLocalItem=function(g){delete this.store[g]},A.prototype.removeUniversalItem=function(g){this.cookies.remove(g,{path:"/"})},A.prototype.setItem=function(g,I){this.setLocalItem(g,I);var w=g.split(".").pop();["LastAuthUser","accessToken","refreshToken","idToken"].includes(w??"")&&this.setUniversalItem(g,I,{expires:new Date(Date.now()+31536e6)})},A.prototype.setLocalItem=function(g,I){this.store[g]=I},A.prototype.setUniversalItem=function(g,I,w){void 0===w&&(w={}),this.cookies.set(g,I,In(In({},w),{path:"/",sameSite:!0,secure:!(Nn&&"localhost"===window.location.hostname)}))},A}
1(),zt=v(5925),ne=v(291),Ve=function(){function A(I){var w=I||{},U=w.Username,de=w.Password,Ne=w.AuthParameters,ze=w.ClientMetadata;this.validationData=w.ValidationData||{},this.authParameters=Ne||{},this.clientMetadata=ze||{},this.username=U,this.password=de}var g=A.prototype;return g.getUsername=function(){return this.username},g.getPassword=function(){return this.password},g.getValidationData=function(){return this.validationData},g.getAuthParameters=function(){return this.authParameters},g.getClientMetadata=function(){return this.clientMetadata},A}(),lt=v(163);if(typeof window<"u"&&window.crypto&&(Mt=window.crypto),!Mt&&typeof window<"u"&&window.msCrypto&&(Mt=window.msCrypto),!Mt&&typeof global<"u"&&global.crypto&&(Mt=global.crypto),!Mt)try{Mt=v(5682)}catch{}function Dt(){if(Mt){if("function"==typeof Mt.getRandomValues)try{return Mt.getRandomValues(new Uint32Array(1))[0]}catch{}if("function"==typeof Mt.randomBytes)try{return Mt.randomBytes(4).readInt32LE()}catch{}}throw new Error("Native crypto module could not be used to get secure random number.")}var Qn=function(){function A(I,w){I=this.words=I||[],this.sigBytes=null!=w?w:4*I.length}var g=A.prototype;return g.random=function(w){for(var N=[],U=0;U<w;U+=4)N.push(Dt());return new A(N,w)},g.toString=function(){return function En(A){for(var g=A.words,I=A.sigBytes,w=[],N=0;N<I;N++){var U=g[N>>>2]>>>24-N%4*8&255;w.push((U>>>4).toString(16)),w.push((15&U).toString(16))}return w.join("")}(this)},A}(),zn=v(3967);const kn=fn;function fn(A,g){null!=A&&this.fromString(A,g)}function Xn(){return new fn(null)}var zr,or=typeof navigator<"u";or&&"Microsoft Internet Explorer"==navigator.appName?(fn.prototype.am=function jn(A,g,I,w,N,U){for(var de=32767&g,Ne=g>>15;--U>=0;){var ze=32767&this[A],Ke=this[A++]>>15,ct=Ne*ze+Ke*de;N=((ze=de*ze+((32767&ct)<<15)+I[w]+(1073741823&N))>>>30)+(ct>>>15)+Ne*Ke+(N>>>30),I[w++]=1073741823&ze}return N},zr=30):or&&"Netscape"!=navigator.appName?(fn.prototype.am=function hr(A,g,I,w,N,U){for(;--U>=0;){var de=g*this[A++]+I[w]+N;N=Math.floor(de/67108864),I[w++]=67108863&de}return N},zr=26):(fn.prototype.am=function oi(A,g,I,w,N,U){for(var de=16383&g,Ne=g>>14;--U>=0;){var ze=16383&this[A],Ke=this[A++]>>14,ct=Ne*ze+Ke*de;N=((ze=de*ze+((16383&ct)<<14)+I[w]+N)>>28)+(ct>>14)+Ne*Ke,I[w++]=268435455&ze}return N},zr=28),fn.prototype.DB=zr,fn.prototype.DM=(1<<zr)-1,fn.prototype.DV=1<<zr,fn.prototype.FV=Math.pow(2,52),fn.prototype.F1=52-zr,fn.prototype.F2=2*zr-52;var It,Ue,Et=new Array;for(It=48,Ue=0;Ue<=9;++Ue)Et[It++]=Ue;for(It=97,Ue=10;Ue<36;++Ue)Et[It++]=Ue;for(It=65,Ue=10;Ue<36;++Ue)Et[It++]=Ue;function Oe(A){return"0123456789abcdefghijklmnopqrstuvwxyz".charAt(A)}function tt(A,g){return Et[A.charCodeAt(g)]??-1}function Bt(A){var g=Xn();return g.fromInt(A),g}function _r(A){var I,g=1;return 0!=(I=A>>>16)&&(A=I,g+=16),0!=(I=A>>8)&&(A=I,g+=8),0!=(I=A>>4)&&(A=I,g+=4),0!=(I=A>>2)&&(A=I,g+=2),0!=(I=A>>1)&&(A=I,g+=1),g}function Z(A){this.m=A,this.mp=A.invDigit(),this.mpl=32767&this.mp,this.mph=this.mp>>15,this.um=(1<<A.DB-15)-1,this.mt2=2*A.t}function ln(A){return lt.hp.from((new Qn).random(A).toString(),"hex")}Z.prototype.convert=function Ae(A){var g=Xn();return A.abs().dlShiftTo(this.m.t,g),g.divRemTo(this.m,null,g),A.s<0&&g.compareTo(fn.ZERO)>0&&this.m.subTo(g,g),g},Z.prototype.revert=function ht(A){var g=Xn();return A.copyTo(g),this.reduce(g),g},Z.prototype.reduce=function dt(A){for(;A.t<=this.mt2;)A[A.t++]=0;for(var g=0;g<this.m.t;++g){var I=32767&A[g],w=I*this.mpl+((I*this.mph+(A[g]>>15)*this.mpl&this.um)<<15)&A.DM;for(A[I=g+this.m.t]+=this.m.am(0,w,A,g,0,this.m.t);A[I]>=A.DV;)A[I]-=A.DV,A[++I]++}A.clamp(),A.drShiftTo(this.m.t,A),A.compareTo(this.m)>=0&&A.subTo(this.m,A)},Z.prototype.mulTo=function Rt(A,g,I){A.multiplyTo(g,I),this.reduce(I)},Z.prototype.sqrTo=function mt(A,g){A.squareTo(g),this.reduce(g)},fn.prototype.copyTo=function Xe(A){for(var g=this.t-1;g>=0;--g)A[g]=this[g];A.t=this.t,A.s=this.s},fn.prototype.fromInt=function ft(A){this.t=1,this.s=A<0?-1:0,A>0?this[0]=A:A<-1?this[0]=A+this.DV:this.t=0},fn.prototype.fromString=function hn(A,g){var I;if(16==g)I=4;else if(8==g)I=3;else if(2==g)I=1;else if(32==g)I=5;else{if(4!=g)throw new Error("Only radix 2, 4, 8, 16, 32 are supported");I=2}this.t=0,this.s=0;for(var w=A.length,N=!1,U=0;--w>=0;){var de=tt(A,w);de<0?"-"==A.charAt(w)&&(N=!0):(N=!1,0==U?this[this.t++]=de:U+I>this.DB?(this[this.t-1]|=(de&(1<<this.DB-U)-1)<<U,this[this.t++]=de>>this.DB-U):this[this.t-1]|=de<<U,(U+=I)>=this.DB&&(U-=this.DB))}this.clamp(),N&&fn.ZERO.subTo(this,this)},fn.prototype.clamp=function Jt(){for(var A=this.s&this.DM;this.t>0&&this[this.t-1]==A;)--this.t},fn.prototype.dlShiftTo=function Zr(A,g){var I;for(I=this.t-1;I>=0;--I)g[I+A]=this[I];for(I=A-1;I>=0;--I)g[I]=0;g.t=this.t+A,g.s=this.s},fn.prototype.drShiftTo=function Ot(A,g){for(var I=A;I<this.t;++I)g[I-A]=this[I];g.t=Math.max(this.t-A,0),g.s=this.s},fn.prototype.lShiftTo=function Rn(A,g){var Ne,I=A%this.DB,w=this.DB-I,N=(1<<w)-1,U=Math.floor(A/this.DB),de=this.s<<I&this.DM;for(Ne=this.t-1;Ne>=0;--Ne)g[Ne+U+1]=this[Ne]>>w|de,de=(this[Ne]&N)<<I;for(Ne=U-1;Ne>=0;--Ne)g[Ne]=0;g[U]=de,g.t=this.t+U+1,g.s=this.s,g.clamp()},fn.prototype.rShiftTo=function co(A,g){g.s=this.s;var I=Math.floor(A/this.DB);if(I>=this.t)g.t=0;else{var w=A%this.DB,N=this.DB-w,U=(1<<w)-1;g[0]=this[I]>>w;for(var de=I+1;de<this.t;++de)g[de-I-1]|=(this[de]&U)<<N,g[de-I]=this[de]>>w;w>0&&(g[this.t-I-1]|=(this.s&U)<<N),g.t=this.t-I,g.clamp()}},fn.prototype.subTo=function Vi(A,g){for(var I=0,w=0,N=Math.min(A.t,this.t);I<N;)w+=this[I]-A[I],g[I++]=w&this.DM,w>>=this.DB;if(A.t<this.t){for(w-=A.s;I<this.t;)w+=this[I],g[I++]=w&this.DM,w>>=this.DB;w+=this.s}else{for(w+=this.s;I<A.t;)w-=A[I],g[I++]=w&this.DM,w>>=this.DB;w-=A.s}g.s=w<0?-1:0,w<-1?g[I++]=this.DV+w:w>0&&(g[I++]=w),g.t=I,g.clamp()},fn.prototype.multiplyTo=function ji(A,g){var I=this.abs(),w=A.abs(),N=I.t;for(g.t=N+w.t;--N>=0;)g[N]=0;for(N=0;N<w.t;++N)g[N+I.t]=I.am(0,w[N],g,N,0,I.t);g.s=0,g.clamp(),this.s!=A.s&&fn.ZERO.subTo(g,g)},fn.prototype.squareTo=function rt(A){for(var g=this.abs(),I=A.t=2*g.t;--I>=0;)A[I]=0;for(I=0;I<g.t-1;++I){var w=g.am(I,g[I],A,2*I,0,1);(A[I+g.t]+=g.am(I+1,2*g[I],A,2*I+1,w,g.t-I-1))>=g.DV&&(A[I+g.t]-=g.DV,A[I+g.t+1]=1)}A.t>0&&(A[A.t-1]+=g.am(I,g[I],A,2*I,0,1)),A.s=0,A.clamp()},fn.prototype.divRemTo=function Ye(A,g,I){var w=A.abs();if(!(w.t<=0)){var N=this.abs();
1if(N.t<w.t)return g?.fromInt(0),void(null!=I&&this.copyTo(I));null==I&&(I=Xn());var U=Xn(),de=this.s,Ne=A.s,ze=this.DB-_r(w[w.t-1]);ze>0?(w.lShiftTo(ze,U),N.lShiftTo(ze,I)):(w.copyTo(U),N.copyTo(I));var Ke=U.t,ct=U[Ke-1];if(0!=ct){var kt=ct*(1<<this.F1)+(Ke>1?U[Ke-2]>>this.F2:0),At=this.FV/kt,Zt=(1<<this.F1)/kt,cn=1<<this.F2,Dn=I.t,qn=Dn-Ke,Vn=g??Xn();for(U.dlShiftTo(qn,Vn),I.compareTo(Vn)>=0&&(I[I.t++]=1,I.subTo(Vn,I)),fn.ONE.dlShiftTo(Ke,Vn),Vn.subTo(U,U);U.t<Ke;)U[U.t++]=0;for(;--qn>=0;){var ar=I[--Dn]==ct?this.DM:Math.floor(I[Dn]*At+(I[Dn-1]+cn)*Zt);if((I[Dn]+=U.am(0,ar,I,qn,0,Ke))<ar)for(U.dlShiftTo(qn,Vn),I.subTo(Vn,I);I[Dn]<--ar;)I.subTo(Vn,I)}null!=g&&(I.drShiftTo(Ke,g),de!=Ne&&fn.ZERO.subTo(g,g)),I.t=Ke,I.clamp(),ze>0&&I.rShiftTo(ze,I),de<0&&fn.ZERO.subTo(I,I)}}},fn.prototype.invDigit=function Ze(){if(this.t<1)return 0;var A=this[0];if(!(1&A))return 0;var g=3&A;return(g=(g=(g=(g=g*(2-(15&A)*g)&15)*(2-(255&A)*g)&255)*(2-((65535&A)*g&65535))&65535)*(2-A*g%this.DV)%this.DV)>0?this.DV-g:-g},fn.prototype.addTo=function ee(A,g){for(var I=0,w=0,N=Math.min(A.t,this.t);I<N;)w+=this[I]+A[I],g[I++]=w&this.DM,w>>=this.DB;if(A.t<this.t){for(w+=A.s;I<this.t;)w+=this[I],g[I++]=w&this.DM,w>>=this.DB;w+=this.s}else{for(w+=this.s;I<A.t;)w+=A[I],g[I++]=w&this.DM,w>>=this.DB;w+=A.s}g.s=w<0?-1:0,w>0?g[I++]=w:w<-1&&(g[I++]=this.DV+w),g.t=I,g.clamp()},fn.prototype.toString=function Ir(A){if(this.s<0)return"-"+this.negate().toString(A);var g;if(16==A)g=4;else if(8==A)g=3;else if(2==A)g=1;else if(32==A)g=5;else{if(4!=A)throw new Error("Only radix 2, 4, 8, 16, 32 are supported");g=2}var w,I=(1<<g)-1,N=!1,U="",de=this.t,Ne=this.DB-de*this.DB%g;if(de-- >0)for(Ne<this.DB&&(w=this[de]>>Ne)>0&&(N=!0,U=Oe(w));de>=0;)Ne<g?(w=(this[de]&(1<<Ne)-1)<<g-Ne,w|=this[--de]>>(Ne+=this.DB-g)):(w=this[de]>>(Ne-=g)&I,Ne<=0&&(Ne+=this.DB,--de)),w>0&&(N=!0),N&&(U+=Oe(w));return N?U:"0"},fn.prototype.negate=function kr(){var A=Xn();return fn.ZERO.subTo(this,A),A},fn.prototype.abs=function Lr(){return this.s<0?this.negate():this},fn.prototype.compareTo=function tr(A){var g=this.s-A.s;if(0!=g)return g;var I=this.t;if(0!=(g=I-A.t))return this.s<0?-g:g;for(;--I>=0;)if(0!=(g=this[I]-A[I]))return g;return 0},fn.prototype.bitLength=function Tn(){return this.t<=0?0:this.DB*(this.t-1)+_r(this[this.t-1]^this.s&this.DM)},fn.prototype.mod=function ce(A){var g=Xn();return this.abs().divRemTo(A,null,g),this.s<0&&g.compareTo(fn.ZERO)>0&&A.subTo(g,g),g},fn.prototype.equals=function He(A){return 0==this.compareTo(A)},fn.prototype.add=function it(A){var g=Xn();return this.addTo(A,g),g},fn.prototype.subtract=function Ct(A){var g=Xn();return this.subTo(A,g),g},fn.prototype.multiply=function tn(A){var g=Xn();return this.multiplyTo(A,g),g},fn.prototype.divide=function se(A){var g=Xn();return this.divRemTo(A,g,null),g},fn.prototype.modPow=function on(A,g,I){var N,w=A.bitLength(),U=Bt(1),de=new Z(g);if(w<=0)return U;N=w<18?1:w<48?3:w<144?4:w<768?5:6;var Ne=new Array,ze=3,Ke=N-1,ct=(1<<N)-1;if(Ne[1]=de.convert(this),N>1){var kt=Xn();for(de.sqrTo(Ne[1],kt);ze<=ct;)Ne[ze]=Xn(),de.mulTo(kt,Ne[ze-2],Ne[ze]),ze+=2}var Zt,qn,At=A.t-1,cn=!0,Dn=Xn();for(w=_r(A[At])-1;At>=0;){for(w>=Ke?Zt=A[At]>>w-Ke&ct:(Zt=(A[At]&(1<<w+1)-1)<<Ke-w,At>0&&(Zt|=A[At-1]>>this.DB+w-Ke)),ze=N;!(1&Zt);)Zt>>=1,--ze;if((w-=ze)<0&&(w+=this.DB,--At),cn)Ne[Zt].copyTo(U),cn=!1;else{for(;ze>1;)de.sqrTo(U,Dn),de.sqrTo(Dn,U),ze-=2;ze>0?de.sqrTo(U,Dn):(qn=U,U=Dn,Dn=qn),de.mulTo(Dn,Ne[Zt],U)}for(;At>=0&&!(A[At]&1<<w);)de.sqrTo(U,Dn),qn=U,U=Dn,Dn=qn,--w<0&&(w=this.DB-1,--At)}var Vn=de.revert(U);return I(null,Vn),Vn},fn.ZERO=Bt(0),fn.ONE=Bt(1);var bn=/^[89a-f]/i,pr=function(){function A(I){this.N=new kn("FFFFFFFFFFFFFFFFC90FDAA22168C234C4C6628B80DC1CD129024E088A67CC74020BBEA63B139B22514A08798E3404DDEF9519B3CD3A431B302B0A6DF25F14374FE1356D6D51C245E485B576625E7EC6F44C42E9A637ED6B0BFF5CB6F406B7EDEE386BFB5A899FA5AE9F24117C4B1FE649286651ECE45B3DC2007CB8A163BF0598DA48361C55D39A69163FA8FD24CF5F83655D23DCA3AD961C62F356208552BB9ED529077096966D670C354E4ABC9804F1746C08CA18217C32905E462E36CE3BE39E772C180E86039B2783A2EC07A28FB5C55DF06F4C52C9DE2BCBF6955817183995497CEA956AE515D2261898FA051015728E5A8AAAC42DAD33170D04507A33A85521ABDF1CBA64ECFB850458DBEF0A8AEA71575D060C7DB3970F85A6E1E4C7ABF5AE8CDB0933D71E8C94E04A25619DCEE3D2261AD2EE6BF12FFA06D98A0864D87602733EC86A64521F2B18177B200CBBE117577A615D6C770988C0BAD946E208E24FA074E5AB3143DB5BFCE0FD108E4B82D120A93AD2CAFFFFFFFFFFFFFFFF",16),this.g=new kn("2",16),this.k=new kn(this.hexHash(""+this.padHex(this.N)+this.padHex(this.g)),16),this.smallAValue=this.generateRandomSmallA(),this.getLargeAValue(function(){}),this.infoBits=lt.hp.from("Caldera Derived Key","utf8"),this.poolName=I}var g=A.prototype;return g.getSmallAValue=function(){return this.smallAValue},g.getLargeAValue=function(w){var N=this;this.largeAValue?w(null,this.largeAValue):this.calculateA(this.smallAValue,function(U,de){U&&w(U,null),N.largeAValue=de,w(null,N.largeAValue)})},g.generateRandomSmallA=function(){var w=ln(128).toString("hex");return new kn(w,16)},g.generateRandomString=function(){return ln(40).toString("base64")},g.getRandomPassword=function(){return this.randomPassword},g.getSaltDevices=function(){return this.SaltToHashDevices},g.getVerifierDevices=function(){return this.verifierDevices},g.generateHashDevice=function(w,N,U){var de=this;this.randomPassword=this.generateRandomString();var ze=this.hash(""+w+N+":"+this.randomPassword),Ke=ln(16).toString("hex");this.SaltToHashDevices=this.padHex(new kn(Ke,16)),this.g.modPow(new kn(this.hexHash(this.SaltToHashDevices+ze),16),this.N,function(ct,kt){ct&&U(ct,null),de.verifierDevices=de.padHex(kt),U(null,null)})},g.calculateA=function(w,N){var U=this;this.g.modPow(w,this.N,function(de,Ne){de&&N(de,null),Ne.mod(U.N).equals(kn.ZERO)&&N(new Error("Illegal paramater. A mod N cannot be 0."),null),N(null,Ne)}
1)},g.calculateU=function(w,N){return this.UHexHash=this.hexHash(this.padHex(w)+this.padHex(N)),new kn(this.UHexHash,16)},g.hash=function(w){var N=new zn.Sha256;N.update(w);var U=N.digestSync(),de=lt.hp.from(U).toString("hex");return new Array(64-de.length).join("0")+de},g.hexHash=function(w){return this.hash(lt.hp.from(w,"hex"))},g.computehkdf=function(w,N){var U=lt.hp.concat([this.infoBits,lt.hp.from("\x01","utf8")]),de=new zn.Sha256(N);de.update(w);var Ne=de.digestSync(),ze=new zn.Sha256(Ne);return ze.update(U),ze.digestSync().slice(0,16)},g.getPasswordAuthenticationKey=function(w,N,U,de,Ne){var ze=this;if(U.mod(this.N).equals(kn.ZERO))throw new Error("B cannot be zero.");if(this.UValue=this.calculateU(this.largeAValue,U),this.UValue.equals(kn.ZERO))throw new Error("U cannot be zero.");var ct=this.hash(""+this.poolName+w+":"+N),kt=new kn(this.hexHash(this.padHex(de)+ct),16);this.calculateS(kt,U,function(At,Zt){At&&Ne(At,null);var cn=ze.computehkdf(lt.hp.from(ze.padHex(Zt),"hex"),lt.hp.from(ze.padHex(ze.UValue),"hex"));Ne(null,cn)})},g.calculateS=function(w,N,U){var de=this;this.g.modPow(w,this.N,function(Ne,ze){Ne&&U(Ne,null),N.subtract(de.k.multiply(ze)).modPow(de.smallAValue.add(de.UValue.multiply(w)),de.N,function(ct,kt){ct&&U(ct,null),U(null,kt.mod(de.N))})})},g.getNewPasswordRequiredChallengeUserAttributePrefix=function(){return"userAttributes."},g.padHex=function(w){if(!(w instanceof kn))throw new Error("Not a BigInteger");var N=w.compareTo(kn.ZERO)<0,U=w.abs().toString(16);if(U=bn.test(U=U.length%2!=0?"0"+U:U)?"00"+U:U,N){var de=U.split("").map(function(ze){var Ke=15&~parseInt(ze,16);return"0123456789ABCDEF".charAt(Ke)}).join("");(U=new kn(de,16).add(kn.ONE).toString(16)).toUpperCase().startsWith("FF8")&&(U=U.substring(2))}return U},A}(),Er=function(){function A(I){this.jwtToken=I||"",this.payload=this.decodePayload()}var g=A.prototype;return g.getJwtToken=function(){return this.jwtToken},g.getExpiration=function(){return this.payload.exp},g.getIssuedAt=function(){return this.payload.iat},g.decodePayload=function(){var w=this.jwtToken.split(".")[1];try{return JSON.parse(lt.hp.from(w,"base64").toString("utf8"))}catch{return{}}},A}();function Vr(A,g){return(Vr=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(w,N){return w.__proto__=N,w})(A,g)}var xr=function(A){function g(I){return A.call(this,(void 0===I?{}:I).AccessToken||"")||this}return function xn(A,g){A.prototype=Object.create(g.prototype),A.prototype.constructor=A,Vr(A,g)}(g,A),g}(Er);function rr(A,g){return(rr=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(w,N){return w.__proto__=N,w})(A,g)}var si=function(A){function g(I){return A.call(this,(void 0===I?{}:I).IdToken||"")||this}return function nr(A,g){A.prototype=Object.create(g.prototype),A.prototype.constructor=A,rr(A,g)}(g,A),g}(Er),bi=function(){function A(I){this.token=(void 0===I?{}:I).RefreshToken||""}return A.prototype.getToken=function(){return this.token},A}(),wi_userAgent="aws-amplify/5.0.4",wi_isReactNative=typeof navigator<"u"&&"ReactNative"===navigator.product,lo=function(){function A(I){var w=void 0===I?{}:I,N=w.IdToken,U=w.RefreshToken,de=w.AccessToken,Ne=w.ClockDrift;if(null==de||null==N)throw new Error("Id token and Access Token must be present.");this.idToken=N,this.refreshToken=U,this.accessToken=de,this.clockDrift=void 0===Ne?this.calculateClockDrift():Ne}var g=A.prototype;return g.getIdToken=function(){return this.idToken},g.getRefreshToken=function(){return this.refreshToken},g.getAccessToken=function(){return this.accessToken},g.getClockDrift=function(){return this.clockDrift},g.calculateClockDrift=function(){return Math.floor(new Date/1e3)-Math.min(this.accessToken.getIssuedAt(),this.idToken.getIssuedAt())},g.isValid=function(){var N=Math.floor(new Date/1e3)-this.clockDrift;return N<this.accessToken.getExpiration()&&N<this.idToken.getExpiration()},A}(),Ii=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],O=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],ae=function(){function A(){}return A.prototype.getNowString=function(){var w=new Date,N=O[w.getUTCDay()],U=Ii[w.getUTCMonth()],de=w.getUTCDate(),Ne=w.getUTCHours();Ne<10&&(Ne="0"+Ne);var ze=w.getUTCMinutes();ze<10&&(ze="0"+ze);var Ke=w.getUTCSeconds();return Ke<10&&(Ke="0"+Ke),N+" "+U+" "+de+" "+Ne+":"+ze+":"+Ke+" UTC "+w.getUTCFullYear()},A}(),J=function(){function A(I){var w=void 0===I?{}:I,U=w.Value;this.Name=w.Name||"",this.Value=U||""}var g=A.prototype;return g.getValue=function(){return this.Value},g.setValue=function(w){return this.Value=w,this},g.getName=function(){return this.Name},g.setName=function(w){return this.Name=w,this},g.toString=function(){return JSON.stringify(this)},g.toJSON=function(){return{Name:this.Name,Value:this.Value}},A}
1(),pe={},Ge=function(){function A(){}return A.setItem=function(I,w){return pe[I]=w,pe[I]},A.getItem=function(I){return Object.prototype.hasOwnProperty.call(pe,I)?pe[I]:void 0},A.removeItem=function(I){return delete pe[I]},A.clear=function(){return pe={}},A}(),wt=function(){function A(){try{this.storageWindow=window.localStorage,this.storageWindow.setItem("aws.cognito.test-ls",1),this.storageWindow.removeItem("aws.cognito.test-ls")}catch{this.storageWindow=Ge}}return A.prototype.getStorage=function(){return this.storageWindow},A}(),yn=typeof navigator<"u"?wi_isReactNative?"react-native":navigator.userAgent:"nodejs",Fn=function(){function A(I){if(null==I||null==I.Username||null==I.Pool)throw new Error("Username and Pool information are required.");this.username=I.Username||"",this.pool=I.Pool,this.Session=null,this.client=I.Pool.client,this.signInUserSession=null,this.authenticationFlowType="USER_SRP_AUTH",this.storage=I.Storage||(new wt).getStorage(),this.keyPrefix="CognitoIdentityServiceProvider."+this.pool.getClientId(),this.userDataKey=this.keyPrefix+"."+this.username+".userData"}var g=A.prototype;return g.setSignInUserSession=function(w){this.clearCachedUserData(),this.signInUserSession=w,this.cacheTokens()},g.getSignInUserSession=function(){return this.signInUserSession},g.getUsername=function(){return this.username},g.getAuthenticationFlowType=function(){return this.authenticationFlowType},g.setAuthenticationFlowType=function(w){this.authenticationFlowType=w},g.initiateAuth=function(w,N){var U=this,de=w.getAuthParameters();de.USERNAME=this.username;var Ne=0!==Object.keys(w.getValidationData()).length?w.getValidationData():w.getClientMetadata(),ze={AuthFlow:"CUSTOM_AUTH",ClientId:this.pool.getClientId(),AuthParameters:de,ClientMetadata:Ne};this.getUserContextData()&&(ze.UserContextData=this.getUserContextData()),this.client.request("InitiateAuth",ze,function(Ke,ct){if(Ke)return N.onFailure(Ke);var At=ct.ChallengeParameters;return"CUSTOM_CHALLENGE"===ct.ChallengeName?(U.Session=ct.Session,N.customChallenge(At)):(U.signInUserSession=U.getCognitoUserSession(ct.AuthenticationResult),U.cacheTokens(),N.onSuccess(U.signInUserSession))})},g.authenticateUser=function(w,N){return"USER_PASSWORD_AUTH"===this.authenticationFlowType?this.authenticateUserPlainUsernamePassword(w,N):"USER_SRP_AUTH"===this.authenticationFlowType||"CUSTOM_AUTH"===this.authenticationFlowType?this.authenticateUserDefaultAuth(w,N):N.onFailure(new Error("Authentication flow type is invalid."))},g.authenticateUserDefaultAuth=function(w,N){var ze,Ke,U=this,de=new pr(this.pool.getUserPoolName()),Ne=new ae,ct={};null!=this.deviceKey&&(ct.DEVICE_KEY=this.deviceKey),ct.USERNAME=this.username,de.getLargeAValue(function(kt,At){kt&&N.onFailure(kt),ct.SRP_A=At.toString(16),"CUSTOM_AUTH"===U.authenticationFlowType&&(ct.CHALLENGE_NAME="SRP_A");var Zt=0!==Object.keys(w.getValidationData()).length?w.getValidationData():w.getClientMetadata(),cn={AuthFlow:U.authenticationFlowType,ClientId:U.pool.getClientId(),AuthParameters:ct,ClientMetadata:Zt};U.getUserContextData(U.username)&&(cn.UserContextData=U.getUserContextData(U.username)),U.client.request("InitiateAuth",cn,function(Dn,qn){if(Dn)return N.onFailure(Dn);var Vn=qn.ChallengeParameters;U.username=Vn.USER_ID_FOR_SRP,U.userDataKey=U.keyPrefix+"."+U.username+".userData",ze=new kn(Vn.SRP_B,16),Ke=new kn(Vn.SALT,16),U.getCachedDeviceKeyAndPassword(),de.getPasswordAuthenticationKey(U.username,w.getPassword(),ze,Ke,function(ar,Pr){ar&&N.onFailure(ar);var Yr=Ne.getNowString(),ci=lt.hp.concat([lt.hp.from(U.pool.getUserPoolName(),"utf8"),lt.hp.from(U.username,"utf8"),lt.hp.from(Vn.SECRET_BLOCK,"base64"),lt.hp.from(Yr,"utf8")]),Wn=new zn.Sha256(Pr);Wn.update(ci);var vr=Wn.digestSync(),ri=lt.hp.from(vr).toString("base64"),Di={};Di.USERNAME=U.username,Di.PASSWORD_CLAIM_SECRET_BLOCK=Vn.SECRET_BLOCK,Di.TIMESTAMP=Yr,Di.PASSWORD_CLAIM_SIGNATURE=ri,null!=U.deviceKey&&(Di.DEVICE_KEY=U.deviceKey);var gs={ChallengeName:"PASSWORD_VERIFIER",ClientId:U.pool.getClientId(),ChallengeResponses:Di,Session:qn.Session,ClientMetadata:Zt};U.getUserContextData()&&(gs.UserContextData=U.getUserContextData()),function Oo(jo,ws){return U.client.request("RespondToAuthChallenge",jo,function(Ss,ts){return Ss&&"ResourceNotFoundException"===Ss.co
1de&&-1!==Ss.message.toLowerCase().indexOf("device")?(Di.DEVICE_KEY=null,U.deviceKey=null,U.randomPassword=null,U.deviceGroupKey=null,U.clearCachedDeviceKeyAndPassword(),Oo(jo,ws)):ws(Ss,ts)})}(gs,function(Oo,jo){return Oo?N.onFailure(Oo):U.authenticateUserInternal(jo,de,N)})})})})},g.authenticateUserPlainUsernamePassword=function(w,N){var U=this,de={};if(de.USERNAME=this.username,de.PASSWORD=w.getPassword(),de.PASSWORD){var Ne=new pr(this.pool.getUserPoolName());this.getCachedDeviceKeyAndPassword(),null!=this.deviceKey&&(de.DEVICE_KEY=this.deviceKey);var ze=0!==Object.keys(w.getValidationData()).length?w.getValidationData():w.getClientMetadata(),Ke={AuthFlow:"USER_PASSWORD_AUTH",ClientId:this.pool.getClientId(),AuthParameters:de,ClientMetadata:ze};this.getUserContextData(this.username)&&(Ke.UserContextData=this.getUserContextData(this.username)),this.client.request("InitiateAuth",Ke,function(ct,kt){return ct?N.onFailure(ct):U.authenticateUserInternal(kt,Ne,N)})}else N.onFailure(new Error("PASSWORD parameter is required"))},g.authenticateUserInternal=function(w,N,U){var de=this,Ne=w.ChallengeName,ze=w.ChallengeParameters;if("SMS_MFA"===Ne)return this.Session=w.Session,U.mfaRequired(Ne,ze);if("SELECT_MFA_TYPE"===Ne)return this.Session=w.Session,U.selectMFAType(Ne,ze);if("MFA_SETUP"===Ne)return this.Session=w.Session,U.mfaSetup(Ne,ze);if("SOFTWARE_TOKEN_MFA"===Ne)return this.Session=w.Session,U.totpRequired(Ne,ze);if("CUSTOM_CHALLENGE"===Ne)return this.Session=w.Session,U.customChallenge(ze);if("NEW_PASSWORD_REQUIRED"===Ne){this.Session=w.Session;var Ke=null,ct=null,kt=[],At=N.getNewPasswordRequiredChallengeUserAttributePrefix();if(ze&&(Ke=JSON.parse(w.ChallengeParameters.userAttributes),ct=JSON.parse(w.ChallengeParameters.requiredAttributes)),ct)for(var Zt=0;Zt<ct.length;Zt++)kt[Zt]=ct[Zt].substr(At.length);return U.newPasswordRequired(Ke,kt)}if("DEVICE_SRP_AUTH"===Ne)return this.Session=w.Session,void this.getDeviceResponse(U);this.signInUserSession=this.getCognitoUserSession(w.AuthenticationResult),this.challengeName=Ne,this.cacheTokens();var cn=w.AuthenticationResult.NewDeviceMetadata;if(null==cn)return U.onSuccess(this.signInUserSession);N.generateHashDevice(w.AuthenticationResult.NewDeviceMetadata.DeviceGroupKey,w.AuthenticationResult.NewDeviceMetadata.DeviceKey,function(Dn){if(Dn)return U.onFailure(Dn);var qn={Salt:lt.hp.from(N.getSaltDevices(),"hex").toString("base64"),PasswordVerifier:lt.hp.from(N.getVerifierDevices(),"hex").toString("base64")};de.verifierDevices=qn.PasswordVerifier,de.deviceGroupKey=cn.DeviceGroupKey,de.randomPassword=N.getRandomPassword(),de.client.request("ConfirmDevice",{DeviceKey:cn.DeviceKey,AccessToken:de.signInUserSession.getAccessToken().getJwtToken(),DeviceSecretVerifierConfig:qn,DeviceName:yn},function(Vn,ar){return Vn?U.onFailure(Vn):(de.deviceKey=w.AuthenticationResult.NewDeviceMetadata.DeviceKey,de.cacheDeviceKeyAndPassword(),!0===ar.UserConfirmationNecessary?U.onSuccess(de.signInUserSession,ar.UserConfirmationNecessary):U.onSuccess(de.signInUserSession))})})},g.completeNewPasswordChallenge=function(w,N,U,de){var Ne=this;if(!w)return U.onFailure(new Error("New password is required."));var ze=new pr(this.pool.getUserPoolName()),Ke=ze.getNewPasswordRequiredChallengeUserAttributePrefix(),ct={};N&&Object.keys(N).forEach(function(At){ct[Ke+At]=N[At]}),ct.NEW_PASSWORD=w,ct.USERNAME=this.username;var kt={ChallengeName:"NEW_PASSWORD_REQUIRED",ClientId:this.pool.getClientId(),ChallengeResponses:ct,Session:this.Session,ClientMetadata:de};this.getUserContextData()&&(kt.UserContextData=this.getUserContextData()),this.client.request("RespondToAuthChallenge",kt,function(At,Zt){return At?U.onFailure(At):Ne.authenticateUserInternal(Zt,ze,U)})},g.getDeviceResponse=function(w,N){var U=this,de=new pr(this.deviceGroupKey),Ne=new ae,ze={};ze.USERNAME=this.username,ze.DEVICE_KEY=this.deviceKey,de.getLargeAValue(function(Ke,ct){Ke&&w.onFailure(Ke),ze.SRP_A=ct.toString(16);var kt={ChallengeName:"DEVICE_SRP_AUTH",ClientId:U.pool.getClientId(),ChallengeResponses:ze,ClientMetadata:N,Session:U.Session};U.getUserContextData()&&(kt.UserContextData=U.getUserContextData()),U.client.request("RespondToAuthChallenge",kt,function(At,Zt){if(At)return w.onFailure(At);var cn=Zt.ChallengeParameters,Dn=new kn(cn.SRP_B,16),qn=new kn(cn.SALT,16);de.getPasswordAuthenticationKey(U.deviceKey,U.randomPassword,Dn,qn,function(Vn,ar){if(Vn)return w.onFailure(Vn);var Pr=Ne.getNowString(),Yr=lt.hp.concat([lt.hp.from(U.deviceGroupKey,"utf8"),lt.hp.from(U.deviceKey,"utf8"),lt.hp.from(cn.SECRET_BLOCK,"base64"),lt.hp.from(Pr,"utf8")]),ci=new zn.Sha256(ar);ci.update(Yr);var Wn=ci.digestSync(),vr=lt.hp.from(Wn).toString("base64"),ri={};ri.USERNAME=U.username,ri.PASSWORD_CLAIM_SECRET_BLOCK=cn.SECRET_BLOCK,ri.TIMESTAMP=Pr,ri.PASSWORD_CLAIM_SIGNATURE=vr,ri.DEVICE_KEY=U.deviceKey;var Di={ChallengeName:"DEVICE_PASSWORD_VERIFIER",ClientId:U.pool.getClientId(),ChallengeResponses:ri,Session:Zt.Session};U.getUserContextData()&&(Di.UserContextData=U.getUserContextData()),U.client.request("RespondToAuthChallenge",Di,function($i,gs){return $i?w.onFailure($i):(U.signInUserSession=U.getCognitoUserSession(gs.AuthenticationResult),U.cacheTokens(),w.onSuccess(U.signInUserSession))})})})})},g.confirmRegistration=function(w,N,U,de){var Ne={ClientId:this.pool.getClientId(),ConfirmationCode:w,Username:this.username,ForceAliasCreation:N,ClientMetadata:de};this.getUserContextData()&&(Ne.UserContextData=this.getUserContextData()),this.client.request("ConfirmSignUp",Ne,function(ze){return ze?U(ze,null):U(null,"SUCCESS")})},g.sendCustomChallengeAnswer=function(w,N,U){var de=this,Ne={};Ne.USERNAME=this.username,Ne.ANSWER=w;var ze=new pr(this.pool.getUserPoolName());this.getCachedDeviceKeyAndPassword(),null!=this.deviceKey&&(Ne.DEVICE_KEY=this.deviceKey);var Ke={ChallengeName:"CUSTOM_CHALLENGE",ChallengeResponses:Ne,ClientId:this.pool.getClientId(),Session:this.Session,ClientMetadata:U};this.getUserContextData()&&(Ke.UserContextData=this.getUserContextData()),this.client.request("RespondToAuthChallenge",Ke,function(ct,kt){return ct?N.onFailure(ct):de.authenticateUserInternal(kt,ze,N)})},g.sendMFACode=function(w,N,U,de){var Ne=this,ze={};ze.USERNAME=this.username,ze.SMS_MFA_CODE=w;var Ke=U||"SMS_MFA";"SOFTWARE_TOKEN_MFA"===Ke&&(ze.SOFTWARE_TOKEN_MFA_CODE=w),null!=this.deviceKey&&(ze.DEVICE_KEY=this.deviceKey);var ct={ChallengeName:Ke,ChallengeResponses:ze,ClientId:this.pool.getClientId(),Session:this.Session,ClientMetadata:de};this.getUserContextData()&&(ct.UserContextData=this.getUserContextData()),this.client.request("RespondToAuthChallenge",ct,function(kt,At){if(kt)return N.onFailure(kt);if("DEVICE_SRP_AUTH"!==At.ChallengeName){if(Ne.signInUserSession=Ne.getCognitoUserSession(At.AuthenticationResult),Ne.cacheTokens(),null==At.AuthenticationResult.
1NewDeviceMetadata)return N.onSuccess(Ne.signInUserSession);var cn=new pr(Ne.pool.getUserPoolName());cn.generateHashDevice(At.AuthenticationResult.NewDeviceMetadata.DeviceGroupKey,At.AuthenticationResult.NewDeviceMetadata.DeviceKey,function(Dn){if(Dn)return N.onFailure(Dn);var qn={Salt:lt.hp.from(cn.getSaltDevices(),"hex").toString("base64"),PasswordVerifier:lt.hp.from(cn.getVerifierDevices(),"hex").toString("base64")};Ne.verifierDevices=qn.PasswordVerifier,Ne.deviceGroupKey=At.AuthenticationResult.NewDeviceMetadata.DeviceGroupKey,Ne.randomPassword=cn.getRandomPassword(),Ne.client.request("ConfirmDevice",{DeviceKey:At.AuthenticationResult.NewDeviceMetadata.DeviceKey,AccessToken:Ne.signInUserSession.getAccessToken().getJwtToken(),DeviceSecretVerifierConfig:qn,DeviceName:yn},function(Vn,ar){return Vn?N.onFailure(Vn):(Ne.deviceKey=At.AuthenticationResult.NewDeviceMetadata.DeviceKey,Ne.cacheDeviceKeyAndPassword(),!0===ar.UserConfirmationNecessary?N.onSuccess(Ne.signInUserSession,ar.UserConfirmationNecessary):N.onSuccess(Ne.signInUserSession))})})}else Ne.getDeviceResponse(N)})},g.changePassword=function(w,N,U,de){if(null==this.signInUserSession||!this.signInUserSession.isValid())return U(new Error("User is not authenticated"),null);this.client.request("ChangePassword",{PreviousPassword:w,ProposedPassword:N,AccessToken:this.signInUserSession.getAccessToken().getJwtToken(),ClientMetadata:de},function(Ne){return Ne?U(Ne,null):U(null,"SUCCESS")})},g.enableMFA=function(w){if(null==this.signInUserSession||!this.signInUserSession.isValid())return w(new Error("User is not authenticated"),null);var N=[];N.push({DeliveryMedium:"SMS",AttributeName:"phone_number"}),this.client.request("SetUserSettings",{MFAOptions:N,AccessToken:this.signInUserSession.getAccessToken().getJwtToken()},function(de){return de?w(de,null):w(null,"SUCCESS")})},g.setUserMfaPreference=function(w,N,U){if(null==this.signInUserSession||!this.signInUserSession.isValid())return U(new Error("User is not authenticated"),null);this.client.request("SetUserMFAPreference",{SMSMfaSettings:w,SoftwareTokenMfaSettings:N,AccessToken:this.signInUserSession.getAccessToken().getJwtToken()},function(de){return de?U(de,null):U(null,"SUCCESS")})},g.disableMFA=function(w){if(null==this.signInUserSession||!this.signInUserSession.isValid())return w(new Error("User is not authenticated"),null);this.client.request("SetUserSettings",{MFAOptions:[],AccessToken:this.signInUserSession.getAccessToken().getJwtToken()},function(U){return U?w(U,null):w(null,"SUCCESS")})},g.deleteUser=function(w,N){var U=this;if(null==this.signInUserSession||!this.signInUserSession.isValid())return w(new Error("User is not authenticated"),null);this.client.request("DeleteUser",{AccessToken:this.signInUserSession.getAccessToken().getJwtToken(),ClientMetadata:N},function(de){return de?w(de,null):(U.clearCachedUser(),w(null,"SUCCESS"))})},g.updateAttributes=function(w,N,U){var de=this;if(null==this.signInUserSession||!this.signInUserSession.isValid())return N(new Error("User is not authenticated"),null);this.client.request("UpdateUserAttributes",{AccessToken:this.signInUserSession.getAccessToken().getJwtToken(),UserAttributes:w,ClientMetadata:U},function(Ne,ze){return Ne?N(Ne,null):de.getUserData(function(){return N(null,"SUCCESS",ze)},{bypassCache:!0})})},g.getUserAttributes=function(w){if(null==this.signInUserSession||!this.signInUserSession.isValid())return w(new Error("User is not authenticated"),null);this.client.request("GetUser",{AccessToken:this.signInUserSession.getAccessToken().getJwtToken()},function(N,U){if(N)return w(N,null);for(var de=[],Ne=0;Ne<U.UserAttributes.length;Ne++){var Ke=new J({Name:U.UserAttributes[Ne].Name,Value:U.UserAttributes[Ne].Value});de.push(Ke)}return w(null,de)})},g.getMFAOptions=function(w){if(null==this.signInUserSession||!this.signInUserSession.isValid())return w(new Error("User is not authenticated"),null);this.client.request("GetUser",{AccessToken:this.signInUserSession.getAccessToken().getJwtToken()},function(N,U){return N?w(N,null):w(null,U.MFAOptions)})},g.createGetUserRequest=function(){return this.client.promisifyRequest("GetUser",{AccessToken:this.signInUserSession.getAccessToken().getJwtToken()})},g.refreshSessionIfPossible=function(w){var N=this;return void 0===w&&(w={}),new Promise(function(U){var de=N.signInUserSession.getRefreshToken();de&&de.getToken()?N.refreshSession(de,U,w.clientMetadata):U()})},g.getUserData=function(w,N){var U=this;if(null==this.signInUserSession||!this.signInUserSession.isValid())return this.clearCachedUserData(),w(new Error("User is not authenticated"),null);
1var de=this.getUserDataFromCache();if(de)if(this.isFetchUserDataAndTokenRequired(N))this.fetchUserData().then(function(Ne){return U.refreshSessionIfPossible(N).then(function(){return Ne})}).then(function(Ne){return w(null,Ne)}).catch(w);else try{return void w(null,JSON.parse(de))}catch(Ne){return this.clearCachedUserData(),void w(Ne,null)}else this.fetchUserData().then(function(Ne){w(null,Ne)}).catch(w)},g.getUserDataFromCache=function(){return this.storage.getItem(this.userDataKey)},g.isFetchUserDataAndTokenRequired=function(w){var U=(w||{}).bypassCache;return void 0!==U&&U},g.fetchUserData=function(){var w=this;return this.createGetUserRequest().then(function(N){return w.cacheUserData(N),N})},g.deleteAttributes=function(w,N){var U=this;if(null==this.signInUserSession||!this.signInUserSession.isValid())return N(new Error("User is not authenticated"),null);this.client.request("DeleteUserAttributes",{UserAttributeNames:w,AccessToken:this.signInUserSession.getAccessToken().getJwtToken()},function(de){return de?N(de,null):U.getUserData(function(){return N(null,"SUCCESS")},{bypassCache:!0})})},g.resendConfirmationCode=function(w,N){var U={ClientId:this.pool.getClientId(),Username:this.username,ClientMetadata:N};this.client.request("ResendConfirmationCode",U,function(de,Ne){return de?w(de,null):w(null,Ne)}
1)},g.getSession=function(w,N){if(void 0===N&&(N={}),null==this.username)return w(new Error("Username is null. Cannot retrieve a new session"),null);if(null!=this.signInUserSession&&this.signInUserSession.isValid())return w(null,this.signInUserSession);var U="CognitoIdentityServiceProvider."+this.pool.getClientId()+"."+this.username,de=U+".idToken",Ne=U+".accessToken",ze=U+".refreshToken",Ke=U+".clockDrift";if(this.storage.getItem(de)){var ct=new si({IdToken:this.storage.getItem(de)}),kt=new xr({AccessToken:this.storage.getItem(Ne)}),At=new bi({RefreshToken:this.storage.getItem(ze)}),Zt=parseInt(this.storage.getItem(Ke),0)||0,Dn=new lo({IdToken:ct,AccessToken:kt,RefreshToken:At,ClockDrift:Zt});if(Dn.isValid())return this.signInUserSession=Dn,w(null,this.signInUserSession);if(!At.getToken())return w(new Error("Cannot retrieve a new session. Please authenticate."),null);this.refreshSession(At,w,N.clientMetadata)}else w(new Error("Local storage is missing an ID Token, Please authenticate"),null)},g.refreshSession=function(w,N,U){var de=this,Ne=this.pool.wrapRefreshSessionCallback?this.pool.wrapRefreshSessionCallback(N):N,ze={};ze.REFRESH_TOKEN=w.getToken();var Ke="CognitoIdentityServiceProvider."+this.pool.getClientId(),ct=Ke+".LastAuthUser";this.storage.getItem(ct)&&(this.username=this.storage.getItem(ct),this.deviceKey=this.storage.getItem(Ke+"."+this.username+".deviceKey"),ze.DEVICE_KEY=this.deviceKey);var At={ClientId:this.pool.getClientId(),AuthFlow:"REFRESH_TOKEN_AUTH",AuthParameters:ze,ClientMetadata:U};this.getUserContextData()&&(At.UserContextData=this.getUserContextData()),this.client.request("InitiateAuth",At,function(Zt,cn){if(Zt)return"NotAuthorizedException"===Zt.code&&de.clearCachedUser(),Ne(Zt,null);if(cn){var Dn=cn.AuthenticationResult;return Object.prototype.hasOwnProperty.call(Dn,"RefreshToken")||(Dn.RefreshToken=w.getToken()),de.signInUserSession=de.getCognitoUserSession(Dn),de.cacheTokens(),Ne(null,de.signInUserSession)}})},g.cacheTokens=function(){var w="CognitoIdentityServiceProvider."+this.pool.getClientId(),U=w+"."+this.username+".accessToken",de=w+"."+this.username+".refreshToken",Ne=w+"."+this.username+".clockDrift",ze=w+".LastAuthUser";this.storage.setItem(w+"."+this.username+".idToken",this.signInUserSession.getIdToken().getJwtToken()),this.storage.setItem(U,this.signInUserSession.getAccessToken().getJwtToken()),this.storage.setItem(de,this.signInUserSession.getRefreshToken().getToken()),this.storage.setItem(Ne,""+this.signInUserSession.getClockDrift()),this.storage.setItem(ze,this.username)},g.cacheUserData=function(w){this.storage.setItem(this.userDataKey,JSON.stringify(w))},g.clearCachedUserData=function(){this.storage.removeItem(this.userDataKey)},g.clearCachedUser=function(){this.clearCachedTokens(),this.clearCachedUserData()},g.cacheDeviceKeyAndPassword=function(){var w="CognitoIdentityServiceProvider."+this.pool.getClientId()+"."+this.username,U=w+".randomPasswordKey",de=w+".deviceGroupKey";this.storage.setItem(w+".deviceKey",this.deviceKey),this.storage.setItem(U,this.randomPassword),this.storage.setItem(de,this.deviceGroupKey)},g.getCachedDeviceKeyAndPassword=function(){var w="CognitoIdentityServiceProvider."+this.pool.getClientId()+"."+this.username,N=w+".deviceKey",U=w+".randomPasswordKey",de=w+".deviceGroupKey";this.storage.getItem(N)&&(this.deviceKey=this.storage.getItem(N),this.randomPassword=this.storage.getItem(U),this.deviceGroupKey=this.storage.getItem(de))},g.clearCachedDeviceKeyAndPassword=function(){var w="CognitoIdentityServiceProvider."+this.pool.getClientId()+"."+this.username,U=w+".randomPasswordKey",de=w+".deviceGroupKey";this.storage.removeItem(w+".deviceKey"),this.storage.removeItem(U),this.storage.removeItem(de)},g.clearCachedTokens=function(){var w="CognitoIdentityServiceProvider."+this.pool.getClientId(),U=w+"."+this.username+".accessToken",de=w+"."+this.username+".refreshToken",Ne=w+".LastAuthUser",ze=w+"."+this.username+".clockDrift";this.storage.removeItem(w+"."+this.username+".idToken"),this.storage.removeItem(U),this.storage.removeItem(de),this.storage.removeItem(Ne),this.storage.removeItem(ze)},g.getCognitoUserSession=function(w){var N=new si(w),U=new xr(w),de=new bi(w);return new lo({IdToken:N,AccessToken:U,RefreshToken:de})},g.forgotPassword=function(w,N){var U={ClientId:this.pool.getClientId(),Username:this.username,ClientMetadata:N};this.getUserContextData()&&(U.UserContextData=this.getUserContextData()),this.client.request("ForgotPassword",U,function(de,Ne){return de?w.onFailure(de):"function"==typeof w.inputVerificationCode?w.inputVerificationCode(Ne):w.onSuccess(Ne)})},g.confirmPassword=function(w,N,U,de){var Ne={ClientId:this.pool.getClientId(),Username:this.username,ConfirmationCode:w,Password:N,ClientMetadata:de};this.getUserContextData()&&(Ne.UserContextData=this.getUserContextData()),this.client.request("ConfirmForgotPassword",Ne,function(ze){return ze?U.onFailure(ze):U.onSuccess("SUCCESS")})}
1,g.getAttributeVerificationCode=function(w,N,U){if(null==this.signInUserSession||!this.signInUserSession.isValid())return N.onFailure(new Error("User is not authenticated"));this.client.request("GetUserAttributeVerificationCode",{AttributeName:w,AccessToken:this.signInUserSession.getAccessToken().getJwtToken(),ClientMetadata:U},function(de,Ne){return de?N.onFailure(de):"function"==typeof N.inputVerificationCode?N.inputVerificationCode(Ne):N.onSuccess("SUCCESS")})},g.verifyAttribute=function(w,N,U){if(null==this.signInUserSession||!this.signInUserSession.isValid())return U.onFailure(new Error("User is not authenticated"));this.client.request("VerifyUserAttribute",{AttributeName:w,Code:N,AccessToken:this.signInUserSession.getAccessToken().getJwtToken()},function(de){return de?U.onFailure(de):U.onSuccess("SUCCESS")})},g.getDevice=function(w){if(null==this.signInUserSession||!this.signInUserSession.isValid())return w.onFailure(new Error("User is not authenticated"));this.client.request("GetDevice",{AccessToken:this.signInUserSession.getAccessToken().getJwtToken(),DeviceKey:this.deviceKey},function(N,U){return N?w.onFailure(N):w.onSuccess(U)})},g.forgetSpecificDevice=function(w,N){if(null==this.signInUserSession||!this.signInUserSession.isValid())return N.onFailure(new Error("User is not authenticated"));this.client.request("ForgetDevice",{AccessToken:this.signInUserSession.getAccessToken().getJwtToken(),DeviceKey:w},function(U){return U?N.onFailure(U):N.onSuccess("SUCCESS")})},g.forgetDevice=function(w){var N=this;this.forgetSpecificDevice(this.deviceKey,{onFailure:w.onFailure,onSuccess:function(de){return N.deviceKey=null,N.deviceGroupKey=null,N.randomPassword=null,N.clearCachedDeviceKeyAndPassword(),w.onSuccess(de)}})},g.setDeviceStatusRemembered=function(w){if(null==this.signInUserSession||!this.signInUserSession.isValid())return w.onFailure(new Error("User is not authenticated"));this.client.request("UpdateDeviceStatus",{AccessToken:this.signInUserSession.getAccessToken().getJwtToken(),DeviceKey:this.deviceKey,DeviceRememberedStatus:"remembered"},function(N){return N?w.onFailure(N):w.onSuccess("SUCCESS")})},g.setDeviceStatusNotRemembered=function(w){if(null==this.signInUserSession||!this.signInUserSession.isValid())return w.onFailure(new Error("User is not authenticated"));this.client.request("UpdateDeviceStatus",{AccessToken:this.signInUserSession.getAccessToken().getJwtToken(),DeviceKey:this.deviceKey,DeviceRememberedStatus:"not_remembered"},function(N){return N?w.onFailure(N):w.onSuccess("SUCCESS")})},g.listDevices=function(w,N,U){if(null==this.signInUserSession||!this.signInUserSession.isValid())return U.onFailure(new Error("User is not authenticated"));var de={AccessToken:this.signInUserSession.getAccessToken().getJwtToken(),Limit:w};N&&(de.PaginationToken=N),this.client.request("ListDevices",de,function(Ne,ze){return Ne?U.onFailure(Ne):U.onSuccess(ze)})},g.globalSignOut=function(w){var N=this;if(null==this.signInUserSession||!this.signInUserSession.isValid())return w.onFailure(new Error("User is not authenticated"));this.client.request("GlobalSignOut",{AccessToken:this.signInUserSession.getAccessToken().getJwtToken()},function(U){return U?w.onFailure(U):(N.clearCachedUser(),w.onSuccess("SUCCESS"))})},g.signOut=function(w){var N=this;w&&"function"==typeof w?this.getSession(function(U,de){if(U)return w(U);N.revokeTokens(function(Ne){N.cleanClientData(),w(Ne)})}):this.cleanClientData()},g.revokeTokens=function(w){if(void 0===w&&(w=function(){}),"function"!=typeof w)throw new Error("Invalid revokeTokenCallback. It should be a function.");if(!this.signInUserSession)return w(new Error("User is not authenticated"));if(!this.signInUserSession.getAccessToken())return w(new Error("No Access token available"));var Ne=this.signInUserSession.getRefreshToken().getToken(),ze=this.signInUserSession.getAccessToken();if(this.isSessionRevocable(ze)&&Ne)return this.revokeToken({token:Ne,callback:w});w()},g.isSessionRevocable=function(w){if(w&&"function"==typeof w.decodePayload)try{return!!w.decodePayload().origin_jti}catch{}return!1},g.cleanClientData=function(){this.signInUserSession=null,this.clearCachedUser()},g.revokeToken=function(w){var U=w.callback;
1this.client.requestWithRetry("RevokeToken",{Token:w.token,ClientId:this.pool.getClientId()},function(de){if(de)return U(de);U()})},g.sendMFASelectionAnswer=function(w,N){var U=this,de={};de.USERNAME=this.username,de.ANSWER=w;var Ne={ChallengeName:"SELECT_MFA_TYPE",ChallengeResponses:de,ClientId:this.pool.getClientId(),Session:this.Session};this.getUserContextData()&&(Ne.UserContextData=this.getUserContextData()),this.client.request("RespondToAuthChallenge",Ne,function(ze,Ke){return ze?N.onFailure(ze):(U.Session=Ke.Session,"SMS_MFA"===w?N.mfaRequired(Ke.ChallengeName,Ke.ChallengeParameters):"SOFTWARE_TOKEN_MFA"===w?N.totpRequired(Ke.ChallengeName,Ke.ChallengeParameters):void 0)})},g.getUserContextData=function(){return this.pool.getUserContextData(this.username)},g.associateSoftwareToken=function(w){var N=this;null!=this.signInUserSession&&this.signInUserSession.isValid()?this.client.request("AssociateSoftwareToken",{AccessToken:this.signInUserSession.getAccessToken().getJwtToken()},function(U,de){return U?w.onFailure(U):w.associateSecretCode(de.SecretCode)}):this.client.request("AssociateSoftwareToken",{Session:this.Session},function(U,de){return U?w.onFailure(U):(N.Session=de.Session,w.associateSecretCode(de.SecretCode))})},g.verifySoftwareToken=function(w,N,U){var de=this;null!=this.signInUserSession&&this.signInUserSession.isValid()?this.client.request("VerifySoftwareToken",{AccessToken:this.signInUserSession.getAccessToken().getJwtToken(),UserCode:w,FriendlyDeviceName:N},function(Ne,ze){return Ne?U.onFailure(Ne):U.onSuccess(ze)}):this.client.request("VerifySoftwareToken",{Session:this.Session,UserCode:w,FriendlyDeviceName:N},function(Ne,ze){if(Ne)return U.onFailure(Ne);de.Session=ze.Session;var Ke={};Ke.USERNAME=de.username;var ct={ChallengeName:"MFA_SETUP",ClientId:de.pool.getClientId(),ChallengeResponses:Ke,Session:de.Session};de.getUserContextData()&&(ct.UserContextData=de.getUserContextData()),de.client.request("RespondToAuthChallenge",ct,function(kt,At){return kt?U.onFailure(kt):(de.signInUserSession=de.getCognitoUserSession(At.AuthenticationResult),de.cacheTokens(),U.onSuccess(de.signInUserSession))})})},A}();function Gn(){}v(8400),Gn.prototype.userAgent=wi_userAgent;var Ni=function(g){Gn.framework=g};function Uo(A){var g="function"==typeof Map?new Map:void 0;return Uo=function(w){if(null===w||!function yi(A){try{return-1!==Function.toString.call(A).indexOf("[native code]")}catch{return"function"==typeof A}}(w))return w;if("function"!=typeof w)throw new TypeError("Super expression must either be null or a function");if(typeof g<"u"){if(g.has(w))return g.get(w);g.set(w,N)}function N(){return Ti(w,arguments,Yn(this).constructor)}return N.prototype=Object.create(w.prototype,{constructor:{value:N,enumerable:!1,writable:!0,configurable:!0}}),Si(N,w)},Uo(A)}function Ti(A,g,I){return(Ti=function fi(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}()?Reflect.construct.bind():function(N,U,de){var Ne=[null];Ne.push.apply(Ne,U);var Ke=new(Function.bind.apply(N,Ne));return de&&Si(Ke,de.prototype),Ke}).apply(null,arguments)}function Si(A,g){return(Si=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(w,N){return w.__proto__=N,w})(A,g)}
1function Yn(A){return(Yn=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(I){return I.__proto__||Object.getPrototypeOf(I)})(A)}var Io=function(A){function g(I,w,N,U){var de;return(de=A.call(this,I)||this).code=w,de.name=N,de.statusCode=U,de}return function Xi(A,g){A.prototype=Object.create(g.prototype),A.prototype.constructor=A,Si(A,g)}(g,A),g}(Uo(Error)),Ci=function(){function A(I,w,N){this.endpoint=w||"https://cognito-idp."+I+".amazonaws.com/";var de=(N||{}).credentials;this.fetchOptions=de?{credentials:de}:{}}var g=A.prototype;return g.promisifyRequest=function(w,N){var U=this;return new Promise(function(de,Ne){U.request(w,N,function(ze,Ke){ze?Ne(new Io(ze.message,ze.code,ze.name,ze.statusCode)):de(Ke)})})},g.requestWithRetry=function(w,N,U){var de=this;(function Ns(A,g,I){return void 0===I&&(I=Yi),Bo(A,g,function Po(A){return function(w){var N=100*Math.pow(2,w)+100*Math.random();return!(N>A)&&N}}(I))})(function(ze){return new Promise(function(Ke,ct){de.request(w,ze,function(kt,At){kt?ct(kt):Ke(At)})})},[N],5e3).then(function(ze){return U(null,ze)}).catch(function(ze){return U(ze)})},g.request=function(w,N,U){var ze,Ne=Object.assign({},this.fetchOptions,{headers:{"Content-Type":"application/x-amz-json-1.1","X-Amz-Target":"AWSCognitoIdentityProviderService."+w,"X-Amz-User-Agent":Gn.prototype.userAgent+(Gn.category?" "+Gn.category:"")+(Gn.framework?" framework/"+Gn.framework:""),"Cache-Control":"no-store"},method:"POST",mode:"cors",body:JSON.stringify(N)});fetch(this.endpoint,Ne).then(function(ct){return ze=ct,ct},function(ct){throw ct instanceof TypeError?new Error("Network error"):ct}).then(function(ct){return ct.json().catch(function(){return{}})}).then(function(ct){if(ze.ok)return U(null,ct);var kt=(ct.__type||ct.code).split("#").pop(),At=new Error(ct.message||ct.Message||null);return At.name=kt,At.code=kt,U(At)}).catch(function(ct){if(ze&&ze.headers&&ze.headers.get("x-amzn-errortype"))try{var kt=ze.headers.get("x-amzn-errortype").split(":")[0],At=new Error(ze.status?ze.status.toString():null);return At.code=kt,At.name=kt,At.statusCode=ze.status,U(At)}catch{return U(ct)}else ct instanceof Error&&"Network error"===ct.message&&(ct.code="NetworkError");return U(ct)})},A}(),ui={debug:function(){}},Ko=function(g){return g&&g.nonRetryable};function Bo(A,g,I,w){if(void 0===w&&(w=1),"function"!=typeof A)throw Error("functionToRetry must be a function");return ui.debug(A.name+" attempt #"+w+" with args: "+JSON.stringify(g)),A.apply(void 0,g).catch(function(N){if(ui.debug("error on "+A.name,N),Ko(N))throw ui.debug(A.name+" non retryable error",N),N;var U=I(w,g,N);if(ui.debug(A.name+" retrying in "+U+" ms"),!1!==U)return new Promise(function(de){return setTimeout(de,U)}).then(function(){return Bo(A,g,I,w+1)});throw N})}var Yi=3e5,Rs=function(){function A(I,w){var N=I||{},U=N.UserPoolId,de=N.ClientId,Ne=N.endpoint,ze=N.fetchOptions,Ke=N.AdvancedSecurityDataCollectionFlag;if(!U||!de)throw new Error("Both UserPoolId and ClientId are required.");if(U.length>55||!/^[\w-]+_[0-9a-zA-Z]+$/.test(U))throw new Error("Invalid UserPoolId format.");var ct=U.split("_")[0];this.userPoolId=U,this.clientId=de,this.client=new Ci(ct,Ne,ze),this.advancedSecurityDataCollectionFlag=!1!==Ke,this.storage=I.Storage||(new wt).getStorage(),w&&(this.wrapRefreshSessionCallback=w)}var g=A.prototype;return g.getUserPoolId=function(){return this.userPoolId},g.getUserPoolName=function(){return this.getUserPoolId().split("_")[1]},g.getClientId=function(){return this.clientId},g.signUp=function(w,N,U,de,Ne,ze){var Ke=this,ct={ClientId:this.clientId,Username:w,Password:N,UserAttributes:U,ValidationData:de,ClientMetadata:ze};this.getUserContextData(w)&&(ct.UserContextData=this.getUserContextData(w)),this.client.request("SignUp",ct,function(kt,At){if(kt)return Ne(kt,null);var cn={user:new Fn({Username:w,Pool:Ke,Storage:Ke.storage}),userConfirmed:At.UserConfirmed,userSub:At.UserSub,codeDeliveryDetails:At.CodeDeliveryDetails};return Ne(null,cn)})},g.getCurrentUser=function(){var N=this.storage.getItem("CognitoIdentityServiceProvider."+this.clientId+".LastAuthUser");return N?new Fn({Username:N,Pool:this,Storage:this.storage}):null},g.getUserContextData=function(w){if(!(typeof AmazonCognitoAdvancedSecurityData>"u")){var N=AmazonCognitoAdvancedSecurityData;if(this.advancedSecurityDataCollectionFlag){var U=N.getData(w,this.userPoolId,this.clientId);if(U)return{EncodedData:U}}return{}}},A}(),fo=v(8195),oo=function(){function A(I){if(void 0===I&&(I={}),I.domain&&(this.domain=I.domain),this.path=I.path?I.path:"/",this.expires=Object.prototype.hasOwnProperty.call(I,"expires")?I.expires:365,this.secure=!Object.prototype.hasOwnProperty.call(I,"secure")||I.secure,Object.prototype.hasOwnProperty.call(I,"sameSite")){if(!["strict","lax","none"].includes(I.sameSite))throw new Error('The sameSite value of cookieStorage must be "lax", "strict" or "none".');if("none"===I.sameSite&&!this.secure)throw new Error("sameSite = None requires the Secure attribute in latest browser versions.");this.sameSite=I.sameSite}else this.sameSite=null}var g=A.prototype;return g.setItem=function(w,N){var U={path:this.path,expires:this.expires,domain:this.domain,secure:this.secure};return this.sameSite&&(U.sameSite=this.sameSite),fo.set(w,N,U),fo.get(w)},g.getItem=function(w){return fo.get(w)},g.removeItem=function(w){var N={path:this.path,expires:this.expires,domain:this.domain,secure:this.secure};return this.sameSite&&(N.sameSite=this.sameSite),fo.remove(w,N)},g.clear=function(){for(var w=fo.get(),N=Object.keys(w).length,U=0;U<N;++U)this.removeItem(Object.keys(w)[U]);return{}},A}(),ei=v(1879),hs=function(A){var g=window.open(A,"_self");
1return g?Promise.resolve(g):Promise.reject()},Mo=v(9682),Hi=v(946),mo=typeof Symbol<"u"&&"function"==typeof Symbol.for?Symbol.for("amplify_default"):"@@amplify_default",Qi=function(A,g,I){Gt.Y.dispatch("auth",{event:A,data:g,message:I},"Auth",mo)},Vo=new vn.C("OAuth");const ho=function(){function A(g){var I=g.config,w=g.cognitoClientId,N=g.scopes,U=void 0===N?[]:N;if(this._urlOpener=I.urlOpener||hs,this._config=I,this._cognitoClientId=w,!this.isValidScopes(U))throw Error("scopes must be a String Array");this._scopes=U}return A.prototype.isValidScopes=function(g){return Array.isArray(g)&&g.every(function(I){return"string"==typeof I})},A.prototype.oauthSignIn=function(g,I,w,N,U,de){void 0===g&&(g="code"),void 0===U&&(U=re.Cognito);var Ne=this._generateState(32),ze=de?Ne+"-"+function ke(A){return A.split("").map(function(g){return g.charCodeAt(0).toString(16).padStart(2,"0")}).join("")}(de):Ne;!function(A){window.sessionStorage.setItem("oauth_state",A)}(ze);var Ke=this._generateRandom(128);!function(A){window.sessionStorage.setItem("ouath_pkce_key",A)}(Ke);var ct=this._generateChallenge(Ke),At=this._scopes.join(" "),cn="https://"+I+"/oauth2/authorize?"+Object.entries(G(G({redirect_uri:w,response_type:g,client_id:N,identity_provider:U,scope:At,state:ze},"code"===g?{code_challenge:ct}:{}),"code"===g?{code_challenge_method:"S256"}:{})).map(function(Dn){var qn=oe(Dn,2),ar=qn[1];return encodeURIComponent(qn[0])+"="+encodeURIComponent(ar)}).join("&");Vo.debug("Redirecting to "+cn),this._urlOpener(cn,w)},A.prototype._handleCodeFlow=function(g){return D(this,void 0,void 0,function(){var I,w,N,U,de,Ne,ze,Ke,ct,At,Zt,cn,Dn,qn,Vn;return W(this,function(ar){switch(ar.label){case 0:return I=((0,ei.qg)(g).query||"").split("&").map(function(Pr){return Pr.split("=")}).reduce(function(Pr,Yr){var ci,Wn=oe(Yr,2),vr=Wn[0],ri=Wn[1];return G(G({},Pr),((ci={})[vr]=ri,ci))},{code:void 0}).code,w=(0,ei.qg)(g).pathname||"/",N=(0,ei.qg)(this._config.redirectSignIn).pathname||"/",I&&w===N?(Qi("codeFlow",{},"Retrieving tokens from "+(U="https://"+this._config.domain+"/oauth2/token")),de=We(this._config)?this._cognitoClientId:this._config.clientID,Ne=We(this._config)?this._config.redirectSignIn:this._config.redirectUri,ze=function(){var A=window.sessionStorage.getItem("ouath_pkce_key");return window.sessionStorage.removeItem("ouath_pkce_key"),A}(),Ke=G({grant_type:"authorization_code",code:I,client_id:de,redirect_uri:Ne},ze?{code_verifier:ze}:{}),Vo.debug("Calling token endpoint: "+U+" with",Ke),ct=Object.entries(Ke).map(function(Pr){var Yr=oe(Pr,2),Wn=Yr[1];return encodeURIComponent(Yr[0])+"="+encodeURIComponent(Wn)}).join("&"),[4,fetch(U,{method:"POST",headers:(Vn={"Content-Type":"application/x-www-form-urlencoded"},Vn[Hi.Y]=(0,Ut.fE)({category:Mo.b7.Auth,action:Mo.BM.FederatedSignIn}),Vn),body:ct})]):[2];case 1:return[4,ar.sent().json()];case 2:if(At=ar.sent(),Zt=At.access_token,cn=At.refresh_token,Dn=At.id_token,qn=At.error)throw new Error(qn);return[2,{accessToken:Zt,refreshToken:cn,idToken:Dn}]}})})},A.prototype._handleImplicitFlow=function(g){return D(this,void 0,void 0,function(){var I,w,N;return W(this,function(U){return I=((0,ei.qg)(g).hash||"#").substr(1).split("&").map(function(de){return de.split("=")}).reduce(function(de,Ne){var ze,Ke=oe(Ne,2),ct=Ke[0],kt=Ke[1];return G(G({},de),((ze={})[ct]=kt,ze))},{id_token:void 0,access_token:void 0}),w=I.id_token,N=I.access_token,Qi("implicitFlow",{},"Got tokens from "+g),Vo.debug("Retrieving implicit tokens from "+g+" with"),[2,{accessToken:N,idToken:w,refreshToken:null}]})})},A.prototype.handleAuthResponse=function(g){return D(this,void 0,void 0,function(){var I,N,U,de,Ne,ze;return W(this,function(Ke){switch(Ke.label){case 0:if(Ke.trys.push([0,5,,6]),I=g?G(G({},((0,ei.qg)(g).hash||"#").substr(1).split("&").map(function(ct){return ct.split("=")}).reduce(function(ct,kt){var At=oe(kt,2);return ct[At[0]]=At[1],ct},{})),((0,ei.qg)(g).query||"").split("&").map(function(ct){return ct.split("=")}).reduce(function(ct,kt){var At=oe(kt,2);return ct[At[0]]=At[1],ct},{})):{},N=I.error_description,I.error)throw new Error(N);
1return U=this._validateState(I),Vo.debug("Starting "+this._config.responseType+" flow with "+g),"code"!==this._config.responseType?[3,2]:(de=[{}],[4,this._handleCodeFlow(g)]);case 1:return[2,G.apply(void 0,[G.apply(void 0,de.concat([Ke.sent()])),{state:U}])];case 2:return Ne=[{}],[4,this._handleImplicitFlow(g)];case 3:return[2,G.apply(void 0,[G.apply(void 0,Ne.concat([Ke.sent()])),{state:U}])];case 4:return[3,6];case 5:throw ze=Ke.sent(),Vo.debug("Error handling auth response.",ze),ze;case 6:return[2]}})})},A.prototype._validateState=function(g){if(g){var I=function(){var A=window.sessionStorage.getItem("oauth_state");return window.sessionStorage.removeItem("oauth_state"),A}(),w=g.state;if(I&&I!==w)throw new Error("Invalid state in OAuth flow");return w}},A.prototype.signOut=function(){return D(this,void 0,void 0,function(){var g,I,w;return W(this,function(N){return g="https://"+this._config.domain+"/logout?",I=We(this._config)?this._cognitoClientId:this._config.oauth.clientID,w=We(this._config)?this._config.redirectSignOut:this._config.returnTo,g+=Object.entries({client_id:I,logout_uri:encodeURIComponent(w)}).map(function(U){var de=oe(U,2);return de[0]+"="+de[1]}).join("&"),Qi("oAuthSignOut",{oAuth:"signOut"},"Signing out from "+g),Vo.debug("Signing out from "+g),[2,this._urlOpener(g,w)]})})},A.prototype._generateState=function(g){for(var I="",w=g;w>0;--w)I+="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"[Math.round(61*Math.random())];return I},A.prototype._generateChallenge=function(g){var I=new zn.Sha256;I.update(g);var w=I.digestSync(),N=lt.hp.from(w).toString("base64");return this._base64URL(N)},A.prototype._base64URL=function(g){return g.replace(/=/g,"").replace(/\+/g,"-").replace(/\//g,"_")},A.prototype._generateRandom=function(g){var w=new Uint8Array(g);if(typeof window<"u"&&window.crypto)window.crypto.getRandomValues(w);else for(var N=0;N<g;N+=1)w[N]=66*Math.random()|0;return this._bufferToString(w)},A.prototype._bufferToString=function(g){for(var w=[],N=0;N<g.byteLength;N+=1)w.push("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789"[g[N]%62]);return w.join("")},A}();var hi=function(A){return A.DEFAULT_MSG="Authentication Error",A.EMPTY_EMAIL="Email cannot be empty",A.EMPTY_PHONE="Phone number cannot be empty",A.EMPTY_USERNAME="Username cannot be empty",A.INVALID_USERNAME="The username should either be a string or one of the sign in types",A.EMPTY_PASSWORD="Password cannot be empty",A.EMPTY_CODE="Confirmation code cannot be empty",A.SIGN_UP_ERROR="Error creating account",A.NO_MFA="No valid MFA method provided",A.INVALID_MFA="Invalid MFA type",A.EMPTY_CHALLENGE="Challenge response cannot be empty",A.NO_USER_SESSION="Failed to get the session because the user is empty",A.NETWORK_ERROR="Network Error",A.DEVICE_CONFIG="Device tracking has not been configured in this User Pool",A.AUTOSIGNIN_ERROR="Please use your credentials to sign in",A}(hi||{}),qo=new vn.C("AuthError"),pi=function(A){function g(I){var w=this,N=as[I],U=N.message,de=N.log;return(w=A.call(this,U)||this).constructor=g,Object.setPrototypeOf(w,g.prototype),w.name="AuthError",w.log=de||U,qo.error(w.log),w}return h(g,A),g}(Error),Xo=function(A){function g(I){var w=A.call(this,I)||this;return w.constructor=g,Object.setPrototypeOf(w,g.prototype),w.name="NoUserPoolError",w}return h(g,A),g}(pi),as={noConfig:{message:hi.DEFAULT_MSG,log:"\n            Error: Amplify has not been configured correctly.\n            This error is typically caused by one of the following scenarios:\n\n            1. Make sure you're passing the awsconfig object to Amplify.configure() in your app's entry point\n                See https://aws-amplify.github.io/docs/js/authentication#configure-your-app for more information\n            \n            2. There might be multiple conflicting versions of amplify packages in your node_modules.\n\t\t\t\tRefer to our docs site for help upgrading Amplify packages (https://docs.amplify.aws/lib/troubleshooting/upgrading/q/platform/js)\n        "},missingAuthConfig:{message:hi.DEFAULT_MSG,log:"\n            Error: Amplify has not been configured correctly. \n            The configuration object is missing required auth properties.\n            This error is typically caused by one of the following scenarios:\n\n            1. Did you run `amplify push` after adding auth via `amplify add auth`?\n                See https://aws-amplify.github.io/docs/js/authentication#amplify-project-setup for more information\n\n            2. This could also be caused by multiple conflicting versions of amplify packages, see (https://docs.amplify.aws/lib/troubleshooting/upgrading/q/platform/js) for help upgrading Amplify packages.\n        "},emptyUsername:{message:hi.EMPTY_USERNAME},invalidUsername:{message:hi.INVALID_USERNAME},emptyPassword:{message:hi.EMPTY_PASSWORD},emptyCode:{message:hi.EMPTY_CODE},signUpError:{message:hi.SIGN_UP_ERROR,log:"The first parameter should either be non-null string or object"},noMFA:{message:hi.NO_MFA},invalidMFA:{message:hi.INVALID_MFA},emptyChallengeResponse:{message:hi.EMPTY_CHALLENGE},noUserSession:{message:hi.NO_USER_SESSION},deviceConfig:{message:hi.DEVICE_CONFIG}
1,networkError:{message:hi.NETWORK_ERROR},autoSignInError:{message:hi.AUTOSIGNIN_ERROR},default:{message:hi.DEFAULT_MSG}},qt=new vn.C("AuthClass"),Ji="aws.cognito.signin.user.admin",ps=typeof Symbol<"u"&&"function"==typeof Symbol.for?Symbol.for("amplify_default"):"@@amplify_default",z=function(A,g,I){Gt.Y.dispatch("auth",{event:A,data:g,message:I},"Auth",ps)},Le=new(function(){function A(g){var I=this;this.userPool=null,this.user=null,this.oAuthFlowInProgress=!1,this.autoSignInInitiated=!1,this.inflightSessionPromise=null,this.inflightSessionPromiseCounter=0,this.Credentials=an.J,this.wrapRefreshSessionCallback=function(w){return function(U,de){return de?z("tokenRefresh",void 0,"New token retrieved"):z("tokenRefresh_failure",U,"Failed to retrieve new token"),w(U,de)}},this.configure(g),this.currentCredentials=this.currentCredentials.bind(this),this.currentUserCredentials=this.currentUserCredentials.bind(this),Gt.Y.listen("auth",function(w){switch(w.payload.event){case"verify":case"signIn":I._storage.setItem("amplify-signin-with-hostedUI","false");break;case"signOut":I._storage.removeItem("amplify-signin-with-hostedUI");break;case"cognitoHostedUI":I._storage.setItem("amplify-signin-with-hostedUI","true")}}),Gn.category="auth",Ni(Ut.OD.framework),Ut.OD.observeFrameworkChanges(function(){Ni(Ut.OD.framework)})}return A.prototype.getModuleName=function(){return"Auth"},A.prototype.configure=function(g){var I=this;if(!g)return this._config||{};qt.debug("configure Auth");var w=Object.assign({},this._config,(0,Xt.s)(g).Auth,g);this._config=w;var N=this._config,U=N.userPoolId,de=N.userPoolWebClientId,Ne=N.cookieStorage,ze=N.oauth,Ke=N.region,ct=N.identityPoolId,kt=N.mandatorySignIn,At=N.refreshHandlers,Zt=N.identityPoolRegion,cn=N.clientMetadata,Dn=N.endpoint,qn=N.storage;
1if(qn){if(!this._isValidAuthStorage(qn))throw qt.error("The storage in the Auth config is not valid!"),new Error("Empty storage object");this._storage=qn}else this._storage=Ne?new oo(Ne):g.ssr?new Hr:(new zt.i).getStorage();if(this._storageSync=Promise.resolve(),"function"==typeof this._storage.sync&&(this._storageSync=this._storage.sync()),U){var Vn={UserPoolId:U,ClientId:de,endpoint:Dn};Vn.Storage=this._storage,this.userPool=new Rs(Vn,this.wrapRefreshSessionCallback)}this.Credentials.configure({mandatorySignIn:kt,region:Ke,userPoolId:U,identityPoolId:ct,refreshHandlers:At,storage:this._storage,identityPoolRegion:Zt});var ar=ze?We(this._config.oauth)?ze:ze.awsCognito:void 0;if(ar){var Pr=Object.assign({cognitoClientId:de,UserPoolId:U,domain:ar.domain,scopes:ar.scope,redirectSignIn:ar.redirectSignIn,redirectSignOut:ar.redirectSignOut,responseType:ar.responseType,Storage:this._storage,urlOpener:ar.urlOpener,clientMetadata:cn},ar.options);this._oAuthHandler=new ho({scopes:Pr.scopes,config:Pr,cognitoClientId:Pr.cognitoClientId});var Yr={};!function(A){if((0,Pt.gy)().isBrowser&&window.location)Wn={url:window.location.href},Yr[vr=Wn.url]||(Yr[vr]=!0,I._handleAuthResponse(vr));else if(!(0,Pt.gy)().isNode)throw new Error("Not supported");var Wn,vr}()}return z("configured",null,"The Auth category has been configured successfully"),this.autoSignInInitiated||"function"!=typeof this._storage.getItem||(this.isTrueStorageValue("amplify-polling-started")&&(z("autoSignIn_failure",null,me.AutoSignInError),this._storage.removeItem("amplify-auto-sign-in")),this._storage.removeItem("amplify-polling-started")),this._config},A.prototype.signUp=function(g){for(var I=this,w=[],N=1;N<arguments.length;N++)w[N-1]=arguments[N];var U,de,Ne;if(!this.userPool)return this.rejectNoUserPool();var At,ze=null,Ke=null,ct=[],kt=null,Zt={enabled:!1},cn={},Dn={};if(g&&"string"==typeof g){ze=g,Ke=w?w[0]:null;var qn=w?w[1]:null,Vn=w?w[2]:null;qn&&ct.push(new J({Name:"email",Value:qn})),Vn&&ct.push(new J({Name:"phone_number",Value:Vn}))}else{if(!g||"object"!=typeof g)return this.rejectAuthError(me.SignUpError);ze=g.username,Ke=g.password,g&&g.clientMetadata?At=g.clientMetadata:this._config.clientMetadata&&(At=this._config.clientMetadata);var ar=g.attributes;ar&&Object.keys(ar).map(function(Yr){ct.push(new J({Name:Yr,Value:ar[Yr]}))});var Pr=g.validationData;Pr&&(kt=[],Object.keys(Pr).map(function(Yr){kt.push(new J({Name:Yr,Value:Pr[Yr]}))})),(Zt=null!==(U=g.autoSignIn)&&void 0!==U?U:{enabled:!1}).enabled&&(this._storage.setItem("amplify-auto-sign-in","true"),cn=null!==(de=Zt.validationData)&&void 0!==de?de:{},Dn=null!==(Ne=Zt.clientMetaData)&&void 0!==Ne?Ne:{})}return ze?Ke?(qt.debug("signUp attrs:",ct),qt.debug("signUp validation data:",kt),new Promise(function(Yr,ci){I.userPool.signUp(ze,Ke,ct,kt,function(Wn,vr){Wn?(z("signUp_failure",Wn,ze+" failed to signup"),ci(Wn)):(z("signUp",vr,ze+" has signed up successfully"),Zt.enabled&&I.handleAutoSignIn(ze,Ke,cn,Dn,vr),Yr(vr))},At)})):this.rejectAuthError(me.EmptyPassword):this.rejectAuthError(me.EmptyUsername)}
1,A.prototype.handleAutoSignIn=function(g,I,w,N,U){this.autoSignInInitiated=!0;var de=new Ve({Username:g,Password:I,ValidationData:w,ClientMetadata:N});U.userConfirmed?this.signInAfterUserConfirmed(de):"link"===this._config.signUpVerificationMethod?this.handleLinkAutoSignIn(de):this.handleCodeAutoSignIn(de)},A.prototype.handleCodeAutoSignIn=function(g){var I=this,w=function(N){"confirmSignUp"===N.payload.event&&I.signInAfterUserConfirmed(g,w)};Gt.Y.listen("auth",w)},A.prototype.handleLinkAutoSignIn=function(g){var I=this;this._storage.setItem("amplify-polling-started","true");var w=Date.now(),N=setInterval(function(){Date.now()-w>18e4?(clearInterval(N),z("autoSignIn_failure",null,"Please confirm your account and use your credentials to sign in."),I._storage.removeItem("amplify-auto-sign-in")):I.signInAfterUserConfirmed(g,null,N)},5e3)},A.prototype.signInAfterUserConfirmed=function(g,I,w){return D(this,void 0,void 0,function(){var N,U,de=this;return W(this,function(Ne){switch(Ne.label){case 0:N=this.createCognitoUser(g.getUsername()),Ne.label=1;case 1:return Ne.trys.push([1,3,,4]),[4,N.authenticateUser(g,this.authCallbacks(N,function(ze){z("autoSignIn",ze,g.getUsername()+" has signed in successfully"),I&&Gt.Y.remove("auth",I),w&&(clearInterval(w),de._storage.removeItem("amplify-polling-started")),de._storage.removeItem("amplify-auto-sign-in")},function(ze){qt.error(ze),de._storage.removeItem("amplify-auto-sign-in")}))];case 2:return Ne.sent(),[3,4];case 3:return U=Ne.sent(),qt.error(U),[3,4];case 4:return[2]}})})},A.prototype.confirmSignUp=function(g,I,w){var N=this;if(!this.userPool)return this.rejectNoUserPool();if(!g)return this.rejectAuthError(me.EmptyUsername);if(!I)return this.rejectAuthError(me.EmptyCode);var Ne,U=this.createCognitoUser(g),de=!w||"boolean"!=typeof w.forceAliasCreation||w.forceAliasCreation;return w&&w.clientMetadata?Ne=w.clientMetadata:this._config.clientMetadata&&(Ne=this._config.clientMetadata),new Promise(function(ze,Ke){U.confirmRegistration(I,de,function(ct,kt){ct?Ke(ct):(z("confirmSignUp",kt,g+" has been confirmed successfully"),N.isTrueStorageValue("amplify-auto-sign-in")&&!N.autoSignInInitiated&&(z("autoSignIn_failure",null,me.AutoSignInError),N._storage.removeItem("amplify-auto-sign-in")),ze(kt))},Ne)})},A.prototype.isTrueStorageValue=function(g){var I=this._storage.getItem(g);return!!I&&"true"===I},A.prototype.resendSignUp=function(g,I){if(void 0===I&&(I=this._config.clientMetadata),!this.userPool)return this.rejectNoUserPool();if(!g)return this.rejectAuthError(me.EmptyUsername);var w=this.createCognitoUser(g);return new Promise(function(N,U){w.resendConfirmationCode(function(de,Ne){de?U(de):N(Ne)},I)})},A.prototype.signIn=function(g,I,w){if(void 0===w&&(w=this._config.clientMetadata),!this.userPool)return this.rejectNoUserPool();var N=null,U=null,de={};if("string"==typeof g)N=g,U=I;else{if(!function _t(A){return!!A.username}(g))return this.rejectAuthError(me.InvalidUsername);typeof I<"u"&&qt.warn("The password should be defined under the first parameter object!"),N=g.username,U=g.password,de=g.validationData}if(!N)return this.rejectAuthError(me.EmptyUsername);var Ne=new Ve({Username:N,Password:U,ValidationData:de,ClientMetadata:w});return U?this.signInWithPassword(Ne):this.signInWithoutPassword(Ne)},A.prototype.authCallbacks=function(g,I,w){var N=this,U=this;return{onSuccess:function(de){return D(N,void 0,void 0,function(){var Ne,ze,Ke,ct;return W(this,function(kt){switch(kt.label){case 0:qt.debug(de),delete g.challengeName,delete g.challengeParam,kt.label=1;case 1:return kt.trys.push([1,4,5,9]),[4,this.Credentials.clear()];case 2:return kt.sent(),[4,this.Credentials.set(de,"session")];case 3:return Ne=kt.sent(),qt.debug("succeed to get cognito credentials",Ne),[3,9];case 4:return ze=kt.sent(),qt.debug("cannot get cognito credentials",ze),[3,9];case 5:return kt.trys.push([5,7,,8]),[4,this.currentUserPoolUser()];case 6:return Ke=kt.sent(),U.user=Ke,z("signIn",Ke,"A user "+g.getUsername()+" has been signed in"),I(Ke),[3,8];case 7:return ct=kt.sent(),qt.error("Failed to get the signed in user",ct),w(ct),[3,8];
1case 8:return[7];case 9:return[2]}})})},onFailure:function(de){qt.debug("signIn failure",de),z("signIn_failure",de,g.getUsername()+" failed to signin"),w(de)},customChallenge:function(de){qt.debug("signIn custom challenge answer required"),g.challengeName="CUSTOM_CHALLENGE",g.challengeParam=de,I(g)},mfaRequired:function(de,Ne){qt.debug("signIn MFA required"),g.challengeName=de,g.challengeParam=Ne,I(g)},mfaSetup:function(de,Ne){qt.debug("signIn mfa setup",de),g.challengeName=de,g.challengeParam=Ne,I(g)},newPasswordRequired:function(de,Ne){qt.debug("signIn new password"),g.challengeName="NEW_PASSWORD_REQUIRED",g.challengeParam={userAttributes:de,requiredAttributes:Ne},I(g)},totpRequired:function(de,Ne){qt.debug("signIn totpRequired"),g.challengeName=de,g.challengeParam=Ne,I(g)},selectMFAType:function(de,Ne){qt.debug("signIn selectMFAType",de),g.challengeName=de,g.challengeParam=Ne,I(g)}}},A.prototype.signInWithPassword=function(g){var I=this;if(this.pendingSignIn)throw new Error("Pending sign-in attempt already in progress");var w=this.createCognitoUser(g.getUsername());return this.pendingSignIn=new Promise(function(N,U){w.authenticateUser(g,I.authCallbacks(w,function(de){I.pendingSignIn=null,N(de)},function(de){I.pendingSignIn=null,U(de)}))}),this.pendingSignIn},A.prototype.signInWithoutPassword=function(g){var I=this,w=this.createCognitoUser(g.getUsername());return w.setAuthenticationFlowType("CUSTOM_AUTH"),new Promise(function(N,U){w.initiateAuth(g,I.authCallbacks(w,N,U))})},A.prototype.getMFAOptions=function(g){return new Promise(function(I,w){g.getMFAOptions(function(N,U){if(N)return qt.debug("get MFA Options failed",N),void w(N);qt.debug("get MFA options success",U),I(U)})})},A.prototype.getPreferredMFA=function(g,I){var w=this,N=this;return new Promise(function(U,de){g.getUserData(function(Ke,ct){return D(w,void 0,void 0,function(){var kt,At;return W(this,function(Zt){switch(Zt.label){case 0:if(!Ke)return[3,5];if(qt.debug("getting preferred mfa failed",Ke),!this.isSessionInvalid(Ke))return[3,4];Zt.label=1;case 1:return Zt.trys.push([1,3,,4]),[4,this.cleanUpInvalidSession(g)];case 2:return Zt.sent(),[3,4];case 3:return kt=Zt.sent(),de(new Error("Session is invalid due to: "+Ke.message+" and failed to clean up invalid session: "+kt.message)),[2];case 4:return de(Ke),[2];case 5:return(At=N._getMfaTypeFromUserData(ct))?(U(At),[2]):(de("invalid MFA Type"),[2])}})})},{bypassCache:!!I&&I.bypassCache,clientMetadata:w._config.clientMetadata})})},A.prototype._getMfaTypeFromUserData=function(g){var I=null,w=g.PreferredMfaSetting;if(w)I=w;else{var N=g.UserMFASettingList;N?0===N.length?I="NOMFA":qt.debug("invalid case for getPreferredMFA",g):I=g.MFAOptions?"SMS_MFA":"NOMFA"}return I},A.prototype._getUserData=function(g,I){var w=this;return new Promise(function(N,U){g.getUserData(function(de,Ne){return D(w,void 0,void 0,function(){var ze;return W(this,function(Ke){switch(Ke.label){case 0:if(!de)return[3,5];if(qt.debug("getting user data failed",de),!this.isSessionInvalid(de))return[3,4];Ke.label=1;case 1:return Ke.trys.push([1,3,,4]),[4,this.cleanUpInvalidSession(g)];case 2:return Ke.sent(),[3,4];case 3:return ze=Ke.sent(),U(new Error("Session is invalid due to: "+de.message+" and failed to clean up invalid session: "+ze.message)),[2];case 4:return U(de),[2];case 5:N(Ne),Ke.label=6;case 6:return[2]}})})},I)})},A.prototype.setPreferredMFA=function(g,I){return D(this,void 0,void 0,function(){var w,N,U,de,ze,Ke,kt=this;return W(this,function(At){switch(At.label){case 0:return[4,this._getUserData(g,{bypassCache:!0,clientMetadata:w=this._config.clientMetadata})];case 1:switch(N=At.sent(),U=null,de=null,I){case"TOTP":case"SOFTWARE_TOKEN_MFA":return[3,2];case"SMS":case"SMS_MFA":return[3,3];case"NOMFA":return[3,4]}return[3,6];case 2:return de={PreferredMfa:!0,Enabled:!0},[3,7];case 3:return U={PreferredMfa:!0,Enabled:!0},[3,7];case 4:return ze=N.UserMFASettingList,[4,this._getMfaTypeFromUserData(N)];case 5:if("NOMFA"===(Ke=At.sent()))return[2,Promise.resolve("No change for mfa type")];if("SMS_MFA"===Ke)U={PreferredMfa:!1,Enabled:!1};else{if("SOFTWARE_TOKEN_MFA"!==Ke)return[2,this.rejectAuthError(me.InvalidMFA)
1];de={PreferredMfa:!1,Enabled:!1}}return ze&&0!==ze.length&&ze.forEach(function(Zt){"SMS_MFA"===Zt?U={PreferredMfa:!1,Enabled:!1}:"SOFTWARE_TOKEN_MFA"===Zt&&(de={PreferredMfa:!1,Enabled:!1})}),[3,7];case 6:return qt.debug("no validmfa method provided"),[2,this.rejectAuthError(me.NoMFA)];case 7:return[2,new Promise(function(Zt,cn){g.setUserMfaPreference(U,de,function(Dn,qn){if(Dn)return qt.debug("Set user mfa preference error",Dn),cn(Dn);qt.debug("Set user mfa success",qn),qt.debug("Caching the latest user data into local"),g.getUserData(function(Vn,ar){return D(kt,void 0,void 0,function(){var Pr;return W(this,function(Yr){switch(Yr.label){case 0:if(!Vn)return[3,5];if(qt.debug("getting user data failed",Vn),!this.isSessionInvalid(Vn))return[3,4];Yr.label=1;case 1:return Yr.trys.push([1,3,,4]),[4,this.cleanUpInvalidSession(g)];case 2:return Yr.sent(),[3,4];case 3:return Pr=Yr.sent(),cn(new Error("Session is invalid due to: "+Vn.message+" and failed to clean up invalid session: "+Pr.message)),[2];case 4:return[2,cn(Vn)];case 5:return[2,Zt(qn)]}})})},{bypassCache:!0,clientMetadata:w})})})]}})})},A.prototype.disableSMS=function(g){return new Promise(function(I,w){g.disableMFA(function(N,U){if(N)return qt.debug("disable mfa failed",N),void w(N);qt.debug("disable mfa succeed",U),I(U)})})},A.prototype.enableSMS=function(g){return new Promise(function(I,w){g.enableMFA(function(N,U){if(N)return qt.debug("enable mfa failed",N),void w(N);qt.debug("enable mfa succeed",U),I(U)})})},A.prototype.setupTOTP=function(g){return new Promise(function(I,w){g.associateSoftwareToken({onFailure:function(N){qt.debug("associateSoftwareToken failed",N),w(N)},associateSecretCode:function(N){qt.debug("associateSoftwareToken success",N),I(N)}})})},A.prototype.verifyTotpToken=function(g,I){var w;qt.debug("verification totp token",g,I),g&&"function"==typeof g.getSignInUserSession&&(w=g.getSignInUserSession());var N=w?.isValid();return new Promise(function(U,de){g.verifySoftwareToken(I,"My TOTP device",{onFailure:function(Ne){qt.debug("verifyTotpToken failed",Ne),de(Ne)},onSuccess:function(Ne){N||z("signIn",g,"A user "+g.getUsername()+" has been signed in"),z("verify",g,"A user "+g.getUsername()+" has been verified"),qt.debug("verifyTotpToken success",Ne),U(Ne)}})})},A.prototype.confirmSignIn=function(g,I,w,N){var U=this;if(void 0===N&&(N=this._config.clientMetadata),!I)return this.rejectAuthError(me.EmptyCode);var de=this;return new Promise(function(Ne,ze){g.sendMFACode(I,{onSuccess:function(Ke){return D(U,void 0,void 0,function(){var ct,kt,At,Zt;return W(this,function(cn){switch(cn.label){case 0:qt.debug(Ke),cn.label=1;case 1:return cn.trys.push([1,4,5,10]),[4,this.Credentials.clear()];case 2:return cn.sent(),[4,this.Credentials.set(Ke,"session")];case 3:return ct=cn.sent(),qt.debug("succeed to get cognito credentials",ct),[3,10];case 4:return kt=cn.sent(),qt.debug("cannot get cognito credentials",kt),[3,10];case 5:de.user=g,cn.label=6;case 6:return cn.trys.push([6,8,,9]),[4,this.currentUserPoolUser()];case 7:return At=cn.sent(),g.attributes=At.attributes,[3,9];case 8:return Zt=cn.sent(),qt.debug("cannot get updated Cognito User",Zt),[3,9];case 9:return z("signIn",g,"A user "+g.getUsername()+" has been signed in"),Ne(g),[7];case 10:return[2]}})})},onFailure:function(Ke){qt.debug("confirm signIn failure",Ke),ze(Ke)}},w,N)})},A.prototype.completeNewPassword=function(g,I,w,N){var U=this;if(void 0===w&&(w={}),void 0===N&&(N=this._config.clientMetadata),!I)return this.rejectAuthError(me.EmptyPassword);var de=this;return new Promise(function(Ne,ze){g.completeNewPasswordChallenge(I,w,{onSuccess:function(Ke){return D(U,void 0,void 0,function(){var ct,kt;return W(this,function(At){switch(At.label){case 0:qt.debug(Ke),At.label=1;case 1:return At.trys.push([1,4,5,6]),[4,this.Credentials.clear()];case 2:return At.sent(),[4,this.Credentials.set(Ke,"session")];case 3:return ct=At.sent(),qt.debug("succeed to get cognito credentials",ct),[3,6];case 4:return kt=At.sent(),qt.debug("cannot get cognito credentials",kt),[3,6];case 5:return de.user=g,z("signIn",g,"A user "+g.getUsername()+" has been signed in"),Ne(g),[7];case 6:return[2]}})})},onFailure:function(Ke){qt.debug("completeNewPassword failure",Ke),z("completeNewPassword_failure",Ke,U.user+" failed to complete the new password flow"),ze(Ke)},mfaRequired:function(Ke,ct){qt.debug("signIn MFA required"),g.challengeName=Ke,g.challengeParam=ct,Ne(g)},mfaSetup:function(Ke,ct){qt.debug("signIn mfa setup",Ke),g.challengeName=Ke,g.challengeParam=ct,Ne(g)},totpRequired:function(Ke,ct){qt.debug("signIn mfa setup",Ke),g.challengeName=Ke,g.challengeParam=ct,Ne(g)}},N)})},A.prototype.sendCustomChallengeAnswer=function(g,I,w){var N=this;return void 0===w&&(w=this._config.clientMetadata),this.userPool?I?new Promise(function(de,Ne){g.sendCustomChallengeAnswer(I,N.authCallbacks(g,de,Ne),w)}
1):this.rejectAuthError(me.EmptyChallengeResponse):this.rejectNoUserPool()},A.prototype.deleteUserAttributes=function(g,I){var w=this;return new Promise(function(N,U){w.userSession(g).then(function(de){g.deleteAttributes(I,function(Ne,ze){return Ne?U(Ne):N(ze)})})})},A.prototype.deleteUser=function(){return D(this,void 0,void 0,function(){var g,I,w=this;return W(this,function(N){switch(N.label){case 0:return N.trys.push([0,2,,3]),[4,this._storageSync];case 1:return N.sent(),[3,3];case 2:throw g=N.sent(),qt.debug("Failed to sync cache info into memory",g),new Error(g);case 3:return I=this._oAuthHandler&&"true"===this._storage.getItem("amplify-signin-with-hostedUI"),[2,new Promise(function(U,de){return D(w,void 0,void 0,function(){var Ne,ze=this;return W(this,function(Ke){if(this.userPool){if(!(Ne=this.userPool.getCurrentUser()))return qt.debug("Failed to get user from user pool"),[2,de(new Error("No current user."))];Ne.getSession(function(ct,kt){return D(ze,void 0,void 0,function(){var At,Zt=this;return W(this,function(cn){switch(cn.label){case 0:if(!ct)return[3,5];if(qt.debug("Failed to get the user session",ct),!this.isSessionInvalid(ct))return[3,4];cn.label=1;case 1:return cn.trys.push([1,3,,4]),[4,this.cleanUpInvalidSession(Ne)];case 2:return cn.sent(),[3,4];case 3:return At=cn.sent(),de(new Error("Session is invalid due to: "+ct.message+" and failed to clean up invalid session: "+At.message)),[2];case 4:return[2,de(ct)];case 5:Ne.deleteUser(function(Dn,qn){if(Dn)de(Dn);else{z("userDeleted",qn,"The authenticated user has been deleted."),Ne.signOut(),Zt.user=null;try{Zt.cleanCachedItems()}catch{qt.debug("failed to clear cached items")}I?Zt.oAuthSignOutRedirect(U,de):(z("signOut",Zt.user,"A user has been signed out"),U(qn))}}),cn.label=6;case 6:return[2]}})})})}else qt.debug("no Congito User pool"),de(new Error("Cognito User pool does not exist"));return[2]})})})]}})})},A.prototype.updateUserAttributes=function(g,I,w){var N=this;void 0===w&&(w=this._config.clientMetadata);var U=[],de=this;return new Promise(function(Ne,ze){de.userSession(g).then(function(Ke){for(var ct in I)"sub"!==ct&&ct.indexOf("_verified")<0&&U.push({Name:ct,Value:I[ct]});g.updateAttributes(U,function(At,Zt,cn){if(At)return z("updateUserAttributes_failure",At,"Failed to update attributes"),ze(At);var Dn=N.createUpdateAttributesResultList(I,cn?.CodeDeliveryDetailsList);return z("updateUserAttributes",Dn,"Attributes successfully updated"),Ne(Zt)},w)})})},A.prototype.createUpdateAttributesResultList=function(g,I){var w={};return Object.keys(g).forEach(function(N){w[N]={isUpdated:!0};var U=I?.find(function(de){return de.AttributeName===N});U&&(w[N].isUpdated=!1,w[N].codeDeliveryDetails=U)}),w},A.prototype.userAttributes=function(g){var I=this;return new Promise(function(w,N){I.userSession(g).then(function(U){g.getUserAttributes(function(de,Ne){de?N(de):w(Ne)})})})},A.prototype.verifiedContact=function(g){var I=this;return this.userAttributes(g).then(function(w){var N=I.attributesToObject(w),U={},de={};return N.email&&(N.email_verified?de.email=N.email:U.email=N.email),N.phone_number&&(N.phone_number_verified?de.phone_number=N.phone_number:U.phone_number=N.phone_number),{verified:de,unverified:U}})},A.prototype.isErrorWithMessage=function(g){return"object"==typeof g&&Object.prototype.hasOwnProperty.call(g,"message")},A.prototype.isTokenRevokedError=function(g){return this.isErrorWithMessage(g)&&"Access Token has been revoked"===g.message},A.prototype.isRefreshTokenRevokedError=function(g){return this.isErrorWithMessage(g)&&"Refresh Token has been revoked"===g.message},A.prototype.isUserDisabledError=function(g){return this.isErrorWithMessage(g)&&"User is disabled."===g.message},A.prototype.isUserDoesNotExistError=function(g){return this.isErrorWithMessage(g)&&"User does not exist."===g.message},A.prototype.isRefreshTokenExpiredError=function(g){return this.isErrorWithMessage(g)&&"Refresh Token has expired"===g.message},A.prototype.isPasswordResetRequiredError=function(g){return this.isErrorWithMessage(g)&&"Password reset required for the user"===g.message},A.prototype.isSignedInHostedUI=function(){return this._oAuthHandler&&"true"===this._storage.getItem("amplify-signin-with-hostedUI")},A.prototype.isSessionInvalid=function(g){return this.isUserDisabledError(g)||this.isUserDoesNotExistError(g)||this.isTokenRevokedError(g)||this.isRefreshTokenRevokedError(g)||this.isRefreshTokenExpiredError(g)||this.isPasswordResetRequiredError(g)},A.prototype.cleanUpInvalidSession=function(g){return D(this,void 0,void 0,function(){var w=this;return W(this,function(N){switch(N.label){case 0:g.signOut(),this.user=null,N.label=1;case 1:return N.trys.push([1,3,,4]),[4,this.cleanCachedItems()];case 2:return N.sent(),[3,4];case 3:return N.sent(),qt.debug("failed to clear cached items"),[3,4];case 4:return this.isSignedInHostedUI()?[2,new Promise(function(U,de){w.oAuthSignOutRedirect(U,de)})]:(z("signOut",this.user,"A user has been signed out"),[2])}})})},A.prototype.currentUserPoolUser=function(g){var I=this;return this.userPool?new Promise(function(w,N){I._storageSync.then(function(){return D(I,void 0,void 0,function(){var U,de,Ne,ze,Ke,kt,At=this;return W(this,function(Zt){switch(Zt.label){case 0:return this.isOAuthInProgress()?(qt.debug("OAuth signIn in progress, waiting for resolution..."),[4,new Promise(function(cn){var Dn=setTimeout(function(){qt.debug("OAuth signIn in progress timeout"),Gt.Y.remove("auth",qn),cn()},1e4);function qn(Vn){var Pr=Vn.payload.event;("cognitoHostedUI"===Pr||"cognitoHostedUI_failure"===Pr)&&(qt.debug("OAuth signIn resolved: "+Pr),clearTimeout(Dn),Gt.Y.remove("auth",qn),cn())}Gt.Y.listen("auth",qn)})]):[3,2];case 1:Zt.sent(),Zt.label=2;case 2:if(!(U=this.userPool.getCurrentUser()))return qt.debug("Failed to get user from user pool"),N("No current user"),[2];Zt.label=3;case 3:return Zt.trys.push([3,7,,8]),[4,this._userSession(U)];case 4:return de=Zt.sent(),(Ne=!!g&&g.bypassCache)?[4,this.Credentials.clear()]:[3,6];case 5:Zt.sent(),Zt.label=6;case 6:return ze=this._config.clientMetadata,(void 0===(Ke=de.getAccessToken().decodePayload().scope)?""
1:Ke).split(" ").includes(Ji)?(U.getUserData(function(cn,Dn){return D(At,void 0,void 0,function(){var qn,Vn,ar,Pr,ci,Wn;return W(this,function(vr){switch(vr.label){case 0:if(!cn)return[3,7];if(qt.debug("getting user data failed",cn),!this.isSessionInvalid(cn))return[3,5];vr.label=1;case 1:return vr.trys.push([1,3,,4]),[4,this.cleanUpInvalidSession(U)];case 2:return vr.sent(),[3,4];case 3:return qn=vr.sent(),N(new Error("Session is invalid due to: "+cn.message+" and failed to clean up invalid session: "+qn.message)),[2];case 4:return N(cn),[3,6];case 5:w(U),vr.label=6;case 6:return[2];case 7:for(Vn=Dn.PreferredMfaSetting||"NOMFA",ar=[],Pr=0;Pr<Dn.UserAttributes.length;Pr++)ci=new J({Name:Dn.UserAttributes[Pr].Name,Value:Dn.UserAttributes[Pr].Value}),ar.push(ci);return Wn=this.attributesToObject(ar),Object.assign(U,{attributes:Wn,preferredMFA:Vn}),[2,w(U)]}})})},{bypassCache:Ne,clientMetadata:ze}),[3,8]):(qt.debug("Unable to get the user data because the "+Ji+" is not in the scopes of the access token"),[2,w(U)]);case 7:return kt=Zt.sent(),N(kt),[3,8];case 8:return[2]}})})}).catch(function(U){return qt.debug("Failed to sync cache info into memory",U),N(U)})}):this.rejectNoUserPool()},A.prototype.isOAuthInProgress=function(){return this.oAuthFlowInProgress},A.prototype.currentAuthenticatedUser=function(g){return D(this,void 0,void 0,function(){var I,w,N,U,de;return W(this,function(Ne){switch(Ne.label){case 0:qt.debug("getting current authenticated user"),I=null,Ne.label=1;case 1:return Ne.trys.push([1,3,,4]),[4,this._storageSync];case 2:return Ne.sent(),[3,4];case 3:throw w=Ne.sent(),qt.debug("Failed to sync cache info into memory",w),w;case 4:try{(N=JSON.parse(this._storage.getItem("aws-amplify-federatedInfo")))&&(I=G(G({},N.user),{token:N.token}))}catch{qt.debug("cannot load federated user from auth storage")}return I?(this.user=I,qt.debug("get current authenticated federated user",this.user),[2,this.user]):[3,5];case 5:qt.debug("get current authenticated userpool user"),U=null,Ne.label=6;case 6:return Ne.trys.push([6,8,,9]),[4,this.currentUserPoolUser(g)];case 7:return U=Ne.sent(),[3,9];case 8:return"No userPool"===(de=Ne.sent())&&qt.error("Cannot get the current user because the user pool is missing. Please make sure the Auth module is configured with a valid Cognito User Pool ID"),qt.debug("The user is not authenticated by the error",de),[2,Promise.reject("The user is not authenticated")];case 9:return this.user=U,[2,this.user]}})})},A.prototype.currentSession=function(){var g=this;return qt.debug("Getting current session"),this.userPool?new Promise(function(I,w){g.currentUserPoolUser().then(function(N){g.userSession(N).then(function(U){I(U)}).catch(function(U){qt.debug("Failed to get the current session",U),w(U)})}).catch(function(N){qt.debug("Failed to get the current user",N),w(N)})}):Promise.reject(new Error("No User Pool in the configuration."))},A.prototype._userSession=function(g){return D(this,void 0,void 0,function(){var I,w,N=this;return W(this,function(U){switch(U.label){case 0:if(!g)return qt.debug("the user is null"),[2,this.rejectAuthError(me.NoUserSession)];I=this._config.clientMetadata,0===this.inflightSessionPromiseCounter&&(this.inflightSessionPromise=new Promise(function(de,Ne){g.getSession(function(ze,Ke){return D(N,void 0,void 0,function(){var ct;return W(this,function(kt){switch(kt.label){case 0:if(!ze)return[3,5];if(qt.debug("Failed to get the session from user",g),!this.isSessionInvalid(ze))return[3,4];kt.label=1;case 1:return kt.trys.push([1,3,,4]),[4,this.cleanUpInvalidSession(g)];case 2:return kt.sent(),[3,4];case 3:return ct=kt.sent(),Ne(new Error("Session is invalid due to: "+ze.message+" and failed to clean up invalid session: "+ct.message)),[2];case 4:return Ne(ze),[2];case 5:return qt.debug("Succeed to get the user session",Ke),de(Ke),[2]}})})},{clientMetadata:I})})),this.inflightSessionPromiseCounter++,U.label=1;case 1:return U.trys.push([1,,3,4]),[4,this.inflightSessionPromise];case 2:return w=U.sent(),g.signInUserSession=w,[2,w];case 3:return this.inflightSessionPromiseCounter--,[7];case 4:return[2]}})})},A.prototype.userSession=function(g){return this._userSession(g)},A.prototype.currentUserCredentials=function(){return D(this,void 0,void 0,function(){var g,I,w=this;return W(this,function(N){switch(N.label){case 0:qt.debug("Getting current user credentials"),N.label=1;case 1:return N.trys.push([1,3,,4]),[4,this._storageSync];case 2:return N.sent(),[3,4];case 3:throw g=N.sent(),qt.debug("Failed to sync cache info into memory",g),g;case 4:I=null;try{I=JSON.parse(this._storage.getItem("aws-amplify-federatedInfo"))}catch(U){qt.debug("failed to get or parse item aws-amplify-federatedInfo",U)}return I?[2,this.Credentials.refreshFederatedToken(I)]:[2,this.currentSession().then(function(U){return qt.debug("getting session success",U),w.Credentials.set(U,"session")}
1).catch(function(){return qt.debug("getting guest credentials"),w.Credentials.set(null,"guest")})]}})})},A.prototype.currentCredentials=function(){return qt.debug("getting current credentials"),this.Credentials.get()},A.prototype.verifyUserAttribute=function(g,I,w){return void 0===w&&(w=this._config.clientMetadata),new Promise(function(N,U){g.getAttributeVerificationCode(I,{onSuccess:function(de){return N(de)},onFailure:function(de){return U(de)}},w)})},A.prototype.verifyUserAttributeSubmit=function(g,I,w){return w?new Promise(function(N,U){g.verifyAttribute(I,w,{onSuccess:function(de){N(de)},onFailure:function(de){U(de)}})}):this.rejectAuthError(me.EmptyCode)},A.prototype.verifyCurrentUserAttribute=function(g){var I=this;return I.currentUserPoolUser().then(function(w){return I.verifyUserAttribute(w,g)})},A.prototype.verifyCurrentUserAttributeSubmit=function(g,I){var w=this;return w.currentUserPoolUser().then(function(N){return w.verifyUserAttributeSubmit(N,g,I)})},A.prototype.cognitoIdentitySignOut=function(g,I){return D(this,void 0,void 0,function(){var w,N,U=this;return W(this,function(de){switch(de.label){case 0:return de.trys.push([0,2,,3]),[4,this._storageSync];case 1:return de.sent(),[3,3];case 2:throw w=de.sent(),qt.debug("Failed to sync cache info into memory",w),w;case 3:return N=this._oAuthHandler&&"true"===this._storage.getItem("amplify-signin-with-hostedUI"),[2,new Promise(function(Ne,ze){g&&g.global?(qt.debug("user global sign out",I),I.getSession(function(ct,kt){return D(U,void 0,void 0,function(){var At,Zt=this;return W(this,function(cn){switch(cn.label){case 0:if(!ct)return[3,5];if(qt.debug("failed to get the user session",ct),!this.isSessionInvalid(ct))return[3,4];cn.label=1;case 1:return cn.trys.push([1,3,,4]),[4,this.cleanUpInvalidSession(I)];case 2:return cn.sent(),[3,4];case 3:return At=cn.sent(),ze(new Error("Session is invalid due to: "+ct.message+" and failed to clean up invalid session: "+At.message)),[2];case 4:return[2,ze(ct)];case 5:return I.globalSignOut({onSuccess:function(Dn){if(qt.debug("global sign out success"),!N)return Ne();Zt.oAuthSignOutRedirect(Ne,ze)},onFailure:function(Dn){return qt.debug("global sign out failed",Dn),ze(Dn)}}),[2]}})})},{clientMetadata:U._config.clientMetadata})):(qt.debug("user sign out",I),I.signOut(function(){if(!N)return Ne();U.oAuthSignOutRedirect(Ne,ze)}))})]}})})},A.prototype.oAuthSignOutRedirect=function(g,I){(0,Pt.gy)().isBrowser?this.oAuthSignOutRedirectOrReject(I):this.oAuthSignOutAndResolve(g)},A.prototype.oAuthSignOutAndResolve=function(g){this._oAuthHandler.signOut(),g()},A.prototype.oAuthSignOutRedirectOrReject=function(g){this._oAuthHandler.signOut(),setTimeout(function(){return g(Error("Signout timeout fail"))},3e3)},A.prototype.signOut=function(g){return void 0===g&&(g={}),D(this,void 0,void 0,function(){var w,N;return W(this,function(U){switch(U.label){case 0:return U.trys.push([0,2,,3]),[4,this.cleanCachedItems()];case 1:return U.sent(),[3,3];case 2:return U.sent(),qt.debug("failed to clear cached items"),[3,3];case 3:if(!this.userPool)return[3,11];U.label=4;case 4:return U.trys.push([4,6,,7]),[4,this._storageSync];case 5:return U.sent(),[3,7];case 6:throw w=U.sent(),qt.debug("Failed to sync cache info into memory",w),w;case 7:return(N=this.userPool.getCurrentUser())?[4,this.cognitoIdentitySignOut(g,N)]:[3,9];case 8:return U.sent(),[3,10];case 9:qt.debug("no current Cognito user"),U.label=10;case 10:return[3,12];case 11:qt.debug("no Cognito User pool"),U.label=12;case 12:return z("signOut",this.user,"A user has been signed out"),this.user=null,[2]}})})},A.prototype.cleanCachedItems=function(){return D(this,void 0,void 0,function(){return W(this,function(g){switch(g.label){case 0:return[4,this.Credentials.clear()];case 1:return g.sent(),[2]}})})},A.prototype.changePassword=function(g,I,w,N){var U=this;return void 0===N&&(N=this._config.clientMetadata),new Promise(function(de,Ne){U.userSession(g).then(function(ze){g.changePassword(I,w,function(Ke,ct){return Ke?(qt.debug("change password failure",Ke),Ne(Ke)):de(ct)},N)})})},A.prototype.forgotPassword=function(g,I){if(void 0===I&&(I=this._config.clientMetadata),!this.userPool)return this.rejectNoUserPool();if(!g)return this.rejectAuthError(me.EmptyUsername);var w=this.createCognitoUser(g);return new Promise(function(N,U){w.forgotPassword({onSuccess:function(){N()},onFailure:function(de){qt.debug("forgot password failure",de),z("forgotPassword_failure",de,g+" forgotPassword failed"),U(de)},inputVerificationCode:function(de){z("forgotPassword",w,g+" has initiated forgot password flow"),N(de)}},I)})}
1,A.prototype.forgotPasswordSubmit=function(g,I,w,N){if(void 0===N&&(N=this._config.clientMetadata),!this.userPool)return this.rejectNoUserPool();if(!g)return this.rejectAuthError(me.EmptyUsername);if(!I)return this.rejectAuthError(me.EmptyCode);if(!w)return this.rejectAuthError(me.EmptyPassword);var U=this.createCognitoUser(g);return new Promise(function(de,Ne){U.confirmPassword(I,w,{onSuccess:function(ze){z("forgotPasswordSubmit",U,g+" forgotPasswordSubmit successful"),de(ze)},onFailure:function(ze){z("forgotPasswordSubmit_failure",ze,g+" forgotPasswordSubmit failed"),Ne(ze)}},N)})},A.prototype.currentUserInfo=function(){return D(this,void 0,void 0,function(){var g,I,w,N,U,Ne,ze;return W(this,function(Ke){switch(Ke.label){case 0:return(g=this.Credentials.getCredSource())&&"aws"!==g&&"userPool"!==g?[3,9]:[4,this.currentUserPoolUser().catch(function(ct){return qt.error(ct)})];case 1:if(!(ze=Ke.sent()))return[2,null];Ke.label=2;case 2:return Ke.trys.push([2,8,,9]),[4,this.userAttributes(ze)];case 3:I=Ke.sent(),w=this.attributesToObject(I),N=null,Ke.label=4;case 4:return Ke.trys.push([4,6,,7]),[4,this.currentCredentials()];case 5:return N=Ke.sent(),[3,7];case 6:return U=Ke.sent(),qt.debug("Failed to retrieve credentials while getting current user info",U),[3,7];case 7:return[2,{id:N?N.identityId:void 0,username:ze.getUsername(),attributes:w}];case 8:return Ne=Ke.sent(),qt.error("currentUserInfo error",Ne),[2,{}];case 9:return"federated"===g?[2,(ze=this.user)||{}]:[2]}})})},A.prototype.federatedSignIn=function(g,I,w){return D(this,void 0,void 0,function(){var N,U,de,Ne,ze,Ke,Zt,cn;return W(this,function(Dn){switch(Dn.label){case 0:if(!this._config.identityPoolId&&!this._config.userPoolId)throw new Error("Federation requires either a User Pool or Identity Pool in config");if(typeof g>"u"&&this._config.identityPoolId&&!this._config.userPoolId)throw new Error("Federation with Identity Pools requires tokens passed as arguments");return ye(g)||function Me(A){return A&&!!["customProvider"].find(function(I){return A.hasOwnProperty(I)})}(g)||function Ie(A){return A&&!!["customState"].find(function(I){return A.hasOwnProperty(I)})}(g)||typeof g>"u"?(ze=ye(N=g||{provider:re.Cognito})?N.provider:N.customProvider,ye(N),U=N.customState,this._config.userPoolId&&(de=We(this._config.oauth)?this._config.userPoolWebClientId:this._config.oauth.clientID,Ne=We(this._config.oauth)?this._config.oauth.redirectSignIn:this._config.oauth.redirectUri,this._oAuthHandler.oauthSignIn(this._config.oauth.responseType,this._config.oauth.domain,Ne,de,ze,U)),[3,4]):[3,1];case 1:ze=g;try{(Ke=JSON.stringify(JSON.parse(this._storage.getItem("aws-amplify-federatedInfo")).user))&&qt.warn("There is already a signed in user: "+Ke+" in your app.\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tYou should not call Auth.federatedSignIn method again as it may cause unexpected behavior.")}catch{}return[4,this.Credentials.set({provider:ze,token:I.token,identity_id:I.identity_id,user:w,expires_at:I.expires_at},"federation")];case 2:return Zt=Dn.sent(),[4,this.currentAuthenticatedUser()];case 3:return cn=Dn.sent(),z("signIn",cn,"A user "+cn.username+" has been signed in"),qt.debug("federated sign in credentials",Zt),[2,Zt];case 4:return[2]}})})},A.prototype._handleAuthResponse=function(g){return D(this,void 0,void 0,function(){var I,w,N,U,de,ze,Ke,ct,kt,At,Zt,cn,Dn;return W(this,function(qn){switch(qn.label){case 0:if(this.oAuthFlowInProgress)return qt.debug("Skipping URL "+g+" current flow in progress"),[2];qn.label=1;case 1:if(qn.trys.push([1,,8,9]),this.oAuthFlowInProgress=!0,!this._config.userPoolId)throw new Error("OAuth responses require a User Pool defined in config");if(z("parsingCallbackUrl",{url:g},"The callback url is being parsed"),I=g||((0,Pt.gy)().isBrowser?window.location.href:""),w=!!((0,ei.qg)(I).query||"").split("&").map(function(Vn){return Vn.split("=")}).find(function(Vn){var Pr=oe(Vn,1)[0];return"code"===Pr||"error"===Pr}),N=!!((0,ei.qg)(I).hash||"#").substr(1).split("&").map(function(Vn){return Vn.split("=")}).find(function(Vn){var Pr=oe(Vn,1)[0];return"access_token"===Pr||"error"===Pr}),!w&&!N)return[3,7];this._storage.setItem("amplify-redirected-from-hosted-ui","true"),qn.label=2;case 2:return qn.trys.push([2,6,,7]),[4,this._oAuthHandler.handleAuthResponse(I)];case 3:return U=qn.sent(),de=U.accessToken,ze=U.refreshToken,Ke=U.state,ct=new lo({IdToken:new si({IdToken:U.idToken}),RefreshToken:new bi({RefreshToken:ze}),AccessToken:new xr({AccessToken:de})}),kt=void 0,this._config.identityPoolId?[4,this.Credentials.set(ct,"session")]:[3,5];case 4:kt=qn.sent(),qt.debug("AWS credentials",kt),qn.label=5;case 5:return At=/-/.test(Ke),(Zt=this.createCognitoUser(ct.getIdToken().decodePayload()["cognito:username"])).setSignInUserSession(ct),window&&typeof window.history<"u"&&window.history.replaceState(window.history.state,"",this._config.oauth.redirectSignIn),z("signIn",Zt,"A user "+Zt.getUsername()+" has been signed in"),z("cognitoHostedUI",Zt,"A user "+Zt.getUsername()+" has been signed in via Cognito Hosted UI"),At&&(cn=Ke.split("-").splice(1).join("-"),z("customOAuthState",function te(A){return A.match(/.{2}/g).map(function(g){return String.fromCharCode(parseInt(g,16))}).join("")}(cn),"State for user "+Zt.getUsername())),[2,kt];case 6:return Dn=qn.sent(),qt.debug("Error in cognito hosted auth response",Dn),window&&typeof window.history<"u"&&window.history.replaceState(window.history.state,"",this._config.oauth.redirectSignIn),z("signIn_failure",Dn,"The OAuth response flow failed"),z("cognitoHostedUI_failure",Dn,"A failure occurred when returning to the Cognito Hosted UI"),z("customState_failure",Dn,"A failure occurred when returning state"),[3,7];case 7:return[3,9];case 8:return this.oAuthFlowInProgress=!1,[7];case 9:return[2]}})})},A.prototype.essentialCredentials=function(g){return{accessKeyId:g.accessKeyId,sessionToken:g.sessionToken,secretAccessKey:g.secretAccessKey,identityId:g.identityId,authenticated:g.authenticated}},A.prototype.attributesToObject=function(g){var I=this,w={};return g&&g.map(function(N){w[N.Name]="email_verified"===N.Name||"phone_number_verified"===N.Name?I.isTruthyString(N.Value)||!0===N.Value:N.Value}),w},A.prototype.isTruthyString=function(g){return"function"==typeof g.toLowerCase&&"true"===g.toLowerCase()},A.prototype.createCognitoUser=function(g){var I={Username:g,Pool:this.userPool};I.Storage=this._storage;var w=this._config.authenticationFlowType,N=new Fn(I);return w&&N.setAuthenticationFlowType(w),N},A.prototype._isValidAuthStorage=function(g){return!!g&&"function"==typeof g.getItem&&"function"==typeof g.setItem&&"function"==typeof g.removeItem&&"function"==typeof g.clear},A.prototype.noUserPoolErrorHandler=function(g){return!g||g.userPoolId&&g.identityPoolId?me.NoConfig:me.MissingAuthConfig},A.prototype.rejectAuthError=function(g){return Promise.reject(new pi(g))},A.prototype.rejectNoUserPool=function(){var g=this.noUserPoolErrorHandler(this._config);return Promise.reject(new Xo(g))},A.prototype.rememberDevice=function(){return D(this,void 0,void 0,function(){var g,I;return W(this,function(w){switch(w.label){case 0:return w.trys.push([0,2,,3]),[4,this.currentUserPoolUser()];case 1:return g=w.sent(),[3,3];case 2:return I=w.sent(),qt.debug("The user is not authenticated by the error",I),[2,Promise.reject("The user is not authenticated")];case 3:return g.getCachedDeviceKeyAndPassword(),[2,new Promise(function(N,U){g.setDeviceStatusRemembered({onSuccess:function(de){N(de)},onFailure:function(de){U("InvalidParameterException"===de.code?new pi(me.DeviceConfig):"NetworkError"===de.code?new pi(me.NetworkError):de)}})})]}})})},A.prototype.forgetDevice=function(){return D(this,void 0,void 0,function(){var g,I;return W(this,function(w){switch(w.label){case 0:return w.trys.push([0,2,,3]),[4,this.currentUserPoolUser()];case 1:return g=w.sent(),[3,3];case 2:return I=w.sent(),qt.debug("The user is not authenticated by the error",I),[2,Promise.reject("The user is not authenticated")];case 3:return g.getCachedDeviceKeyAndPassword(),[2,new Promise(function(N,U){g.forgetDevice({onSuccess:function(de){N(de)},onFailure:function(de){U("InvalidParameterException"===de.code?new pi(me.DeviceConfig):"NetworkError"===de.code?new pi(me.NetworkError):de)}})})]}})})},A.prototype.fetchDevices=function(){return D(this,void 0,void 0,function(){var g,I;return W(this,function(w){switch(w.label){case 0:return w.trys.push([0,2,,3]),[4,this.currentUserPoolUser()];case 1:return g=w.sent(),[3,3];case 2:throw I=w.sent(),qt.debug("The user is not authenticated by the error",I),new Error("The user is not authenticated");case 3:return g.getCachedDeviceKeyAndPassword(),[2,new Promise(function(N,U){g.listDevices(60,null,{onSuccess:function(Ne){var ze=Ne.Devices.map(function(Ke){var ct=Ke.DeviceAttributes.find(function(At){return"device_name"===At.Name})||{};return{id:Ke.DeviceKey,name:ct.Value}});N(ze)}
1,onFailure:function(Ne){U("InvalidParameterException"===Ne.code?new pi(me.DeviceConfig):"NetworkError"===Ne.code?new pi(me.NetworkError):Ne)}})})]}})})},A}())(null);ne.H.register(Le)},291:(Qe,ge,v)=>{"use strict";v.d(ge,{H:()=>K});var c=v(6606),G=new c.C("Amplify"),K=new(function(){function P(){this._components=[],this._config={},this._modules={},this.Auth=null,this.Analytics=null,this.API=null,this.Credentials=null,this.Storage=null,this.I18n=null,this.Cache=null,this.PubSub=null,this.Interactions=null,this.Pushnotification=null,this.UI=null,this.XR=null,this.Predictions=null,this.DataStore=null,this.Geo=null,this.Notifications=null,this.Logger=c.C,this.ServiceWorker=null}return P.prototype.register=function(R){G.debug("component registered in amplify",R),this._components.push(R),"function"==typeof R.getModuleName?(this._modules[R.getModuleName()]=R,this[R.getModuleName()]=R):G.debug("no getModuleName method for component",R),R.configure(this._config)},P.prototype.configure=function(R){var D=this;return R?(this._config=Object.assign(this._config,R),G.debug("amplify config",this._config),Object.entries(this._modules).forEach(function(W){var $=function(P,R){var D="function"==typeof Symbol&&P[Symbol.iterator];if(!D)return P;var $,k,W=D.call(P),F=[];try{for(;(void 0===R||R-- >0)&&!($=W.next()).done;)F.push($.value)}catch(oe){k={error:oe}}finally{try{$&&!$.done&&(D=W.return)&&D.call(W)}finally{if(k)throw k.error}}return F}(W,2),k=$[1];Object.keys(k).forEach(function(oe){D._modules[oe]&&(k[oe]=D._modules[oe])})}),this._components.map(function(W){W.configure(D._config)}),this._config):this._config},P.prototype.addPluggable=function(R){R&&R.getCategory&&"function"==typeof R.getCategory&&this._components.map(function(D){D.addPluggable&&"function"==typeof D.addPluggable&&D.addPluggable(R)})},P}())},6622:(Qe,ge,v)=>{"use strict";v.d(ge,{J:()=>ji});var rt,c=v(6606),h=v(5925),G=v(4576),j=v(1250),R=new c.C("CognitoCredentials"),D=new Promise(function(rt,Ye){return(0,G.gy)().isBrowser?window.gapi&&window.gapi.auth2&&window.gapi.auth2?(R.debug("google api already loaded"),rt()):void setTimeout(function(){return rt()},2e3):(R.debug("not in the browser, directly resolved"),rt())}),W=function(){function rt(){this.initialized=!1,this.refreshGoogleToken=this.refreshGoogleToken.bind(this),this._refreshGoogleTokenImpl=this._refreshGoogleTokenImpl.bind(this)}return rt.prototype.refreshGoogleToken=function(){return function(rt,Ye,ce,Ze){return new(ce||(ce=Promise))(function(ee,it){function Ct(Z){try{se(Ze.next(Z))}catch(Ae){it(Ae)}}function tn(Z){try{se(Ze.throw(Z))}catch(Ae){it(Ae)}}function se(Z){Z.done?ee(Z.value):function He(ee){return ee instanceof ce?ee:new ce(function(it){it(ee)})}(Z.value).then(Ct,tn)}se((Ze=Ze.apply(rt,Ye||[])).next())})}(this,void 0,void 0,function(){return function(rt,Ye){var Ze,He,ee,it,ce={label:0,sent:function(){if(1&ee[0])throw ee[1];return ee[1]},trys:[],ops:[]};return it={next:Ct(0),throw:Ct(1),return:Ct(2)},"function"==typeof Symbol&&(it[Symbol.iterator]=function(){return this}),it;function Ct(se){return function(Z){return function tn(se){if(Ze)throw new TypeError("Generator is already executing.");for(;it&&(it=0,se[0]&&(ce=0)),ce;)try{if(Ze=1,He&&(ee=2&se[0]?He.return:se[0]?He.throw||((ee=He.return)&&ee.call(He),0):He.next)&&!(ee=ee.call(He,se[1])).done)return ee;switch(He=0,ee&&(se=[2&se[0],ee.value]),se[0]){case 0:case 1:ee=se;break;case 4:return ce.label++,{value:se[1],done:!1};case 5:ce.label++,He=se[1],se=[0];continue;case 7:se=ce.ops.pop(),ce.trys.pop();continue;default:if(!(ee=(ee=ce.trys).length>0&&ee[ee.length-1])&&(6===se[0]||2===se[0])){ce=0;continue}if(3===se[0]&&(!ee||se[1]>ee[0]&&se[1]<ee[3])){ce.label=se[1];break}if(6===se[0]&&ce.label<ee[1]){ce.label=ee[1],ee=se;break}if(ee&&ce.label<ee[2]){ce.label=ee[2],ce.ops.push(se);break}ee[2]&&ce.ops.pop(),ce.trys.pop();continue}
1se=Ye.call(rt,ce)}catch(Z){se=[6,Z],He=0}finally{Ze=ee=0}if(5&se[0])throw se[1];return{value:se[0]?se[1]:void 0,done:!0}}([se,Z])}}}(this,function(Ye){switch(Ye.label){case 0:return this.initialized?[3,2]:(R.debug("need to wait for the Google SDK loaded"),[4,D]);case 1:Ye.sent(),this.initialized=!0,R.debug("finish waiting"),Ye.label=2;case 2:return[2,this._refreshGoogleTokenImpl()]}})})},rt.prototype._refreshGoogleTokenImpl=function(){var Ye=null;return(0,G.gy)().isBrowser&&(Ye=window.gapi&&window.gapi.auth2?window.gapi.auth2:null),Ye?new Promise(function(ce,Ze){Ye.getAuthInstance().then(function(He){He||(R.debug("google Auth undefined"),Ze(new j.OI("google Auth undefined")));var ee=He.currentUser.get();ee.isSignedIn()?(R.debug("refreshing the google access token"),ee.reloadAuthResponse().then(function(it){ce({token:it.id_token,expires_at:it.expires_at})}).catch(function(it){Ze(it&&"network_error"===it.error?"Network error reloading google auth response":new j.OI("Failed to reload google auth response"))})):Ze(new j.OI("User is not signed in with Google"))}).catch(function(He){R.debug("Failed to refresh google token",He),Ze(new j.OI("Failed to refresh google token"))})}):(R.debug("no gapi auth2 available"),Promise.reject("no gapi auth2 available"))},rt}(),k=new c.C("CognitoCredentials"),oe=new Promise(function(rt,Ye){return(0,G.gy)().isBrowser?window.FB?(k.debug("FB SDK already loaded"),rt()):void setTimeout(function(){return rt()},2e3):(k.debug("not in the browser, directly resolved"),rt())}),x=function(){function rt(){this.initialized=!1,this.refreshFacebookToken=this.refreshFacebookToken.bind(this),this._refreshFacebookTokenImpl=this._refreshFacebookTokenImpl.bind(this)}return rt.prototype.refreshFacebookToken=function(){return function(rt,Ye,ce,Ze){return new(ce||(ce=Promise))(function(ee,it){function Ct(Z){try{se(Ze.next(Z))}catch(Ae){it(Ae)}}function tn(Z){try{se(Ze.throw(Z))}catch(Ae){it(Ae)}}function se(Z){Z.done?ee(Z.value):function He(ee){return ee instanceof ce?ee:new ce(function(it){it(ee)})}(Z.value).then(Ct,tn)}se((Ze=Ze.apply(rt,Ye||[])).next())})}(this,void 0,void 0,function(){return function(rt,Ye){var Ze,He,ee,it,ce={label:0,sent:function(){if(1&ee[0])throw ee[1];return ee[1]},trys:[],ops:[]};return it={next:Ct(0),throw:Ct(1),return:Ct(2)},"function"==typeof Symbol&&(it[Symbol.iterator]=function(){return this}),it;function Ct(se){return function(Z){return function tn(se){if(Ze)throw new TypeError("Generator is already executing.");for(;it&&(it=0,se[0]&&(ce=0)),ce;)try{if(Ze=1,He&&(ee=2&se[0]?He.return:se[0]?He.throw||((ee=He.return)&&ee.call(He),0):He.next)&&!(ee=ee.call(He,se[1])).done)return ee;switch(He=0,ee&&(se=[2&se[0],ee.value]),se[0]){case 0:case 1:ee=se;break;case 4:return ce.label++,{value:se[1],done:!1};case 5:ce.label++,He=se[1],se=[0];continue;case 7:se=ce.ops.pop(),ce.trys.pop();continue;default:if(!(ee=(ee=ce.trys).length>0&&ee[ee.length-1])&&(6===se[0]||2===se[0])){ce=0;continue}if(3===se[0]&&(!ee||se[1]>ee[0]&&se[1]<ee[3])){ce.label=se[1];break}if(6===se[0]&&ce.label<ee[1]){ce.label=ee[1],ee=se;break}if(ee&&ce.label<ee[2]){ce.label=ee[2],ce.ops.push(se);break}ee[2]&&ce.ops.pop(),ce.trys.pop();continue}
1se=Ye.call(rt,ce)}catch(Z){se=[6,Z],He=0}finally{Ze=ee=0}if(5&se[0])throw se[1];return{value:se[0]?se[1]:void 0,done:!0}}([se,Z])}}}(this,function(Ye){switch(Ye.label){case 0:return this.initialized?[3,2]:(k.debug("need to wait for the Facebook SDK loaded"),[4,oe]);case 1:Ye.sent(),this.initialized=!0,k.debug("finish waiting"),Ye.label=2;case 2:return[2,this._refreshFacebookTokenImpl()]}})})},rt.prototype._refreshFacebookTokenImpl=function(){var Ye=null;if((0,G.gy)().isBrowser&&(Ye=window.FB),!Ye){var ce="no fb sdk available";return k.debug(ce),Promise.reject(new j.OI(ce))}return new Promise(function(Ze,He){Ye.getLoginStatus(function(ee){if(ee&&ee.authResponse){var Ct=ee.authResponse,tn=Ct.accessToken,Ae=1e3*Ct.expiresIn+(new Date).getTime();tn||(k.debug(it="the jwtToken is undefined"),He(new j.OI(it))),Ze({token:tn,expires_at:Ae})}else{var it;k.debug(it="no response from facebook when refreshing the jwt token"),He(new j.OI(it))}},{scope:"public_profile,email"})})},rt}(),ue=new W,le=new x,Se=v(291),$e={id:"aws",outputs:{dnsSuffix:"amazonaws.com"},regionRegex:"^(us|eu|ap|sa|ca|me|af)\\-\\w+\\-\\d+$",regions:["aws-global"]},Re={partitions:[$e,{id:"aws-cn",outputs:{dnsSuffix:"amazonaws.com.cn"},regionRegex:"^cn\\-\\w+\\-\\d+$",regions:["aws-cn-global"]}]},st=function(rt){var Ye,ce,Ze=Re.partitions;try{for(var He=function(rt){var Ye="function"==typeof Symbol&&Symbol.iterator,ce=Ye&&rt[Ye],Ze=0;if(ce)return ce.call(rt);if(rt&&"number"==typeof rt.length)return{next:function(){return rt&&Ze>=rt.length&&(rt=void 0),{value:rt&&rt[Ze++],done:!rt}}};throw new TypeError(Ye?"Object is not iterable.":"Symbol.iterator is not defined.")}(Ze),ee=He.next();!ee.done;ee=He.next()){var it=ee.value,Ct=it.regions,tn=it.outputs,Z=new RegExp(it.regionRegex);if(Ct.includes(rt)||Z.test(rt))return tn.dnsSuffix}}catch(Ae){Ye={error:Ae}}finally{try{ee&&!ee.done&&(ce=He.return)&&ce.call(He)}finally{if(Ye)throw Ye.error}}return $e.outputs.dnsSuffix},at=function(){return at=Object.assign||function(rt){for(var Ye,ce=1,Ze=arguments.length;ce<Ze;ce++)for(var He in Ye=arguments[ce])Object.prototype.hasOwnProperty.call(Ye,He)&&(rt[He]=Ye[He]);return rt},at.apply(this,arguments)},Me=function(rt,Ye){if(Ye?.aborted)return Promise.resolve();var ce,Ze,He=new Promise(function(ee){Ze=ee,ce=setTimeout(ee,rt)});return Ye?.addEventListener("abort",function ee(it){clearTimeout(ce),Ye?.removeEventListener("abort",ee),Ze()}),He},Ie=function(rt,Ye){var ce;"[object Object]"===Object.prototype.toString.call(rt)&&(rt.$metadata=at(at({},null!==(ce=rt.$metadata)&&void 0!==ce?ce:{}),{attempts:Ye}))},Yt=function(rt,Ye){return function(ce,Ze){for(var He={},ee=function(se){return rt(se,Ze)},it=Ye.length-1;it>=0;it--)ee=(0,Ye[it])(Ze)(ee,He);return ee(ce)}},Gt=(v(8400),function(rt){var Ye;return function(){return Ye||(Ye=rt()),Ye}}),an=function(){return an=Object.assign||function(rt){for(var Ye,ce=1,Ze=arguments.length;ce<Ze;ce++)for(var He in Ye=arguments[ce])Object.prototype.hasOwnProperty.call(Ye,He)&&(rt[He]=Ye[He]);return rt},an.apply(this,arguments)},rn=function(rt){return!["HEAD","GET","DELETE"].includes(rt.toUpperCase())},On=Yt(function(rt,Ye){var ce=rt.url,Ze=rt.method,He=rt.headers,ee=rt.body,it=Ye.abortSignal;return function(rt,Ye,ce,Ze){return new(ce||(ce=Promise))(function(ee,it){function Ct(Z){try{se(Ze.next(Z))}catch(Ae){it(Ae)}}function tn(Z){try{se(Ze.throw(Z))}catch(Ae){it(Ae)}}function se(Z){Z.done?ee(Z.value):function He(ee){return ee instanceof ce?ee:new ce(function(it){it(ee)})}(Z.value).then(Ct,tn)}se((Ze=Ze.apply(rt,Ye||[])).next())})}(void 0,void 0,void 0,function(){var Ct,tn,se,Z,Ae,ht,dt;return function(rt,Ye){var Ze,He,ee,it,ce={label:0,sent:function(){if(1&ee[0])throw ee[1];return ee[1]},trys:[],ops:[]};return it={next:Ct(0),throw:Ct(1),return:Ct(2)},"function"==typeof Symbol&&(it[Symbol.iterator]=function(){return this}),it;function Ct(se){return function(Z){return function tn(se){if(Ze)throw new TypeError("Generator is already executing.");for(;it&&(it=0,se[0]&&(ce=0)),ce;)try{if(Ze=1,He&&(ee=2&se[0]?He.return:se[0]?He.throw||((ee=He.return)&&ee.call(He),0):He.next)&&!(ee=ee.call(He,se[1])).done)return ee;
1switch(He=0,ee&&(se=[2&se[0],ee.value]),se[0]){case 0:case 1:ee=se;break;case 4:return ce.label++,{value:se[1],done:!1};case 5:ce.label++,He=se[1],se=[0];continue;case 7:se=ce.ops.pop(),ce.trys.pop();continue;default:if(!(ee=(ee=ce.trys).length>0&&ee[ee.length-1])&&(6===se[0]||2===se[0])){ce=0;continue}if(3===se[0]&&(!ee||se[1]>ee[0]&&se[1]<ee[3])){ce.label=se[1];break}if(6===se[0]&&ce.label<ee[1]){ce.label=ee[1],ee=se;break}if(ee&&ce.label<ee[2]){ce.label=ee[2],ce.ops.push(se);break}ee[2]&&ce.ops.pop(),ce.trys.pop();continue}se=Ye.call(rt,ce)}catch(Z){se=[6,Z],He=0}finally{Ze=ee=0}if(5&se[0])throw se[1];return{value:se[0]?se[1]:void 0,done:!0}}([se,Z])}}}(this,function(mt){switch(mt.label){case 0:return mt.trys.push([0,2,,3]),[4,fetch(ce,{method:Ze,headers:He,body:rn(Ze)?ee:void 0,signal:it})];case 1:return Ct=mt.sent(),[3,3];case 2:throw(tn=mt.sent())instanceof TypeError?new Error("Network error"):tn;case 3:return se={},null===(ht=Ct.headers)||void 0===ht||ht.forEach(function(Rt,on){se[on.toLowerCase()]=Rt}),Z={statusCode:Ct.status,headers:se,body:null},Ae=Object.assign(null!==(dt=Ct.body)&&void 0!==dt?dt:{},{text:Gt(function(){return Ct.text()}),blob:Gt(function(){return Ct.blob()}),json:Gt(function(){return Ct.json()})}),[2,an(an({},Z),{body:Ae})]}})})},[function(rt){var Ye=rt.userAgentHeader,ce=void 0===Ye?"x-amz-user-agent":Ye,Ze=rt.userAgentValue,He=void 0===Ze?"":Ze;return function(ee){return function(Ct){return function(rt,Ye,ce,Ze){return new(ce||(ce=Promise))(function(ee,it){function Ct(Z){try{se(Ze.next(Z))}catch(Ae){it(Ae)}}function tn(Z){try{se(Ze.throw(Z))}catch(Ae){it(Ae)}}function se(Z){Z.done?ee(Z.value):function He(ee){return ee instanceof ce?ee:new ce(function(it){it(ee)})}(Z.value).then(Ct,tn)}se((Ze=Ze.apply(rt,Ye||[])).next())})}(this,void 0,void 0,function(){var se;return function(rt,Ye){var Ze,He,ee,it,ce={label:0,sent:function(){if(1&ee[0])throw ee[1];return ee[1]},trys:[],ops:[]};return it={next:Ct(0),throw:Ct(1),return:Ct(2)},"function"==typeof Symbol&&(it[Symbol.iterator]=function(){return this}),it;function Ct(se){return function(Z){return function tn(se){if(Ze)throw new TypeError("Generator is already executing.");for(;it&&(it=0,se[0]&&(ce=0)),ce;)try{if(Ze=1,He&&(ee=2&se[0]?He.return:se[0]?He.throw||((ee=He.return)&&ee.call(He),0):He.next)&&!(ee=ee.call(He,se[1])).done)return ee;switch(He=0,ee&&(se=[2&se[0],ee.value]),se[0]){case 0:case 1:ee=se;break;case 4:return ce.label++,{value:se[1],done:!1};case 5:ce.label++,He=se[1],se=[0];continue;case 7:se=ce.ops.pop(),ce.trys.pop();continue;default:if(!(ee=(ee=ce.trys).length>0&&ee[ee.length-1])&&(6===se[0]||2===se[0])){ce=0;continue}if(3===se[0]&&(!ee||se[1]>ee[0]&&se[1]<ee[3])){ce.label=se[1];break}if(6===se[0]&&ce.label<ee[1]){ce.label=ee[1],ee=se;break}if(ee&&ce.label<ee[2]){ce.label=ee[2],ce.ops.push(se);break}ee[2]&&ce.ops.pop(),ce.trys.pop();continue}
1se=Ye.call(rt,ce)}catch(Z){se=[6,Z],He=0}finally{Ze=ee=0}if(5&se[0])throw se[1];return{value:se[0]?se[1]:void 0,done:!0}}([se,Z])}}}(this,function(Ae){switch(Ae.label){case 0:return 0!==He.trim().length?[3,2]:[4,ee(Ct)];case 1:case 3:return[2,Ae.sent()];case 2:return se=ce.toLowerCase(),Ct.headers[se]=Ct.headers[se]?"".concat(Ct.headers[se]," ").concat(He):He,[4,ee(Ct)]}})})}}},function(rt){var Ye=rt.maxAttempts,ce=void 0===Ye?3:Ye,Ze=rt.retryDecider,He=rt.computeDelay,ee=rt.abortSignal;if(ce<1)throw new Error("maxAttempts must be greater than 0");return function(it,Ct){return function(se){var Z;return function(rt,Ye,ce,Ze){return new(ce||(ce=Promise))(function(ee,it){function Ct(Z){try{se(Ze.next(Z))}catch(Ae){it(Ae)}}function tn(Z){try{se(Ze.throw(Z))}catch(Ae){it(Ae)}}function se(Z){Z.done?ee(Z.value):function He(ee){return ee instanceof ce?ee:new ce(function(it){it(ee)})}(Z.value).then(Ct,tn)}se((Ze=Ze.apply(rt,Ye||[])).next())})}(this,void 0,void 0,function(){var Ae,ht,dt,mt,Rt,on;return function(rt,Ye){var Ze,He,ee,it,ce={label:0,sent:function(){if(1&ee[0])throw ee[1];return ee[1]},trys:[],ops:[]};return it={next:Ct(0),throw:Ct(1),return:Ct(2)},"function"==typeof Symbol&&(it[Symbol.iterator]=function(){return this}),it;function Ct(se){return function(Z){return function tn(se){if(Ze)throw new TypeError("Generator is already executing.");for(;it&&(it=0,se[0]&&(ce=0)),ce;)try{if(Ze=1,He&&(ee=2&se[0]?He.return:se[0]?He.throw||((ee=He.return)&&ee.call(He),0):He.next)&&!(ee=ee.call(He,se[1])).done)return ee;switch(He=0,ee&&(se=[2&se[0],ee.value]),se[0]){case 0:case 1:ee=se;break;case 4:return ce.label++,{value:se[1],done:!1};case 5:ce.label++,He=se[1],se=[0];continue;case 7:se=ce.ops.pop(),ce.trys.pop();continue;default:if(!(ee=(ee=ce.trys).length>0&&ee[ee.length-1])&&(6===se[0]||2===se[0])){ce=0;continue}if(3===se[0]&&(!ee||se[1]>ee[0]&&se[1]<ee[3])){ce.label=se[1];break}if(6===se[0]&&ce.label<ee[1]){ce.label=ee[1],ee=se;break}if(ee&&ce.label<ee[2]){ce.label=ee[2],ce.ops.push(se);break}ee[2]&&ce.ops.pop(),ce.trys.pop();continue}
1se=Ye.call(rt,ce)}catch(Z){se=[6,Z],He=0}finally{Ze=ee=0}if(5&se[0])throw se[1];return{value:se[0]?se[1]:void 0,done:!0}}([se,Z])}}}(this,function(ln){switch(ln.label){case 0:ht=null!==(Z=Ct.attemptsCount)&&void 0!==Z?Z:0,mt=function(){if(dt)return Ie(dt,ht),dt;throw Ie(Ae,ht),Ae},ln.label=1;case 1:if(ee?.aborted||!(ht<ce))return[3,11];ln.label=2;case 2:return ln.trys.push([2,4,,5]),[4,it(se)];case 3:return dt=ln.sent(),Ae=void 0,[3,5];case 4:return Rt=ln.sent(),Ae=Rt,dt=void 0,[3,5];case 5:return Ct.attemptsCount=ht=Ct.attemptsCount>ht?Ct.attemptsCount:ht+1,[4,Ze(dt,Ae)];case 6:return ln.sent()?!ee?.aborted&&ht<ce?(on=He(ht),[4,Me(on,ee)]):[3,8]:[3,9];case 7:ln.sent(),ln.label=8;case 8:return[3,1];case 9:return[2,mt()];case 10:return[3,1];case 11:if(ee?.aborted)throw new Error("Request aborted.");return[2,mt()]}})})}}}]),Bn=function(){return Bn=Object.assign||function(rt){for(var Ye,ce=1,Ze=arguments.length;ce<Ze;ce++)for(var He in Ye=arguments[ce])Object.prototype.hasOwnProperty.call(Ye,He)&&(rt[He]=Ye[He]);return rt},Bn.apply(this,arguments)},dn=function(rt){var Ye,ce,Ze=rt.headers,He=rt.statusCode;return Bn(Bn({},Qt(rt)?rt.$metadata:{}),{httpStatusCode:He,requestId:null!==(ce=null!==(Ye=Ze["x-amzn-requestid"])&&void 0!==Ye?Ye:Ze["x-amzn-request-id"])&&void 0!==ce?ce:Ze["x-amz-request-id"],extendedRequestId:Ze["x-amz-id-2"],cfId:Ze["x-amz-cf-id"]})},Qt=function(rt){return"object"==typeof rt?.$metadata},wn=function(rt,Ye,ce,Ze){return new(ce||(ce=Promise))(function(ee,it){function Ct(Z){try{se(Ze.next(Z))}catch(Ae){it(Ae)}}function tn(Z){try{se(Ze.throw(Z))}catch(Ae){it(Ae)}}function se(Z){Z.done?ee(Z.value):function He(ee){return ee instanceof ce?ee:new ce(function(it){it(ee)})}(Z.value).then(Ct,tn)}se((Ze=Ze.apply(rt,Ye||[])).next())})},Mn=function(rt,Ye){var Ze,He,ee,it,ce={label:0,sent:function(){if(1&ee[0])throw ee[1];return ee[1]},trys:[],ops:[]};return it={next:Ct(0),throw:Ct(1),return:Ct(2)},"function"==typeof Symbol&&(it[Symbol.iterator]=function(){return this}),it;function Ct(se){return function(Z){return function tn(se){if(Ze)throw new TypeError("Generator is already executing.");for(;it&&(it=0,se[0]&&(ce=0)),ce;)try{if(Ze=1,He&&(ee=2&se[0]?He.return:se[0]?He.throw||((ee=He.return)&&ee.call(He),0):He.next)&&!(ee=ee.call(He,se[1])).done)return ee;switch(He=0,ee&&(se=[2&se[0],ee.value]),se[0]){case 0:case 1:ee=se;break;case 4:return ce.label++,{value:se[1],done:!1};case 5:ce.label++,He=se[1],se=[0];continue;case 7:se=ce.ops.pop(),ce.trys.pop();continue;default:if(!(ee=(ee=ce.trys).length>0&&ee[ee.length-1])&&(6===se[0]||2===se[0])){ce=0;continue}if(3===se[0]&&(!ee||se[1]>ee[0]&&se[1]<ee[3])){ce.label=se[1];break}if(6===se[0]&&ce.label<ee[1]){ce.label=ee[1],ee=se;break}if(ee&&ce.label<ee[2]){ce.label=ee[2],ce.ops.push(se);break}ee[2]&&ce.ops.pop(),ce.trys.pop();continue}
1se=Ye.call(rt,ce)}catch(Z){se=[6,Z],He=0}finally{Ze=ee=0}if(5&se[0])throw se[1];return{value:se[0]?se[1]:void 0,done:!0}}([se,Z])}}},Zn=function(rt){return wn(void 0,void 0,void 0,function(){var Ye,ce,Ze,He,ee,it,Ct,tn,se,Z;return Mn(this,function(Ae){switch(Ae.label){case 0:return!rt||rt.statusCode<300?[2]:[4,be(rt)];case 1:return Ye=Ae.sent(),ce=function(ht){var dt=function(rt,Ye){var ce="function"==typeof Symbol&&rt[Symbol.iterator];if(!ce)return rt;var He,it,Ze=ce.call(rt),ee=[];try{for(;(void 0===Ye||Ye-- >0)&&!(He=Ze.next()).done;)ee.push(He.value)}catch(Ct){it={error:Ct}}finally{try{He&&!He.done&&(ce=Ze.return)&&ce.call(Ze)}finally{if(it)throw it.error}}return ee}(ht.toString().split(/[\,\:]+/),1),mt=dt[0];return mt.includes("#")?mt.split("#")[1]:mt},Ze=ce(null!==(tn=null!==(Ct=null!==(it=rt.headers["x-amzn-errortype"])&&void 0!==it?it:Ye.code)&&void 0!==Ct?Ct:Ye.__type)&&void 0!==tn?tn:"UnknownError"),He=null!==(Z=null!==(se=Ye.message)&&void 0!==se?se:Ye.Message)&&void 0!==Z?Z:"Unknown error",ee=new Error(He),[2,Object.assign(ee,{name:Ze,$metadata:dn(rt)})]}})})},be=function(rt){return wn(void 0,void 0,void 0,function(){var Ye;return Mn(this,function(ce){switch(ce.label){case 0:if(!rt.body)throw new Error("Missing response payload");return[4,rt.body.json()];case 1:return Ye=ce.sent(),[2,Object.assign(Ye,{$metadata:dn(rt)})]}})})},Pt=["AuthFailure","InvalidSignatureException","RequestExpired","RequestInTheFuture","RequestTimeTooSkewed","SignatureDoesNotMatch","BadRequestException"],In=function(rt){return Pt.includes(rt)},zt=["BandwidthLimitExceeded","EC2ThrottledException","LimitExceededException","PriorRequestNotComplete","ProvisionedThroughputExceededException","RequestLimitExceeded","RequestThrottled","RequestThrottledException","SlowDown","ThrottledException","Throttling","ThrottlingException","TooManyRequestsException"],ke=["TimeoutError","RequestTimeout","RequestTimeoutException"],te=function(rt,Ye){return 429===rt||zt.includes(Ye)},ne=function(rt){return"Network error"===rt?.name},Ve=function(rt,Ye){return[500,502,503,504].includes(rt)||ke.includes(Ye)},Dt=v(754),En=v(5071),zr=Yt(On,[function(){return function(rt,Ye){return function(Ze){return function(rt,Ye,ce,Ze){return new(ce||(ce=Promise))(function(ee,it){function Ct(Z){try{se(Ze.next(Z))}catch(Ae){it(Ae)}}function tn(Z){try{se(Ze.throw(Z))}catch(Ae){it(Ae)}}function se(Z){Z.done?ee(Z.value):function He(ee){return ee instanceof ce?ee:new ce(function(it){it(ee)})}(Z.value).then(Ct,tn)}se((Ze=Ze.apply(rt,Ye||[])).next())})}(this,void 0,void 0,function(){return function(rt,Ye){var Ze,He,ee,it,ce={label:0,sent:function(){if(1&ee[0])throw ee[1];return ee[1]},trys:[],ops:[]};return it={next:Ct(0),throw:Ct(1),return:Ct(2)},"function"==typeof Symbol&&(it[Symbol.iterator]=function(){return this}),it;function Ct(se){return function(Z){return function tn(se){if(Ze)throw new TypeError("Generator is already executing.");for(;it&&(it=0,se[0]&&(ce=0)),ce;)try{if(Ze=1,He&&(ee=2&se[0]?He.return:se[0]?He.throw||((ee=He.return)&&ee.call(He),0):He.next)&&!(ee=ee.call(He,se[1])).done)return ee;switch(He=0,ee&&(se=[2&se[0],ee.value]),se[0]){case 0:case 1:ee=se;break;case 4:return ce.label++,{value:se[1],done:!1};case 5:ce.label++,He=se[1],se=[0];continue;case 7:se=ce.ops.pop(),ce.trys.pop();continue;default:if(!(ee=(ee=ce.trys).length>0&&ee[ee.length-1])&&(6===se[0]||2===se[0])){ce=0;continue}if(3===se[0]&&(!ee||se[1]>ee[0]&&se[1]<ee[3])){ce.label=se[1];break}if(6===se[0]&&ce.label<ee[1]){ce.label=ee[1],ee=se;break}if(ee&&ce.label<ee[2]){ce.label=ee[2],ce.ops.push(se);break}ee[2]&&ce.ops.pop(),ce.trys.pop();continue}
1se=Ye.call(rt,ce)}catch(Z){se=[6,Z],He=0}finally{Ze=ee=0}if(5&se[0])throw se[1];return{value:se[0]?se[1]:void 0,done:!0}}([se,Z])}}}(this,function(He){return Ze.headers["cache-control"]="no-store",[2,rt(Ze)]})})}}}]),mn={service:"cognito-identity",endpointResolver:function(rt){var Ye=rt.region;return{url:new URL("https://cognito-identity.".concat(Ye,".").concat(st(Ye)))}},retryDecider:(rt=Zn,function(Ye,ce){return function(rt,Ye,ce,Ze){return new(ce||(ce=Promise))(function(ee,it){function Ct(Z){try{se(Ze.next(Z))}catch(Ae){it(Ae)}}function tn(Z){try{se(Ze.throw(Z))}catch(Ae){it(Ae)}}function se(Z){Z.done?ee(Z.value):function He(ee){return ee instanceof ce?ee:new ce(function(it){it(ee)})}(Z.value).then(Ct,tn)}se((Ze=Ze.apply(rt,Ye||[])).next())})}(void 0,void 0,void 0,function(){var Ze,He,ee,it;return function(rt,Ye){var Ze,He,ee,it,ce={label:0,sent:function(){if(1&ee[0])throw ee[1];return ee[1]},trys:[],ops:[]};return it={next:Ct(0),throw:Ct(1),return:Ct(2)},"function"==typeof Symbol&&(it[Symbol.iterator]=function(){return this}),it;function Ct(se){return function(Z){return function tn(se){if(Ze)throw new TypeError("Generator is already executing.");for(;it&&(it=0,se[0]&&(ce=0)),ce;)try{if(Ze=1,He&&(ee=2&se[0]?He.return:se[0]?He.throw||((ee=He.return)&&ee.call(He),0):He.next)&&!(ee=ee.call(He,se[1])).done)return ee;switch(He=0,ee&&(se=[2&se[0],ee.value]),se[0]){case 0:case 1:ee=se;break;case 4:return ce.label++,{value:se[1],done:!1};case 5:ce.label++,He=se[1],se=[0];continue;case 7:se=ce.ops.pop(),ce.trys.pop();continue;default:if(!(ee=(ee=ce.trys).length>0&&ee[ee.length-1])&&(6===se[0]||2===se[0])){ce=0;continue}if(3===se[0]&&(!ee||se[1]>ee[0]&&se[1]<ee[3])){ce.label=se[1];break}if(6===se[0]&&ce.label<ee[1]){ce.label=ee[1],ee=se;break}if(ee&&ce.label<ee[2]){ce.label=ee[2],ce.ops.push(se);break}ee[2]&&ce.ops.pop(),ce.trys.pop();continue}
1se=Ye.call(rt,ce)}catch(Z){se=[6,Z],He=0}finally{Ze=ee=0}if(5&se[0])throw se[1];return{value:se[0]?se[1]:void 0,done:!0}}([se,Z])}}}(this,function(Ct){switch(Ct.label){case 0:return null==ce?[3,1]:(He=ce,[3,3]);case 1:return[4,rt(Ye)];case 2:He=Ct.sent(),Ct.label=3;case 3:return Ze=(null!==(it=He)&&void 0!==it?it:{}).name,ee=Ye?.statusCode,[2,ne(ce)||te(ee,Ze)||In(Ze)||Ve(ee,Ze)]}})})}),computeDelay:function(rt){var ce=(0,j.yN)(3e5)(rt);return!1===ce?3e5:ce},userAgentValue:(0,Dt.fE)()};(0,En.e9)(function(){mn.userAgentValue=(0,Dt.fE)()});var Br=function(rt){return{"content-type":"application/x-amz-json-1.1","x-amz-target":"AWSCognitoIdentityService.".concat(rt)}},hr=function(rt,Ye,ce){return{headers:Ye,url:rt.url,body:ce,method:"POST"}},jn=function(){return jn=Object.assign||function(rt){for(var Ye,ce=1,Ze=arguments.length;ce<Ze;ce++)for(var He in Ye=arguments[ce])Object.prototype.hasOwnProperty.call(Ye,He)&&(rt[He]=Ye[He]);return rt},jn.apply(this,arguments)},Dr=function(rt,Ye,ce,Ze){return function(He,ee){return function(rt,Ye,ce,Ze){return new(ce||(ce=Promise))(function(ee,it){function Ct(Z){try{se(Ze.next(Z))}catch(Ae){it(Ae)}}function tn(Z){try{se(Ze.throw(Z))}catch(Ae){it(Ae)}}function se(Z){Z.done?ee(Z.value):function He(ee){return ee instanceof ce?ee:new ce(function(it){it(ee)})}(Z.value).then(Ct,tn)}se((Ze=Ze.apply(rt,Ye||[])).next())})}(void 0,void 0,void 0,function(){var it,Ct,tn,se;return function(rt,Ye){var Ze,He,ee,it,ce={label:0,sent:function(){if(1&ee[0])throw ee[1];return ee[1]},trys:[],ops:[]};return it={next:Ct(0),throw:Ct(1),return:Ct(2)},"function"==typeof Symbol&&(it[Symbol.iterator]=function(){return this}),it;function Ct(se){return function(Z){return function tn(se){if(Ze)throw new TypeError("Generator is already executing.");for(;it&&(it=0,se[0]&&(ce=0)),ce;)try{if(Ze=1,He&&(ee=2&se[0]?He.return:se[0]?He.throw||((ee=He.return)&&ee.call(He),0):He.next)&&!(ee=ee.call(He,se[1])).done)return ee;switch(He=0,ee&&(se=[2&se[0],ee.value]),se[0]){case 0:case 1:ee=se;break;case 4:return ce.label++,{value:se[1],done:!1};case 5:ce.label++,He=se[1],se=[0];continue;case 7:se=ce.ops.pop(),ce.trys.pop();continue;default:if(!(ee=(ee=ce.trys).length>0&&ee[ee.length-1])&&(6===se[0]||2===se[0])){ce=0;continue}if(3===se[0]&&(!ee||se[1]>ee[0]&&se[1]<ee[3])){ce.label=se[1];break}if(6===se[0]&&ce.label<ee[1]){ce.label=ee[1],ee=se;break}if(ee&&ce.label<ee[2]){ce.label=ee[2],ce.ops.push(se);break}ee[2]&&ce.ops.pop(),ce.trys.pop();continue}
1se=Ye.call(rt,ce)}catch(Z){se=[6,Z],He=0}finally{Ze=ee=0}if(5&se[0])throw se[1];return{value:se[0]?se[1]:void 0,done:!0}}([se,Z])}}}(this,function(Z){switch(Z.label){case 0:return[4,(it=jn(jn({},Ze),He)).endpointResolver(it,ee)];case 1:return Ct=Z.sent(),[4,Ye(ee,Ct)];case 2:return tn=Z.sent(),[4,rt(tn,jn({},it))];case 3:return se=Z.sent(),[4,ce(se)];case 4:return[2,Z.sent()]}})})}},Oe=Dr(zr,function(rt,Ye){var ce=Br("GetId"),Ze=JSON.stringify(rt);return hr(Ye,ce,Ze)},function(rt){return function(rt,Ye,ce,Ze){return new(ce||(ce=Promise))(function(ee,it){function Ct(Z){try{se(Ze.next(Z))}catch(Ae){it(Ae)}}function tn(Z){try{se(Ze.throw(Z))}catch(Ae){it(Ae)}}function se(Z){Z.done?ee(Z.value):function He(ee){return ee instanceof ce?ee:new ce(function(it){it(ee)})}(Z.value).then(Ct,tn)}se((Ze=Ze.apply(rt,Ye||[])).next())})}(void 0,void 0,void 0,function(){return function(rt,Ye){var Ze,He,ee,it,ce={label:0,sent:function(){if(1&ee[0])throw ee[1];return ee[1]},trys:[],ops:[]};return it={next:Ct(0),throw:Ct(1),return:Ct(2)},"function"==typeof Symbol&&(it[Symbol.iterator]=function(){return this}),it;function Ct(se){return function(Z){return function tn(se){if(Ze)throw new TypeError("Generator is already executing.");for(;it&&(it=0,se[0]&&(ce=0)),ce;)try{if(Ze=1,He&&(ee=2&se[0]?He.return:se[0]?He.throw||((ee=He.return)&&ee.call(He),0):He.next)&&!(ee=ee.call(He,se[1])).done)return ee;switch(He=0,ee&&(se=[2&se[0],ee.value]),se[0]){case 0:case 1:ee=se;break;case 4:return ce.label++,{value:se[1],done:!1};case 5:ce.label++,He=se[1],se=[0];continue;case 7:se=ce.ops.pop(),ce.trys.pop();continue;default:if(!(ee=(ee=ce.trys).length>0&&ee[ee.length-1])&&(6===se[0]||2===se[0])){ce=0;continue}if(3===se[0]&&(!ee||se[1]>ee[0]&&se[1]<ee[3])){ce.label=se[1];break}if(6===se[0]&&ce.label<ee[1]){ce.label=ee[1],ee=se;break}if(ee&&ce.label<ee[2]){ce.label=ee[2],ce.ops.push(se);break}ee[2]&&ce.ops.pop(),ce.trys.pop();continue}
1se=Ye.call(rt,ce)}catch(Z){se=[6,Z],He=0}finally{Ze=ee=0}if(5&se[0])throw se[1];return{value:se[0]?se[1]:void 0,done:!0}}([se,Z])}}}(this,function(Ze){switch(Ze.label){case 0:return rt.statusCode>=300?[4,Zn(rt)]:[3,2];case 1:throw Ze.sent();case 2:return[4,be(rt)];case 3:return[2,{IdentityId:Ze.sent().IdentityId,$metadata:dn(rt)}]}})})},mn),hn=function(rt){return void 0===rt&&(rt={}),{AccessKeyId:rt.AccessKeyId,SecretKey:rt.SecretKey,SessionToken:rt.SessionToken,Expiration:new Date(1e3*rt.Expiration)}},Jt=Dr(zr,function(rt,Ye){var ce=Br("GetCredentialsForIdentity"),Ze=JSON.stringify(rt);return hr(Ye,ce,Ze)},function(rt){return function(rt,Ye,ce,Ze){return new(ce||(ce=Promise))(function(ee,it){function Ct(Z){try{se(Ze.next(Z))}catch(Ae){it(Ae)}}function tn(Z){try{se(Ze.throw(Z))}catch(Ae){it(Ae)}}function se(Z){Z.done?ee(Z.value):function He(ee){return ee instanceof ce?ee:new ce(function(it){it(ee)})}(Z.value).then(Ct,tn)}se((Ze=Ze.apply(rt,Ye||[])).next())})}(void 0,void 0,void 0,function(){var ce;return function(rt,Ye){var Ze,He,ee,it,ce={label:0,sent:function(){if(1&ee[0])throw ee[1];return ee[1]},trys:[],ops:[]};return it={next:Ct(0),throw:Ct(1),return:Ct(2)},"function"==typeof Symbol&&(it[Symbol.iterator]=function(){return this}),it;function Ct(se){return function(Z){return function tn(se){if(Ze)throw new TypeError("Generator is already executing.");for(;it&&(it=0,se[0]&&(ce=0)),ce;)try{if(Ze=1,He&&(ee=2&se[0]?He.return:se[0]?He.throw||((ee=He.return)&&ee.call(He),0):He.next)&&!(ee=ee.call(He,se[1])).done)return ee;switch(He=0,ee&&(se=[2&se[0],ee.value]),se[0]){case 0:case 1:ee=se;break;case 4:return ce.label++,{value:se[1],done:!1};case 5:ce.label++,He=se[1],se=[0];continue;case 7:se=ce.ops.pop(),ce.trys.pop();continue;default:if(!(ee=(ee=ce.trys).length>0&&ee[ee.length-1])&&(6===se[0]||2===se[0])){ce=0;continue}if(3===se[0]&&(!ee||se[1]>ee[0]&&se[1]<ee[3])){ce.label=se[1];break}if(6===se[0]&&ce.label<ee[1]){ce.label=ee[1],ee=se;break}if(ee&&ce.label<ee[2]){ce.label=ee[2],ce.ops.push(se);break}ee[2]&&ce.ops.pop(),ce.trys.pop();continue}
1se=Ye.call(rt,ce)}catch(Z){se=[6,Z],He=0}finally{Ze=ee=0}if(5&se[0])throw se[1];return{value:se[0]?se[1]:void 0,done:!0}}([se,Z])}}}(this,function(Ze){switch(Ze.label){case 0:return rt.statusCode>=300?[4,Zn(rt)]:[3,2];case 1:throw Ze.sent();case 2:return[4,be(rt)];case 3:return[2,{IdentityId:(ce=Ze.sent()).IdentityId,Credentials:hn(ce.Credentials),$metadata:dn(rt)}]}})})},mn),Ir=v(9260),kr=v(7560),Lr=function(){return Lr=Object.assign||function(rt){for(var Ye,ce=1,Ze=arguments.length;ce<Ze;ce++)for(var He in Ye=arguments[ce])Object.prototype.hasOwnProperty.call(Ye,He)&&(rt[He]=Ye[He]);return rt},Lr.apply(this,arguments)},tr=function(rt,Ye,ce,Ze){return new(ce||(ce=Promise))(function(ee,it){function Ct(Z){try{se(Ze.next(Z))}catch(Ae){it(Ae)}}function tn(Z){try{se(Ze.throw(Z))}catch(Ae){it(Ae)}}function se(Z){Z.done?ee(Z.value):function He(ee){return ee instanceof ce?ee:new ce(function(it){it(ee)})}(Z.value).then(Ct,tn)}se((Ze=Ze.apply(rt,Ye||[])).next())})},_r=function(rt,Ye){var Ze,He,ee,it,ce={label:0,sent:function(){if(1&ee[0])throw ee[1];return ee[1]},trys:[],ops:[]};return it={next:Ct(0),throw:Ct(1),return:Ct(2)},"function"==typeof Symbol&&(it[Symbol.iterator]=function(){return this}),it;function Ct(se){return function(Z){return function tn(se){if(Ze)throw new TypeError("Generator is already executing.");for(;it&&(it=0,se[0]&&(ce=0)),ce;)try{if(Ze=1,He&&(ee=2&se[0]?He.return:se[0]?He.throw||((ee=He.return)&&ee.call(He),0):He.next)&&!(ee=ee.call(He,se[1])).done)return ee;switch(He=0,ee&&(se=[2&se[0],ee.value]),se[0]){case 0:case 1:ee=se;break;case 4:return ce.label++,{value:se[1],done:!1};case 5:ce.label++,He=se[1],se=[0];continue;case 7:se=ce.ops.pop(),ce.trys.pop();continue;default:if(!(ee=(ee=ce.trys).length>0&&ee[ee.length-1])&&(6===se[0]||2===se[0])){ce=0;continue}if(3===se[0]&&(!ee||se[1]>ee[0]&&se[1]<ee[3])){ce.label=se[1];break}if(6===se[0]&&ce.label<ee[1]){ce.label=ee[1],ee=se;break}if(ee&&ce.label<ee[2]){ce.label=ee[2],ce.ops.push(se);break}ee[2]&&ce.ops.pop(),ce.trys.pop();continue}
1se=Ye.call(rt,ce)}catch(Z){se=[6,Z],He=0}finally{Ze=ee=0}if(5&se[0])throw se[1];return{value:se[0]?se[1]:void 0,done:!0}}([se,Z])}}},Tn=new c.C("Credentials"),Rn=typeof Symbol<"u"&&"function"==typeof Symbol.for?Symbol.for("amplify_default"):"@@amplify_default",Vi=function(){function rt(Ye){this._gettingCredPromise=null,this._refreshHandlers={},this.Auth=void 0,this.configure(Ye),this._refreshHandlers.google=ue.refreshGoogleToken,this._refreshHandlers.facebook=le.refreshFacebookToken}return rt.prototype.getModuleName=function(){return"Credentials"},rt.prototype.getCredSource=function(){return this._credentials_source},rt.prototype.configure=function(Ye){if(!Ye)return this._config||{};this._config=Object.assign({},this._config,Ye);var ce=this._config.refreshHandlers;return ce&&(this._refreshHandlers=Lr(Lr({},this._refreshHandlers),ce)),this._storage=this._config.storage,this._storage||(this._storage=(new h.i).getStorage()),this._storageSync=Promise.resolve(),"function"==typeof this._storage.sync&&(this._storageSync=this._storage.sync()),kr.Y.dispatch("core",{event:"credentials_configured",data:null,message:"Credentials has been configured successfully"},"Credentials",Rn),this._config},rt.prototype.get=function(){return Tn.debug("getting credentials"),this._pickupCredentials()},rt.prototype._getCognitoIdentityIdStorageKey=function(Ye){return"".concat("CognitoIdentityId-").concat(Ye)},rt.prototype._pickupCredentials=function(){return Tn.debug("picking up credentials"),this._gettingCredPromise&&this._gettingCredPromise.isPending()?Tn.debug("getting old cred promise"):(Tn.debug("getting new cred promise"),this._gettingCredPromise=(0,G.VN)(this._keepAlive())),this._gettingCredPromise},rt.prototype._keepAlive=function(){return tr(this,void 0,void 0,function(){var Ye,ce,Ze,He,ee,it,tn;return _r(this,function(se){switch(se.label){case 0:if(Tn.debug("checking if credentials exists and not expired"),(Ye=this._credentials)&&!this._isExpired(Ye)&&!this._isPastTTL())return Tn.debug("credentials not changed and not expired, directly return"),[2,Promise.resolve(Ye)];if(Tn.debug("need to get a new credential or refresh the existing one"),!(Ze=void 0===(ce=this.Auth)?Se.H.Auth:ce)||"function"!=typeof Ze.currentUserCredentials)return[2,this._setCredentialsForGuest()];if(this._isExpired(Ye)||!this._isPastTTL())return[3,6];Tn.debug("ttl has passed but token is not yet expired"),se.label=1;case 1:return se.trys.push([1,5,,6]),[4,Ze.currentUserPoolUser()];case 2:return He=se.sent(),[4,Ze.currentSession()];case 3:return ee=se.sent(),it=ee.refreshToken,[4,new Promise(function(Z,Ae){He.refreshSession(it,function(ht,dt){return ht?Ae(ht):Z(dt)})})];case 4:return se.sent(),[3,6];case 5:return tn=se.sent(),Tn.debug("Error attempting to refreshing the session",tn),[3,6];case 6:return[2,Ze.currentUserCredentials()]}})})},rt.prototype.refreshFederatedToken=function(Ye){Tn.debug("Getting federated credentials");var ce=Ye.provider,Ze=Ye.user,He=Ye.token,ee=Ye.identity_id,it=Ye.expires_at;return it=1970===new Date(it).getFullYear()?1e3*it:it,Tn.debug("checking if federated jwt token expired"),it>(new Date).getTime()?(Tn.debug("token not expired"),this._setCredentialsFromFederation({provider:ce,token:He,user:Ze,identity_id:ee,expires_at:it})):this._refreshHandlers[ce]&&"function"==typeof this._refreshHandlers[ce]?(Tn.debug("getting refreshed jwt token from federation provider"),this._providerRefreshWithRetry({refreshHandler:this._refreshHandlers[ce],provider:ce,user:Ze})):(Tn.debug("no refresh handler for provider:",ce),this.clear(),Promise.reject("no refresh handler for provider"))},rt.prototype._providerRefreshWithRetry=function(Ye){var ce=this,He=Ye.provider,ee=Ye.user;return(0,j.hu)(Ye.refreshHandler,[],1e4).then(function(Ct){return Tn.debug("refresh federated token sucessfully",Ct),ce._setCredentialsFromFederation({provider:He,token:Ct.token,user:ee,identity_id:Ct.identity_id,expires_at:Ct.expires_at})}).catch(function(Ct){return"string"==typeof Ct&&0===Ct.toLowerCase().lastIndexOf("network error",Ct.length)||ce.clear(),Tn.debug("refresh federated token failed",Ct),Promise.reject("refreshing federation token failed: "+Ct)})},rt.prototype._isExpired=function(Ye){if(!Ye)return Tn.debug("no credentials for expiration check"),!0;Tn.debug("are these credentials expired?",Ye);var ce=Date.now();return Ye.expiration.getTime()<=ce},rt.prototype._isPastTTL=function(){return this._nextCredentialsRefresh<=Date.now()},rt.prototype._setCredentialsForGuest=function(){var Ye;return tr(this,void 0,void 0,function(){var ce,Ze,He,it,Ct,tn,se,Ae,ht=this;return _r(this,function(dt){switch(dt.label){case 0:return Tn.debug("setting credentials for guest"),!(null===(Ye=this._config)||void 0===Ye)&&Ye.identityPoolId||(this._config=Object.assign({},this._config,(0,Ir.s)(this._config||{}).Auth)),Ze=(ce=this._config).identityPoolId,He=ce.region,it=ce.identityPoolRegion,ce.mandatorySignIn?[2,Promise.reject("cannot get guest credentials when mandatory signin enabled")]:Ze?it||He?(tn=this,[4,this._getGuestIdentityId()]):(Tn.debug("region is not configured for getting the credentials"),[2,Promise.reject("region is not configured for getting the credentials")]):(Tn.debug("No Cognito Identity pool provided for unauthenticated access"),[2,Promise.reject("No Cognito Identity pool provided for unauthenticated access")]);case 1:return Ct=tn._identityId=dt.sent(),se={region:it??He},Ae=tr(ht,void 0,void 0,function(){var mt,Rt;return _r(this,function(on){switch(on.label){case 0:return Ct?[3,2]:[4,Oe(se,{IdentityPoolId:Ze})];case 1:mt=on.sent().IdentityId,this._identityId=mt,on.label=2;case 2:return[4,Jt(se,{IdentityId:this._identityId})];case 3:return Rt=on.sent().Credentials,[2,{identityId:this._identityId,accessKeyId:Rt.AccessKeyId,secretAccessKey:Rt.SecretKey,sessionToken:Rt.SessionToken,expiration:Rt.Expiration}]}})}).catch(function(mt){return tr(ht,void 0,void 0,function(){return _r(this,function(Rt){throw mt})})}),[2,this._loadCredentials(Ae,"guest",!1,null).then(function(mt){return mt}).catch(function(mt){return tr(ht,void 0,void 0,function(){var on=this;
1return _r(this,function(ln){switch(ln.label){case 0:return"ResourceNotFoundException"===mt.name&&mt.message==="Identity '".concat(Ct,"' not found.")?(Tn.debug("Failed to load guest credentials"),[4,this._removeGuestIdentityId()]):[3,2];case 1:return ln.sent(),Ae=tr(on,void 0,void 0,function(){var bn,Ln;return _r(this,function(mr){switch(mr.label){case 0:return[4,Oe(se,{IdentityPoolId:Ze})];case 1:return bn=mr.sent().IdentityId,this._identityId=bn,[4,Jt(se,{IdentityId:bn})];case 2:return Ln=mr.sent().Credentials,[2,{identityId:bn,accessKeyId:Ln.AccessKeyId,secretAccessKey:Ln.SecretKey,sessionToken:Ln.SessionToken,expiration:Ln.Expiration}]}})}).catch(function(bn){return tr(on,void 0,void 0,function(){return _r(this,function(Ln){throw bn})})}),[2,this._loadCredentials(Ae,"guest",!1,null)];case 2:return[2,mt]}})})})]}})})},rt.prototype._setCredentialsFromFederation=function(Ye){var ce=this,Ze=Ye.provider,He=Ye.token,ee=Ye.identity_id,Ct={google:"accounts.google.com",facebook:"graph.facebook.com",amazon:"www.amazon.com",developer:"cognito-identity.amazonaws.com"}[Ze]||Ze;if(!Ct)return Promise.reject("You must specify a federated provider");var tn={};tn[Ct]=He;var se=this._config,Z=se.identityPoolId,Ae=se.region,ht=se.identityPoolRegion;if(!Z)return Tn.debug("No Cognito Federated Identity pool provided"),Promise.reject("No Cognito Federated Identity pool provided");if(!ht&&!Ae)return Tn.debug("region is not configured for getting the credentials"),Promise.reject("region is not configured for getting the credentials");var dt={region:ht??Ae},Rt=tr(ce,void 0,void 0,function(){var on,ln;return _r(this,function(bn){switch(bn.label){case 0:return ee?[3,2]:[4,Oe(dt,{IdentityPoolId:Z,Logins:tn})];case 1:on=bn.sent().IdentityId,ee=on,bn.label=2;case 2:return[4,Jt(dt,{IdentityId:ee,Logins:tn})];case 3:return ln=bn.sent().Credentials,[2,{identityId:ee,accessKeyId:ln.AccessKeyId,secretAccessKey:ln.SecretKey,sessionToken:ln.SessionToken,expiration:ln.Expiration}]}})}).catch(function(on){return tr(ce,void 0,void 0,function(){return _r(this,function(ln){throw on})})});return this._loadCredentials(Rt,"federated",!0,Ye)},rt.prototype._setCredentialsFromSession=function(Ye){var ce=this;Tn.debug("set credentials from session");var Ze=Ye.getIdToken().getJwtToken(),He=this._config,ee=He.region,it=He.userPoolId,Ct=He.identityPoolId,tn=He.identityPoolRegion;if(!Ct)return Tn.debug("No Cognito Federated Identity pool provided"),Promise.reject("No Cognito Federated Identity pool provided");if(!tn&&!ee)return Tn.debug("region is not configured for getting the credentials"),Promise.reject("region is not configured for getting the credentials");var Z={};Z["cognito-idp."+ee+".amazonaws.com/"+it]=Ze;var Ae={region:tn??ee},dt=tr(ce,void 0,void 0,function(){var mt,Rt,on,ln,bn,Ln,mr,pr,Er,xn;return _r(this,function(Vr){switch(Vr.label){case 0:return[4,this._getGuestIdentityId()];case 1:return(mt=Vr.sent())?[3,3]:[4,Oe(Ae,{IdentityPoolId:Ct,Logins:Z})];case 2:on=Vr.sent().IdentityId,Rt=on,Vr.label=3;case 3:return[4,Jt(Ae,{IdentityId:mt||Rt,Logins:Z})];case 4:return ln=Vr.sent(),Ln=(bn=ln.Credentials).AccessKeyId,mr=bn.Expiration,pr=bn.SecretKey,Er=bn.SessionToken,this._identityId=xn=ln.IdentityId,mt?(Tn.debug("The guest identity ".concat(mt," has been successfully linked to the logins")),mt===xn&&Tn.debug("The guest identity ".concat(mt," has become the primary identity")),[4,this._removeGuestIdentityId()]):[3,6];case 5:Vr.sent(),Vr.label=6;case 6:return[2,{accessKeyId:Ln,secretAccessKey:pr,sessionToken:Er,expiration:mr,identityId:xn}]}})}).catch(function(mt){return tr(ce,void 0,void 0,function(){return _r(this,function(Rt){throw mt})})});return this._loadCredentials(dt,"userPool",!0,null)},rt.prototype._loadCredentials=function(Ye,ce,Ze,He){var ee=this,it=this;return new Promise(function(Ct,tn){Ye.then(function(se){return tr(ee,void 0,void 0,function(){var Z,Ae,ht,dt,mt;return _r(this,function(Rt){switch(Rt.label){case 0:if(Tn.debug("Load credentials successfully",se),this._identityId&&!se.identityId&&(se.identityId=this._identityId),it._credentials=se,it._credentials.authenticated=Ze,it._credentials_source=ce,it._nextCredentialsRefresh=(new Date).getTime()+3e6,"federated"===ce){Z=Object.assign({id:this._credentials.identityId},He.user),Ae=He.provider,ht=He.token,dt=He.expires_at,mt=He.identity_id;try{this._storage.setItem("aws-amplify-federatedInfo",JSON.stringify({provider:Ae,token:ht,user:Z,expires_at:dt,identity_id:mt}))}catch(on){Tn.debug("Failed to put federated info into auth storage",on)}}return"guest"!==ce?[3,2]:[4,this._setGuestIdentityId(se.identityId)];case 1:Rt.sent(),Rt.label=2;case 2:return Ct(it._credentials),[2]}})})}).catch(function(se){if(se)return Tn.debug("Failed to load credentials",Ye),Tn.debug("Error loading credentials",se),void tn(se)})})},rt.prototype.set=function(Ye,ce){return"session"===ce?this._setCredentialsFromSession(Ye):"federation"===ce?this._setCredentialsFromFederation(Ye):"guest"===ce?this._setCredentialsForGuest():(Tn.debug("no source specified for setting credentials"),Promise.reject("invalid source"))},rt.prototype.clear=function(){return tr(this,void 0,void 0,function(){return _r(this,function(Ye){return this._credentials=null,this._credentials_source=null,Tn.debug("removing aws-amplify-federatedInfo from storage"),this._storage.removeItem("aws-amplify-federatedInfo"),[2]})})},rt.prototype._getGuestIdentityId=function(){return tr(this,void 0,void 0,function(){var Ye,ce;return _r(this,function(Ze){switch(Ze.label){case 0:Ye=this._config.identityPoolId,Ze.label=1;case 1:return Ze.trys.push([1,3,,4]),[4,this._storageSync];case 2:return Ze.sent(),[2,this._storage.getItem(this._getCognitoIdentityIdStorageKey(Ye))];case 3:return ce=Ze.sent(),Tn.debug("Failed to get the cached guest identityId",ce),[3,4];case 4:return[2]}})})},rt.prototype._setGuestIdentityId=function(Ye){return tr(this,void 0,void 0,function(){var ce,Ze;return _r(this,function(He){switch(He.label){case 0:ce=this._config.identityPoolId,He.label=1;case 1:return He.trys.push([1,3,,4]),[4,this._storageSync];case 2:return He.sent(),this._storage.setItem(this._getCognitoIdentityIdStorageKey(ce),Ye),[3,4];case 3:return Ze=He.sent(),Tn.debug("Failed to cache guest identityId",Ze),[3,4];case 4:return[2]}})})},rt.prototype._removeGuestIdentityId=function(){return tr(this,void 0,void 0,function(){var Ye;return _r(this,function(ce){return Tn.debug("removing ".concat(this._getCognitoIdentityIdStorageKey(Ye=this._config.identityPoolId)," from storage")),this._storage.removeItem(this._getCognitoIdentityIdStorageKey(Ye)),[2]})})},rt.prototype.shear=function(Ye){return{accessKeyId:Ye.accessKeyId,sessionToken:Ye.sessionToken,secretAccessKey:Ye.secretAccessKey,identityId:Ye.identityId,authenticated:Ye.authenticated}},rt}(),ji=new Vi(null);Se.H.register(ji)},7560:(Qe,ge,v)=>{"use strict";v.d(ge,{Y:()=>W});var c=v(6606),h=function(){return h=Object.assign||function($){for(var F,k=1,oe=arguments.length;k<oe;k++)for(var x in F=arguments[k])Object.prototype.hasOwnProperty.call(F,x)&&($[x]=
1F[x]);return $},h.apply(this,arguments)},G=function($,F){var k="function"==typeof Symbol&&$[Symbol.iterator];if(!k)return $;var x,le,oe=k.call($),ue=[];try{for(;(void 0===F||F-- >0)&&!(x=oe.next()).done;)ue.push(x.value)}catch(Se){le={error:Se}}finally{try{x&&!x.done&&(k=oe.return)&&k.call(oe)}finally{if(le)throw le.error}}return ue},j=function($,F,k){if(k||2===arguments.length)for(var ue,oe=0,x=F.length;oe<x;oe++)(ue||!(oe in F))&&(ue||(ue=Array.prototype.slice.call(F,0,oe)),ue[oe]=F[oe]);return $.concat(ue||Array.prototype.slice.call(F))},K=new c.C("Hub"),P=typeof Symbol<"u"&&"function"==typeof Symbol.for?Symbol.for("amplify_default"):"@@amplify_default",W=new(function(){function $(F){this.listeners=[],this.patterns=[],this.protectedChannels=["core","auth","api","analytics","interactions","pubsub","storage","ui","xr"],this.name=F}return $.prototype._remove=function(F,k){if(F instanceof RegExp){var oe=this.patterns.find(function(ue){return ue.pattern.source===F.source});if(!oe)return void K.warn("No listeners for ".concat(F));this.patterns=j([],G(this.patterns.filter(function(ue){return ue!==oe})),!1)}else{var x=this.listeners[F];if(!x)return void K.warn("No listeners for ".concat(F));this.listeners[F]=j([],G(x.filter(function(ue){return ue.callback!==k})),!1)}},$.prototype.remove=function(F,k){this._remove(F,k)},$.prototype.dispatch=function(F,k,oe,x){void 0===oe&&(oe=""),this.protectedChannels.indexOf(F)>-1&&(x===P||K.warn("WARNING: ".concat(F," is protected and dispatching on it can have unintended consequences")));var le={channel:F,payload:h({},k),source:oe,patternInfo:[]};try{this._toListeners(le)}catch(Se){K.error(Se)}},$.prototype.listen=function(F,k,oe){var ue,x=this;if(void 0===oe&&(oe="noname"),function R($){return void 0!==$.onHubCapsule}(k))K.warn("WARNING onHubCapsule is Deprecated. Please pass in a callback."),ue=k.onHubCapsule.bind(k);else{if("function"!=typeof k)throw new Error("No callback supplied to Hub");ue=k}
1if(F instanceof RegExp)this.patterns.push({pattern:F,callback:ue});else{var le=this.listeners[F];le||(this.listeners[F]=le=[]),le.push({name:oe,callback:ue})}return function(){x._remove(F,ue)}},$.prototype._toListeners=function(F){var k=F.channel,oe=F.payload,x=this.listeners[k];if(x&&x.forEach(function(le){K.debug("Dispatching to ".concat(k," with "),oe);try{le.callback(F)}catch(Se){K.error(Se)}}),this.patterns.length>0){if(!oe.message)return void K.warn("Cannot perform pattern matching without a message key");var ue=oe.message;this.patterns.forEach(function(le){var Se=ue.match(le.pattern);if(Se){var Re=G(Se).slice(1),Je=h(h({},F),{patternInfo:Re});try{le.callback(Je)}catch(st){K.error(st)}}})}},$}())("__default__")},4576:(Qe,ge,v)=>{"use strict";v.d(ge,{VN:()=>D,gy:()=>$,p7:()=>W});var D=function(x){if(x.isResolved)return x;var ue=!0,le=!1,Se=!1,$e=x.then(function(Re){return Se=!0,ue=!1,Re},function(Re){throw le=!0,ue=!1,Re});return $e.isFullfilled=function(){return Se},$e.isPending=function(){return ue},$e.isRejected=function(){return le},$e},W=function(){if(typeof self>"u")return!1;var x=self;return typeof x.WorkerGlobalScope<"u"&&self instanceof x.WorkerGlobalScope},$=function(){return{isBrowser:typeof window<"u"&&typeof window.document<"u",isNode:typeof process<"u"&&null!=process.versions&&null!=process.versions.node}}},6606:(Qe,ge,v)=>{"use strict";v.d(ge,{C:()=>oe});var W=function(x,ue){var le="function"==typeof Symbol&&x[Symbol.iterator];if(!le)return x;var $e,Je,Se=le.call(x),Re=[];try{for(;(void 0===ue||ue-- >0)&&!($e=Se.next()).done;)Re.push($e.value)}catch(st){Je={error:st}}finally{try{$e&&!$e.done&&(le=Se.return)&&le.call(Se)}finally{if(Je)throw Je.error}}return Re},$=function(x,ue,le){if(le||2===arguments.length)for(var Re,Se=0,$e=ue.length;Se<$e;Se++)(Re||!(Se in ue))&&(Re||(Re=Array.prototype.slice.call(ue,0,Se)),Re[Se]=ue[Se]);return x.concat(Re||Array.prototype.slice.call(ue))},F={VERBOSE:1,DEBUG:2,INFO:3,WARN:4,ERROR:5},k=function(x){return x.DEBUG="DEBUG",x.ERROR="ERROR",x.INFO="INFO",x.WARN="WARN",x.VERBOSE="VERBOSE",x}(k||{}),oe=function(){function x(ue,le){void 0===le&&(le=k.WARN),this.name=ue,this.level=le,this._pluggables=[]}return x.prototype._padding=function(ue){return ue<10?"0"+ue:""+ue},x.prototype._ts=function(){var ue=new Date;return[this._padding(ue.getMinutes()),this._padding(ue.getSeconds())].join(":")+"."+ue.getMilliseconds()},x.prototype.configure=function(ue){return ue?(this._config=ue,this._config):this._config},x.prototype._log=function(ue){for(var le,Se,$e=[],Re=1;Re<arguments.length;Re++)$e[Re-1]=arguments[Re];var Je=this.level;if(x.LOG_LEVEL&&(Je=x.LOG_LEVEL),typeof window<"u"&&window.LOG_LEVEL&&(Je=window.LOG_LEVEL),F[ue]>=F[Je]){var nt=console.log.bind(console);ue===k.ERROR&&console.error&&(nt=console.error.bind(console)),ue===k.WARN&&console.warn&&(nt=console.warn.bind(console));var we="[".concat(ue,"] ").concat(this._ts()," ").concat(this.name),re="";if(1===$e.length&&"string"==typeof $e[0])nt(re="".concat(we," - ").concat($e[0]));else if(1===$e.length)re="".concat(we," ").concat($e[0]),nt(we,$e[0]);else if("string"==typeof $e[0]){var ye=$e.slice(1);1===ye.length&&(ye=ye[0]),re="".concat(we," - ").concat($e[0]," ").concat(ye),nt("".concat(we," - ").concat($e[0]),ye)}else re="".concat(we," ").concat($e),nt(we,$e);try{for(var Me=function(x){var ue="function"==typeof Symbol&&Symbol.iterator,le=ue&&x[ue],Se=0;if(le)return le.call(x);if(x&&"number"==typeof x.length)return{next:function(){return x&&Se>=x.length&&(x=void 0),{value:x&&x[Se++],done:!x}}};throw new TypeError(ue?"Object is not iterable.":"Symbol.iterator is not defined.")}(this._pluggables),Ie=Me.next();!Ie.done;Ie=Me.next()){var We=Ie.value,me={message:re,timestamp:Date.now()};We.pushLogs([me])}}catch(_t){le={error:_t}}finally{try{Ie&&!Ie.done&&(Se=Me.return)&&Se.call(Me)}finally{if(le)throw le.error}}}},x.prototype.log=function(){for(var ue=[],le=0;le<arguments.length;le++)ue[le]=arguments[le];this._log.apply(this,$([k.INFO],W(ue),!1))},x.prototype.info=function(){for(var ue=[],le=0;le<arguments.length;le++)ue[le]=arguments[le];this._log.apply(this,$([k.INFO],W(ue),!1))},x.prototype.warn=function(){for(var ue=[],le=0;le<arguments.length;le++)ue[le]=arguments[le];this._log.apply(this,$([k.WARN],W(ue),!1))},x.prototype.error=function(){for(var ue=[],le=0;le<arguments.length;le++)ue[le]=arguments[le];this._log.apply(this,$([k.ERROR],W(ue),!1))},x.prototype.debug=function(){for(var ue=[],le=0;le<arguments.length;le++)ue[le]=arguments[le];this._log.apply(this,$([k.DEBUG],W(ue),!1))},x.prototype.verbose=function(){for(var ue=[],le=0;le<arguments.length;le++)ue[le]=arguments[le];this._log.apply(this,$([k.VERBOSE],W(ue),!1))},x.prototype.addPluggable=function(ue){ue&&"Logging"===ue.getCategoryName()&&(this._pluggables.push(ue),ue.configure(this._config))},x.prototype.listPluggables=function(){return this._pluggables},x.LOG_LEVEL=null,x}()},5071:(Qe,ge,v)=>{"use strict";v.d(ge,{yl:()=>_t,e9:()=>Yt});var re,c=v(9682),h=function(){return typeof global<"u"},j=function(){return typeof window<"u"},K=function(){return typeof document<"u"},P=function(){return typeof process<"u"},R=function(an,Ut){return!!Object.keys(an).find(function(Xt){return Xt.
1startsWith(Ut)})},nt=[{platform:c.dT.Expo,detectionMethod:function st(){return h()&&typeof global.expo<"u"}},{platform:c.dT.ReactNative,detectionMethod:function Je(){return typeof navigator<"u"&&typeof navigator.product<"u"&&"ReactNative"===navigator.product}},{platform:c.dT.NextJs,detectionMethod:function x(){return j()&&window.next&&"object"==typeof window.next}},{platform:c.dT.Nuxt,detectionMethod:function le(){return j()&&(void 0!==window.__NUXT__||void 0!==window.$nuxt)}},{platform:c.dT.Angular,detectionMethod:function $e(){var an=!(!K()||!document.querySelector("[ng-version]")),Ut=!!(j()&&typeof window.ng<"u");return an||Ut}},{platform:c.dT.React,detectionMethod:function D(){var an=function(rn){return rn.startsWith("_react")||rn.startsWith("__react")};return K()&&Array.from(document.querySelectorAll("[id]")).some(function(rn){return Object.keys(rn).find(an)})}},{platform:c.dT.VueJs,detectionMethod:function $(){return j()&&R(window,"__VUE")}},{platform:c.dT.Svelte,detectionMethod:function k(){return j()&&R(window,"__SVELTE")}},{platform:c.dT.WebUnknown,detectionMethod:function at(){return j()}},{platform:c.dT.NextJsSSR,detectionMethod:function ue(){return h()&&(R(global,"__next")||R(global,"__NEXT"))}},{platform:c.dT.NuxtSSR,detectionMethod:function Se(){return h()&&typeof global.__NUXT_PATHS__<"u"}},{platform:c.dT.ReactSSR,detectionMethod:function W(){return P()&&typeof process.env<"u"&&!!Object.keys(process.env).find(function(an){return an.includes("react")})}},{platform:c.dT.VueJsSSR,detectionMethod:function F(){return h()&&R(global,"__VUE")}},{platform:c.dT.AngularSSR,detectionMethod:function Re(){var an;return P()&&"object"==typeof process.env&&(null===(an=process.env.npm_lifecycle_script)||void 0===an?void 0:an.startsWith("ng "))||!1}},{platform:c.dT.SvelteSSR,detectionMethod:function oe(){return P()&&typeof process.env<"u"&&!!Object.keys(process.env).find(function(an){return an.includes("svelte")})}}],ye=[],Me=!1,_t=function(){if(!re){if(re=function we(){var an;return(null===(an=nt.find(function(Ut){return Ut.detectionMethod()}))||void 0===an?void 0:an.platform)||c.dT.ServerSideUnknown}(),Me)for(;ye.length;)ye.pop()();else ye.forEach(function(an){return an()});Gt(c.dT.ServerSideUnknown,10),Gt(c.dT.WebUnknown,10)}return re},Yt=function(an){Me||ye.push(an)};function Gt(an,Ut){re===an&&!Me&&setTimeout(function(){(function vn(){re=void 0})(),Me=!0,setTimeout(_t,1e3)},Ut)}},754:(Qe,ge,v)=>{"use strict";v.d(ge,{OD:()=>R,fE:()=>W});var c=v(9682),h="5.3.21",G=v(5071),K="aws-amplify",R=new(function(){function $(){this.userAgent="".concat(K,"/").concat(h)}return Object.defineProperty($.prototype,"framework",{get:function(){return(0,G.yl)()},enumerable:!1,configurable:!0}),Object.defineProperty($.prototype,"isReactNative",{get:function(){return this.framework===c.dT.ReactNative||this.framework===c.dT.Expo},enumerable:!1,configurable:!0}),$.prototype.observeFrameworkChanges=function(F){(0,G.e9)(F)},$}()),W=function($){var F=function($){var F=void 0===$?{}:$,k=F.category,ue=[[K,h]];return k&&ue.push([k,F.action]),ue.push(["framework",(0,G.yl)()]),ue}($),k=F.map(function(oe){var x=function($,F){var k="function"==typeof Symbol&&$[Symbol.iterator];if(!k)return $;var x,le,oe=k.call($),ue=[];try{for(;(void 0===F||F-- >0)&&!(x=oe.next()).done;)ue.push(x.value)}catch(Se){le={error:Se}}finally{try{x&&!x.done&&(k=oe.return)&&k.call(oe)}finally{if(le)throw le.error}}return ue}(oe,2),le=x[1];return"".concat(x[0],"/").concat(le)}).join(" ");return k}},9682:(Qe,ge,v)=>{"use strict";v.d(ge,{BM:()=>K,Fu:()=>j,Mv:()=>F,b7:()=>h,dT:()=>c});var c=function(x){return x.WebUnknown="0",x.React="1",x.NextJs="2",x.Angular="3",x.VueJs="4",x.Nuxt="5",x.Svelte="6",x.ServerSideUnknown="100",x.ReactSSR="101",x.NextJsSSR="102",x.AngularSSR="103",x.VueJsSSR="104",x.NuxtSSR="105",x.SvelteSSR="106",x.ReactNative="201",x.Expo="202",x}(c||{}),h=function(x){return x.API="api",x.Auth="auth",x.Analytics="analytics",x.DataStore="datastore",x.Geo="geo",x.InAppMessaging="inappmessaging",x.Interactions="interactions",x.Predictions="predictions",x.PubSub="pubsub",x.PushNotification="pushnotification",x.Storage="storage",x}(h||{}),j=function(x){return x.GraphQl="1",x.Get="2",x.Post="3",x.Put="4",x.Patch="5",x.Del="6",x.Head="7",x}(j||{}),K=function(x){return x.FederatedSignIn="30",x}(K||{}),F=function(x){return x.Subscribe="1",x}(F||{})},5925:(Qe,ge,v)=>{"use strict";v.d(ge,{i:()=>G});var c={},h=function(){function j(){}return j.setItem=function(K,P){return c[K]=P,c[K]},j.getItem=function(K){return Object.prototype.hasOwnProperty.call(c,K)?c[K]:void 0},j.removeItem=function(K){return delete c[K]},j.clear=function(){return c={}},j}(),G=function(){function j(){try{this.storageWindow=window.localStorage,this.storageWindow.setItem("aws.amplify.test-ls",1),this.storageWindow.removeItem("aws.amplify.test-ls")}catch{this.storageWindow=h}}return j.prototype.getStorage=function(){return this.storageWindow},j}()},1250:(Qe,ge,v)=>{"use strict";v.d(ge,{OI:()=>D,gD:()=>W,hu:()=>oe,yN:()=>k});var c=v(6606),h=function(){var x=function(ue,le){return(x=Object.
1setPrototypeOf||{__proto__:[]}instanceof Array&&function(Se,$e){Se.__proto__=$e}||function(Se,$e){for(var Re in $e)Object.prototype.hasOwnProperty.call($e,Re)&&(Se[Re]=$e[Re])})(ue,le)};return function(ue,le){if("function"!=typeof le&&null!==le)throw new TypeError("Class extends value "+String(le)+" is not a constructor or null");function Se(){this.constructor=ue}x(ue,le),ue.prototype=null===le?Object.create(le):(Se.prototype=le.prototype,new Se)}}(),G=function(x,ue,le,Se){return new(le||(le=Promise))(function(Re,Je){function st(we){try{nt(Se.next(we))}catch(re){Je(re)}}function at(we){try{nt(Se.throw(we))}catch(re){Je(re)}}function nt(we){we.done?Re(we.value):function $e(Re){return Re instanceof le?Re:new le(function(Je){Je(Re)})}(we.value).then(st,at)}nt((Se=Se.apply(x,ue||[])).next())})},j=function(x,ue){var Se,$e,Re,Je,le={label:0,sent:function(){if(1&Re[0])throw Re[1];return Re[1]},trys:[],ops:[]};return Je={next:st(0),throw:st(1),return:st(2)},"function"==typeof Symbol&&(Je[Symbol.iterator]=function(){return this}),Je;function st(nt){return function(we){return function at(nt){if(Se)throw new TypeError("Generator is already executing.");for(;Je&&(Je=0,nt[0]&&(le=0)),le;)try{if(Se=1,$e&&(Re=2&nt[0]?$e.return:nt[0]?$e.throw||((Re=$e.return)&&Re.call($e),0):$e.next)&&!(Re=Re.call($e,nt[1])).done)return Re;switch($e=0,Re&&(nt=[2&nt[0],Re.value]),nt[0]){case 0:case 1:Re=nt;break;case 4:return le.label++,{value:nt[1],done:!1};case 5:le.label++,$e=nt[1],nt=[0];continue;case 7:nt=le.ops.pop(),le.trys.pop();continue;default:if(!(Re=(Re=le.trys).length>0&&Re[Re.length-1])&&(6===nt[0]||2===nt[0])){le=0;continue}if(3===nt[0]&&(!Re||nt[1]>Re[0]&&nt[1]<Re[3])){le.label=nt[1];break}if(6===nt[0]&&le.label<Re[1]){le.label=Re[1],Re=nt;break}if(Re&&le.label<Re[2]){le.label=Re[2],le.ops.push(nt);break}Re[2]&&le.ops.pop(),le.trys.pop();continue}nt=ue.call(x,le)}catch(we){nt=[6,we],$e=0}finally{Se=Re=0}if(5&nt[0])throw nt[1];return{value:nt[0]?nt[1]:void 0,done:!0}}([nt,we])}}},K=function(x,ue){var le="function"==typeof Symbol&&x[Symbol.iterator];if(!le)return x;var $e,Je,Se=le.call(x),Re=[];try{for(;(void 0===ue||ue-- >0)&&!($e=Se.next()).done;)Re.push($e.value)}catch(st){Je={error:st}}finally{try{$e&&!$e.done&&(le=Se.return)&&le.call(Se)}finally{if(Je)throw Je.error}}return Re},P=function(x,ue,le){if(le||2===arguments.length)for(var Re,Se=0,$e=ue.length;Se<$e;Se++)(Re||!(Se in ue))&&(Re||(Re=Array.prototype.slice.call(ue,0,Se)),Re[Se]=ue[Se]);return x.concat(Re||Array.prototype.slice.call(ue))},R=new c.C("Util"),D=function(x){function ue(le){var Se=x.call(this,le)||this;return Se.nonRetryable=!0,Se}return h(ue,x),ue}(Error),W=function(x){return x&&x.nonRetryable},F=3e5;function k(x){return void 0===x&&(x=F),function(Se){var $e=100*Math.pow(2,Se)+100*Math.random();return!($e>x)&&$e}}var oe=function(x,ue,le,Se){return void 0===le&&(le=F),function $(x,ue,le,Se){return G(this,void 0,void 0,function(){var $e=this;return j(this,function(Re){if("function"!=typeof x)throw Error("functionToRetry must be a function");return[2,new Promise(function(Je,st){return G($e,void 0,void 0,function(){var at,nt,we,re,ye,Me,Ie;return j(this,function(We){switch(We.label){case 0:at=0,nt=!1,re=function(){},Se&&Se.then(function(){nt=!0,clearTimeout(we),re()}),Me=function(){var me,_t,Yt,vn;return j(this,function(Gt){switch(Gt.label){case 0:at++,R.debug("".concat(x.name," attempt #").concat(at," with this vars: ").concat(JSON.stringify(ue))),Gt.label=1;case 1:return Gt.trys.push([1,3,,7]),me={},_t=Je,[4,x.apply(void 0,P([],K(ue),!1))];case 2:return[2,(me.value=_t.apply(void 0,[Gt.sent()]),me)];case 3:return Yt=Gt.sent(),ye=Yt,R.debug("error on ".concat(x.name),Yt),W(Yt)?(R.debug("".concat(x.name," non retryable error"),Yt),[2,{value:st(Yt)}]):(vn=le(at,ue,Yt),R.debug("".concat(x.name," retrying in ").concat(vn," ms")),!1===vn||nt?[2,{value:st(Yt)}]:[3,4]);case 4:return[4,new Promise(function(an){re=an,we=setTimeout(re,vn)})];case 5:Gt.sent(),Gt.label=6;case 6:return[3,7];case 7:return[2]}})},We.label=1;case 1:return nt?[3,3]:[5,Me()];case 2:return"object"==typeof(Ie=We.sent())?[2,Ie.value]:[3,1];case 3:return st(ye),[2]}})})})]})})}(x,ue,k(le),Se)}},946:(Qe,ge,v)=>{"use strict";v.d(ge,{Y:()=>G,b:()=>h});var h=typeof Symbol<"u"&&"function"==typeof Symbol.for?Symbol.for("INT
1ERNAL_AWS_APPSYNC_REALTIME_PUBSUB_PROVIDER"):"@@INTERNAL_AWS_APPSYNC_REALTIME_PUBSUB_PROVIDER",G="x-amz-user-agent"},9260:(Qe,ge,v)=>{"use strict";v.d(ge,{s:()=>j});var c=v(6606),h=function(){return h=Object.assign||function(K){for(var P,R=1,D=arguments.length;R<D;R++)for(var W in P=arguments[R])Object.prototype.hasOwnProperty.call(P,W)&&(K[W]=P[W]);return K},h.apply(this,arguments)},G=new c.C("Parser"),j=function(K){var D,P={};return K.aws_mobile_analytics_app_id&&(P.Analytics={AWSPinpoint:{appId:K.aws_mobile_analytics_app_id,region:K.aws_mobile_analytics_app_region}}),(K.aws_cognito_identity_pool_id||K.aws_user_pools_id)&&(P.Auth={userPoolId:K.aws_user_pools_id,userPoolWebClientId:K.aws_user_pools_web_client_id,region:K.aws_cognito_region,identityPoolId:K.aws_cognito_identity_pool_id,identityPoolRegion:K.aws_cognito_region,mandatorySignIn:"enable"===K.aws_mandatory_sign_in,signUpVerificationMethod:K.aws_cognito_sign_up_verification_method||"code"}),D=K.aws_user_files_s3_bucket?{AWSS3:{bucket:K.aws_user_files_s3_bucket,region:K.aws_user_files_s3_bucket_region,dangerouslyConnectToHttpEndpointForTesting:K.aws_user_files_s3_dangerously_connect_to_http_endpoint_for_testing}}:K?K.Storage||K:{},K.Logging&&(P.Logging=h(h({},K.Logging),{region:K.aws_project_region})),K.geo&&(P.Geo=Object.assign({},K.geo),K.geo.amazon_location_service&&(P.Geo={AmazonLocationService:K.geo.amazon_location_service})),P.Analytics=Object.assign({},P.Analytics,K.Analytics),P.Auth=Object.assign({},P.Auth,K.Auth),P.Storage=Object.assign({},D),P.Logging=Object.assign({},P.Logging,K.Logging),G.debug("parse config",K,"to amplifyconfig",P),P}},6886:(Qe,ge,v)=>{"use strict";Object.defineProperty(ge,"__esModule",{value:!0}),ge.RawSha256=void 0;var c=v(6770),h=function(){function G(){this.state=Int32Array.from(c.INIT),this.temp=new Int32Array(64),this.buffer=new Uint8Array(64),this.bufferLength=0,this.bytesHashed=0,this.finished=!1}return G.prototype.update=function(j){if(this.finished)throw new Error("Attempted to update an already finished hash.");var K=0,P=j.byteLength;if(this.bytesHashed+=P,8*this.bytesHashed>c.MAX_HASHABLE_LENGTH)throw new Error("Cannot hash more than 2^53 - 1 bits");for(;P>0;)this.buffer[this.bufferLength++]=j[K++],P--,this.bufferLength===c.BLOCK_SIZE&&(this.hashBuffer(),this.bufferLength=0)},G.prototype.digest=function(){if(!this.finished){var j=8*this.bytesHashed,K=new DataView(this.buffer.buffer,this.buffer.byteOffset,this.buffer.byteLength),P=this.bufferLength;if(K.setUint8(this.bufferLength++,128),P%c.BLOCK_SIZE>=c.BLOCK_SIZE-8){for(var R=this.bufferLength;R<c.BLOCK_SIZE;R++)K.setUint8(R,0);this.hashBuffer(),this.bufferLength=0}for(R=this.bufferLength;R<c.BLOCK_SIZE-8;R++)K.setUint8(R,0);K.setUint32(c.BLOCK_SIZE-8,Math.floor(j/4294967296),!0),K.setUint32(c.BLOCK_SIZE-4,j),this.hashBuffer(),this.finished=!0}var D=new Uint8Array(c.DIGEST_LENGTH);for(R=0;R<8;R++)D[4*R]=this.state[R]>>>24&255,D[4*R+1]=this.state[R]>>>16&255,D[4*R+2]=this.state[R]>>>8&255,D[4*R+3]=this.state[R]>>>0&255;return D},G.prototype.hashBuffer=function(){for(var K=this.buffer,P=this.state,R=P[0],D=P[1],W=P[2],$=P[3],F=P[4],k=P[5],oe=P[6],x=P[7],ue=0;ue<c.BLOCK_SIZE;ue++){if(ue<16)this.temp[ue]=(255&K[4*ue])<<24|(255&K[4*ue+1])<<16|(255&K[4*ue+2])<<8|255&K[4*ue+3];else{var le=this.temp[ue-2];this.temp[ue]=(((le>>>17|le<<15)^(le>>>19|le<<13)^le>>>10)+this.temp[ue-7]|0)+((((le=this.temp[ue-15])>>>7|le<<25)^(le>>>18|le<<14)^le>>>3)+this.temp[ue-16]|0)}var Re=(((F>>>6|F<<26)^(F>>>11|F<<21)^(F>>>25|F<<7))+(F&k^~F&oe)|0)+(x+(c.KEY[ue]+this.temp[ue]|0)|0)|0,Je=((R>>>2|R<<30)^(R>>>13|R<<19)^(R>>>22|R<<10))+(R&D^R&W^D&W)|0;x=oe,oe=k,k=F,F=$+Re|0,$=W,W=D,D=R,R=Re+Je|0}P[0]+=R,P[1]+=D,P[2]+=W,P[3]+=$,P[4]+=F,P[5]+=k,P[6]+=oe,P[7]+=x},G}();ge.RawSha256=h},6770:(Qe,ge)=>{"use strict";Object.defineProperty(ge,"__esModule",{value:!0}),ge.MAX_HASHABLE_LENGTH=ge.INIT=ge.KEY=ge.DIGEST_LENGTH=ge.BLOCK_SIZE=void 0,ge.BLOCK_SIZE=64,ge.DIGEST_LENGTH=32,ge.KEY=new Uint32Array([1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756
1734187,3204031479,3329325298]),ge.INIT=[1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225],ge.MAX_HASHABLE_LENGTH=Math.pow(2,53)-1},3967:(Qe,ge,v)=>{"use strict";Object.defineProperty(ge,"__esModule",{value:!0}),(0,v(141).__exportStar)(v(7011),ge)},7011:(Qe,ge,v)=>{"use strict";Object.defineProperty(ge,"__esModule",{value:!0}),ge.Sha256=void 0;var c=v(141),h=v(6770),G=v(6886),j=v(5312),K=function(){function R(D){if(this.hash=new G.RawSha256,D){this.outer=new G.RawSha256;var W=function P(R){var D=(0,j.convertToBuffer)(R);if(D.byteLength>h.BLOCK_SIZE){var W=new G.RawSha256;W.update(D),D=W.digest()}var $=new Uint8Array(h.BLOCK_SIZE);return $.set(D),$}(D),$=new Uint8Array(h.BLOCK_SIZE);$.set(W);for(var F=0;F<h.BLOCK_SIZE;F++)W[F]^=54,$[F]^=92;for(this.hash.update(W),this.outer.update($),F=0;F<W.byteLength;F++)W[F]=0}}return R.prototype.update=function(D){if(!(0,j.isEmptyData)(D)&&!this.error)try{this.hash.update((0,j.convertToBuffer)(D))}catch(W){this.error=W}},R.prototype.digestSync=function(){if(this.error)throw this.error;return this.outer?(this.outer.finished||this.outer.update(this.hash.digest()),this.outer.digest()):this.hash.digest()},R.prototype.digest=function(){return(0,c.__awaiter)(this,void 0,void 0,function(){return(0,c.__generator)(this,function(D){return[2,this.digestSync()]})})},R}();ge.Sha256=K},2164:(Qe,ge,v)=>{"use strict";Object.defineProperty(ge,"__esModule",{value:!0}),ge.convertToBuffer=void 0;var c=v(935),h=typeof Buffer<"u"&&Buffer.from?function(j){return Buffer.from(j,"utf8")}:c.fromUtf8;ge.convertToBuffer=function G(j){return j instanceof Uint8Array?j:"string"==typeof j?h(j):ArrayBuffer.isView(j)?new Uint8Array(j.buffer,j.byteOffset,j.byteLength/Uint8Array.BYTES_PER_ELEMENT):new Uint8Array(j)}},5312:(Qe,ge,v)=>{"use strict";Object.defineProperty(ge,"__esModule",{value:!0}),ge.uint32ArrayFrom=ge.numToUint8=ge.isEmptyData=ge.convertToBuffer=void 0;var c=v(2164);Object.defineProperty(ge,"convertToBuffer",{enumerable:!0,get:function(){return c.convertToBuffer}});var h=v(1657);Object.defineProperty(ge,"isEmptyData",{enumerable:!0,get:function(){return h.isEmptyData}});var G=v(6057);Object.defineProperty(ge,"numToUint8",{enumerable:!0,get:function(){return G.numToUint8}});var j=v(5066);Object.defineProperty(ge,"uint32ArrayFrom",{enumerable:!0,get:function(){return j.uint32ArrayFrom}})},1657:(Qe,ge)=>{"use strict";Object.defineProperty(ge,"__esModule",{value:!0}),ge.isEmptyData=void 0,ge.isEmptyData=function v(c){return"string"==typeof c?0===c.length:0===c.byteLength}},6057:(Qe,ge)=>{"use strict";Object.defineProperty(ge,"__esModule",{value:!0}),ge.numToUint8=void 0,ge.numToUint8=function v(c){return new Uint8Array([(4278190080&c)>>24,(16711680&c)>>16,(65280&c)>>8,255&c])}},5066:(Qe,ge)=>{"use strict";Object.defineProperty(ge,"__esModule",{value:!0}),ge.uint32ArrayFrom=void 0,ge.uint32ArrayFrom=function v(c){if(!Array.from){for(var h=new Uint32Array(c.length);0<c.length;)h[0]=c[0];return h}return Uint32Array.from(c)}},935:(Qe,ge,v)=>{"use strict";v.r(ge),v.d(ge,{fromUtf8:()=>K,toUtf8:()=>P});var K=function(R){return"function"==typeof TextEncoder?function G(R){return(new TextEncoder).encode(R)}(R):function(R){for(var D=[],W=0,$=R.length;W<$;W++){var F=R.charCodeAt(W);if(F<128)D.push(F);else if(F<2048)D.push(F>>6|192,63&F|128);else if(W+1<R.length&&55296==(64512&F)&&56320==(64512&R.charCodeAt(W+1))){var k=65536+((1023&F)<<10)+(1023&R.charCodeAt(++W));D.push(k>>18|240,k>>12&63|128,k>>6&63|128,63&k|128)}else D.push(F>>12|224,F>>6&63|128,63&F|128)}return Uint8Array.from(D)}(R)},P=function(R){return"function"==typeof TextDecoder?function j(R){return new TextDecoder("utf-8").decode(R)}(R):function(R){for(var D="",W=0,$=R.length;W<$;W++){var F=R[W];if(F<128)D+=String.fromCharCode(F);else if(192<=F&&F<224){var k=R[++W];D+=String.fromCharCode((31&F)<<6|63&k)}else if(240<=F&&F<365){var x="%"+[F,R[++W],R[++W],R[++W]].map(function(ue){return ue.toString(16)}).join("%");D+=decodeURIComponent(x)}else D+=String.fromCharCode((15&F)<<12|(63&R[++W])<<6|63&R[++W])}return D}(R)}},5677:(Qe,ge,v)=>{Qe.exports=v(3731)},8156:(Qe,ge,v)=>{"use strict";var c=v(7392),h=v(4126),G=v(9968),j=v(3710),K=v(8011),P=v(3008),R=v(5950),D=v(6023),W=v(4020),$=v(5484);Qe.exports=function(k){return new Promise(function(x,ue){var Re,le=k.data,Se=k.headers,$e=k.responseType;function Je(){k.cancelToken&&k.cancelToken.unsubscribe(Re),k.signal&&k.signal.removeEventListener("abort",Re)}c.isFormData(le)&&delete Se["Content-Type"];var st=new XMLHttpRequest;if(k.auth){var at=k.auth.username||"",nt=k.auth.password?unescape(encodeURIComponent(k.auth.password)):"";Se.Authorization="Basic "+btoa(at+":"+nt)}var we=K(k.baseURL,k.url);function re(){if(st){var Me="getAllResponseHeaders"in st?P(st.getAllResponseHeaders()):null;h(function(_t){x(_t),Je()},function(_t){ue(_t),Je()},{data:$e&&"text"!==$e&&"json"!==$e?st.response:st.responseText,status:st.status,statusText:st.statusText,headers:Me,config:k,request:st}),st=null}}if(st.open(k.method.toUpperCase(),j(we,k.params,k.paramsSerializer),!0),st.timeout=k.timeout,"onloadend"in st?st.onloadend=re:st.onreadystatechange=function(){!st||4!==st.readyState||0===st.status&&(!st.responseURL||0!==st.responseURL.indexOf("file:"))||setTimeout(re)},st.onabort=function(){st&&(ue(D("Request aborted",k,"ECONNABORTED",st)),st=null)},st.onerror=function(){ue(D("Network Error",k,null,st)),st=null},st.ontimeout=function(){var Ie=k.timeout?"timeout of "+k.timeout+"ms exceeded":"timeout exceeded";k.timeoutErrorMessage&&(Ie=k.timeoutErrorMessage),ue(D(Ie,k,(k.transitional||W).clarifyTimeoutError?"ETIMEDOUT":"ECONNABORTED",st)),st=null},c.isStandardBrowserEnv()){var ye=(k.withCredentials||R(we))&&k.xsrfCookieName?G.read(k.xsrfCookieName):void 0;ye&&(Se[k.xsrfHeaderName]=ye)}
1"setRequestHeader"in st&&c.forEach(Se,function(Ie,We){typeof le>"u"&&"content-type"===We.toLowerCase()?delete Se[We]:st.setRequestHeader(We,Ie)}),c.isUndefined(k.withCredentials)||(st.withCredentials=!!k.withCredentials),$e&&"json"!==$e&&(st.responseType=k.responseType),"function"==typeof k.onDownloadProgress&&st.addEventListener("progress",k.onDownloadProgress),"function"==typeof k.onUploadProgress&&st.upload&&st.upload.addEventListener("progress",k.onUploadProgress),(k.cancelToken||k.signal)&&(Re=function(Me){st&&(ue(!Me||Me&&Me.type?new $("canceled"):Me),st.abort(),st=null)},k.cancelToken&&k.cancelToken.subscribe(Re),k.signal&&(k.signal.aborted?Re():k.signal.addEventListener("abort",Re))),le||(le=null),st.send(le)})}},3731:(Qe,ge,v)=>{"use strict";var c=v(7392),h=v(2072),G=v(7191),j=v(6571),R=function P(D){var W=new G(D),$=h(G.prototype.request,W);return c.extend($,G.prototype,W),c.extend($,W),$.create=function(k){return P(j(D,k))},$}(v(4200));R.Axios=G,R.Cancel=v(5484),R.CancelToken=v(2243),R.isCancel=v(3596),R.VERSION=v(317).version,R.all=function(W){return Promise.all(W)},R.spread=v(4528),R.isAxiosError=v(7991),Qe.exports=R,Qe.exports.default=R},5484:Qe=>{"use strict";function ge(v){this.message=v}ge.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},ge.prototype.__CANCEL__=!0,Qe.exports=ge},2243:(Qe,ge,v)=>{"use strict";var c=v(5484);function h(G){if("function"!=typeof G)throw new TypeError("executor must be a function.");var j;this.promise=new Promise(function(R){j=R});var K=this;this.promise.then(function(P){if(K._listeners){var R,D=K._listeners.length;for(R=0;R<D;R++)K._listeners[R](P);K._listeners=null}}),this.promise.then=function(P){var R,D=new Promise(function(W){K.subscribe(W),R=W}).then(P);return D.cancel=function(){K.unsubscribe(R)},D},G(function(R){K.reason||(K.reason=new c(R),j(K.reason))})}h.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},h.prototype.subscribe=function(j){this.reason?j(this.reason):this._listeners?this._listeners.push(j):this._listeners=[j]},h.prototype.unsubscribe=function(j){if(this._listeners){var K=this._listeners.indexOf(j);-1!==K&&this._listeners.splice(K,1)}},h.source=function(){var j;return{token:new h(function(R){j=R}),cancel:j}},Qe.exports=h},3596:Qe=>{"use strict";Qe.exports=function(v){return!(!v||!v.__CANCEL__)}},7191:(Qe,ge,v)=>{"use strict";var c=v(7392),h=v(3710),G=v(2739),j=v(1574),K=v(6571),P=v(173),R=P.validators;function D(W){this.defaults=W,this.interceptors={request:new G,response:new G}}D.prototype.request=function($,F){"string"==typeof $?(F=F||{}).url=$:F=$||{},(F=K(this.defaults,F)).method=F.method?F.method.toLowerCase():this.defaults.method?this.defaults.method.toLowerCase():"get";var k=F.transitional;void 0!==k&&P.assertOptions(k,{silentJSONParsing:R.transitional(R.boolean),forcedJSONParsing:R.transitional(R.boolean),clarifyTimeoutError:R.transitional(R.boolean)},!1);var oe=[],x=!0;this.interceptors.request.forEach(function(at){"function"==typeof at.runWhen&&!1===at.runWhen(F)||(x=x&&at.synchronous,oe.unshift(at.fulfilled,at.rejected))});var le,ue=[];
vendor: 1,176 bytes, line 1
1if(this.interceptors.response.forEach(function(at){ue.push(at.fulfilled,at.rejected)}),!x){var Se=[j,void 0];for(Array.prototype.unshift.apply(Se,oe),Se=Se.concat(ue),le=Promise.resolve(F);Se.length;)le=le.then(Se.shift(),Se.shift());return le}for(var $e=F;oe.length;){var Re=oe.shift(),Je=oe.shift();try{$e=Re($e)}catch(st){Je(st);break}}try{le=j($e)}catch(st){return Promise.reject(st)}for(;ue.length;)le=le.then(ue.shift(),ue.shift());return le},D.prototype.getUri=function($){return $=K(this.defaults,$),h($.url,$.params,$.paramsSerializer).replace(/^\?/,"")},c.forEach(["delete","get","head","options"],function($){D.prototype[$]=function(F,k){return this.request(K(k||{},{method:$,url:F,data:(k||{}).data}))}}),c.forEach(["post","put","patch"],function($){D.prototype[$]=function(F,k,oe){return this.request(K(oe||{},{method:$,url:F,data:k}))}}),Qe.exports=D},2739:(Qe,ge,v)=>{"use strict";var c=v(7392);function h(){this.handlers=[]}h.prototype.use=function(j,K,P){return this.handlers.push({fulfilled:j,rejected:K,synchronous:!!P&&P.synchronous,runWhen:P?P.runWhen:null}),this.handlers.length-1},h.prototype.eject=function(j){this.handlers[j]&&(this.handlers[j]=null)}
1,h.prototype.forEach=function(j){c.forEach(this.handlers,function(P){null!==P&&j(P)})},Qe.exports=h},8011:(Qe,ge,v)=>{"use strict";var c=v(3061),h=v(3796);Qe.exports=function(j,K){return j&&!c(K)?h(j,K):K}},6023:(Qe,ge,v)=>{"use strict";var c=v(8058);Qe.exports=function(G,j,K,P,R){var D=new Error(G);return c(D,j,K,P,R)}},1574:(Qe,ge,v)=>{"use strict";var c=v(7392),h=v(3493),G=v(3596),j=v(4200),K=v(5484);function P(R){if(R.cancelToken&&R.cancelToken.throwIfRequested(),R.signal&&R.signal.aborted)throw new K("canceled")}Qe.exports=function(D){return P(D),D.headers=D.headers||{},D.data=h.call(D,D.data,D.headers,D.transformRequest),D.headers=c.merge(D.headers.common||{},D.headers[D.method]||{},D.headers),c.forEach(["delete","get","head","post","put","patch","common"],function(F){delete D.headers[F]}),(D.adapter||j.adapter)(D).then(function(F){return P(D),F.data=h.call(D,F.data,F.headers,D.transformResponse),F},function(F){return G(F)||(P(D),F&&F.response&&(F.response.data=h.call(D,F.response.data,F.response.headers,D.transformResponse))),Promise.reject(F)})}},8058:Qe=>{"use strict";Qe.exports=function(v,c,h,G,j){return v.config=c,h&&(v.code=h),v.request=G,v.response=j,v.isAxiosError=!0,v.toJSON=function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code,status:this.response&&this.response.status?this.response.status:null}},v}},6571:(Qe,ge,v)=>{"use strict";var c=v(7392);Qe.exports=function(G,j){j=j||{};var K={};function P(k,oe){return c.isPlainObject(k)&&c.isPlainObject(oe)?c.merge(k,oe):c.isPlainObject(oe)?c.merge({},oe):c.isArray(oe)?oe.slice():oe}function R(k){return c.isUndefined(j[k])?c.isUndefined(G[k])?void 0:P(void 0,G[k]):P(G[k],j[k])}function D(k){if(!c.isUndefined(j[k]))return P(void 0,j[k])}function W(k){return c.isUndefined(j[k])?c.isUndefined(G[k])?void 0:P(void 0,G[k]):P(void 0,j[k])}function $(k){return k in j?P(G[k],j[k]):k in G?P(void 0,G[k]):void 0}var F={url:D,method:D,data:D,baseURL:W,transformRequest:W,transformResponse:W,paramsSerializer:W,timeout:W,timeoutMessage:W,withCredentials:W,adapter:W,responseType:W,xsrfCookieName:W,xsrfHeaderName:W,onUploadProgress:W,onDownloadProgress:W,decompress:W,maxContentLength:W,maxBodyLength:W,transport:W,httpAgent:W,httpsAgent:W,cancelToken:W,socketPath:W,responseEncoding:W,validateStatus:$};return c.forEach(Object.keys(G).concat(Object.keys(j)),function(oe){var x=F[oe]||R,ue=x(oe);c.isUndefined(ue)&&x!==$||(K[oe]=ue)}),K}},4126:(Qe,ge,v)=>{"use strict";var c=v(6023);Qe.exports=function(G,j,K){var P=K.config.validateStatus;K.status&&P&&!P(K.status)?j(c("Request failed with status code "+K.status,K.config,null,K.request,K)):G(K)}},3493:(Qe,ge,v)=>{"use strict";var c=v(7392),h=v(4200);Qe.exports=function(j,K,P){var R=this||h;return c.forEach(P,function(W){j=W.call(R,j,K)}),j}},4200:(Qe,ge,v)=>{"use strict";var c=v(7392),h=v(3790),G=v(8058),j=v(4020),K={"Content-Type":"application/x-www-form-urlencoded"};function P($,F){!c.isUndefined($)&&c.isUndefined($["Content-Type"])&&($["Content-Type"]=F)}var W={transitional:j,adapter:function R(){var $;return(typeof XMLHttpRequest<"u"||typeof process<"u"&&"[object process]"===Object.prototype.toString.call(process))&&($=v(8156)),$}(),transformRequest:[function(F,k){return h(k,"Accept"),h(k,"Content-Type"),c.isFormData(F)||c.isArrayBuffer(F)||c.isBuffer(F)||c.isStream(F)||c.isFile(F)||c.isBlob(F)?F:c.isArrayBufferView(F)?F.buffer:c.isURLSearchParams(F)?(P(k,"application/x-www-form-urlencoded;charset=utf-8"),F.toString()):c.isObject(F)||k&&"application/json"===k["Content-Type"]?(P(k,"application/json"),function D($,F,k){if(c.isString($))try{return(F||JSON.parse)($),c.trim($)}catch(oe){if("SyntaxError"!==oe.name)throw oe}return(k||JSON.stringify)($)}(F)):F}],transformResponse:[function(F){var k=this.transitional||W.transitional,ue=!(k&&k.silentJSONParsing)&&"json"===this.responseType;if(ue||k&&k.forcedJSONParsing&&c.isString(F)&&F.length)try{return JSON.parse(F)}catch(le){if(ue)throw"SyntaxError"===le.name?G(le,this,"E_JSON_PARSE"):le}return F}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,validateStatus:function(F){return F>=200&&F<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};
1c.forEach(["delete","get","head"],function(F){W.headers[F]={}}),c.forEach(["post","put","patch"],function(F){W.headers[F]=c.merge(K)}),Qe.exports=W},4020:Qe=>{"use strict";Qe.exports={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1}},317:Qe=>{Qe.exports={version:"0.26.1"}},2072:Qe=>{"use strict";Qe.exports=function(v,c){return function(){for(var G=new Array(arguments.length),j=0;j<G.length;j++)G[j]=arguments[j];return v.apply(c,G)}}},3710:(Qe,ge,v)=>{"use strict";var c=v(7392);function h(G){return encodeURIComponent(G).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}Qe.exports=function(j,K,P){if(!K)return j;var R;if(P)R=P(K);else if(c.isURLSearchParams(K))R=K.toString();else{var D=[];c.forEach(K,function(F,k){null===F||typeof F>"u"||(c.isArray(F)?k+="[]":F=[F],c.forEach(F,function(x){c.isDate(x)?x=x.toISOString():c.isObject(x)&&(x=JSON.stringify(x)),D.push(h(k)+"="+h(x))}))}),R=D.join("&")}if(R){var W=j.indexOf("#");-1!==W&&(j=j.slice(0,W)),j+=(-1===j.indexOf("?")?"?":"&")+R}return j}},3796:Qe=>{"use strict";Qe.exports=function(v,c){return c?v.replace(/\/+$/,"")+"/"+c.replace(/^\/+/,""):v}},9968:(Qe,ge,v)=>{"use strict";var c=v(7392);Qe.exports=c.isStandardBrowserEnv()?function(){return{write:function(j,K,P,R,D,W){var $=[];$.push(j+"="+encodeURIComponent(K)),c.isNumber(P)&&$.push("expires="+new Date(P).toGMTString()),c.isString(R)&&$.push("path="+R),c.isString(D)&&$.push("domain="+D),!0===W&&$.push("secure"),document.cookie=$.join("; ")},read:function(j){var K=document.cookie.match(new RegExp("(^|;\\s*)("+j+")=([^;]*)"));return K?decodeURIComponent(K[3]):null},remove:function(j){this.write(j,"",Date.now()-864e5)}}}():function(){return{write:function(){},read:function(){return null},remove:function(){}}}()},3061:Qe=>{"use strict";Qe.exports=function(v){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(v)}},7991:(Qe,ge,v)=>{"use strict";var c=v(7392);Qe.exports=function(G){return c.isObject(G)&&!0===G.isAxiosError}},5950:(Qe,ge,v)=>{"use strict";var c=v(7392);Qe.exports=c.isStandardBrowserEnv()?function(){var K,G=/(msie|trident)/i.test(navigator.userAgent),j=document.createElement("a");function P(R){var D=R;return G&&(j.setAttribute("href",D),D=j.href),j.setAttribute("href",D),{href:j.href,protocol:j.protocol?j.protocol.replace(/:$/,""):"",host:j.host,search:j.search?j.search.replace(/^\?/,""):"",hash:j.hash?j.hash.replace(/^#/,""):"",hostname:j.hostname,port:j.port,pathname:"/"===j.pathname.charAt(0)?j.pathname:"/"+j.pathname}}return K=P(window.location.href),function(D){var W=c.isString(D)?P(D):D;return W.protocol===K.protocol&&W.host===K.host}}():function(){return function(){return!0}}()},3790:(Qe,ge,v)=>{"use strict";var c=v(7392);Qe.exports=function(G,j){c.forEach(G,function(P,R){R!==j&&R.toUpperCase()===j.toUpperCase()&&(G[j]=P,delete G[R])})}},3008:(Qe,ge,v)=>{"use strict";var c=v(7392),h=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"];Qe.exports=function(j){var P,R,D,K={};return j&&c.forEach(j.split("\n"),function($){if(D=$.indexOf(":"),P=c.trim($.substr(0,D)).toLowerCase(),R=c.trim($.substr(D+1)),P){if(K[P]&&h.indexOf(P)>=0)return;K[P]="set-cookie"===P?(K[P]?K[P]:[]).concat([R]):K[P]?K[P]+", "+R:R}}),K}},4528:Qe=>{"use strict";Qe.exports=function(v){return function(h){return v.apply(null,h)}}},173:(Qe,ge,v)=>{"use strict";var c=v(317).version,h={};["object","boolean","number","function","string","symbol"].forEach(function(K,P){h[K]=function(D){return typeof D===K||"a"+(P<1?"n ":" ")+K}});var G={};h.transitional=function(P,R,D){function W($,F){return"[Axios v"+c+"] Transitional option '"+$+"'"+F+(D?". "+D:"")}return function($,F,k){if(!1===P)throw new Error(W(F," has been removed"+(R?" in "+R:"")));return R&&!G[F]&&(G[F]=!0,console.warn(W(F," has been deprecated since v"+R+" and will be removed in the near future"))),!P||P($,F,k)}},Qe.exports={assertOptions:function j(K,P,R){if("object"!=typeof K)throw new TypeError("options must be an object");for(var D=Object.keys(K),W=D.length;W-- >0;){var $=D[W],F=P[$];if(F){var k=K[$],oe=void 0===k||F(k,$,K);if(!0!==oe)throw new TypeError("option "+$+" must be "+oe)}else if(!0!==R)throw Error("Unknown option "+$)}},validators:h}},7392:(Qe,ge,v)=>{"use strict";var c=v(2072),h=Object.prototype.toString;function G(re){return Array.isArray(re)}function j(re){return typeof re>"u"}function P(re){return"[object ArrayBuffer]"===h.call(re)}function F(re){return null!==re&&"object"==typeof re}
1function k(re){if("[object Object]"!==h.call(re))return!1;var ye=Object.getPrototypeOf(re);return null===ye||ye===Object.prototype}function le(re){return"[object Function]"===h.call(re)}function st(re,ye){if(!(null===re||typeof re>"u"))if("object"!=typeof re&&(re=[re]),G(re))for(var Me=0,Ie=re.length;Me<Ie;Me++)ye.call(null,re[Me],Me,re);else for(var We in re)Object.prototype.hasOwnProperty.call(re,We)&&ye.call(null,re[We],We,re)}Qe.exports={isArray:G,isArrayBuffer:P,isBuffer:function K(re){return null!==re&&!j(re)&&null!==re.constructor&&!j(re.constructor)&&"function"==typeof re.constructor.isBuffer&&re.constructor.isBuffer(re)},isFormData:function R(re){return"[object FormData]"===h.call(re)},isArrayBufferView:function D(re){return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?ArrayBuffer.isView(re):re&&re.buffer&&P(re.buffer)},isString:function W(re){return"string"==typeof re},isNumber:function $(re){return"number"==typeof re},isObject:F,isPlainObject:k,isUndefined:j,isDate:function oe(re){return"[object Date]"===h.call(re)},isFile:function x(re){return"[object File]"===h.call(re)},isBlob:function ue(re){return"[object Blob]"===h.call(re)},isFunction:le,isStream:function Se(re){return F(re)&&le(re.pipe)},isURLSearchParams:function $e(re){return"[object URLSearchParams]"===h.call(re)},isStandardBrowserEnv:function Je(){return(!(typeof navigator<"u")||"ReactNative"!==navigator.product&&"NativeScript"!==navigator.product&&"NS"!==navigator.product)&&typeof window<"u"&&typeof document<"u"},forEach:st,merge:function at(){var re={};function ye(We,me){re[me]=k(re[me])&&k(We)?at(re[me],We):k(We)?at({},We):G(We)?We.slice():We}for(var Me=0,Ie=arguments.length;Me<Ie;Me++)st(arguments[Me],ye);return re},extend:function nt(re,ye,Me){return st(ye,function(We,me){re[me]=Me&&"function"==typeof We?c(We,Me):We}),re},trim:function Re(re){return re.trim?re.trim():re.replace(/^\s+|\s+$/g,"")},stripBOM:function we(re){return 65279===re.charCodeAt(0)&&(re=re.slice(1)),re}}},4578:(Qe,ge)=>{"use strict";ge.byteLength=function R(oe){var x=P(oe),le=x[1];return 3*(x[0]+le)/4-le},ge.toByteArray=function W(oe){var x,st,ue=P(oe),le=ue[0],Se=ue[1],$e=new h(function D(oe,x,ue){return 3*(x+ue)/4-ue}(0,le,Se)),Re=0,Je=Se>0?le-4:le;for(st=0;st<Je;st+=4)x=c[oe.charCodeAt(st)]<<18|c[oe.charCodeAt(st+1)]<<12|c[oe.charCodeAt(st+2)]<<6|c[oe.charCodeAt(st+3)],$e[Re++]=x>>16&255,$e[Re++]=x>>8&255,$e[Re++]=255&x;return 2===Se&&(x=c[oe.charCodeAt(st)]<<2|c[oe.charCodeAt(st+1)]>>4,$e[Re++]=255&x),1===Se&&(x=c[oe.charCodeAt(st)]<<10|c[oe.charCodeAt(st+1)]<<4|c[oe.charCodeAt(st+2)]>>2,$e[Re++]=x>>8&255,$e[Re++]=255&x),$e},ge.fromByteArray=function k(oe){for(var x,ue=oe.length,le=ue%3,Se=[],Re=0,Je=ue-le;Re<Je;Re+=16383)Se.push(F(oe,Re,Re+16383>Je?Je:Re+16383));return 1===le?Se.push(v[(x=oe[ue-1])>>2]+v[x<<4&63]+"=="):2===le&&Se.push(v[(x=(oe[ue-2]<<8)+oe[ue-1])>>10]+v[x>>4&63]+v[x<<2&63]+"="),Se.join("")};for(var v=[],c=[],h=typeof Uint8Array<"u"?Uint8Array:Array,G="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",j=0;j<64;++j)v[j]=G[j],c[G.charCodeAt(j)]=j;function P(oe){var x=oe.length;if(x%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var ue=oe.indexOf("=");return-1===ue&&(ue=x),[ue,ue===x?0:4-ue%4]}function $(oe){return v[oe>>18&63]+v[oe>>12&63]+v[oe>>6&63]+v[63&oe]}function F(oe,x,ue){for(var Se=[],$e=x;$e<ue;$e+=3)Se.push($((oe[$e]<<16&16711680)+(oe[$e+1]<<8&65280)+(255&oe[$e+2])));return Se.join("")}c[45]=62,c[95]=63},163:(Qe,ge,v)=>{"use strict";var h=v(4578),G=v(7383),j=v(7638);function P(){return D.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function R(ke,te){if(P()<te)throw new RangeError("Invalid typed array length");return D.TYPED_ARRAY_SUPPORT?(ke=new Uint8Array(te)).__proto__=D.prototype:(null===ke&&(ke=new D(te)),ke.length=te),ke}function D(ke,te,ne){if(!(D.TYPED_ARRAY_SUPPORT||this instanceof D))return new D(ke,te,ne);if("number"==typeof ke){if("string"==typeof te)throw new Error("If encoding is specified then the first argument must be a string");return k(this,ke)}return W(this,ke,te,ne)}function W(ke,te,ne,Ve){if("number"==typeof te)throw new TypeError('"value" argument must not be a number');return typeof ArrayBuffer<"u"&&te instanceof ArrayBuffer?function ue(ke,te,ne,Ve){if(ne<0||te.byteLength<ne)throw new RangeError("'offset' is out of bounds");if(te.byteLength<ne+(Ve||0))throw new RangeError("'length' is out of bounds");return te=void 0===ne&&void 0===Ve?new Uint8Array(te):void 0===Ve?new Uint8Array(te,ne):new Uint8Array(te,ne,Ve),D.TYPED_ARRAY_SUPPORT?(ke=te).__proto__=D.prototype:ke=x(ke,te),ke}
vendor: 4,476 bytes, line 1
1(ke,te,ne,Ve):"string"==typeof te?function oe(ke,te,ne){if(("string"!=typeof ne||""===ne)&&(ne="utf8"),!D.isEncoding(ne))throw new TypeError('"encoding" must be a valid string encoding');var Ve=0|Re(te,ne),lt=(ke=R(ke,Ve)).write(te,ne);return lt!==Ve&&(ke=ke.slice(0,lt)),ke}(ke,te,ne):function le(ke,te){if(D.isBuffer(te)){var ne=0|Se(te.length);return 0===(ke=R(ke,ne)).length||te.copy(ke,0,0,ne),ke}if(te){if(typeof ArrayBuffer<"u"&&te.buffer instanceof ArrayBuffer||"length"in te)return"number"!=typeof te.length||function zt(ke){return ke!=ke}(te.length)?R(ke,0):x(ke,te);if("Buffer"===te.type&&j(te.data))return x(ke,te.data)}throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}(ke,te)}function $(ke){if("number"!=typeof ke)throw new TypeError('"size" argument must be a number');if(ke<0)throw new RangeError('"size" argument must not be negative')}function k(ke,te){if($(te),ke=R(ke,te<0?0:0|Se(te)),!D.TYPED_ARRAY_SUPPORT)for(var ne=0;ne<te;++ne)ke[ne]=0;return ke}function x(ke,te){var ne=te.length<0?0:0|Se(te.length);ke=R(ke,ne);for(var Ve=0;Ve<ne;Ve+=1)ke[Ve]=255&te[Ve];return ke}function Se(ke){if(ke>=P())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+P().toString(16)+" bytes");return 0|ke}function Re(ke,te){if(D.isBuffer(ke))return ke.length;if(typeof ArrayBuffer<"u"&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(ke)||ke instanceof ArrayBuffer))return ke.byteLength;"string"!=typeof ke&&(ke=""+ke);var ne=ke.length;if(0===ne)return 0;for(var Ve=!1;;)switch(te){case"ascii":case"latin1":case"binary":return ne;case"utf8":case"utf-8":case void 0:return Pt(ke).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*ne;case"hex":return ne>>>1;case"base64":return ur(ke).length;default:if(Ve)return Pt(ke).length;te=(""+te).toLowerCase(),Ve=!0}}function Je(ke,te,ne){var Ve=!1;if((void 0===te||te<0)&&(te=0),te>this.length||((void 0===ne||ne>this.length)&&(ne=this.length),ne<=0)||(ne>>>=0)<=(te>>>=0))return"";for(ke||(ke="utf8");;)switch(ke){case"hex":return Ut(this,te,ne);case"utf8":case"utf-8":return _t(this,te,ne);case"ascii":return Gt(this,te,ne);case"latin1":case"binary":return an(this,te,ne);case"base64":return me(this,te,ne);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Xt(this,te,ne);default:if(Ve)throw new TypeError("Unknown encoding: "+ke);ke=(ke+"").toLowerCase(),Ve=!0}}function st(ke,te,ne){var Ve=ke[te];ke[te]=ke[ne],ke[ne]=Ve}function at(ke,te,ne,Ve,lt){if(0===ke.length)return-1;if("string"==typeof ne?(Ve=ne,ne=0):ne>2147483647?ne=2147483647:ne<-2147483648&&(ne=-2147483648),ne=+ne,isNaN(ne)&&(ne=lt?0:ke.length-1),ne<0&&(ne=ke.length+ne),ne>=ke.length){if(lt)return-1;ne=ke.length-1}else if(ne<0){if(!lt)return-1;ne=0}if("string"==typeof te&&(te=D.from(te,Ve)),D.isBuffer(te))return 0===te.length?-1:nt(ke,te,ne,Ve,lt);if("number"==typeof te)return te&=255,D.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?lt?Uint8Array.prototype.indexOf.call(ke,te,ne):Uint8Array.prototype.lastIndexOf.call(ke,te,ne):nt(ke,[te],ne,Ve,lt);throw new TypeError("val must be string, number or Buffer")}function nt(ke,te,ne,Ve,lt){var zn,Mt=1,Dt=ke.length,En=te.length;if(void 0!==Ve&&("ucs2"===(Ve=String(Ve).toLowerCase())||"ucs-2"===Ve||"utf16le"===Ve||"utf-16le"===Ve)){if(ke.length<2||te.length<2)return-1;Mt=2,Dt/=2,En/=2,ne/=2}function Qn(zr,mn){return 1===Mt?zr[mn]:zr.readUInt16BE(mn*Mt)}if(lt){var kn=-1;for(zn=ne;zn<Dt;zn++)if(Qn(ke,zn)===Qn(te,-1===kn?0:zn-kn)){if(-1===kn&&(kn=zn),zn-kn+1===En)return kn*Mt}else-1!==kn&&(zn-=zn-kn),kn=-1}else for(ne+En>Dt&&(ne=Dt-En),zn=ne;zn>=0;zn--){for(var fn=!0,Xn=0;Xn<En;Xn++)if(Qn(ke,zn+Xn)!==Qn(te,Xn)){fn=!1;break}if(fn)return zn}return-1}function we(ke,te,ne,Ve){ne=Number(ne)||0;var lt=ke.length-ne;Ve?(Ve=Number(Ve))>lt&&(Ve=lt):Ve=lt;var Mt=te.length;if(Mt%2!=0)throw new TypeError("Invalid hex string");Ve>Mt/2&&(Ve=Mt/2);for(var Dt=0;Dt<Ve;++Dt){var En=parseInt(te.substr(2*Dt,2),16);if(isNaN(En))return Dt;ke[ne+Dt]=En}return Dt}function re(ke,te,ne,Ve){return Hr(Pt(te,ke.length-ne),ke,ne,Ve)}function ye(ke,te,ne,Ve){return Hr(function In(ke){for(var te=[],ne=0;ne<ke.length;++ne)te.push(255&ke.charCodeAt(ne));return te}(te),ke,ne,Ve)}function Me(ke,te,ne,Ve){return ye(ke,te,ne,Ve)}function Ie(ke,te,ne,Ve){return Hr(ur(te),ke,ne,Ve)}function We(ke,te,ne,Ve){return Hr(function Nn(ke,te){for(var ne,Ve,Mt=[],Dt=0;Dt<ke.length&&!((te-=2)<0);
vendor: 6,209 bytes, line 1
1++Dt)Ve=(ne=ke.charCodeAt(Dt))>>8,Mt.push(ne%256),Mt.push(Ve);return Mt}(te,ke.length-ne),ke,ne,Ve)}function me(ke,te,ne){return h.fromByteArray(0===te&&ne===ke.length?ke:ke.slice(te,ne))}function _t(ke,te,ne){ne=Math.min(ke.length,ne);for(var Ve=[],lt=te;lt<ne;){var Qn,zn,kn,fn,Mt=ke[lt],Dt=null,En=Mt>239?4:Mt>223?3:Mt>191?2:1;if(lt+En<=ne)switch(En){case 1:Mt<128&&(Dt=Mt);break;case 2:128==(192&(Qn=ke[lt+1]))&&(fn=(31&Mt)<<6|63&Qn)>127&&(Dt=fn);break;case 3:zn=ke[lt+2],128==(192&(Qn=ke[lt+1]))&&128==(192&zn)&&(fn=(15&Mt)<<12|(63&Qn)<<6|63&zn)>2047&&(fn<55296||fn>57343)&&(Dt=fn);break;case 4:zn=ke[lt+2],kn=ke[lt+3],128==(192&(Qn=ke[lt+1]))&&128==(192&zn)&&128==(192&kn)&&(fn=(15&Mt)<<18|(63&Qn)<<12|(63&zn)<<6|63&kn)>65535&&fn<1114112&&(Dt=fn)}null===Dt?(Dt=65533,En=1):Dt>65535&&(Ve.push((Dt-=65536)>>>10&1023|55296),Dt=56320|1023&Dt),Ve.push(Dt),lt+=En}return function vn(ke){var te=ke.length;if(te<=Yt)return String.fromCharCode.apply(String,ke);for(var ne="",Ve=0;Ve<te;)ne+=String.fromCharCode.apply(String,ke.slice(Ve,Ve+=Yt));return ne}(Ve)}ge.hp=D,ge.IS=50,D.TYPED_ARRAY_SUPPORT=void 0!==global.TYPED_ARRAY_SUPPORT?global.TYPED_ARRAY_SUPPORT:function K(){try{var ke=new Uint8Array(1);return ke.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},42===ke.foo()&&"function"==typeof ke.subarray&&0===ke.subarray(1,1).byteLength}catch{return!1}}(),P(),D.poolSize=8192,D._augment=function(ke){return ke.__proto__=D.prototype,ke},D.from=function(ke,te,ne){return W(null,ke,te,ne)},D.TYPED_ARRAY_SUPPORT&&(D.prototype.__proto__=Uint8Array.prototype,D.__proto__=Uint8Array,typeof Symbol<"u"&&Symbol.species&&D[Symbol.species]===D&&Object.defineProperty(D,Symbol.species,{value:null,configurable:!0})),D.alloc=function(ke,te,ne){return function F(ke,te,ne,Ve){return $(te),te<=0?R(ke,te):void 0!==ne?"string"==typeof Ve?R(ke,te).fill(ne,Ve):R(ke,te).fill(ne):R(ke,te)}(null,ke,te,ne)},D.allocUnsafe=function(ke){return k(null,ke)},D.allocUnsafeSlow=function(ke){return k(null,ke)},D.isBuffer=function(te){return!(null==te||!te._isBuffer)},D.compare=function(te,ne){if(!D.isBuffer(te)||!D.isBuffer(ne))throw new TypeError("Arguments must be Buffers");if(te===ne)return 0;for(var Ve=te.length,lt=ne.length,Mt=0,Dt=Math.min(Ve,lt);Mt<Dt;++Mt)if(te[Mt]!==ne[Mt]){Ve=te[Mt],lt=ne[Mt];break}return Ve<lt?-1:lt<Ve?1:0},D.isEncoding=function(te){switch(String(te).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},D.concat=function(te,ne){if(!j(te))throw new TypeError('"list" argument must be an Array of Buffers');if(0===te.length)return D.alloc(0);var Ve;if(void 0===ne)for(ne=0,Ve=0;Ve<te.length;++Ve)ne+=te[Ve].length;var lt=D.allocUnsafe(ne),Mt=0;for(Ve=0;Ve<te.length;++Ve){var Dt=te[Ve];if(!D.isBuffer(Dt))throw new TypeError('"list" argument must be an Array of Buffers');Dt.copy(lt,Mt),Mt+=Dt.length}return lt},D.byteLength=Re,D.prototype._isBuffer=!0,D.prototype.swap16=function(){var te=this.length;if(te%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var ne=0;ne<te;ne+=2)st(this,ne,ne+1);return this},D.prototype.swap32=function(){var te=this.length;if(te%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var ne=0;ne<te;ne+=4)st(this,ne,ne+3),st(this,ne+1,ne+2);return this},D.prototype.swap64=function(){var te=this.length;if(te%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var ne=0;ne<te;ne+=8)st(this,ne,ne+7),st(this,ne+1,ne+6),st(this,ne+2,ne+5),st(this,ne+3,ne+4);return this},D.prototype.toString=function(){var te=0|this.length;return 0===te?"":0===arguments.length?_t(this,0,te):Je.apply(this,arguments)},D.prototype.equals=function(te){if(!D.isBuffer(te))throw new TypeError("Argument must be a Buffer");return this===te||0===D.compare(this,te)},D.prototype.inspect=function(){var te="",ne=ge.IS;return this.length>0&&(te=this.toString("hex",0,ne).match(/.{2}/g).join(" "),this.length>ne&&(te+=" ... ")),"<Buffer "+te+">"},D.prototype.compare=function(te,ne,Ve,lt,Mt){if(!D.isBuffer(te))throw new TypeError("Argument must be a Buffer");if(void 0===ne&&(ne=0),void 0===Ve&&(Ve=te?te.length:0),void 0===lt&&(lt=0),void 0===Mt&&(Mt=this.length),ne<0||Ve>te.length||lt<0||Mt>this.length)throw new RangeError("out of range index");if(lt>=Mt&&ne>=Ve)return 0;if(lt>=Mt)return-1;if(ne>=Ve)return 1;if(this===te)return 0;for(var Dt=(Mt>>>=0)-(lt>>>=0),En=(Ve>>>=0)-(ne>>>=0),Qn=Math.min(Dt,En),zn=this.slice(lt,Mt),kn=te.slice(ne,Ve),fn=0;fn<Qn;++fn)if(zn[fn]!==kn[fn]){Dt=zn[fn],En=kn[fn];break}return Dt<En?-1:En<Dt?1:0},D.prototype.includes=function(te,ne,Ve){return-1!==this.indexOf(te,ne,Ve)},D.prototype.indexOf=function(te,ne,Ve){return at(this,te,ne,Ve,!0)},D.prototype.lastIndexOf=function(te,ne,Ve){return at(this,te,ne,Ve,!1)},D.prototype.write=function(te,ne,Ve,lt){if(void 0===ne)lt="utf8",Ve=this.length,ne=0;else if(void 0===Ve&&"string"==typeof ne)lt=ne,Ve=this.length,ne=0;else{if(!isFinite(ne))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");ne|=0,isFinite(Ve)?(Ve|=0,void 0===lt&&(lt="utf8")):(lt=Ve,Ve=void 0)}var Mt=this.length-ne;if((void 0===Ve||Ve>Mt)&&(Ve=Mt),te.length>0&&(Ve<0||ne<0)||ne>this.length)throw new RangeError("Attempt to write outside buffer bounds");lt||(lt="utf8");for(var Dt=!1;;)switch(lt){case"hex":return we(this,te,ne,Ve);case"utf8":case"utf-8":return re(this,te,ne,Ve);case"ascii":return ye(this,te,ne,Ve);case"latin1":case"binary":return Me(this,te,ne,Ve);case"base64":return Ie(this,te,ne,Ve);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return We(this,te,ne,Ve);default:if(Dt)throw new TypeError("Unknown encoding: "+lt);lt=(""+lt).toLowerCase(),Dt=!0}},D.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var Yt=4096;function Gt(ke,te,ne){var Ve="";ne=Math.min(ke.length,ne);for(var lt=te;lt<ne;++lt)Ve+=String.fromCharCode(127&ke[lt]);return Ve}function an(ke,te,ne){var Ve="";ne=Math.min(ke.length,ne);for(var lt=te;lt<ne;++lt)Ve+=String.fromCharCode(ke[lt]);return Ve}function Ut(ke,te,ne){var Ve=ke.length;
vendor: 9,129 bytes, line 1
1(!te||te<0)&&(te=0),(!ne||ne<0||ne>Ve)&&(ne=Ve);for(var lt="",Mt=te;Mt<ne;++Mt)lt+=be(ke[Mt]);return lt}function Xt(ke,te,ne){for(var Ve=ke.slice(te,ne),lt="",Mt=0;Mt<Ve.length;Mt+=2)lt+=String.fromCharCode(Ve[Mt]+256*Ve[Mt+1]);return lt}function rn(ke,te,ne){if(ke%1!=0||ke<0)throw new RangeError("offset is not uint");if(ke+te>ne)throw new RangeError("Trying to access beyond buffer length")}function Cn(ke,te,ne,Ve,lt,Mt){if(!D.isBuffer(ke))throw new TypeError('"buffer" argument must be a Buffer instance');if(te>lt||te<Mt)throw new RangeError('"value" argument is out of bounds');if(ne+Ve>ke.length)throw new RangeError("Index out of range")}function On(ke,te,ne,Ve){te<0&&(te=65535+te+1);for(var lt=0,Mt=Math.min(ke.length-ne,2);lt<Mt;++lt)ke[ne+lt]=(te&255<<8*(Ve?lt:1-lt))>>>8*(Ve?lt:1-lt)}function Bn(ke,te,ne,Ve){te<0&&(te=4294967295+te+1);for(var lt=0,Mt=Math.min(ke.length-ne,4);lt<Mt;++lt)ke[ne+lt]=te>>>8*(Ve?lt:3-lt)&255}function dn(ke,te,ne,Ve,lt,Mt){if(ne+Ve>ke.length)throw new RangeError("Index out of range");if(ne<0)throw new RangeError("Index out of range")}function Qt(ke,te,ne,Ve,lt){return lt||dn(ke,0,ne,4),G.write(ke,te,ne,Ve,23,4),ne+4}function wn(ke,te,ne,Ve,lt){return lt||dn(ke,0,ne,8),G.write(ke,te,ne,Ve,52,8),ne+8}D.prototype.slice=function(te,ne){var lt,Ve=this.length;if((te=~~te)<0?(te+=Ve)<0&&(te=0):te>Ve&&(te=Ve),(ne=void 0===ne?Ve:~~ne)<0?(ne+=Ve)<0&&(ne=0):ne>Ve&&(ne=Ve),ne<te&&(ne=te),D.TYPED_ARRAY_SUPPORT)(lt=this.subarray(te,ne)).__proto__=D.prototype;else{var Mt=ne-te;lt=new D(Mt,void 0);for(var Dt=0;Dt<Mt;++Dt)lt[Dt]=this[Dt+te]}return lt},D.prototype.readUIntLE=function(te,ne,Ve){te|=0,ne|=0,Ve||rn(te,ne,this.length);for(var lt=this[te],Mt=1,Dt=0;++Dt<ne&&(Mt*=256);)lt+=this[te+Dt]*Mt;return lt},D.prototype.readUIntBE=function(te,ne,Ve){te|=0,ne|=0,Ve||rn(te,ne,this.length);for(var lt=this[te+--ne],Mt=1;ne>0&&(Mt*=256);)lt+=this[te+--ne]*Mt;return lt},D.prototype.readUInt8=function(te,ne){return ne||rn(te,1,this.length),this[te]},D.prototype.readUInt16LE=function(te,ne){return ne||rn(te,2,this.length),this[te]|this[te+1]<<8},D.prototype.readUInt16BE=function(te,ne){return ne||rn(te,2,this.length),this[te]<<8|this[te+1]},D.prototype.readUInt32LE=function(te,ne){return ne||rn(te,4,this.length),(this[te]|this[te+1]<<8|this[te+2]<<16)+16777216*this[te+3]},D.prototype.readUInt32BE=function(te,ne){return ne||rn(te,4,this.length),16777216*this[te]+(this[te+1]<<16|this[te+2]<<8|this[te+3])},D.prototype.readIntLE=function(te,ne,Ve){te|=0,ne|=0,Ve||rn(te,ne,this.length);for(var lt=this[te],Mt=1,Dt=0;++Dt<ne&&(Mt*=256);)lt+=this[te+Dt]*Mt;return lt>=(Mt*=128)&&(lt-=Math.pow(2,8*ne)),lt},D.prototype.readIntBE=function(te,ne,Ve){te|=0,ne|=0,Ve||rn(te,ne,this.length);for(var lt=ne,Mt=1,Dt=this[te+--lt];lt>0&&(Mt*=256);)Dt+=this[te+--lt]*Mt;return Dt>=(Mt*=128)&&(Dt-=Math.pow(2,8*ne)),Dt},D.prototype.readInt8=function(te,ne){return ne||rn(te,1,this.length),128&this[te]?-1*(255-this[te]+1):this[te]},D.prototype.readInt16LE=function(te,ne){ne||rn(te,2,this.length);var Ve=this[te]|this[te+1]<<8;return 32768&Ve?4294901760|Ve:Ve},D.prototype.readInt16BE=function(te,ne){ne||rn(te,2,this.length);var Ve=this[te+1]|this[te]<<8;return 32768&Ve?4294901760|Ve:Ve},D.prototype.readInt32LE=function(te,ne){return ne||rn(te,4,this.length),this[te]|this[te+1]<<8|this[te+2]<<16|this[te+3]<<24},D.prototype.readInt32BE=function(te,ne){return ne||rn(te,4,this.length),this[te]<<24|this[te+1]<<16|this[te+2]<<8|this[te+3]},D.prototype.readFloatLE=function(te,ne){return ne||rn(te,4,this.length),G.read(this,te,!0,23,4)},D.prototype.readFloatBE=function(te,ne){return ne||rn(te,4,this.length),G.read(this,te,!1,23,4)},D.prototype.readDoubleLE=function(te,ne){return ne||rn(te,8,this.length),G.read(this,te,!0,52,8)},D.prototype.readDoubleBE=function(te,ne){return ne||rn(te,8,this.length),G.read(this,te,!1,52,8)},D.prototype.writeUIntLE=function(te,ne,Ve,lt){te=+te,ne|=0,Ve|=0,lt||Cn(this,te,ne,Ve,Math.pow(2,8*Ve)-1,0);var Dt=1,En=0;for(this[ne]=255&te;++En<Ve&&(Dt*=256);)this[ne+En]=te/Dt&255;return ne+Ve},D.prototype.writeUIntBE=function(te,ne,Ve,lt){te=+te,ne|=0,Ve|=0,lt||Cn(this,te,ne,Ve,Math.pow(2,8*Ve)-1,0);var Dt=Ve-1,En=1;for(this[ne+Dt]=255&te;--Dt>=0&&(En*=256);)this[ne+Dt]=te/En&255;return ne+Ve},D.prototype.writeUInt8=function(te,ne,Ve){return te=+te,ne|=0,Ve||Cn(this,te,ne,1,255,0),D.TYPED_ARRAY_SUPPORT||(te=Math.floor(te)),this[ne]=255&te,ne+1},D.prototype.writeUInt16LE=function(te,ne,Ve){return te=+te,ne|=0,Ve||Cn(this,te,ne,2,65535,0),D.TYPED_ARRAY_SUPPORT?(this[ne]=255&te,this[ne+1]=te>>>8):On(this,te,ne,!0),ne+2},D.prototype.writeUInt16BE=function(te,ne,Ve){return te=+te,ne|=0,Ve||Cn(this,te,ne,2,65535,0),D.TYPED_ARRAY_SUPPORT?(this[ne]=te>>>8,this[ne+1]=255&te):On(this,te,ne,!1),ne+2},D.prototype.writeUInt32LE=function(te,ne,Ve){return te=+te,ne|=0,Ve||Cn(this,te,ne,4,4294967295,0),D.TYPED_ARRAY_SUPPORT?(this[ne+3]=te>>>24,this[ne+2]=te>>>16,this[ne+1]=te>>>8,this[ne]=255&te):Bn(this,te,ne,!0),ne+4},D.prototype.writeUInt32BE=function(te,ne,Ve){return te=+te,ne|=0,Ve||Cn(this,te,ne,4,4294967295,0),D.TYPED_ARRAY_SUPPORT?(this[ne]=te>>>24,this[ne+1]=te>>>16,this[ne+2]=te>>>8,this[ne+3]=255&te):Bn(this,te,ne,!1),ne+4},D.prototype.writeIntLE=function(te,ne,Ve,lt){if(te=+te,ne|=0,!lt){var Mt=Math.pow(2,8*Ve-1);Cn(this,te,ne,Ve,Mt-1,-Mt)}var Dt=0,En=1,Qn=0;for(this[ne]=255&te;++Dt<Ve&&(En*=256);)te<0&&0===Qn&&0!==this[ne+Dt-1]&&(Qn=1),this[ne+Dt]=(te/En|0)-Qn&255;return ne+Ve},D.prototype.writeIntBE=function(te,ne,Ve,lt){if(te=+te,ne|=0,!lt){var Mt=Math.pow(2,8*Ve-1);Cn(this,te,ne,Ve,Mt-1,-Mt)}var Dt=Ve-1,En=1,Qn=0;for(this[ne+Dt]=255&te;--Dt>=0&&(En*=256);)te<0&&0===Qn&&0!==this[ne+Dt+1]&&(Qn=1),this[ne+Dt]=(te/En|0)-Qn&255;return ne+Ve},D.prototype.writeInt8=function(te,ne,Ve){return te=+te,ne|=0,Ve||Cn(this,te,ne,1,127,-128),D.TYPED_ARRAY_SUPPORT||(te=Math.floor(te)),te<0&&(te=255+te+1),this[ne]=255&te,ne+1},D.prototype.writeInt16LE=function(te,ne,Ve){return te=+te,ne|=0,Ve||Cn(this,te,ne,2,32767,-32768),D.TYPED_ARRAY_SUPPORT?(this[ne]=255&te,this[ne+1]=te>>>8):On(this,te,ne,!0),ne+2},D.prototype.writeInt16BE=function(te,ne,Ve){return te=+te,ne|=0,Ve||Cn(this,te,ne,2,32767,-32768),D.TYPED_ARRAY_SUPPORT?(this[ne]=te>>>8,this[ne+1]=255&te):On(this,te,ne,!1),ne+2},D.prototype.writeInt32LE=function(te,ne,Ve){return te=+te,ne|=0,Ve||Cn(this,te,ne,4,2147483647,-2147483648),D.TYPED_ARRAY_SUPPORT?(this[ne]=255&te,this[ne+1]=te>>>8,this[ne+2]=te>>>16,this[ne+3]=te>>>24):Bn(this,te,ne,!0),ne+4},D.prototype.writeInt32BE=function(te,ne,Ve){return te=+te,ne|=0,Ve||Cn(this,te,ne,4,2147483647,-2147483648),te<0&&(te=4294967295+te+1),D.TYPED_ARRAY_SUPPORT?(this[ne]=te>>>24,this[ne+1]=te>>>16,this[ne+2]=te>>>8,this[ne+3]=255&te):Bn(this,te,ne,!1),ne+4},D.prototype.writeFloatLE=function(te,ne,Ve){return Qt(this,te,ne,!0,Ve)},D.prototype.writeFloatBE=function(te,ne,Ve){return Qt(this,te,ne,!1,Ve)},D.prototype.writeDoubleLE=function(te,ne,Ve){return wn(this,te,ne,!0,Ve)},D.prototype.writeDoubleBE=function(te,ne,Ve){return wn(this,te,ne,!1,Ve)},D.prototype.copy=function(te,ne,Ve,lt){if(Ve||(Ve=0),!lt&&0!==lt&&(lt=this.length),ne>=te.length&&(ne=te.length),ne||(ne=0),lt>0&&lt<Ve&&(lt=Ve),lt===Ve||0===te.length||0===this.length)return 0;if(ne<0)throw new RangeError("targetStart out of bounds");if(Ve<0||Ve>=this.length)throw new RangeError("sourceStart out of bounds");if(lt<0)throw new RangeError("sourceEnd out of bounds");lt>this.length&&(lt=this.length),te.length-ne<lt-Ve&&(lt=te.length-ne+Ve);var Dt,Mt=lt-Ve;if(this===te&&Ve<ne&&ne<lt)for(Dt=Mt-1;Dt>=0;--Dt)te[Dt+ne]=this[Dt+Ve];else if(Mt<1e3||!D.TYPED_ARRAY_SUPPORT)for(Dt=0;Dt<Mt;++Dt)te[Dt+ne]=this[Dt+Ve];else Uint8Array.prototype.set.call(te,this.subarray(Ve,Ve+Mt),ne);return Mt},D.prototype.fill=function(te,ne,Ve,lt){if("string"==typeof te){if("string"==typeof ne?(lt=ne,ne=0,Ve=this.length):"string"==typeof Ve&&(lt=Ve,Ve=this.length),1===te.length){var Mt=te.charCodeAt(0);Mt<256&&(te=Mt)}if(void 0!==lt&&"string"!=typeof lt)throw new TypeError("encoding must be a string");if("string"==typeof lt&&!D.isEncoding(lt))throw new TypeError("Unknown encoding: "+lt)}else"number"==typeof te&&(te&=255);if(ne<0||this.length<ne||this.length<Ve)throw new RangeError("Out of range index");if(Ve<=ne)return this;var Dt;if(ne>>>=0,Ve=void 0===Ve?this.length:Ve>>>0,te||(te=0),"number"==typeof te)for(Dt=ne;Dt<Ve;++Dt)this[Dt]=te;else{var En=D.isBuffer(te)?te:Pt(new D(te,lt).toString()),Qn=En.length;for(Dt=0;Dt<Ve-ne;++Dt)this[Dt+ne]=En[Dt%Qn]}return this};var Mn=/[^+\/0-9A-Za-z-_]/g;function be(ke){return ke<16?"0"+ke.toString(16):ke.toString(16)}function Pt(ke,te){te=te||1/0;for(var ne,Ve=ke.length,lt=null,Mt=[],Dt=0;Dt<Ve;++Dt){if((ne=ke.charCodeAt(Dt))>55295&&ne<57344){if(!lt){if(ne>56319){(te-=3)>-1&&Mt.push(239,191,189);continue}if(Dt+1===Ve){(te-=3)>-1&&Mt.push(239,191,189);continue}lt=ne;continue}if(ne<56320){(te-=3)>-1&&Mt.push(239,191,189),lt=ne;continue}ne=65536+(lt-55296<<10|ne-56320)}else lt&&(te-=3)>-1&&Mt.push(239,191,189);if(lt=null,ne<128){if((te-=1)<0)break;Mt.push(ne)}else if(ne<2048){if((te-=2)<0)break;Mt.push(ne>>6|192,63&ne|128)}
1else if(ne<65536){if((te-=3)<0)break;Mt.push(ne>>12|224,ne>>6&63|128,63&ne|128)}else{if(!(ne<1114112))throw new Error("Invalid code point");if((te-=4)<0)break;Mt.push(ne>>18|240,ne>>12&63|128,ne>>6&63|128,63&ne|128)}}return Mt}function ur(ke){return h.toByteArray(function pn(ke){if((ke=function Zn(ke){return ke.trim?ke.trim():ke.replace(/^\s+|\s+$/g,"")}(ke).replace(Mn,"")).length<2)return"";for(;ke.length%4!=0;)ke+="=";return ke}(ke))}function Hr(ke,te,ne,Ve){for(var lt=0;lt<Ve&&!(lt+ne>=te.length||lt>=ke.length);++lt)te[lt+ne]=ke[lt];return lt}},8415:(Qe,ge)=>{"use strict";ge.q=function G(P,R){if("string"!=typeof P)throw new TypeError("argument str must be a string");for(var D={},W=R||{},$=P.split(";"),F=W.decode||v,k=0;k<$.length;k++){var oe=$[k],x=oe.indexOf("=");if(!(x<0)){var ue=oe.substring(0,x).trim();if(null==D[ue]){var le=oe.substring(x+1,oe.length).trim();'"'===le[0]&&(le=le.slice(1,-1)),D[ue]=K(le,F)}}}return D},ge.l=function j(P,R,D){var W=D||{},$=W.encode||c;if("function"!=typeof $)throw new TypeError("option encode is invalid");if(!h.test(P))throw new TypeError("argument name is invalid");var F=$(R);if(F&&!h.test(F))throw new TypeError("argument val is invalid");var k=P+"="+F;if(null!=W.maxAge){var oe=W.maxAge-0;if(isNaN(oe)||!isFinite(oe))throw new TypeError("option maxAge is invalid");k+="; Max-Age="+Math.floor(oe)}if(W.domain){if(!h.test(W.domain))throw new TypeError("option domain is invalid");k+="; Domain="+W.domain}if(W.path){if(!h.test(W.path))throw new TypeError("option path is invalid");k+="; Path="+W.path}if(W.expires){if("function"!=typeof W.expires.toUTCString)throw new TypeError("option expires is invali
1d");k+="; Expires="+W.expires.toUTCString()}if(W.httpOnly&&(k+="; HttpOnly"),W.secure&&(k+="; Secure"),W.sameSite)switch("string"==typeof W.sameSite?W.sameSite.toLowerCase():W.sameSite){case!0:k+="; SameSite=Strict";break;case"lax":k+="; SameSite=Lax";break;case"strict":k+="; SameSite=Strict";break;case"none":k+="; SameSite=None";break;default:throw new TypeError("option sameSite is invalid")}return k};var v=decodeURIComponent,c=encodeURIComponent,h=/^[\u0009\u0020-\u007e\u0080-\u00ff]+$/;function K(P,R){try{return R(P)}catch{return P}}},7383:(Qe,ge)=>{ge.read=function(v,c,h,G,j){var K,P,R=8*j-G-1,D=(1<<R)-1,W=D>>1,$=-7,F=h?j-1:0,k=h?-1:1,oe=v[c+F];for(F+=k,K=oe&(1<<-$)-1,oe>>=-$,$+=R;$>0;K=256*K+v[c+F],F+=k,$-=8);for(P=K&(1<<-$)-1,K>>=-$,$+=G;$>0;P=256*P+v[c+F],F+=k,$-=8);if(0===K)K=1-W;else{if(K===D)return P?NaN:1/0*(oe?-1:1);P+=Math.pow(2,G),K-=W}return(oe?-1:1)*P*Math.pow(2,K-G)},ge.write=function(v,c,h,G,j,K){var P,R,D,W=8*K-j-1,$=(1<<W)-1,F=$>>1,k=23===j?Math.pow(2,-24)-Math.pow(2,-77):0,oe=G?0:K-1,x=G?1:-1,ue=c<0||0===c&&1/c<0?1:0;for(c=Math.abs(c),isNaN(c)||c===1/0?(R=isNaN(c)?1:0,P=$):(P=Math.floor(Math.log(c)/Math.LN2),c*(D=Math.pow(2,-P))<1&&(P--,D*=2),(c+=P+F>=1?k/D:k*Math.pow(2,1-F))*D>=2&&(P++,D/=2),P+F>=$?(R=0,P=$):P+F>=1?(R=(c*D-1)*Math.pow(2,j),P+=F):(R=c*Math.pow(2,F-1)*Math.pow(2,j),P=0));j>=8;v[h+oe]=255&R,oe+=x,R/=256,j-=8);for(P=P<<j|R,W+=j;W>0;v[h+oe]=255&P,oe+=x,P/=256,W-=8);v[h+oe-x]|=128*ue}},7638:Qe=>{var ge={}.toString;Qe.exports=Array.isArray||function(v){return"[object Array]"==ge.call(v)}},8400:(Qe,ge,v)=>{Qe.exports=self.fetch||(self.fetch=v(6242).default||v(6242))},8195:(Qe,ge,v)=>{var c,h,G;void 0!==(h="function"==typeof(c=G=function(){function G(){for(var P=0,R={};P<arguments.length;P++){var D=arguments[P];for(var W in D)R[W]=D[W]}return R}function j(P){return P.replace(/(%[0-9A-Z]{2}
1)+/g,decodeURIComponent)}return function K(P){function R(){}function D($,F,k){if(!(typeof document>"u")){"number"==typeof(k=G({path:"/"},R.defaults,k)).expires&&(k.expires=new Date(1*new Date+864e5*k.expires)),k.expires=k.expires?k.expires.toUTCString():"";try{var oe=JSON.stringify(F);/^[\{\[]/.test(oe)&&(F=oe)}catch{}F=P.write?P.write(F,$):encodeURIComponent(String(F)).replace(/%(23|24|26|2B|3A|3C|3E|3D|2F|3F|40|5B|5D|5E|60|7B|7D|7C)/g,decodeURIComponent),$=encodeURIComponent(String($)).replace(/%(23|24|26|2B|5E|60|7C)/g,decodeURIComponent).replace(/[\(\)]/g,escape);var x="";for(var ue in k)k[ue]&&(x+="; "+ue,!0!==k[ue]&&(x+="="+k[ue].split(";")[0]));return document.cookie=$+"="+F+x}}function W($,F){if(!(typeof document>"u")){for(var k={},oe=document.cookie?document.cookie.split("; "):[],x=0;x<oe.length;x++){var ue=oe[x].split("="),le=ue.slice(1).join("=");!F&&'"'===le.charAt(0)&&(le=le.slice(1,-1));try{var Se=j(ue[0]);if(le=(P.read||P)(le,Se)||j(le),F)try{le=JSON.parse(le)}catch{}if(k[Se]=le,$===Se)break}catch{}}return $?k[$]:k}}return R.set=D,R.get=function($){return W($,!1)},R.getJSON=function($){return W($,!0)},R.remove=function($,F){D($,"",G(F,{expires:-1}))},R.defaults={},R.withConverter=K,R}(function(){})})?c.call(ge,v,ge,Qe):c)&&(Qe.exports=h),Qe.exports=G()},3498:Qe=>{"use strict";function ge(v,c){return Object.prototype.hasOwnProperty.call(v,c)}Qe.exports=function(v,c,h,G){h=h||"=";var j={};if("string"!=typeof v||0===v.length)return j;var K=/\+/g;v=v.split(c=c||"&");var P=1e3;G&&"number"==typeof G.maxKeys&&(P=G.maxKeys);var R=v.length;P>0&&R>P&&(R=P);for(var D=0;D<R;++D){var F,k,oe,x,W=v[D].replace(K,"%20"),$=W.indexOf(h);$>=0?(F=W.substr(0,$),k=W.substr($+1)):(F=W,k=""),oe=decodeURIComponent(F),x=decodeURIComponent(k),ge(j,oe)?Array.isArray(j[oe])?j[oe].push(x):j[oe]=[j[oe],x]:j[oe]=x}return j}},3678:Qe=>{"use strict";var ge=function(v){switch(typeof v){case"string":return v;case"boolean":return v?"true":"false";case"number":return isFinite(v)?v:"";default:return""}};Qe.exports=function(v,c,h,G){return c=c||"&",h=h||"=",null===v&&(v=void 0),"object"==typeof v?Object.keys(v).map(function(j){var K=encodeURIComponent(ge(j))+h;return Array.isArray(v[j])?v[j].map(function(P){return K+encodeURIComponent(ge(P))}).join(c):K+encodeURIComponent(ge(v[j]))}).join(c):G?encodeURIComponent(ge(G))+h+encodeURIComponent(ge(v)):""}},4630:(Qe,ge,v)=>{"use strict";ge.decode=ge.parse=v(3498),ge.encode=ge.stringify=v(3678)},521:(Qe,ge,v)=>{"use strict";v.d(ge,{t:()=>G});var c=v(3119),h=v(3586);class G extends c.B7{constructor(K){super(),this._value=K}get value(){return this.getValue()}_subscribe(K){const P=super._subscribe(K);return P&&!P.closed&&K.next(this._value),P}getValue(){if(this.hasError)throw this.thrownError;if(this.closed)throw new h.P;return this._value}next(K){super.next(this._value=K)}}},273:(Qe,ge,v)=>{"use strict";v.d(ge,{R:()=>h});var c=v(8097);class h extends c.v{constructor(j,K,P){super(),this.parent=j,this.outerValue=K,this.outerIndex=P,this.index=0}_next(j){this.parent.notifyNext(this.outerValue,j,this.outerIndex,this.index++,this)}_error(j){this.parent.notifyError(j,this),this.unsubscribe()}_complete(){this.parent.notifyComplete(this),this.unsubscribe()}}},1500:(Qe,ge,v)=>{"use strict";v.d(ge,{E:()=>K});var c=v(4380),h=v(1536),G=v(6651);class K{constructor(R,D,W){this.kind=R,this.value=D,this.error=W,this.hasValue="N"===R}observe(R){switch(this.kind){case"N":return R.next&&R.next(this.value);case"E":return R.error&&R.error(this.error);case"C":return R.complete&&R.complete()}}do(R,D,W){switch(this.kind){case"N":return R&&R(this.value);case"E":return D&&D(this.error);case"C":return W&&W()}}accept(R,D,W){return R&&"function"==typeof R.next?this.observe(R):this.do(R,D,W)}toObservable(){switch(this.kind){case"N":return(0,h.of)(this.value);case"E":return(0,G.$)(this.error);case"C":return(0,c.I)()}throw new Error("unexpected notification kind value")}static createNext(R){return typeof R<"u"?new K("N",R):K.undefinedValueNotification}static createError(R){return new K("E",void 0,R)}static createComplete(){return K.completeNotification}}K.completeNotification=new K("C"),K.undefinedValueNotification=new K("N",void 0)},434:(Qe,ge,v)=>{"use strict";v.d(ge,{c:()=>W});var c=v(8097),G=v(5230),j=v(181),P=v(9291),R=v(782),D=v(897);let W=(()=>{class F{constructor(oe){this._isScalar=!1,oe&&(this._subscribe=oe)}lift(oe){const x=new F;return x.source=this,x.operator=oe,x}subscribe(oe,x,ue){const{operator:le}=this,Se=function K(F,k,oe){if(F){if(F instanceof c.v)return F;if(F[G.D])return F[G.D]()}return F||k||oe?new c.v(F,k,oe):new c.v(j.I)}(oe,x,ue);if(Se.add(le?le.call(Se,this.source):this.source||D.$.useDeprecatedSynchronousErrorHandling&&!Se.syncErrorThrowable?this._subscribe(Se):this._trySubscribe(Se)),D.$.useDeprecatedSynchronousErrorHandling&&Se.syncErrorThrowable&&(Se.syncErrorThrowable=!1,Se.syncErrorThrown))throw Se.syncErrorValue;return Se}_trySubscribe(oe){try{return this._subscribe(oe)}catch(x){D.$.useDeprecatedSynchronousErrorHandling&&(oe.syncErrorThrown=!0,oe.syncErrorValue=x),function h(F){for(;F;){const{closed:k,destination:oe,isStopped:x}=F;if(k||x)return!1;F=oe&&oe instanceof c.v?oe:null}return!0}(oe)?oe.error(x):console.warn(x)}}forEach(oe,x){return new(x=$(x))((ue,le)=>{let Se;Se=this.subscribe($e=>{try{oe($e)}catch(Re){le(Re),Se&&Se.unsubscribe()}},le,ue)})}_subscribe(oe){const{source:x}=this;return x&&x.subscribe(oe)}[P.s](){return this}pipe(...oe){return 0===oe.length?this:(0,R.m)(oe)(this)}toPromise(oe){return new(oe=$(oe))((x,ue)=>{let le;this.subscribe(Se=>le=Se,Se=>ue(Se),()=>x(le))})}}return F.create=k=>new F(k),F})();
1function $(F){if(F||(F=D.$.Promise||Promise),!F)throw new Error("no Promise impl found");return F}},181:(Qe,ge,v)=>{"use strict";v.d(ge,{I:()=>G});var c=v(897),h=v(9570);const G={closed:!0,next(j){},error(j){if(c.$.useDeprecatedSynchronousErrorHandling)throw j;(0,h.T)(j)},complete(){}}},8401:(Qe,ge,v)=>{"use strict";v.d(ge,{E:()=>h});var c=v(8097);class h extends c.v{notifyNext(j,K,P,R,D){this.destination.next(K)}notifyError(j,K){this.destination.error(j)}notifyComplete(j){this.destination.complete()}}},8742:(Qe,ge,v)=>{"use strict";v.d(ge,{m:()=>R});var c=v(3119),h=v(5615),G=v(2672),j=v(188),K=v(3586),P=v(8402);class R extends c.B7{constructor($=Number.POSITIVE_INFINITY,F=Number.POSITIVE_INFINITY,k){super(),this.scheduler=k,this._events=[],this._infiniteTimeWindow=!1,this._bufferSize=$<1?1:$,this._windowTime=F<1?1:F,F===Number.POSITIVE_INFINITY?(this._infiniteTimeWindow=!0,this.next=this.nextInfiniteTimeWindow):this.next=this.nextTimeWindow}nextInfiniteTimeWindow($){const F=this._events;F.push($),F.length>this._bufferSize&&F.shift(),super.next($)}nextTimeWindow($){this._events.push(new D(this._getNow(),$)),this._trimBufferThenGetEvents(),super.next($)}_subscribe($){const F=this._infiniteTimeWindow,k=F?this._events:this._trimBufferThenGetEvents(),oe=this.scheduler,x=k.length;let ue;if(this.closed)throw new K.P;if(this.isStopped||this.hasError?ue=G.y.EMPTY:(this.observers.push($),ue=new P.Y(this,$)),oe&&$.add($=new j.YZ($,oe)),F)for(let le=0;le<x&&!$.closed;le++)$.next(k[le]);else for(let le=0;le<x&&!$.closed;le++)$.next(k[le].value);return this.hasError?$.error(this.thrownError):this.isStopped&&$.complete(),ue}_getNow(){return(this.scheduler||h.g).now()}_trimBufferThenGetEvents(){const $=this._getNow(),F=this._bufferSize,k=this._windowTime,oe=this._events,x=oe.length;let ue=0;for(;ue<x&&!($-oe[ue].time<k);)ue++;return x>F&&(ue=Math.max(ue,x-F)),ue>0&&oe.splice(0,ue),oe}}class D{constructor($,F){this.time=$,this.value=F}}},3119:(Qe,ge,v)=>{"use strict";v.d(ge,{B7:()=>D,PJ:()=>R});var c=v(434),h=v(8097),G=v(2672),j=v(3586),K=v(8402),P=v(5230);class R extends h.v{constructor(F){super(F),this.destination=F}}let D=(()=>{class $ extends c.c{constructor(){super(),this.observers=[],this.closed=!1,this.isStopped=!1,this.hasError=!1,this.thrownError=null}[P.D](){return new R(this)}lift(k){const oe=new W(this,this);return oe.operator=k,oe}next(k){if(this.closed)throw new j.P;if(!this.isStopped){const{observers:oe}=this,x=oe.length,ue=oe.slice();for(let le=0;le<x;le++)ue[le].next(k)}}error(k){if(this.closed)throw new j.P;this.hasError=!0,this.thrownError=k,this.isStopped=!0;const{observers:oe}=this,x=oe.length,ue=oe.slice();for(let le=0;le<x;le++)ue[le].error(k);this.observers.length=0}complete(){if(this.closed)throw new j.P;this.isStopped=!0;const{observers:k}=this,oe=k.length,x=k.slice();for(let ue=0;ue<oe;ue++)x[ue].complete();this.observers.length=0}unsubscribe(){this.isStopped=!0,this.closed=!0,this.observers=null}_trySubscribe(k){if(this.closed)throw new j.P;return super._trySubscribe(k)}_subscribe(k){if(this.closed)throw new j.P;return this.hasError?(k.error(this.thrownError),G.y.EMPTY):this.isStopped?(k.complete(),G.y.EMPTY):(this.observers.push(k),new K.Y(this,k))}asObservable(){const k=new c.c;return k.source=this,k}}return $.create=(F,k)=>new W(F,k),$})();class W extends D{constructor(F,k){super(),this.destination=F,this.source=k}next(F){const{destination:k}=this;k&&k.next&&k.next(F)}error(F){const{destination:k}=this;k&&k.error&&this.destination.error(F)}complete(){const{destination:F}=this;F&&F.complete&&this.destination.complete()}_subscribe(F){const{source:k}=this;return k?this.source.subscribe(F):G.y.EMPTY}}},8402:(Qe,ge,v)=>{"use strict";v.d(ge,{Y:()=>h});var c=v(2672);class h extends c.y{constructor(j,K){super(),this.subject=j,this.subscriber=K,this.closed=!1}unsubscribe(){if(this.closed)return;this.closed=!0;const j=this.subject,K=j.observers;if(this.subject=null,!K||0===K.length||j.isStopped||j.closed)return;const P=K.indexOf(this.subscriber);-1!==P&&K.splice(P,1)}}},8097:(Qe,ge,v)=>{"use strict";v.d(ge,{v:()=>R});var c=v(4526),h=v(181),G=v(2672),j=v(5230),K=v(897),P=v(9570);class R extends G.y{constructor($,F,k){switch(super(),this.syncErrorValue=null,this.syncErrorThrown=!1,this.syncErrorThrowable=!1,this.isStopped=!1,arguments.length){case 0:this.destination=h.I;break;case 1:if(!$){this.destination=h.I;break}if("object"==typeof $){$ instanceof R?(this.syncErrorThrowable=$.syncErrorThrowable,this.destination=$,$.add(this)):(this.syncErrorThrowable=!0,this.destination=new D(this,$));break}default:this.syncErrorThrowable=!0,this.destination=new D(this,$,F,k)}}[j.D](){return this}static create($,F,k){const oe=new R($,F,k);return oe.syncErrorThrowable=!1,oe}next($){this.isStopped||this._next($)}error($){this.isStopped||(this.isStopped=!0,this._error($))}complete(){this.isStopped||(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe())}_next($){this.destination.next($)}_error($){this.destination.error($),this.unsubscribe()}_complete(){this.destination.complete(),this.unsubscribe()}_unsubscribeAndRecycle(){const{_parentOrParents:$}=this;return this._parentOrParents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parentOrParents=$,this}}class D extends R{constructor($,F,k,oe){super(),this._parentSubscriber=$;let x,ue=this;(0,c.T)(F)?x=F:F&&(x=F.next,k=F.error,oe=F.complete,F!==h.I&&(ue=Object.create(F),(0,c.T)(ue.unsubscribe)&&this.add(ue.unsubscribe.bind(ue)),ue.unsubscribe=this.unsubscribe.bind(this))),this._context=ue,this._next=x,this._error=k,this._complete=oe}next($){if(!this.isStopped&&this._next){const{_parentSubscriber:F}=this;K.$.useDeprecatedSynchronousErrorHandling&&F.syncErrorThrowable?this.__tryOrSetError(F,this._next,$)&&this.unsubscribe():this.__tryOrUnsub(this._next,$)}}error($){if(!this.isStopped){const{_parentSubscriber:F}=this,{useDeprecatedSynchronousErrorHandling:k}=K.$;if(this._error)k&&F.syncErrorThrowable?(this.__tryOrSetError(F,this._error,$),this.unsubscribe()):(this.__tryOrUnsub(this._error,$),this.unsubscribe());else if(F.syncErrorThrowable)k?(F.syncErrorValue=$,F.syncErrorThrown=!0):(0,P.T)($),this.unsubscribe();else{if(this.unsubscribe(),k)throw $;(0,P.T)($)}}}complete(){if(!this.isStopped){const{_parentSubscriber:$}=this;if(this._complete){const F=()=>this._complete.call(this._context);K.$.useDeprecatedSynchronousErrorHandling&&$.syncErrorThrowable?(this.__tryOrSetError($,F),this.unsubscribe()):(this.__tryOrUnsub(F),this.unsubscribe())}else this.unsubscribe()}}__tryOrUnsub($,F){try{$.call(this._context,F)}catch(k){if(this.unsubscribe(),K.$.useDeprecatedSynchronousErrorHandling)throw k;(0,P.T)(k)}}__tryOrSetError($,F,k){if(!K.$.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{F.call(this._context,k)}catch(oe){return K.$.useDeprecatedSynchronousErrorHandling?($.syncErrorValue=oe,$.syncErrorThrown=!0,!0):((0,P.T)(oe),!0)}return!1}_unsubscribe(){const{_parentSubscriber:$}=this;this._context=null,this._parentSubscriber=null,$.unsubscribe()}}},2672:(Qe,ge,v)=>{"use strict";v.d(ge,{y:()=>P});
1var c=v(9869),h=v(1689),G=v(4526);const K=(()=>{function D(W){return Error.call(this),this.message=W?`${W.length} errors occurred during unsubscription:\n${W.map(($,F)=>`${F+1}) ${$.toString()}`).join("\n  ")}`:"",this.name="UnsubscriptionError",this.errors=W,this}return D.prototype=Object.create(Error.prototype),D})();class P{constructor(W){this.closed=!1,this._parentOrParents=null,this._subscriptions=null,W&&(this._unsubscribe=W)}unsubscribe(){let W;if(this.closed)return;let{_parentOrParents:$,_unsubscribe:F,_subscriptions:k}=this;if(this.closed=!0,this._parentOrParents=null,this._subscriptions=null,$ instanceof P)$.remove(this);else if(null!==$)for(let oe=0;oe<$.length;++oe)$[oe].remove(this);if((0,G.T)(F))try{F.call(this)}catch(oe){W=oe instanceof K?R(oe.errors):[oe]}if((0,c.c)(k)){let oe=-1,x=k.length;for(;++oe<x;){const ue=k[oe];if((0,h.G)(ue))try{ue.unsubscribe()}catch(le){W=W||[],le instanceof K?W=W.concat(R(le.errors)):W.push(le)}}}if(W)throw new K(W)}add(W){let $=W;if(!W)return P.EMPTY;switch(typeof W){case"function":$=new P(W);case"object":if($===this||$.closed||"function"!=typeof $.unsubscribe)return $;if(this.closed)return $.unsubscribe(),$;if(!($ instanceof P)){const oe=$;$=new P,$._subscriptions=[oe]}break;default:throw new Error("unrecognized teardown "+W+" added to Subscription.")}let{_parentOrParents:F}=$;if(null===F)$._parentOrParents=this;else if(F instanceof P){if(F===this)return $;$._parentOrParents=[F,this]}else{if(-1!==F.indexOf(this))return $;F.push(this)}const k=this._subscriptions;return null===k?this._subscriptions=[$]:k.push($),$}remove(W){const $=this._subscriptions;if($){const F=$.indexOf(W);-1!==F&&$.splice(F,1)}}}var D;function R(D){return D.reduce((W,$)=>W.concat($ instanceof K?$.errors:$),[])}P.EMPTY=((D=new P).closed=!0,D)},897:(Qe,ge,v)=>{"use strict";v.d(ge,{$:()=>h});let c=!1;const h={Promise:void 0,set useDeprecatedSynchronousErrorHandling(G){if(G){const j=new Error;console.warn("DEPRECATED! RxJS was set to use deprecated synchronous error handling behavior by code at: \n"+j.stack)}else c&&console.log("RxJS: Back to a better error behavior. Thank you. <3");c=G},get useDeprecatedSynchronousErrorHandling(){return c}}},1810:(Qe,ge,v)=>{"use strict";v.d(ge,{G:()=>P,f:()=>R});var c=v(3119),h=v(434),j=(v(8097),v(2672)),K=v(3261);class P extends h.c{constructor(k,oe){super(),this.source=k,this.subjectFactory=oe,this._refCount=0,this._isComplete=!1}_subscribe(k){return this.getSubject().subscribe(k)}getSubject(){const k=this._subject;return(!k||k.isStopped)&&(this._subject=this.subjectFactory()),this._subject}connect(){let k=this._connection;return k||(this._isComplete=!1,k=this._connection=new j.y,k.add(this.source.subscribe(new D(this.getSubject(),this))),k.closed&&(this._connection=null,k=j.y.EMPTY)),k}refCount(){return(0,K.B)()(this)}}const R=(()=>{const F=P.prototype;return{operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:F._subscribe},_isComplete:{value:F._isComplete,writable:!0},getSubject:{value:F.getSubject},connect:{value:F.connect},refCount:{value:F.refCount}}})();class D extends c.PJ{constructor(k,oe){super(k),this.connectable=oe}_error(k){this._unsubscribe(),super._error(k)}_complete(){this.connectable._isComplete=!0,this._unsubscribe(),super._complete()}_unsubscribe(){const k=this.connectable;if(k){this.connectable=null;const oe=k._connection;k._refCount=0,k._subject=null,k._connection=null,oe&&oe.unsubscribe()}}}},6443:(Qe,ge,v)=>{"use strict";v.d(ge,{zV:()=>R});var c=v(8201),h=v(9869),G=v(8401),j=v(1568),K=v(4324);const P={};function R(...$){let F=null,k=null;return(0,c.m)($[$.length-1])&&(k=$.pop()),"function"==typeof $[$.length-1]&&(F=$.pop()),1===$.length&&(0,h.c)($[0])&&($=$[0]),(0,K.c)($,k).lift(new D(F))}class D{constructor(F){this.resultSelector=F}call(F,k){return k.subscribe(new W(F,this.resultSelector))}}class W extends G.E{constructor(F,k){super(F),this.resultSelector=k,this.active=0,this.values=[],this.observables=[]}_next(F){this.values.push(P),this.observables.push(F)}_complete(){const F=this.observables,k=F.length;if(0===k)this.destination.complete();else{this.active=k,this.toRespond=k;for(let oe=0;oe<k;oe++){const x=F[oe];this.add((0,j.F)(this,x,x,oe))}}}notifyComplete(F){0==(this.active-=1)&&this.destination.complete()}notifyNext(F,k,oe,x,ue){const le=this.values,$e=this.toRespond?le[oe]===P?--this.toRespond:this.toRespond:0;le[oe]=k,0===$e&&(this.resultSelector?this._tryResultSelector(le):this.destination.next(le.slice()))}_tryResultSelector(F){let k;try{k=this.resultSelector.apply(this,F)}catch(oe){return void this.destination.error(oe)}this.destination.next(k)}}},6933:(Qe,ge,v)=>{"use strict";v.d(ge,{x:()=>j});var c=v(1536),h=v(9450);function j(...K){return function G(){return(0,h.U)(1)}()((0,c.of)(...K))}},4380:(Qe,ge,v)=>{"use strict";v.d(ge,{I:()=>G,w:()=>h});var c=v(434);const h=new c.c(K=>K.complete());function G(K){return K?function j(K){return new c.c(P=>K.schedule(()=>P.complete()))}(K):h}},8757:(Qe,ge,v)=>{"use strict";v.d(ge,{p:()=>P});var c=v(434),h=v(9869),G=v(5443),j=v(1689),K=v(2677);function P(...D){if(1===D.length){const W=D[0];if((0,h.c)(W))return R(W,null);if((0,j.G)(W)&&Object.getPrototypeOf(W)===Object.prototype){const $=Object.keys(W);return R($.map(F=>W[F]),$)}}if("function"==typeof D[D.length-1]){const W=D.pop();return R(D=1===D.length&&(0,h.c)(D[0])?D[0]:D,null).pipe((0,G.T)($=>W(...$)))}return R(D,null)}function R(D,W){return new c.c($=>{const F=D.length;if(0===F)return void $.complete();const k=new Array(F);let oe=0,x=0;for(let ue=0;ue<F;ue++){const le=(0,K.H)(D[ue]);let Se=!1;$.add(le.subscribe({next:$e=>{Se||(Se=!0,x++),k[ue]=$e},error:$e=>$.error($e),complete:()=>{oe++,(oe===F||!Se)&&(x===F&&$.next(W?W.reduce(($e,Re,Je)=>($e[Re]=k[Je],$e),{}):k),$.complete())}}))}})}},2677:(Qe,ge,v)=>{"use strict";v.d(ge,{H:()=>ue});var c=v(434),h=v(2794),G=v(2672),j=v(9291),R=v(5661),D=v(9136),F=v(4113),k=v(3370);function ue(le,Se){return Se?function x(le,Se){if(null!=le){if(function $(le){return le&&"function"==typeof le[j.s]}(le))return function K(le,Se){return new c.c($e=>
1{const Re=new G.y;return Re.add(Se.schedule(()=>{const Je=le[j.s]();Re.add(Je.subscribe({next(st){Re.add(Se.schedule(()=>$e.next(st)))},error(st){Re.add(Se.schedule(()=>$e.error(st)))},complete(){Re.add(Se.schedule(()=>$e.complete()))}}))})),Re})}(le,Se);if((0,F.y)(le))return function P(le,Se){return new c.c($e=>{const Re=new G.y;return Re.add(Se.schedule(()=>le.then(Je=>{Re.add(Se.schedule(()=>{$e.next(Je),Re.add(Se.schedule(()=>$e.complete()))}))},Je=>{Re.add(Se.schedule(()=>$e.error(Je)))}))),Re})}(le,Se);if((0,k.X)(le))return(0,R.V)(le,Se);if(function oe(le){return le&&"function"==typeof le[D.lJ]}(le)||"string"==typeof le)return function W(le,Se){if(!le)throw new Error("Iterable cannot be null");return new c.c($e=>{const Re=new G.y;let Je;return Re.add(()=>{Je&&"function"==typeof Je.return&&Je.return()}),Re.add(Se.schedule(()=>{Je=le[D.lJ](),Re.add(Se.schedule(function(){if($e.closed)return;let st,at;try{const nt=Je.next();st=nt.value,at=nt.done}catch(nt){return void $e.error(nt)}at?$e.complete():($e.next(st),this.schedule())}))})),Re})}(le,Se)}throw new TypeError((null!==le&&typeof le||le)+" is not observable")}(le,Se):le instanceof c.c?le:new c.c((0,h.i)(le))}},4324:(Qe,ge,v)=>{"use strict";v.d(ge,{c:()=>j});var c=v(434),h=v(7824),G=v(5661);function j(K,P){return P?(0,G.V)(K,P):new c.c((0,h.v)(K))}},7405:(Qe,ge,v)=>{"use strict";v.d(ge,{h:()=>K});var c=v(434),h=v(8201),G=v(9450),j=v(4324);function K(...P){let R=Number.POSITIVE_INFINITY,D=null,W=P[P.length-1];return(0,h.m)(W)?(D=P.pop(),P.length>1&&"number"==typeof P[P.length-1]&&(R=P.pop())):"number"==typeof W&&(R=P.pop()),null===D&&1===P.length&&P[0]instanceof c.c?P[0]:(0,G.U)(R)((0,j.c)(P,D))}},1536:(Qe,ge,v)=>{"use strict";v.d(ge,{of:()=>j});var c=v(8201),h=v(4324),G=v(5661);function j(...K){let P=K[K.length-1];return(0,c.m)(P)?(K.pop(),(0,G.V)(K,P)):(0,h.c)(K)}},6651:(Qe,ge,v)=>{"use strict";v.d(ge,{$:()=>h});var c=v(434);function h(j,K){return new c.c(K?P=>K.schedule(G,0,{error:j,subscriber:P}):P=>P.error(j))}function G({error:j,subscriber:K}){K.error(j)}},9314:(Qe,ge,v)=>{"use strict";v.d(ge,{W:()=>j});var c=v(8401),h=v(273),G=v(1568);function j(R){return function(W){const $=new K(R),F=W.lift($);return $.caught=F}}class K{constructor(D){this.selector=D}call(D,W){return W.subscribe(new P(D,this.selector,this.caught))}}class P extends c.E{constructor(D,W,$){super(D),this.selector=W,this.caught=$}error(D){if(!this.isStopped){let W;try{W=this.selector(D,this.caught)}catch(k){return void super.error(k)}this._unsubscribeAndRecycle();const $=new h.R(this,void 0,void 0);this.add($);const F=(0,G.F)(this,W,void 0,void 0,$);F!==$&&this.add(F)}}}},9003:(Qe,ge,v)=>{"use strict";v.d(ge,{H:()=>h});var c=v(3107);function h(G,j){return(0,c.ZZ)(G,j,1)}},4702:(Qe,ge,v)=>{"use strict";v.d(ge,{U:()=>h});var c=v(8097);function h(K=null){return P=>P.lift(new G(K))}class G{constructor(P){this.defaultValue=P}call(P,R){return R.subscribe(new j(P,this.defaultValue))}}class j extends c.v{constructor(P,R){super(P),this.defaultValue=R,this.isEmpty=!0}_next(P){this.isEmpty=!1,this.destination.next(P)}_complete(){this.isEmpty&&this.destination.next(this.defaultValue),this.destination.complete()}}},1493:(Qe,ge,v)=>{"use strict";v.d(ge,{p:()=>P});var c=v(8401),h=v(273),G=v(1568),j=v(5443),K=v(2677);function P(W,$){return $?F=>F.pipe(P((k,oe)=>(0,K.H)(W(k,oe)).pipe((0,j.T)((x,ue)=>$(k,x,oe,ue))))):F=>F.lift(new R(W))}class R{constructor($){this.project=$}call($,F){return F.subscribe(new D($,this.project))}}class D extends c.E{constructor($,F){super($),this.project=F,this.hasSubscription=!1,this.hasCompleted=!1,this.index=0}_next($){this.hasSubscription||this.tryNext($)}tryNext($){let F;const k=this.index++;try{F=this.project($,k)}catch(oe){return void this.destination.error(oe)}this.hasSubscription=!0,this._innerSub(F,$,k)}_innerSub($,F,k){const oe=new h.R(this,F,k),x=this.destination;x.add(oe);const ue=(0,G.F)(this,$,void 0,void 0,oe);ue!==oe&&x.add(ue)}_complete(){this.hasCompleted=!0,this.hasSubscription||this.destination.complete(),this.unsubscribe()}notifyNext($,F,k,oe,x){this.destination.next(F)}notifyError($){this.destination.error($)}notifyComplete($){this.destination.remove($),this.hasSubscription=!1,this.hasCompleted&&this.destination.complete()}}},8627:(Qe,ge,v)=>{"use strict";v.d(ge,{p:()=>h});var c=v(8097);function h(K,P){return function(D){return D.lift(new G(K,P))}}class G{constructor(P,R){this.predicate=P,this.thisArg=R}call(P,R){return R.subscribe(new j(P,this.predicate,this.thisArg))}}class j extends c.v{constructor(P,R,D){super(P),this.predicate=R,this.thisArg=D,this.count=0}_next(P){let R;try{R=this.predicate.call(this.thisArg,P,this.count++)}catch(D){return void this.destination.error(D)}R&&this.destination.next(P)}}},9863:(Qe,ge,v)=>{"use strict";v.d(ge,{j:()=>G});var c=v(8097),h=v(2672);function G(P){return R=>R.lift(new j(P))}class j{constructor(R){this.callback=R}call(R,D){return D.subscribe(new K(R,this.callback))}}class K extends c.v{constructor(R,D){super(R),this.add(new h.y(D))}}},5443:(Qe,ge,v)=>{"use strict";v.d(ge,{T:()=>h});var c=v(8097);function h(K,P){return function(D){if("function"!=typeof K)throw new TypeError("argument is not a function. Are you looking for `mapTo()`?");return D.lift(new G(K,P))}}class G{constructor(P,R){this.project=P,this.thisArg=R}call(P,R){return R.subscribe(new j(P,this.project,this.thisArg))}}class j extends c.v{constructor(P,R,D){super(P),this.project=R,this.count=0,this.thisArg=D||this}_next(P){let R;try{R=this.project.call(this.thisArg,P,this.count++)}catch(D){return void this.destination.error(D)}this.destination.next(R)}}},9450:(Qe,ge,v)=>{"use strict";v.d(ge,{U:()=>G});var c=v(3107),h=v(5980);function G(j=Number.POSITIVE_INFINITY){return(0,c.ZZ)(h.D,j)}},3107:(Qe,ge,v)=>{"use strict";v.d(ge,{ZZ:()=>P});var c=v(1568),h=v(8401),G=v(273),j=v(5443),K=v(2677);function P(W,$,F=Number.POSITIVE_INFINITY){return"function"==typeof $?k=>k.pipe(P((oe,x)=>(0,K.H)(W(oe,x)).pipe((0,j.T)((ue,le)=>$(oe,ue,x,le))),F)):("number"==typeof $&&(F=$),k=>k.lift(new R(W,F)))}class R{constructor($,F=Number.POSITIVE_INFINITY){this.project=$,this.concurrent=F}call($,F){return F.subscribe(new D($,this.project,this.concurrent))}}class D extends h.E{constructor($,F,k=Number.POSITIVE_INFINITY){super($),this.project=F,this.concurrent=k,this.hasCompleted=!1,this.buffer=[],this.active=0,this.index=0}_next($){this.active<this.concurrent?this._tryNext($):this.buffer.push($)}_tryNext($){let F;const k=this.index++;try{F=this.project($,k)}catch(oe){return void this.destination.error(oe)}this.active++,this._innerSub(F,$,k)}_innerSub($,F,k){const oe=new G.R(this,F,k),x=this.destination;x.add(oe);const ue=(0,c.F)(this,$,void 0,void 0,oe);ue!==oe&&x.add(ue)}_complete(){this.hasCompleted=!0,0===this.active&&0===this.buffer.length&&this.destination.complete(),this.unsubscribe()}notifyNext($,F,k,oe,x){this.destination.next(F)}notifyComplete($){const F=this.buffer;this.remove($),this.active--,F.length>0?this._next(F.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()}}},5219:(Qe,ge,v)=>{"use strict";v.d(ge,{f:()=>h});var c=v(1810);function h(j,K){return function(R){let D;if(D="function"==typeof j?j:function(){return j},"function"==typeof K)return R.lift(new G(D,K));const W=Object.create(R,c.f);return W.source=R,W.subjectFactory=D,W}}class G{constructor(K,P){this.subjectFactory=K,this.selector=P}call(K,P){const{selector:R}=this,D=this.subjectFactory(),W=R(D).subscribe(K);return W.add(P.subscribe(D)),W}}},188:(Qe,ge,v)=>{"use strict";v.d(ge,{QE:()=>G,YZ:()=>K});var c=v(8097),h=v(1500);function G(R,D=0){return function($){return $.lift(new j(R,D))}}
1class j{constructor(D,W=0){this.scheduler=D,this.delay=W}call(D,W){return W.subscribe(new K(D,this.scheduler,this.delay))}}class K extends c.v{constructor(D,W,$=0){super(D),this.scheduler=W,this.delay=$}static dispatch(D){const{notification:W,destination:$}=D;W.observe($),this.unsubscribe()}scheduleMessage(D){this.destination.add(this.scheduler.schedule(K.dispatch,this.delay,new P(D,this.destination)))}_next(D){this.scheduleMessage(h.E.createNext(D))}_error(D){this.scheduleMessage(h.E.createError(D)),this.unsubscribe()}_complete(){this.scheduleMessage(h.E.createComplete()),this.unsubscribe()}}class P{constructor(D,W){this.notification=D,this.destination=W}}},9852:(Qe,ge,v)=>{"use strict";v.d(ge,{E:()=>h});var c=v(5443);function h(...j){const K=j.length;if(0===K)throw new Error("list of properties cannot be empty.");return P=>(0,c.T)(function G(j,K){return R=>{let D=R;for(let W=0;W<K;W++){const $=D[j[W]];if(!(typeof $<"u"))return;D=$}return D}}(j,K))(P)}},4041:(Qe,ge,v)=>{"use strict";v.d(ge,{H:()=>G});var c=v(8742),h=v(5219);function G(j,K,P,R){P&&"function"!=typeof P&&(R=P);const D="function"==typeof P?P:void 0,W=new c.m(j,K,R);return $=>(0,h.f)(()=>W,D)($)}},3261:(Qe,ge,v)=>{"use strict";v.d(ge,{B:()=>h});var c=v(8097);function h(){return function(P){return P.lift(new G(P))}}class G{constructor(P){this.connectable=P}call(P,R){const{connectable:D}=this;D._refCount++;const W=new j(P,D),$=R.subscribe(W);return W.closed||(W.connection=D.connect()),$}}class j extends c.v{constructor(P,R){super(P),this.connectable=R}_unsubscribe(){const{connectable:P}=this;if(!P)return void(this.connection=null);this.connectable=null;const R=P._refCount;if(R<=0)return void(this.connection=null);if(P._refCount=R-1,R>1)return void(this.connection=null);const{connection:D}=this,W=P._connection;this.connection=null,W&&(!D||W===D)&&W.unsubscribe()}}},2508:(Qe,ge,v)=>{"use strict";v.d(ge,{S:()=>h});var c=v(8097);function h(K,P){let R=!1;return arguments.length>=2&&(R=!0),function(W){return W.lift(new G(K,P,R))}}class G{constructor(P,R,D=!1){this.accumulator=P,this.seed=R,this.hasSeed=D}call(P,R){return R.subscribe(new j(P,this.accumulator,this.seed,this.hasSeed))}}class j extends c.v{constructor(P,R,D,W){super(P),this.accumulator=R,this._seed=D,this.hasSeed=W,this.index=0}get seed(){return this._seed}set seed(P){this.hasSeed=!0,this._seed=P}_next(P){if(this.hasSeed)return this._tryNext(P);this.seed=P,this.destination.next(P)}_tryNext(P){const R=this.index++;let D;try{D=this.accumulator(this.seed,P,R)}catch(W){this.destination.error(W)}this.seed=D,this.destination.next(D)}}},9273:(Qe,ge,v)=>{"use strict";v.d(ge,{Z:()=>G});var c=v(6933),h=v(8201);function G(...j){const K=j[j.length-1];return(0,h.m)(K)?(j.pop(),P=>(0,c.x)(j,P,K)):P=>(0,c.x)(j,P)}},1963:(Qe,ge,v)=>{"use strict";v.d(ge,{n:()=>P});var c=v(8401),h=v(273),G=v(1568),j=v(5443),K=v(2677);function P(W,$){return"function"==typeof $?F=>F.pipe(P((k,oe)=>(0,K.H)(W(k,oe)).pipe((0,j.T)((x,ue)=>$(k,x,oe,ue))))):F=>F.lift(new R(W))}class R{constructor($){this.project=$}call($,F){return F.subscribe(new D($,this.project))}}class D extends c.E{constructor($,F){super($),this.project=F,this.index=0}_next($){let F;const k=this.index++;try{F=this.project($,k)}catch(oe){return void this.destination.error(oe)}this._innerSub(F,$,k)}_innerSub($,F,k){const oe=this.innerSubscription;oe&&oe.unsubscribe();const x=new h.R(this,F,k),ue=this.destination;ue.add(x),this.innerSubscription=(0,G.F)(this,$,void 0,void 0,x),this.innerSubscription!==x&&ue.add(this.innerSubscription)}_complete(){const{innerSubscription:$}=this;(!$||$.closed)&&super._complete(),this.unsubscribe()}_unsubscribe(){this.innerSubscription=null}notifyComplete($){this.destination.remove($),this.innerSubscription=null,this.isStopped&&super._complete()}notifyNext($,F,k,oe,x){this.destination.next(F)}}},3602:(Qe,ge,v)=>{"use strict";v.d(ge,{s:()=>j});var c=v(8097),h=v(5741),G=v(4380);function j(R){return D=>0===R?(0,G.I)():D.lift(new K(R))}class K{constructor(D){if(this.total=D,this.total<0)throw new h.k}call(D,W){return W.subscribe(new P(D,this.total))}}class P extends c.v{constructor(D,W){super(D),this.total=W,this.count=0}_next(D){const W=this.total,$=++this.count;$<=W&&(this.destination.next(D),$===W&&(this.destination.complete(),this.unsubscribe()))}}},446:(Qe,ge,v)=>{"use strict";v.d(ge,{o:()=>j});var c=v(8097),h=v(5741),G=v(4380);function j(R){return function(W){return 0===R?(0,G.I)():W.lift(new K(R))}}class K{constructor(D){if(this.total=D,this.total<0)throw new h.k}call(D,W){return W.subscribe(new P(D,this.total))}}class P extends c.v{constructor(D,W){super(D),this.total=W,this.ring=new Array,this.count=0}_next(D){const W=this.ring,$=this.total,F=this.count++;W.length<$?W.push(D):W[F%$]=D}_complete(){const D=this.destination;let W=this.count;if(W>0){const $=this.count>=this.total?this.total:this.count,F=this.ring;for(let k=0;k<$;k++){const oe=W++%$;D.next(F[oe])}}D.complete()}}},7464:(Qe,ge,v)=>{"use strict";v.d(ge,{Q:()=>G});var c=v(8401),h=v(1568);function G(P){return R=>R.lift(new j(P))}class j{constructor(R){this.notifier=R}call(R,D){const W=new K(R),$=(0,h.F)(W,this.notifier);return $&&!W.seenValue?(W.add($),D.subscribe(W)):W}}class K extends c.E{constructor(R){super(R),this.seenValue=!1}notifyNext(R,D,W,$,F){this.seenValue=!0,this.complete()}notifyComplete(){}}},4484:(Qe,ge,v)=>{"use strict";v.d(ge,{M:()=>j});var c=v(8097);function h(){}
1var G=v(4526);function j(R,D,W){return function(F){return F.lift(new K(R,D,W))}}class K{constructor(D,W,$){this.nextOrObserver=D,this.error=W,this.complete=$}call(D,W){return W.subscribe(new P(D,this.nextOrObserver,this.error,this.complete))}}class P extends c.v{constructor(D,W,$,F){super(D),this._tapNext=h,this._tapError=h,this._tapComplete=h,this._tapError=$||h,this._tapComplete=F||h,(0,G.T)(W)?(this._context=this,this._tapNext=W):W&&(this._context=W,this._tapNext=W.next||h,this._tapError=W.error||h,this._tapComplete=W.complete||h)}_next(D){try{this._tapNext.call(this._context,D)}catch(W){return void this.destination.error(W)}this.destination.next(D)}_error(D){try{this._tapError.call(this._context,D)}catch(W){return void this.destination.error(W)}this.destination.error(D)}_complete(){try{this._tapComplete.call(this._context)}catch(D){return void this.destination.error(D)}return this.destination.complete()}}},9006:(Qe,ge,v)=>{"use strict";v.d(ge,{E:()=>G});var c=v(8401),h=v(1568);function G(...P){return R=>{let D;return"function"==typeof P[P.length-1]&&(D=P.pop()),R.lift(new j(P,D))}}class j{constructor(R,D){this.observables=R,this.project=D}call(R,D){return D.subscribe(new K(R,this.observables,this.project))}}class K extends c.E{constructor(R,D,W){super(R),this.observables=D,this.project=W,this.toRespond=[];const $=D.length;this.values=new Array($);for(let F=0;F<$;F++)this.toRespond.push(F);for(let F=0;F<$;F++){let k=D[F];this.add((0,h.F)(this,k,k,F))}}notifyNext(R,D,W,$,F){this.values[W]=D;const k=this.toRespond;if(k.length>0){const oe=k.indexOf(W);-1!==oe&&k.splice(oe,1)}}notifyComplete(){}_next(R){if(0===this.toRespond.length){const D=[R,...this.values];this.project?this._tryProject(D):this.destination.next(D)}}_tryProject(R){let D;try{D=this.project.apply(this,R)}catch(W){return void this.destination.error(W)}this.destination.next(D)}}},5661:(Qe,ge,v)=>{"use strict";v.d(ge,{V:()=>G});var c=v(434),h=v(2672);function G(j,K){return new c.c(P=>{const R=new h.y;let D=0;return R.add(K.schedule(function(){D!==j.length?(P.next(j[D++]),P.closed||R.add(this.schedule())):P.complete()})),R})}},6244:(Qe,ge,v)=>{"use strict";v.d(ge,{R:()=>G});var c=v(2672);class h extends c.y{constructor(K,P){super()}schedule(K,P=0){return this}}class G extends h{constructor(K,P){super(K,P),this.scheduler=K,this.work=P,this.pending=!1}schedule(K,P=0){if(this.closed)return this;this.state=K;const R=this.id,D=this.scheduler;return null!=R&&(this.id=this.recycleAsyncId(D,R,P)),this.pending=!0,this.delay=P,this.id=this.id||this.requestAsyncId(D,this.id,P),this}requestAsyncId(K,P,R=0){return setInterval(K.flush.bind(K,this),R)}recycleAsyncId(K,P,R=0){if(null!==R&&this.delay===R&&!1===this.pending)return P;clearInterval(P)}execute(K,P){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const R=this._execute(K,P);if(R)return R;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(K,P){let D,R=!1;try{this.work(K)}catch(W){R=!0,D=!!W&&W||new Error(W)}if(R)return this.unsubscribe(),D}_unsubscribe(){const K=this.id,P=this.scheduler,R=P.actions,D=R.indexOf(this);this.work=null,this.state=null,this.pending=!1,this.scheduler=null,-1!==D&&R.splice(D,1),null!=K&&(this.id=this.recycleAsyncId(P,K,null)),this.delay=null}}},2059:(Qe,ge,v)=>{"use strict";v.d(ge,{q:()=>h});let c=(()=>{class G{constructor(K,P=G.now){this.SchedulerAction=K,this.now=P}schedule(K,P=0,R){return new this.SchedulerAction(this,K).schedule(R,P)}}return G.now=()=>Date.now(),G})();class h extends c{constructor(j,K=c.now){super(j,()=>h.delegate&&h.delegate!==this?h.delegate.now():K()),this.actions=[],this.active=!1,this.scheduled=void 0}schedule(j,K=0,P){return h.delegate&&h.delegate!==this?h.delegate.schedule(j,K,P):super.schedule(j,K,P)}flush(j){const{actions:K}=this;if(this.active)return void K.push(j);let P;this.active=!0;do{if(P=j.execute(j.state,j.delay))break}while(j=K.shift());if(this.active=!1,P){for(;j=K.shift();)j.unsubscribe();throw P}}}},5615:(Qe,ge,v)=>{"use strict";v.d(ge,{g:()=>K});var c=v(6244),G=v(2059);
1const K=new class j extends G.q{}(class h extends c.R{constructor(R,D){super(R,D),this.scheduler=R,this.work=D}schedule(R,D=0){return D>0?super.schedule(R,D):(this.delay=D,this.state=R,this.scheduler.flush(this),this)}execute(R,D){return D>0||this.closed?super.execute(R,D):this._execute(R,D)}requestAsyncId(R,D,W=0){return null!==W&&W>0||null===W&&this.delay>0?super.requestAsyncId(R,D,W):R.flush(this)}})},9136:(Qe,ge,v)=>{"use strict";v.d(ge,{lJ:()=>h});const h=function c(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}()},9291:(Qe,ge,v)=>{"use strict";v.d(ge,{s:()=>c});const c="function"==typeof Symbol&&Symbol.observable||"@@observable"},5230:(Qe,ge,v)=>{"use strict";v.d(ge,{D:()=>c});const c="function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random()},5741:(Qe,ge,v)=>{"use strict";v.d(ge,{k:()=>h});const h=(()=>{function G(){return Error.call(this),this.message="argument out of range",this.name="ArgumentOutOfRangeError",this}return G.prototype=Object.create(Error.prototype),G})()},3586:(Qe,ge,v)=>{"use strict";v.d(ge,{P:()=>h});const h=(()=>{function G(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}return G.prototype=Object.create(Error.prototype),G})()},9570:(Qe,ge,v)=>{"use strict";function c(h){setTimeout(()=>{throw h},0)}v.d(ge,{T:()=>c})},5980:(Qe,ge,v)=>{"use strict";function c(h){return h}v.d(ge,{D:()=>c})},9869:(Qe,ge,v)=>{"use strict";v.d(ge,{c:()=>c});const c=Array.isArray||(h=>h&&"number"==typeof h.length)},3370:(Qe,ge,v)=>{"use strict";v.d(ge,{X:()=>c});const c=h=>h&&"number"==typeof h.length&&"function"!=typeof h},4526:(Qe,ge,v)=>{"use strict";function c(h){return"function"==typeof h}v.d(ge,{T:()=>c})},1689:(Qe,ge,v)=>{"use strict";function c(h){return null!==h&&"object"==typeof h}v.d(ge,{G:()=>c})},4113:(Qe,ge,v)=>{"use strict";function c(h){return!!h&&"function"!=typeof h.subscribe&&"function"==typeof h.then}v.d(ge,{y:()=>c})},8201:(Qe,ge,v)=>{"use strict";function c(h){return h&&"function"==typeof h.schedule}v.d(ge,{m:()=>c})},782:(Qe,ge,v)=>{"use strict";v.d(ge,{F:()=>h,m:()=>G});var c=v(5980);function h(...j){return G(j)}function G(j){return 0===j.length?c.D:1===j.length?j[0]:function(P){return j.reduce((R,D)=>D(R),P)}}},2794:(Qe,ge,v)=>{"use strict";v.d(ge,{i:()=>F});var c=v(7824),h=v(9570),j=v(9136),P=v(9291),D=v(3370),W=v(4113),$=v(1689);const F=k=>{if(k&&"function"==typeof k[P.s])return(k=>oe=>{const x=k[P.s]();if("function"!=typeof x.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return x.subscribe(oe)})(k);if((0,D.X)(k))return(0,c.v)(k);if((0,W.y)(k))return(k=>oe=>(k.then(x=>{oe.closed||(oe.next(x),oe.complete())},x=>oe.error(x)).then(null,h.T),oe))(k);if(k&&"function"==typeof k[j.lJ])return(k=>oe=>{const x=k[j.lJ]();for(;;){const ue=x.next();if(ue.done){oe.complete();break}if(oe.next(ue.value),oe.closed)break}return"function"==typeof x.return&&oe.add(()=>{x.return&&x.return()}),oe})(k);{const x=`You provided ${(0,$.G)(k)?"an invalid object":`'${k}'`} where a stream was expected. You can provide an Observable, Promise, Array, or Iterable.`;throw new TypeError(x)}}},7824:(Qe,ge,v)=>{"use strict";v.d(ge,{v:()=>c});const c=h=>G=>{for(let j=0,K=h.length;j<K&&!G.closed;j++)G.next(h[j]);G.complete()}},1568:(Qe,ge,v)=>{"use strict";v.d(ge,{F:()=>j});var c=v(273),h=v(2794),G=v(434);function j(K,P,R,D,W=new c.R(K,R,D)){if(!W.closed)return P instanceof G.c?P.subscribe(W):(0,h.i)(P)(W)}},6242:(Qe,ge,v)=>{"use strict";function c(h,G){return G=G||{},new Promise(function(j,K){var P=new XMLHttpRequest,R=[],D=[],W={},$=function(){return{ok:2==(P.status/100|0),statusText:P.statusText,status:P.status,url:P.responseURL,text:function(){return Promise.resolve(P.responseText)},json:function(){return Promise.resolve(P.responseText).then(JSON.parse)},blob:function(){return Promise.resolve(new Blob([P.response]))},clone:$,headers:{keys:function(){return R},entries:function(){return D},get:function(k){return W[k.toLowerCase()]},has:function(k){return k.toLowerCase()in W}}}};for(var F in P.open(G.method||"get",h,!0),P.onload=function(){P.getAllResponseHeaders().replace(/^(.*?):[^\S\n]*([\s\S]*?)$/gm,function(k,oe,x){R.push(oe=oe.toLowerCase()),D.push([oe,x]),W[oe]=W[oe]?W[oe]+","+x:x}),j($())},P.onerror=K,P.withCredentials="include"==G.credentials,G.headers)P.setRequestHeader(F,G.headers[F]);P.send(G.body||null)})}v.r(ge),v.d(ge,{default:()=>c})},1178:function(Qe,ge,v){var c;Qe=v.nmd(Qe),function(h){"object"==typeof global&&global;var P,R=2147483647,D=36,$=26,F=38,k=700,le=/^xn--/,Se=/[^\x20-\x7E]/,$e=/[\x2E\u3002\uFF0E\uFF61]/g,Re={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >
1= 0x80 (not a basic code point)","invalid-input":"Invalid input"},Je=D-1,st=Math.floor,at=String.fromCharCode;function we(Ut){throw RangeError(Re[Ut])}function re(Ut,Xt){for(var rn=Ut.length,Cn=[];rn--;)Cn[rn]=Xt(Ut[rn]);return Cn}function ye(Ut,Xt){var rn=Ut.split("@"),Cn="";return rn.length>1&&(Cn=rn[0]+"@",Ut=rn[1]),Cn+re((Ut=Ut.replace($e,".")).split("."),Xt).join(".")}function Me(Ut){for(var On,Bn,Xt=[],rn=0,Cn=Ut.length;rn<Cn;)(On=Ut.charCodeAt(rn++))>=55296&&On<=56319&&rn<Cn?56320==(64512&(Bn=Ut.charCodeAt(rn++)))?Xt.push(((1023&On)<<10)+(1023&Bn)+65536):(Xt.push(On),rn--):Xt.push(On);return Xt}function Ie(Ut){return re(Ut,function(Xt){var rn="";return Xt>65535&&(rn+=at((Xt-=65536)>>>10&1023|55296),Xt=56320|1023&Xt),rn+at(Xt)}).join("")}function We(Ut){return Ut-48<10?Ut-22:Ut-65<26?Ut-65:Ut-97<26?Ut-97:D}function me(Ut,Xt){return Ut+22+75*(Ut<26)-((0!=Xt)<<5)}function _t(Ut,Xt,rn){var Cn=0;for(Ut=rn?st(Ut/k):Ut>>1,Ut+=st(Ut/Xt);Ut>Je*$>>1;Cn+=D)Ut=st(Ut/Je);return st(Cn+(Je+1)*Ut/(Ut+F))}function Yt(Ut){var Cn,Qt,wn,Mn,pn,Zn,be,Pt,In,Nn,Xt=[],rn=Ut.length,On=0,Bn=128,dn=72;for((Qt=Ut.lastIndexOf("-"))<0&&(Qt=0),wn=0;wn<Qt;++wn)Ut.charCodeAt(wn)>=128&&we("not-basic"),Xt.push(Ut.charCodeAt(wn));for(Mn=Qt>0?Qt+1:0;Mn<rn;){for(pn=On,Zn=1,be=D;Mn>=rn&&we("invalid-input"),((Pt=We(Ut.charCodeAt(Mn++)))>=D||Pt>st((R-On)/Zn))&&we("overflow"),On+=Pt*Zn,!(Pt<(In=be<=dn?1:be>=dn+$?$:be-dn));be+=D)Zn>st(R/(Nn=D-In))&&we("overflow"),Zn*=Nn;dn=_t(On-pn,Cn=Xt.length+1,0==pn),st(On/Cn)>R-Bn&&we("overflow"),Bn+=st(On/Cn),On%=Cn,Xt.splice(On++,0,Bn)}return Ie(Xt)}function vn(Ut){var Xt,rn,Cn,On,Bn,dn,Qt,wn,Mn,pn,Zn,Pt,In,Nn,ur,be=[];for(Pt=(Ut=Me(Ut)).length,Xt=128,rn=0,Bn=72,dn=0;dn<Pt;++dn)(Zn=Ut[dn])<128&&be.push(at(Zn));for(Cn=On=be.length,On&&be.push("-");Cn<Pt;){for(Qt=R,dn=0;dn<Pt;++dn)(Zn=Ut[dn])>=Xt&&Zn<Qt&&(Qt=Zn);for(Qt-Xt>st((R-rn)/(In=Cn+1))&&we("overflow"),rn+=(Qt-Xt)*In,Xt=Qt,dn=0;dn<Pt;++dn)if((Zn=Ut[dn])<Xt&&++rn>R&&we("overflow"),Zn==Xt){for(wn=rn,Mn=D;!(wn<(pn=Mn<=Bn?1:Mn>=Bn+$?$:Mn-Bn));Mn+=D)be.push(at(me(pn+(ur=wn-pn)%(Nn=D-pn),0))),wn=st(ur/Nn);be.push(at(me(wn,0))),Bn=_t(rn,In,Cn==On),rn=0,++Cn}++rn,++Xt}return be.join("")}P={version:"1.3.2",ucs2:{decode:Me,encode:Ie},decode:Yt,encode:vn,toASCII:function an(Ut){return ye(Ut,function(Xt){return Se.test(Xt)?"xn--"+vn(Xt):Xt})},toUnicode:function Gt(Ut){return ye(Ut,function(Xt){return le.test(Xt)?Yt(Xt.slice(4).toLowerCase()):Xt})}},void 0!==(c=function(){return P}
1.call(ge,v,ge,Qe))&&(Qe.exports=c)}()},1879:(Qe,ge,v)=>{"use strict";var h=v(1178),G=v(1584);function j(){this.protocol=null,this.slashes=null,this.auth=null,this.host=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.query=null,this.pathname=null,this.path=null,this.href=null}ge.qg=Je,ge.GP=function st(we){return G.isString(we)&&(we=Je(we)),we instanceof j?we.format():j.prototype.format.call(we)};var K=/^([a-z0-9.+-]+:)/i,P=/:[0-9]*$/,R=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,W=["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r","\n","\t"]),$=["'"].concat(W),F=["%","/","?",";","#"].concat($),k=["/","?","#"],x=/^[+a-z0-9A-Z_-]{0,63}$/,ue=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,le={javascript:!0,"javascript:":!0},Se={javascript:!0,"javascript:":!0},$e={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},Re=v(4630);function Je(we,re,ye){if(we&&G.isObject(we)&&we instanceof j)return we;var Me=new j;return Me.parse(we,re,ye),Me}j.prototype.parse=function(we,re,ye){if(!G.isString(we))throw new TypeError("Parameter 'url' must be a string, not "+typeof we);var Me=we.indexOf("?"),Ie=-1!==Me&&Me<we.indexOf("#")?"?":"#",We=we.split(Ie);We[0]=We[0].replace(/\\/g,"/");var _t=we=We.join(Ie);if(_t=_t.trim(),!ye&&1===we.split("#").length){var Yt=R.exec(_t);if(Yt)return this.path=_t,this.href=_t,this.pathname=Yt[1],Yt[2]?(this.search=Yt[2],this.query=re?Re.parse(this.search.substr(1)):this.search.substr(1)):re&&(this.search="",this.query={}),this}var vn=K.exec(_t);if(vn){var Gt=(vn=vn[0]).toLowerCase();this.protocol=Gt,_t=_t.substr(vn.length)}if(ye||vn||_t.match(/^\/\/[^@\/]+@[^@\/]+/)){var an="//"===_t.substr(0,2);an&&(!vn||!Se[vn])&&(_t=_t.substr(2),this.slashes=!0)}if(!Se[vn]&&(an||vn&&!$e[vn])){for(var Ut=-1,Xt=0;Xt<k.length;Xt++)-1!==(rn=_t.indexOf(k[Xt]))&&(-1===Ut||rn<Ut)&&(Ut=rn);var Cn,On;for(-1!==(On=-1===Ut?_t.lastIndexOf("@"):_t.lastIndexOf("@",Ut))&&(Cn=_t.slice(0,On),_t=_t.slice(On+1),this.auth=decodeURIComponent(Cn)),Ut=-1,Xt=0;Xt<F.length;Xt++){var rn;-1!==(rn=_t.indexOf(F[Xt]))&&(-1===Ut||rn<Ut)&&(Ut=rn)}-1===Ut&&(Ut=_t.length),this.host=_t.slice(0,Ut),_t=_t.slice(Ut),this.parseHost(),this.hostname=this.hostname||"";var Bn="["===this.hostname[0]&&"]"===this.hostname[this.hostname.length-1];if(!Bn)for(var dn=this.hostname.split(/\./),Qt=(Xt=0,dn.length);Xt<Qt;Xt++){var wn=dn[Xt];if(wn&&!wn.match(x)){for(var Mn="",pn=0,Zn=wn.length;pn<Zn;pn++)wn.charCodeAt(pn)>127?Mn+="x":Mn+=wn[pn];if(!Mn.match(x)){var be=dn.slice(0,Xt),Pt=dn.slice(Xt+1),In=wn.match(ue);In&&(be.push(In[1]),Pt.unshift(In[2])),Pt.length&&(_t="/"+Pt.join(".")+_t),this.hostname=be.join(".");break}}}this.hostname=this.hostname.length>255?"":this.hostname.toLowerCase(),Bn||(this.hostname=h.toASCII(this.hostname)),this.host=(this.hostname||"")+(this.port?":"+this.port:""),this.href+=this.host,Bn&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),"/"!==_t[0]&&(_t="/"+_t))}if(!le[Gt])for(Xt=0,Qt=$.length;Xt<Qt;Xt++){var Hr=$[Xt];if(-1!==_t.indexOf(Hr)){var zt=encodeURIComponent(Hr);zt===Hr&&(zt=escape(Hr)),_t=_t.split(Hr).join(zt)}}var ke=_t.indexOf("#");-1!==ke&&(this.hash=_t.substr(ke),_t=_t.slice(0,ke));var te=_t.indexOf("?");return-1!==te?(this.search=_t.substr(te),this.query=_t.substr(te+1),re&&(this.query=Re.parse(this.query)),_t=_t.slice(0,te)):re&&(this.search="",this.query={}),_t&&(this.pathname=_t),$e[Gt]&&this.hostname&&!this.pathname&&(this.pathname="/"),(this.pathname||this.search)&&(this.path=(this.pathname||"")+(this.search||"")),this.href=this.format(),this},j.prototype.format=function(){var we=this.auth||"";we&&(we=(we=encodeURIComponent(we)).replace(/%3A/i,":"),we+="@");var re=this.protocol||"",ye=this.pathname||"",Me=this.hash||"",Ie=!1,We="";this.host?Ie=we+this.host:this.hostname&&(Ie=we+(-1===this.hostname.indexOf(":")?this.hostname:"["+this.hostname+"]"),this.port&&(Ie+=":"+this.port)),this.query&&G.isObject(this.query)&&Object.keys(this.query).length&&(We=Re.stringify(this.query));var me=this.search||We&&"?"+We||"";return re&&":"!==re.substr(-1)&&(re+=":"),this.slashes||(!re||$e[re])&&!1!==Ie?(Ie="//"+(Ie||""),ye&&"/"!==ye.charAt(0)&&(ye="/"+ye)):Ie||(Ie=""),Me&&"#"!==Me.charAt(0)&&(Me="#"+Me),me&&"?"!==me.charAt(0)&&(me="?"+me),re+Ie+(ye=ye.replace(/[?#]/g,function(_t){return encodeURIComponent(_t)}))+(me=me.replace("#","%23"))+Me},j.prototype.resolve=function(we){return this.resolveObject(Je(we,!1,!0)).format()},j.prototype.resolveObject=function(we){if(G.isString(we)){var re=new j;re.parse(we,!1,!0),we=re}for(var ye=new j,Me=Object.keys(this),Ie=0;Ie<Me.length;Ie++){var We=Me[Ie];ye[We]=this[We]}if(ye.hash=we.hash,""===we.href)return ye.href=ye.format(),ye;if(we.slashes&&!we.protocol){for(var me=Object.keys(we),_t=0;_t<me.length;_t++){var Yt=me[_t];"protocol"!==Yt&&(ye[Yt]=we[Yt])}return $e[ye.protocol]&&ye.hostname&&!ye.pathname&&(ye.path=ye.pathname="/"),ye.href=ye.format(),ye}if(we.protocol&&we.protocol!==ye.protocol){if(!$e[we.protocol]){for(var vn=Object.keys(we),Gt=0;Gt<vn.length;Gt++){var an=vn[Gt];ye[an]=we[an]}return ye.href=ye.format(),ye}if(ye.protocol=we.protocol,we.host||Se[we.protocol])ye.pathname=we.pathname;else{for(var Qt=(we.pathname||"").split("/");
1Qt.length&&!(we.host=Qt.shift()););we.host||(we.host=""),we.hostname||(we.hostname=""),""!==Qt[0]&&Qt.unshift(""),Qt.length<2&&Qt.unshift(""),ye.pathname=Qt.join("/")}return ye.search=we.search,ye.query=we.query,ye.host=we.host||"",ye.auth=we.auth,ye.hostname=we.hostname||we.host,ye.port=we.port,(ye.pathname||ye.search)&&(ye.path=(ye.pathname||"")+(ye.search||"")),ye.slashes=ye.slashes||we.slashes,ye.href=ye.format(),ye}var rn=ye.pathname&&"/"===ye.pathname.charAt(0),Cn=we.host||we.pathname&&"/"===we.pathname.charAt(0),On=Cn||rn||ye.host&&we.pathname,Bn=On,dn=ye.pathname&&ye.pathname.split("/")||[],wn=(Qt=we.pathname&&we.pathname.split("/")||[],ye.protocol&&!$e[ye.protocol]);if(wn&&(ye.hostname="",ye.port=null,ye.host&&(""===dn[0]?dn[0]=ye.host:dn.unshift(ye.host)),ye.host="",we.protocol&&(we.hostname=null,we.port=null,we.host&&(""===Qt[0]?Qt[0]=we.host:Qt.unshift(we.host)),we.host=null),On=On&&(""===Qt[0]||""===dn[0])),Cn)ye.host=we.host||""===we.host?we.host:ye.host,ye.hostname=we.hostname||""===we.hostname?we.hostname:ye.hostname,ye.search=we.search,ye.query=we.query,dn=Qt;else if(Qt.length)dn||(dn=[]),dn.pop(),dn=dn.concat(Qt),ye.search=we.search,ye.query=we.query;else if(!G.isNullOrUndefined(we.search))return wn&&(ye.hostname=ye.host=dn.shift(),(Mn=!!(ye.host&&ye.host.indexOf("@")>0)&&ye.host.split("@"))&&(ye.auth=Mn.shift(),ye.host=ye.hostname=Mn.shift())),ye.search=we.search,ye.query=we.query,(!G.isNull(ye.pathname)||!G.isNull(ye.search))&&(ye.path=(ye.pathname?ye.pathname:"")+(ye.search?ye.search:"")),ye.href=ye.format(),ye;if(!dn.length)return ye.pathname=null,ye.path=ye.search?"/"+ye.search:null,ye.href=ye.format(),ye;for(var pn=dn.slice(-1)[0],Zn=(ye.host||we.host||dn.length>1)&&("."===pn||".."===pn)||""===pn,be=0,Pt=dn.length;Pt>=0;Pt--)"."===(pn=dn[Pt])?dn.splice(Pt,1):".."===pn?(dn.splice(Pt,1),be++):be&&(dn.splice(Pt,1),be--);if(!On&&!Bn)for(;be--;be)dn.unshift("..");On&&""!==dn[0]&&(!dn[0]||"/"!==dn[0].charAt(0))&&dn.unshift(""),Zn&&"/"!==dn.join("/").substr(-1)&&dn.push("");var Mn,In=""===dn[0]||dn[0]&&"/"===dn[0].charAt(0);return wn&&(ye.hostname=ye.host=In?"":dn.length?dn.shift():"",(Mn=!!(ye.host&&ye.host.indexOf("@")>0)&&ye.host.split("@"))&&(ye.auth=Mn.shift(),ye.host=ye.hostname=Mn.shift())),(On=On||ye.host&&dn.length)&&!In&&dn.unshift(""),dn.length?ye.pathname=dn.join("/"):(ye.pathname=null,ye.path=null),(!G.isNull(ye.pathname)||!G.isNull(ye.search))&&(ye.path=(ye.pathname?ye.pathname:"")+(ye.search?ye.search:"")),ye.auth=we.auth||ye.auth,ye.slashes=ye.slashes||we.slashes,ye.href=ye.format(),ye},j.prototype.parseHost=function(){var we=this.host,re=P.exec(we);re&&(":"!==(re=re[0])&&(this.port=re.substr(1)),we=we.substr(0,we.length-re.length)),we&&(this.hostname=we)}},1584:Qe=>{"use strict";Qe.exports={isString:function(ge){return"string"==typeof ge},isObject:function(ge){return"object"==typeof ge&&null!==ge},isNull:function(ge){return null===ge},isNullOrUndefined:function(ge){return null==ge}}},7994:(Qe,ge,v)=>{var c=v(2765),h=v(8786),G=h;G.v1=c,G.v4=h,Qe.exports=G},2403:Qe=>{for(var ge=[],v=0;v<256;++v)ge[v]=(v+256).toString(16).substr(1);Qe.exports=function c(h,G){var j=G||0;return[ge[h[j++]],ge[h[j++]],ge[h[j++]],ge[h[j++]],"-",ge[h[j++]],ge[h[j++]],"-",ge[h[j++]],ge[h[j++]],"-",ge[h[j++]],ge[h[j++]],"-",ge[h[j++]],ge[h[j++]],ge[h[j++]],ge[h[j++]],ge[h[j++]],ge[h[j++]]].join("")}},5594:Qe=>{var ge=typeof crypto<"u"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||typeof msCrypto<"u"&&"function"==typeof window.msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto);if(ge){var v=new Uint8Array(16);Qe.exports=function(){return ge(v),v}}else{var c=new Array(16);Qe.exports=function(){for(var j,G=0;G<16;G++)3&G||(j=4294967296*Math.random()),c[G]=j>>>((3&G)<<3)&255;return c}}},2765:(Qe,ge,v)=>{var G,j,c=v(5594),h=v(2403),K=0,P=0;Qe.exports=function R(D,W,$){var F=W&&$||0,k=W||[],oe=(D=D||{}).node||G,x=void 0!==D.clockseq?D.clockseq:j;if(null==oe||null==x){var ue=c();null==oe&&(oe=G=[1|ue[0],ue[1],ue[2],ue[3],ue[4],ue[5]]),null==x&&(x=j=16383&(ue[6]<<8|ue[7]))}var le=void 0!==D.msecs?D.msecs:(new Date).getTime(),Se=void 0!==D.nsecs?D.nsecs:P+1,$e=le-K+(Se-P)/1e4;if($e<0&&void 0===D.clockseq&&(x=x+1&16383),($e<0||le>K)&&void 0===D.nsecs&&(Se=0),Se>=1e4)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");K=le,P=Se,j=x;var Re=(1e4*(268435455&(le+=122192928e5))+Se)%4294967296;k[F++]=Re>>>24&255,k[F++]=Re>>>16&255,k[F++]=Re>>>8&255,k[F++]=255&Re;var Je=le/4294967296*1e4&268435455;k[F++]=Je>>>8&255,k[F++]=255&Je,k[F++]=Je>>>24&15|16,k[F++]=Je>>>16&255,k[F++]=x>>>8|128,k[F++]=255&x;for(var st=0;st<6;++st)k[F+st]=oe[st];return W||h(k)}},8786:(Qe,ge,v)=>{var c=v(5594),h=v(2403);Qe.exports=function G(j,K,P){var R=K&&P||0;"string"==typeof j&&(K="binary"===j?new Array(16):null,j=null);var D=(j=j||{}).random||(j.rng||c)();if(D[6]=15&D[6]|64,D[8]=63&D[8]|128,K)for(var W=0;W<16;++W)K[R+W]=D[W];return K||h(D)}},9316:(Qe,ge,v)=>{Qe.exports=v(1743).Observable},1743:(Qe,ge)=>{"use strict";function c(nt,we){if(!(nt instanceof we))throw new TypeError("Cannot call a class as a function")}function h(nt,we){for(var re=0;re<we.length;re++){var ye=we[re];ye.enumerable=ye.enumerable||!1,ye.configurable=!0,"value"in ye&&(ye.writable=!0),Object.defineProperty(nt,ye.key,ye)}}function G(nt,we,re){return we&&h(nt.prototype,we),re&&h(nt,re),nt}ge.Observable=void 0;var j=function(){return"function"==typeof Symbol},K=function(nt){return j()&&!!Symbol[nt]},P=function(nt){return K(nt)?Symbol[nt]:"@@"+nt};j()&&!K("observable")&&(Symbol.observable=Symbol("observable"));var R=P("iterator"),D=P("observable"),W=P("species");function $(nt,we){var re=nt[we];if(null!=re){if("function"!=typeof re)throw new TypeError(re+" is not a function");return re}}function F(nt){var we=nt.constructor;return void 0!==we&&null===(we=we[W])&&(we=void 0),void 0!==we?we:at}function oe(nt){oe.log?oe.log(nt):setTimeout(function(){throw nt})}function x(nt){Promise.resolve().then(function(){try{nt()}catch(we){oe(we)}})}function ue(nt){var we=nt._cleanup;if(void 0!==we&&(nt._cleanup=void 0,we))try{if("function"==typeof we)we();else{var re=$(we,"unsubscribe");re&&re.call(we)}}catch(ye){oe(ye)}}function le(nt){nt._observer=void 0,nt._queue=void 0,nt._state="closed"}function $e(nt,we,re){nt._state="running";var ye=nt._observer;try{var Me=$(ye,we);switch(we){case"next":Me&&Me.call(ye,re);break;case"error":if(le(nt),!Me)throw re;Me.call(ye,re);break;case"complete":le(nt),Me&&Me.call(ye)}}catch(Ie){oe(Ie)}"closed"===nt._state?ue(nt):"running"===nt._state&&(nt._state="ready")}function Re(nt,we,re){if("closed"!==nt._state){if("buffering"===nt._state)return void nt._queue.push({type:we,value:re});if("ready"!==nt._state)return nt._state="buffering",nt._queue=[{type:we,value:re}],void x(function(){return function Se(nt){var we=nt._queue;if(we){nt._queue=void 0,nt._state="ready";for(var re=0;re<we.length&&($e(nt,we[re].type,we[re].value),"closed"!==nt._state);++re);}}(nt)});$e(nt,we,re)}}var Je=function(){function nt(we,re){c(this,nt),this._cleanup=void 0,this._observer=we,this._queue=void 0,this._state="initializing";var ye=new st(this);try{this._cleanup=re.call(void 0,ye)}catch(Me){ye.error(Me)}"initializing"===this._state&&(this._state="ready")}return G(nt,[{key:"unsubscribe",value:function(){"closed"!==this._state&&(le(this),ue(this))}},{key:"closed",get:function(){return"closed"===this._state}}]),nt}(),st=function(){function nt(we){c(this,nt),this._subscription=we}return G(nt,[{key:"next",value:function(re){Re(this._subscription,"next",re)}},{key:"error",value:function(re){Re(this._subscription,"error",re)}},{key:"complete",value:function(){Re(this._subscription,"complete")}},{key:"closed",get:function(){return"closed"===this._subscription._state}}]),nt}(),at=function(){function nt(we){if(c(this,nt),!(this instanceof nt))throw new TypeError("Observable cannot be called as a function");if("function"!=typeof we)throw new TypeError("Observable initializer must be a function");this._subscriber=we}return G(nt,[{key:"subscribe",value:function(re){return("object"!=typeof re||null===re)&&(re={next:re,error:arguments[1],complete:arguments[2]}),new Je(re,this._subscriber)}}
1,{key:"forEach",value:function(re){var ye=this;return new Promise(function(Me,Ie){if("function"==typeof re)var me=ye.subscribe({next:function(_t){try{re(_t,We)}catch(Yt){Ie(Yt),me.unsubscribe()}},error:Ie,complete:Me});else Ie(new TypeError(re+" is not a function"));function We(){me.unsubscribe(),Me()}})}},{key:"map",value:function(re){var ye=this;if("function"!=typeof re)throw new TypeError(re+" is not a function");return new(F(this))(function(Ie){return ye.subscribe({next:function(We){try{We=re(We)}catch(me){return Ie.error(me)}Ie.next(We)},error:function(We){Ie.error(We)},complete:function(){Ie.complete()}})})}},{key:"filter",value:function(re){var ye=this;if("function"!=typeof re)throw new TypeError(re+" is not a function");return new(F(this))(function(Ie){return ye.subscribe({next:function(We){try{if(!re(We))return}catch(me){return Ie.error(me)}Ie.next(We)},error:function(We){Ie.error(We)},complete:function(){Ie.complete()}})})}},{key:"reduce",value:function(re){var ye=this;if("function"!=typeof re)throw new TypeError(re+" is not a function");var Me=F(this),Ie=arguments.length>1,We=!1,_t=arguments[1];return new Me(function(Yt){return ye.subscribe({next:function(vn){var Gt=!We;if(We=!0,!Gt||Ie)try{_t=re(_t,vn)}catch(an){return Yt.error(an)}else _t=vn},error:function(vn){Yt.error(vn)},complete:function(){if(!We&&!Ie)return Yt.error(new TypeError("Cannot reduce an empty sequence"));Yt.next(_t),Yt.complete()}})})}},{key:"concat",value:function(){for(var re=this,ye=arguments.length,Me=new Array(ye),Ie=0;Ie<ye;Ie++)Me[Ie]=arguments[Ie];var We=F(this);return new We(function(me){var _t,Yt=0;return function vn(Gt){_t=Gt.subscribe({next:function(an){me.next(an)},error:function(an){me.error(an)},complete:function(){Yt===Me.length?(_t=void 0,me.complete()):vn(We.from(Me[Yt++]))}})}(re),function(){_t&&(_t.unsubscribe(),_t=void 0)}})}},{key:"flatMap",value:function(re){var ye=this;if("function"!=typeof re)throw new TypeError(re+" is not a function");var Me=F(this);return new Me(function(Ie){var We=[],me=ye.subscribe({next:function(Yt){if(re)try{Yt=re(Yt)}catch(Gt){return Ie.error(Gt)}var vn=Me.from(Yt).subscribe({next:function(Gt){Ie.next(Gt)},error:function(Gt){Ie.error(Gt)},complete:function(){var Gt=We.indexOf(vn);Gt>=0&&We.splice(Gt,1),_t()}});We.push(vn)},error:function(Yt){Ie.error(Yt)},complete:function(){_t()}});function _t(){me.closed&&0===We.length&&Ie.complete()}return function(){We.forEach(function(Yt){return Yt.unsubscribe()}),me.unsubscribe()}})}},{key:D,value:function(){return this}}],[{key:"from",value:function(re){var ye="function"==typeof this?this:nt;if(null==re)throw new TypeError(re+" is not an object");var Me=$(re,D);if(Me){var Ie=Me.call(re);if(Object(Ie)!==Ie)throw new TypeError(Ie+" is not an object");return function k(nt){return nt instanceof at}(Ie)&&Ie.constructor===ye?Ie:new ye(function(We){return Ie.subscribe(We)})}if(K("iterator")&&(Me=$(re,R)))return new ye(function(We){x(function(){if(!We.closed){var me=!0,_t=!1,Yt=void 0;try{for(var Gt,vn=Me.call(re)[Symbol.iterator]();!(me=(Gt=vn.next()).done);me=!0)if(We.next(Gt.value),We.closed)return}catch(Ut){_t=!0,Yt=Ut}finally{try{!me&&null!=vn.return&&vn.return()}finally{if(_t)throw Yt}}We.complete()}})});if(Array.isArray(re))return new ye(function(We){x(function(){if(!We.closed){for(var me=0;me<re.length;++me)if(We.next(re[me]),We.closed)return;We.complete()}})});throw new TypeError(re+" is not observable")}},{key:"of",value:function(){for(var re=arguments.length,ye=new Array(re),Me=0;Me<re;Me++)ye[Me]=arguments[Me];return new("function"==typeof this?this:nt)(function(We){x(function(){if(!We.closed){for(var me=0;me<ye.length;++me)if(We.next(ye[me]),We.closed)return;We.complete()}})})}},{key:W,get:function(){return this}}]),nt}();ge.Observable=at,j()&&Object.defineProperty(at,Symbol("extensions"),{value:{symbol:D,hostReportError:oe},configurable:!0})},141:(Qe,ge,v)=>{"use strict";v.r(ge),v.d(ge,{__assign:()=>G,__asyncDelegator:()=>$e,__asyncGenerator:()=>Se,__asyncValues:()=>Re,__await:()=>le,__awaiter:()=>D,__classPrivateFieldGet:()=>nt,__classPrivateFieldSet:()=>we,__createBinding:()=>$,__decorate:()=>K,__exportStar:()=>F,__extends:()=>h,__generator:()=>W,__importDefault:()=>at,__importStar:()=>
1st,__makeTemplateObject:()=>Je,__metadata:()=>R,__param:()=>P,__read:()=>oe,__rest:()=>j,__spread:()=>x,__spreadArrays:()=>ue,__values:()=>k});var c=function(re,ye){return(c=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(Me,Ie){Me.__proto__=Ie}||function(Me,Ie){for(var We in Ie)Ie.hasOwnProperty(We)&&(Me[We]=Ie[We])})(re,ye)};function h(re,ye){function Me(){this.constructor=re}c(re,ye),re.prototype=null===ye?Object.create(ye):(Me.prototype=ye.prototype,new Me)}var G=function(){return G=Object.assign||function(ye){for(var Me,Ie=1,We=arguments.length;Ie<We;Ie++)for(var me in Me=arguments[Ie])Object.prototype.hasOwnProperty.call(Me,me)&&(ye[me]=Me[me]);return ye},G.apply(this,arguments)};function j(re,ye){var Me={};for(var Ie in re)Object.prototype.hasOwnProperty.call(re,Ie)&&ye.indexOf(Ie)<0&&(Me[Ie]=re[Ie]);if(null!=re&&"function"==typeof Object.getOwnPropertySymbols){var We=0;for(Ie=Object.getOwnPropertySymbols(re);We<Ie.length;We++)ye.indexOf(Ie[We])<0&&Object.prototype.propertyIsEnumerable.call(re,Ie[We])&&(Me[Ie[We]]=re[Ie[We]])}return Me}function K(re,ye,Me,Ie){var _t,We=arguments.length,me=We<3?ye:null===Ie?Ie=Object.getOwnPropertyDescriptor(ye,Me):Ie;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)me=Reflect.decorate(re,ye,Me,Ie);else for(var Yt=re.length-1;Yt>=0;Yt--)(_t=re[Yt])&&(me=(We<3?_t(me):We>3?_t(ye,Me,me):_t(ye,Me))||me);return We>3&&me&&Object.defineProperty(ye,Me,me),me}function P(re,ye){return function(Me,Ie){ye(Me,Ie,re)}}function R(re,ye){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(re,ye)}function D(re,ye,Me,Ie){return new(Me||(Me=Promise))(function(me,_t){function Yt(an){try{Gt(Ie.next(an))}catch(Ut){_t(Ut)}}function vn(an){try{Gt(Ie.throw(an))}catch(Ut){_t(Ut)}}function Gt(an){an.done?me(an.value):function We(me){return me instanceof Me?me:new Me(function(_t){_t(me)})}(an.value).then(Yt,vn)}Gt((Ie=Ie.apply(re,ye||[])).next())})}function W(re,ye){var Ie,We,me,_t,Me={label:0,sent:function(){if(1&me[0])throw me[1];return me[1]},trys:[],ops:[]};return _t={next:Yt(0),throw:Yt(1),return:Yt(2)},"function"==typeof Symbol&&(_t[Symbol.iterator]=function(){return this}),_t;function Yt(Gt){return function(an){return function vn(Gt){if(Ie)throw new TypeError("Generator is already executing.");for(;Me;)try{if(Ie=1,We&&(me=2&Gt[0]?We.return:Gt[0]?We.throw||((me=We.return)&&me.call(We),0):We.next)&&!(me=me.call(We,Gt[1])).done)return me;switch(We=0,me&&(Gt=[2&Gt[0],me.value]),Gt[0]){case 0:case 1:me=Gt;break;case 4:return Me.label++,{value:Gt[1],done:!1};case 5:Me.label++,We=Gt[1],Gt=[0];continue;case 7:Gt=Me.ops.pop(),Me.trys.pop();continue;default:if(!(me=(me=Me.trys).length>0&&me[me.length-1])&&(6===Gt[0]||2===Gt[0])){Me=0;continue}if(3===Gt[0]&&(!me||Gt[1]>me[0]&&Gt[1]<me[3])){Me.label=Gt[1];break}if(6===Gt[0]&&Me.label<me[1]){Me.label=me[1],me=Gt;break}if(me&&Me.label<me[2]){Me.label=me[2],Me.ops.push(Gt);break}me[2]&&Me.ops.pop(),Me.trys.pop();continue}Gt=ye.call(re,Me)}catch(an){Gt=[6,an],We=0}finally{Ie=me=0}if(5&Gt[0])throw Gt[1];return{value:Gt[0]?Gt[1]:void 0,done:!0}}([Gt,an])}}}function $(re,ye,Me,Ie){void 0===Ie&&(Ie=Me),re[Ie]=ye[Me]}function F(re,ye){for(var Me in re)"default"!==Me&&!ye.hasOwnProperty(Me)&&(ye[Me]=re[Me])}function k(re){var ye="function"==typeof Symbol&&Symbol.iterator,Me=ye&&re[ye],Ie=0;if(Me)return Me.call(re);if(re&&"number"==typeof re.length)return{next:function(){return re&&Ie>=re.length&&(re=void 0),{value:re&&re[Ie++],done:!re}}};throw new TypeError(ye?"Object is not iterable.":"Symbol.iterator is not defined.")}function oe(re,ye){var Me="function"==typeof Symbol&&re[Symbol.iterator];if(!Me)return re;var We,_t,Ie=Me.call(re),me=[];try{for(;(void 0===ye||ye-- >0)&&!(We=Ie.next()).done;)me.push(We.value)}catch(Yt){_t={error:Yt}}finally{try{We&&!We.done&&(Me=Ie.return)&&Me.call(Ie)}finally{if(_t)throw _t.error}}return me}function x(){for(var re=[],ye=0;ye<arguments.length;ye++)re=re.concat(oe(arguments[ye]));return re}function ue(){for(var re=0,ye=0,Me=arguments.length;ye<Me;ye++)re+=arguments[ye].length;var Ie=Array(re),We=0;for(ye=0;ye<Me;ye++)for(var me=arguments[ye],_t=0,Yt=me.length;_t<Yt;_t++,We++)Ie[We]=me[_t];return Ie}function le(re){return this instanceof le?(this.v=re,this):new le(re)}function Se(re,ye,Me){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var We,Ie=Me.apply(re,ye||[]),me=[];return We={},_t("next"),_t("throw"),_t("return"),We[Symbol.asyncIterator]=function(){return this},We;function _t(Xt){Ie[Xt]&&(We[Xt]=function(rn){return new Promise(function(Cn,On){me.push([Xt,rn,Cn,On])>1||Yt(Xt,rn)})})}function Yt(Xt,rn){try{!function vn(Xt){Xt.value instanceof le?Promise.resolve(Xt.value.v).then(Gt,an):Ut(me[0][2],Xt)}(Ie[Xt](rn))}catch(Cn){Ut(me[0][3],Cn)}}function Gt(Xt){Yt("next",Xt)}function an(Xt){Yt("throw",Xt)}function Ut(Xt,rn){Xt(rn),me.shift(),me.length&&Yt(me[0][0],me[0][1])}}function $e(re){var ye,Me;return ye={},Ie("next"),Ie("throw",function(We){throw We}),Ie("return"),ye[Symbol.iterator]=function(){return this},ye;function Ie(We,me){ye[We]=re[We]?function(_t){return(Me=!Me)?{value:le(re[We](_t)),done:"return"===We}:me?me(_t):_t}:me}}function Re(re){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var Me,ye=re[Symbol.asyncIterator];return ye?ye.call(re):(re=k(re),Me={},Ie("next"),Ie("throw"),Ie("return"),Me[Symbol.asyncIterator]=function(){return this},Me);function Ie(me){Me[me]=re[me]&&function(_t){return new Promise(function(Yt,vn){!function We(me,_t,Yt,vn){Promise.resolve(vn).then(function(Gt){me({value:Gt,done:Yt})},_t)}(Yt,vn,(_t=re[me](_t)).done,_t.value)})}}}function Je(re,ye){return Object.defineProperty?Object.defineProperty(re,"raw",{value:ye}):re.raw=ye,re}
1function st(re){if(re&&re.__esModule)return re;var ye={};if(null!=re)for(var Me in re)Object.hasOwnProperty.call(re,Me)&&(ye[Me]=re[Me]);return ye.default=re,ye}function at(re){return re&&re.__esModule?re:{default:re}}function nt(re,ye){if(!ye.has(re))throw new TypeError("attempted to get private field on non-instance");return ye.get(re)}function we(re,ye,Me){if(!ye.has(re))throw new TypeError("attempted to set private field on non-instance");return ye.set(re,Me),Me}},5682:()=>{},7172:(Qe,ge,v)=>{"use strict";v.d(ge,{FX:()=>ye,If:()=>c,K2:()=>P,hZ:()=>G,i0:()=>j,iF:()=>R,kY:()=>$,kp:()=>h,sf:()=>we,ui:()=>re});var c=function(Me){return Me[Me.State=0]="State",Me[Me.Transition=1]="Transition",Me[Me.Sequence=2]="Sequence",Me[Me.Group=3]="Group",Me[Me.Animate=4]="Animate",Me[Me.Keyframes=5]="Keyframes",Me[Me.Style=6]="Style",Me[Me.Trigger=7]="Trigger",Me[Me.Reference=8]="Reference",Me[Me.AnimateChild=9]="AnimateChild",Me[Me.AnimateRef=10]="AnimateRef",Me[Me.Query=11]="Query",Me[Me.Stagger=12]="Stagger",Me}(c||{});const h="*";function G(Me,Ie){return{type:c.Trigger,name:Me,definitions:Ie,options:{}}}function j(Me,Ie=null){return{type:c.Animate,styles:Ie,timings:Me}}function P(Me,Ie=null){return{type:c.Sequence,steps:Me,options:Ie}}function R(Me){return{type:c.Style,styles:Me,offset:null}}function $(Me,Ie,We=null){return{type:c.Transition,expr:Me,animation:Ie,options:We}}class we{constructor(Ie=0,We=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._originalOnDoneFns=[],this._originalOnStartFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this._position=0,this.parentPlayer=null,this.totalTime=Ie+We}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(Ie=>Ie()),this._onDoneFns=[])}onStart(Ie){this._originalOnStartFns.push(Ie),this._onStartFns.push(Ie)}onDone(Ie){this._originalOnDoneFns.push(Ie),this._onDoneFns.push(Ie)}onDestroy(Ie){this._onDestroyFns.push(Ie)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){queueMicrotask(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(Ie=>Ie()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(Ie=>Ie()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(Ie){this._position=this.totalTime?Ie*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(Ie){const We="start"==Ie?this._onStartFns:this._onDoneFns;We.forEach(me=>me()),We.length=0}}class re{constructor(Ie){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=Ie;let We=0,me=0,_t=0;const Yt=this.players.length;0==Yt?queueMicrotask(()=>this._onFinish()):this.players.forEach(vn=>{vn.onDone(()=>{++We==Yt&&this._onFinish()}),vn.onDestroy(()=>{++me==Yt&&this._onDestroy()}),vn.onStart(()=>{++_t==Yt&&this._onStart()})}),this.totalTime=this.players.reduce((vn,Gt)=>Math.max(vn,Gt.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(Ie=>Ie()),this._onDoneFns=[])}init(){this.players.forEach(Ie=>Ie.init())}onStart(Ie){this._onStartFns.push(Ie)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(Ie=>Ie()),this._onStartFns=[])}onDone(Ie){this._onDoneFns.push(Ie)}onDestroy(Ie){this._onDestroyFns.push(Ie)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(Ie=>Ie.play())}pause(){this.players.forEach(Ie=>Ie.pause())}restart(){this.players.forEach(Ie=>Ie.restart())}finish(){this._onFinish(),this.players.forEach(Ie=>Ie.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(Ie=>Ie.destroy()),this._onDestroyFns.forEach(Ie=>Ie()),this._onDestroyFns=[])}
1reset(){this.players.forEach(Ie=>Ie.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(Ie){const We=Ie*this.totalTime;this.players.forEach(me=>{const _t=me.totalTime?Math.min(1,We/me.totalTime):1;me.setPosition(_t)})}getPosition(){const Ie=this.players.reduce((We,me)=>null===We||me.totalTime>We.totalTime?me:We,null);return null!=Ie?Ie.getPosition():0}beforeDestroy(){this.players.forEach(Ie=>{Ie.beforeDestroy&&Ie.beforeDestroy()})}triggerCallback(Ie){const We="start"==Ie?this._onStartFns:this._onDoneFns;We.forEach(me=>me()),We.length=0}}const ye="!"},316:(Qe,ge,v)=>{"use strict";v.d(ge,{AJ:()=>ss,B3:()=>Un,Jj:()=>Ge,MD:()=>ui,N0:()=>Wo,QT:()=>G,Sm:()=>le,Sq:()=>bn,VF:()=>K,Vy:()=>Ns,Xr:()=>oo,YU:()=>mt,ZD:()=>j,_b:()=>Ae,aZ:()=>$e,bT:()=>pr,fw:()=>Se,hb:()=>x,hj:()=>W,qQ:()=>R,vh:()=>Gn});var c=v(8559);let h=null;function G(){return h}function j(E){h??=E}class K{}const R=new c.nKC("");let D=(()=>{var E;class Y{historyGo(B){throw new Error("")}}return(E=Y).\u0275fac=function(B){return new(B||E)},E.\u0275prov=c.jDH({token:E,factory:()=>(0,c.WQX)($),providedIn:"platform"}),Y})();const W=new c.nKC("");let $=(()=>{var E;class Y extends D{constructor(){super(),this._doc=(0,c.WQX)(R),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return G().getBaseHref(this._doc)}onPopState(B){const Ee=G().getGlobalEventTarget(this._doc,"window");return Ee.addEventListener("popstate",B,!1),()=>Ee.removeEventListener("popstate",B)}onHashChange(B){const Ee=G().getGlobalEventTarget(this._doc,"window");return Ee.addEventListener("hashchange",B,!1),()=>Ee.removeEventListener("hashchange",B)}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(B){this._location.pathname=B}pushState(B,Ee,je){this._history.pushState(B,Ee,je)}replaceState(B,Ee,je){this._history.replaceState(B,Ee,je)}forward(){this._history.forward()}back(){this._history.back()}historyGo(B=0){this._history.go(B)}getState(){return this._history.state}}return(E=Y).\u0275fac=function(B){return new(B||E)},E.\u0275prov=c.jDH({token:E,factory:()=>new E,providedIn:"platform"}),Y})();function F(E,Y){if(0==E.length)return Y;if(0==Y.length)return E;let Be=0;return E.endsWith("/")&&Be++,Y.startsWith("/")&&Be++,2==Be?E+Y.substring(1):1==Be?E+Y:E+"/"+Y}function k(E){const Y=E.match(/#|\?|$/),Be=Y&&Y.index||E.length;return E.slice(0,Be-("/"===E[Be-1]?1:0))+E.slice(Be)}function oe(E){return E&&"?"!==E[0]?"?"+E:E}let x=(()=>{var E;class Y{historyGo(B){throw new Error("")}}return(E=Y).\u0275fac=function(B){return new(B||E)},E.\u0275prov=c.jDH({token:E,factory:()=>(0,c.WQX)(le),providedIn:"root"}),Y})();const ue=new c.nKC("");let le=(()=>{var E;class Y extends x{constructor(B,Ee){super(),this._platformLocation=B,this._removeListenerFns=[],this._baseHref=Ee??this._platformLocation.getBaseHrefFromDOM()??(0,c.WQX)(R).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(B){this._removeListenerFns.push(this._platformLocation.onPopState(B),this._platformLocation.onHashChange(B))}getBaseHref(){return this._baseHref}prepareExternalUrl(B){return F(this._baseHref,B)}path(B=!1){const Ee=this._platformLocation.pathname+oe(this._platformLocation.search),je=this._platformLocation.hash;return je&&B?`${Ee}${je}`:Ee}pushState(B,Ee,je,yt){const xt=this.prepareExternalUrl(je+oe(yt));this._platformLocation.pushState(B,Ee,xt)}replaceState(B,Ee,je,yt){const xt=this.prepareExternalUrl(je+oe(yt));this._platformLocation.replaceState(B,Ee,xt)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(B=0){this._platformLocation.historyGo?.(B)}}return(E=Y).\u0275fac=function(B){return new(B||E)(c.KVO(D),c.KVO(ue,8))},E.\u0275prov=c.jDH({token:E,factory:E.\u0275fac,providedIn:"root"}),Y})(),Se=(()=>{var E;class Y extends x{constructor(B,Ee){super(),this._platformLocation=B,this._baseHref="",this._removeListenerFns=[],null!=Ee&&(this._baseHref=Ee)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(B){this._removeListenerFns.push(this._platformLocation.onPopState(B),this._platformLocation.on
1HashChange(B))}getBaseHref(){return this._baseHref}path(B=!1){const Ee=this._platformLocation.hash??"#";return Ee.length>0?Ee.substring(1):Ee}prepareExternalUrl(B){const Ee=F(this._baseHref,B);return Ee.length>0?"#"+Ee:Ee}pushState(B,Ee,je,yt){let xt=this.prepareExternalUrl(je+oe(yt));0==xt.length&&(xt=this._platformLocation.pathname),this._platformLocation.pushState(B,Ee,xt)}replaceState(B,Ee,je,yt){let xt=this.prepareExternalUrl(je+oe(yt));0==xt.length&&(xt=this._platformLocation.pathname),this._platformLocation.replaceState(B,Ee,xt)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(B=0){this._platformLocation.historyGo?.(B)}}return(E=Y).\u0275fac=function(B){return new(B||E)(c.KVO(D),c.KVO(ue,8))},E.\u0275prov=c.jDH({token:E,factory:E.\u0275fac}),Y})(),$e=(()=>{var E;class Y{constructor(B){this._subject=new c.bkB,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=B;const Ee=this._locationStrategy.getBaseHref();this._basePath=function at(E){if(new RegExp("^(https?:)?//").test(E)){const[,Be]=E.split(/\/\/[^\/]+/);return Be}return E}(k(st(Ee))),this._locationStrategy.onPopState(je=>{this._subject.emit({url:this.path(!0),pop:!0,state:je.state,type:je.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(B=!1){return this.normalize(this._locationStrategy.path(B))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(B,Ee=""){return this.path()==this.normalize(B+oe(Ee))}normalize(B){return Y.stripTrailingSlash(function Je(E,Y){if(!E||!Y.startsWith(E))return Y;const Be=Y.substring(E.length);return""===Be||["/",";","?","#"].includes(Be[0])?Be:Y}(this._basePath,st(B)))}prepareExternalUrl(B){return B&&"/"!==B[0]&&(B="/"+B),this._locationStrategy.prepareExternalUrl(B)}go(B,Ee="",je=null){this._locationStrategy.pushState(je,"",B,Ee),this._notifyUrlChangeListeners(this.prepareExternalUrl(B+oe(Ee)),je)}replaceState(B,Ee="",je=null){this._locationStrategy.replaceState(je,"",B,Ee),this._notifyUrlChangeListeners(this.prepareExternalUrl(B+oe(Ee)),je)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(B=0){this._locationStrategy.historyGo?.(B)}onUrlChange(B){return this._urlChangeListeners.push(B),this._urlChangeSubscription??=this.subscribe(Ee=>{this._notifyUrlChangeListeners(Ee.url,Ee.state)}),()=>{const Ee=this._urlChangeListeners.indexOf(B);this._urlChangeListeners.splice(Ee,1),0===this._urlChangeListeners.length&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(B="",Ee){this._urlChangeListeners.forEach(je=>je(B,Ee))}subscribe(B,Ee,je){return this._subject.subscribe({next:B,error:Ee,complete:je})}}return(E=Y).normalizeQueryParams=oe,E.joinWithSlash=F,E.stripTrailingSlash=k,E.\u0275fac=function(B){return new(B||E)(c.KVO(x))},E.\u0275prov=c.jDH({token:E,factory:()=>function Re(){return new $e((0,c.KVO)(x))}(),providedIn:"root"}),Y})();function st(E){return E.replace(/\/index.html$/,"")}var ye=function(E){return E[E.Format=0]="Format",E[E.Standalone=1]="Standalone",E}(ye||{}),Me=function(E){return E[E.Narrow=0]="Narrow",E[E.Abbreviated=1]="Abbreviated",E[E.Wide=2]="Wide",E[E.Short=3]="Short",E}(Me||{}),Ie=function(E){return E[E.Short=0]="Short",E[E.Medium=1]="Medium",E[E.Long=2]="Long",E[E.Full=3]="Full",E}(Ie||{});const We={Decimal:0,Group:1,List:2,PercentSign:3,PlusSign:4,MinusSign:5,Exponential:6,SuperscriptingExponent:7,PerMille:8,Infinity:9,NaN:10,TimeSeparator:11,CurrencyDecimal:12,CurrencyGroup:13};function rn(E,Y){return ur((0,c.H5H)(E)[c.KH2.DateFormat],Y)}function Cn(E,Y){return ur((0,c.H5H)(E)[c.KH2.TimeFormat],Y)}function On(E,Y){return ur((0,c.H5H)(E)[c.KH2.DateTimeFormat],Y)}function Bn(E,Y){const Be=(0,c.H5H)(E),B=Be[c.KH2.NumberSymbols][Y];if(typeof B>"u"){if(Y===We.CurrencyDecimal)return Be[c.KH2.NumberSymbols][We.Decimal];if(Y===We.CurrencyGroup)return Be[c.KH2.NumberSymbols][We.Group]}return B}function be(E){if(!E[c.KH2.ExtraData])throw new Error(`Missing extra locale data for the locale "${E[c.KH2.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function ur(E,Y){for(let Be=Y;Be>-1;Be--)if(typeof E[Be]<"u")return E[Be];throw new Error("Locale data API: locale data undefined")}function Hr(E){const[Y,Be]=E.split(":");return{hours:+Y,minutes:+Be}}const ne=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,Ve={},lt=/((?:[^BEGHLMOSWYZabcdhmswyz']+)|(?:'(?:[^']|'')*')|(?:G{1,5}|y{1,4}|Y{1,4}|M{1,5}|L{1,5}|w{1,2}|W{1}|d{1,2}|E{1,6}|c{1,6}|a{1,5}|b{1,5}|B{1,5}|h{1,2}|H{1,2}|m{1,2}|s{1,2}|S{1,3}|z{1,4}|Z{1,5}|O{1,4}))([\s\S]*)/;var Mt=function(E){return E[E.Short=0]="Short",E[E.ShortGMT=1]="ShortGMT",E[E.Long=2]="Long",E[E.Extended=3]="Extended",E}(Mt||{}),Dt=function(E){return E[E.FullYear=0]="FullYear",E[E.Month=1]="Month",E[E.Date=2]="Date",E[E.Hours=3]="Hours",E[E.Minutes=4]="Minutes",E[E.Seconds=5]="Seconds",E[E.FractionalSeconds=6]="FractionalSeconds",E[E.Day=7]="Day",E}(Dt||{}),En=function(E){return E[E.DayPeriods=0]="DayPeriods",E[E.Days=1]="Days",E[E.Months=2]="Months",E[E.Eras=3]="Eras",E}(En||{});function Qn(E,Y,Be,B){let Ee=function hn(E){if(Ir(E))return E;if("number"==typeof E&&!isNaN(E))return new Date(E);if("string"==typeof E){if(E=E.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(E)){const[Ee,je=1,yt=1]=E.split("-").map(xt=>+xt);return zn(Ee,je-1,yt)}const Be=parseFloat(E);if(!isNaN(E-Be))return new Date(Be);let B;if(B=E.match(ne))return function Jt(E){const Y=new Date(0);let Be=0,B=0;const Ee=E[8]?Y.setUTCFullYear:Y.setFullYear,je=E[8]?Y.setUTCHours:Y.setHours;E[9]&&(Be=Number(E[9]+E[10]),B=Number(E[9]+E[11])),Ee.call(Y,Number(E[1]),Number(E[2])-1,Number(E[3]));const yt=Number(E[4]||0)-Be,xt=Number(E[5]||0)-B,Jn=Number(E[6]||0),wr=Math.floor(1e3*parseFloat("0."+(E[7]||0)));return je.call(Y,yt,xt,Jn,wr),Y}(B)}const Y=new Date(E);if(!Ir(Y))throw new Error(`Unable to convert "${E}" into a date`);return Y}(E);Y=kn(Be,Y)||Y;let xt,yt=[];for(;Y;){if(xt=lt.exec(Y),!xt){yt.push(Y);break}{yt=yt.concat(xt.slice(1));const Or=yt.pop();if(!Or)break;Y=Or}}let Jn=Ee.getTimezoneOffset();B&&(Jn=Xe(B,Jn),Ee=function Bt(E,Y,Be){const B=Be?-1:1,Ee=E.getTimezoneOffset();return function ft(E,Y){return(E=new Date(E.getTime())).setMinutes(E.getMinutes()+Y),E}(E,B*(Xe(Y,Ee)-Ee))}(Ee,B,!0));let wr="";return yt.forEach(Or=>{const Sr=function tt(E){if(Oe[E])return Oe[E];let Y;switch(E){case"G":case"GG":case"GGG":Y=hr(En.Eras,Me.Abbreviated);break;case"GGGG":Y=hr(En.Eras,Me.Wide);break;case"GGGGG":Y=hr(En.Eras,Me.Narrow);break;
vendor: 5,009 bytes, line 1
1case"y":Y=mn(Dt.FullYear,1,0,!1,!0);break;case"yy":Y=mn(Dt.FullYear,2,0,!0,!0);break;case"yyy":Y=mn(Dt.FullYear,3,0,!1,!0);break;case"yyyy":Y=mn(Dt.FullYear,4,0,!1,!0);break;case"Y":Y=Ue(1);break;case"YY":Y=Ue(2,!0);break;case"YYY":Y=Ue(3);break;case"YYYY":Y=Ue(4);break;case"M":case"L":Y=mn(Dt.Month,1,1);break;case"MM":case"LL":Y=mn(Dt.Month,2,1);break;case"MMM":Y=hr(En.Months,Me.Abbreviated);break;case"MMMM":Y=hr(En.Months,Me.Wide);break;case"MMMMM":Y=hr(En.Months,Me.Narrow);break;case"LLL":Y=hr(En.Months,Me.Abbreviated,ye.Standalone);break;case"LLLL":Y=hr(En.Months,Me.Wide,ye.Standalone);break;case"LLLLL":Y=hr(En.Months,Me.Narrow,ye.Standalone);break;case"w":Y=It(1);break;case"ww":Y=It(2);break;case"W":Y=It(1,!0);break;case"d":Y=mn(Dt.Date,1);break;case"dd":Y=mn(Dt.Date,2);break;case"c":case"cc":Y=mn(Dt.Day,1);break;case"ccc":Y=hr(En.Days,Me.Abbreviated,ye.Standalone);break;case"cccc":Y=hr(En.Days,Me.Wide,ye.Standalone);break;case"ccccc":Y=hr(En.Days,Me.Narrow,ye.Standalone);break;case"cccccc":Y=hr(En.Days,Me.Short,ye.Standalone);break;case"E":case"EE":case"EEE":Y=hr(En.Days,Me.Abbreviated);break;case"EEEE":Y=hr(En.Days,Me.Wide);break;case"EEEEE":Y=hr(En.Days,Me.Narrow);break;case"EEEEEE":Y=hr(En.Days,Me.Short);break;case"a":case"aa":case"aaa":Y=hr(En.DayPeriods,Me.Abbreviated);break;case"aaaa":Y=hr(En.DayPeriods,Me.Wide);break;case"aaaaa":Y=hr(En.DayPeriods,Me.Narrow);break;case"b":case"bb":case"bbb":Y=hr(En.DayPeriods,Me.Abbreviated,ye.Standalone,!0);break;case"bbbb":Y=hr(En.DayPeriods,Me.Wide,ye.Standalone,!0);break;case"bbbbb":Y=hr(En.DayPeriods,Me.Narrow,ye.Standalone,!0);break;case"B":case"BB":case"BBB":Y=hr(En.DayPeriods,Me.Abbreviated,ye.Format,!0);break;case"BBBB":Y=hr(En.DayPeriods,Me.Wide,ye.Format,!0);break;case"BBBBB":Y=hr(En.DayPeriods,Me.Narrow,ye.Format,!0);break;case"h":Y=mn(Dt.Hours,1,-12);break;case"hh":Y=mn(Dt.Hours,2,-12);break;case"H":Y=mn(Dt.Hours,1);break;case"HH":Y=mn(Dt.Hours,2);break;case"m":Y=mn(Dt.Minutes,1);break;case"mm":Y=mn(Dt.Minutes,2);break;case"s":Y=mn(Dt.Seconds,1);break;case"ss":Y=mn(Dt.Seconds,2);break;case"S":Y=mn(Dt.FractionalSeconds,1);break;case"SS":Y=mn(Dt.FractionalSeconds,2);break;case"SSS":Y=mn(Dt.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":Y=oi(Mt.Short);break;case"ZZZZZ":Y=oi(Mt.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":Y=oi(Mt.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":Y=oi(Mt.Long);break;default:return null}return Oe[E]=Y,Y}(Or);wr+=Sr?Sr(Ee,Be,Jn):"''"===Or?"'":Or.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),wr}function zn(E,Y,Be){const B=new Date(0);return B.setFullYear(E,Y,Be),B.setHours(0,0,0),B}function kn(E,Y){const Be=function _t(E){return(0,c.H5H)(E)[c.KH2.LocaleId]}(E);if(Ve[Be]??={},Ve[Be][Y])return Ve[Be][Y];let B="";switch(Y){case"shortDate":B=rn(E,Ie.Short);break;case"mediumDate":B=rn(E,Ie.Medium);break;case"longDate":B=rn(E,Ie.Long);break;case"fullDate":B=rn(E,Ie.Full);break;case"shortTime":B=Cn(E,Ie.Short);break;case"mediumTime":B=Cn(E,Ie.Medium);break;case"longTime":B=Cn(E,Ie.Long);break;case"fullTime":B=Cn(E,Ie.Full);break;case"short":const Ee=kn(E,"shortTime"),je=kn(E,"shortDate");B=fn(On(E,Ie.Short),[Ee,je]);break;case"medium":const yt=kn(E,"mediumTime"),xt=kn(E,"mediumDate");B=fn(On(E,Ie.Medium),[yt,xt]);break;case"long":const Jn=kn(E,"longTime"),wr=kn(E,"longDate");B=fn(On(E,Ie.Long),[Jn,wr]);break;case"full":const Or=kn(E,"fullTime"),Sr=kn(E,"fullDate");B=fn(On(E,Ie.Full),[Or,Sr])}return B&&(Ve[Be][Y]=B),B}function fn(E,Y){return Y&&(E=E.replace(/\{([^}]+)}/g,function(Be,B){return null!=Y&&B in Y?Y[B]:Be})),E}function Xn(E,Y,Be="-",B,Ee){let je="";(E<0||Ee&&E<=0)&&(Ee?E=1-E:(E=-E,je=Be));let yt=String(E);for(;yt.length<Y;)yt="0"+yt;return B&&(yt=yt.slice(yt.length-Y)),je+yt}function mn(E,Y,Be=0,B=!1,Ee=!1){return function(je,yt){let xt=function Br(E,Y){switch(E){case Dt.FullYear:return Y.getFullYear();case Dt.Month:return Y.getMonth();case Dt.Date:return Y.getDate();case Dt.Hours:return Y.getHours();case Dt.Minutes:return Y.getMinutes();case Dt.Seconds:return Y.getSeconds();case Dt.FractionalSeconds:return Y.getMilliseconds();case Dt.Day:return Y.getDay();default:throw new Error(`Unknown DateType value "${E}".`)}}(E,je);if((Be>0||xt>-Be)&&(xt+=Be),E===Dt.Hours)0===xt&&-12===Be&&(xt=12);else if(E===Dt.FractionalSeconds)return function zr(E,Y){return Xn(E,3).substring(0,Y)}(xt,Y);const Jn=Bn(yt,We.MinusSign);return Xn(xt,Y,Jn,B,Ee)}}function hr(E,Y,Be=ye.Format,B=!1){return function(Ee,je){return function jn(E,Y,Be,B,Ee,je){switch(Be){case En.Months:return function Gt(E,Y,Be){const B=(0,c.H5H)(E),je=ur([B[c.KH2.MonthsFormat],B[c.KH2.MonthsStandalone]],Y);return ur(je,Be)}(Y,Ee,B)[E.getMonth()];case En.Days:return function vn(E,Y,Be){const B=(0,c.H5H)(E),je=ur([B[c.KH2.DaysFormat],B[c.KH2.DaysStandalone]],Y);return ur(je,Be)}(Y,Ee,B)[E.getDay()];case En.DayPeriods:const yt=E.getHours(),xt=E.getMinutes();if(je){const wr=function Pt(E){const Y=(0,c.H5H)(E);return be(Y),(Y[c.KH2.ExtraData][2]||[]).map(B=>
1"string"==typeof B?Hr(B):[Hr(B[0]),Hr(B[1])])}(Y),Or=function In(E,Y,Be){const B=(0,c.H5H)(E);be(B);const je=ur([B[c.KH2.ExtraData][0],B[c.KH2.ExtraData][1]],Y)||[];return ur(je,Be)||[]}(Y,Ee,B),Sr=wr.findIndex(lr=>{if(Array.isArray(lr)){const[ti,qr]=lr,gr=yt>=ti.hours&&xt>=ti.minutes,Wt=yt<qr.hours||yt===qr.hours&&xt<qr.minutes;if(ti.hours<qr.hours){if(gr&&Wt)return!0}else if(gr||Wt)return!0}else if(lr.hours===yt&&lr.minutes===xt)return!0;return!1});if(-1!==Sr)return Or[Sr]}return function Yt(E,Y,Be){const B=(0,c.H5H)(E),je=ur([B[c.KH2.DayPeriodsFormat],B[c.KH2.DayPeriodsStandalone]],Y);return ur(je,Be)}(Y,Ee,B)[yt<12?0:1];case En.Eras:return function an(E,Y){return ur((0,c.H5H)(E)[c.KH2.Eras],Y)}(Y,B)[E.getFullYear()<=0?0:1];default:throw new Error(`unexpected translation type ${Be}`)}}(Ee,je,E,Y,Be,B)}}function oi(E){return function(Y,Be,B){const Ee=-1*B,je=Bn(Be,We.MinusSign),yt=Ee>0?Math.floor(Ee/60):Math.ceil(Ee/60);switch(E){case Mt.Short:return(Ee>=0?"+":"")+Xn(yt,2,je)+Xn(Math.abs(Ee%60),2,je);case Mt.ShortGMT:return"GMT"+(Ee>=0?"+":"")+Xn(yt,1,je);case Mt.Long:return"GMT"+(Ee>=0?"+":"")+Xn(yt,2,je)+":"+Xn(Math.abs(Ee%60),2,je);case Mt.Extended:return 0===B?"Z":(Ee>=0?"+":"")+Xn(yt,2,je)+":"+Xn(Math.abs(Ee%60),2,je);default:throw new Error(`Unknown zone width "${E}"`)}}}const or=0,Dr=4;function Et(E){const Y=E.getDay(),Be=0===Y?-3:Dr-Y;return zn(E.getFullYear(),E.getMonth(),E.getDate()+Be)}function It(E,Y=!1){return function(Be,B){let Ee;if(Y){const je=new Date(Be.getFullYear(),Be.getMonth(),1).getDay()-1,yt=Be.getDate();Ee=1+Math.floor((yt+je)/7)}else{const je=Et(Be),yt=function Ei(E){const Y=zn(E,or,1).getDay();return zn(E,0,1+(Y<=Dr?Dr:Dr+7)-Y)}(je.getFullYear()),xt=je.getTime()-yt.getTime();Ee=1+Math.round(xt/6048e5)}return Xn(Ee,E,Bn(B,We.MinusSign))}}function Ue(E,Y=!1){return function(Be,B){return Xn(Et(Be).getFullYear(),E,Bn(B,We.MinusSign),Y)}}const Oe={};function Xe(E,Y){E=E.replace(/:/g,"");const Be=Date.parse("Jan 01, 1970 00:00:00 "+E)/6e4;return isNaN(Be)?Y:Be}function Ir(E){return E instanceof Date&&!isNaN(E.valueOf())}function Ae(E,Y){Y=encodeURIComponent(Y);for(const Be of E.split(";")){const B=Be.indexOf("="),[Ee,je]=-1==B?[Be,""]:[Be.slice(0,B),Be.slice(B+1)];if(Ee.trim()===Y)return decodeURIComponent(je)}return null}const ht=/\s+/,dt=[];let mt=(()=>{var E;class Y{constructor(B,Ee){this._ngEl=B,this._renderer=Ee,this.initialClasses=dt,this.stateMap=new Map}set klass(B){this.initialClasses=null!=B?B.trim().split(ht):dt}set ngClass(B){this.rawClass="string"==typeof B?B.trim().split(ht):B}ngDoCheck(){for(const Ee of this.initialClasses)this._updateState(Ee,!0);const B=this.rawClass;if(Array.isArray(B)||B instanceof Set)for(const Ee of B)this._updateState(Ee,!0);else if(null!=B)for(const Ee of Object.keys(B))this._updateState(Ee,!!B[Ee]);this._applyStateDiff()}_updateState(B,Ee){const je=this.stateMap.get(B);void 0!==je?(je.enabled!==Ee&&(je.changed=!0,je.enabled=Ee),je.touched=!0):this.stateMap.set(B,{enabled:Ee,changed:!0,touched:!0})}_applyStateDiff(){for(const B of this.stateMap){const Ee=B[0],je=B[1];je.changed?(this._toggleClass(Ee,je.enabled),je.changed=!1):je.touched||(je.enabled&&this._toggleClass(Ee,!1),this.stateMap.delete(Ee)),je.touched=!1}}_toggleClass(B,Ee){(B=B.trim()).length>0&&B.split(ht).forEach(je=>{Ee?this._renderer.addClass(this._ngEl.nativeElement,je):this._renderer.removeClass(this._ngEl.nativeElement,je)})}}return(E=Y).\u0275fac=function(B){return new(B||E)(c.rXU(c.aKT),c.rXU(c.sFG))},E.\u0275dir=c.FsC({type:E,selectors:[["","ngClass",""]],inputs:{klass:[c.Mj6.None,"class","klass"],ngClass:"ngClass"},standalone:!0}),Y})();class ln{constructor(Y,Be,B,Ee){this.$implicit=Y,this.ngForOf=Be,this.index=B,this.count=Ee}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 bn=(()=>{var E;class Y{set ngForOf(B){this._ngForOf=B,this._ngForOfDirty=!0}set ngForTrackBy(B){this._trackByFn=B}get ngForTrackBy(){return this._trackByFn}constructor(B,Ee,je){this._viewContainer=B,this._template=Ee,this._differs=je,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForTemplate(B){B&&(this._template=B)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const B=this._ngForOf;!this._differ&&B&&(this._differ=this._differs.find(B).create(this.ngForTrackBy))}if(this._differ){const B=this._differ.diff(this._ngForOf);B&&this._applyChanges(B)}}_applyChanges(B){const Ee=this._viewContainer;B.forEachOperation((je,yt,xt)=>{if(null==je.previousIndex)Ee.createEmbeddedView(this._template,new ln(je.item,this._ngForOf,-1,-1),null===xt?void 0:xt);else if(null==xt)Ee.remove(null===yt?void 0:yt);else if(null!==yt){const Jn=Ee.get(yt);Ee.move(Jn,xt),Ln(Jn,je)}});for(let je=0,yt=Ee.length;je<yt;je++){const Jn=Ee.get(je).context;Jn.index=je,Jn.count=yt,Jn.ngForOf=this._ngForOf}
1B.forEachIdentityChange(je=>{Ln(Ee.get(je.currentIndex),je)})}static ngTemplateContextGuard(B,Ee){return!0}}return(E=Y).\u0275fac=function(B){return new(B||E)(c.rXU(c.c1b),c.rXU(c.C4Q),c.rXU(c._q3))},E.\u0275dir=c.FsC({type:E,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0}),Y})();function Ln(E,Y){E.context.$implicit=Y.item}let pr=(()=>{var E;class Y{constructor(B,Ee){this._viewContainer=B,this._context=new Er,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=Ee}set ngIf(B){this._context.$implicit=this._context.ngIf=B,this._updateView()}set ngIfThen(B){xn("ngIfThen",B),this._thenTemplateRef=B,this._thenViewRef=null,this._updateView()}set ngIfElse(B){xn("ngIfElse",B),this._elseTemplateRef=B,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(B,Ee){return!0}}return(E=Y).\u0275fac=function(B){return new(B||E)(c.rXU(c.c1b),c.rXU(c.C4Q))},E.\u0275dir=c.FsC({type:E,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0}),Y})();class Er{constructor(){this.$implicit=null,this.ngIf=null}}function xn(E,Y){if(Y&&!Y.createEmbeddedView)throw new Error(`${E} must be a TemplateRef, but received '${(0,c.Tbb)(Y)}'.`)}let Un=(()=>{var E;class Y{constructor(B,Ee,je){this._ngEl=B,this._differs=Ee,this._renderer=je,this._ngStyle=null,this._differ=null}set ngStyle(B){this._ngStyle=B,!this._differ&&B&&(this._differ=this._differs.find(B).create())}ngDoCheck(){if(this._differ){const B=this._differ.diff(this._ngStyle);B&&this._applyChanges(B)}}_setStyle(B,Ee){const[je,yt]=B.split("."),xt=-1===je.indexOf("-")?void 0:c.czy.DashCase;null!=Ee?this._renderer.setStyle(this._ngEl.nativeElement,je,yt?`${Ee}${yt}`:Ee,xt):this._renderer.removeStyle(this._ngEl.nativeElement,je,xt)}_applyChanges(B){B.forEachRemovedItem(Ee=>this._setStyle(Ee.key,null)),B.forEachAddedItem(Ee=>this._setStyle(Ee.key,Ee.currentValue)),B.forEachChangedItem(Ee=>this._setStyle(Ee.key,Ee.currentValue))}}return(E=Y).\u0275fac=function(B){return new(B||E)(c.rXU(c.aKT),c.rXU(c.MKu),c.rXU(c.sFG))},E.\u0275dir=c.FsC({type:E,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"},standalone:!0}),Y})();function Ii(E,Y){return new c.wOt(2100,!1)}class O{createSubscription(Y,Be){return(0,c.O8t)(()=>Y.subscribe({next:Be,error:B=>{throw B}}))}dispose(Y){(0,c.O8t)(()=>Y.unsubscribe())}}class ae{createSubscription(Y,Be){return Y.then(Be,B=>{throw B})}dispose(Y){}}const J=new ae,pe=new O;let Ge=(()=>{var E;class Y{constructor(B){this._latestValue=null,this.markForCheckOnValueUpdate=!0,this._subscription=null,this._obj=null,this._strategy=null,this._ref=B}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(B){if(!this._obj){if(B)try{this.markForCheckOnValueUpdate=!1,this._subscribe(B)}finally{this.markForCheckOnValueUpdate=!0}return this._latestValue}return B!==this._obj?(this._dispose(),this.transform(B)):this._latestValue}_subscribe(B){this._obj=B,this._strategy=this._selectStrategy(B),this._subscription=this._strategy.createSubscription(B,Ee=>this._updateLatestValue(B,Ee))}_selectStrategy(B){if((0,c.jNT)(B))return J;if((0,c.zjR)(B))return pe;throw Ii()}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(B,Ee){B===this._obj&&(this._latestValue=Ee,this.markForCheckOnValueUpdate&&this._ref?.markForCheck())}}return(E=Y).\u0275fac=function(B){return new(B||E)(c.rXU(c.gRc,16))},E.\u0275pipe=c.EJ8({name:"async",type:E,pure:!1,standalone:!0}),Y})();const en=new c.nKC(""),sr=new c.nKC("");let Gn=(()=>{var E;class Y{constructor(B,Ee,je){this.locale=B,this.defaultTimezone=Ee,this.defaultOptions=je}transform(B,Ee,je,yt){if(null==B||""===B||B!=B)return null;try{return Qn(B,Ee??this.defaultOptions?.dateFormat??"mediumDate",yt||this.locale,je??this.defaultOptions?.timezone??this.defaultTimezone??void 0)}catch(xt){throw Ii()}}}return(E=Y).\u0275fac=function(B){return new(B||E)(c.rXU(c.xe9,16),c.rXU(en,24),c.rXU(sr,24))},E.\u0275pipe=c.EJ8({name:"date",type:E,pure:!0,standalone:!0}),Y})(),ui=(()=>{var E;class Y{}return(E=Y).\u0275fac=function(B){return new(B||E)},E.\u0275mod=c.$C({type:E}),E.\u0275inj=c.G2t({}),Y})();const ss="browser",Ko="server";function Ns(E){return E===Ko}let oo=(()=>{var E;class Y{}return(E=Y).\u0275prov=(0,c.jDH)({token:E,providedIn:"root",factory:()=>function Yi(E){return E===ss}((0,c.WQX)(c.Agw))?new ei((0,c.WQX)(R),window):new hs}
1),Y})();class ei{constructor(Y,Be){this.document=Y,this.window=Be,this.offset=()=>[0,0]}setOffset(Y){this.offset=Array.isArray(Y)?()=>Y:Y}getScrollPosition(){return[this.window.scrollX,this.window.scrollY]}scrollToPosition(Y){this.window.scrollTo(Y[0],Y[1])}scrollToAnchor(Y){const Be=function To(E,Y){const Be=E.getElementById(Y)||E.getElementsByName(Y)[0];if(Be)return Be;if("function"==typeof E.createTreeWalker&&E.body&&"function"==typeof E.body.attachShadow){const B=E.createTreeWalker(E.body,NodeFilter.SHOW_ELEMENT);let Ee=B.currentNode;for(;Ee;){const je=Ee.shadowRoot;if(je){const yt=je.getElementById(Y)||je.querySelector(`[name="${Y}"]`);if(yt)return yt}Ee=B.nextNode()}}return null}(this.document,Y);Be&&(this.scrollToElement(Be),Be.focus())}setHistoryScrollRestoration(Y){this.window.history.scrollRestoration=Y}scrollToElement(Y){const Be=Y.getBoundingClientRect(),B=Be.left+this.window.pageXOffset,Ee=Be.top+this.window.pageYOffset,je=this.offset();this.window.scrollTo(B-je[0],Ee-je[1])}}class hs{setOffset(Y){}getScrollPosition(){return[0,0]}scrollToPosition(Y){}scrollToAnchor(Y){}setHistoryScrollRestoration(Y){}}class Wo{}},8824:(Qe,ge,v)=>{"use strict";v.d(ge,{Qq:()=>rn,a7:()=>Pt,q1:()=>Tn}),v(9204);var h=v(8559),G=v(1536),j=v(434),K=v(2677),P=v(9003),R=v(8627),D=v(5443),W=v(9863),$=v(1963),F=v(316);class k{}class oe{}class x{constructor(Ae){this.normalizedNames=new Map,this.lazyUpdate=null,Ae?"string"==typeof Ae?this.lazyInit=()=>{this.headers=new Map,Ae.split("\n").forEach(ht=>{const dt=ht.indexOf(":");if(dt>0){const mt=ht.slice(0,dt),Rt=mt.toLowerCase(),on=ht.slice(dt+1).trim();this.maybeSetNormalizedName(mt,Rt),this.headers.has(Rt)?this.headers.get(Rt).push(on):this.headers.set(Rt,[on])}})}:typeof Headers<"u"&&Ae instanceof Headers?(this.headers=new Map,Ae.forEach((ht,dt)=>{this.setHeaderEntries(dt,ht)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(Ae).forEach(([ht,dt])=>{this.setHeaderEntries(ht,dt)})}:this.headers=new Map}has(Ae){return this.init(),this.headers.has(Ae.toLowerCase())}get(Ae){this.init();const ht=this.headers.get(Ae.toLowerCase());return ht&&ht.length>0?ht[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(Ae){return this.init(),this.headers.get(Ae.toLowerCase())||null}append(Ae,ht){return this.clone({name:Ae,value:ht,op:"a"})}set(Ae,ht){return this.clone({name:Ae,value:ht,op:"s"})}delete(Ae,ht){return this.clone({name:Ae,value:ht,op:"d"})}maybeSetNormalizedName(Ae,ht){this.normalizedNames.has(ht)||this.normalizedNames.set(ht,Ae)}init(){this.lazyInit&&(this.lazyInit instanceof x?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(Ae=>this.applyUpdate(Ae)),this.lazyUpdate=null))}copyFrom(Ae){Ae.init(),Array.from(Ae.headers.keys()).forEach(ht=>{this.headers.set(ht,Ae.headers.get(ht)),this.normalizedNames.set(ht,Ae.normalizedNames.get(ht))})}clone(Ae){const ht=new x;return ht.lazyInit=this.lazyInit&&this.lazyInit instanceof x?this.lazyInit:this,ht.lazyUpdate=(this.lazyUpdate||[]).concat([Ae]),ht}applyUpdate(Ae){const ht=Ae.name.toLowerCase();switch(Ae.op){case"a":case"s":let dt=Ae.value;if("string"==typeof dt&&(dt=[dt]),0===dt.length)return;this.maybeSetNormalizedName(Ae.name,ht);const mt=("a"===Ae.op?this.headers.get(ht):void 0)||[];mt.push(...dt),this.headers.set(ht,mt);break;case"d":const Rt=Ae.value;if(Rt){let on=this.headers.get(ht);if(!on)return;on=on.filter(ln=>-1===Rt.indexOf(ln)),0===on.length?(this.headers.delete(ht),this.normalizedNames.delete(ht)):this.headers.set(ht,on)}else this.headers.delete(ht),this.normalizedNames.delete(ht)}}setHeaderEntries(Ae,ht){const dt=(Array.isArray(ht)?ht:[ht]).map(Rt=>Rt.toString()),mt=Ae.toLowerCase();this.headers.set(mt,dt),this.maybeSetNormalizedName(Ae,mt)}forEach(Ae){this.init(),Array.from(this.normalizedNames.keys()).forEach(ht=>Ae(this.normalizedNames.get(ht),this.headers.get(ht)))}}class le{encodeKey(Ae){return Je(Ae)}encodeValue(Ae){return Je(Ae)}decodeKey(Ae){return decodeURIComponent(Ae)}decodeValue(Ae){return decodeURIComponent(Ae)}}const $e=/%(\d[a-f0-9])/gi,Re={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function Je(Z){return encodeURIComponent(Z).replace($e,(Ae,ht)=>Re[ht]??Ae)}function st(Z){return`${Z}`}class at{constructor(Ae={}){if(this.updates=null,this.cloneFrom=null,this.encoder=Ae.encoder||new le,Ae.fromString){if(Ae.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function Se(Z,Ae){const ht=new Map;return Z.length>0&&Z.replace(/^\?/,"").split("&").forEach(mt=>{const Rt=mt.indexOf("="),[on,ln]=-1==Rt?[Ae.decodeKey(mt),""]:[Ae.decodeKey(mt.slice(0,Rt)),Ae.decodeValue(mt.slice(Rt+1))],bn=ht.get(on)||[];bn.push(ln),ht.set(on,bn)}),ht}(Ae.fromString,this.encoder)}else Ae.fromObject?(this.map=new Map,Object.keys(Ae.fromObject).forEach(ht=>{const dt=Ae.fromObject[ht],mt=Array.isArray(dt)?dt.map(st):[st(dt)];this.map.set(ht,mt)})):this.map=null}has(Ae){return this.init(),this.map.has(Ae)}get(Ae){this.init();const ht=this.map.get(Ae);return ht?ht[0]:null}getAll(Ae){return this.init(),this.map.get(Ae)||null}
vendor: 4,375 bytes, line 1
1keys(){return this.init(),Array.from(this.map.keys())}append(Ae,ht){return this.clone({param:Ae,value:ht,op:"a"})}appendAll(Ae){const ht=[];return Object.keys(Ae).forEach(dt=>{const mt=Ae[dt];Array.isArray(mt)?mt.forEach(Rt=>{ht.push({param:dt,value:Rt,op:"a"})}):ht.push({param:dt,value:mt,op:"a"})}),this.clone(ht)}set(Ae,ht){return this.clone({param:Ae,value:ht,op:"s"})}delete(Ae,ht){return this.clone({param:Ae,value:ht,op:"d"})}toString(){return this.init(),this.keys().map(Ae=>{const ht=this.encoder.encodeKey(Ae);return this.map.get(Ae).map(dt=>ht+"="+this.encoder.encodeValue(dt)).join("&")}).filter(Ae=>""!==Ae).join("&")}clone(Ae){const ht=new at({encoder:this.encoder});return ht.cloneFrom=this.cloneFrom||this,ht.updates=(this.updates||[]).concat(Ae),ht}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(Ae=>this.map.set(Ae,this.cloneFrom.map.get(Ae))),this.updates.forEach(Ae=>{switch(Ae.op){case"a":case"s":const ht=("a"===Ae.op?this.map.get(Ae.param):void 0)||[];ht.push(st(Ae.value)),this.map.set(Ae.param,ht);break;case"d":if(void 0===Ae.value){this.map.delete(Ae.param);break}{let dt=this.map.get(Ae.param)||[];const mt=dt.indexOf(st(Ae.value));-1!==mt&&dt.splice(mt,1),dt.length>0?this.map.set(Ae.param,dt):this.map.delete(Ae.param)}}}),this.cloneFrom=this.updates=null)}}class we{constructor(){this.map=new Map}set(Ae,ht){return this.map.set(Ae,ht),this}get(Ae){return this.map.has(Ae)||this.map.set(Ae,Ae.defaultValue()),this.map.get(Ae)}delete(Ae){return this.map.delete(Ae),this}has(Ae){return this.map.has(Ae)}keys(){return this.map.keys()}}function ye(Z){return typeof ArrayBuffer<"u"&&Z instanceof ArrayBuffer}function Me(Z){return typeof Blob<"u"&&Z instanceof Blob}function Ie(Z){return typeof FormData<"u"&&Z instanceof FormData}class me{constructor(Ae,ht,dt,mt){let Rt;if(this.url=ht,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=Ae.toUpperCase(),function re(Z){switch(Z){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||mt?(this.body=void 0!==dt?dt:null,Rt=mt):Rt=dt,Rt&&(this.reportProgress=!!Rt.reportProgress,this.withCredentials=!!Rt.withCredentials,Rt.responseType&&(this.responseType=Rt.responseType),Rt.headers&&(this.headers=Rt.headers),Rt.context&&(this.context=Rt.context),Rt.params&&(this.params=Rt.params),this.transferCache=Rt.transferCache),this.headers??=new x,this.context??=new we,this.params){const on=this.params.toString();if(0===on.length)this.urlWithParams=ht;else{const ln=ht.indexOf("?");this.urlWithParams=ht+(-1===ln?"?":ln<ht.length-1?"&":"")+on}}else this.params=new at,this.urlWithParams=ht}serializeBody(){return null===this.body?null:"string"==typeof this.body||ye(this.body)||Me(this.body)||Ie(this.body)||function We(Z){return typeof URLSearchParams<"u"&&Z instanceof URLSearchParams}(this.body)?this.body:this.body instanceof at?this.body.toString():"object"==typeof this.body||"boolean"==typeof this.body||Array.isArray(this.body)?JSON.stringify(this.body):this.body.toString()}detectContentTypeHeader(){return null===this.body||Ie(this.body)?null:Me(this.body)?this.body.type||null:ye(this.body)?null:"string"==typeof this.body?"text/plain":this.body instanceof at?"application/x-www-form-urlencoded;charset=UTF-8":"object"==typeof this.body||"number"==typeof this.body||"boolean"==typeof this.body?"application/json":null}clone(Ae={}){const ht=Ae.method||this.method,dt=Ae.url||this.url,mt=Ae.responseType||this.responseType,Rt=Ae.transferCache??this.transferCache,on=void 0!==Ae.body?Ae.body:this.body,ln=Ae.withCredentials??this.withCredentials,bn=Ae.reportProgress??this.reportProgress;let Ln=Ae.headers||this.headers,mr=Ae.params||this.params;const pr=Ae.context??this.context;return void 0!==Ae.setHeaders&&(Ln=Object.keys(Ae.setHeaders).reduce((Er,xn)=>Er.set(xn,Ae.setHeaders[xn]),Ln)),Ae.setParams&&(mr=Object.keys(Ae.setParams).reduce((Er,xn)=>Er.set(xn,Ae.setParams[xn]),mr)),new me(ht,dt,on,{params:mr,headers:Ln,context:pr,reportProgress:bn,responseType:mt,withCredentials:ln,transferCache:Rt})}}var _t=function(Z){return Z[Z.Sent=0]="Sent",Z[Z.UploadProgress=1]="UploadProgress",Z[Z.ResponseHeader=2]="ResponseHeader",Z[Z.DownloadProgress=3]="DownloadProgress",Z[Z.Response=4]="Response",Z[Z.User=5]="User",Z}(_t||{});
1class Yt{constructor(Ae,ht=Ut.Ok,dt="OK"){this.headers=Ae.headers||new x,this.status=void 0!==Ae.status?Ae.status:ht,this.statusText=Ae.statusText||dt,this.url=Ae.url||null,this.ok=this.status>=200&&this.status<300}}class vn extends Yt{constructor(Ae={}){super(Ae),this.type=_t.ResponseHeader}clone(Ae={}){return new vn({headers:Ae.headers||this.headers,status:void 0!==Ae.status?Ae.status:this.status,statusText:Ae.statusText||this.statusText,url:Ae.url||this.url||void 0})}}class Gt extends Yt{constructor(Ae={}){super(Ae),this.type=_t.Response,this.body=void 0!==Ae.body?Ae.body:null}clone(Ae={}){return new Gt({body:void 0!==Ae.body?Ae.body:this.body,headers:Ae.headers||this.headers,status:void 0!==Ae.status?Ae.status:this.status,statusText:Ae.statusText||this.statusText,url:Ae.url||this.url||void 0})}}class an extends Yt{constructor(Ae){super(Ae,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${Ae.url||"(unknown url)"}`:`Http failure response for ${Ae.url||"(unknown url)"}: ${Ae.status} ${Ae.statusText}`,this.error=Ae.error||null}}var Ut=function(Z){return Z[Z.Continue=100]="Continue",Z[Z.SwitchingProtocols=101]="SwitchingProtocols",Z[Z.Processing=102]="Processing",Z[Z.EarlyHints=103]="EarlyHints",Z[Z.Ok=200]="Ok",Z[Z.Created=201]="Created",Z[Z.Accepted=202]="Accepted",Z[Z.NonAuthoritativeInformation=203]="NonAuthoritativeInformation",Z[Z.NoContent=204]="NoContent",Z[Z.ResetContent=205]="ResetContent",Z[Z.PartialContent=206]="PartialContent",Z[Z.MultiStatus=207]="MultiStatus",Z[Z.AlreadyReported=208]="AlreadyReported",Z[Z.ImUsed=226]="ImUsed",Z[Z.MultipleChoices=300]="MultipleChoices",Z[Z.MovedPermanently=301]="MovedPermanently",Z[Z.Found=302]="Found",Z[Z.SeeOther=303]="SeeOther",Z[Z.NotModified=304]="NotModified",Z[Z.UseProxy=305]="UseProxy",Z[Z.Unused=306]="Unused",Z[Z.TemporaryRedirect=307]="TemporaryRedirect",Z[Z.PermanentRedirect=308]="PermanentRedirect",Z[Z.BadRequest=400]="BadRequest",Z[Z.Unauthorized=401]="Unauthorized",Z[Z.PaymentRequired=402]="PaymentRequired",Z[Z.Forbidden=403]="Forbidden",Z[Z.NotFound=404]="NotFound",Z[Z.MethodNotAllowed=405]="MethodNotAllowed",Z[Z.NotAcceptable=406]="NotAcceptable",Z[Z.ProxyAuthenticationRequired=407]="ProxyAuthenticationRequired",Z[Z.RequestTimeout=408]="RequestTimeout",Z[Z.Conflict=409]="Conflict",Z[Z.Gone=410]="Gone",Z[Z.LengthRequired=411]="LengthRequired",Z[Z.PreconditionFailed=412]="PreconditionFailed",Z[Z.PayloadTooLarge=413]="PayloadTooLarge",Z[Z.UriTooLong=414]="UriTooLong",Z[Z.UnsupportedMediaType=415]="UnsupportedMediaType",Z[Z.RangeNotSatisfiable=416]="RangeNotSatisfiable",Z[Z.ExpectationFailed=417]="ExpectationFailed",Z[Z.ImATeapot=418]="ImATeapot",Z[Z.MisdirectedRequest=421]="MisdirectedRequest",Z[Z.UnprocessableEntity=422]="UnprocessableEntity",Z[Z.Locked=423]="Locked",Z[Z.FailedDependency=424]="FailedDependency",Z[Z.TooEarly=425]="TooEarly",Z[Z.UpgradeRequired=426]="UpgradeRequired",Z[Z.PreconditionRequired=428]="PreconditionRequired",Z[Z.TooManyRequests=429]="TooManyRequests",Z[Z.RequestHeaderFieldsTooLarge=431]="RequestHeaderFieldsTooLarge",Z[Z.UnavailableForLegalReasons=451]="UnavailableForLegalReasons",Z[Z.InternalServerError=500]="InternalServerError",Z[Z.NotImplemented=501]="NotImplemented",Z[Z.BadGateway=502]="BadGateway",Z[Z.ServiceUnavailable=503]="ServiceUnavailable",Z[Z.GatewayTimeout=504]="GatewayTimeout",Z[Z.HttpVersionNotSupported=505]="HttpVersionNotSupported",Z[Z.VariantAlsoNegotiates=506]="VariantAlsoNegotiates",Z[Z.InsufficientStorage=507]="InsufficientStorage",Z[Z.LoopDetected=508]="LoopDetected",Z[Z.NotExtended=510]="NotExtended",Z[Z.NetworkAuthenticationRequired=511]="NetworkAuthenticationRequired",Z}(Ut||{});function Xt(Z,Ae){return{body:Ae,headers:Z.headers,context:Z.context,observe:Z.observe,params:Z.params,reportProgress:Z.reportProgress,responseType:Z.responseType,withCredentials:Z.withCredentials,transferCache:Z.transferCache}}let rn=(()=>{var Z;class Ae{constructor(dt){this.handler=dt}request(dt,mt,Rt={}){let on;if(dt instanceof me)on=dt;else{let Ln,mr;Ln=Rt.headers instanceof x?Rt.headers:new x(Rt.headers),Rt.params&&(mr=Rt.params instanceof at?Rt.params:new at({fromObject:Rt.params})),on=new me(dt,mt,void 0!==Rt.body?Rt.body:null,{headers:Ln,context:Rt.context,params:mr,reportProgress:Rt.reportProgress,responseType:Rt.responseType||"json",withCredentials:Rt.withCredentials,transferCache:Rt.transferCache})}const ln=(0,G.of)(on).pipe((0,P.H)(Ln=>this.handler.handle(Ln)));if(dt instanceof me||"events"===Rt.observe)return ln;const bn=ln.pipe((0,R.p)(Ln=>Ln instanceof Gt));switch(Rt.observe||"body"){case"body":switch(on.responseType){case"arraybuffer":return bn.pipe((0,D.T)(Ln=>
1{if(null!==Ln.body&&!(Ln.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return Ln.body}));case"blob":return bn.pipe((0,D.T)(Ln=>{if(null!==Ln.body&&!(Ln.body instanceof Blob))throw new Error("Response is not a Blob.");return Ln.body}));case"text":return bn.pipe((0,D.T)(Ln=>{if(null!==Ln.body&&"string"!=typeof Ln.body)throw new Error("Response is not a string.");return Ln.body}));default:return bn.pipe((0,D.T)(Ln=>Ln.body))}case"response":return bn;default:throw new Error(`Unreachable: unhandled observe type ${Rt.observe}}`)}}delete(dt,mt={}){return this.request("DELETE",dt,mt)}get(dt,mt={}){return this.request("GET",dt,mt)}head(dt,mt={}){return this.request("HEAD",dt,mt)}jsonp(dt,mt){return this.request("JSONP",dt,{params:(new at).append(mt,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(dt,mt={}){return this.request("OPTIONS",dt,mt)}patch(dt,mt,Rt={}){return this.request("PATCH",dt,Xt(Rt,mt))}post(dt,mt,Rt={}){return this.request("POST",dt,Xt(Rt,mt))}put(dt,mt,Rt={}){return this.request("PUT",dt,Xt(Rt,mt))}}return(Z=Ae).\u0275fac=function(dt){return new(dt||Z)(h.KVO(k))},Z.\u0275prov=h.jDH({token:Z,factory:Z.\u0275fac}),Ae})();function pn(Z,Ae){return Ae(Z)}function Zn(Z,Ae){return(ht,dt)=>Ae.intercept(ht,{handle:mt=>Z(mt,dt)})}const Pt=new h.nKC(""),In=new h.nKC(""),Nn=new h.nKC(""),ur=new h.nKC("");function Hr(){let Z=null;return(Ae,ht)=>
1{null===Z&&(Z=((0,h.WQX)(Pt,{optional:!0})??[]).reduceRight(Zn,pn));const dt=(0,h.WQX)(h.TgB),mt=dt.add();return Z(Ae,ht).pipe((0,W.j)(()=>dt.remove(mt)))}}let te=(()=>{var Z;class Ae extends k{constructor(dt,mt){super(),this.backend=dt,this.injector=mt,this.chain=null,this.pendingTasks=(0,h.WQX)(h.TgB);const Rt=(0,h.WQX)(ur,{optional:!0});this.backend=Rt??dt}handle(dt){if(null===this.chain){const Rt=Array.from(new Set([...this.injector.get(In),...this.injector.get(Nn,[])]));this.chain=Rt.reduceRight((on,ln)=>function be(Z,Ae,ht){return(dt,mt)=>(0,h.N4e)(ht,()=>Ae(dt,Rt=>Z(Rt,mt)))}(on,ln,this.injector),pn)}const mt=this.pendingTasks.add();return this.chain(dt,Rt=>this.backend.handle(Rt)).pipe((0,W.j)(()=>this.pendingTasks.remove(mt)))}}return(Z=Ae).\u0275fac=function(dt){return new(dt||Z)(h.KVO(oe),h.KVO(h.uvJ))},Z.\u0275prov=h.jDH({token:Z,factory:Z.\u0275fac}),Ae})();const zr=/^\)\]\}',?\n/;let Br=(()=>{var Z;class Ae{constructor(dt){this.xhrFactory=dt}handle(dt){if("JSONP"===dt.method)throw new h.wOt(-2800,!1);const mt=this.xhrFactory;return(mt.\u0275loadImpl?(0,K.H)(mt.\u0275loadImpl()):(0,G.of)(null)).pipe((0,$.n)(()=>new j.c(on=>{const ln=mt.build();if(ln.open(dt.method,dt.urlWithParams),dt.withCredentials&&(ln.withCredentials=!0),dt.headers.forEach((nr,rr)=>ln.setRequestHeader(nr,rr.join(","))),dt.headers.has("Accept")||ln.setRequestHeader("Accept","application/json, text/plain, */*"),!dt.headers.has("Content-Type")){const nr=dt.detectContentTypeHeader();null!==nr&&ln.setRequestHeader("Content-Type",nr)}if(dt.responseType){const nr=dt.responseType.toLowerCase();ln.responseType="json"!==nr?nr:"text"}const bn=dt.serializeBody();let Ln=null;const mr=()=>{if(null!==Ln)return Ln;const nr=ln.statusText||"OK",rr=new x(ln.getAllResponseHeaders()),si=function mn(Z){return"responseURL"in Z&&Z.responseURL?Z.responseURL:/^X-Request-URL:/m.test(Z.getAllResponseHeaders())?Z.getResponseHeader("X-Request-URL"):null}(ln)||dt.url;return Ln=new vn({headers:rr,status:ln.status,statusText:nr,url:si}),Ln},pr=()=>{let{headers:nr,status:rr,statusText:si,url:bi}=mr(),Mr=null;rr!==Ut.NoContent&&(Mr=typeof ln.response>"u"?ln.responseText:ln.response),0===rr&&(rr=Mr?Ut.Ok:0);let ai=rr>=200&&rr<300;if("json"===dt.responseType&&"string"==typeof Mr){const wi=Mr;Mr=Mr.replace(zr,"");try{Mr=""!==Mr?JSON.parse(Mr):null}catch(Un){Mr=wi,ai&&(ai=!1,Mr={error:Un,text:Mr})}}ai?(on.next(new Gt({body:Mr,headers:nr,status:rr,statusText:si,url:bi||void 0})),on.complete()):on.error(new an({error:Mr,headers:nr,status:rr,statusText:si,url:bi||void 0}))},Er=nr=>{const{url:rr}=mr(),si=new an({error:nr,status:ln.status||0,statusText:ln.statusText||"Unknown Error",url:rr||void 0});on.error(si)};let xn=!1;const Vr=nr=>{xn||(on.next(mr()),xn=!0);let rr={type:_t.DownloadProgress,loaded:nr.loaded};nr.lengthComputable&&(rr.total=nr.total),"text"===dt.responseType&&ln.responseText&&(rr.partialText=ln.responseText),on.next(rr)},xr=nr=>{let rr={type:_t.UploadProgress,loaded:nr.loaded};nr.lengthComputable&&(rr.total=nr.total),on.next(rr)};return ln.addEventListener("load",pr),ln.addEventListener("error",Er),ln.addEventListener("timeout",Er),ln.addEventListener("abort",Er),dt.reportProgress&&(ln.addEventListener("progress",Vr),null!==bn&&ln.upload&&ln.upload.addEventListener("progress",xr)),ln.send(bn),on.next({type:_t.Sent}),()=>{ln.removeEventListener("error",Er),ln.removeEventListener("abort",Er),ln.removeEventListener("load",pr),ln.removeEventListener("timeout",Er),dt.reportProgress&&(ln.removeEventListener("progress",Vr),null!==bn&&ln.upload&&ln.upload.removeEventListener("progress",xr)),ln.readyState!==ln.DONE&&ln.abort()}})))}}return(Z=Ae).\u0275fac=function(dt){return new(dt||Z)(h.KVO(F.N0))},Z.\u0275prov=h.jDH({token:Z,factory:Z.\u0275fac}),Ae})();
1const hr=new h.nKC(""),oi=new h.nKC("",{providedIn:"root",factory:()=>"XSRF-TOKEN"}),Dr=new h.nKC("",{providedIn:"root",factory:()=>"X-XSRF-TOKEN"});class Ei{}let Et=(()=>{var Z;class Ae{constructor(dt,mt,Rt){this.doc=dt,this.platform=mt,this.cookieName=Rt,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const dt=this.doc.cookie||"";return dt!==this.lastCookieString&&(this.parseCount++,this.lastToken=(0,F._b)(dt,this.cookieName),this.lastCookieString=dt),this.lastToken}}return(Z=Ae).\u0275fac=function(dt){return new(dt||Z)(h.KVO(F.qQ),h.KVO(h.Agw),h.KVO(oi))},Z.\u0275prov=h.jDH({token:Z,factory:Z.\u0275fac}),Ae})();function It(Z,Ae){const ht=Z.url.toLowerCase();if(!(0,h.WQX)(hr)||"GET"===Z.method||"HEAD"===Z.method||ht.startsWith("http://")||ht.startsWith("https://"))return Ae(Z);const dt=(0,h.WQX)(Ei).getToken(),mt=(0,h.WQX)(Dr);return null!=dt&&!Z.headers.has(mt)&&(Z=Z.clone({headers:Z.headers.set(mt,dt)})),Ae(Z)}var Oe=function(Z){return Z[Z.Interceptors=0]="Interceptors",Z[Z.LegacyInterceptors=1]="LegacyInterceptors",Z[Z.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",Z[Z.NoXsrfProtection=3]="NoXsrfProtection",Z[Z.JsonpSupport=4]="JsonpSupport",Z[Z.RequestsMadeViaParent=5]="RequestsMadeViaParent",Z[Z.Fetch=6]="Fetch",Z}(Oe||{});function tt(Z,Ae){return{\u0275kind:Z,\u0275providers:Ae}}function Xe(...Z){const Ae=[rn,Br,te,{provide:k,useExisting:te},{provide:oe,useExisting:Br},{provide:In,useValue:It,multi:!0},{provide:hr,useValue:!0},{provide:Ei,useClass:Et}];for(const ht of Z)Ae.push(...ht.\u0275providers);return(0,h.EmA)(Ae)}const Bt=new h.nKC("");let Tn=(()=>{var Z;class Ae{}return(Z=Ae).\u0275fac=function(dt){return new(dt||Z)},Z.\u0275mod=h.$C({type:Z}),Z.\u0275inj=h.G2t({providers:[Xe(tt(Oe.LegacyInterceptors,[{provide:Bt,useFactory:Hr},{provide:In,useExisting:Bt,multi:!0}]))]}),Ae})()},8559:(Qe,ge,v)=>{"use strict";function h(e,t){return Object.is(e,t)}v.d(ge,{bc$:()=>NE,iLQ:()=>Wg,sZ2:()=>gm,hnV:()=>F_,Hbi:()=>KT,o8S:()=>eu,BIS:()=>RE,gRc:()=>X_,Ql9:()=>mT,OM3:()=>kl,Ocv:()=>CT,abz:()=>ea,Z63:()=>hi,aKT:()=>zi,uvJ:()=>Hn,zcH:()=>Ks,bkB:()=>Ws,y_5:()=>Po,$GK:()=>Ge,nKC:()=>mt,zZn:()=>is,_q3:()=>em,MKu:()=>tm,xe9:()=>Zf,Co$:()=>Nv,Vns:()=>Tu,SKi:()=>Ro,Xx1:()=>Yi,Agw:()=>Bh,PLl:()=>mm,sFG:()=>rS,_9s:()=>U0,czy:()=>sf,WPN:()=>Cu,kdw:()=>io,C4Q:()=>Rl,NYb:()=>cT,giA:()=>x_,RxE:()=>I_,c1b:()=>Df,gXe:()=>qt,mal:()=>W0,Af3:()=>$s,tdH:()=>sS,L39:()=>EA,EWP:()=>wA,Ol2:()=>eg,w6W:()=>nC,oH4:()=>K_,QZP:()=>IE,SmG:()=>OT,Rfq:()=>It,WQX:()=>Yn,hFB:()=>gl,naY:()=>MT,QuC:()=>Di,EmA:()=>ts,fpN:()=>GT,HJs:()=>AA,N4e:()=>eo,vPA:()=>hv,O8t:()=>SA,An2:()=>bf,H3F:()=>T_,H8p:()=>Nt,KH2:()=>Pc,YHP:()=>si,TgB:()=>pc,wOt:()=>zt,WHO:()=>R_,e01:()=>P_,lNU:()=>Hr,h9k:()=>$m,$MX:()=>ef,ZF7:()=>sc,Kcf:()=>JE,e5t:()=>nb,UyX:()=>eb,cWb:()=>ZE,osQ:()=>tb,H5H:()=>Ig,Zy3:()=>ke,mq5:()=>Py,JZv:()=>mn,LfX:()=>it,plB:()=>Ya,jNT:()=>Gg,zjR:()=>$_,TL$:()=>ME,Tbb:()=>or,rcV:()=>Aa,Vt3:()=>Qp,Mj6:()=>Ji,GFd:()=>Ov,OA$:()=>Xr,Jv_:()=>q1,aNF:()=>X1,R7$:()=>u0,BMQ:()=>dg,x72:()=>fg,AVh:()=>_g,vxM:()=>Iy,wni:()=>w1,VBU:()=>Dn,FsC:()=>Yr,jDH:()=>ce,G2t:()=>He,$C:()=>ar,EJ8:()=>ci,rXU:()=>cc,nrm:()=>Dg,bVm:()=>Vf,qex:()=>Bf,k0s:()=>Uf,j41:()=>Lf,RV6:()=>Oy,xGo:()=>dl,KVO:()=>yi,kS0:()=>Xu,QTQ:()=>l0,bIt:()=>Mg,lsd:()=>D1,joV:()=>Lu,qSk:()=>Eh,XpG:()=>d1,nI1:()=>a_,bMT:()=>u_,i5U:()=>c_,SdG:()=>h1,NAR:()=>f1,Y8G:()=>mg,FS9:()=>Ng,Mz_:()=>Wf,lJ4:()=>Q1,eq3:()=>J1,l_i:()=>Z1,sMw:()=>e_,lV:()=>t_,mGM:()=>C1,sdS:()=>I1,Njj:()=>_d,tSv:()=>Vm,eBV:()=>yd,npT:()=>Fm,f$h:()=>ip,B4B:()=>rp,n$t:()=>km,xc7:()=>yg,DNE:()=>gc,C5r:()=>l_,EFF:()=>F1,JRh:()=>Rg,SpI:()=>zf,Lme:()=>Pg,GBs:()=>S1}),v(9204);let G=null,j=!1,K=1;const P=Symbol("SIGNAL");function R(e){const t=G;return G=e,t}const F={version:0,lastCleanEpoch:0,dirty:!1,producerNode:void 0,producerLastReadVersion:void 0,producerIndexOfThis:void 0,nextProducerIndex:0,liveConsumerNode:void 0,liveConsumerIndexOfThis:void 0,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{}};function k(e){if(j)throw new Error("");
1if(null===G)return;G.consumerOnSignalRead(e);const t=G.nextProducerIndex++;re(G),t<G.producerNode.length&&G.producerNode[t]!==e&&we(G)&&nt(G.producerNode[t],G.producerIndexOfThis[t]),G.producerNode[t]!==e&&(G.producerNode[t]=e,G.producerIndexOfThis[t]=we(G)?at(e,G,t):0),G.producerLastReadVersion[t]=e.version}function x(e){if((!we(e)||e.dirty)&&(e.dirty||e.lastCleanEpoch!==K)){if(!e.producerMustRecompute(e)&&!Je(e))return e.dirty=!1,void(e.lastCleanEpoch=K);e.producerRecomputeValue(e),e.dirty=!1,e.lastCleanEpoch=K}}function ue(e){if(void 0===e.liveConsumerNode)return;const t=j;j=!0;try{for(const n of e.liveConsumerNode)n.dirty||Se(n)}finally{j=t}}function le(){return!1!==G?.consumerAllowSignalWrites}function Se(e){e.dirty=!0,ue(e),e.consumerMarkedDirty?.(e)}function $e(e){return e&&(e.nextProducerIndex=0),R(e)}function Re(e,t){if(R(t),e&&void 0!==e.producerNode&&void 0!==e.producerIndexOfThis&&void 0!==e.producerLastReadVersion){if(we(e))for(let n=e.nextProducerIndex;n<e.producerNode.length;n++)nt(e.producerNode[n],e.producerIndexOfThis[n]);for(;e.producerNode.length>e.nextProducerIndex;)e.producerNode.pop(),e.producerLastReadVersion.pop(),e.producerIndexOfThis.pop()}}function Je(e){re(e);for(let t=0;t<e.producerNode.length;t++){const n=e.producerNode[t],r=e.producerLastReadVersion[t];if(r!==n.version||(x(n),r!==n.version))return!0}return!1}function st(e){if(re(e),we(e))for(let t=0;t<e.producerNode.length;t++)nt(e.producerNode[t],e.producerIndexOfThis[t]);e.producerNode.length=e.producerLastReadVersion.length=e.producerIndexOfThis.length=0,e.liveConsumerNode&&(e.liveConsumerNode.length=e.liveConsumerIndexOfThis.length=0)}function at(e,t,n){if(ye(e),re(e),0===e.liveConsumerNode.length)for(let r=0;r<e.producerNode.length;r++)e.producerIndexOfThis[r]=at(e.producerNode[r],e,r);return e.liveConsumerIndexOfThis.push(n),e.liveConsumerNode.push(t)-1}function nt(e,t){if(ye(e),re(e),1===e.liveConsumerNode.length)for(let r=0;r<e.producerNode.length;r++)nt(e.producerNode[r],e.producerIndexOfThis[r]);const n=e.liveConsumerNode.length-1;if(e.liveConsumerNode[t]=e.liveConsumerNode[n],e.liveConsumerIndexOfThis[t]=e.liveConsumerIndexOfThis[n],e.liveConsumerNode.length--,e.liveConsumerIndexOfThis.length--,t<e.liveConsumerNode.length){const r=e.liveConsumerIndexOfThis[t],i=e.liveConsumerNode[t];re(i),i.producerIndexOfThis[r]=t}}function we(e){return e.consumerIsAlwaysLive||(e?.liveConsumerNode?.length??0)>0}function re(e){e.producerNode??=[],e.producerIndexOfThis??=[],e.producerLastReadVersion??=[]}function ye(e){e.liveConsumerNode??=[],e.liveConsumerIndexOfThis??=[]}const Ie=Symbol("UNSET"),We=Symbol("COMPUTING"),me=Symbol("ERRORED"),_t={...F,value:Ie,dirty:!0,error:null,equal:h,producerMustRecompute:e=>e.value===Ie||e.value===We,producerRecomputeValue(e){if(e.value===We)throw new Error("Detected cycle in computations.");const t=e.value;e.value=We;const n=$e(e);let r;try{r=e.computation()}catch(i){r=me,e.error=i}finally{Re(e,n)}t!==Ie&&t!==me&&r!==me&&e.equal(t,r)?e.value=t:(e.value=r,e.version++)}};let vn=function Yt(){throw new Error};function Gt(){vn()}let Ut=null;function On(e,t){le()||Gt(),e.equal(e.value,t)||(e.value=t,function Qt(e){e.version++,function oe(){K++}(),ue(e),Ut?.()}(e))}const dn={...F,equal:h,value:void 0};const Mn=()=>{},pn={...F,consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!1,consumerMarkedDirty:e=>{null!==e.schedule&&e.schedule(e.ref)},hasRun:!1,cleanupFn:Mn};var be=v(3119),Pt=v(2672),In=v(521),Nn=v(5443);const Hr="https://g.co/ng/security#xss";class zt extends Error{constructor(t,n){super(ke(t,n)),this.code=t}}function ke(e,t){return`NG0${Math.abs(e)}${t?": "+t:""}`}const te=Symbol("InputSignalNode#UNSET"),ne={...dn,transformFn:void 0,applyValueToInputSignal(e,t){On(e,t)}};function Mt(e,t){const n=Object.create(ne);function r(){if(k(n),n.value===te)throw new zt(-950,!1);return n.value}return n.value=e,n.transformFn=t?.transform,r[P]=n,r}function Dt(e){return{toString:e}.toString()}const Qn="__parameters__";function Xn(e,t,n){return Dt(()=>{const r=function fn(e){return function(...n){if(e){const r=e(...n);for(const i in r)this[i]=r[i]}}}(t);function i(...a){if(this instanceof i)return r.apply(this,a),this;const d=new i(...a);return m.annotation=d,m;function m(b,X,fe){const Pe=b.hasOwnProperty(Qn)?b[Qn]:Object.defineProperty(b,Qn,{value:[]})[Qn];for(;Pe.length<=fe;)Pe.push(null);return(Pe[fe]=Pe[fe]||[]).push(d),b}}return n&&(i.prototype=Object.create(n.prototype)),i.prototype.ngMetadataName=e,i.annotationCls=i,i})}const mn=globalThis;function jn(e){for(let t in e)if(e[t]===jn)return t;throw Error("Could not find renamed property on target object.")}function oi(e,t){for(const n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function or(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(or).join(", ")+"]";if(null==e)return""+e;if(e.overriddenName)return`${e.overriddenName}`;if(e.name)return`${e.name}`;const t=e.toString();if(null==t)return""+t;const n=t.indexOf("\n");return-1===n?t:t.substring(0,n)}function Dr(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}const Et=jn({__forward_ref__:jn});function It(e){return e.__forward_ref__=It,e.toString=function(){return or(this())},e}function Ue(e){return Oe(e)?e():e}function Oe(e){return"function"==typeof e&&e.hasOwnProperty(Et)&&e.__forward_ref__===It}function ce(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function He(e){return{providers:e.providers||[],imports:e.imports||[]}}function ee(e){return Ct(e,Z)||Ct(e,ht)}function it(e){return null!==ee(e)}function Ct(e,t){return e.hasOwnProperty(t)?e[t]:null}function se(e){return e&&(e.hasOwnProperty(Ae)||e.hasOwnProperty(dt))?e[Ae]:null}const Z=jn({\u0275prov:jn}),Ae=jn({\u0275inj:jn}),ht=jn({ngInjectableDef:jn}),dt=jn({ngInjectorDef:jn});class mt{constructor(t,n){this._desc=t,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof n?this.__NG_ELEMENT_ID__=n:void 0!==n&&(this.\u0275prov=ce({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}function xr(e){return e&&!!e.\u0275providers}const nr=jn({\u0275cmp:jn}),rr=jn({\u0275dir:jn}
1),si=jn({\u0275pipe:jn}),bi=jn({\u0275mod:jn}),Mr=jn({\u0275fac:jn}),ai=jn({__NG_ELEMENT_ID__:jn}),wi=jn({__NG_ENV_ID__:jn});function Un(e){return"string"==typeof e?e:null==e?"":String(e)}function pe(e,t){throw new zt(-201,!1)}var Ge=function(e){return e[e.Default=0]="Default",e[e.Host=1]="Host",e[e.Self=2]="Self",e[e.SkipSelf=4]="SkipSelf",e[e.Optional=8]="Optional",e}(Ge||{});let wt;function Kt(){return wt}function yn(e){const t=wt;return wt=e,t}function Fn(e,t,n){const r=ee(e);return r&&"root"==r.providedIn?void 0===r.value?r.value=r.factory():r.value:n&Ge.Optional?null:void 0!==t?t:void pe()}const sr={},Gn="__NG_DI_FLAG__",di="ngTempTokenPath",Ni=/\n/gm,Go="__source";let Xi;function Ti(e){const t=Xi;return Xi=e,t}function fi(e,t=Ge.Default){if(void 0===Xi)throw new zt(-203,!1);return null===Xi?Fn(e,void 0,t):Xi.get(e,t&Ge.Optional?null:void 0,t)}function yi(e,t=Ge.Default){return(Kt()||fi)(Ue(e),t)}function Yn(e,t=Ge.Default){return yi(e,Io(t))}function Io(e){return typeof e>"u"||"number"==typeof e?e:(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function Ci(e){const t=[];for(let n=0;n<e.length;n++){const r=Ue(e[n]);if(Array.isArray(r)){if(0===r.length)throw new zt(900,!1);let i,a=Ge.Default;for(let d=0;d<r.length;d++){const m=r[d],b=ss(m);"number"==typeof b?-1===b?i=m.token:a|=b:i=m}t.push(yi(i,a))}else t.push(yi(r))}return t}function ui(e,t){return e[Gn]=t,e.prototype[Gn]=t,e}function ss(e){return e[Gn]}const Po=ui(Xn("Inject",e=>({token:e})),-1),Yi=ui(Xn("Optional"),8),io=ui(Xn("SkipSelf"),4);function fo(e,t){return e.hasOwnProperty(Mr)?e[Mr]:null}function To(e,t){e.forEach(n=>Array.isArray(n)?To(n,t):t(n))}function hs(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function Wo(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function Hi(e,t,n){let r=Qi(e,t);return r>=0?e[1|r]=n:(r=~r,function qs(e,t,n,r){let i=e.length;if(i==t)e.push(n,r);else if(1===i)e.push(r,e[0]),e[0]=n;else{for(i--,e.push(e[i-1],e[i]);i>t;)e[i]=e[i-2],i--;e[t]=n,e[t+1]=r}}(e,r,t,n)),r}function mo(e,t){const n=Qi(e,t);if(n>=0)return e[1|n]}function Qi(e,t){return function Xs(e,t,n){let r=0,i=e.length>>n;for(;i!==r;){const a=r+(i-r>>1),d=e[a<<n];if(t===d)return a<<n;d>t?i=a:r=a+1}return~(i<<n)}(e,t,1)}const ho={},er=[],hi=new mt(""),qo=new mt("",-1),pi=new mt("");class Xo{get(t,n=sr){if(n===sr){const r=new Error(`NullInjectorError: No provider for ${or(t)}!`);throw r.name="NullInjectorError",r}return n}}var as=function(e){return e[e.OnPush=0]="OnPush",e[e.Default=1]="Default",e}(as||{}),qt=function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e}(qt||{}),Ji=function(e){return e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",e}(Ji||{});function Ps(e,t,n){let r=e.length;for(;;){const i=e.indexOf(t,n);if(-1===i)return i;if(0===i||e.charCodeAt(i-1)<=32){const a=t.length;if(i+a===r||e.charCodeAt(i+a)<=32)return i}n=i+1}}function ps(e,t,n){let r=0;for(;r<n.length;){const i=n[r];if("number"==typeof i){if(0!==i)break;r++;const a=n[r++],d=n[r++],m=n[r++];e.setAttribute(t,d,m,a)}else{const a=i,d=n[++r];H(a)?e.setProperty(t,a,d):e.setAttribute(t,a,d),r++}}return r}function z(e){return 3===e||4===e||6===e}function H(e){return 64===e.charCodeAt(0)}function Te(e,t){if(null!==t&&0!==t.length)if(null===e||0===e.length)e=t.slice();else{let n=-1;for(let r=0;r<t.length;r++){const i=t[r];"number"==typeof i?n=i:0===n||Q(e,n,i,null,-1===n||2===n?t[++r]:null)}}return e}function Q(e,t,n,r,i){let a=0,d=e.length;if(-1===t)d=-1;else for(;a<e.length;){const m=e[a++];if("number"==typeof m){if(m===t){d=-1;break}if(m>t){d=a-1;break}}}for(;a<e.length;){const m=e[a];if("number"==typeof m)break;if(m===n){if(null===r)return void(null!==i&&(e[a+1]=i));if(r===e[a+1])return void(e[a+2]=i)}a++,null!==r&&a++,null!==i&&a++}-1!==d&&(e.splice(d,0,t),a=d+1),e.splice(a++,0,n),null!==r&&e.splice(a++,0,r),null!==i&&e.splice(a++,0,i)}const Le="ng-template";function A(e,t,n,r){let i=0;if(r){for(;i<t.length&&"string"==typeof t[i];i+=2)if("class"===t[i]&&-1!==Ps(t[i+1].toLowerCase(),n,0))return!0}else if(g(e))return!1;if(i=t.indexOf(1,i),i>-1){let a;for(;++i<t.length&&"string"==typeof(a=t[i]);)if(a.toLowerCase()===n)return!0}return!1}function g(e){return 4===e.type&&e.value!==Le}function I(e,t,n){return t===(4!==e.type||n?e.value:Le)}function w(e,t,n){let r=4;const i=e.attrs,a=null!==i?function ze(e){for(let t=0;t<e.length;t++)if(z(e[t]))return t;return e.length}(i):0;let d=!1;for(let m=0;m<t.length;m++){const b=t[m];
vendor: 5,448 bytes, line 1
1if("number"!=typeof b){if(!d)if(4&r){if(r=2|1&r,""!==b&&!I(e,b,n)||""===b&&1===t.length){if(N(r))return!1;d=!0}}else if(8&r){if(null===i||!A(e,i,b,n)){if(N(r))return!1;d=!0}}else{const X=t[++m],fe=U(b,i,g(e),n);if(-1===fe){if(N(r))return!1;d=!0;continue}if(""!==X){let Pe;if(Pe=fe>a?"":i[fe+1].toLowerCase(),2&r&&X!==Pe){if(N(r))return!1;d=!0}}}}else{if(!d&&!N(r)&&!N(b))return!1;if(d&&N(b))continue;d=!1,r=b|1&r}}return N(r)||d}function N(e){return!(1&e)}function U(e,t,n,r){if(null===t)return-1;let i=0;if(r||!n){let a=!1;for(;i<t.length;){const d=t[i];if(d===e)return i;if(3===d||6===d)a=!0;else{if(1===d||2===d){let m=t[++i];for(;"string"==typeof m;)m=t[++i];continue}if(4===d)break;if(0===d){i+=4;continue}}i+=a?1:2}return-1}return function Ke(e,t){let n=e.indexOf(4);if(n>-1)for(n++;n<e.length;){const r=e[n];if("number"==typeof r)return-1;if(r===t)return n;n++}return-1}(t,e)}function de(e,t,n=!1){for(let r=0;r<t.length;r++)if(w(e,t[r],n))return!0;return!1}function ct(e,t){e:for(let n=0;n<t.length;n++){const r=t[n];if(e.length===r.length){for(let i=0;i<e.length;i++)if(e[i]!==r[i])continue e;return!0}}return!1}function kt(e,t){return e?":not("+t.trim()+")":t}function At(e){let t=e[0],n=1,r=2,i="",a=!1;for(;n<e.length;){let d=e[n];if("string"==typeof d)if(2&r){const m=e[++n];i+="["+d+(m.length>0?'="'+m+'"':"")+"]"}else 8&r?i+="."+d:4&r&&(i+=" "+d);else""!==i&&!N(d)&&(t+=kt(a,i),i=""),r=d,a=a||!N(r);n++}return""!==i&&(t+=kt(a,i)),t}function Dn(e){return Dt(()=>{const t=gs(e),n={...t,decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===as.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||qt.Emulated,styles:e.styles||er,_:null,schemas:e.schemas||null,tView:null,id:""};Oo(n);const r=e.dependencies;return n.directiveDefs=jo(r,!1),n.pipeDefs=jo(r,!0),n.id=function Ss(e){let t=0;const n=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,e.consts,e.vars,e.decls,e.encapsulation,e.standalone,e.signals,e.exportAs,JSON.stringify(e.inputs),JSON.stringify(e.outputs),Object.getOwnPropertyNames(e.type.prototype),!!e.contentQueries,!!e.viewQuery].join("|");for(const i of n)t=Math.imul(31,t)+i.charCodeAt(0)|0;return t+=2147483648,"c"+t}(n),n})}function qn(e){return Wn(e)||vr(e)}function Vn(e){return null!==e}function ar(e){return Dt(()=>({type:e.type,bootstrap:e.bootstrap||er,declarations:e.declarations||er,imports:e.imports||er,exports:e.exports||er,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function Pr(e,t){if(null==e)return ho;const n={};for(const r in e)if(e.hasOwnProperty(r)){const i=e[r];let a,d,m=Ji.None;Array.isArray(i)?(m=i[0],a=i[1],d=i[2]??a):(a=i,d=i),t?(n[a]=m!==Ji.None?[r,m]:r,t[a]=d):n[a]=r}return n}function Yr(e){return Dt(()=>{const t=gs(e);return Oo(t),t})}function ci(e){return{type:e.type,name:e.name,factory:null,pure:!1!==e.pure,standalone:!0===e.standalone,onDestroy:e.type.prototype.ngOnDestroy||null}}function Wn(e){return e[nr]||null}function vr(e){return e[rr]||null}function ri(e){return e[si]||null}function Di(e){const t=Wn(e)||vr(e)||ri(e);return null!==t&&t.standalone}function $i(e,t){const n=e[bi]||null;if(!n&&!0===t)throw new Error(`Type ${or(e)} does not have '\u0275mod' property.`);return n}function gs(e){const t={};return{type:e.type,providersResolver:null,factory:null,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:t,inputTransforms:null,inputConfig:e.inputs||ho,exportAs:e.exportAs||null,standalone:!0===e.standalone,signals:!0===e.signals,selectors:e.selectors||er,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:Pr(e.inputs,t),outputs:Pr(e.outputs),debugInfo:null}}function Oo(e){e.features?.forEach(t=>t(e))}function jo(e,t){if(!e)return null;const n=t?ri:qn;return()=>("function"==typeof e?e():e).map(r=>n(r)).filter(Vn)}function ts(e){return{\u0275providers:e}}function ms(...e){return{\u0275providers:xs(0,e),\u0275fromNgModule:!0}}function xs(e,...t){const n=[],r=new Set;let i;const a=d=>{n.push(d)};return To(t,d=>{const m=d;_e(m,a,[],r)&&(i||=[],i.push(m))}),void 0!==i&&Cs(i,a),n}function Cs(e,t){for(let n=0;n<e.length;n++){const{ngModule:r,providers:i}=e[n];S(i,a=>{t(a,r)})}}function _e(e,t,n,r){if(!(e=Ue(e)))return!1;let i=null,a=se(e);const d=!a&&Wn(e);if(a||d){if(d&&!d.standalone)return!1;i=e}else{const b=e.ngModule;if(a=se(b),!a)return!1;i=b}const m=r.has(i);if(d){if(m)return!1;if(r.add(i),d.dependencies){const b="function"==typeof d.dependencies?d.dependencies():d.dependencies;for(const X of b)_e(X,t,n,r)}}else{if(!a)return!1;{if(null!=a.imports&&!m){let X;r.add(i);try{To(a.imports,fe=>{_e(fe,t,n,r)&&(X||=[],X.push(fe))})}finally{}void 0!==X&&Cs(X,t)}if(!m){const X=fo(i)||(()=>new i);t({provide:i,useFactory:X,deps:er},i),t({provide:pi,useValue:i,multi:!0},i),t({provide:hi,useValue:()=>yi(i),multi:!0},i)}const b=a.providers;if(null!=b&&!m){const X=e;S(b,fe=>{t(fe,X)})}}}return i!==e&&void 0!==e.providers}function S(e,t){for(let n of e)xr(n)&&(n=n.\u0275providers),Array.isArray(n)?S(n,t):t(n)}const V=jn({provide:String,useValue:jn});function he(e){return null!==e&&"object"==typeof e&&V in e}function ut(e){return"function"==typeof e}
1const Nt=new mt(""),An={},$n={};let Fr;function Cr(){return void 0===Fr&&(Fr=new Xo),Fr}class Hn{}class cr extends Hn{get destroyed(){return this._destroyed}constructor(t,n,r,i){super(),this.parent=n,this.source=r,this.scopes=i,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,Li(t,d=>this.processProvider(d)),this.records.set(qo,Mi(void 0,this)),i.has("environment")&&this.records.set(Hn,Mi(void 0,this));const a=this.records.get(Nt);null!=a&&"string"==typeof a.value&&this.scopes.add(a.value),this.injectorDefTypes=new Set(this.get(pi,er,Ge.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;const t=R(null);try{for(const r of this._ngOnDestroyHooks)r.ngOnDestroy();const n=this._onDestroyHooks;this._onDestroyHooks=[];for(const r of n)r()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),R(t)}}onDestroy(t){return this.assertNotDestroyed(),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){this.assertNotDestroyed();const n=Ti(this),r=yn(void 0);try{return t()}finally{Ti(n),yn(r)}}get(t,n=sr,r=Ge.Default){if(this.assertNotDestroyed(),t.hasOwnProperty(wi))return t[wi](this);r=Io(r);const a=Ti(this),d=yn(void 0);try{if(!(r&Ge.SkipSelf)){let b=this.records.get(t);if(void 0===b){const X=function Gi(e){return"function"==typeof e||"object"==typeof e&&e instanceof mt}(t)&&ee(t);b=X&&this.injectableDefInScope(X)?Mi(gi(t),An):null,this.records.set(t,b)}if(null!=b)return this.hydrate(t,b)}return(r&Ge.Self?Cr():this.parent).get(t,n=r&Ge.Optional&&n===sr?null:n)}catch(m){if("NullInjectorError"===m.name){if((m[di]=m[di]||[]).unshift(or(t)),a)throw m;return function Ko(e,t,n,r){const i=e[di];throw t[Go]&&i.unshift(t[Go]),e.message=function Bo(e,t,n,r=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.slice(2):e;let i=or(t);if(Array.isArray(t))i=t.map(or).join(" -> ");else if("object"==typeof t){let a=[];for(let d in t)if(t.hasOwnProperty(d)){let m=t[d];a.push(d+":"+("string"==typeof m?JSON.stringify(m):or(m)))}i=`{${a.join(", ")}}`}return`${n}${r?"("+r+")":""}[${i}]: ${e.replace(Ni,"\n  ")}`}("\n"+e.message,i,n,r),e.ngTokenPath=i,e[di]=null,e}(m,t,"R3InjectorError",this.source)}throw m}finally{yn(d),Ti(a)}}resolveInjectorInitializers(){const t=R(null),n=Ti(this),r=yn(void 0);try{const a=this.get(hi,er,Ge.Self);for(const d of a)d()}finally{Ti(n),yn(r),R(t)}}toString(){const t=[],n=this.records;for(const r of n.keys())t.push(or(r));return`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new zt(205,!1)}processProvider(t){let n=ut(t=Ue(t))?t:Ue(t&&t.provide);const r=function so(e){return he(e)?Mi(void 0,e.useValue):Mi(vo(e),An)}(t);if(!ut(t)&&!0===t.multi){let i=this.records.get(n);i||(i=Mi(void 0,An,!0),i.factory=()=>Ci(i.multi),this.records.set(n,i)),n=t,i.multi.push(t)}this.records.set(n,r)}hydrate(t,n){const r=R(null);try{return n.value===An&&(n.value=$n,n.value=n.factory()),"object"==typeof n.value&&n.value&&function Yo(e){return null!==e&&"object"==typeof e&&"function"==typeof e.ngOnDestroy}(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}finally{R(r)}}injectableDefInScope(t){if(!t.providedIn)return!1;const n=Ue(t.providedIn);return"string"==typeof n?"any"===n||this.scopes.has(n):this.injectorDefTypes.has(n)}removeOnDestroy(t){const n=this._onDestroyHooks.indexOf(t);-1!==n&&this._onDestroyHooks.splice(n,1)}}function gi(e){const t=ee(e),n=null!==t?t.factory:fo(e);if(null!==n)return n;if(e instanceof mt)throw new zt(204,!1);if(e instanceof Function)return function Zi(e){if(e.length>0)throw new zt(204,!1);const n=function tn(e){return e&&(e[Z]||e[ht])||null}(e);return null!==n?()=>n.factory(e):()=>new e}(e);throw new zt(204,!1)}function vo(e,t,n){let r;if(ut(e)){const i=Ue(e);return fo(i)||gi(i)}if(he(e))r=()=>Ue(e.useValue);else if(function et(e){return!(!e||!e.useFactory)}(e))r=()=>e.useFactory(...Ci(e.deps||[]));else if(function xe(e){return!(!e||!e.useExisting)}(e))r=()=>yi(Ue(e.useExisting));else{const i=Ue(e&&(e.useClass||e.provide));if(!function us(e){return!!e.deps}(e))return fo(i)||gi(i);r=()=>new i(...Ci(e.deps))}return r}function Mi(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function Li(e,t){for(const n of e)Array.isArray(n)?Li(n,t):n&&xr(n)?Li(n.\u0275providers,t):t(n)}function eo(e,t){e instanceof cr&&e.assertNotDestroyed();const r=Ti(e),i=yn(void 0);try{return t()}finally{Ti(r),yn(i)}}function Ds(){return void 0!==Kt()||null!=function Uo(){return Xi}()}function $s(e){if(!Ds())throw new zt(-203,!1)}const gr=0,Wt=1,Pn=2,jr=3,Gr=4,Pi=5,ao=6,Ki=7,$r=8,uo=9,ns=10,Tr=11,Qo=12,Fs=13,po=14,Fi=15,Na=16,ks=17,yo=18,ia=19,Uc=20,Ys=21,nu=22,Ls=23,Nr=25,va=1,xi=7,cs=9,to=10;var _i=function(e){return e[e.None=0]="None",e[e.HasTransplantedViews=2]="HasTransplantedViews",e}(_i||{});function No(e){return Array.isArray(e)&&"object"==typeof e[va]}function xo(e){return Array.isArray(e)&&!0===e[va]}function iu(e){return!!(4&e.flags)}
1function Qs(e){return e.componentOffset>-1}function ou(e){return!(1&~e.flags)}function rs(e){return!!e.template}function ya(e){return!!(512&e[Pn])}class yr{constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}}function ii(e,t,n,r){null!==t?t.applyValueToInputSignal(t,r):e[n]=r}function Xr(){return Wi}function Wi(e){return e.type.prototype.ngOnChanges&&(e.setInput=Js),_a}function _a(){const e=_o(this),t=e?.current;if(t){const n=e.previous;if(n===ho)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function Js(e,t,n,r,i){const a=this.declaredInputs[r],d=_o(e)||function xa(e,t){return e[Zs]=t}(e,{previous:ho,current:null}),m=d.current||(d.current={}),b=d.previous,X=b[a];m[a]=new yr(X&&X.currentValue,n,b===ho),ii(e,t,i,n)}Xr.ngInherit=!0;const Zs="__ngSimpleChanges__";function _o(e){return e[Zs]||null}const Us=function(e,t,n){},Vc="svg";let dd=!1;function mi(e){for(;Array.isArray(e);)e=e[gr];return e}function aa(e,t){return mi(t[e])}function Jo(e,t){return mi(t[e.index])}function uu(e,t){return e.data[t]}function $a(e,t){return e[t]}function ds(e,t){const n=t[e];return No(n)?n:n[gr]}function Hc(e){return!(128&~e[Pn])}function Bs(e,t){return null==t?null:e[t]}function fd(e){e[ks]=0}function fh(e){1024&e[Pn]||(e[Pn]|=1024,Hc(e)&&Ts(e))}function Ea(e){return!!(9216&e[Pn]||e[Ls]?.dirty)}function Pu(e){e[ns].changeDetectionScheduler?.notify(1),Ea(e)?Ts(e):64&e[Pn]&&(function ls(){return dd}()?(e[Pn]|=1024,Ts(e)):e[ns].changeDetectionScheduler?.notify())}function Ts(e){e[ns].changeDetectionScheduler?.notify();let t=ba(e);for(;null!==t&&!(8192&t[Pn])&&(t[Pn]|=8192,Hc(t));)t=ba(t)}function cu(e,t){if(!(256&~e[Pn]))throw new zt(911,!1);null===e[Ys]&&(e[Ys]=[]),e[Ys].push(t)}function ba(e){const t=e[jr];return xo(t)?t[jr]:t}const Rr={lFrame:el(null),bindingsEnabled:!0,skipHydrationRootTNode:null};function gd(){return Rr.bindingsEnabled}function Fa(){return null!==Rr.skipHydrationRootTNode}function Vt(){return Rr.lFrame.lView}function Qr(){return Rr.lFrame.tView}function yd(e){return Rr.lFrame.contextLView=e,e[$r]}function _d(e){return Rr.lFrame.contextLView=null,e}function vi(){let e=Gc();for(;null!==e&&64===e.type;)e=e.parent;return e}function Gc(){return Rr.lFrame.currentTNode}function Vs(e,t){const n=Rr.lFrame;n.currentTNode=e,n.isParent=t}function Kc(){return Rr.lFrame.isParent}function Wc(){Rr.lFrame.isParent=!1}function Zo(){const e=Rr.lFrame;let t=e.bindingRootIndex;return-1===t&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function vs(){return Rr.lFrame.bindingIndex++}function js(e){const t=Rr.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function Xc(e,t){const n=Rr.lFrame;n.bindingIndex=n.bindingRootIndex=e,xu(t)}function xu(e){Rr.lFrame.currentDirectiveIndex=e}function Qc(){return Rr.lFrame.currentQueryIndex}function $u(e){Rr.lFrame.currentQueryIndex=e}function Fu(e){const t=e[Wt];return 2===t.type?t.declTNode:1===t.type?e[Pi]:null}function Jc(e,t,n){if(n&Ge.SkipSelf){let i=t,a=e;for(;!(i=i.parent,null!==i||n&Ge.Host||(i=Fu(a),null===i||(a=a[po],10&i.type))););if(null===i)return!1;t=i,e=a}const r=Rr.lFrame=Zc();return r.currentTNode=t,r.lView=e,!0}function ku(e){const t=Zc(),n=e[Wt];Rr.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function Zc(){const e=Rr.lFrame,t=null===e?null:e.child;return null===t?el(e):t}function el(e){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:e,child:null,inI18n:!1};return null!==e&&(e.child=t),t}function bd(){const e=Rr.lFrame;return Rr.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const tl=bd;function nl(){const e=bd();e.isParent=!0,e.tView=null,e.selectedIndex=-1,e.contextLView=null,e.elementDepthCount=0,e.currentDirectiveIndex=-1,e.currentNamespace=null,e.bindingRootIndex=-1,e.bindingIndex=-1,e.currentQueryIndex=0}function $o(){return Rr.lFrame.selectedIndex}function La(e){Rr.lFrame.selectedIndex=e}function Ui(){const e=Rr.lFrame;return uu(e.tView,e.selectedIndex)}function Eh(){Rr.lFrame.currentNamespace=Vc}function Lu(){!function rl(){Rr.lFrame.currentNamespace=null}()}let Cd=!0;function du(){return Cd}function no(e){Cd=e}function Uu(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n<r;n++){const a=e.data[n].type.prototype,{ngAfterContentInit:d,ngAfterContentChecked:m,ngAfterViewInit:b,ngAfterViewChecked:X,ngOnDestroy:fe}=a;d&&(e.contentHooks??=[]).push(-n,d),m&&((e.contentHooks??=[]).push(n,m),(e.contentCheckHooks??=[]).push(n,m)),b&&(e.viewHooks??=[]).push(-n,b),X&&((e.viewHooks??=[]).push(n,X),(e.viewCheckHooks??=[]).push(n,X)),null!=fe&&(e.destroyHooks??=[]).push(n,fe)}}function Bu(e,t,n){Dd(e,t,3,n)}function Vu(e,t,n,r){(3&e[Pn])===n&&Dd(e,t,n,r)}function ju(e,t){let n=e[Pn];(3&n)===t&&(n&=16383,n+=1,e[Pn]=n)}function Dd(e,t,n,r){const a=r??-1,d=t.length-1;let m=0;for(let b=void 0!==r?65535&e[ks]:0;b<d;b++)if("number"==typeof t[b+1]){if(m=t[b],null!=r&&m>=r)break}else t[b]<0&&(e[ks]+=65536),(m<a||-1==a)&&(il(e,n,t,b),e[ks]=(4294901760&e[ks])+b+2),b++}function Hu(e,t){Us(4,e,t);const n=R(null);try{t.call(e)}finally{R(n),Us(5,e,t)}}function il(e,t,n,r){const i=n[r]<0,a=n[r+1],m=e[i?-n[r]:n[r]];i?e[Pn]>>14<e[ks]>>16&&(3&e[Pn])===t&&(e[Pn]+=16384,Hu(m,a)):Hu(m,a)}const Ua=-1;class fu{constructor(t,n,r){this.factory=t,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=r}}function ol(e){return e!==Ua}function ua(e){return 32767&e}function Ca(e,t){let n=function As(e){return e>>16}(e),r=t;for(;n>0;)r=r[po],n--;return r}let Ku=!0;function hu(e){const t=Ku;return Ku=e,t}const sl=255,Ad=5;let Dh=0;const Hs={};function zu(e,t){const n=al(e,t);if(-1!==n)return n;const r=t[Wt];r.firstCreatePass&&(e.injectorIndex=t.length,Ba(r.data,e),Ba(t,null),Ba(r.blueprint,null));const i=pu(e,t),a=e.injectorIndex;if(ol(i)){const d=ua(i),m=Ca(i,t),b=m[Wt].data;for(let X=0;X<8;X++)t[a+X]=m[d+X]|b[d+X]}return t[a+8]=i,a}function Ba(e,t){e.push(0,0,0,0,0,0,0,0,t)}function al(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function pu(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let n=0,r=null,i=t;
1for(;null!==i;){if(r=Rd(i),null===r)return Ua;if(n++,i=i[po],-1!==r.injectorIndex)return r.injectorIndex|n<<16}return Ua}function ul(e,t,n){!function Ih(e,t,n){let r;"string"==typeof n?r=n.charCodeAt(0)||0:n.hasOwnProperty(ai)&&(r=n[ai]),null==r&&(r=n[ai]=Dh++);const i=r&sl;t.data[e+(i>>Ad)]|=1<<i}(e,t,n)}function Md(e,t,n){if(n&Ge.Optional||void 0!==e)return e;pe()}function Od(e,t,n,r){if(n&Ge.Optional&&void 0===r&&(r=null),!(n&(Ge.Self|Ge.Host))){const i=e[uo],a=yn(void 0);try{return i?i.get(t,r,n&Ge.Optional):Fn(t,r,n&Ge.Optional)}finally{yn(a)}}return Md(r,0,n)}function cl(e,t,n,r=Ge.Default,i){if(null!==e){if(2048&t[Pn]&&!(r&Ge.Self)){const d=function qu(e,t,n,r,i){let a=e,d=t;for(;null!==a&&null!==d&&2048&d[Pn]&&!(512&d[Pn]);){const m=ll(a,d,n,r|Ge.Self,Hs);if(m!==Hs)return m;let b=a.parent;if(!b){const X=d[Uc];if(X){const fe=X.get(n,Hs,r);if(fe!==Hs)return fe}b=Rd(d),d=d[po]}a=b}return i}(e,t,n,r,Hs);if(d!==Hs)return d}const a=ll(e,t,n,r,Hs);if(a!==Hs)return a}return Od(t,n,r,i)}function ll(e,t,n,r,i){const a=function Ah(e){if("string"==typeof e)return e.charCodeAt(0)||0;const t=e.hasOwnProperty(ai)?e[ai]:void 0;return"number"==typeof t?t>=0?t&sl:ja:t}(n);if("function"==typeof a){if(!Jc(t,e,r))return r&Ge.Host?Md(i,0,r):Od(t,n,r,i);try{let d;if(d=a(r),null!=d||r&Ge.Optional)return d;pe()}finally{tl()}}else if("number"==typeof a){let d=null,m=al(e,t),b=Ua,X=r&Ge.Host?t[Fi][Pi]:null;for((-1===m||r&Ge.SkipSelf)&&(b=-1===m?pu(e,t):t[m+8],b!==Ua&&Nd(r,!1)?(d=t[Wt],m=ua(b),t=Ca(b,t)):m=-1);-1!==m;){const fe=t[Wt];if(Mh(a,m,fe.data)){const Pe=Da(m,t,n,d,r,X);if(Pe!==Hs)return Pe}b=t[m+8],b!==Ua&&Nd(r,t[Wt].data[m+8]===X)&&Mh(a,m,t)?(d=fe,m=ua(b),t=Ca(b,t)):m=-1}}return i}function Da(e,t,n,r,i,a){const d=t[Wt],m=d.data[e+8],fe=gu(m,d,n,null==r?Qs(m)&&Ku:r!=d&&!!(3&m.type),i&Ge.Host&&a===m);return null!==fe?Va(t,d,fe,m):Hs}function gu(e,t,n,r,i){const a=e.providerIndexes,d=t.data,m=1048575&a,b=e.directiveStart,fe=a>>20,ot=i?m+fe:e.directiveEnd;for(let pt=r?m:m+fe;pt<ot;pt++){const bt=d[pt];if(pt<b&&n===bt||pt>=b&&bt.type===n)return pt}if(i){const pt=d[b];if(pt&&rs(pt)&&pt.type===n)return b}return null}function Va(e,t,n,r){let i=e[n];const a=t.data;if(function Id(e){return e instanceof fu}(i)){const d=i;d.resolving&&function O(e,t){throw t&&t.join(" > "),new zt(-200,e)}(function br(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():Un(e)}(a[n]));const m=hu(d.canSeeViewProviders);d.resolving=!0;const X=d.injectImpl?yn(d.injectImpl):null;Jc(e,r,Ge.Default);try{i=e[n]=d.factory(void 0,a,e,r),t.firstCreatePass&&n>=r.directiveStart&&function wh(e,t,n){const{ngOnChanges:r,ngOnInit:i,ngDoCheck:a}=t.type.prototype;if(r){const d=Wi(t);(n.preOrderHooks??=[]).push(e,d),(n.preOrderCheckHooks??=[]).push(e,d)}i&&(n.preOrderHooks??=[]).push(0-e,i),a&&((n.preOrderHooks??=[]).push(e,a),(n.preOrderCheckHooks??=[]).push(e,a))}(n,a[n],t)}finally{null!==X&&yn(X),hu(m),d.resolving=!1,tl()}}return i}function Mh(e,t,n){return!!(n[t+(e>>Ad)]&1<<e)}function Nd(e,t){return!(e&Ge.Self||e&Ge.Host&&t)}class Eo{constructor(t,n){this._tNode=t,this._lView=n}get(t,n,r){return cl(this._tNode,this._lView,t,Io(r),n)}}function ja(){return new Eo(vi(),Vt())}function dl(e){return Dt(()=>{const t=e.prototype.constructor,n=t[Mr]||mu(t),r=Object.prototype;let i=Object.getPrototypeOf(e.prototype).constructor;for(;i&&i!==r;){const a=i[Mr]||mu(i);if(a&&a!==n)return a;i=Object.getPrototypeOf(i)}return a=>new a})}function mu(e){return Oe(e)?()=>{const t=mu(Ue(e));return t&&t()}:fo(e)}function Rd(e){const t=e[Wt],n=t.type;return 2===n?t.declTNode:1===n?e[Pi]:null}function Xu(e){return function Th(e,t){if("class"===t)return e.classes;if("style"===t)return e.styles;const n=e.attrs;if(n){const r=n.length;let i=0;for(;i<r;){const a=n[i];if(z(a))break;if(0===a)i+=2;else if("number"==typeof a)for(i++;i<r&&"string"==typeof n[i];)i++;else{if(a===t)return n[i+1];i+=2}}}return null}(vi(),e)}function hl(e,t=null,n=null,r){const i=Ld(e,t,n,r);return i.resolveInjectorInitializers(),i}function Ld(e,t=null,n=null,r,i=new Set){const a=[n||er,ms(e)];return r=r||("object"==typeof e?void 0:or(e)),new cr(a,t||Cr(),r||null,i)}let is=(()=>{var e;class t{static create(r,i){if(Array.isArray(r))return hl({name:""},i,r,"");{const a=r.name??"";return hl({name:a},r.parent,r.providers,a)}}}return(e=t).THROW_IF_NOT_FOUND=sr,e.NULL=new Xo,e.\u0275prov=ce({token:e,providedIn:"any",factory:()=>yi(qo)}),e.__NG_ELEMENT_ID__=-1,t})();function yu(e){return e.ngOriginalError}class Ks{constructor(){this._console=console}handleError(t){const n=this._findOriginalError(t);this._console.error("ERROR",t),n&&this._console.error("ORIGINAL ERROR",n)}_findOriginalError(t){let n=t&&yu(t);for(;n&&yu(n);)n=yu(n);return n||null}}const Bd=new mt("",{providedIn:"root",factory:()=>Yn(Ks).handleError.bind(void 0)});let ea=(()=>{var e;class t{}return(e=t).__NG_ELEMENT_ID__=Ju,e.__NG_ENV_ID__=n=>n,t})();class la extends ea{constructor(t){super(),this._lView=t}onDestroy(t){return cu(this._lView,t),()=>function lu(e,t){if(null===e[Ys])return;const n=e[Ys].indexOf(t);-1!==n&&e[Ys].splice(n,1)}(this._lView,t)}}function Ju(){return new la(Vt())}
1function jd(e,t){return Mt(e,t)}const gl=(jd.required=function xh(e){return Mt(te,e)},jd);function $h(){return Ia(vi(),Vt())}function Ia(e,t){return new zi(Jo(e,t))}let zi=(()=>{class t{constructor(r){this.nativeElement=r}}return t.__NG_ELEMENT_ID__=$h,t})();function Eu(e){return e instanceof zi?e.nativeElement:e}function Zu(e){return t=>{setTimeout(e,void 0,t)}}const Ws=class Ga extends be.B7{constructor(t=!1){super(),this.destroyRef=void 0,this.__isAsync=t,Ds()&&(this.destroyRef=Yn(ea,{optional:!0})??void 0)}emit(t){const n=R(null);try{super.next(t)}finally{R(n)}}subscribe(t,n,r){let i=t,a=n||(()=>null),d=r;if(t&&"object"==typeof t){const b=t;i=b.next?.bind(b),a=b.error?.bind(b),d=b.complete?.bind(b)}this.__isAsync&&(a=Zu(a),i&&(i=Zu(i)),d&&(d=Zu(d)));const m=super.subscribe({next:i,error:a,complete:d});return t instanceof Pt.y&&t.add(m),m}};function Ta(){return this._results[Symbol.iterator]()}class Hd{get changes(){return this._changes??=new Ws}constructor(t=!1){this._emitDistinctChangesOnly=t,this.dirty=!0,this._onDirty=void 0,this._results=[],this._changesDetected=!1,this._changes=void 0,this.length=0,this.first=void 0,this.last=void 0;const n=Hd.prototype;n[Symbol.iterator]||(n[Symbol.iterator]=Ta)}get(t){return this._results[t]}map(t){return this._results.map(t)}filter(t){return this._results.filter(t)}find(t){return this._results.find(t)}reduce(t,n){return this._results.reduce(t,n)}forEach(t){this._results.forEach(t)}some(t){return this._results.some(t)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(t,n){this.dirty=!1;const r=function ei(e){return e.flat(Number.POSITIVE_INFINITY)}(t);(this._changesDetected=!function oo(e,t,n){if(e.length!==t.length)return!1;for(let r=0;r<e.length;r++){let i=e[r],a=t[r];if(n&&(i=n(i),a=n(a)),a!==i)return!1}return!0}(this._results,r,n))&&(this._results=r,this.length=r.length,this.last=r[this.length-1],this.first=r[0])}notifyOnChanges(){void 0!==this._changes&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.emit(this)}onDirty(t){this._onDirty=t}setDirty(){this.dirty=!0,this._onDirty?.()}destroy(){void 0!==this._changes&&(this._changes.complete(),this._changes.unsubscribe())}}function ec(e){return!(128&~e.flags)}const nc=new Map;let kh=0;const s="__ngContext__";function o(e,t){No(t)?(e[s]=t[ia],function Lh(e){nc.set(e[ia],e)}(t)):e[s]=t}function sn(e){return ir(e[Qo])}function un(e){return ir(e[Gr])}function ir(e){for(;null!==e&&!xo(e);)e=e[Gr];return e}let Uh;function ME(e){Uh=e}function Xa(){if(void 0!==Uh)return Uh;if(typeof document<"u")return document;throw new zt(210,!1)}const gm=new mt("",{providedIn:"root",factory:()=>OE}),OE="ng",mm=new mt(""),Bh=new mt("",{providedIn:"platform",factory:()=>"unknown"}),NE=new mt(""),RE=new mt("",{providedIn:"root",factory:()=>Xa().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});let vm=()=>null;function qh(e,t,n=!1){return vm(e,t,n)}const wm=new mt("",{providedIn:"root",factory:()=>!1});let Jd,Zd;function oc(e){return function Jh(){if(void 0===Jd&&(Jd=null,mn.trustedTypes))try{Jd=mn.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return Jd}()?.createHTML(e)||e}function Zh(){if(void 0===Zd&&(Zd=null,mn.trustedTypes))try{Zd=mn.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return Zd}function Cm(e){return Zh()?.createHTML(e)||e}function Im(e){return Zh()?.createScriptURL(e)||e}class Su{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${Hr})`}}class WE extends Su{getTypeName(){return"HTML"}}class zE extends Su{getTypeName(){return"Style"}}class qE extends Su{getTypeName(){return"Script"}}class XE extends Su{getTypeName(){return"URL"}}class YE extends Su{getTypeName(){return"ResourceURL"}}function Aa(e){return e instanceof Su?e.changingThisBreaksApplicationSecurity:e}function sc(e,t){const n=function QE(e){return e instanceof Su&&e.getTypeName()||null}(e);if(null!=n&&n!==t){if("ResourceURL"===n&&"URL"===t)return!0;throw new Error(`Required a safe ${t}, got a ${n} (see ${Hr})`)}return n===t}function JE(e){return new WE(e)}function ZE(e){return new zE(e)}function eb(e){return new qE(e)}function tb(e){return new XE(e)}function nb(e){return new YE(e)}class rb{constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t="<body><remove></remove>"+t;try{const n=(new window.DOMParser).parseFromString(oc(t),"text/html").body;return null===n?this.inertDocumentHelper.getInertBodyElement(t):(n.removeChild(n.firstChild),n)}catch{return null}}}class ib{constructor(t){this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(t){const n=this.inertDocument.createElement("template");return n.innerHTML=oc(t),n}}const sb=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function ef(e){return(e=String(e)).match(sb)?e:"unsafe:"+e}function Ma(e){const t={};for(const n of e.split(","))t[n]=!0;return t}function bl(...e){const t={};for(const n of e)for(const r in n)n.hasOwnProperty(r)&&(t[r]=!0);return t}
vendor: 4,121 bytes, line 1
1const Am=Ma("area,br,col,hr,img,wbr"),Mm=Ma("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),Om=Ma("rp,rt"),ep=bl(Am,bl(Mm,Ma("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")),bl(Om,Ma("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")),bl(Om,Mm)),tp=Ma("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),Nm=bl(tp,Ma("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,srcset,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),Ma("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")),ab=Ma("script,style,template");class ub{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(t){let n=t.firstChild,r=!0,i=[];for(;n;)if(n.nodeType===Node.ELEMENT_NODE?r=this.startElement(n):n.nodeType===Node.TEXT_NODE?this.chars(n.nodeValue):this.sanitizedSomething=!0,r&&n.firstChild)i.push(n),n=db(n);else for(;n;){n.nodeType===Node.ELEMENT_NODE&&this.endElement(n);let a=lb(n);if(a){n=a;break}n=i.pop()}return this.buf.join("")}startElement(t){const n=Rm(t).toLowerCase();if(!ep.hasOwnProperty(n))return this.sanitizedSomething=!0,!ab.hasOwnProperty(n);this.buf.push("<"),this.buf.push(n);const r=t.attributes;for(let i=0;i<r.length;i++){const a=r.item(i),d=a.name,m=d.toLowerCase();if(!Nm.hasOwnProperty(m)){this.sanitizedSomething=!0;continue}let b=a.value;tp[m]&&(b=ef(b)),this.buf.push(" ",d,'="',xm(b),'"')}return this.buf.push(">"),!0}endElement(t){const n=Rm(t).toLowerCase();ep.hasOwnProperty(n)&&!Am.hasOwnProperty(n)&&(this.buf.push("</"),this.buf.push(n),this.buf.push(">"))}chars(t){this.buf.push(xm(t))}}function lb(e){const t=e.nextSibling;if(t&&e!==t.previousSibling)throw Pm(t);return t}function db(e){const t=e.firstChild;if(t&&function cb(e,t){return(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}(e,t))throw Pm(t);return t}function Rm(e){const t=e.nodeName;return"string"==typeof t?t:"FORM"}function Pm(e){return new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`)}const fb=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,hb=/([^\#-~ |!])/g;function xm(e){return e.replace(/&/g,"&amp;").replace(fb,function(t){return"&#"+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";"}).replace(hb,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(/</g,"&lt;").replace(/>/g,"&gt;")}let tf;function $m(e,t){let n=null;try{tf=tf||function Tm(e){const t=new ib(e);return function ob(){try{return!!(new window.DOMParser).parseFromString(oc(""),"text/html")}catch{return!1}}()?new rb(t):t}(e);let r=t?String(t):"";n=tf.getInertBodyElement(r);let i=5,a=r;do{if(0===i)throw new Error("Failed to sanitize html because the input is unstable");i--,r=a,a=n.innerHTML,n=tf.getInertBodyElement(r)}while(r!==a);return oc((new ub).sanitizeChildren(np(n)||n))}finally{if(n){const r=np(n)||n;for(;r.firstChild;)r.removeChild(r.firstChild)}}}
1function np(e){return"content"in e&&function pb(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}var Cu=function(e){return e[e.NONE=0]="NONE",e[e.HTML=1]="HTML",e[e.STYLE=2]="STYLE",e[e.SCRIPT=3]="SCRIPT",e[e.URL=4]="URL",e[e.RESOURCE_URL=5]="RESOURCE_URL",e}(Cu||{});function Fm(e){const t=wl();return t?Cm(t.sanitize(Cu.HTML,e)||""):sc(e,"HTML")?Cm(Aa(e)):$m(Xa(),Un(e))}function rp(e){const t=wl();return t?t.sanitize(Cu.URL,e)||"":sc(e,"URL")?Aa(e):ef(Un(e))}function ip(e){const t=wl();if(t)return Im(t.sanitize(Cu.RESOURCE_URL,e)||"");if(sc(e,"ResourceURL"))return Im(Aa(e));throw new zt(904,!1)}function km(e,t,n){return function _b(e,t){return"src"===t&&("embed"===e||"frame"===e||"iframe"===e||"media"===e||"script"===e)||"href"===t&&("base"===e||"link"===e)?ip:rp}(t,n)(e)}function wl(){const e=Vt();return e&&e[ns].sanitizer}const Eb=/^>|^->|<!--|-->|--!>|<!-$/g,bb=/(<|>)/g,wb="\u200b$1\u200b";function Vm(e){return e.ownerDocument.defaultView}function Ms(e){return e instanceof Function?e():e}var sf=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(sf||{});let up;function cp(e,t){return up(e,t)}function uc(e,t,n,r,i){if(null!=r){let a,d=!1;xo(r)?a=r:No(r)&&(d=!0,r=r[gr]);const m=mi(r);0===e&&null!==n?null==i?Ym(t,n,m):Du(t,n,m,i||null,!0):1===e&&null!==n?Du(t,n,m,i||null,!0):2===e?function Dl(e,t,n){const r=cf(e,t);r&&function Bb(e,t,n,r){e.removeChild(t,n,r)}(e,r,t,n)}(t,m,d):3===e&&t.destroyNode(m),null!=a&&function Hb(e,t,n,r,i){const a=n[xi];a!==mi(n)&&uc(t,e,r,a,i);for(let m=to;m<n.length;m++){const b=n[m];df(b[Wt],b,e,t,r,a)}}(t,e,a,n,i)}}function dp(e,t){return e.createComment(function Lm(e){return e.replace(Eb,t=>t.replace(bb,wb))}(t))}function af(e,t,n){return e.createElement(t,n)}function zm(e,t){t[ns].changeDetectionScheduler?.notify(1),df(e,t,t[Tr],2,null,null)}function qm(e,t){const n=e[cs],r=n.indexOf(t);n.splice(r,1)}function Sl(e,t){if(e.length<=to)return;const n=to+t,r=e[n];if(r){const i=r[Na];null!==i&&i!==e&&qm(i,r),t>0&&(e[n-1][Gr]=r[Gr]);const a=Wo(e,to+t);!function Pb(e,t){zm(e,t),t[gr]=null,t[Pi]=null}(r[Wt],r);const d=a[yo];null!==d&&d.detachView(a[Wt]),r[jr]=null,r[Gr]=null,r[Pn]&=-129}return r}function uf(e,t){if(!(256&t[Pn])){const n=t[Tr];n.destroyNode&&df(e,t,n,3,null,null),function $b(e){let t=e[Qo];if(!t)return fp(e[Wt],e);for(;t;){let n=null;if(No(t))n=t[Qo];else{const r=t[to];r&&(n=r)}if(!n){for(;t&&!t[Gr]&&t!==e;)No(t)&&fp(t[Wt],t),t=t[jr];null===t&&(t=e),No(t)&&fp(t[Wt],t),n=t&&t[Gr]}t=n}}(t)}}function fp(e,t){if(256&t[Pn])return;const n=R(null);try{t[Pn]&=-129,t[Pn]|=256,t[Ls]&&st(t[Ls]),function Ub(e,t){let n;if(null!=e&&null!=(n=e.destroyHooks))for(let r=0;r<n.length;r+=2){const i=t[n[r]];if(!(i instanceof fu)){const a=n[r+1];if(Array.isArray(a))for(let d=0;d<a.length;d+=2){const m=i[a[d]],b=a[d+1];Us(4,m,b);try{b.call(m)}finally{Us(5,m,b)}}else{Us(4,i,a);try{a.call(i)}finally{Us(5,i,a)}}}}}(e,t),function Lb(e,t){const n=e.cleanup,r=t[Ki];if(null!==n)for(let a=0;a<n.length-1;a+=2)if("string"==typeof n[a]){const d=n[a+3];d>=0?r[d]():r[-d].unsubscribe(),a+=2}else n[a].call(r[n[a+1]]);null!==r&&(t[Ki]=null);const i=t[Ys];if(null!==i){t[Ys]=null;for(let a=0;a<i.length;a++)(0,i[a])()}}(e,t),1===t[Wt].type&&t[Tr].destroy();const r=t[Na];if(null!==r&&xo(t[jr])){r!==t[jr]&&qm(r,t);const i=t[yo];null!==i&&i.detachView(e)}!function Wa(e){nc.delete(e[ia])}(t)}finally{R(n)}}function hp(e,t,n){return function Xm(e,t,n){let r=t;for(;null!==r&&40&r.type;)r=(t=r).parent;if(null===r)return n[gr];{const{componentOffset:i}=r;if(i>-1){const{encapsulation:a}=e.data[r.directiveStart+i];if(a===qt.None||a===qt.Emulated)return null}return Jo(r,n)}}(e,t.parent,n)}function Du(e,t,n,r,i){e.insertBefore(t,n,r,i)}function Ym(e,t,n){e.appendChild(t,n)}function Qm(e,t,n,r,i){null!==r?Du(e,t,n,r,i):Ym(e,t,n)}function cf(e,t){return e.parentNode(t)}function Jm(e,t,n){return e0(e,t,n)}let pp,e0=function Zm(e,t,n){return 40&e.type?Jo(e,n):null};function lf(e,t,n,r){const i=hp(e,r,t),a=t[Tr],m=Jm(r.parent||t[Pi],r,t);if(null!=i)if(Array.isArray(n))for(let b=0;b<n.length;b++)Qm(a,i,n[b],m,!1);else Qm(a,i,n,m,!1);void 0!==pp&&pp(a,r,t,n,i)}function Cl(e,t){if(null!==t){const n=t.type;if(3&n)return Jo(t,e);if(4&n)return gp(-1,e[t.index]);if(8&n){const r=t.child;if(null!==r)return Cl(e,r);{const i=e[t.index];return xo(i)?gp(-1,i):mi(i)}}if(32&n)return cp(t,e)()||mi(e[t.index]);{const r=n0(e,t);return null!==r?Array.isArray(r)?r[0]:Cl(ba(e[Fi]),r):Cl(e,t.next)}}return null}function n0(e,t){return null!==t?e[Fi][Pi].projection[t.projection]:null}function gp(e,t){const n=to+e+1;if(n<t.length){const r=t[n],i=r[Wt].firstChild;if(null!==i)return Cl(r,i)}return t[xi]}function mp(e,t,n,r,i,a,d){for(;null!=n;){const m=r[n.index],b=n.type;if(d&&0===t&&(m&&o(mi(m),r),n.flags|=2),32&~n.flags)if(8&b)mp(e,t,n.child,r,i,a,!1),uc(t,e,i,m,a);else if(32&b){const X=cp(n,r);let fe;for(;fe=X();)uc(t,e,i,fe,a);uc(t,e,i,m,a)}else 16&b?o0(e,t,r,n,i,a):uc(t,e,i,m,a);n=d?n.projectionNext:n.next}}function df(e,t,n,r,i,a){mp(n,r,e.firstChild,t,i,a,!1)}function o0(e,t,n,r,i,a){const d=n[Fi],b=d[Pi].projection[r.projection];if(Array.isArray(b))for(let X=0;X<b.length;X++)uc(t,e,i,b[X],a);else{let X=b;const fe=d[jr];ec(r)&&(X.flags|=128),mp(e,t,X,fe,i,a,!0)}}function s0(e,t,n){""===n?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n)}function a0(e,t,n){const{mergedAttrs:r,classes:i,styles:a}=n;null!==r&&ps(e,t,r),null!==i&&s0(e,t,i),null!==a&&function Kb(e,t,n){e.setAttribute(t,"style",n)}(e,t,a)}const Ur={};function u0(e=1){c0(Qr(),Vt(),$o()+e,!1)}function c0(e,t,n,r){if(!r)if(3&~t[Pn]){const a=e.preOrderHooks;null!==a&&Vu(t,a,0,n)}else{const a=e.preOrderCheckHooks;null!==a&&Bu(t,a,n)}La(n)}function cc(e,t=Ge.Default){const n=Vt();return null===n?yi(e,t):cl(vi(),n,Ue(e),t)}function l0(){throw new Error("invalid")}function d0(e,t,n,r,i,a){const d=R(null);try{let m=null;i&Ji.SignalBased&&(m=t[r][P]),null!==m&&void 0!==m.transformFn&&(a=m.transformFn(a)),i&Ji.HasDecoratorInputTransform&&(a=e.inputTransforms[r].call(t,a)),null!==e.setInput?e.setInput(t,m,a,n,r):ii(t,m,r,a)}finally{R(d)}}function ff(e,t,n,r,i,a,d,m,b,X,fe){const Pe=t.blueprint.slice();return Pe[gr]=i,Pe[Pn]=204|r,(null!==X||e&&2048&e[Pn])&&(Pe[Pn]|=2048),fd(Pe),Pe[jr]=Pe[po]=e,Pe[$r]=n,Pe[ns]=d||e&&e[ns],Pe[Tr]=m||e&&e[Tr],Pe[uo]=b||e&&e[uo]||null,Pe[Pi]=a,Pe[ia]=function hm(){return kh++}
1(),Pe[ao]=fe,Pe[Uc]=X,Pe[Fi]=2==t.type?e[Fi]:Pe,Pe}function lc(e,t,n,r,i){let a=e.data[t];if(null===a)a=function vp(e,t,n,r,i){const a=Gc(),d=Kc(),b=e.data[t]=function Zb(e,t,n,r,i,a){let d=t?t.injectorIndex:-1,m=0;return Fa()&&(m|=128),{type:n,index:r,insertBeforeIndex:null,injectorIndex:d,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:m,providerIndexes:0,value:i,attrs:a,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}(0,d?a:a&&a.parent,n,t,r,i);return null===e.firstChild&&(e.firstChild=b),null!==a&&(d?null==a.child&&null!==b.parent&&(a.child=b):null===a.next&&(a.next=b,b.prev=a)),b}(e,t,n,r,i),function Jr(){return Rr.lFrame.inI18n}()&&(a.flags|=32);else if(64&a.type){a.type=n,a.value=r,a.attrs=i;const d=function ka(){const e=Rr.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}();a.injectorIndex=null===d?-1:d.injectorIndex}return Vs(a,!0),a}function Il(e,t,n,r){if(0===n)return-1;const i=t.length;for(let a=0;a<n;a++)t.push(r),e.blueprint.push(r),e.data.push(null);return i}function f0(e,t,n,r,i){const a=$o(),d=2&r;try{La(-1),d&&t.length>Nr&&c0(e,t,Nr,!1),Us(d?2:0,i),n(r,i)}finally{La(a),Us(d?3:1,i)}}function yp(e,t,n){if(iu(t)){const r=R(null);try{const a=t.directiveEnd;for(let d=t.directiveStart;d<a;d++){const m=e.data[d];m.contentQueries&&m.contentQueries(1,n[d],d)}}finally{R(r)}}}function _p(e,t,n){gd()&&(function sw(e,t,n,r){const i=n.directiveStart,a=n.directiveEnd;Qs(n)&&function hw(e,t,n){const r=Jo(t,e),i=h0(n);let d=16;n.signals?d=4096:n.onPush&&(d=64);const m=hf(e,ff(e,i,null,d,r,t,null,e[ns].rendererFactory.createRenderer(r,n),null,null,null));e[t.index]=m}(t,n,e.data[i+n.componentOffset]),e.firstCreatePass||zu(n,t),o(r,t);const d=n.initialInputs;for(let m=i;m<a;m++){const b=e.data[m],X=Va(t,e,m,n);o(X,t),null!==d&&pw(0,m-i,X,b,0,d),rs(b)&&(ds(n.index,t)[$r]=Va(t,e,m,n))}}(e,t,n,Jo(n,t)),!(64&~n.flags)&&y0(e,t,n))}function Ep(e,t,n=Jo){const r=t.localNames;if(null!==r){let i=t.index+1;for(let a=0;a<r.length;a+=2){const d=r[a+1],m=-1===d?n(t,e):e[d];e[i++]=m}}}function h0(e){const t=e.tView;return null===t||t.incompleteFirstPass?e.tView=bp(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts,e.id):t}function bp(e,t,n,r,i,a,d,m,b,X,fe){const Pe=Nr+r,ot=Pe+i,pt=function zb(e,t){const n=[];for(let r=0;r<t;r++)n.push(r<e?null:Ur);return n}(Pe,ot),bt="function"==typeof X?X():X;return pt[Wt]={type:e,blueprint:pt,template:n,queries:null,viewQuery:m,declTNode:t,data:pt.slice().fill(null,Pe),bindingStartIndex:Pe,expandoStartIndex:ot,hostBindingOpCodes:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:"function"==typeof a?a():a,pipeRegistry:"function"==typeof d?d():d,firstChild:null,schemas:b,consts:bt,incompleteFirstPass:!1,ssrId:fe}}let p0=()=>null;function g0(e,t,n,r,i){for(let a in t){if(!t.hasOwnProperty(a))continue;const d=t[a];if(void 0===d)continue;r??={};let m,b=Ji.None;Array.isArray(d)?(m=d[0],b=d[1]):m=d;let X=a;if(null!==i){if(!i.hasOwnProperty(a))continue;X=i[a]}0===e?m0(r,n,X,m,b):m0(r,n,X,m)}return r}function m0(e,t,n,r,i){let a;e.hasOwnProperty(n)?(a=e[n]).push(t,r):a=e[n]=[t,r],void 0!==i&&a.push(i)}function _s(e,t,n,r,i,a,d,m){const b=Jo(t,n);let fe,X=t.inputs;!m&&null!=X&&(fe=X[r])?(Ip(e,n,fe,r,i),Qs(t)&&function nw(e,t){const n=ds(t,e);16&n[Pn]||(n[Pn]|=64)}(n,t.index)):3&t.type&&(r=function tw(e){return"class"===e?"className":"for"===e?"htmlFor":"formaction"===e?"formAction":"innerHtml"===e?"innerHTML":"readonly"===e?"readOnly":"tabindex"===e?"tabIndex":e}(r),i=null!=d?d(i,t.value||"",r):i,a.setProperty(b,r,i))}function wp(e,t,n,r){if(gd()){const i=null===r?null:{"":-1},a=function uw(e,t){const n=e.directiveRegistry;let r=null,i=null;if(n)for(let a=0;a<n.length;a++){const d=n[a];
1if(de(t,d.selectors,!1))if(r||(r=[]),rs(d))if(null!==d.findHostDirectiveDefs){const m=[];i=i||new Map,d.findHostDirectiveDefs(d,m,i),r.unshift(...m,d),Sp(e,t,m.length)}else r.unshift(d),Sp(e,t,0);else i=i||new Map,d.findHostDirectiveDefs?.(d,r,i),r.push(d)}return null===r?null:[r,i]}(e,n);let d,m;null===a?d=m=null:[d,m]=a,null!==d&&v0(e,t,n,d,i,m),i&&function cw(e,t,n){if(t){const r=e.localNames=[];for(let i=0;i<t.length;i+=2){const a=n[t[i+1]];if(null==a)throw new zt(-301,!1);r.push(t[i],a)}}}(n,r,i)}n.mergedAttrs=Te(n.mergedAttrs,n.attrs)}function v0(e,t,n,r,i,a){for(let X=0;X<r.length;X++)ul(zu(n,t),e,r[X].type);!function dw(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}(n,e.data.length,r.length);for(let X=0;X<r.length;X++){const fe=r[X];fe.providersResolver&&fe.providersResolver(fe)}let d=!1,m=!1,b=Il(e,t,r.length,null);for(let X=0;X<r.length;X++){const fe=r[X];n.mergedAttrs=Te(n.mergedAttrs,fe.hostAttrs),fw(e,n,t,b,fe),lw(b,fe,i),null!==fe.contentQueries&&(n.flags|=4),(null!==fe.hostBindings||null!==fe.hostAttrs||0!==fe.hostVars)&&(n.flags|=64);const Pe=fe.type.prototype;!d&&(Pe.ngOnChanges||Pe.ngOnInit||Pe.ngDoCheck)&&((e.preOrderHooks??=[]).push(n.index),d=!0),!m&&(Pe.ngOnChanges||Pe.ngDoCheck)&&((e.preOrderCheckHooks??=[]).push(n.index),m=!0),b++}!function ew(e,t,n){const i=t.directiveEnd,a=e.data,d=t.attrs,m=[];let b=null,X=null;for(let fe=t.directiveStart;fe<i;fe++){const Pe=a[fe],ot=n?n.get(Pe):null,bt=ot?ot.outputs:null;b=g0(0,Pe.inputs,fe,b,ot?ot.inputs:null),X=g0(1,Pe.outputs,fe,X,bt);const jt=null===b||null===d||g(t)?null:gw(b,fe,d);m.push(jt)}null!==b&&(b.hasOwnProperty("class")&&(t.flags|=8),b.hasOwnProperty("style")&&(t.flags|=16)),t.initialInputs=m,t.inputs=b,t.outputs=X}(e,n,a)}function y0(e,t,n){const r=n.directiveStart,i=n.directiveEnd,a=n.index,d=function Ed(){return Rr.lFrame.currentDirectiveIndex}();try{La(a);for(let m=r;m<i;m++){const b=e.data[m],X=t[m];xu(m),(null!==b.hostBindings||0!==b.hostVars||null!==b.hostAttrs)&&aw(b,X)}}finally{La(-1),xu(d)}}function aw(e,t){null!==e.hostBindings&&e.hostBindings(1,t)}function Sp(e,t,n){t.componentOffset=n,(e.components??=[]).push(t.index)}function lw(e,t,n){if(n){if(t.exportAs)for(let r=0;r<t.exportAs.length;r++)n[t.exportAs[r]]=e;rs(t)&&(n[""]=e)}}function fw(e,t,n,r,i){e.data[r]=i;const a=i.factory||(i.factory=fo(i.type)),d=new fu(a,rs(i),cc);e.blueprint[r]=d,n[r]=d,function iw(e,t,n,r,i){const a=i.hostBindings;if(a){let d=e.hostBindingOpCodes;null===d&&(d=e.hostBindingOpCodes=[]);const m=~t.index;(function ow(e){let t=e.length;for(;t>0;){const n=e[--t];if("number"==typeof n&&n<0)return n}return 0})(d)!=m&&d.push(m),d.push(n,r,a)}}(e,t,r,Il(e,n,i.hostVars,Ur),i)}function fa(e,t,n,r,i,a){const d=Jo(e,t);!function Cp(e,t,n,r,i,a,d){if(null==a)e.removeAttribute(t,i,n);else{const m=null==d?Un(a):d(a,r||"",i);e.setAttribute(t,i,m,n)}}(t[Tr],d,a,e.value,n,r,i)}function pw(e,t,n,r,i,a){const d=a[t];if(null!==d)for(let m=0;m<d.length;)d0(r,n,d[m++],d[m++],d[m++],d[m++])}function gw(e,t,n){let r=null,i=0;for(;i<n.length;){const a=n[i];if(0!==a)if(5!==a){if("number"==typeof a)break;if(e.hasOwnProperty(a)){null===r&&(r=[]);const d=e[a];for(let m=0;m<d.length;m+=3)if(d[m]===t){r.push(a,d[m+1],d[m+2],n[i+1]);break}}i+=2}else i+=2;else i+=4}return r}function _0(e,t,n,r){return[e,!0,0,t,null,r,null,n,null,null]}function E0(e,t){const n=e.contentQueries;if(null!==n){const r=R(null);try{for(let i=0;i<n.length;i+=2){const d=n[i+1];if(-1!==d){const m=e.data[d];$u(n[i]),m.contentQueries(2,t[d],d)}}}finally{R(r)}}}function hf(e,t){return e[Qo]?e[Fs][Gr]=t:e[Qo]=t,e[Fs]=t,t}function Dp(e,t,n){$u(0);const r=R(null);try{t(e,n)}finally{R(r)}}function b0(e){return e[Ki]||(e[Ki]=[])}function w0(e){return e.cleanup||(e.cleanup=[])}function pf(e,t){const n=e[uo],r=n?n.get(Ks,null):null;r&&r.handleError(t)}function Ip(e,t,n,r,i){for(let a=0;a<n.length;){const d=n[a++],m=n[a++],b=n[a++];d0(e.data[d],t[d],r,m,b,i)}}function Oa(e,t,n){const r=aa(t,e);!function Wm(e,t,n){e.setValue(t,n)}(e[Tr],r,n)}function mw(e,t){const n=ds(t,e),r=n[Wt];!function vw(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])}(r,n);const i=n[gr];null!==i&&null===n[ao]&&(n[ao]=qh(i,n[uo])),Tp(r,n,n[$r])}function Tp(e,t,n){ku(t);try{const r=e.viewQuery;null!==r&&Dp(1,r,n);const i=e.template;null!==i&&f0(e,t,i,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),t[yo]?.finishViewCreation(e),e.staticContentQueries&&E0(e,t),e.staticViewQueries&&Dp(2,e.viewQuery,n);const a=e.components;null!==a&&function yw(e,t){for(let n=0;n<t.length;n++)mw(e,t[n])}(t,a)}catch(r){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),r}finally{t[Pn]&=-5,nl()}}function Tl(e,t,n,r){const i=R(null);try{const a=t.tView,b=ff(e,a,n,4096&e[Pn]?4096:16,null,t,null,null,r?.injector??null,r?.embeddedViewInjector??null,r?.dehydratedView??null);b[Na]=e[t.index];const fe=e[yo];return null!==fe&&(b[yo]=fe.createEmbeddedView(a)),Tp(a,b,n),b}finally{R(i)}}function dc(e,t){return!t||null===t.firstChild||ec(e)}function Al(e,t,n,r=!0){const i=t[Wt];if(function Fb(e,t,n,r){const i=to+r,a=n.length;r>0&&(n[i-1][Gr]=t),r<a-to?(t[Gr]=n[i],hs(n,to+r,t)):(n.push(t),t[Gr]=null),t[jr]=n;const d=t[Na];null!==d&&n!==d&&function kb(e,t){const n=e[cs];t[Fi]!==t[jr][jr][Fi]&&(e[Pn]|=_i.HasTransplantedViews),null===n?e[cs]=[t]:n.push(t)}(d,t);const m=t[yo];null!==m&&m.insertView(e),Pu(t),t[Pn]|=128}(i,t,e,n),r){const d=gp(n,e),m=t[Tr],b=cf(m,e[xi]);null!==b&&function xb(e,t,n,r,i,a){r[gr]=i,r[Pi]=t,df(e,r,n,1,i,a)}(i,e[Pi],m,t,b,d)}const a=t[ao];null!==a&&null!==a.firstChild&&(a.firstChild=null)}function Ml(e,t,n,r,i=!1){for(;null!==n;){const a=t[n.index];null!==a&&r.push(mi(a)),xo(a)&&D0(a,r);const d=n.type;if(8&d)Ml(e,t,n.child,r);else if(32&d){const m=cp(n,t);let b;for(;b=m();)r.push(b)}else if(16&d){const m=n0(t,n);if(Array.isArray(m))r.push(...m);else{const b=ba(t[Fi]);Ml(b[Wt],b,m,r,!0)}}n=i?n.projectionNext:n.next}return r}function D0(e,t){for(let n=to;n<e.length;n++){const r=e[n],i=r[Wt].firstChild;null!==i&&Ml(r[Wt],r,i,t)}e[xi]!==e[gr]&&t.push(e[xi])}let I0=[];const ww={...F,consumerIsAlwaysLive:!0,consumerMarkedDirty:e=>{Ts(e.lView)},consumerOnSignalRead(){this.lView[Ls]=this}},T0=100;function gf(e,t=!0,n=0){const r=e[ns],i=r.rendererFactory;i.begin?.();try{!function Sw(e,t){Mp(e,t);let n=0;for(;Ea(e);){if(n===T0)throw new zt(103,!1);n++,Mp(e,1)}}(e,n)}catch(d){throw t&&pf(e,d),d}finally{i.end?.(),r.inlineEffectRunner?.flush()}}function Cw(e,t,n,r){const i=t[Pn];if(!(256&~i))return;t[ns].inlineEffectRunner?.flush(),ku(t);let d=null,m=null;(function Dw(e){return 2!==e.type})(e)&&(m=function _w(e){return e[Ls]??function Ew(e){const t=I0.pop()??Object.create(ww);return t.lView=e,t}(e)}(t),d=$e(m));try{fd(t),function wa(e){return Rr.lFrame.bindingIndex=e}(e.bindingStartIndex),null!==n&&f0(e,t,n,2,r);const b=!(3&~i);if(b){const Pe=e.preOrderCheckHooks;null!==Pe&&Bu(t,Pe,null)}else{const Pe=e.preOrderHooks;null!==Pe&&Vu(t,Pe,0,null),ju(t,0)}if(function Iw(e){for(let t=sn(e);
1null!==t;t=un(t)){if(!(t[Pn]&_i.HasTransplantedViews))continue;const n=t[cs];for(let r=0;r<n.length;r++){fh(n[r])}}}(t),A0(t,0),null!==e.contentQueries&&E0(e,t),b){const Pe=e.contentCheckHooks;null!==Pe&&Bu(t,Pe)}else{const Pe=e.contentHooks;null!==Pe&&Vu(t,Pe,1),ju(t,1)}!function Wb(e,t){const n=e.hostBindingOpCodes;if(null!==n)try{for(let r=0;r<n.length;r++){const i=n[r];if(i<0)La(~i);else{const a=i,d=n[++r],m=n[++r];Xc(d,a),m(2,t[a])}}}finally{La(-1)}}(e,t);const X=e.components;null!==X&&O0(t,X,0);const fe=e.viewQuery;if(null!==fe&&Dp(2,fe,r),b){const Pe=e.viewCheckHooks;null!==Pe&&Bu(t,Pe)}else{const Pe=e.viewHooks;null!==Pe&&Vu(t,Pe,2),ju(t,2)}if(!0===e.firstUpdatePass&&(e.firstUpdatePass=!1),t[nu]){for(const Pe of t[nu])Pe();t[nu]=null}t[Pn]&=-73}catch(b){throw Ts(t),b}finally{null!==m&&(Re(m,d),function bw(e){e.lView[Ls]!==e&&(e.lView=null,I0.push(e))}(m)),nl()}}function A0(e,t){for(let n=sn(e);null!==n;n=un(n))for(let r=to;r<n.length;r++)M0(n[r],t)}function Tw(e,t,n){M0(ds(t,e),n)}function M0(e,t){Hc(e)&&Mp(e,t)}function Mp(e,t){const r=e[Wt],i=e[Pn],a=e[Ls];let d=!!(0===t&&16&i);if(d||=!!(64&i&&0===t),d||=!!(1024&i),d||=!(!a?.dirty||!Je(a)),a&&(a.dirty=!1),e[Pn]&=-9217,d)Cw(r,e,r.template,e[$r]);else if(8192&i){A0(e,1);const m=r.components;null!==m&&O0(e,m,1)}}function O0(e,t,n){for(let r=0;r<t.length;r++)Tw(e,t[r],n)}function Ol(e){for(e[ns].changeDetectionScheduler?.notify();e;){e[Pn]|=64;const t=ba(e);if(ya(e)&&!t)return e;e=t}return null}class Nl{get rootNodes(){const t=this._lView,n=t[Wt];return Ml(n,t,n.firstChild,[])}constructor(t,n,r=!0){this._lView=t,this._cdRefInjectingView=n,this.notifyErrorHandler=r,this._appRef=null,this._attachedToViewContainer=!1}get context(){return this._lView[$r]}set context(t){this._lView[$r]=t}get destroyed(){return!(256&~this._lView[Pn])}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){const t=this._lView[jr];if(xo(t)){const n=t[8],r=n?n.indexOf(this):-1;r>-1&&(Sl(t,r),Wo(n,r))}this._attachedToViewContainer=!1}uf(this._lView[Wt],this._lView)}onDestroy(t){cu(this._lView,t)}markForCheck(){Ol(this._cdRefInjectingView||this._lView)}detach(){this._lView[Pn]&=-129}reattach(){Pu(this._lView),this._lView[Pn]|=128}detectChanges(){this._lView[Pn]|=1024,gf(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new zt(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,zm(this._lView[Wt],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new zt(902,!1);this._appRef=t,Pu(this._lView)}}let Rl=(()=>{class t{}return t.__NG_ELEMENT_ID__=Ow,t})();const Aw=Rl,Mw=class extends Aw{constructor(t,n,r){super(),this._declarationLView=t,this._declarationTContainer=n,this.elementRef=r}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(t,n){return this.createEmbeddedViewImpl(t,n)}createEmbeddedViewImpl(t,n,r){const i=Tl(this._declarationLView,this._declarationTContainer,t,{embeddedViewInjector:n,dehydratedView:r});return new Nl(i)}};function Ow(){return mf(vi(),Vt())}function mf(e,t){return 4&e.type?new Mw(t,e,Ia(e,t)):null}let F0=()=>null;function fc(e,t){return F0(e,t)}class bf{}class eS{}class k0{}class nS{resolveComponentFactory(t){throw function tS(e){const t=Error(`No component factory found for ${or(e)}.`);return t.ngComponent=e,t}(t)}}let kl=(()=>{class t{}return t.NULL=new nS,t})();class U0{}let rS=(()=>{class t{constructor(){this.destroyNode=null}}return t.__NG_ELEMENT_ID__=()=>function iS(){const e=Vt(),n=ds(vi().index,e);return(No(n)?n:e)[Tr]}(),t})(),oS=(()=>{var e;class t{}return(e=t).\u0275prov=ce({token:e,providedIn:"root",factory:()=>null}),t})();const $p={};function sS(e,t){if(null!==function D(){return G}())throw new zt(-602,!1)}const B0=new Set;function ha(e){B0.has(e)||(B0.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}function V0(...e){}class Ro{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:r=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Ws(!1),this.onMicrotaskEmpty=new Ws(!1),this.onStable=new Ws(!1),this.onError=ne
1w Ws(!1),typeof Zone>"u")throw new zt(908,!1);Zone.assertZonePatched();const i=this;i._nesting=0,i._outer=i._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(i._inner=i._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(i._inner=i._inner.fork(Zone.longStackTraceZoneSpec)),i.shouldCoalesceEventChangeDetection=!r&&n,i.shouldCoalesceRunChangeDetection=r,i.lastRequestAnimationFrameId=-1,i.nativeRequestAnimationFrame=function aS(){const e="function"==typeof mn.requestAnimationFrame;let t=mn[e?"requestAnimationFrame":"setTimeout"],n=mn[e?"cancelAnimationFrame":"clearTimeout"];if(typeof Zone<"u"&&t&&n){const r=t[Zone.__symbol__("OriginalDelegate")];r&&(t=r);const i=n[Zone.__symbol__("OriginalDelegate")];i&&(n=i)}return{nativeRequestAnimationFrame:t,nativeCancelAnimationFrame:n}}().nativeRequestAnimationFrame,function lS(e){const t=()=>{!function cS(e){e.isCheckStableRunning||-1!==e.lastRequestAnimationFrameId||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(mn,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,kp(e),e.isCheckStableRunning=!0,Fp(e),e.isCheckStableRunning=!1},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),kp(e))}(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,r,i,a,d,m)=>{if(function dS(e){return!(!Array.isArray(e)||1!==e.length)&&!0===e[0].data?.__ignore_ng_zone__}(m))return n.invokeTask(i,a,d,m);try{return j0(e),n.invokeTask(i,a,d,m)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===a.type||e.shouldCoalesceRunChangeDetection)&&t(),H0(e)}},onInvoke:(n,r,i,a,d,m,b)=>{try{return j0(e),n.invoke(i,a,d,m,b)}finally{e.shouldCoalesceRunChangeDetection&&t(),H0(e)}},onHasTask:(n,r,i,a)=>{n.hasTask(i,a),r===i&&("microTask"==a.change?(e._hasPendingMicrotasks=a.microTask,kp(e),Fp(e)):"macroTask"==a.change&&(e.hasPendingMacrotasks=a.macroTask))},onHandleError:(n,r,i,a)=>(n.handleError(i,a),e.runOutsideAngular(()=>e.onError.emit(a)),!1)})}(i)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!Ro.isInAngularZone())throw new zt(909,!1)}static assertNotInAngularZone(){if(Ro.isInAngularZone())throw new zt(909,!1)}run(t,n,r){return this._inner.run(t,n,r)}runTask(t,n,r,i){const a=this._inner,d=a.scheduleEventTask("NgZoneEvent: "+i,t,uS,V0,V0);try{return a.runTask(d,n,r)}finally{a.cancelTask(d)}}runGuarded(t,n,r){return this._inner.runGuarded(t,n,r)}runOutsideAngular(t){return this._outer.run(t)}}const uS={};function Fp(e){if(0==e._nesting&&!e.hasPendingMicrotasks&&!e.isStable)try{e._nesting++,e.onMicrotaskEmpty.emit(null)}finally{if(e._nesting--,!e.hasPendingMicrotasks)try{e.runOutsideAngular(()=>e.onStable.emit(null))}finally{e.isStable=!0}}}function kp(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&-1!==e.lastRequestAnimationFrameId)}function j0(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function H0(e){e._nesting--,Fp(e)}class G0{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Ws,this.onMicrotaskEmpty=new Ws,this.onStable=new Ws,this.onError=new Ws}run(t,n,r){return t.apply(n,r)}runGuarded(t,n,r){return t.apply(n,r)}runOutsideAngular(t){return t()}runTask(t,n,r,i){return t.apply(n,r)}}var Iu=function(e){return e[e.EarlyRead=0]="EarlyRead",e[e.Write=1]="Write",e[e.MixedReadWrite=2]="MixedReadWrite",e[e.Read=3]="Read",e}(Iu||{});const K0={destroy(){}};function W0(e,t){!t&&$s();const n=t?.injector??Yn(is);if(!function ta(e){return"browser"===(e??Yn(is)).get(Bh)}(n))return K0;ha("NgAfterNextRender");const r=n.get(Ll),i=r.handler??=new q0,a=t?.phase??Iu.MixedReadWrite,d=()=>{i.unregister(b),m()},m=n.get(ea).onDestroy(d),b=eo(n,()=>new z0(a,()=>{d(),e()}));return i.register(b),{destroy:d}}class z0{constructor(t,n){this.phase=t,this.callbackFn=n,this.zone=Yn(Ro),this.errorHandler=Yn(Ks,{optional:!0}),Yn(bf,{optional:!0})?.notify(1)}invoke(){try{this.zone.runOutsideAngular(this.callbackFn)}catch(t){this.errorHandler?.handleError(t)}}}class q0{constructor(){this.executingCallbacks=!1,this.buckets={[Iu.EarlyRead]:new Set,[Iu.Write]:new Set,[Iu.MixedReadWrite]:new Set,[Iu.Read]:new Set},this.deferredCallbacks=new Set}register(t){(this.executingCallbacks?this.deferredCallbacks:this.buckets[t.phase]).add(t)}unregister(t){this.buckets[t.phase].delete(t),this.deferredCallbacks.delete(t)}execute(){this.executingCallbacks=!0;for(const t of Object.values(this.buckets))for(const n of t)n.invoke();this.executingCallbacks=!1;for(const t of this.deferredCallbacks)this.buckets[t.phase].add(t);this.deferredCallbacks.clear()}destroy(){for(const t of Object.values(this.buckets))t.clear();this.deferredCallbacks.clear()}}let Ll=(()=>{var e;class t{constructor(){this.handler=null,this.internalCallbacks=[]}execute(){this.executeInternalCallbacks(),this.handler?.execute()}executeInternalCallbacks(){const r=[...this.internalCallbacks];this.internalCallbacks.length=0;for(const i of r)i()}ngOnDestroy(){this.handler?.destroy(),this.handler=null,this.internalCallbacks.length=0}}return(e=t).\u0275prov=ce({token:e,providedIn:"root",factory:()=>new e}),t})();function Ya(e){return!!$i(e)}function Sf(e,t,n){let r=n?e.styles:null,i=n?e.classes:null,a=0;if(null!==t)for(let d=0;d<t.length;d++){const m=t[d];"number"==typeof m?a=m:1==a?i=Dr(i,m):2==a&&(r=Dr(r,m+": "+t[++d]+";"))}n?e.styles=r:e.stylesWithoutHost=r,n?e.classes=i:e.classesWithoutHost=i}class Q0 extends kl{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const n=Wn(t);return new Vl(n,this.ngModule)}}function J0(e){const t=[];for(const n in e){if(!e.hasOwnProperty(n))continue;const r=e[n];void 0!==r&&t.push({propName:Array.isArray(r)?r[0]:r,templateName:n})}return t}class Cf{constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,r){r=Io(r);const i=this.injector.get(t,$p,r);return i!==$p||n===$p?i:this.parentInjector.get(t,n,r)}}class Vl extends k0{get inputs(){const t=this.componentDef,n=t.inputTransforms,r=J0(t.inputs);if(null!==n)for(const i of r)n.hasOwnProperty(i.propName)&&(i.transform=n[i.propName]);return r}get outputs(){return J0(this.componentDef.outputs)}constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=function Zt(e){return e.map(At).join(",")}(t.selectors),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!n}create(t,n,r,i){const a=R(null);try{let d=(i=i||this.ngModule)instanceof Hn?i:i?.injector;d&&null!==this.componentDef.getStandaloneInjector&&(d=this.componentDef.getStandaloneInjector(d)||d);const m=d?new Cf(t,d):t,b=m.get(U0,null);if(null===b)throw new zt(407,!1);const X=m.get(oS,null),ot={rendererFactory:b,sanitizer:X,inlineEffectRunner:null,afterRe
vendor: 7,778 bytes, line 1
1nderEventManager:m.get(Ll,null),changeDetectionScheduler:m.get(bf,null)},pt=b.createRenderer(null,this.componentDef),bt=this.componentDef.selectors[0][0]||"div",jt=r?function qb(e,t,n,r){const a=r.get(wm,!1)||n===qt.ShadowDom,d=e.selectRootElement(t,a);return function Xb(e){p0(e)}(d),d}(pt,r,this.componentDef.encapsulation,m):af(pt,bt,function mS(e){const t=e.toLowerCase();return"svg"===t?Vc:"math"===t?"math":null}(bt));let _n=512;this.componentDef.signals?_n|=4096:this.componentDef.onPush||(_n|=16);let Sn=null;null!==jt&&(Sn=qh(jt,m,!0));const nn=bp(0,null,null,1,0,null,null,null,null,null,null),Ar=ff(null,nn,null,_n,null,null,ot,pt,m,null,Sn);let li,ki;ku(Ar);try{const Lo=this.componentDef;let bs,Lc=null;Lo.findHostDirectiveDefs?(bs=[],Lc=new Map,Lo.findHostDirectiveDefs(Lo,bs,Lc),bs.push(Lo)):bs=[Lo];const TE=function yS(e,t){const n=e[Wt],r=Nr;return e[r]=t,lc(n,r,2,"#host",null)}(Ar,jt),MA=function _S(e,t,n,r,i,a,d){const m=i[Wt];!function ES(e,t,n,r){for(const i of e)t.mergedAttrs=Te(t.mergedAttrs,i.hostAttrs);null!==t.mergedAttrs&&(Sf(t,t.mergedAttrs,!0),null!==n&&a0(r,n,t))}(r,e,t,d);let b=null;null!==t&&(b=qh(t,i[uo]));const X=a.rendererFactory.createRenderer(t,n);let fe=16;n.signals?fe=4096:n.onPush&&(fe=64);const Pe=ff(i,h0(n),null,fe,i[e.index],e,a,X,null,null,b);return m.firstCreatePass&&Sp(m,e,r.length-1),hf(i,Pe),i[e.index]=Pe}(TE,jt,Lo,bs,Ar,ot,pt);ki=uu(nn,Nr),jt&&function wS(e,t,n,r){if(r)ps(e,n,["ng-version","17.3.9"]);else{const{attrs:i,classes:a}=function cn(e){const t=[],n=[];let r=1,i=2;for(;r<e.length;){let a=e[r];if("string"==typeof a)2===i?""!==a&&t.push(a,e[++r]):8===i&&n.push(a);else{if(!N(i))break;i=a}r++}return{attrs:t,classes:n}}(t.selectors[0]);i&&ps(e,n,i),a&&a.length>0&&s0(e,n,a.join(" "))}}(pt,Lo,jt,r),void 0!==n&&function SS(e,t,n){const r=e.projection=[];for(let i=0;i<t.length;i++){const a=n[i];r.push(null!=a?Array.from(a):null)}}(ki,this.ngContentSelectors,n),li=function bS(e,t,n,r,i,a){const d=vi(),m=i[Wt],b=Jo(d,i);v0(m,i,d,n,null,r);for(let fe=0;fe<n.length;fe++)o(Va(i,m,d.directiveStart+fe,d),i);y0(m,i,d),b&&o(b,i);const X=Va(i,m,d.directiveStart+d.componentOffset,d);if(e[$r]=i[$r]=X,null!==a)for(const fe of a)fe(X,t);return yp(m,d,i),X}(MA,Lo,bs,Lc,Ar,[CS]),Tp(nn,Ar,null)}finally{nl()}return new vS(this.componentType,li,Ia(ki,Ar),Ar,ki)}finally{R(a)}}}class vS extends eS{constructor(t,n,r,i,a){super(),this.location=r,this._rootLView=i,this._tNode=a,this.previousInputValues=null,this.instance=n,this.hostView=this.changeDetectorRef=new Nl(i,void 0,!1),this.componentType=t}setInput(t,n){const r=this._tNode.inputs;let i;if(null!==r&&(i=r[t])){if(this.previousInputValues??=new Map,this.previousInputValues.has(t)&&Object.is(this.previousInputValues.get(t),n))return;const a=this._rootLView;Ip(a[Wt],a,i,t,n),this.previousInputValues.set(t,n),Ol(ds(this._tNode.index,a))}}get injector(){return new Eo(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}}function CS(){const e=vi();Uu(Vt()[Wt],e)}let Df=(()=>{class t{}return t.__NG_ELEMENT_ID__=DS,t})();function DS(){return tv(vi(),Vt())}const IS=Df,Z0=class extends IS{constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return Ia(this._hostTNode,this._hostLView)}get injector(){return new Eo(this._hostTNode,this._hostLView)}get parentInjector(){const t=pu(this._hostTNode,this._hostLView);if(ol(t)){const n=Ca(t,this._hostLView),r=ua(t);return new Eo(n[Wt].data[r+8],n)}return new Eo(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const n=ev(this._lContainer);return null!==n&&n[t]||null}get length(){return this._lContainer.length-to}createEmbeddedView(t,n,r){let i,a;"number"==typeof r?i=r:null!=r&&(i=r.index,a=r.injector);const d=fc(this._lContainer,t.ssrId),m=t.createEmbeddedViewImpl(n||{},a,d);return this.insertImpl(m,i,dc(this._hostTNode,d)),m}createComponent(t,n,r,i,a){const d=t&&!function yt(e){return"function"==typeof e}(t);let m;if(d)m=n;else{const bt=n||{};m=bt.index,r=bt.injector,i=bt.projectableNodes,a=bt.environmentInjector||bt.ngModuleRef}const b=d?t:new Vl(Wn(t)),X=r||this.parentInjector;if(!a&&null==b.ngModule){const jt=(d?X:this.parentInjector).get(Hn,null);jt&&(a=jt)}const fe=Wn(b.componentType??{}),Pe=fc(this._lContainer,fe?.id??null),pt=b.create(X,i,Pe?.firstChild??null,a);return this.insertImpl(pt.hostView,m,dc(this._hostTNode,Pe)),pt}insert(t,n){return this.insertImpl(t,n,!0)}insertImpl(t,n,r){const i=t._lView;if(function dh(e){return xo(e[jr])}(i)){const m=this.indexOf(t);if(-1!==m)this.detach(m);else{const b=i[jr],X=new Z0(b,b[Pi],b[jr]);X.detach(X.indexOf(t))}}const a=this._adjustIndex(n),d=this._lContainer;return Al(d,i,a,r),t.attachToViewContainerRef(),hs(Vp(d),a,t),t}move(t,n){return this.insert(t,n)}indexOf(t){const n=ev(this._lContainer);return null!==n?n.indexOf(t):-1}remove(t){const n=this._adjustIndex(t,-1),r=Sl(this._lContainer,n);r&&(Wo(Vp(this._lContainer),n),uf(r[Wt],r))}detach(t){const n=this._adjustIndex(t,-1),r=Sl(this._lContainer,n);return r&&null!=Wo(Vp(this._lContainer),n)?new Nl(r):null}_adjustIndex(t,n=0){return t??this.length+n}};function ev(e){return e[8]}function Vp(e){return e[8]||(e[8]=[])}function tv(e,t){let n;const r=t[e.index];return xo(r)?n=r:(n=_0(r,t,null,e),t[e.index]=n,hf(t,n)),nv(n,t,e,r),new Z0(n,e,t)}let nv=function iv(e,t,n,r){if(e[xi])return;let i;i=8&n.type?mi(r):function TS(e,t){const n=e[Tr],r=n.createComment(""),i=Jo(t,e);return Du(n,cf(n,i),r,function Vb(e,t){return e.nextSibling(t)}(n,i),!1),r}(t,n),e[xi]=i},jp=()=>!1;class Hp{constructor(t){this.queryList=t,this.matches=null}clone(){return new Hp(this.queryList)}setDirty(){this.queryList.setDirty()}}class Gp{constructor(t=[]){this.queries=t}createEmbeddedView(t){const n=t.queries;if(null!==n){const r=null!==t.contentQueries?t.contentQueries[0]:n.length,i=[];for(let a=0;a<r;a++){const d=n.getByIndex(a);i.push(this.queries[d.indexInDeclarationView].clone())}return new Gp(i)}return null}insertView(t){this.dirtyQueriesWithMatches(t)}detachView(t){this.dirtyQueriesWithMatches(t)}finishViewCreation(t){this.dirtyQueriesWithMatches(t)}dirtyQueriesWithMatches(t){for(let n=0;n<this.queries.length;n++)null!==Xp(t,n).matches&&this.queries[n].setDirty()}}class ov{constructor(t,n,r=null){this.flags=n,this.read=r,this.predicate="string"==typeof t?function $S(e){return e.split(",").map(t=>t.trim())}(t):t}}class Kp{constructor(t=[]){this.queries=t}elementStart(t,n){for(let r=0;r<this.queries.length;r++)this.queries[r].elementStart(t,n)}elementEnd(t){for(let n=0;n<this.queries.length;n++)this.queries[n].elementEnd(t)}embeddedTView(t){let n=null;for(let r=0;r<this.length;r++){const i=null!==n?n.length:0,a=this.getByIndex(r).embeddedTView(t,i);a&&(a.indexInDeclarationView=r,null!==n?n.push(a):n=[a])}return null!==n?new Kp(n):null}template(t,n){for(let r=0;r<this.queries.length;r++)this.queries[r].template(t,n)}getByIndex(t){return this.queries[t]}get length(){return this.queries.length}track(t){this.queries.push(t)}}class Wp{constructor(t,n=-1){this.metadata=t,this.matches=null,this.indexInDeclarationView=-1,this.crossesNgTemplate=!1,this._appliesToNextNode=!0,this._declarationNodeIndex=n}elementStart(t,n){this.isApplyingToNode(n)&&this.matchTNode(t,n)}elementEnd(t){this._declarationNodeIndex===t.index&&(this._appliesToNextNode=!1)}template(t,n){this.elementStart(t,n)}embeddedTView(t,n){return this.isApplyingToNode(t)?(this.crossesNgTemplate=!0,this.addMatch(-t.index,n),new Wp(this.metadata)):null}isApplyingToNode(t){if(this._appliesToNextNode&&1&~this.metadata.flags){const n=this._declarationNodeIndex;let r=t.parent;for(;null!==r&&8&r.type&&r.index!==n;)r=r.parent;return n===(null!==r?r.index:-1)}return this._appliesToNextNode}
1matchTNode(t,n){const r=this.metadata.predicate;if(Array.isArray(r))for(let i=0;i<r.length;i++){const a=r[i];this.matchTNodeWithReadOption(t,n,NS(n,a)),this.matchTNodeWithReadOption(t,n,gu(n,t,a,!1,!1))}else r===Rl?4&n.type&&this.matchTNodeWithReadOption(t,n,-1):this.matchTNodeWithReadOption(t,n,gu(n,t,r,!1,!1))}matchTNodeWithReadOption(t,n,r){if(null!==r){const i=this.metadata.read;if(null!==i)if(i===zi||i===Df||i===Rl&&4&n.type)this.addMatch(n.index,-2);else{const a=gu(n,t,i,!1,!1);null!==a&&this.addMatch(n.index,a)}else this.addMatch(n.index,r)}}addMatch(t,n){null===this.matches?this.matches=[t,n]:this.matches.push(t,n)}}function NS(e,t){const n=e.localNames;if(null!==n)for(let r=0;r<n.length;r+=2)if(n[r]===t)return n[r+1];return null}function PS(e,t,n,r){return-1===n?function RS(e,t){return 11&e.type?Ia(e,t):4&e.type?mf(e,t):null}(t,e):-2===n?function xS(e,t,n){return n===zi?Ia(t,e):n===Rl?mf(t,e):n===Df?tv(t,e):void 0}(e,t,r):Va(e,e[Wt],n,t)}function sv(e,t,n,r){const i=t[yo].queries[r];if(null===i.matches){const a=e.data,d=n.matches,m=[];for(let b=0;null!==d&&b<d.length;b+=2){const X=d[b];m.push(X<0?null:PS(t,a[X],d[b+1],n.metadata.read))}i.matches=m}return i.matches}function zp(e,t,n,r){const i=e.queries.getByIndex(n),a=i.matches;if(null!==a){const d=sv(e,t,i,n);for(let m=0;m<a.length;m+=2){const b=a[m];if(b>0)r.push(d[m/2]);else{const X=a[m+1],fe=t[-b];for(let Pe=to;Pe<fe.length;Pe++){const ot=fe[Pe];ot[Na]===ot[jr]&&zp(ot[Wt],ot,X,r)}if(null!==fe[cs]){const Pe=fe[cs];for(let ot=0;ot<Pe.length;ot++){const pt=Pe[ot];zp(pt[Wt],pt,X,r)}}}}}return r}function av(e,t,n){const r=new Hd(!(4&~n));return function Jb(e,t,n,r){const i=b0(t);i.push(n),e.firstCreatePass&&w0(e).push(r,i.length-1)}(e,t,r,r.destroy),(t[yo]??=new Gp).queries.push(new Hp(r))-1}function lv(e,t,n){null===e.queries&&(e.queries=new Kp),e.queries.track(new Wp(t,n))}function Xp(e,t){return e.queries.getByIndex(t)}function dv(e,t){const n=e[Wt],r=Xp(n,t);return r.crossesNgTemplate?zp(n,e,t,[]):sv(n,e,r,t)}function hv(e,t){ha("NgSignals");const n=function Xt(e){const t=Object.create(dn);t.value=e;const n=()=>(k(t),t.value);return n[P]=t,n}(e),r=n[P];return t?.equal&&(r.equal=t.equal),n.set=i=>On(r,i),n.update=i=>function Bn(e,t){le()||Gt(),On(e,t(e.value))}(r,i),n.asReadonly=pv.bind(n),n}function pv(){const e=this[P];if(void 0===e.readonlyFn){const t=()=>this();t[P]=e,e.readonlyFn=t}return e.readonlyFn}function Qp(e){let t=function Iv(e){return Object.getPrototypeOf(e.prototype).constructor}(e.type),n=!0;const r=[e];for(;t;){let i;if(rs(e))i=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new zt(903,!1);i=t.\u0275dir}if(i){if(n){r.push(i);const d=e;d.inputs=Tf(e.inputs),d.inputTransforms=Tf(e.inputTransforms),d.declaredInputs=Tf(e.declaredInputs),d.outputs=Tf(e.outputs);const m=i.hostBindings;m&&YS(e,m);const b=i.viewQuery,X=i.contentQueries;if(b&&qS(e,b),X&&XS(e,X),WS(e,i),oi(e.outputs,i.outputs),rs(i)&&i.data.animation){const fe=e.data;fe.animation=(fe.animation||[]).concat(i.data.animation)}}const a=i.features;if(a)for(let d=0;d<a.length;d++){const m=a[d];m&&m.ngInherit&&m(e),m===Qp&&(n=!1)}}t=Object.getPrototypeOf(t)}!function zS(e){let t=0,n=null;for(let r=e.length-1;r>=0;r--){const i=e[r];i.hostVars=t+=i.hostVars,i.hostAttrs=Te(i.hostAttrs,n=Te(n,i.hostAttrs))}}(r)}function WS(e,t){for(const n in t.inputs){if(!t.inputs.hasOwnProperty(n)||e.inputs.hasOwnProperty(n))continue;const r=t.inputs[n];if(void 0!==r&&(e.inputs[n]=r,e.declaredInputs[n]=t.declaredInputs[n],null!==t.inputTransforms)){const i=Array.isArray(r)?r[0]:r;if(!t.inputTransforms.hasOwnProperty(i))continue;e.inputTransforms??={},e.inputTransforms[i]=t.inputTransforms[i]}}}function Tf(e){return e===ho?{}:e===er?[]:e}function qS(e,t){const n=e.viewQuery;e.viewQuery=n?(r,i)=>{t(r,i),n(r,i)}:t}function XS(e,t){const n=e.contentQueries;e.contentQueries=n?(r,i,a)=>{t(r,i,a),n(r,i,a)}:t}function YS(e,t){const n=e.hostBindings;e.hostBindings=n?(r,i)=>{t(r,i),n(r,i)}:t}function Ov(e){const t=e.inputConfig,n={};for(const r in t)if(t.hasOwnProperty(r)){const i=t[r];Array.isArray(i)&&i[3]&&(n[r]=i[3])}e.inputTransforms=n}class Tu{}class Nv{}function nC(e,t){return new Jp(e,t??null,[])}class Jp extends Tu{constructor(t,n,r){super(),this._parent=n,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new Q0(this);const i=$i(t);this._bootstrapComponents=Ms(i.bootstrap),this._r3Injector=Ld(t,n,[{provide:Tu,useValue:this},{provide:kl,useValue:this.componentFactoryResolver},...r],or(t),new Set(["environment"])),this._r3Injector.resolveInjectorInitializer
1s(),this.instance=this._r3Injector.get(t)}get injector(){return this._r3Injector}destroy(){const t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(n=>n()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}}class Zp extends Nv{constructor(t){super(),this.moduleType=t}create(t){return new Jp(this.moduleType,t,[])}}class Rv extends Tu{constructor(t){super(),this.componentFactoryResolver=new Q0(this),this.instance=null;const n=new cr([...t.providers,{provide:Tu,useValue:this},{provide:kl,useValue:this.componentFactoryResolver}],t.parent||Cr(),t.debugName,new Set(["environment"]));this.injector=n,t.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}}function eg(e,t,n=null){return new Rv({providers:e,parent:t,debugName:n,runEnvironmentInitializers:!0}).injector}let pc=(()=>{var e;class t{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new In.t(!1)}get _hasPendingTasks(){return this.hasPendingTasks.value}add(){this._hasPendingTasks||this.hasPendingTasks.next(!0);const r=this.taskId++;return this.pendingTasks.add(r),r}remove(r){this.pendingTasks.delete(r),0===this.pendingTasks.size&&this._hasPendingTasks&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this._hasPendingTasks&&this.hasPendingTasks.next(!1)}}return(e=t).\u0275fac=function(r){return new(r||e)},e.\u0275prov=ce({token:e,factory:e.\u0275fac,providedIn:"root"}),t})();function Mf(e){return!!tg(e)&&(Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e)}function tg(e){return null!==e&&("function"==typeof e||"object"==typeof e)}function pa(e,t,n){return e[t]=n}function Hl(e,t){return e[t]}function So(e,t,n){return!Object.is(e[t],n)&&(e[t]=n,!0)}function Au(e,t,n,r){const i=So(e,t,n);return So(e,t+1,r)||i}function zs(e,t,n,r,i,a){const d=Au(e,t,n,r);return Au(e,t+2,i,a)||d}function gc(e,t,n,r,i,a,d,m){const b=Vt(),X=Qr(),fe=e+Nr,Pe=X.firstCreatePass?function cC(e,t,n,r,i,a,d,m,b){const X=t.consts,fe=lc(t,e,4,d||null,Bs(X,m));wp(t,n,fe,Bs(X,b)),Uu(t,fe);const Pe=fe.tView=bp(2,fe,r,i,a,t.directiveRegistry,t.pipeRegistry,null,t.schemas,X,null);return null!==t.queries&&(t.queries.template(t,fe),Pe.queries=t.queries.embeddedTView(fe)),fe}(fe,X,b,t,n,r,i,a,d):X.data[fe];Vs(Pe,!1);const ot=Pv(X,b,Pe,e);du()&&lf(X,b,ot,Pe),o(ot,b);const pt=_0(ot,b,ot,Pe);return b[fe]=pt,hf(b,pt),function rv(e,t,n){return jp(e,t,n)}(pt,Pe,b),ou(Pe)&&_p(X,b,Pe),null!=d&&Ep(b,Pe,m),gc}let Pv=function xv(e,t,n,r){return no(!0),t[Tr].createComment("")};function dg(e,t,n,r){const i=Vt();return So(i,vs(),t)&&(Qr(),fa(Ui(),i,e,t,n,r)),dg}function Sc(e,t,n,r){return So(e,vs(),n)?t+Un(n)+r:Ur}function Cc(e,t,n,r,i,a){const m=Au(e,function $t(){return Rr.lFrame.bindingIndex}(),n,i);return js(2),m?t+Un(n)+r+Un(i)+a:Ur}function fg(e,t,n,r,i,a){const d=Vt(),m=Sc(d,t,n,r);return m!==Ur&&fa(Ui(),d,e,m,i,a),fg}function Ff(e,t){return e<<17|t<<2}function Za(e){return e>>17&32767}function hg(e){return 2|e}function Ou(e){return(131068&e)>>2}function pg(e,t){return-131069&e|t<<2}function gg(e){return 1|e}function ly(e,t,n,r){const i=e[n+1],a=null===t;let d=r?Za(i):Ou(i),m=!1;for(;0!==d&&(!1===m||a);){const X=e[d+1];XC(e[d],t)&&(m=!0,e[d+1]=r?gg(X):hg(X)),d=r?Za(X):Ou(X)}m&&(e[n+1]=r?hg(i):gg(i))}function XC(e,t){return null===e||null==t||(Array.isArray(e)?e[1]:e)===t||!(!Array.isArray(e)||"string"!=typeof t)&&Qi(e,t)>=0}function mg(e,t,n){const r=Vt();return So(r,vs(),t)&&_s(Qr(),Ui(),r,e,t,r[Tr],n,!1),mg}function vg(e,t,n,r,i){const d=i?"class":"style";Ip(e,n,t.inputs[d],d,r)}function yg(e,t,n){return na(e,t,n,!1),yg}function _g(e,t){return na(e,t,null,!0),_g}function na(e,t,n,r){const i=Vt(),a=Qr(),d=js(2);a.firstUpdatePass&&function yy(e,t,n,r){const i=e.data;if(null===i[n+1]){const a=i[$o()],d=function vy(e,t){return t>=e.expandoStartIndex}(e,n);(function wy(e,t){return!!(e.flags&(t?8:16))})(a,r)&&null===t&&!d&&(t=!1),t=function iD(e,t,n,r){const i=function Yc(e){const t=Rr.lFrame.currentDirectiveIndex;return-1===t?null:e[t]}(e);let a=r?t.residualClasses:t.residualStyles;if(null===i)0===(r?t.classBindings:t.styleBindings)&&(n=ql(n=Eg(null,e,t,n,r),t.attrs,r),a=null);else{const d=t.directiveStylingLast;if(-1===d||e[d]!==i)if(n=Eg(i,e,t,n,r),null===a){let b=function oD(e,t,n
1){const r=n?t.classBindings:t.styleBindings;if(0!==Ou(r))return e[Za(r)]}(e,t,r);void 0!==b&&Array.isArray(b)&&(b=Eg(null,e,t,b[1],r),b=ql(b,t.attrs,r),function sD(e,t,n,r){e[Za(n?t.classBindings:t.styleBindings)]=r}(e,t,r,b))}else a=function aD(e,t,n){let r;const i=t.directiveEnd;for(let a=1+t.directiveStylingLast;a<i;a++)r=ql(r,e[a].hostAttrs,n);return ql(r,t.attrs,n)}(e,t,r)}return void 0!==a&&(r?t.residualClasses=a:t.residualStyles=a),n}(i,a,t,r),function zC(e,t,n,r,i,a){let d=a?t.classBindings:t.styleBindings,m=Za(d),b=Ou(d);e[r]=n;let fe,X=!1;if(Array.isArray(n)?(fe=n[1],(null===fe||Qi(n,fe)>0)&&(X=!0)):fe=n,i)if(0!==b){const ot=Za(e[m+1]);e[r+1]=Ff(ot,m),0!==ot&&(e[ot+1]=pg(e[ot+1],r)),e[m+1]=function KC(e,t){return 131071&e|t<<17}(e[m+1],r)}else e[r+1]=Ff(m,0),0!==m&&(e[m+1]=pg(e[m+1],r)),m=r;else e[r+1]=Ff(b,0),0===m?m=r:e[b+1]=pg(e[b+1],r),b=r;X&&(e[r+1]=hg(e[r+1])),ly(e,fe,r,!0),ly(e,fe,r,!1),function qC(e,t,n,r,i){const a=i?e.residualClasses:e.residualStyles;null!=a&&"string"==typeof t&&Qi(a,t)>=0&&(n[r+1]=gg(n[r+1]))}(t,fe,e,r,a),d=Ff(m,b),a?t.classBindings=d:t.styleBindings=d}(i,a,t,n,d,r)}}(a,e,d,r),t!==Ur&&So(i,d,t)&&function Ey(e,t,n,r,i,a,d,m){if(!(3&t.type))return;const b=e.data,X=b[m+1],fe=function WC(e){return!(1&~e)}(X)?by(b,t,n,i,Ou(X),d):void 0;kf(fe)||(kf(a)||function GC(e){return!(2&~e)}(X)&&(a=by(b,null,n,i,m,d)),function Gb(e,t,n,r,i){if(t)i?e.addClass(n,r):e.removeClass(n,r);else{let a=-1===r.indexOf("-")?void 0:sf.DashCase;null==i?e.removeStyle(n,r,a):("string"==typeof i&&i.endsWith("!important")&&(i=i.slice(0,-10),a|=sf.Important),e.setStyle(n,r,i,a))}}(r,d,aa($o(),n),i,a))}(a,a.data[$o()],i,i[Tr],e,i[d+1]=function dD(e,t){return null==e||""===e||("string"==typeof t?e+=t:"object"==typeof e&&(e=or(Aa(e)))),e}(t,n),r,d)}function Eg(e,t,n,r,i){let a=null;const d=n.directiveEnd;let m=n.directiveStylingLast;for(-1===m?m=n.directiveStart:m++;m<d&&(a=t[m],r=ql(r,a.hostAttrs,i),a!==e);)m++;return null!==e&&(n.directiveStylingLast=m),r}function ql(e,t,n){const r=n?1:2;let i=-1;if(null!==t)for(let a=0;a<t.length;a++){const d=t[a];"number"==typeof d?i=d:i===r&&(Array.isArray(e)||(e=void 0===e?[]:["",e]),Hi(e,d,!!n||t[++a]))}return void 0===e?null:e}function by(e,t,n,r,i,a){const d=null===t;let m;for(;i>0;){const b=e[i],X=Array.isArray(b),fe=X?b[1]:b,Pe=null===fe;let ot=n[i+1];ot===Ur&&(ot=Pe?er:void 0);let pt=Pe?mo(ot,r):fe===r?ot:void 0;if(X&&!kf(pt)&&(pt=mo(b,r)),kf(pt)&&(m=pt,d))return m;const bt=e[i+1];i=d?Za(bt):Ou(bt)}if(null!==t){let b=a?t.residualClasses:t.residualStyles;null!=b&&(m=mo(b,r))}return m}function kf(e){return void 0!==e}function Iy(e,t,n){ha("NgControlFlow");const r=Vt(),i=vs(),a=function Sg(e,t){return e[t]}(r,Nr+e);if(So(r,i,t)){const m=R(null);try{if(function Ap(e,t){const n=Sl(e,t);return void 0!==n&&uf(n[Wt],n),n}(a,0),-1!==t){const b=function Cg(e,t){return uu(e,t)}(r[Wt],Nr+t),X=fc(a,b.tView.ssrId);Al(a,Tl(r,b,n,{dehydratedView:X}),0,dc(b,X))}}finally{R(m)}}else{const m=function C0(e,t){const n=to+t;if(n<e.length)return e[n]}(a,0);void 0!==m&&(m[$r]=n)}}function Lf(e,t,n,r){const i=Vt(),a=Qr(),d=Nr+e,m=i[Tr],b=a.firstCreatePass?function PD(e,t,n,r,i,a){const d=t.consts,b=lc(t,e,2,r,Bs(d,i));return wp(t,n,b,Bs(d,a)),null!==b.attrs&&Sf(b,b.attrs,!1),null!==b.mergedAttrs&&Sf(b,b.mergedAttrs,!0),null!==t.queries&&t.queries.elementStart(t,b),b}(d,a,i,t,n,r):a.data[d],X=Ty(a,i,b,m,t,e);i[d]=X;const fe=ou(b);return Vs(b,!0),a0(m,X,b),!function Gl(e){return!(32&~e.flags)}(b)&&du()&&lf(a,i,X,b),0===function hh(){return Rr.lFrame.elementDepthCount}()&&o(X,i),function ph(){Rr.lFrame.elementDepthCount++}(),fe&&(_p(a,i,b),yp(a,b,i)),null!==r&&Ep(i,b),Lf}function Uf(){let e=vi();Kc()?Wc():(e=e.parent,Vs(e,!1));const t=e;(function mh(e){return Rr.skipHydrationRootTNode===e})(t)&&function vd(){Rr.skipHydrationRootTNode=null}(),function gh(){Rr.lFrame.elementDepthCount--}();const n=Qr();return n.firstCreatePass&&(Uu(n,e),iu(e)&&n.queries.elementEnd(e)),null!=t.classesWithoutHost&&function Sh(e){return!!(8&e.flags)}(t)&&vg(n,t,Vt(),t.classesWithoutHost,!0),null!=t.stylesWithoutHost&&function Ch(e){return!!(16&e.flags)}(t)&&vg(n,t,Vt(),t.stylesWithoutHost,!1),Uf}function Dg(e,t,n,r){return Lf(e,t,n,r),Uf(),Dg}let Ty=(e,t,n,r,i,a)=>(no(!0),af(r,i,function Sd(){return Rr.lFrame.currentNamespace}()));function Bf(e,t,n){const r=Vt(),i=Qr(),a=e+Nr,d=i.firstCreatePass?function FD(e,t,n,r,i){const a=t.consts,d=Bs(a,r),m=lc(t,e,8,"ng-container",d);return null!==d&&Sf(m,d,!0),wp(t,n,m,Bs(a,i)),null!==t.queries&&t.queries.elementStart(t,m),m}
vendor: 5,127 bytes, line 1
1(a,i,r,t,n):i.data[a];Vs(d,!0);const m=My(i,r,d,e);return r[a]=m,du()&&lf(i,r,m,d),o(m,r),ou(d)&&(_p(i,r,d),yp(i,d,r)),null!=n&&Ep(r,d),Bf}function Vf(){let e=vi();const t=Qr();return Kc()?Wc():(e=e.parent,Vs(e,!1)),t.firstCreatePass&&(Uu(t,e),iu(e)&&t.queries.elementEnd(e)),Vf}let My=(e,t,n,r)=>(no(!0),dp(t[Tr],""));function Oy(){return Vt()}const Nu=void 0;var BD=["en",[["a","p"],["AM","PM"],Nu],[["AM","PM"],Nu,Nu],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],Nu,[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],["January","February","March","April","May","June","July","August","September","October","November","December"]],Nu,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],0,[6,0],["M/d/yy","MMM d, y","MMMM d, y","EEEE, MMMM d, y"],["h:mm a","h:mm:ss a","h:mm:ss a z","h:mm:ss a zzzz"],["{1}, {0}",Nu,"{1} 'at' {0}",Nu],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function UD(e){const n=Math.floor(Math.abs(e)),r=e.toString().replace(/^[^.]*\.?/,"").length;return 1===n&&0===r?1:5}];let Rc={};function Ig(e){const t=function VD(e){return e.toLowerCase().replace(/_/g,"-")}(e);let n=xy(t);if(n)return n;const r=t.split("-")[0];if(n=xy(r),n)return n;if("en"===r)return BD;throw new zt(701,!1)}function Py(e){return Ig(e)[Pc.PluralCase]}function xy(e){return e in Rc||(Rc[e]=mn.ng&&mn.ng.common&&mn.ng.common.locales&&mn.ng.common.locales[e]),Rc[e]}var Pc=function(e){return e[e.LocaleId=0]="LocaleId",e[e.DayPeriodsFormat=1]="DayPeriodsFormat",e[e.DayPeriodsStandalone=2]="DayPeriodsStandalone",e[e.DaysFormat=3]="DaysFormat",e[e.DaysStandalone=4]="DaysStandalone",e[e.MonthsFormat=5]="MonthsFormat",e[e.MonthsStandalone=6]="MonthsStandalone",e[e.Eras=7]="Eras",e[e.FirstDayOfWeek=8]="FirstDayOfWeek",e[e.WeekendRange=9]="WeekendRange",e[e.DateFormat=10]="DateFormat",e[e.TimeFormat=11]="TimeFormat",e[e.DateTimeFormat=12]="DateTimeFormat",e[e.NumberSymbols=13]="NumberSymbols",e[e.NumberFormats=14]="NumberFormats",e[e.CurrencyCode=15]="CurrencyCode",e[e.CurrencySymbol=16]="CurrencySymbol",e[e.CurrencyName=17]="CurrencyName",e[e.Currencies=18]="Currencies",e[e.Directionality=19]="Directionality",e[e.PluralCase=20]="PluralCase",e[e.ExtraData=21]="ExtraData",e}(Pc||{});const xc="en-US";let $y=xc;function Mg(e,t,n,r){const i=Vt(),a=Qr(),d=vi();return function Og(e,t,n,r,i,a,d){const m=ou(r),X=e.firstCreatePass&&w0(e),fe=t[$r],Pe=b0(t);let ot=!0;if(3&r.type||d){const jt=Jo(r,t),_n=d?d(jt):jt,Sn=Pe.length,nn=d?li=>d(mi(li[r.index])):r.index;let Ar=null;if(!d&&m&&(Ar=function k2(e,t,n,r){const i=e.cleanup;if(null!=i)for(let a=0;a<i.length-1;a+=2){const d=i[a];if(d===n&&i[a+1]===r){const m=t[Ki],b=i[a+2];return m.length>b?m[b]:null}"string"==typeof d&&(a+=2)}return null}(e,t,i,r.index)),null!==Ar)(Ar.__ngLastListenerFn__||Ar).__ngNextListenerFn__=a,Ar.__ngLastListenerFn__=a,ot=!1;else{a=l1(r,t,fe,a,!1);const li=n.listen(_n,i,a);Pe.push(a,li),X&&X.push(i,nn,Sn,Sn+1)}}else a=l1(r,t,fe,a,!1);const pt=r.outputs;let bt;if(ot&&null!==pt&&(bt=pt[i])){const jt=bt.length;if(jt)for(let _n=0;_n<jt;_n+=2){const ki=t[bt[_n]][bt[_n+1]].subscribe(a),Lo=Pe.length;Pe.push(a,ki),X&&X.push(i,r.index,Lo,-(Lo+1))}}}(a,i,i[Tr],d,e,t,r),Mg}function c1(e,t,n,r){const i=R(null);try{return Us(6,t,n),!1!==n(r)}catch(a){return pf(e,a),!1}finally{Us(7,t,n),R(i)}}function l1(e,t,n,r,i){return function a(d){if(d===Function)return r;Ol(e.componentOffset>-1?ds(e.index,t):t);let b=c1(t,n,r,d),X=a.__ngNextListenerFn__;for(;X;)b=c1(t,n,X,d)&&b,X=X.__ngNextListenerFn__;return i&&!1===b&&d.preventDefault(),b}}function d1(e=1){return function wd(e){return(Rr.lFrame.contextLView=function hd(e,t){for(;e>0;)t=t[po],e--;return t}(e,Rr.lFrame.contextLView))[$r]}(e)}function L2(e,t){let n=null;const r=function Ne(e){const t=e.attrs;if(null!=t){const n=t.indexOf(5);if(!(1&n))return t[n+1]}return null}(e);for(let i=0;i<t.length;i++){const a=t[i];if("*"!==a){if(null===r?de(e,a,!0):ct(r,a))return i}else n=i}return n}function f1(e){const t=Vt()[Fi][Pi];if(!t.projection){const r=t.projection=function Ao(e,t){const n=[];for(let r=0;r<e;r++)n.push(t);return n}(e?e.length:1,null),i=r.slice();let a=t.child;for(;null!==a;){const d=e?L2(a,e):0;null!==d&&(i[d]?i[d].projectionNext=a:r[d]=a,i[d]=a),a=a.next}}}function h1(e,t=0,n){const r=Vt(),i=Qr(),a=lc(i,Nr+e,16,null,n||null);null===a.projection&&(a.projection=t),Wc(),(!r[ao]||Fa())&&32&~a.flags&&function jb(e,t,n){o0(t[Tr],0,t,n,hp(e,n,t),Jm(n.parent||t[Pi],n,t))}(i,r,a)}function Ng(e,t,n){return Wf(e,"",t,"",n),Ng}function Wf(e,t,n,r,i){const a=Vt(),d=Sc(a,t,n,r);return d!==Ur&&_s(Qr(),Ui(),a,e,d,a[Tr],i,!1),Wf}function w1(e,t,n,r){!function cv(e,t,n,r){const i=Qr();if(i.firstCreatePass){const a=vi();lv(i,new ov(t,n,r),a.index),function FS(e,t){const n=e.contentQueries||(e.contentQueries=[]);t!==(n.length?n[n.length-1]:-1)&&n.push(e.queries.length-1,t)}
1(i,e),!(2&~n)&&(i.staticContentQueries=!0)}return av(i,Vt(),n)}(e,t,n,r)}function S1(e,t,n){!function uv(e,t,n){const r=Qr();return r.firstCreatePass&&(lv(r,new ov(e,t,n),-1),!(2&~t)&&(r.staticViewQueries=!0)),av(r,Vt(),t)}(e,t,n)}function C1(e){const t=Vt(),n=Qr(),r=Qc();$u(r+1);const i=Xp(n,r);if(e.dirty&&function lh(e){return!(4&~e[Pn])}(t)===!(2&~i.metadata.flags)){if(null===i.matches)e.reset([]);else{const a=dv(t,r);e.reset(a,Eu),e.notifyOnChanges()}return!0}return!1}function D1(){return function qp(e,t){return e[yo].queries[t].queryList}(Vt(),Qc())}function I1(e){return $a(function _h(){return Rr.lFrame.contextLView}(),Nr+e)}function F1(e,t=""){const n=Vt(),r=Qr(),i=e+Nr,a=r.firstCreatePass?lc(r,i,1,t,null):r.data[i],d=k1(r,n,a,t,e);n[i]=d,du()&&lf(r,n,d,a),Vs(a,!1)}let k1=(e,t,n,r,i)=>(no(!0),function lp(e,t){return e.createText(t)}(t[Tr],r));function Rg(e){return zf("",e,""),Rg}function zf(e,t,n){const r=Vt(),i=Sc(r,e,t,n);return i!==Ur&&Oa(r,$o(),i),zf}function Pg(e,t,n,r,i){const a=Vt(),d=Cc(a,e,t,n,r,i);return d!==Ur&&Oa(a,$o(),d),Pg}function xg(e,t,n,r,i){if(e=Ue(e),Array.isArray(e))for(let a=0;a<e.length;a++)xg(e[a],t,n,r,i);else{const a=Qr(),d=Vt(),m=vi();let b=ut(e)?e:Ue(e.provide);const X=vo(e),fe=1048575&m.providerIndexes,Pe=m.directiveStart,ot=m.providerIndexes>>20;if(ut(e)||!e.multi){const pt=new fu(X,i,cc),bt=Fg(b,t,i?fe:fe+ot,Pe);-1===bt?(ul(zu(m,d),a,b),$g(a,e,t.length),t.push(b),m.directiveStart++,m.directiveEnd++,i&&(m.providerIndexes+=1048576),n.push(pt),d.push(pt)):(n[bt]=pt,d[bt]=pt)}else{const pt=Fg(b,t,fe+ot,Pe),bt=Fg(b,t,fe,fe+ot),_n=bt>=0&&n[bt];if(i&&!_n||!i&&!(pt>=0&&n[pt])){ul(zu(m,d),a,b);const Sn=function iI(e,t,n,r,i){const a=new fu(e,n,cc);return a.multi=[],a.index=t,a.componentProviders=0,z1(a,i,r&&!n),a}(i?rI:nI,n.length,i,r,X);!i&&_n&&(n[bt].providerFactory=Sn),$g(a,e,t.length,0),t.push(b),m.directiveStart++,m.directiveEnd++,i&&(m.providerIndexes+=1048576),n.push(Sn),d.push(Sn)}else $g(a,e,pt>-1?pt:bt,z1(n[i?bt:pt],X,!i&&r));!i&&r&&_n&&n[bt].componentProviders++}}}function $g(e,t,n,r){const i=ut(t),a=function Tt(e){return!!e.useClass}(t);if(i||a){const b=(a?Ue(t.useClass):t).prototype.ngOnDestroy;if(b){const X=e.destroyHooks||(e.destroyHooks=[]);if(!i&&t.multi){const fe=X.indexOf(n);-1===fe?X.push(n,[r,b]):X[fe+1].push(r,b)}else X.push(n,b)}}}function z1(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function Fg(e,t,n,r){for(let i=n;i<r;i++)if(t[i]===e)return i;return-1}function nI(e,t,n,r){return kg(this.multi,[])}function rI(e,t,n,r){const i=this.multi;let a;if(this.providerFactory){const d=this.providerFactory.componentProviders,m=Va(n,n[Wt],this.providerFactory.index,r);a=m.slice(0,d),kg(i,a);for(let b=d;b<m.length;b++)a.push(m[b])}else a=[],kg(i,a);return a}function kg(e,t){for(let n=0;n<e.length;n++)t.push((0,e[n])());return t}function q1(e,t=[]){return n=>{n.providersResolver=(r,i)=>function tI(e,t,n){const r=Qr();if(r.firstCreatePass){const i=rs(e);xg(n,r.data,r.blueprint,i,!0),xg(t,r.data,r.blueprint,i,!1)}}(r,i?i(e):e,t)}}let oI=(()=>{var e;class t{constructor(r){this._injector=r,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(r){if(!r.standalone)return null;if(!this.cachedInjectors.has(r)){const i=xs(0,r.type),a=i.length>0?eg([i],this._injector,`Standalone[${r.type.name}]`):null;this.cachedInjectors.set(r,a)}return this.cachedInjectors.get(r)}ngOnDestroy(){try{for(const r of this.cachedInjectors.values())null!==r&&r.destroy()}finally{this.cachedInjectors.clear()}}}return(e=t).\u0275prov=ce({token:e,providedIn:"environment",factory:()=>new e(yi(Hn))}),t})();function X1(e){ha("NgStandalone"),e.getStandaloneInjector=t=>t.get(oI).getOrCreateStandaloneInjector(e)}function Q1(e,t,n){const r=Zo()+e,i=Vt();return i[r]===Ur?pa(i,r,n?t.call(n):t()):Hl(i,r)}function J1(e,t,n,r){return n_(Vt(),Zo(),e,t,n,r)}function Z1(e,t,n,r,i){return r_(Vt(),Zo(),e,t,n,r,i)}function e_(e,t,n,r,i,a){return function i_(e,t,n,r,i,a,d,m){const b=t+n;return function Of(e,t,n,r,i){const a=Au(e,t,n,r);return So(e,t+2,i)||a}(e,b,i,a,d)?pa(e,b+3,m?r.call(m,i,a,d):r(i,a,d)):td(e,b+3)}(Vt(),Zo(),e,t,n,r,i,a)}
1function t_(e,t,n,r,i,a,d,m,b,X,fe){const Pe=Zo()+e,ot=Vt(),pt=zs(ot,Pe,n,r,i,a);return zs(ot,Pe+4,d,m,b,X)||pt?pa(ot,Pe+8,fe?t.call(fe,n,r,i,a,d,m,b,X):t(n,r,i,a,d,m,b,X)):Hl(ot,Pe+8)}function td(e,t){const n=e[t];return n===Ur?void 0:n}function n_(e,t,n,r,i,a){const d=t+n;return So(e,d,i)?pa(e,d+1,a?r.call(a,i):r(i)):td(e,d+1)}function r_(e,t,n,r,i,a,d){const m=t+n;return Au(e,m,i,a)?pa(e,m+2,d?r.call(d,i,a):r(i,a)):td(e,m+2)}function a_(e,t){const n=Qr();let r;const i=e+Nr;n.firstCreatePass?(r=function hI(e,t){if(t)for(let n=t.length-1;n>=0;n--){const r=t[n];if(e===r.name)return r}}(t,n.pipeRegistry),n.data[i]=r,r.onDestroy&&(n.destroyHooks??=[]).push(i,r.onDestroy)):r=n.data[i];const a=r.factory||(r.factory=fo(r.type)),m=yn(cc);try{const b=hu(!1),X=a();return hu(b),function j2(e,t,n,r){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=r}(n,Vt(),i,X),X}finally{yn(m)}}function u_(e,t,n){const r=e+Nr,i=Vt(),a=$a(i,r);return nd(i,r)?n_(i,Zo(),t,a.transform,n,a):a.transform(n)}function c_(e,t,n,r){const i=e+Nr,a=Vt(),d=$a(a,i);return nd(a,i)?r_(a,Zo(),t,d.transform,n,r,d):d.transform(n,r)}function nd(e,t){return e[Wt].data[t].pure}function l_(e,t){return mf(e,t)}class I_{constructor(t){this.full=t;const n=t.split(".");this.major=n[0],this.minor=n[1],this.patch=n.slice(2).join(".")}}let T_=(()=>{var e;class t{log(r){console.log(r)}warn(r){console.warn(r)}}return(e=t).\u0275fac=function(r){return new(r||e)},e.\u0275prov=ce({token:e,factory:e.\u0275fac,providedIn:"platform"}),t})();const R_=new mt(""),P_=new mt("");let Hg,cT=(()=>{var e;class t{constructor(r,i,a){this._ngZone=r,this.registry=i,this._pendingCount=0,this._isZoneStable=!0,this._callbacks=[],this.taskTrackingZone=null,Hg||(function lT(e){Hg=e}(a),a.addToWindow(i)),this._watchAngularEvents(),r.run(()=>{this.taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{Ro.assertNotInAngularZone(),queueMicrotask(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}increasePendingRequestCount(){return this._pendingCount+=1,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())queueMicrotask(()=>{for(;0!==this._callbacks.length;){let r=this._callbacks.pop();clearTimeout(r.timeoutId),r.doneCb()}});else{let r=this.getPendingTasks();this._callbacks=this._callbacks.filter(i=>!i.updateCb||!i.updateCb(r)||(clearTimeout(i.timeoutId),!1))}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(r=>({source:r.source,creationLocation:r.creationLocation,data:r.data})):[]}addCallback(r,i,a){let d=-1;i&&i>0&&(d=setTimeout(()=>{this._callbacks=this._callbacks.filter(m=>m.timeoutId!==d),r()},i)),this._callbacks.push({doneCb:r,timeoutId:d,updateCb:a})}whenStable(r,i,a){if(a&&!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(r,i,a),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(r){this.registry.registerApplication(r,this)}unregisterApplication(r){this.registry.unregisterApplication(r)}findProviders(r,i,a){return[]}}return(e=t).\u0275fac=function(r){return new(r||e)(yi(Ro),yi(x_),yi(P_))},e.\u0275prov=ce({token:e,factory:e.\u0275fac}),t})(),x_=(()=>{var e;class t{constructor(){this._applications=new Map}registerApplication(r,i){this._applications.set(r,i)}unregisterApplication(r){this._applications.delete(r)}unregisterAllApplications(){this._applications.clear()}getTestability(r){return this._applications.get(r)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(r,i=!0){return Hg?.findTestabilityInTree(this,r,i)??null}}return(e=t).\u0275fac=function(r){return new(r||e)},e.\u0275prov=ce({token:e,factory:e.\u0275fac,providedIn:"platform"}),t})();function Gg(e){return!!e&&"function"==typeof e.then}function $_(e){return!!e&&"function"==typeof e.subscribe}const F_=new mt("");let Kg=(()=>{var e;class t{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((r,i)=>{this.resolve=r,this.reject=i}),this.appInits=Yn(F_,{optional:!0})??[]}
1runInitializers(){if(this.initialized)return;const r=[];for(const a of this.appInits){const d=a();if(Gg(d))r.push(d);else if($_(d)){const m=new Promise((b,X)=>{d.subscribe({complete:b,error:X})});r.push(m)}}const i=()=>{this.done=!0,this.resolve()};Promise.all(r).then(()=>{i()}).catch(a=>{this.reject(a)}),0===r.length&&i(),this.initialized=!0}}return(e=t).\u0275fac=function(r){return new(r||e)},e.\u0275prov=ce({token:e,factory:e.\u0275fac,providedIn:"root"}),t})();const Wg=new mt("");function U_(e,t){return Array.isArray(t)?t.reduce(U_,e):{...e,...t}}let eu=(()=>{var e;class t{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=Yn(Bd),this.afterRenderEffectManager=Yn(Ll),this.externalTestViews=new Set,this.beforeRender=new be.B7,this.afterTick=new be.B7,this.componentTypes=[],this.components=[],this.isStable=Yn(pc).hasPendingTasks.pipe((0,Nn.T)(r=>!r)),this._injector=Yn(Hn)}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(r,i){const a=r instanceof k0;if(!this._injector.get(Kg).done)throw!a&&Di(r),new zt(405,!1);let m;m=a?r:this._injector.get(kl).resolveComponentFactory(r),this.componentTypes.push(m.componentType);const b=function dT(e){return e.isBoundToModule}(m)?void 0:this._injector.get(Tu),fe=m.create(is.NULL,[],i||m.selector,b),Pe=fe.location.nativeElement,ot=fe.injector.get(R_,null);return ot?.registerApplication(Pe),fe.onDestroy(()=>{this.detachView(fe.hostView),Qf(this.components,fe),ot?.unregisterApplication(Pe)}),this._loadComponent(fe),fe}tick(){this._tick(!0)}_tick(r){if(this._runningTick)throw new zt(101,!1);const i=R(null);try{this._runningTick=!0,this.detectChangesInAttachedViews(r)}
1catch(a){this.internalErrorHandler(a)}finally{this.afterTick.next(),this._runningTick=!1,R(i)}}detectChangesInAttachedViews(r){let i=0;const a=this.afterRenderEffectManager;for(;;){if(i===T0)throw new zt(103,!1);if(r){const d=0===i;this.beforeRender.next(d);for(let{_lView:m,notifyErrorHandler:b}of this._views)hT(m,d,b)}if(i++,a.executeInternalCallbacks(),![...this.externalTestViews.keys(),...this._views].some(({_lView:d})=>zg(d))&&(a.execute(),![...this.externalTestViews.keys(),...this._views].some(({_lView:d})=>zg(d))))break}}attachView(r){const i=r;this._views.push(i),i.attachToAppRef(this)}detachView(r){const i=r;Qf(this._views,i),i.detachFromAppRef()}_loadComponent(r){this.attachView(r.hostView),this.tick(),this.components.push(r);const i=this._injector.get(Wg,[]);[...this._bootstrapListeners,...i].forEach(a=>a(r))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(r=>r()),this._views.slice().forEach(r=>r.destroy())}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(r){return this._destroyListeners.push(r),()=>Qf(this._destroyListeners,r)}destroy(){if(this._destroyed)throw new zt(406,!1);const r=this._injector;r.destroy&&!r.destroyed&&r.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}}return(e=t).\u0275fac=function(r){return new(r||e)},e.\u0275prov=ce({token:e,factory:e.\u0275fac,providedIn:"root"}),t})();function Qf(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}function hT(e,t,n){!t&&!zg(e)||function pT(e,t,n){let r;n?(r=0,e[Pn]|=1024):r=64&e[Pn]?0:1,gf(e,t,r)}(e,n,t)}function zg(e){return Ea(e)}class gT{constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}}let mT=(()=>{var e;class t{compileModuleSync(r){return new Zp(r)}compileModuleAsync(r){return Promise.resolve(this.compileModuleSync(r))}compileModuleAndAllComponentsSync(r){const i=this.compileModuleSync(r),d=Ms($i(r).declarations).reduce((m,b)=>{const X=Wn(b);return X&&m.push(new Vl(X)),m},[]);return new gT(i,d)}compileModuleAndAllComponentsAsync(r){return Promise.resolve(this.compileModuleAndAllComponentsSync(r))}clearCache(){}clearCacheFor(r){}getModuleId(r){}}return(e=t).\u0275fac=function(r){return new(r||e)},e.\u0275prov=ce({token:e,factory:e.\u0275fac,providedIn:"root"}),t})(),_T=(()=>{var e;class t{constructor(){this.zone=Yn(Ro),this.applicationRef=Yn(eu)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}}return(e=t).\u0275fac=function(r){return new(r||e)},e.\u0275prov=ce({token:e,factory:e.\u0275fac,providedIn:"root"}),t})();function ET(){const e=Yn(Ro),t=Yn(Ks);return n=>e.runOutsideAngular(()=>t.handleError(n))}let wT=(()=>{var e;class t{constructor(){this.subscription=new Pt.y,this.initialized=!1,this.zone=Yn(Ro),this.pendingTasks=Yn(pc)}initialize(){if(this.initialized)return;this.initialized=!0;let r=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(r=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{Ro.assertNotInAngularZone(),queueMicrotask(()=>{null!==r&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(r),r=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{Ro.assertInAngularZone(),r??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}}return(e=t).\u0275fac=function(r){return new(r||e)},e.\u0275prov=ce({token:e,factory:e.\u0275fac,providedIn:"root"}),t})();const Zf=new mt("",{providedIn:"root",factory:()=>Yn(Zf,Ge.Optional|Ge.SkipSelf)||function ST(){return typeof $localize<"u"&&$localize.locale||xc}()}),CT=new mt("",{providedIn:"root",factory:()=>"USD"}),qg=new mt("");let H_=(()=>{var e;class t{constructor(r){this._injector=r,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(r,i){const a=function fS(e="zone.js",t){return"noop"===e?new G0:"zone.js"===e?new Ro(t):e}(i?.ngZone,function j_(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}({eventCoalescing:i?.ngZoneEventCoalescing,runCoalescing:i?.ngZoneRunCoalescing}));return a.run(()=>
1{const d=function rC(e,t,n){return new Jp(e,t,n)}(r.moduleType,this.injector,function V_(e){return[{provide:Ro,useFactory:e},{provide:hi,multi:!0,useFactory:()=>{const t=Yn(_T,{optional:!0});return()=>t.initialize()}},{provide:hi,multi:!0,useFactory:()=>{const t=Yn(wT);return()=>{t.initialize()}}},{provide:Bd,useFactory:ET}]}(()=>a)),m=d.injector.get(Ks,null);return a.runOutsideAngular(()=>{const b=a.onError.subscribe({next:X=>{m.handleError(X)}});d.onDestroy(()=>{Qf(this._modules,d),b.unsubscribe()})}),function L_(e,t,n){try{const r=n();return Gg(r)?r.catch(i=>{throw t.runOutsideAngular(()=>e.handleError(i)),i}):r}catch(r){throw t.runOutsideAngular(()=>e.handleError(r)),r}}(m,a,()=>{const b=d.injector.get(Kg);return b.runInitializers(),b.donePromise.then(()=>(function Fy(e){"string"==typeof e&&($y=e.toLowerCase().replace(/_/g,"-"))}(d.injector.get(Zf,xc)||xc),this._moduleDoBootstrap(d),d))})})}bootstrapModule(r,i=[]){const a=U_({},i);return function yT(e,t,n){const r=new Zp(n);return Promise.resolve(r)}(0,0,r).then(d=>this.bootstrapModuleFactory(d,a))}_moduleDoBootstrap(r){const i=r.injector.get(eu);if(r._bootstrapComponents.length>0)r._bootstrapComponents.forEach(a=>i.bootstrap(a));else{if(!r.instance.ngDoBootstrap)throw new zt(-403,!1);r.instance.ngDoBootstrap(i)}this._modules.push(r)}onDestroy(r){this._destroyListeners.push(r)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new zt(404,!1);this._modules.slice().forEach(i=>i.destroy()),this._destroyListeners.forEach(i=>i());const r=this._injector.get(qg,null);r&&(r.forEach(i=>i()),r.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}}return(e=t).\u0275fac=function(r){return new(r||e)(yi(is))},e.\u0275prov=ce({token:e,factory:e.\u0275fac,providedIn:"platform"}),t})(),tu=null;const G_=new mt("");function K_(e,t,n=[]){const r=`Platform: ${t}`,i=new mt(r);return(a=[])=>{let d=Xg();if(!d||d.injector.get(G_,!1)){const m=[...n,...a,{provide:i,useValue:!0}];e?e(m):function IT(e){if(tu&&!tu.get(G_,!1))throw new zt(400,!1);(function k_(){!function an(e){vn=e}(()=>{throw new zt(600,!1)})})(),tu=e;const t=e.get(H_);(function z_(e){e.get(mm,null)?.forEach(n=>n())})(e)}(function W_(e=[],t){return is.create({name:t,providers:[{provide:Nt,useValue:"platform"},{provide:qg,useValue:new Set([()=>tu=null])},...e]})}(m,r))}return function TT(e){const t=Xg();if(!t)throw new zt(401,!1);return t}()}}function Xg(){return tu?.get(H_)??null}function MT(){return!1}function OT(){}let X_=(()=>{class t{}return t.__NG_ELEMENT_ID__=NT,t})();function NT(e){return function RT(e,t,n){if(Qs(e)&&!n){const r=ds(e.index,t);return new Nl(r,r)}return 47&e.type?new Nl(t[Fi],t):null}(vi(),Vt(),!(16&~e))}class Z_{constructor(){}supports(t){return Mf(t)}create(t){return new kT(t)}}const FT=(e,t)=>t;class kT{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||FT}forEachItem(t){let n;for(n=this._itHead;null!==n;n=n._next)t(n)}forEachOperation(t){let n=this._itHead,r=this._removalsHead,i=0,a=null;for(;n||r;){const d=!r||n&&n.currentIndex<tE(r,i,a)?n:r,m=tE(d,i,a),b=d.currentIndex;if(d===r)i--,r=r._nextRemoved;else if(n=n._next,null==d.previousIndex)i++;else{a||(a=[]);const X=m-i,fe=b-i;if(X!=fe){for(let ot=0;ot<X;ot++){const pt=ot<a.length?a[ot]:a[ot]=0,bt=pt+ot;fe<=bt&&bt<X&&(a[ot]=pt+1)}a[d.previousIndex]=fe-X}}m!==b&&t(d,m,b)}}forEachPreviousItem(t){let n;for(n=this._previousItHead;null!==n;n=n._nextPrevious)t(n)}forEachAddedItem(t){let n;for(n=this._additionsHead;null!==n;n=n._nextAdded)t(n)}forEachMovedItem(t){let n;for(n=this._movesHead;null!==n;n=n._nextMoved)t(n)}forEachRemovedItem(t){let n;for(n=this._removalsHead;null!==n;n=n._nextRemoved)t(n)}forEachIdentityChange(t){let n;for(n=this._identityChangesHead;null!==n;n=n._nextIdentityChange)t(n)}diff(t){if(null==t&&(t=[]),!Mf(t))throw new zt(900,!1);return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let i,a,d,n=this._itHead,r=!1;if(Array.isArray(t)){this.length=t.length;for(let m=0;m<this.length;m++)a=t[m],d=this._trackByFn(m,a),null!==n&&Object.is(n.trackById,d)?(r&&(n=this._verifyReinsertion(n,a,d,m)),Object.is(n.item,a)||this._addIdentityChange(n,a)):(n=this._mismatch(n,a,d,m),r=!0),n=n._next}else i=0,function aC(e,t){if(Array.isArray(e))for(let n=0;n<e.length;n++)t(e[n]);else{const n=e[Symbol.iterator]();let r;for(;!(r=n.next()).done;)t(r.value)}}(t,m=>{d=this._trackByFn(i,m),null!==n&&Object.is(n.trackById,d)?(r&&(n=this._verifyReinsertion(n,m,d,i)),Object.is(n.item,m)||this._addIdentityChange(n,m)):(n=this._mismatch(n,m,d,i),r=!0),n=n._next,i++}),this.length=i;return this._truncate(n),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,n,r,i){let a;return null===t?a=this._itTail:(a=t._prev,this._remove(t)),null!==(t=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null))?(Object.is(t.
vendor: 4,576 bytes, line 1
1item,n)||this._addIdentityChange(t,n),this._reinsertAfter(t,a,i)):null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(r,i))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._moveAfter(t,a,i)):t=this._addAfter(new LT(n,r),a,i),t}_verifyReinsertion(t,n,r,i){let a=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null);return null!==a?t=this._reinsertAfter(a,t._prev,i):t.currentIndex!=i&&(t.currentIndex=i,this._addToMoves(t,i)),t}_truncate(t){for(;null!==t;){const n=t._next;this._addToRemovals(this._unlink(t)),t=n}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,n,r){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(t);const i=t._prevRemoved,a=t._nextRemoved;return null===i?this._removalsHead=a:i._nextRemoved=a,null===a?this._removalsTail=i:a._prevRemoved=i,this._insertAfter(t,n,r),this._addToMoves(t,r),t}_moveAfter(t,n,r){return this._unlink(t),this._insertAfter(t,n,r),this._addToMoves(t,r),t}_addAfter(t,n,r){return this._insertAfter(t,n,r),this._additionsTail=null===this._additionsTail?this._additionsHead=t:this._additionsTail._nextAdded=t,t}_insertAfter(t,n,r){const i=null===n?this._itHead:n._next;return t._next=i,t._prev=n,null===i?this._itTail=t:i._prev=t,null===n?this._itHead=t:n._next=t,null===this._linkedRecords&&(this._linkedRecords=new eE),this._linkedRecords.put(t),t.currentIndex=r,t}_remove(t){return this._addToRemovals(this._unlink(t))}_unlink(t){null!==this._linkedRecords&&this._linkedRecords.remove(t);const n=t._prev,r=t._next;return null===n?this._itHead=r:n._next=r,null===r?this._itTail=n:r._prev=n,t}_addToMoves(t,n){return t.previousIndex===n||(this._movesTail=null===this._movesTail?this._movesHead=t:this._movesTail._nextMoved=t),t}_addToRemovals(t){return null===this._unlinkedRecords&&(this._unlinkedRecords=new eE),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,n){return t.item=n,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=t:this._identityChangesTail._nextIdentityChange=t,t}}class LT{constructor(t,n){this.item=t,this.trackById=n,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 UT{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,n){let r;for(r=this._head;null!==r;r=r._nextDup)if((null===n||n<=r.currentIndex)&&Object.is(r.trackById,t))return r;return null}remove(t){const n=t._prevDup,r=t._nextDup;return null===n?this._head=r:n._nextDup=r,null===r?this._tail=n:r._prevDup=n,null===this._head}}class eE{constructor(){this.map=new Map}put(t){const n=t.trackById;let r=this.map.get(n);r||(r=new UT,this.map.set(n,r)),r.add(t)}get(t,n){const i=this.map.get(t);return i?i.get(t,n):null}remove(t){const n=t.trackById;return this.map.get(n).remove(t)&&this.map.delete(n),t}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function tE(e,t,n){const r=e.previousIndex;if(null===r)return r;let i=0;return n&&r<n.length&&(i=n[r]),r+t+i}class nE{constructor(){}supports(t){return t instanceof Map||tg(t)}create(){return new BT}}class BT{constructor(){this._records=new Map,this._mapHead=null,this._appendAfter=null,this._previousMapHead=null,this._changesHead=null,this._changesTail=null,this._additionsHead=null,this._additionsTail=null,this._removalsHead=null,this._removalsTail=null}get isDirty(){return null!==this._additionsHead||null!==this._changesHead||null!==this._removalsHead}forEachItem(t){let n;for(n=this._mapHead;null!==n;n=n._next)t(n)}forEachPreviousItem(t){let n;for(n=this._previousMapHead;null!==n;n=n._nextPrevious)t(n)}forEachChangedItem(t){let n;for(n=this._changesHead;null!==n;n=n._nextChanged)t(n)}forEachAddedItem(t){let n;for(n=this._additionsHead;null!==n;
1n=n._nextAdded)t(n)}forEachRemovedItem(t){let n;for(n=this._removalsHead;null!==n;n=n._nextRemoved)t(n)}diff(t){if(t){if(!(t instanceof Map||tg(t)))throw new zt(900,!1)}else t=new Map;return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let n=this._mapHead;if(this._appendAfter=null,this._forEach(t,(r,i)=>{if(n&&n.key===i)this._maybeAddToChanges(n,r),this._appendAfter=n,n=n._next;else{const a=this._getOrCreateRecordForKey(i,r);n=this._insertBeforeOrAppend(n,a)}}),n){n._prev&&(n._prev._next=null),this._removalsHead=n;for(let r=n;null!==r;r=r._nextRemoved)r===this._mapHead&&(this._mapHead=null),this._records.delete(r.key),r._nextRemoved=r._next,r.previousValue=r.currentValue,r.currentValue=null,r._prev=null,r._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(t,n){if(t){const r=t._prev;return n._next=t,n._prev=r,t._prev=n,r&&(r._next=n),t===this._mapHead&&(this._mapHead=n),this._appendAfter=t,t}return this._appendAfter?(this._appendAfter._next=n,n._prev=this._appendAfter):this._mapHead=n,this._appendAfter=n,null}_getOrCreateRecordForKey(t,n){if(this._records.has(t)){const i=this._records.get(t);this._maybeAddToChanges(i,n);const a=i._prev,d=i._next;return a&&(a._next=d),d&&(d._prev=a),i._next=null,i._prev=null,i}const r=new VT(t);return this._records.set(t,r),r.currentValue=n,this._addToAdditions(r),r}_reset(){if(this.isDirty){let t;for(this._previousMapHead=this._mapHead,t=this._previousMapHead;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,n){Object.is(n,t.currentValue)||(t.previousValue=t.currentValue,t.currentValue=n,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,n){t instanceof Map?t.forEach(n):Object.keys(t).forEach(r=>n(t[r],r))}}class VT{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 rE(){return new em([new Z_])}let em=(()=>{var e;class t{constructor(r){this.factories=r}static create(r,i){if(null!=i){const a=i.factories.slice();r=r.concat(a)}return new t(r)}static extend(r){return{provide:t,useFactory:i=>t.create(r,i||rE()),deps:[[t,new io,new Yi]]}}find(r){const i=this.factories.find(a=>a.supports(r));if(null!=i)return i;throw new zt(901,!1)}}return(e=t).\u0275prov=ce({token:e,providedIn:"root",factory:rE}),t})();function iE(){return new tm([new nE])}let tm=(()=>{var e;class t{constructor(r){this.factories=r}static create(r,i){if(i){const a=i.factories.slice();r=r.concat(a)}return new t(r)}static extend(r){return{provide:t,useFactory:i=>t.create(r,i||iE()),deps:[[t,new io,new Yi]]}}find(r){const i=this.factories.find(a=>a.supports(r));if(i)return i;throw new zt(901,!1)}}return(e=t).\u0275prov=ce({token:e,providedIn:"root",factory:iE}),t})();const GT=K_(null,"core",[]);let KT=(()=>{var e;class t{constructor(r){}}return(e=t).\u0275fac=function(r){return new(r||e)(yi(eu))},e.\u0275mod=ar({type:e}),e.\u0275inj=He({}),t})();function EA(e){return"boolean"==typeof e?e:null!=e&&"false"!==e}function wA(e,t){ha("NgSignals");const n=function Me(e){const t=Object.create(_t);t.computation=e;const n=()=>
1{if(x(t),k(t),t.value===me)throw t.error;return t.value};return n[P]=t,n}(e);return t?.equal&&(n[P].equal=t.equal),n}function SA(e){const t=R(null);try{return e()}finally{R(t)}}const CA=new mt("",{providedIn:"root",factory:()=>Yn(DA)});let DA=(()=>{var e;class t{}return(e=t).\u0275prov=ce({token:e,providedIn:"root",factory:()=>new IA}),t})();class IA{constructor(){this.queuedEffectCount=0,this.queues=new Map,this.pendingTasks=Yn(pc),this.taskId=null}scheduleEffect(t){if(this.enqueue(t),null===this.taskId){const n=this.taskId=this.pendingTasks.add();queueMicrotask(()=>{this.flush(),this.pendingTasks.remove(n),this.taskId=null})}}enqueue(t){const n=t.creationZone;this.queues.has(n)||this.queues.set(n,new Set);const r=this.queues.get(n);r.has(t)||(this.queuedEffectCount++,r.add(t))}flush(){for(;this.queuedEffectCount>0;)for(const[t,n]of this.queues)null===t?this.flushQueue(n):t.run(()=>this.flushQueue(n))}flushQueue(t){for(const n of t)t.delete(n),this.queuedEffectCount--,n.run()}}class TA{constructor(t,n,r,i,a,d){this.scheduler=t,this.effectFn=n,this.creationZone=r,this.injector=a,this.watcher=function wn(e,t,n){const r=Object.create(pn);n&&(r.consumerAllowSignalWrites=!0),r.fn=e,r.schedule=t;const i=b=>{r.cleanupFn=b};return r.ref={notify:()=>Se(r),run:()=>{if(null===r.fn)return;if(function W(){return j}())throw new Error("Schedulers cannot synchronously execute watches while scheduling.");if(r.dirty=!1,r.hasRun&&!Je(r))return;r.hasRun=!0;const b=$e(r);try{r.cleanupFn(),r.cleanupFn=Mn,r.fn(i)}finally{Re(r,b)}},cleanup:()=>r.cleanupFn(),destroy:()=>function d(b){(function a(b){return null===b.fn&&null===b.schedule})(b)||(st(b),b.cleanupFn(),b.fn=null,b.schedule=null,b.cleanupFn=Mn)}(r),[P]:r},r.ref}(m=>this.runEffect(m),()=>this.schedule(),d),this.unregisterOnDestroy=i?.onDestroy(()=>this.destroy())}runEffect(t){try{this.effectFn(t)}catch(n){this.injector.get(Ks,null,{optional:!0})?.handleError(n)}}run(){this.watcher.run()}schedule(){this.scheduler.scheduleEffect(this)}destroy(){this.watcher.destroy(),this.unregisterOnDestroy?.()}}function IE(e,t){ha("NgSignals"),!t?.injector&&$s();const n=t?.injector??Yn(is),r=!0!==t?.manualCleanup?n.get(ea):null,i=new TA(n.get(CA),e,typeof Zone>"u"?null:Zone.current,r,n,t?.allowSignalWrites??!1),a=n.get(X_,null,{optional:!0});return a&&8&a._lView[Pn]?(a._lView[nu]??=[]).push(i.watcher.notify):i.watcher.notify(),i}function AA(e){const t=Wn(e);if(!t)return null;const n=new Vl(t);return{get selector(){return n.selector},get type(){return n.componentType},get inputs(){return n.inputs},get outputs(){return n.outputs},get ngContentSelectors(){return n.ngContentSelectors},get isStandalone(){return t.standalone},get isSignal(){return t.signals}}}},9074:(Qe,ge,v)=>{"use strict";v.d(ge,{ot:()=>R});var c=v(8559);function R(D,W){const $=!W?.manualCleanup;$&&!W?.injector&&(0,c.Af3)(R);const F=$?W?.injector?.get(c.abz)??(0,c.WQX)(c.abz):null;let k;k=(0,c.vPA)(W?.requireSync?{kind:0}:{kind:1,value:W?.initialValue});const oe=D.subscribe({next:x=>k.set({kind:1,value:x}),error:x=>{if(W?.rejectErrors)throw x;k.set({kind:2,error:x})}});return F?.onDestroy(oe.unsubscribe.bind(oe)),(0,c.EWP)(()=>{const x=k();switch(x.kind){case 1:return x.value;case 2:throw x.error;case 0:throw new c.wOt(601,"`toSignal()` called with `requireSync` but `Observable` did not emit synchronously.")}})}},4456:(Qe,ge,v)=>{"use strict";v.d(ge,{BC:()=>Hr,Fm:()=>Ge,JD:()=>Xi,MJ:()=>Er,Q0:()=>O,R_:()=>mo,X1:()=>ps,Zm:()=>$,cb:()=>zt,j4:()=>sr,k0:()=>Je,me:()=>x,ok:()=>Xo,qT:()=>lo,tU:()=>Mo,wz:()=>yi,xH:()=>Si,xh:()=>Ai,y7:()=>Ko});var c=v(8559),h=v(316),G=v(2677),j=v(8757),K=v(5443);let P=(()=>{var z;class H{constructor(Q,Le){this._renderer=Q,this._elementRef=Le,this.onChange=A=>{},this.onTouched=()=>{}}setProperty(Q,Le){this._renderer.setProperty(this._elementRef.nativeElement,Q,Le)}registerOnTouched(Q){this.onTouched=Q}registerOnChange(Q){this.onChange=Q}setDisabledState(Q){this.setProperty("disabled",Q)}}return(z=H).\u0275fac=function(Q){return new(Q||z)(c.rXU(c.sFG),c.rXU(c.aKT))},z.\u0275dir=c.FsC({type:z}),H})(),R=(()=>{var z;class H extends P{}return(z=H).\u0275fac=(()=>{let Te;return function(Le){return(Te||(Te=c.xGo(z)))(Le||z)}})(),z.\u0275dir=c.FsC({type:z,features:[c.Vt3]}),H})();const D=new c.nKC(""),W={provide:D,useExisting:(0,c.Rfq)(()=>$),multi:!0};let $=(()=>{var z;class H extends R{writeValue(Q){this.setProperty("checked",Q)}}return(z=H).\u0275fac=(()=>{let Te;return function(Le){return(Te||(Te=c.xGo(z)))(Le||z)}})(),z.\u0275dir=c.FsC({type:z,selectors:[["input","type","checkbox","formControlName",""],["input","type","checkbox","formControl",""],["input","type","checkbox","ngModel",""]],hostBindings:function(Q,Le){1&Q&&c.bIt("change",function(g){return Le.onChange(g.target.checked)})("blur",function(){return Le.onTouched()})},features:[c.Jv_([W]),c.Vt3]}),H})();const F={provide:D,useExisting:(0,c.Rfq)(()=>x),multi:!0},oe=new c.nKC("");let x=(()=>{var z;class H extends P{constructor(Q,Le,A){super(Q,Le),this._compositionMode=A,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function k(){const z=(0,h.QT)()?(0,h.QT)().getUserAgent():"";return/android (\d+)/.test(z.toLowerCase())}())}writeValue(Q){this.setProperty("value",Q??"")}_handleInput(Q){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(Q)}_compositionStart(){this._composing=!0}_compositionEnd(Q){this._composing=!1,this._compositionMode&&this.onChange(Q)}}return(z=H).\u0275fac=function(Q){return new(Q||z)(c.rXU(c.sFG),c.rXU(c.aKT),c.rXU(oe,8))},z.\u0275dir=c.FsC({type:z,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(Q,Le){1&Q&&c.bIt("input",function(g){return Le._handleInput(g.target.value)})("blur",function(){return Le.onTouched()})("compositionstart",function(){return Le._compositionStart()})("compositionend",function(g){return Le._compositionEnd(g.target.value)})},features:[c.Jv_([F]),c.Vt3]}),H})();function ue(z){return null==z||("string"==typeof z||Array.isArray(z))&&0===z.length}function le(z){return null!=z&&"number"==typeof z.length}const Se=new c.nKC(""),$e=new c.nKC(""),Re=/^(?=.{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 Je{static min(H){return function st(z){return H=>{if(ue(H.value)||ue(z))return null;const Te=parseFloat(H.value);return!isNaN(Te)&&Te<z?{min:{min:z,actual:H.value}}:null}}(H)}static max(H){return function at(z){return H=>{if(ue(H.value)||ue(z))return null;const Te=parseFloat(H.value);return!isNaN(Te)&&Te>z?{max:{max:z,actual:H.value}}:null}}(H)}static required(H){return function nt(z){return ue(z.value)?{required:!0}:null}(H)}static requiredTrue(H){return function we(z){return!0===z.value?null:{required:!0}}(H)}static email(H){return function re(z){return ue(z.value)||Re.test(z.value)?null:{email:!0}}(H)}static minLength(H){return ye(H)}static maxLength(H){return Me(H)}static pattern(H){return Ie(H)}static nullValidator(H){return null}static compose(H){return Ut(H)}static composeAsync(H){return rn(H)}}function ye(z){return H=>ue(H.value)||!le(H.value)?null:H.value.length<z?{minlength:{requiredLength:z,actualLength:H.value.length}}:null}function Me(z){return H=>le(H.value)&&H.value.length>z?{maxlength:{requiredLength:z,actualLength:H.value.length}}:null}function Ie(z){if(!z)return We;let H,Te;
1return"string"==typeof z?(Te="","^"!==z.charAt(0)&&(Te+="^"),Te+=z,"$"!==z.charAt(z.length-1)&&(Te+="$"),H=new RegExp(Te)):(Te=z.toString(),H=z),Q=>{if(ue(Q.value))return null;const Le=Q.value;return H.test(Le)?null:{pattern:{requiredPattern:Te,actualValue:Le}}}}function We(z){return null}function me(z){return null!=z}function _t(z){return(0,c.jNT)(z)?(0,G.H)(z):z}function Yt(z){let H={};return z.forEach(Te=>{H=null!=Te?{...H,...Te}:H}),0===Object.keys(H).length?null:H}function vn(z,H){return H.map(Te=>Te(z))}function an(z){return z.map(H=>function Gt(z){return!z.validate}(H)?H:Te=>H.validate(Te))}function Ut(z){if(!z)return null;const H=z.filter(me);return 0==H.length?null:function(Te){return Yt(vn(Te,H))}}function Xt(z){return null!=z?Ut(an(z)):null}function rn(z){if(!z)return null;const H=z.filter(me);return 0==H.length?null:function(Te){const Q=vn(Te,H).map(_t);return(0,j.p)(Q).pipe((0,K.T)(Yt))}}function Cn(z){return null!=z?rn(an(z)):null}function On(z,H){return null===z?[H]:Array.isArray(z)?[...z,H]:[z,H]}function Bn(z){return z._rawValidators}function dn(z){return z._rawAsyncValidators}function Qt(z){return z?Array.isArray(z)?z:[z]:[]}function wn(z,H){return Array.isArray(z)?z.includes(H):z===H}function Mn(z,H){const Te=Qt(H);return Qt(z).forEach(Le=>{wn(Te,Le)||Te.push(Le)}),Te}function pn(z,H){return Qt(H).filter(Te=>!wn(z,Te))}class Zn{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(H){this._rawValidators=H||[],this._composedValidatorFn=Xt(this._rawValidators)}_setAsyncValidators(H){this._rawAsyncValidators=H||[],this._composedAsyncValidatorFn=Cn(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(H){this._onDestroyCallbacks.push(H)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(H=>H()),this._onDestroyCallbacks=[]}reset(H=void 0){this.control&&this.control.reset(H)}hasError(H,Te){return!!this.control&&this.control.hasError(H,Te)}getError(H,Te){return this.control?this.control.getError(H,Te):null}}class be extends Zn{get formDirective(){return null}get path(){return null}}class Pt extends Zn{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class In{constructor(H){this._cd=H}get isTouched(){return!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return!!this._cd?.submitted}}let Hr=(()=>{var z;class H extends In{constructor(Q){super(Q)}}return(z=H).\u0275fac=function(Q){return new(Q||z)(c.rXU(Pt,2))},z.\u0275dir=c.FsC({type:z,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(Q,Le){2&Q&&c.AVh("ng-untouched",Le.isUntouched)("ng-touched",Le.isTouched)("ng-pristine",Le.isPristine)("ng-dirty",Le.isDirty)("ng-valid",Le.isValid)("ng-invalid",Le.isInvalid)("ng-pending",Le.isPending)},features:[c.Vt3]}),H}
1)(),zt=(()=>{var z;class H extends In{constructor(Q){super(Q)}}return(z=H).\u0275fac=function(Q){return new(Q||z)(c.rXU(be,10))},z.\u0275dir=c.FsC({type:z,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(Q,Le){2&Q&&c.AVh("ng-untouched",Le.isUntouched)("ng-touched",Le.isTouched)("ng-pristine",Le.isPristine)("ng-dirty",Le.isDirty)("ng-valid",Le.isValid)("ng-invalid",Le.isInvalid)("ng-pending",Le.isPending)("ng-submitted",Le.isSubmitted)},features:[c.Vt3]}),H})();const jn="VALID",oi="INVALID",or="PENDING",Dr="DISABLED";function Ei(z){return(Oe(z)?z.validators:z)||null}function It(z,H){return(Oe(H)?H.asyncValidators:z)||null}function Oe(z){return null!=z&&!Array.isArray(z)&&"object"==typeof z}function tt(z,H,Te){const Q=z.controls;if(!(H?Object.keys(Q):Q).length)throw new c.wOt(1e3,"");if(!Q[Te])throw new c.wOt(1001,"")}function Xe(z,H,Te){z._forEachChild((Q,Le)=>{if(void 0===Te[Le])throw new c.wOt(1002,"")})}class ft{constructor(H,Te){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._assignValidators(H),this._assignAsyncValidators(Te)}get validator(){return this._composedValidatorFn}set validator(H){this._rawValidators=this._composedValidatorFn=H}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(H){this._rawAsyncValidators=this._composedAsyncValidatorFn=H}get parent(){return this._parent}get valid(){return this.status===jn}get invalid(){return this.status===oi}get pending(){return this.status==or}get disabled(){return this.status===Dr}get enabled(){return this.status!==Dr}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(H){this._assignValidators(H)}setAsyncValidators(H){this._assignAsyncValidators(H)}addValidators(H){this.setValidators(Mn(H,this._rawValidators))}addAsyncValidators(H){this.setAsyncValidators(Mn(H,this._rawAsyncValidators))}removeValidators(H){this.setValidators(pn(H,this._rawValidators))}removeAsyncValidators(H){this.setAsyncValidators(pn(H,this._rawAsyncValidators))}hasValidator(H){return wn(this._rawValidators,H)}hasAsyncValidator(H){return wn(this._rawAsyncValidators,H)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(H={}){this.touched=!0,this._parent&&!H.onlySelf&&this._parent.markAsTouched(H)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(H=>H.markAllAsTouched())}markAsUntouched(H={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(Te=>{Te.markAsUntouched({onlySelf:!0})}),this._parent&&!H.onlySelf&&this._parent._updateTouched(H)}markAsDirty(H={}){this.pristine=!1,this._parent&&!H.onlySelf&&this._parent.markAsDirty(H)}markAsPristine(H={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(Te=>{Te.markAsPristine({onlySelf:!0})}),this._parent&&!H.onlySelf&&this._parent._updatePristine(H)}markAsPending(H={}){this.status=or,!1!==H.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!H.onlySelf&&this._parent.markAsPending(H)}disable(H={}){const Te=this._parentMarkedDirty(H.onlySelf);this.status=Dr,this.errors=null,this._forEachChild(Q=>{Q.disable({...H,onlySelf:!0})}),this._updateValue(),!1!==H.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...H,skipPristineCheck:Te}),this._onDisabledChange.forEach(Q=>Q(!0))}enable(H={}){const Te=this._parentMarkedDirty(H.onlySelf);this.status=jn,this._forEachChild(Q=>{Q.enable({...H,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:H.emitEvent}),this._updateAncestors({...H,skipPristineCheck:Te}),this._onDisabledChange.forEach(Q=>Q(!1))}_updateAncestors(H){this._parent&&!H.onlySelf&&(this._parent.updateValueAndValidity(H),H.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(H){this._parent=H}getRawValue(){return this.value}updateValueAndValidity(H={}
1){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===jn||this.status===or)&&this._runAsyncValidator(H.emitEvent)),!1!==H.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!H.onlySelf&&this._parent.updateValueAndValidity(H)}_updateTreeValidity(H={emitEvent:!0}){this._forEachChild(Te=>Te._updateTreeValidity(H)),this.updateValueAndValidity({onlySelf:!0,emitEvent:H.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?Dr:jn}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(H){if(this.asyncValidator){this.status=or,this._hasOwnPendingAsyncValidator=!0;const Te=_t(this.asyncValidator(this));this._asyncValidationSubscription=Te.subscribe(Q=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(Q,{emitEvent:H})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(H,Te={}){this.errors=H,this._updateControlsErrors(!1!==Te.emitEvent)}get(H){let Te=H;return null==Te||(Array.isArray(Te)||(Te=Te.split(".")),0===Te.length)?null:Te.reduce((Q,Le)=>Q&&Q._find(Le),this)}getError(H,Te){const Q=Te?this.get(Te):this;return Q&&Q.errors?Q.errors[H]:null}hasError(H,Te){return!!this.getError(H,Te)}get root(){let H=this;for(;H._parent;)H=H._parent;return H}_updateControlsErrors(H){this.status=this._calculateStatus(),H&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(H)}_initObservables(){this.valueChanges=new c.bkB,this.statusChanges=new c.bkB}_calculateStatus(){return this._allControlsDisabled()?Dr:this.errors?oi:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(or)?or:this._anyControlsHaveStatus(oi)?oi:jn}_anyControlsHaveStatus(H){return this._anyControls(Te=>Te.status===H)}_anyControlsDirty(){return this._anyControls(H=>H.dirty)}_anyControlsTouched(){return this._anyControls(H=>H.touched)}_updatePristine(H={}){this.pristine=!this._anyControlsDirty(),this._parent&&!H.onlySelf&&this._parent._updatePristine(H)}_updateTouched(H={}){this.touched=this._anyControlsTouched(),this._parent&&!H.onlySelf&&this._parent._updateTouched(H)}_registerOnCollectionChange(H){this._onCollectionChange=H}_setUpdateStrategy(H){Oe(H)&&null!=H.updateOn&&(this._updateOn=H.updateOn)}_parentMarkedDirty(H){return!H&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}_find(H){return null}_assignValidators(H){this._rawValidators=Array.isArray(H)?H.slice():H,this._composedValidatorFn=function Et(z){return Array.isArray(z)?Xt(z):z||null}(this._rawValidators)}_assignAsyncValidators(H){this._rawAsyncValidators=Array.isArray(H)?H.slice():H,this._composedAsyncValidatorFn=function Ue(z){return Array.isArray(z)?Cn(z):z||null}(this._rawAsyncValidators)}}class Bt extends ft{constructor(H,Te,Q){super(Ei(Te),It(Q,Te)),this.controls=H,this._initObservables(),this._setUpdateStrategy(Te),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(H,Te){return this.controls[H]?this.controls[H]:(this.controls[H]=Te,Te.setParent(this),Te._registerOnCollectionChange(this._onCollectionChange),Te)}addControl(H,Te,Q={}){this.registerControl(H,Te),this.updateValueAndValidity({emitEvent:Q.emitEvent}),this._onCollectionChange()}removeControl(H,Te={}){this.controls[H]&&this.controls[H]._registerOnCollectionChange(()=>{}),delete this.controls[H],this.updateValueAndValidity({emitEvent:Te.emitEvent}),this._onCollectionChange()}setControl(H,Te,Q={}){this.controls[H]&&this.controls[H]._registerOnCollectionChange(()=>{}),delete this.controls[H],Te&&this.registerControl(H,Te),this.updateValueAndValidity({emitEvent:Q.emitEvent}),this._onCollectionChange()}contains(H){return this.controls.hasOwnProperty(H)&&this.controls[H].enabled}setValue(H,Te={}){Xe(this,0,H),Object.keys(H).forEach(Q=>{tt(this,!0,Q),this.controls[Q].setValue(H[Q],{onlySelf:!0,emitEvent:Te.emitEvent})}
vendor: 4,235 bytes, line 1
1),this.updateValueAndValidity(Te)}patchValue(H,Te={}){null!=H&&(Object.keys(H).forEach(Q=>{const Le=this.controls[Q];Le&&Le.patchValue(H[Q],{onlySelf:!0,emitEvent:Te.emitEvent})}),this.updateValueAndValidity(Te))}reset(H={},Te={}){this._forEachChild((Q,Le)=>{Q.reset(H?H[Le]:null,{onlySelf:!0,emitEvent:Te.emitEvent})}),this._updatePristine(Te),this._updateTouched(Te),this.updateValueAndValidity(Te)}getRawValue(){return this._reduceChildren({},(H,Te,Q)=>(H[Q]=Te.getRawValue(),H))}_syncPendingControls(){let H=this._reduceChildren(!1,(Te,Q)=>!!Q._syncPendingControls()||Te);return H&&this.updateValueAndValidity({onlySelf:!0}),H}_forEachChild(H){Object.keys(this.controls).forEach(Te=>{const Q=this.controls[Te];Q&&H(Q,Te)})}_setUpControls(){this._forEachChild(H=>{H.setParent(this),H._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(H){for(const[Te,Q]of Object.entries(this.controls))if(this.contains(Te)&&H(Q))return!0;return!1}_reduceValue(){return this._reduceChildren({},(Te,Q,Le)=>((Q.enabled||this.disabled)&&(Te[Le]=Q.value),Te))}_reduceChildren(H,Te){let Q=H;return this._forEachChild((Le,A)=>{Q=Te(Q,Le,A)}),Q}_allControlsDisabled(){for(const H of Object.keys(this.controls))if(this.controls[H].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(H){return this.controls.hasOwnProperty(H)?this.controls[H]:null}}class kr extends Bt{}const tr=new c.nKC("CallSetDisabledState",{providedIn:"root",factory:()=>_r}),_r="always";function Zr(z,H,Te=_r){Vi(z,H),H.valueAccessor.writeValue(z.value),(z.disabled||"always"===Te)&&H.valueAccessor.setDisabledState?.(z.disabled),function rt(z,H){H.valueAccessor.registerOnChange(Te=>{z._pendingValue=Te,z._pendingChange=!0,z._pendingDirty=!0,"change"===z.updateOn&&ce(z,H)})}(z,H),function Ze(z,H){const Te=(Q,Le)=>{H.valueAccessor.writeValue(Q),Le&&H.viewToModelUpdate(Q)};z.registerOnChange(Te),H._registerOnDestroy(()=>{z._unregisterOnChange(Te)})}(z,H),function Ye(z,H){H.valueAccessor.registerOnTouched(()=>{z._pendingTouched=!0,"blur"===z.updateOn&&z._pendingChange&&ce(z,H),"submit"!==z.updateOn&&z.markAsTouched()})}(z,H),function co(z,H){if(H.valueAccessor.setDisabledState){const Te=Q=>{H.valueAccessor.setDisabledState(Q)};z.registerOnDisabledChange(Te),H._registerOnDestroy(()=>{z._unregisterOnDisabledChange(Te)})}}(z,H)}function Ot(z,H,Te=!0){const Q=()=>{};H.valueAccessor&&(H.valueAccessor.registerOnChange(Q),H.valueAccessor.registerOnTouched(Q)),ji(z,H),z&&(H._invokeOnDestroyCallbacks(),z._registerOnCollectionChange(()=>{}))}function Rn(z,H){z.forEach(Te=>{Te.registerOnValidatorChange&&Te.registerOnValidatorChange(H)})}function Vi(z,H){const Te=Bn(z);null!==H.validator?z.setValidators(On(Te,H.validator)):"function"==typeof Te&&z.setValidators([Te]);const Q=dn(z);null!==H.asyncValidator?z.setAsyncValidators(On(Q,H.asyncValidator)):"function"==typeof Q&&z.setAsyncValidators([Q]);const Le=()=>z.updateValueAndValidity();Rn(H._rawValidators,Le),Rn(H._rawAsyncValidators,Le)}function ji(z,H){let Te=!1;if(null!==z){if(null!==H.validator){const Le=Bn(z);if(Array.isArray(Le)&&Le.length>0){const A=Le.filter(g=>g!==H.validator);A.length!==Le.length&&(Te=!0,z.setValidators(A))}}if(null!==H.asyncValidator){const Le=dn(z);if(Array.isArray(Le)&&Le.length>0){const A=Le.filter(g=>g!==H.asyncValidator);A.length!==Le.length&&(Te=!0,z.setAsyncValidators(A))}}}const Q=()=>{};return Rn(H._rawValidators,Q),Rn(H._rawAsyncValidators,Q),Te}function ce(z,H){z._pendingDirty&&z.markAsDirty(),z.setValue(z._pendingValue,{emitModelToViewChange:!1}),H.viewToModelUpdate(z._pendingValue),z._pendingChange=!1}function mr(z,H){const Te=z.indexOf(H);Te>-1&&z.splice(Te,1)}function pr(z){return"object"==typeof z&&null!==z&&2===Object.keys(z).length&&"value"in z&&"disabled"in z}Promise.resolve();const Er=class extends ft{constructor(H=null,Te,Q){super(Ei(Te),It(Q,Te)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(H),this._setUpdateStrategy(Te),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),Oe(Te)&&(Te.nonNullable||Te.initialValueIsDefault)&&(this.defaultValue=pr(H)?H.value:H)}setValue(H,Te={}
1){this.value=this._pendingValue=H,this._onChange.length&&!1!==Te.emitModelToViewChange&&this._onChange.forEach(Q=>Q(this.value,!1!==Te.emitViewToModelChange)),this.updateValueAndValidity(Te)}patchValue(H,Te={}){this.setValue(H,Te)}reset(H=this.defaultValue,Te={}){this._applyFormState(H),this.markAsPristine(Te),this.markAsUntouched(Te),this.setValue(this.value,Te),this._pendingChange=!1}_updateValue(){}_anyControls(H){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(H){this._onChange.push(H)}_unregisterOnChange(H){mr(this._onChange,H)}registerOnDisabledChange(H){this._onDisabledChange.push(H)}_unregisterOnDisabledChange(H){mr(this._onDisabledChange,H)}_forEachChild(H){}_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(H){pr(H)?(this.value=this._pendingValue=H.value,H.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=H}};Promise.resolve();let lo=(()=>{var z;class H{}return(z=H).\u0275fac=function(Q){return new(Q||z)},z.\u0275dir=c.FsC({type:z,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]}),H})();const Ii={provide:D,useExisting:(0,c.Rfq)(()=>O),multi:!0};let O=(()=>{var z;class H extends R{writeValue(Q){this.setProperty("value",Q??"")}registerOnChange(Q){this.onChange=Le=>{Q(""==Le?null:parseFloat(Le))}}}return(z=H).\u0275fac=(()=>{let Te;return function(Le){return(Te||(Te=c.xGo(z)))(Le||z)}})(),z.\u0275dir=c.FsC({type:z,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(Q,Le){1&Q&&c.bIt("input",function(g){return Le.onChange(g.target.value)})("blur",function(){return Le.onTouched()})},features:[c.Jv_([Ii]),c.Vt3]}),H})();const ae={provide:D,useExisting:(0,c.Rfq)(()=>Ge),multi:!0};let pe=(()=>{var z;class H{constructor(){this._accessors=[]}add(Q,Le){this._accessors.push([Q,Le])}remove(Q){for(let Le=this._accessors.length-1;Le>=0;--Le)if(this._accessors[Le][1]===Q)return void this._accessors.splice(Le,1)}select(Q){this._accessors.forEach(Le=>{this._isSameGroup(Le,Q)&&Le[1]!==Q&&Le[1].fireUncheck(Q.value)})}_isSameGroup(Q,Le){return!!Q[0].control&&Q[0]._parent===Le._control._parent&&Q[1].name===Le.name}}return(z=H).\u0275fac=function(Q){return new(Q||z)},z.\u0275prov=c.jDH({token:z,factory:z.\u0275fac,providedIn:"root"}),H})(),Ge=(()=>{var z;class H extends R{constructor(Q,Le,A,g){super(Q,Le),this._registry=A,this._injector=g,this.setDisabledStateFired=!1,this.onChange=()=>{},this.callSetDisabledState=(0,c.WQX)(tr,{optional:!0})??_r}ngOnInit(){this._control=this._injector.get(Pt),this._checkName(),this._registry.add(this._control,this)}ngOnDestroy(){this._registry.remove(this)}writeValue(Q){this._state=Q===this.value,this.setProperty("checked",this._state)}registerOnChange(Q){this._fn=Q,this.onChange=()=>{Q(this.value),this._registry.select(this)}}setDisabledState(Q){(this.setDisabledStateFired||Q||"whenDisabledForLegacyCode"===this.callSetDisabledState)&&this.setProperty("disabled",Q),this.setDisabledStateFired=!0}fireUncheck(Q){this.writeValue(Q)}_checkName(){!this.name&&this.formControlName&&(this.name=this.formControlName)}}return(z=H).\u0275fac=function(Q){return new(Q||z)(c.rXU(c.sFG),c.rXU(c.aKT),c.rXU(pe),c.rXU(c.zZn))},z.\u0275dir=c.FsC({type:z,selectors:[["input","type","radio","formControlName",""],["input","type","radio","formControl",""],["input","type","radio","ngModel",""]],hostBindings:function(Q,Le){1&Q&&c.bIt("change",function(){return Le.onChange()})("blur",function(){return Le.onTouched()})},inputs:{name:"name",formControlName:"formControlName",value:"value"},features:[c.Jv_([ae]),c.Vt3]}),H})();const yn=new c.nKC(""),en={provide:be,useExisting:(0,c.Rfq)(()=>sr)};let sr=(()=>{var z;class H extends be{constructor(Q,Le,A){super(),this.callSetDisabledState=A,this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new c.bkB,this._setValidators(Q),this._setAsyncValidators(Le)}ngOnChanges(Q){this._checkFormPresent(),Q.hasOwnProperty("form")&&(this._updateV
1alidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(ji(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(Q){const Le=this.form.get(Q.path);return Zr(Le,Q,this.callSetDisabledState),Le.updateValueAndValidity({emitEvent:!1}),this.directives.push(Q),Le}getControl(Q){return this.form.get(Q.path)}removeControl(Q){Ot(Q.control||null,Q,!1),function Rt(z,H){const Te=z.indexOf(H);Te>-1&&z.splice(Te,1)}(this.directives,Q)}addFormGroup(Q){this._setUpFormContainer(Q)}removeFormGroup(Q){this._cleanUpFormContainer(Q)}getFormGroup(Q){return this.form.get(Q.path)}addFormArray(Q){this._setUpFormContainer(Q)}removeFormArray(Q){this._cleanUpFormContainer(Q)}getFormArray(Q){return this.form.get(Q.path)}updateModel(Q,Le){this.form.get(Q.path).setValue(Le)}onSubmit(Q){return this.submitted=!0,function dt(z,H){z._syncPendingControls(),H.forEach(Te=>{const Q=Te.control;"submit"===Q.updateOn&&Q._pendingChange&&(Te.viewToModelUpdate(Q._pendingValue),Q._pendingChange=!1)})}(this.form,this.directives),this.ngSubmit.emit(Q),"dialog"===Q?.target?.method}onReset(){this.resetForm()}resetForm(Q=void 0){this.form.reset(Q),this.submitted=!1}_updateDomValue(){this.directives.forEach(Q=>{const Le=Q.control,A=this.form.get(Q.path);Le!==A&&(Ot(Le||null,Q),(z=>z instanceof Er)(A)&&(Zr(A,Q,this.callSetDisabledState),Q.control=A))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(Q){const Le=this.form.get(Q.path);(function He(z,H){Vi(z,H)})(Le,Q),Le.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(Q){if(this.form){const Le=this.form.get(Q.path);Le&&function ee(z,H){return ji(z,H)}(Le,Q)&&Le.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){Vi(this.form,this),this._oldForm&&ji(this._oldForm,this)}_checkFormPresent(){}}return(z=H).\u0275fac=function(Q){return new(Q||z)(c.rXU(Se,10),c.rXU($e,10),c.rXU(tr,8))},z.\u0275dir=c.FsC({type:z,selectors:[["","formGroup",""]],hostBindings:function(Q,Le){1&Q&&c.bIt("submit",function(g){return Le.onSubmit(g)})("reset",function(){return Le.onReset()})},inputs:{form:[c.Mj6.None,"formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[c.Jv_([en]),c.Vt3,c.OA$]}),H})();const Go={provide:Pt,useExisting:(0,c.Rfq)(()=>Xi)};let Xi=(()=>{var z;class H extends Pt{set isDisabled(Q){}constructor(Q,Le,A,g,I){super(),this._ngModelWarningConfig=I,this._added=!1,this.name=null,this.update=new c.bkB,this._ngModelWarningSent=!1,this._parent=Q,this._setValidators(Le),this._setAsyncValidators(A),this.valueAccessor=function mt(z,H){if(!H)return null;let Te,Q,Le;return Array.isArray(H),H.forEach(A=>{A.constructor===x?Te=A:function ht(z){return Object.getPrototypeOf(z.constructor)===R}(A)?Q=A:Le=A}),Le||Q||Te||null}(0,g)}ngOnChanges(Q){this._added||this._setUpControl(),function Ae(z,H){if(!z.hasOwnProperty("model"))return!1;const Te=z.model;return!!Te.isFirstChange()||!Object.is(H,Te.currentValue)}(Q,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(Q){this.viewModel=Q,this.update.emit(Q)}get path(){return function Tn(z,H){return[...H.path,z]}(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._added=!0}}return(z=H)._ngModelWarningSentOnce=!1,z.\u0275fac=function(Q){return new(Q||z)(c.rXU(be,13),c.rXU(Se,10),c.rXU($e,10),c.rXU(D,10),c.rXU(yn,8))},z.\u0275dir=c.FsC({type:z,selectors:[["","formControlName",""]],inputs:{name:[c.Mj6.None,"formControlName","name"],isDisabled:[c.Mj6.None,"disabled","isDisabled"],model:[c.Mj6.None,"ngModel","model"]},outputs:{update:"ngModelChange"},features:[c.Jv_([Go]),c.Vt3,c.OA$]}),H})();const Uo={provide:D,useExisting:(0,c.Rfq)(()=>yi),multi:!0};function Ti(z,H){return null==z?`${H}`:(H&&"object"==typeof H&&(H="Object"),`${z}: ${H}`.slice(0,50))}let yi=(()=>{var z;class H extends R{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(Q){this._compareWith=Q}writeValue(Q){this.value=Q;const A=Ti(this._getOptionId(Q),Q);this.setProperty("value",A)}registerOnChange(Q){this.onChange=Le=>{this.value=this._getOptionValue(Le),Q(this.value)}}_registerOption(){return(this._idCounter++).toString()}_getOptionId(Q){for(const Le of this._optionMap.keys())if(this._compareWith(this._optionMap.get(Le),Q))return Le;return null}_getOptionValue(Q){const Le=function fi(z){return z.split(":")[0]}(Q);return this._optionMap.has(Le)?this._optionMap.get(Le):Q}}return(z=H).\u0275fac=(()=>{let Te;return function(Le){return(Te||(Te=c.xGo(z)))(Le||z)}})(),z.\u0275dir=c.FsC({type:z,selectors:[["select","formControlName","",3,"multiple",""],["select","formControl","",3,"multiple",""],["select","ngModel","",3,"multiple",""]],hostBindings:function(Q,Le){1&Q&&c.bIt("change",function(g){return Le.onChange(g.target.value)})("blur",function(){return Le.onTouched()})},inputs:{compareWith:"compareWith"},features:[c.Jv_([Uo]),c.Vt3]}),H})(),Si=(()=>{var z;class H{constructor(Q,Le,A){this._element=Q,this._renderer=Le,this._select=A,this._select&&(this.id=this._select._registerOption())}set ngValue(Q){null!=this._select&&(this._select._optionMap.set(this.id,Q),this._setElementValue(Ti(this.id,Q)),this._select.writeValue(this._select.value))}set value(Q){this._setElementValue(Q),this._select&&this._select.writeValue(this._select.value)}_setElementValue(Q){this._renderer.setProperty(this._element.nativeElement,"value",Q)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id
1),this._select.writeValue(this._select.value))}}return(z=H).\u0275fac=function(Q){return new(Q||z)(c.rXU(c.aKT),c.rXU(c.sFG),c.rXU(yi,9))},z.\u0275dir=c.FsC({type:z,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}}),H})();const Yn={provide:D,useExisting:(0,c.Rfq)(()=>ss),multi:!0};function Io(z,H){return null==z?`${H}`:("string"==typeof H&&(H=`'${H}'`),H&&"object"==typeof H&&(H="Object"),`${z}: ${H}`.slice(0,50))}let ss=(()=>{var z;class H extends R{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(Q){this._compareWith=Q}writeValue(Q){let Le;if(this.value=Q,Array.isArray(Q)){const A=Q.map(g=>this._getOptionId(g));Le=(g,I)=>{g._setSelected(A.indexOf(I.toString())>-1)}}else Le=(A,g)=>{A._setSelected(!1)};this._optionMap.forEach(Le)}registerOnChange(Q){this.onChange=Le=>{const A=[],g=Le.selectedOptions;if(void 0!==g){const I=g;for(let w=0;w<I.length;w++){const U=this._getOptionValue(I[w].value);A.push(U)}}else{const I=Le.options;for(let w=0;w<I.length;w++){const N=I[w];if(N.selected){const U=this._getOptionValue(N.value);A.push(U)}}}this.value=A,Q(A)}}_registerOption(Q){const Le=(this._idCounter++).toString();return this._optionMap.set(Le,Q),Le}_getOptionId(Q){for(const Le of this._optionMap.keys())if(this._compareWith(this._optionMap.get(Le)._value,Q))return Le;return null}_getOptionValue(Q){const Le=function Ci(z){return z.split(":")[0]}(Q);return this._optionMap.has(Le)?this._optionMap.get(Le)._value:Q}}return(z=H).\u0275fac=(()=>{let Te;return function(Le){return(Te||(Te=c.xGo(z)))(Le||z)}})(),z.\u0275dir=c.FsC({type:z,selectors:[["select","multiple","","formControlName",""],["select","multiple","","formControl",""],["select","multiple","","ngModel",""]],hostBindings:function(Q,Le){1&Q&&c.bIt("change",function(g){return Le.onChange(g.target)})("blur",function(){return Le.onTouched()})},inputs:{compareWith:"compareWith"},features:[c.Jv_([Yn]),c.Vt3]}),H})(),Ko=(()=>{var z;class H{constructor(Q,Le,A){this._element=Q,this._renderer=Le,this._select=A,this._select&&(this.id=this._select._registerOption(this))}set ngValue(Q){null!=this._select&&(this._value=Q,this._setElementValue(Io(this.id,Q)),this._select.writeValue(this._select.value))}set value(Q){this._select?(this._value=Q,this._setElementValue(Io(this.id,Q)),this._select.writeValue(this._select.value)):this._setElementValue(Q)}_setElementValue(Q){this._renderer.setProperty(this._element.nativeElement,"value",Q)}_setSelected(Q){this._renderer.setProperty(this._element.nativeElement,"selected",Q)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}}return(z=H).\u0275fac=function(Q){return new(Q||z)(c.rXU(c.aKT),c.rXU(c.sFG),c.rXU(ss,9))},z.\u0275dir=c.FsC({type:z,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}}),H})();function Bo(z){return"number"==typeof z?z:parseInt(z,10)}let Yi=(()=>{var z;class H{constructor(){this._validator=We}ngOnChanges(Q){if(this.inputName in Q){const Le=this.normalizeInput(Q[this.inputName].currentValue);this._enabled=this.enabled(Le),this._validator=this._enabled?this.createValidator(Le):We,this._onChange&&this._onChange()}}validate(Q){return this._validator(Q)}registerOnValidatorChange(Q){this._onChange=Q}enabled(Q){return null!=Q}}return(z=H).\u0275fac=function(Q){return new(Q||z)},z.\u0275dir=c.FsC({type:z,features:[c.OA$]}),H})();const zo={provide:Se,useExisting:(0,c.Rfq)(()=>Ai),multi:!0};let Ai=(()=>{var z;class H extends Yi{constructor(){super(...arguments),this.inputName="minlength",this.normalizeInput=Q=>Bo(Q),this.createValidator=Q=>ye(Q)}}return(z=H).\u0275fac=(()=>{let Te;return function(Le){return(Te||(Te=c.xGo(z)))(Le||z)}})(),z.\u0275dir=c.FsC({type:z,selectors:[["","minlength","","formControlName",""],["","minlength","","formControl",""],["","minlength","","ngModel",""]],hostVars:1,hostBindings:function(Q,Le){2&Q&&c.BMQ("minlength",Le._enabled?Le.minlength:null)},inputs:{minlength:"minlength"},features:[c.Jv_([zo]),c.Vt3]}),H})();const qs={provide:Se,useExisting:(0,c.Rfq)(()=>Mo),multi:!0};let Mo=(()=>{var z;class H extends Yi{constructor(){super(...arguments),this.inputName="maxlength",this.normalizeInput=Q=>Bo(Q),this.createValidator=Q=>Me(Q)}}return(z=H).\u0275fac=(()=>{let Te;return function(Le){return(Te||(Te=c.xGo(z)))(Le||z)}})(),z.\u0275dir=c.FsC({type:z,selectors:[["","maxlength","","formControlName",""],["","maxlength","","formControl",""],["","maxlength","","ngModel",""]],hostVars:1,hostBindings:function(Q,Le){2&Q&&c.BMQ("maxlength",Le._enabled?Le.maxlength:null)},inputs:{maxlength:"maxlength"},features:[c.Jv_([qs]),c.Vt3]}),H})();const Hi={provide:Se,useExisting:(0,c.Rfq)(()=>mo),multi:!0};let mo=(()=>{var z;class H extends Yi{constructor(){super(...arguments),this.inputName="pattern",this.normalizeInput=Q=>Q,this.createValidator=Q=>Ie(Q)}}return(z=H).\u0275fac=(()=>{let Te;return function(Le){return(Te||(Te=c.xGo(z)))(Le||z)}})(),z.\u0275dir=c.FsC({type:z,selectors:[["","pattern","","formControlName",""],["","pattern","","formControl",""],["","pattern","","ngModel",""]],hostVars:1,hostBindings:function(Q,Le){2&Q&&c.BMQ("pattern",Le._enabled?Le.pattern:null)},inputs:{pattern:"pattern"},features:[c.Jv_([Hi]),c.Vt3]}),H})(),ho=(()=>{var z;class H{}return(z=H).\u0275fac=function(Q){return new(Q||z)},z.\u0275mod=c.$C({type:z}),z.\u0275inj=c.G2t({}),H})();class er extends ft{constructor(H,Te,Q){super(Ei(Te),It(Q,Te)),this.controls=H,this._initOb
1servables(),this._setUpdateStrategy(Te),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}at(H){return this.controls[this._adjustIndex(H)]}push(H,Te={}){this.controls.push(H),this._registerControl(H),this.updateValueAndValidity({emitEvent:Te.emitEvent}),this._onCollectionChange()}insert(H,Te,Q={}){this.controls.splice(H,0,Te),this._registerControl(Te),this.updateValueAndValidity({emitEvent:Q.emitEvent})}removeAt(H,Te={}){let Q=this._adjustIndex(H);Q<0&&(Q=0),this.controls[Q]&&this.controls[Q]._registerOnCollectionChange(()=>{}),this.controls.splice(Q,1),this.updateValueAndValidity({emitEvent:Te.emitEvent})}setControl(H,Te,Q={}){let Le=this._adjustIndex(H);Le<0&&(Le=0),this.controls[Le]&&this.controls[Le]._registerOnCollectionChange(()=>{}),this.controls.splice(Le,1),Te&&(this.controls.splice(Le,0,Te),this._registerControl(Te)),this.updateValueAndValidity({emitEvent:Q.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(H,Te={}){Xe(this,0,H),H.forEach((Q,Le)=>{tt(this,!1,Le),this.at(Le).setValue(Q,{onlySelf:!0,emitEvent:Te.emitEvent})}),this.updateValueAndValidity(Te)}patchValue(H,Te={}){null!=H&&(H.forEach((Q,Le)=>{this.at(Le)&&this.at(Le).patchValue(Q,{onlySelf:!0,emitEvent:Te.emitEvent})}),this.updateValueAndValidity(Te))}reset(H=[],Te={}){this._forEachChild((Q,Le)=>{Q.reset(H[Le],{onlySelf:!0,emitEvent:Te.emitEvent})}),this._updatePristine(Te),this._updateTouched(Te),this.updateValueAndValidity(Te)}getRawValue(){return this.controls.map(H=>H.getRawValue())}clear(H={}){this.controls.length<1||(this._forEachChild(Te=>Te._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:H.emitEvent}))}_adjustIndex(H){return H<0?H+this.length:H}_syncPendingControls(){let H=this.controls.reduce((Te,Q)=>!!Q._syncPendingControls()||Te,!1);return H&&this.updateValueAndValidity({onlySelf:!0}),H}_forEachChild(H){this.controls.forEach((Te,Q)=>{H(Te,Q)})}_updateValue(){this.value=this.controls.filter(H=>H.enabled||this.disabled).map(H=>H.value)}_anyControls(H){return this.controls.some(Te=>Te.enabled&&H(Te))}_setUpControls(){this._forEachChild(H=>this._registerControl(H))}_allControlsDisabled(){for(const H of this.controls)if(H.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(H){H.setParent(this),H._registerOnCollectionChange(this._onCollectionChange)}_find(H){return this.at(H)??null}}function pi(z){return!!z&&(void 0!==z.asyncValidators||void 0!==z.validators||void 0!==z.updateOn)}let Xo=(()=>{var z;class H{constructor(){this.useNonNullable=!1}get nonNullable(){const Q=new H;return Q.useNonNullable=!0,Q}group(Q,Le=null){const A=this._reduceControls(Q);let g={};return pi(Le)?g=Le:null!==Le&&(g.validators=Le.validator,g.asyncValidators=Le.asyncValidator),new Bt(A,g)}record(Q,Le=null){const A=this._reduceControls(Q);return new kr(A,Le)}control(Q,Le,A){let g={};return this.useNonNullable?(pi(Le)?g=Le:(g.validators=Le,g.asyncValidators=A),new Er(Q,{...g,nonNullable:!0})):new Er(Q,Le,A)}array(Q,Le,A){const g=Q.map(I=>this._createControl(I));return new er(g,Le,A)}_reduceControls(Q){const Le={};return Object.keys(Q).forEach(A=>{Le[A]=this._createControl(Q[A])}),Le}_createControl(Q){return Q instanceof Er||Q instanceof ft?Q:Array.isArray(Q)?this.control(Q[0],Q.length>1?Q[1]:null,Q.length>2?Q[2]:null):this.control(Q)}}return(z=H).\u0275fac=function(Q){return new(Q||z)},z.\u0275prov=c.jDH({token:z,factory:z.\u0275fac,providedIn:"root"}),H})(),ps=(()=>{var z;class H{static withConfig(Q){return{ngModule:H,providers:[{provide:yn,useValue:Q.warnOnNgModelWithFormControl??"always"},{provide:tr,useValue:Q.callSetDisabledState??_r}]}}}return(z=H).\u0275fac=function(Q){return new(Q||z)},z.\u0275mod=c.$C({type:z}),z.\u0275inj=c.G2t({imports:[ho]}),H})()},436:(Qe,ge,v)=>{"use strict";v.d(ge,{B7:()=>re,Bb:()=>In,hE:()=>Hr,sG:()=>pn,up:()=>zr});var c=v(8559),h=v(316);class G extends h.VF{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class j extends G{static makeCurrent(){(0,h.ZD)(new j)}onAndCancel(Oe,tt,Xe){return Oe.addEventListener(tt,Xe),()=>{Oe.removeEventListener(tt,Xe)}}dispatchEvent(Oe,tt){Oe.dispatchEvent(tt)}remove(Oe){Oe.parentNode&&Oe.parentNode.removeChild(Oe)}createElement(Oe,tt){return(tt=tt||this.getDefaultDocument()).createElement(Oe)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(Oe){return Oe.nodeType===Node.ELEMENT_NODE}isShadowRoot(Oe){return Oe instanceof DocumentFragment}getGlobalEventTarget(Oe,tt){return"window"===tt?window:"document"===tt?Oe:"body"===tt?Oe.body:null}getBaseHref(Oe){const tt=function P(){return K=K||document.querySelector("base"),K?K.getAttribute("href"):null}();return null==tt?null:function R(Ue){return new URL(Ue,document.baseURI).pathname}(tt)}resetBaseElement(){K=null}getUserAgent(){return window.navigator.userAgent}getCookie(Oe){return(0,h._b)(document.cookie,Oe)}}let K=null,W=(()=>{var Ue;class Oe{build(){return new XMLHttpRequest}}
1return(Ue=Oe).\u0275fac=function(Xe){return new(Xe||Ue)},Ue.\u0275prov=c.jDH({token:Ue,factory:Ue.\u0275fac}),Oe})();const $=new c.nKC("");let F=(()=>{var Ue;class Oe{constructor(Xe,ft){this._zone=ft,this._eventNameToPlugin=new Map,Xe.forEach(Bt=>{Bt.manager=this}),this._plugins=Xe.slice().reverse()}addEventListener(Xe,ft,Bt){return this._findPluginFor(ft).addEventListener(Xe,ft,Bt)}getZone(){return this._zone}_findPluginFor(Xe){let ft=this._eventNameToPlugin.get(Xe);if(ft)return ft;if(ft=this._plugins.find(hn=>hn.supports(Xe)),!ft)throw new c.wOt(5101,!1);return this._eventNameToPlugin.set(Xe,ft),ft}}return(Ue=Oe).\u0275fac=function(Xe){return new(Xe||Ue)(c.KVO($),c.KVO(c.SKi))},Ue.\u0275prov=c.jDH({token:Ue,factory:Ue.\u0275fac}),Oe})();class k{constructor(Oe){this._doc=Oe}}const oe="ng-app-id";let x=(()=>{var Ue;class Oe{constructor(Xe,ft,Bt,hn={}){this.doc=Xe,this.appId=ft,this.nonce=Bt,this.platformId=hn,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=(0,h.Vy)(hn),this.resetHostNodes()}addStyles(Xe){for(const ft of Xe)1===this.changeUsageCount(ft,1)&&this.onStyleAdded(ft)}removeStyles(Xe){for(const ft of Xe)this.changeUsageCount(ft,-1)<=0&&this.onStyleRemoved(ft)}ngOnDestroy(){const Xe=this.styleNodesInDOM;Xe&&(Xe.forEach(ft=>ft.remove()),Xe.clear());for(const ft of this.getAllStyles())this.onStyleRemoved(ft);this.resetHostNodes()}addHost(Xe){this.hostNodes.add(Xe);for(const ft of this.getAllStyles())this.addStyleToHost(Xe,ft)}removeHost(Xe){this.hostNodes.delete(Xe)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(Xe){for(const ft of this.hostNodes)this.addStyleToHost(ft,Xe)}
1onStyleRemoved(Xe){const ft=this.styleRef;ft.get(Xe)?.elements?.forEach(Bt=>Bt.remove()),ft.delete(Xe)}collectServerRenderedStyles(){const Xe=this.doc.head?.querySelectorAll(`style[${oe}="${this.appId}"]`);if(Xe?.length){const ft=new Map;return Xe.forEach(Bt=>{null!=Bt.textContent&&ft.set(Bt.textContent,Bt)}),ft}return null}changeUsageCount(Xe,ft){const Bt=this.styleRef;if(Bt.has(Xe)){const hn=Bt.get(Xe);return hn.usage+=ft,hn.usage}return Bt.set(Xe,{usage:ft,elements:[]}),ft}getStyleElement(Xe,ft){const Bt=this.styleNodesInDOM,hn=Bt?.get(ft);if(hn?.parentNode===Xe)return Bt.delete(ft),hn.removeAttribute(oe),hn;{const Jt=this.doc.createElement("style");return this.nonce&&Jt.setAttribute("nonce",this.nonce),Jt.textContent=ft,this.platformIsServer&&Jt.setAttribute(oe,this.appId),Xe.appendChild(Jt),Jt}}addStyleToHost(Xe,ft){const Bt=this.getStyleElement(Xe,ft),hn=this.styleRef,Jt=hn.get(ft)?.elements;Jt?Jt.push(Bt):hn.set(ft,{elements:[Bt],usage:1})}resetHostNodes(){const Xe=this.hostNodes;Xe.clear(),Xe.add(this.doc.head)}}return(Ue=Oe).\u0275fac=function(Xe){return new(Xe||Ue)(c.KVO(h.qQ),c.KVO(c.sZ2),c.KVO(c.BIS,8),c.KVO(c.Agw))},Ue.\u0275prov=c.jDH({token:Ue,factory:Ue.\u0275fac}),Oe})();const ue={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/"},le=/%COMP%/g,st=new c.nKC("",{providedIn:"root",factory:()=>!0});function we(Ue,Oe){return Oe.map(tt=>tt.replace(le,Ue))}let re=(()=>{var Ue;class Oe{constructor(Xe,ft,Bt,hn,Jt,Ir,kr,Lr=null){this.eventManager=Xe,this.sharedStylesHost=ft,this.appId=Bt,this.removeStylesOnCompDestroy=hn,this.doc=Jt,this.platformId=Ir,this.ngZone=kr,this.nonce=Lr,this.rendererByCompId=new Map,this.platformIsServer=(0,h.Vy)(Ir),this.defaultRenderer=new ye(Xe,Jt,kr,this.platformIsServer)}createRenderer(Xe,ft){if(!Xe||!ft)return this.defaultRenderer;this.platformIsServer&&ft.encapsulation===c.gXe.ShadowDom&&(ft={...ft,encapsulation:c.gXe.Emulated});const Bt=this.getOrCreateRenderer(Xe,ft);return Bt instanceof Yt?Bt.applyToHost(Xe):Bt instanceof _t&&Bt.applyStyles(),Bt}getOrCreateRenderer(Xe,ft){const Bt=this.rendererByCompId;let hn=Bt.get(ft.id);if(!hn){const Jt=this.doc,Ir=this.ngZone,kr=this.eventManager,Lr=this.sharedStylesHost,tr=this.removeStylesOnCompDestroy,_r=this.platformIsServer;switch(ft.encapsulation){case c.gXe.Emulated:hn=new Yt(kr,Lr,ft,this.appId,tr,Jt,Ir,_r);break;case c.gXe.ShadowDom:return new me(kr,Lr,Xe,ft,Jt,Ir,this.nonce,_r);default:hn=new _t(kr,Lr,ft,tr,Jt,Ir,_r)}Bt.set(ft.id,hn)}return hn}ngOnDestroy(){this.rendererByCompId.clear()}}return(Ue=Oe).\u0275fac=function(Xe){return new(Xe||Ue)(c.KVO(F),c.KVO(x),c.KVO(c.sZ2),c.KVO(st),c.KVO(h.qQ),c.KVO(c.Agw),c.KVO(c.SKi),c.KVO(c.BIS))},Ue.\u0275prov=c.jDH({token:Ue,factory:Ue.\u0275fac}),Oe})();class ye{constructor(Oe,tt,Xe,ft){this.eventManager=Oe,this.doc=tt,this.ngZone=Xe,this.platformIsServer=ft,this.data=Object.create(null),this.throwOnSyntheticProps=!0,this.destroyNode=null}destroy(){}createElement(Oe,tt){return tt?this.doc.createElementNS(ue[tt]||tt,Oe):this.doc.createElement(Oe)}createComment(Oe){return this.doc.createComment(Oe)}createText(Oe){return this.doc.createTextNode(Oe)}appendChild(Oe,tt){(We(Oe)?Oe.content:Oe).appendChild(tt)}insertBefore(Oe,tt,Xe){Oe&&(We(Oe)?Oe.content:Oe).insertBefore(tt,Xe)}removeChild(Oe,tt){Oe&&Oe.removeChild(tt)}selectRootElement(Oe,tt){let Xe="string"==typeof Oe?this.doc.querySelector(Oe):Oe;if(!Xe)throw new c.wOt(-5104,!1);return tt||(Xe.textContent=""),Xe}parentNode(Oe){return Oe.parentNode}nextSibling(Oe){return Oe.nextSibling}setAttribute(Oe,tt,Xe,ft){if(ft){tt=ft+":"+tt;const Bt=ue[ft];Bt?Oe.setAttributeNS(Bt,tt,Xe):Oe.setAttribute(tt,Xe)}else Oe.setAttribute(tt,Xe)}
1removeAttribute(Oe,tt,Xe){if(Xe){const ft=ue[Xe];ft?Oe.removeAttributeNS(ft,tt):Oe.removeAttribute(`${Xe}:${tt}`)}else Oe.removeAttribute(tt)}addClass(Oe,tt){Oe.classList.add(tt)}removeClass(Oe,tt){Oe.classList.remove(tt)}setStyle(Oe,tt,Xe,ft){ft&(c.czy.DashCase|c.czy.Important)?Oe.style.setProperty(tt,Xe,ft&c.czy.Important?"important":""):Oe.style[tt]=Xe}removeStyle(Oe,tt,Xe){Xe&c.czy.DashCase?Oe.style.removeProperty(tt):Oe.style[tt]=""}setProperty(Oe,tt,Xe){null!=Oe&&(Oe[tt]=Xe)}setValue(Oe,tt){Oe.nodeValue=tt}listen(Oe,tt,Xe){if("string"==typeof Oe&&!(Oe=(0,h.QT)().getGlobalEventTarget(this.doc,Oe)))throw new Error(`Unsupported event target ${Oe} for event ${tt}`);return this.eventManager.addEventListener(Oe,tt,this.decoratePreventDefault(Xe))}decoratePreventDefault(Oe){return tt=>{if("__ngUnwrap__"===tt)return Oe;!1===(this.platformIsServer?this.ngZone.runGuarded(()=>Oe(tt)):Oe(tt))&&tt.preventDefault()}}}function We(Ue){return"TEMPLATE"===Ue.tagName&&void 0!==Ue.content}class me extends ye{constructor(Oe,tt,Xe,ft,Bt,hn,Jt,Ir){super(Oe,Bt,hn,Ir),this.sharedStylesHost=tt,this.hostEl=Xe,this.shadowRoot=Xe.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const kr=we(ft.id,ft.styles);for(const Lr of kr){const tr=document.createElement("style");Jt&&tr.setAttribute("nonce",Jt),tr.textContent=Lr,this.shadowRoot.appendChild(tr)}}nodeOrShadowRoot(Oe){return Oe===this.hostEl?this.shadowRoot:Oe}appendChild(Oe,tt){return super.appendChild(this.nodeOrShadowRoot(Oe),tt)}insertBefore(Oe,tt,Xe){return super.insertBefore(this.nodeOrShadowRoot(Oe),tt,Xe)}removeChild(Oe,tt){return super.removeChild(this.nodeOrShadowRoot(Oe),tt)}parentNode(Oe){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(Oe)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class _t extends ye{constructor(Oe,tt,Xe,ft,Bt,hn,Jt,Ir){super(Oe,Bt,hn,Jt),this.sharedStylesHost=tt,this.removeStylesOnCompDestroy=ft,this.styles=Ir?we(Ir,Xe.styles):Xe.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}}class Yt extends _t{constructor(Oe,tt,Xe,ft,Bt,hn,Jt,Ir){const kr=ft+"-"+Xe.id;super(Oe,tt,Xe,Bt,hn,Jt,Ir,kr),this.contentAttr=function at(Ue){return"_ngcontent-%COMP%".replace(le,Ue)}(kr),this.hostAttr=function nt(Ue){return"_nghost-%COMP%".replace(le,Ue)}(kr)}applyToHost(Oe){this.applyStyles(),this.setAttribute(Oe,this.hostAttr,"")}createElement(Oe,tt){const Xe=super.createElement(Oe,tt);return super.setAttribute(Xe,this.contentAttr,""),Xe}}let vn=(()=>{var Ue;class Oe extends k{constructor(Xe){super(Xe)}supports(Xe){return!0}addEventListener(Xe,ft,Bt){return Xe.addEventListener(ft,Bt,!1),()=>this.removeEventListener(Xe,ft,Bt)}removeEventListener(Xe,ft,Bt){return Xe.removeEventListener(ft,Bt)}}return(Ue=Oe).\u0275fac=function(Xe){return new(Xe||Ue)(c.KVO(h.qQ))},Ue.\u0275prov=c.jDH({token:Ue,factory:Ue.\u0275fac}),Oe})();const Gt=["alt","control","meta","shift"],an={"\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"},Ut={alt:Ue=>Ue.altKey,control:Ue=>Ue.ctrlKey,meta:Ue=>Ue.metaKey,shift:Ue=>Ue.shiftKey};let Xt=(()=>{var Ue;class Oe extends k{constructor(Xe){super(Xe)}supports(Xe){return null!=Oe.parseEventName(Xe)}addEventListener(Xe,ft,Bt){const hn=Oe.parseEventName(ft),Jt=Oe.eventCallback(hn.fullKey,Bt,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>(0,h.QT)().onAndCancel(Xe,hn.domEventName,Jt))}
1static parseEventName(Xe){const ft=Xe.toLowerCase().split("."),Bt=ft.shift();if(0===ft.length||"keydown"!==Bt&&"keyup"!==Bt)return null;const hn=Oe._normalizeKey(ft.pop());let Jt="",Ir=ft.indexOf("code");if(Ir>-1&&(ft.splice(Ir,1),Jt="code."),Gt.forEach(Lr=>{const tr=ft.indexOf(Lr);tr>-1&&(ft.splice(tr,1),Jt+=Lr+".")}),Jt+=hn,0!=ft.length||0===hn.length)return null;const kr={};return kr.domEventName=Bt,kr.fullKey=Jt,kr}static matchEventFullKeyCode(Xe,ft){let Bt=an[Xe.key]||Xe.key,hn="";return ft.indexOf("code.")>-1&&(Bt=Xe.code,hn="code."),!(null==Bt||!Bt)&&(Bt=Bt.toLowerCase()," "===Bt?Bt="space":"."===Bt&&(Bt="dot"),Gt.forEach(Jt=>{Jt!==Bt&&(0,Ut[Jt])(Xe)&&(hn+=Jt+".")}),hn+=Bt,hn===ft)}static eventCallback(Xe,ft,Bt){return hn=>{Oe.matchEventFullKeyCode(hn,Xe)&&Bt.runGuarded(()=>ft(hn))}}static _normalizeKey(Xe){return"esc"===Xe?"escape":Xe}}return(Ue=Oe).\u0275fac=function(Xe){return new(Xe||Ue)(c.KVO(h.qQ))},Ue.\u0275prov=c.jDH({token:Ue,factory:Ue.\u0275fac}),Oe})();const pn=(0,c.oH4)(c.fpN,"browser",[{provide:c.Agw,useValue:h.AJ},{provide:c.PLl,useValue:function dn(){j.makeCurrent()},multi:!0},{provide:h.qQ,useFactory:function wn(){return(0,c.TL$)(document),document},deps:[]}]),Zn=new c.nKC(""),be=[{provide:c.e01,useClass:class D{addToWindow(Oe){c.JZv.getAngularTestability=(Xe,ft=!0)=>{const Bt=Oe.findTestabilityInTree(Xe,ft);if(null==Bt)throw new c.wOt(5103,!1);return Bt},c.JZv.getAllAngularTestabilities=()=>Oe.getAllTestabilities(),c.JZv.getAllAngularRootElements=()=>Oe.getAllRootElements(),c.JZv.frameworkStabilizers||(c.JZv.frameworkStabilizers=[]),c.JZv.frameworkStabilizers.push(Xe=>{const ft=c.JZv.getAllAngularTestabilities();let Bt=ft.length;const hn=function(){Bt--,0==Bt&&Xe()};ft.forEach(Jt=>{Jt.whenStable(hn)})})}findTestabilityInTree(Oe,tt,Xe){return null==tt?null:Oe.getTestability(tt)??(Xe?(0,h.QT)().isShadowRoot(tt)?this.findTestabilityInTree(Oe,tt.host,!0):this.findTestabilityInTree(Oe,tt.parentElement,!0):null)}},deps:[]},{provide:c.WHO,useClass:c.NYb,deps:[c.SKi,c.giA,c.e01]},{provide:c.NYb,useClass:c.NYb,deps:[c.SKi,c.giA,c.e01]}],Pt=[{provide:c.H8p,useValue:"root"},{provide:c.zcH,useFactory:function Qt(){return new c.zcH},deps:[]},{provide:$,useClass:vn,multi:!0,deps:[h.qQ,c.SKi,c.Agw]},{provide:$,useClass:Xt,multi:!0,deps:[h.qQ]},re,x,F,{provide:c._9s,useExisting:re},{provide:h.N0,useClass:W,deps:[]},[]];let In=(()=>{var Ue;class Oe{constructor(Xe){}static withServerTransition(Xe){return{ngModule:Oe,providers:[{provide:c.sZ2,useValue:Xe.appId}]}}}return(Ue=Oe).\u0275fac=function(Xe){return new(Xe||Ue)(c.KVO(Zn,12))},Ue.\u0275mod=c.$C({type:Ue}),Ue.\u0275inj=c.G2t({providers:[...Pt,...be],imports:[h.MD,c.Hbi]}),Oe})(),Hr=(()=>{var Ue;class Oe{constructor(Xe){this._doc=Xe}getTitle(){return this._doc.title}setTitle(Xe){this._doc.title=Xe||""}}return(Ue=Oe).\u0275fac=function(Xe){return new(Xe||Ue)(c.KVO(h.qQ))},Ue.\u0275prov=c.jDH({token:Ue,factory:Ue.\u0275fac,providedIn:"root"}),Oe})(),zr=(()=>{var Ue;class Oe{}return(Ue=Oe).\u0275fac=function(Xe){return new(Xe||Ue)},Ue.\u0275prov=c.jDH({token:Ue,factory:function(Xe){let ft=null;return ft=Xe?new(Xe||Ue):c.KVO(mn),ft},providedIn:"root"}),Oe})(),mn=(()=>{var Ue;class Oe extends zr{constructor(Xe){super(),this._doc=Xe}sanitize(Xe,ft){if(null==ft)return null;switch(Xe){case c.WPN.NONE:return ft;case c.WPN.HTML:return(0,c.ZF7)(ft,"HTML")?(0,c.rcV)(ft):(0,c.h9k)(this._doc,String(ft)).toString();case c.WPN.STYLE:return(0,c.ZF7)(ft,"Style")?(0,c.rcV)(ft):ft;case c.WPN.SCRIPT:if((0,c.ZF7)(ft,"Script"))return(0,c.rcV)(ft);throw new c.wOt(5200,!1);case c.WPN.URL:return(0,c.ZF7)(ft,"URL")?(0,c.rcV)(ft):(0,c.$MX)(String(ft));case c.WPN.RESOURCE_URL:if((0,c.ZF7)(ft,"ResourceURL"))return(0,c.rcV)(ft);throw new c.wOt(5201,!1);default:throw new c.wOt(5202,!1)}}bypassSecurityTrustHtml(Xe){return(0,c.Kcf)(Xe)}bypassSecurityTrustStyle(Xe){return(0,c.cWb)(Xe)}bypassSecurityTrustScript(Xe){return(0,c.UyX)(Xe)}bypassSecurityTrustUrl(Xe){return(0,c.osQ)(Xe)}bypassSecurityTrustResourceUrl(Xe){return(0,c.e5t)(Xe)}}return(Ue=Oe).\u0275fac=function(Xe){return new(Xe||Ue)(c.KVO(h.qQ))},Ue.\u0275prov=c.jDH({token:Ue,factory:Ue.\u0275fac,providedIn:"root"}),Oe})()},2728:(Qe,ge,v)=>{"use strict";v.d(ge,{nX:()=>Ti,wF:()=>nr,Z:()=>xr,Ix:()=>Gr,Wk:()=>Ki,wQ:()=>$r,iI:()=>Bc,n3:()=>Ko});var c=v(9204),h=v(8559),G=v(434),K=v(2677),P=v(1536),R=v(521),D=v(6443);const $=(()=>{function y(){return Error.call(this),this.message="no elements in sequence",this.name="EmptyError",this}return y.prototype=Object.create(Error.prototype),y})();var F=v(6933),k=v(4380);function oe(y){return new G.c(C=>{let L;try{L=y()}catch(q){return void C.error(q)}return(L?(0,K.H)(L):(0,k.I)()).subscribe(C)})}var x=v(782),ue=v(6651),le=v(1810),Se=v(3119),$e=v(2672),Re=v(316),Je=v(5443),st=v(1963),at=v(3602),nt=v(9273),we=v(8627),re=v(3107),ye=v(4702),Me=v(8097);function Ie(y=_t){return C=>C.lift(new We(y))}class We{constructor(C){this.errorFactory=C}
1call(C,L){return L.subscribe(new me(C,this.errorFactory))}}class me extends Me.v{constructor(C,L){super(C),this.errorFactory=L,this.hasValue=!1}_next(C){this.hasValue=!0,this.destination.next(C)}_complete(){if(this.hasValue)return this.destination.complete();{let C;try{C=this.errorFactory()}catch(L){C=L}this.destination.error(C)}}}function _t(){return new $}var Yt=v(5980);function vn(y,C){const L=arguments.length>=2;return T=>T.pipe(y?(0,we.p)((q,De)=>y(q,De,T)):Yt.D,(0,at.s)(1),L?(0,ye.U)(C):Ie(()=>new $))}var Gt=v(9003),an=v(4484),Ut=v(9314),Xt=v(2508),rn=v(446);class Bn{constructor(C){this.value=C}call(C,L){return L.subscribe(new dn(C,this.value))}}class dn extends Me.v{constructor(C,L){super(C),this.value=L}_next(C){this.destination.next(this.value)}}var Qt=v(9863),wn=v(3261),Mn=v(7464),pn=v(9450),Zn=v(436);const be="primary",Pt=Symbol("RouteTitle");class In{constructor(C){this.params=C||{}}has(C){return Object.prototype.hasOwnProperty.call(this.params,C)}get(C){if(this.has(C)){const L=this.params[C];return Array.isArray(L)?L[0]:L}return null}getAll(C){if(this.has(C)){const L=this.params[C];return Array.isArray(L)?L:[L]}return[]}get keys(){return Object.keys(this.params)}}function Nn(y){return new In(y)}function ur(y,C,L){const T=L.path.split("/");if(T.length>y.length||"full"===L.pathMatch&&(C.hasChildren()||T.length<y.length))return null;const q={};for(let De=0;De<T.length;De++){const Fe=T[De],St=y[De];if(Fe.startsWith(":"))q[Fe.substring(1)]=St;else if(Fe!==St.path)return null}return{consumed:y.slice(0,T.length),posParams:q}}function zt(y,C){const L=y?ke(y):void 0,T=C?ke(C):void 0;if(!L||!T||L.length!=T.length)return!1;let q;for(let De=0;De<L.length;De++)if(q=L[De],!te(y[q],C[q]))return!1;return!0}function ke(y){return[...Object.keys(y),...Object.getOwnPropertySymbols(y)]}function te(y,C){if(Array.isArray(y)&&Array.isArray(C)){if(y.length!==C.length)return!1;const L=[...y].sort(),T=[...C].sort();return L.every((q,De)=>T[De]===q)}return y===C}function ne(y){return y.length>0?y[y.length-1]:null}function Ve(y){return function j(y){return!!y&&(y instanceof G.c||"function"==typeof y.lift&&"function"==typeof y.subscribe)}(y)?y:(0,h.jNT)(y)?(0,K.H)(Promise.resolve(y)):(0,P.of)(y)}const lt={exact:function Qn(y,C,L){if(!jn(y.segments,C.segments)||!Xn(y.segments,C.segments,L)||y.numberOfChildren!==C.numberOfChildren)return!1;for(const T in C.children)if(!y.children[T]||!Qn(y.children[T],C.children[T],L))return!1;return!0},subset:kn},Mt={exact:function En(y,C){return zt(y,C)},subset:function zn(y,C){return Object.keys(C).length<=Object.keys(y).length&&Object.keys(C).every(L=>te(y[L],C[L]))},ignored:()=>!0};function Dt(y,C,L){return lt[L.paths](y.root,C.root,L.matrixParams)&&Mt[L.queryParams](y.queryParams,C.queryParams)&&!("exact"===L.fragment&&y.fragment!==C.fragment)}function kn(y,C,L){return fn(y,C,C.segments,L)}function fn(y,C,L,T){if(y.segments.length>L.length){const q=y.segments.slice(0,L.length);return!(!jn(q,L)||C.hasChildren()||!Xn(q,L,T))}if(y.segments.length===L.length){if(!jn(y.segments,L)||!Xn(y.segments,L,T))return!1;for(const q in C.children)if(!y.children[q]||!kn(y.children[q],C.children[q],T))return!1;return!0}{const q=L.slice(0,y.segments.length),De=L.slice(y.segments.length);return!!(jn(y.segments,q)&&Xn(y.segments,q,T)&&y.children[be])&&fn(y.children[be],C,De,T)}}function Xn(y,C,L){return C.every((T,q)=>Mt[L](y[q].parameters,T.parameters))}class zr{constructor(C=new mn([],{}),L={},T=null){this.root=C,this.queryParams=L,this.fragment=T}get queryParamMap(){return this._queryParamMap??=Nn(this.queryParams),this._queryParamMap}toString(){return Ei.serialize(this)}}class mn{constructor(C,L){this.segments=C,this.children=L,this.parent=null,Object.values(L).forEach(T=>T.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Et(this)}}class Br{constructor(C,L){this.path=C,this.parameters=L}get parameterMap(){return this._parameterMap??=Nn(this.parameters),this._parameterMap}toString(){return hn(this)}}function jn(y,C){return y.length===C.length&&y.every((L,T)=>L.path===C[T].path)}let or=(()=>{var y;class C{}return(y=C).\u0275fac=function(T){return new(T||y)},y.\u0275prov=h.jDH({token:y,factory:()=>new Dr,providedIn:"root"}),C})();class Dr{parse(C){const L=new co(C);return new zr(L.parseRootSegment(),L.parseQueryParams(),L.parseFragment())}serialize(C){const L=`/${It(C.root,!0)}`,T=function Ir(y){const C=Object.entries(y).map(([L,T])=>Array.isArray(T)?T.map(q=>`${Oe(L)}=${Oe(q)}`).join("&"):`${Oe(L)}=${Oe(T)}`).filter(L=>L);return C.length?`?${C.join("&")}`:""}(C.queryParams);return`${L}${T}${"string"==typeof C.fragment?`#${function tt(y){return encodeURI(y)}(C.fragment)}`:""}`}}const Ei=new Dr;function Et(y){return y.segments.map(C=>hn(C)).join("/")}function It(y,C){if(!y.hasChildren())return Et(y);if(C){const L=y.children[be]?It(y.children[be],!1):"",T=[];
1return Object.entries(y.children).forEach(([q,De])=>{q!==be&&T.push(`${q}:${It(De,!1)}`)}),T.length>0?`${L}(${T.join("//")})`:L}{const L=function oi(y,C){let L=[];return Object.entries(y.children).forEach(([T,q])=>{T===be&&(L=L.concat(C(q,T)))}),Object.entries(y.children).forEach(([T,q])=>{T!==be&&(L=L.concat(C(q,T)))}),L}(y,(T,q)=>q===be?[It(y.children[be],!1)]:[`${q}:${It(T,!1)}`]);return 1===Object.keys(y.children).length&&null!=y.children[be]?`${Et(y)}/${L[0]}`:`${Et(y)}/(${L.join("//")})`}}function Ue(y){return encodeURIComponent(y).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Oe(y){return Ue(y).replace(/%3B/gi,";")}function Xe(y){return Ue(y).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function ft(y){return decodeURIComponent(y)}function Bt(y){return ft(y.replace(/\+/g,"%20"))}function hn(y){return`${Xe(y.path)}${function Jt(y){return Object.entries(y).map(([C,L])=>`;${Xe(C)}=${Xe(L)}`).join("")}(y.parameters)}`}const kr=/^[^\/()?;#]+/;function Lr(y){const C=y.match(kr);return C?C[0]:""}const tr=/^[^\/()?;=#]+/,Tn=/^[^=?&#]+/,Ot=/^[^&#]+/;class co{constructor(C){this.url=C,this.remaining=C}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new mn([],{}):new mn([],this.parseChildren())}parseQueryParams(){const C={};if(this.consumeOptional("?"))do{this.parseQueryParam(C)}while(this.consumeOptional("&"));return C}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const C=[];for(this.peekStartsWith("(")||C.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),C.push(this.parseSegment());let L={};this.peekStartsWith("/(")&&(this.capture("/"),L=this.parseParens(!0));let T={};return this.peekStartsWith("(")&&(T=this.parseParens(!1)),(C.length>0||Object.keys(L).length>0)&&(T[be]=new mn(C,L)),T}parseSegment(){const C=Lr(this.remaining);if(""===C&&this.peekStartsWith(";"))throw new h.wOt(4009,!1);return this.capture(C),new Br(ft(C),this.parseMatrixParams())}parseMatrixParams(){const C={};for(;this.consumeOptional(";");)this.parseParam(C);return C}parseParam(C){const L=function _r(y){const C=y.match(tr);return C?C[0]:""}(this.remaining);if(!L)return;this.capture(L);let T="";if(this.consumeOptional("=")){const q=Lr(this.remaining);q&&(T=q,this.capture(T))}C[ft(L)]=ft(T)}parseQueryParam(C){const L=function Zr(y){const C=y.match(Tn);return C?C[0]:""}(this.remaining);if(!L)return;this.capture(L);let T="";if(this.consumeOptional("=")){const Fe=function Rn(y){const C=y.match(Ot);return C?C[0]:""}(this.remaining);Fe&&(T=Fe,this.capture(T))}const q=Bt(L),De=Bt(T);if(C.hasOwnProperty(q)){let Fe=C[q];Array.isArray(Fe)||(Fe=[Fe],C[q]=Fe),Fe.push(De)}else C[q]=De}parseParens(C){const L={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const T=Lr(this.remaining),q=this.remaining[T.length];if("/"!==q&&")"!==q&&";"!==q)throw new h.wOt(4010,!1);let De;T.indexOf(":")>-1?(De=T.slice(0,T.indexOf(":")),this.capture(De),this.capture(":")):C&&(De=be);const Fe=this.parseChildren();L[De]=1===Object.keys(Fe).length?Fe[be]:new mn([],Fe),this.consumeOptional("//")}return L}peekStartsWith(C){return this.remaining.startsWith(C)}consumeOptional(C){return!!this.peekStartsWith(C)&&(this.remaining=this.remaining.substring(C.length),!0)}capture(C){if(!this.consumeOptional(C))throw new h.wOt(4011,!1)}}function Vi(y){return y.segments.length>0?new mn([],{[be]:y}):y}function ji(y){const C={};for(const[T,q]of Object.entries(y.children)){const De=ji(q);if(T===be&&0===De.segments.length&&De.hasChildren())for(const[Fe,St]of Object.entries(De.children))C[Fe]=St;else(De.segments.length>0||De.hasChildren())&&(C[T]=De)}return function rt(y){if(1===y.numberOfChildren&&y.children[be]){const C=y.children[be];return new mn(y.segments.concat(C.segments),C.children)}return y}(new mn(y.segments,C))}function Ye(y){return y instanceof zr}function Ze(y){let C;const q=Vi(function L(De){const Fe={};for(const gn of De.children){const Ht=L(gn);Fe[gn.outlet]=Ht}const St=new mn(De.url,Fe);return De===y&&(C=St),St}(y.root));return C??q}function He(y,C,L,T){let q=y;for(;q.parent;)q=q.parent;if(0===C.length)return Ct(q,q,q,L,T);const De=function Z(y){if("string"==typeof y[0]&&1===y.length&&"/"===y[0])return new se(!0,0,y);let C=0,L=!1;const T=y.reduce((q,De,Fe)=>{if("object"==typeof De&&null!=De){if(De.outlets){const St={};
1return Object.entries(De.outlets).forEach(([gn,Ht])=>{St[gn]="string"==typeof Ht?Ht.split("/"):Ht}),[...q,{outlets:St}]}if(De.segmentPath)return[...q,De.segmentPath]}return"string"!=typeof De?[...q,De]:0===Fe?(De.split("/").forEach((St,gn)=>{0==gn&&"."===St||(0==gn&&""===St?L=!0:".."===St?C++:""!=St&&q.push(St))}),q):[...q,De]},[]);return new se(L,C,T)}(C);if(De.toRoot())return Ct(q,q,new mn([],{}),L,T);const Fe=function ht(y,C,L){if(y.isAbsolute)return new Ae(C,!0,0);if(!L)return new Ae(C,!1,NaN);if(null===L.parent)return new Ae(L,!0,0);const T=ee(y.commands[0])?0:1;return function dt(y,C,L){let T=y,q=C,De=L;for(;De>q;){if(De-=q,T=T.parent,!T)throw new h.wOt(4005,!1);q=T.segments.length}return new Ae(T,!1,q-De)}(L,L.segments.length-1+T,y.numberOfDoubleDots)}(De,q,y),St=Fe.processChildren?on(Fe.segmentGroup,Fe.index,De.commands):Rt(Fe.segmentGroup,Fe.index,De.commands);return Ct(q,Fe.segmentGroup,St,L,T)}function ee(y){return"object"==typeof y&&null!=y&&!y.outlets&&!y.segmentPath}function it(y){return"object"==typeof y&&null!=y&&y.outlets}function Ct(y,C,L,T,q){let Fe,De={};T&&Object.entries(T).forEach(([gn,Ht])=>{De[gn]=Array.isArray(Ht)?Ht.map(yr=>`${yr}`):`${Ht}`}),Fe=y===C?L:tn(y,C,L);const St=Vi(ji(Fe));return new zr(St,De,q)}function tn(y,C,L){const T={};return Object.entries(y.children).forEach(([q,De])=>{T[q]=De===C?L:tn(De,C,L)}),new mn(y.segments,T)}class se{constructor(C,L,T){if(this.isAbsolute=C,this.numberOfDoubleDots=L,this.commands=T,C&&T.length>0&&ee(T[0]))throw new h.wOt(4003,!1);const q=T.find(it);if(q&&q!==ne(T))throw new h.wOt(4004,!1)}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class Ae{constructor(C,L,T){this.segmentGroup=C,this.processChildren=L,this.index=T}}function Rt(y,C,L){if(y??=new mn([],{}),0===y.segments.length&&y.hasChildren())return on(y,C,L);const T=function ln(y,C,L){let T=0,q=C;const De={match:!1,pathIndex:0,commandIndex:0};for(;q<y.segments.length;){if(T>=L.length)return De;const Fe=y.segments[q],St=L[T];if(it(St))break;const gn=`${St}`,Ht=T<L.length-1?L[T+1]:null;if(q>0&&void 0===gn)break;if(gn&&Ht&&"object"==typeof Ht&&void 0===Ht.outlets){if(!pr(gn,Ht,Fe))return De;T+=2}else{if(!pr(gn,{},Fe))return De;T++}q++}return{match:!0,pathIndex:q,commandIndex:T}}(y,C,L),q=L.slice(T.commandIndex);if(T.match&&T.pathIndex<y.segments.length){const De=new mn(y.segments.slice(0,T.pathIndex),{});return De.children[be]=new mn(y.segments.slice(T.pathIndex),y.children),on(De,0,q)}return T.match&&0===q.length?new mn(y.segments,{}):T.match&&!y.hasChildren()?bn(y,C,L):T.match?on(y,0,q):bn(y,C,L)}function on(y,C,L){if(0===L.length)return new mn(y.segments,{});{const T=function mt(y){return it(y[0])?y[0].outlets:{[be]:y}}(L),q={};if(Object.keys(T).some(De=>De!==be)&&y.children[be]&&1===y.numberOfChildren&&0===y.children[be].segments.length){const De=on(y.children[be],C,L);return new mn(y.segments,De.children)}return Object.entries(T).forEach(([De,Fe])=>{"string"==typeof Fe&&(Fe=[Fe]),null!==Fe&&(q[De]=Rt(y.children[De],C,Fe))}),Object.entries(y.children).forEach(([De,Fe])=>{void 0===T[De]&&(q[De]=Fe)}),new mn(y.segments,q)}}function bn(y,C,L){const T=y.segments.slice(0,C);let q=0;for(;q<L.length;){const De=L[q];if(it(De)){const gn=Ln(De.outlets);return new mn(T,gn)}if(0===q&&ee(L[0])){T.push(new Br(y.segments[C].path,mr(L[0]))),q++;continue}const Fe=it(De)?De.outlets[be]:`${De}`,St=q<L.length-1?L[q+1]:null;Fe&&St&&ee(St)?(T.push(new Br(Fe,mr(St))),q+=2):(T.push(new Br(Fe,{})),q++)}return new mn(T,{})}function Ln(y){const C={};return Object.entries(y).forEach(([L,T])=>{"string"==typeof T&&(T=[T]),null!==T&&(C[L]=bn(new mn([],{}),0,T))}),C}function mr(y){const C={};return Object.entries(y).forEach(([L,T])=>C[L]=`${T}`),C}function pr(y,C,L){return y==L.path&&zt(C,L.parameters)}const Er="imperative";var xn=function(y){return y[y.NavigationStart=0]="NavigationStart",y[y.NavigationEnd=1]="NavigationEnd",y[y.NavigationCancel=2]="NavigationCancel",y[y.NavigationError=3]="NavigationError",y[y.RoutesRecognized=4]="RoutesRecognized",y[y.ResolveStart=5]="ResolveStart",y[y.ResolveEnd=6]="ResolveEnd",y[y.GuardsCheckStart=7]="GuardsCheckStart",y[y.GuardsCheckEnd=8]="GuardsCheckEnd",y[y.RouteConfigLoadStart=9]="RouteConfigLoadStart",y[y.RouteConfigLoadEnd=10]="RouteConfigLoadEnd",y[y.ChildActivationStart=11]="ChildActivationStart",y[y.ChildActivationEnd=12]="ChildActivationEnd",y[y.ActivationStart=13]="ActivationStart",y[y.ActivationEnd=14]="ActivationEnd",y[y.Scroll=15]="Scroll",y[y.NavigationSkipped=16]="NavigationSkipped",y}(xn||{});class Vr{constructor(C,L){this.id=C,this.url=L}}class xr extends Vr{constructor(C,L,T="imperative",q=null){super(C,L),this.type=xn.NavigationStart,this.navigationTrigger=T,this.restoredState=q}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class nr extends Vr{constructor(C,L,T){super(C,L),this.urlAfterRedirects=T,this.type=xn.NavigationEnd}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}var rr=function(y){return y[y.Redirect=0]="Redirect",y[y.SupersededByNewNavigation=1]="SupersededByNewNavigation",y[y.NoDataFromRe
1solver=2]="NoDataFromResolver",y[y.GuardRejected=3]="GuardRejected",y}(rr||{}),si=function(y){return y[y.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",y[y.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",y}(si||{});class bi extends Vr{constructor(C,L,T,q){super(C,L),this.reason=T,this.code=q,this.type=xn.NavigationCancel}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class Mr extends Vr{constructor(C,L,T,q){super(C,L),this.reason=T,this.code=q,this.type=xn.NavigationSkipped}}class ai extends Vr{constructor(C,L,T,q){super(C,L),this.error=T,this.target=q,this.type=xn.NavigationError}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class wi extends Vr{constructor(C,L,T,q){super(C,L),this.urlAfterRedirects=T,this.state=q,this.type=xn.RoutesRecognized}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Un extends Vr{constructor(C,L,T,q){super(C,L),this.urlAfterRedirects=T,this.state=q,this.type=xn.GuardsCheckStart}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class br extends Vr{constructor(C,L,T,q,De){super(C,L),this.urlAfterRedirects=T,this.state=q,this.shouldActivate=De,this.type=xn.GuardsCheckEnd}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class lo extends Vr{constructor(C,L,T,q){super(C,L),this.urlAfterRedirects=T,this.state=q,this.type=xn.ResolveStart}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Ii extends Vr{constructor(C,L,T,q){super(C,L),this.urlAfterRedirects=T,this.state=q,this.type=xn.ResolveEnd}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class O{constructor(C){this.route=C,this.type=xn.RouteConfigLoadStart}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class ae{constructor(C){this.route=C,this.type=xn.RouteConfigLoadEnd}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class J{constructor(C){this.snapshot=C,this.type=xn.ChildActivationStart}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class pe{constructor(C){this.snapshot=C,this.type=xn.ChildActivationEnd}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Ge{constructor(C){this.snapshot=C,this.type=xn.ActivationStart}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class wt{constructor(C){this.snapshot=C,this.type=xn.ActivationEnd}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Kt{constructor(C,L,T){this.routerEvent=C,this.position=L,this.anchor=T,this.type=xn.Scroll}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}class yn{}class Fn{constructor(C){this.url=C}}class en{constructor(){this.outlet=null,this.route=null,this.injector=null,this.children=new sr,this.attachRef=null}}let sr=(()=>{var y;class C{constructor(){this.contexts=new Map}onChildOutletCreated(T,q){const De=this.getOrCreateContext(T);De.outlet=q,this.contexts.set(T,De)}onChildOutletDestroyed(T){const q=this.getContext(T);q&&(q.outlet=null,q.attachRef=null)}onOutletDeactivated(){const T=this.contexts;return this.contexts=new Map,T}onOutletReAttached(T){this.contexts=T}getOrCreateContext(T){let q=this.getContext(T);return q||(q=new en,this.contexts.set(T,q)),q}getContext(T){return this.contexts.get(T)||null}}return(y=C).\u0275fac=function(T){return new(T||y)},y.\u0275prov=h.jDH({token:y,factory:y.\u0275fac,providedIn:"root"}),C})();class Gn{constructor(C){this._root=C}get root(){return this._root.value}
1parent(C){const L=this.pathFromRoot(C);return L.length>1?L[L.length-2]:null}children(C){const L=di(C,this._root);return L?L.children.map(T=>T.value):[]}firstChild(C){const L=di(C,this._root);return L&&L.children.length>0?L.children[0].value:null}siblings(C){const L=qi(C,this._root);return L.length<2?[]:L[L.length-2].children.map(q=>q.value).filter(q=>q!==C)}pathFromRoot(C){return qi(C,this._root).map(L=>L.value)}}function di(y,C){if(y===C.value)return C;for(const L of C.children){const T=di(y,L);if(T)return T}return null}function qi(y,C){if(y===C.value)return[C];for(const L of C.children){const T=qi(y,L);if(T.length)return T.unshift(C),T}return[]}class Ni{constructor(C,L){this.value=C,this.children=L}toString(){return`TreeNode(${this.value})`}}function Ri(y){const C={};return y&&y.children.forEach(L=>C[L.value.outlet]=L),C}class Go extends Gn{constructor(C,L){super(C),this.snapshot=L,Yn(this,C)}toString(){return this.snapshot.toString()}}function Xi(y){const C=function Uo(y){const De=new yi([],{},{},"",{},be,y,null,{});return new Si("",new Ni(De,[]))}(y),L=new R.t([new Br("",{})]),T=new R.t({}),q=new R.t({}),De=new R.t({}),Fe=new R.t(""),St=new Ti(L,T,De,Fe,q,be,y,C.root);return St.snapshot=C.root,new Go(new Ni(St,[]),C)}class Ti{constructor(C,L,T,q,De,Fe,St,gn){this.urlSubject=C,this.paramsSubject=L,this.queryParamsSubject=T,this.fragmentSubject=q,this.dataSubject=De,this.outlet=Fe,this.component=St,this._futureSnapshot=gn,this.title=this.dataSubject?.pipe((0,Je.T)(Ht=>Ht[Pt]))??(0,P.of)(void 0),this.url=C,this.params=L,this.queryParams=T,this.fragment=q,this.data=De}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=this.params.pipe((0,Je.T)(C=>Nn(C))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe((0,Je.T)(C=>Nn(C))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function fi(y,C,L="emptyOnly"){let T;const{routeConfig:q}=y;return T=null===C||"always"!==L&&""!==q?.path&&(C.component||C.routeConfig?.loadComponent)?{params:{...y.params},data:{...y.data},resolve:{...y.data,...y._resolvedData??{}}}:{params:{...C.params,...y.params},data:{...C.data,...y.data},resolve:{...y.data,...C.data,...q?.data,...y._resolvedData}},q&&ss(q)&&(T.resolve[Pt]=q.title),T}class yi{get title(){return this.data?.[Pt]}constructor(C,L,T,q,De,Fe,St,gn,Ht){this.url=C,this.params=L,this.queryParams=T,this.fragment=q,this.data=De,this.outlet=Fe,this.component=St,this.routeConfig=gn,this._resolve=Ht}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??=Nn(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=Nn(this.queryParams),this._queryParamMap}toString(){return`Route(url:'${this.url.map(T=>T.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class Si extends Gn{constructor(C,L){super(L),this.url=C,Yn(this,L)}toString(){return Io(this._root)}}function Yn(y,C){C.value._routerState=y,C.children.forEach(L=>Yn(y,L))}function Io(y){const C=y.children.length>0?` { ${y.children.map(Io).join(", ")} } `:"";return`${y.value}${C}`}function Ci(y){if(y.snapshot){const C=y.snapshot,L=y._futureSnapshot;y.snapshot=L,zt(C.queryParams,L.queryParams)||y.queryParamsSubject.next(L.queryParams),C.fragment!==L.fragment&&y.fragmentSubject.next(L.fragment),zt(C.params,L.params)||y.paramsSubject.next(L.params),function Hr(y,C){if(y.length!==C.length)return!1;for(let L=0;L<y.length;++L)if(!zt(y[L],C[L]))return!1;return!0}(C.url,L.url)||y.urlSubject.next(L.url),zt(C.data,L.data)||y.dataSubject.next(L.data)}else y.snapshot=y._futureSnapshot,y.dataSubject.next(y._futureSnapshot.data)}function ui(y,C){const L=zt(y.params,C.params)&&function hr(y,C){return jn(y,C)&&y.every((L,T)=>zt(L.parameters,C[T].parameters))}(y.url,C.url);return L&&!(!y.parent!=!C.parent)&&(!y.parent||ui(y.parent,C.parent))}function ss(y){return"string"==typeof y.title||null===y.title}let Ko=(()=>{var y;class C{constructor(){this.activated=null,this._activatedRoute=null,this.name=be,this.activateEvents=new h.bkB,this.deactivateEvents=new h.bkB,this.attachEvents=new h.bkB,this.detachEvents=new h.bkB,this.parentContexts=(0,h.WQX)(sr),this.location=(0,h.WQX)(h.c1b),this.changeDetector=(0,h.WQX)(h.gRc),this.environmentInjector=(0,h.WQX)(h.uvJ),this.inputBinder=(0,h.WQX)(Po,{optional:!0}),this.supportsBindingToComponentInputs=!0}get activatedComponentRef(){return this.activated}ngOnChanges(T){if(T.name){const{firstChange:q,previousValue:De}=T.name;if(q)return;this.isTrackedInParentContexts(De)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(De)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(T){return this.parentContexts.getContext(T)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;const T=this.parentContexts.getContext(this.name);T?.route&&(T.attachRef?this.attach(T.attachRef,T.route):this.activateWith(T.route,T.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new h.wOt(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new h.wOt(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new h.wOt(4012,!1);this.location.detach();const T=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(T.instance),T}attach(T,q){this.activated=T,this._activatedRoute=q,this.location.insert(T.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(T.instance)}deactivate(){if(this.activated){const T=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(T)}}activateWith(T,q){if(this.isActivated)throw new h.wOt(4013,!1);this._activatedRoute=T;const De=this.location,St=T.snapshot.component,gn=this.parentContexts.getOrCreateContext(this.name).children,Ht=new Bo(T,gn,De.injector);this.activated=De.createComponent(St,{index:De.length,injector:Ht,environmentInjector:q??this.environmentInjector}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}}return(y=C).\u0275fac=function(T){return new(T||y)},y.\u0275dir=h.FsC({type:y,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[h.OA$]}),C})();class Bo{__ngOutletInjector(C){return new Bo(this.route,this.childContexts,C)}constructor(C,L,T){this.route=C,this.childContexts=L,this.parent=T}get(C,L){return C===Ti?this.route:C===sr?this.childContexts:this.parent.get(C,L)}}const Po=new h.nKC("");let Yi=(()=>{var y;class C{constructor(){this.outletDataSubscriptions=new Map}bindActivatedRouteToOutletComponent(T){this.unsubscribeFromRouteData(T),this.subscribeToRouteData(T)}unsubscribeFromRouteData(T){this.outletDataSubscriptions.get(T)?.unsubscribe(),this.outletDataSubscriptions.delete(T)}subscribeToRouteData(T){const{activatedRoute:q}=T,De=(0,D.zV)([q.queryParams,q.params,q.data]).pipe((0,st.n)(([Fe,St,gn],Ht)=>(gn={...Fe,...St,...gn},0===Ht?(0,P.of)(gn):Promise.resolve(gn)))).subscribe(Fe=>{if(!T.isActivated||!T.activatedComponentRef||T.activatedRoute!==q||null===q.component)return void this.unsubscribeFromRouteData(T);const St=(0,h.HJs)(q.component);if(St)for(const{templateName:gn}of St.inputs)T.activatedComponentRef.setInput(gn,Fe[gn]);else this.unsubscribeFromRouteData(T)});this.outletDataSubscriptions.set(T,De)}}return(y=C).\u0275fac=function(T){return new(T||y)},y.\u0275prov=h.jDH({token:y,factory:y.\u0275fac}),C})();function io(y,C,L){if(L&&y.shouldReuseRoute(C.value,L.value.snapshot)){const T=L.value;T._futureSnapshot=C.value;const q=function Rs(y,C,L){return C.children.map(T=>{for(const q of L.children)if(y.shouldReuseRoute(T.value,q.value.snapshot))return io(y,T,q);return io(y,T)})}(y,C,L);return new Ni(T,q)}{if(y.shouldAttach(C.value)){const De=y.retrieve(C.value);if(null!==De){const Fe=De.route;return Fe.value._futureSnapshot=C.value,Fe.children=C.children.map(St=>io(y,St)),Fe}}const T=function fo(y){return new Ti(new R.t(y.url),new R.t(y.params),new R.t(y.queryParams),new R.t(y.fragment),new R.t(y.data),y.outlet,y.component,y)}(C.value),q=C.children.map(De=>io(y,De));return new Ni(T,q)}}const oo="ngNavigationCancelingError";function ei(y,C){const{redirectTo:L,navigationBehaviorOptions:T}=Ye(C)?{redirectTo:C,navigationBehaviorOptions:void 0}:C,q=To(!1,rr.Redirect);return q.url=L,q.navigationBehaviorOptions=T,q}function To(y,C){const L=new Error(`NavigationCancelingError: ${y||""}`);return L[oo]=!0,L.cancellationCode=C,L}function Wo(y){return!!y&&y[oo]}let Ao=(()=>{var y;class C{}return(y=C).\u0275fac=function(T){return new(T||y)},y.\u0275cmp=h.VBU({type:y,selectors:[["ng-component"]],standalone:!0,features:[h.aNF],decls:1,vars:0,template:function(T,q){1&T&&h.nrm(0,"router-outlet")},dependencies:[Ko],encapsulation:2}),C})();function ho(y){const C=y.children&&y.children.map(ho),L=C?{...y,children:C}:{...y};return!L.component&&!L.loadComponent&&(C||L.loadChildren)&&L.outlet&&L.outlet!==be&&(L.component=Ao),L}function er(y){return y.outlet||be}function qo(y){if(!y)return null;
1if(y.routeConfig?._injector)return y.routeConfig._injector;for(let C=y.parent;C;C=C.parent){const L=C.routeConfig;if(L?._loadedInjector)return L._loadedInjector;if(L?._injector)return L._injector}return null}class as{constructor(C,L,T,q,De){this.routeReuseStrategy=C,this.futureState=L,this.currState=T,this.forwardEvent=q,this.inputBindingEnabled=De}activate(C){const L=this.futureState._root,T=this.currState?this.currState._root:null;this.deactivateChildRoutes(L,T,C),Ci(this.futureState.root),this.activateChildRoutes(L,T,C)}deactivateChildRoutes(C,L,T){const q=Ri(L);C.children.forEach(De=>{const Fe=De.value.outlet;this.deactivateRoutes(De,q[Fe],T),delete q[Fe]}),Object.values(q).forEach(De=>{this.deactivateRouteAndItsChildren(De,T)})}deactivateRoutes(C,L,T){const q=C.value,De=L?L.value:null;if(q===De)if(q.component){const Fe=T.getContext(q.outlet);Fe&&this.deactivateChildRoutes(C,L,Fe.children)}else this.deactivateChildRoutes(C,L,T);else De&&this.deactivateRouteAndItsChildren(L,T)}deactivateRouteAndItsChildren(C,L){C.value.component&&this.routeReuseStrategy.shouldDetach(C.value.snapshot)?this.detachAndStoreRouteSubtree(C,L):this.deactivateRouteAndOutlet(C,L)}detachAndStoreRouteSubtree(C,L){const T=L.getContext(C.value.outlet),q=T&&C.value.component?T.children:L,De=Ri(C);for(const Fe of Object.values(De))this.deactivateRouteAndItsChildren(Fe,q);if(T&&T.outlet){const Fe=T.outlet.detach(),St=T.children.onOutletDeactivated();this.routeReuseStrategy.store(C.value.snapshot,{componentRef:Fe,route:C,contexts:St})}}deactivateRouteAndOutlet(C,L){const T=L.getContext(C.value.outlet),q=T&&C.value.component?T.children:L,De=Ri(C);for(const Fe of Object.values(De))this.deactivateRouteAndItsChildren(Fe,q);T&&(T.outlet&&(T.outlet.deactivate(),T.children.onOutletDeactivated()),T.attachRef=null,T.route=null)}activateChildRoutes(C,L,T){const q=Ri(L);C.children.forEach(De=>{this.activateRoutes(De,q[De.value.outlet],T),this.forwardEvent(new wt(De.value.snapshot))}),C.children.length&&this.forwardEvent(new pe(C.value.snapshot))}activateRoutes(C,L,T){const q=C.value,De=L?L.value:null;if(Ci(q),q===De)if(q.component){const Fe=T.getOrCreateContext(q.outlet);this.activateChildRoutes(C,L,Fe.children)}else this.activateChildRoutes(C,L,T);else if(q.component){const Fe=T.getOrCreateContext(q.outlet);if(this.routeReuseStrategy.shouldAttach(q.snapshot)){const St=this.routeReuseStrategy.retrieve(q.snapshot);this.routeReuseStrategy.store(q.snapshot,null),Fe.children.onOutletReAttached(St.contexts),Fe.attachRef=St.componentRef,Fe.route=St.route.value,Fe.outlet&&Fe.outlet.attach(St.componentRef,St.route.value),Ci(St.route.value),this.activateChildRoutes(C,null,Fe.children)}else{const St=qo(q.snapshot);Fe.attachRef=null,Fe.route=q,Fe.injector=St,Fe.outlet&&Fe.outlet.activateWith(q,Fe.injector),this.activateChildRoutes(C,null,Fe.children)}}else this.activateChildRoutes(C,null,T)}}class qt{constructor(C){this.path=C,this.route=this.path[this.path.length-1]}}class Ji{constructor(C,L){this.component=C,this.route=L}}function Ps(y,C,L){const T=y._root;return H(T,C?C._root:null,L,[T.value])}function z(y,C){const L=Symbol(),T=C.get(y,L);return T===L?"function"!=typeof y||(0,h.LfX)(y)?C.get(y):y:T}function H(y,C,L,T,q={canDeactivateChecks:[],canActivateChecks:[]}){const De=Ri(C);return y.children.forEach(Fe=>{(function Te(y,C,L,T,q={canDeactivateChecks:[],canActivateChecks:[]}){const De=y.value,Fe=C?C.value:null,St=L?L.getContext(y.value.outlet):null;if(Fe&&De.routeConfig===Fe.routeConfig){const gn=function Q(y,C,L){if("function"==typeof L)return L(y,C);switch(L){case"pathParamsChange":return!jn(y.url,C.url);case"pathParamsOrQueryParamsChange":return!jn(y.url,C.url)||!zt(y.queryParams,C.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!ui(y,C)||!zt(y.queryParams,C.queryParams);default:return!ui(y,C)}}(Fe,De,De.routeConfig.runGuardsAndResolvers);gn?q.canActivateChecks.push(new qt(T)):(De.data=Fe.data,De._resolvedData=Fe._resolvedData),H(y,C,De.component?St?St.children:null:L,T,q),gn&&St&&St.outlet&&St.outlet.isActivated&&q.canDeactivateChecks.push(new Ji(St.outlet.component,Fe))}else Fe&&Le(C,St,q),q.canActivateChecks.push(new qt(T)),H(y,null,De.component?St?St.children:null:L,T,q)})(Fe,De[Fe.value.outlet],L,T.concat([Fe.value]),q),delete De[Fe.value.outlet]}),Object.entries(De).forEach(([Fe,St])=>Le(St,L.getContext(Fe),q)),q}function Le(y,C,L){const T=Ri(y),q=y.value;Object.entries(T).forEach(([De,Fe])=>{Le(Fe,q.component?C?C.children.getContext(De):null:C,L)}),L.canDeactivateChecks.push(new Ji(q.component&&C&&C.outlet&&C.outlet.isActivated?C.outlet.component:null,q))}function A(y){return"function"==typeof y}function Ne(y){return y instanceof $||"EmptyError"===y?.name}const ze=Symbol("INITIAL_VALUE");function Ke(){return(0,st.n)(y=>(0,D.zV)(y.map(C=>C.pipe((0,at.s)(1),(0,nt.Z)(ze)))).pipe((0,Je.T)(C=>{for(const L of C)if(!0!==L){if(L===ze)return ze;if(!1===L||L instanceof zr)return L}return!0}),(0,we.p)(C=>C!==ze),(0,at.s)(1)))}function Pr(y){return(0,x.F)((0,an.M)(C=>{if(Ye(C))throw ei(0,C)}),(0,Je.T)(C=>!0===C))}class ci{constructor(C){this.segmentGroup=C||null}}
1class Wn extends Error{constructor(C){super(),this.urlTree=C}}function vr(y){return(0,ue.$)(new ci(y))}class gs{constructor(C,L){this.urlSerializer=C,this.urlTree=L}lineralizeSegments(C,L){let T=[],q=L.root;for(;;){if(T=T.concat(q.segments),0===q.numberOfChildren)return(0,P.of)(T);if(q.numberOfChildren>1||!q.children[be])return(0,ue.$)(new h.wOt(4e3,!1));q=q.children[be]}}applyRedirectCommands(C,L,T){const q=this.applyRedirectCreateUrlTree(L,this.urlSerializer.parse(L),C,T);if(L.startsWith("/"))throw new Wn(q);return q}applyRedirectCreateUrlTree(C,L,T,q){const De=this.createSegmentGroup(C,L.root,T,q);return new zr(De,this.createQueryParams(L.queryParams,this.urlTree.queryParams),L.fragment)}createQueryParams(C,L){const T={};return Object.entries(C).forEach(([q,De])=>{if("string"==typeof De&&De.startsWith(":")){const St=De.substring(1);T[q]=L[St]}else T[q]=De}),T}createSegmentGroup(C,L,T,q){const De=this.createSegments(C,L.segments,T,q);let Fe={};return Object.entries(L.children).forEach(([St,gn])=>{Fe[St]=this.createSegmentGroup(C,gn,T,q)}),new mn(De,Fe)}createSegments(C,L,T,q){return L.map(De=>De.path.startsWith(":")?this.findPosParam(C,De,q):this.findOrReturn(De,T))}findPosParam(C,L,T){const q=T[L.path.substring(1)];if(!q)throw new h.wOt(4001,!1);return q}findOrReturn(C,L){let T=0;for(const q of L){if(q.path===C.path)return L.splice(T),q;T++}return C}}const Oo={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function jo(y,C,L,T,q){const De=ws(y,C,L);return De.matched?(T=function zo(y,C){return y.providers&&!y._injector&&(y._injector=(0,h.Ol2)(y.providers,C,`Route: ${y.path}`)),y._injector??C}(C,T),function Yr(y,C,L,T){const q=C.canMatch;if(!q||0===q.length)return(0,P.of)(!0);const De=q.map(Fe=>{const St=z(Fe,y);return Ve(function de(y){return y&&A(y.canMatch)}(St)?St.canMatch(C,L):(0,h.N4e)(y,()=>St(C,L)))});return(0,P.of)(De).pipe(Ke(),Pr())}(T,C,L).pipe((0,Je.T)(Fe=>!0===Fe?De:{...Oo}))):(0,P.of)(De)}function ws(y,C,L){if("**"===C.path)return function Ss(y){return{matched:!0,parameters:y.length>0?ne(y).parameters:{},consumedSegments:y,remainingSegments:[],positionalParamSegments:{}}}(L);if(""===C.path)return"full"===C.pathMatch&&(y.hasChildren()||L.length>0)?{...Oo}:{matched:!0,consumedSegments:[],remainingSegments:L,parameters:{},positionalParamSegments:{}};const q=(C.matcher||ur)(L,y,C);if(!q)return{...Oo};const De={};Object.entries(q.posParams??{}).forEach(([St,gn])=>{De[St]=gn.path});const Fe=q.consumed.length>0?{...De,...q.consumed[q.consumed.length-1].parameters}:De;return{matched:!0,consumedSegments:q.consumed,remainingSegments:L.slice(q.consumed.length),parameters:Fe,positionalParamSegments:q.posParams??{}}}function ts(y,C,L,T){return L.length>0&&function Cs(y,C,L){return L.some(T=>_(y,C,T)&&er(T)!==be)}(y,L,T)?{segmentGroup:new mn(C,xs(T,new mn(L,y.children))),slicedSegments:[]}:0===L.length&&function _e(y,C,L){return L.some(T=>_(y,C,T))}(y,L,T)?{segmentGroup:new mn(y.segments,ms(y,L,T,y.children)),slicedSegments:L}:{segmentGroup:new mn(y.segments,y.children),slicedSegments:L}}function ms(y,C,L,T){const q={};for(const De of L)if(_(y,C,De)&&!T[er(De)]){const Fe=new mn([],{});q[er(De)]=Fe}return{...T,...q}}function xs(y,C){const L={};L[be]=C;for(const T of y)if(""===T.path&&er(T)!==be){const q=new mn([],{});L[er(T)]=q}return L}function _(y,C,L){return(!(y.hasChildren()||C.length>0)||"full"!==L.pathMatch)&&""===L.path}class he{}class ut{constructor(C,L,T,q,De,Fe,St){this.injector=C,this.configLoader=L,this.rootComponentType=T,this.config=q,this.urlTree=De,this.paramsInheritanceStrategy=Fe,this.urlSerializer=St,this.applyRedirects=new gs(this.urlSerializer,this.urlTree),this.absoluteRedirectCount=0,this.allowRedirects=!0}noMatchError(C){return new h.wOt(4002,`'${C.segmentGroup}'`)}recognize(){const C=ts(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(C).pipe((0,Je.T)(L=>{const T=new yi([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,{},be,this.rootComponentType,null,{}),q=new Ni(T,L),De=new Si("",q),Fe=function ce(y,C,L=null,T=null){return He(Ze(y),C,L,T)}(T,[],this.urlTree.queryParams,this.urlTree.fragment);return Fe.queryParams=this.urlTree.queryParams,De.url=this.urlSerializer.serialize(Fe),this.inheritParamsAndData(De._root,null),{state:De,tree:Fe}}))}match(C){return this.processSegmentGroup(this.injector,this.config,C,be).pipe((0,Ut.W)(T=>{if(T instanceof Wn)return this.urlTree=T.urlTree,this.match(T.urlTree.root);throw T instanceof ci?this.noMatchError(T):T}))}inheritParamsAndData(C,L){const T=C.value,q=fi(T,L,this.paramsInheritanceStrategy);T.params=Object.freeze(q.params),T.data=Object.freeze(q.data),C.children.forEac
1h(De=>this.inheritParamsAndData(De,T))}processSegmentGroup(C,L,T,q){return 0===T.segments.length&&T.hasChildren()?this.processChildren(C,L,T):this.processSegment(C,L,T,T.segments,q,!0).pipe((0,Je.T)(De=>De instanceof Ni?[De]:[]))}processChildren(C,L,T){const q=[];for(const De of Object.keys(T.children))"primary"===De?q.unshift(De):q.push(De);return(0,K.H)(q).pipe((0,Gt.H)(De=>{const Fe=T.children[De],St=function hi(y,C){const L=y.filter(T=>er(T)===C);return L.push(...y.filter(T=>er(T)!==C)),L}(L,De);return this.processSegmentGroup(C,St,Fe,De)}),(0,Xt.S)((De,Fe)=>(De.push(...Fe),De)),(0,ye.U)(null),function Cn(y,C){const L=arguments.length>=2;return T=>T.pipe(y?(0,we.p)((q,De)=>y(q,De,T)):Yt.D,(0,rn.o)(1),L?(0,ye.U)(C):Ie(()=>new $))}(),(0,re.ZZ)(De=>{if(null===De)return vr(T);const Fe=An(De);return function Tt(y){y.sort((C,L)=>C.value.outlet===be?-1:L.value.outlet===be?1:C.value.outlet.localeCompare(L.value.outlet))}(Fe),(0,P.of)(Fe)}))}processSegment(C,L,T,q,De,Fe){return(0,K.H)(L).pipe((0,Gt.H)(St=>this.processSegmentAgainstRoute(St._injector??C,L,St,T,q,De,Fe).pipe((0,Ut.W)(gn=>{if(gn instanceof ci)return(0,P.of)(null);throw gn}))),vn(St=>!!St),(0,Ut.W)(St=>{if(Ne(St))return function V(y,C,L){return 0===C.length&&!y.children[L]}(T,q,De)?(0,P.of)(new he):vr(T);throw St}))}processSegmentAgainstRoute(C,L,T,q,De,Fe,St){return function S(y,C,L,T){return!!(er(y)===T||T!==be&&_(C,L,y))&&ws(C,y,L).matched}(T,q,De,Fe)?void 0===T.redirectTo?this.matchSegmentAgainstRoute(C,q,T,De,Fe):this.allowRedirects&&St?this.expandSegmentAgainstRouteUsingRedirect(C,q,L,T,De,Fe):vr(q):vr(q)}expandSegmentAgainstRouteUsingRedirect(C,L,T,q,De,Fe){const{matched:St,consumedSegments:gn,positionalParamSegments:Ht,remainingSegments:yr}=ws(L,q,De);if(!St)return vr(L);q.redirectTo.startsWith("/")&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>31&&(this.allowRedirects=!1));const ii=this.applyRedirects.applyRedirectCommands(gn,q.redirectTo,Ht);return this.applyRedirects.lineralizeSegments(q,ii).pipe((0,re.ZZ)(Xr=>this.processSegment(C,T,L,Xr.concat(yr),Fe,!1)))}matchSegmentAgainstRoute(C,L,T,q,De){const Fe=jo(L,T,q,C);return"**"===T.path&&(L.children={}),Fe.pipe((0,st.n)(St=>St.matched?this.getChildConfig(C=T._injector??C,T,q).pipe((0,st.n)(({routes:gn})=>{const Ht=T._loadedInjector??C,{consumedSegments:yr,remainingSegments:ii,parameters:Xr}=St,Wi=new yi(yr,Xr,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,function Fr(y){return y.data||{}}(T),er(T),T.component??T._loadedComponent??null,T,function Cr(y){return y.resolve||{}}(T)),{segmentGroup:_a,slicedSegments:Js}=ts(L,yr,ii,gn);if(0===Js.length&&_a.hasChildren())return this.processChildren(Ht,gn,_a).pipe((0,Je.T)(_o=>null===_o?null:new Ni(Wi,_o)));if(0===gn.length&&0===Js.length)return(0,P.of)(new Ni(Wi,[]));const Zs=er(T)===De;return this.processSegment(Ht,gn,_a,Js,Zs?be:De,!0).pipe((0,Je.T)(_o=>new Ni(Wi,_o instanceof Ni?[_o]:[])))})):vr(L)))}getChildConfig(C,L,T){return L.children?(0,P.of)({routes:L.children,injector:C}):L.loadChildren?void 0!==L._loadedRoutes?(0,P.of)({routes:L._loadedRoutes,injector:L._loadedInjector}):function ar(y,C,L,T){const q=C.canLoad;if(void 0===q||0===q.length)return(0,P.of)(!0);const De=q.map(Fe=>{const St=z(Fe,y);return Ve(function I(y){return y&&A(y.canLoad)}(St)?St.canLoad(C,L):(0,h.N4e)(y,()=>St(C,L)))});return(0,P.of)(De).pipe(Ke(),Pr())}(C,L,T).pipe((0,re.ZZ)(q=>q?this.configLoader.loadChildren(C,L).pipe((0,an.M)(De=>{L._loadedRoutes=De.routes,L._loadedInjector=De.injector})):function $i(y){return(0,ue.$)(To(!1,rr.GuardRejected))}())):(0,P.of)({routes:[],injector:C})}}function Nt(y){const C=y.value.routeConfig;return C&&""===C.path}function An(y){const C=[],L=new Set;for(const T of y){if(!Nt(T)){C.push(T);continue}const q=C.find(De=>T.value.routeConfig===De.value.routeConfig);void 0!==q?(q.children.push(...T.children),L.add(q)):C.push(T)}for(const T of L){const q=An(T.children);C.push(new Ni(T.value,q))}return C.filter(T=>!L.has(T))}function gi(y){const C=y.children.map(L=>gi(L)).flat();return[y,...C]}function Mi(y){return(0,st.n)(C=>{const L=y(C);return L?(0,K.H)(L).pipe((0,Je.T)(()=>C)):(0,P.of)(C)})}let us=(()=>{var y;class C{buildTitle(T){let q,De=T.root;for(;void 0!==De;)q=this.getResolvedTitleForRoute(De)??q,De=De.children.find(Fe=>Fe.outlet===be);return q}getResolvedTitleForRoute(T){return T.data[Pt]}}return(y=C).\u0275fac=function(T){return new(T||y)},y.\u0275prov=h.jDH({token:y,factory:()=>(0,h.WQX)(Yo),providedIn:"root"}),C})(),Yo=(()=>{var y;class C extends us{constructor(T){super(),this.title=T}updateTitle(T){const q=this.buildTitle(T);void 0!==q&&this.title.setTitle(q)}}return(y=C).\u0275fac=function(T){return new(T||y)(h.KVO(Zn.hE))},y.\u0275prov=h.jDH({token:y,factory:y.\u0275fac,providedIn:"root"}),C})();const Gi=new h.nKC("",{providedIn:"root",factory:()=>({})}),Li=new h.nKC("");let eo=(()=>{var y;class C{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=(0,h.WQX)(h.Ql9)}loadComponent(T){if(this.componentLoaders.get(T))return this.componentLoaders.get(T);if(T._loadedComponent)return(0,P.of)(T._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(T);const q=Ve(T.loadComponent()).pipe((0,Je.T)(E),(0,an.M)(Fe=>{this.onLoadEndListener&&this.onLoadEndListener(T),T._loadedComponent=Fe}),(0,Qt.j)(()=>{this.componentLoaders.delete(T)})),De=new le.G(q,()=>new Se.B7).pipe((0,wn.B)());return this.componentLoaders.set(T,De),De}loadChildren(T,q){if(this.childrenLoaders.get(q))return this.childrenLoaders.get(q);if(q._loadedRoutes)return(0,P.of)({routes:q._loadedRoutes,injector:q._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(q);const Fe=function Ds(y,C,L,T){return Ve(y.loadChildren()).pipe((0,Je.T)(E),(0,re.ZZ)(q=>q instanceof h.Co$||Array.isArray(q)?(0,P.of)(q):(0,K.H)(C.compileModuleAsync(q))),(0,Je.T)(q=>{T&&T(y);let De,Fe,St=!1;return Array.isArray(q)?(Fe=q,!0):(De=q.create(L).injector,Fe=De.get(Li,[],{optional:!0,self:!0}).flat()),{routes:Fe.map(ho),injector:De}}))}(q,this.compiler,T,this.onLoadEndListener).pipe((0,Qt.j)(()=>{this.childrenLoaders.delete(q)}
1)),St=new le.G(Fe,()=>new Se.B7).pipe((0,wn.B)());return this.childrenLoaders.set(q,St),St}}return(y=C).\u0275fac=function(T){return new(T||y)},y.\u0275prov=h.jDH({token:y,factory:y.\u0275fac,providedIn:"root"}),C})();function E(y){return function $s(y){return y&&"object"==typeof y&&"default"in y}(y)?y.default:y}let Y=(()=>{var y;class C{}return(y=C).\u0275fac=function(T){return new(T||y)},y.\u0275prov=h.jDH({token:y,factory:()=>(0,h.WQX)(Be),providedIn:"root"}),C})(),Be=(()=>{var y;class C{shouldProcessUrl(T){return!0}extract(T){return T}merge(T,q){return T}}return(y=C).\u0275fac=function(T){return new(T||y)},y.\u0275prov=h.jDH({token:y,factory:y.\u0275fac,providedIn:"root"}),C})();const B=new h.nKC(""),Ee=new h.nKC("");function je(y,C,L){const T=y.get(Ee),q=y.get(Re.qQ);return y.get(h.SKi).runOutsideAngular(()=>{if(!q.startViewTransition||T.skipNextTransition)return T.skipNextTransition=!1,new Promise(Ht=>setTimeout(Ht));let De;const Fe=new Promise(Ht=>{De=Ht}),St=q.startViewTransition(()=>(De(),function yt(y){return new Promise(C=>{(0,h.mal)(C,{injector:y})})}(y))),{onViewTransitionCreated:gn}=T;return gn&&(0,h.N4e)(y,()=>gn({transition:St,from:C,to:L})),Fe})}let xt=(()=>{var y;class C{get hasRequestedNavigation(){return 0!==this.navigationId}constructor(){this.currentNavigation=null,this.currentTransition=null,this.lastSuccessfulNavigation=null,this.events=new Se.B7,this.transitionAbortSubject=new Se.B7,this.configLoader=(0,h.WQX)(eo),this.environmentInjector=(0,h.WQX)(h.uvJ),this.urlSerializer=(0,h.WQX)(or),this.rootContexts=(0,h.WQX)(sr),this.location=(0,h.WQX)(Re.aZ),this.inputBindingEnabled=null!==(0,h.WQX)(Po,{optional:!0}),this.titleStrategy=(0,h.WQX)(us),this.options=(0,h.WQX)(Gi,{optional:!0})||{},this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlHandlingStrategy=(0,h.WQX)(Y),this.createViewTransition=(0,h.WQX)(B,{optional:!0}),this.navigationId=0,this.afterPreactivation=()=>(0,P.of)(void 0),this.rootComponentType=null,this.configLoader.onLoadEndListener=De=>this.events.next(new ae(De)),this.configLoader.onLoadStartListener=De=>this.events.next(new O(De))}complete(){this.transitions?.complete()}handleNavigationRequest(T){const q=++this.navigationId;this.transitions?.next({...this.transitions.value,...T,id:q})}setupNavigations(T,q,De){return this.transitions=new R.t({id:0,currentUrlTree:q,currentRawUrl:q,extractedUrl:this.urlHandlingStrategy.extract(q),urlAfterRedirects:this.urlHandlingStrategy.extract(q),rawUrl:q,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:Er,restoredState:null,currentSnapshot:De.snapshot,targetSnapshot:null,currentRouterState:De,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe((0,we.p)(Fe=>0!==Fe.id),(0,Je.T)(Fe=>({...Fe,extractedUrl:this.urlHandlingStrategy.extract(Fe.rawUrl)})),(0,st.n)(Fe=>{let St=!1,gn=!1;return(0,P.of)(Fe).pipe((0,st.n)(Ht=>{if(this.navigationId>Fe.id)return this.cancelNavigationTransition(Fe,"",rr.SupersededByNewNavigation),k.w;this.currentTransition=Fe,this.currentNavigation={id:Ht.id,initialUrl:Ht.rawUrl,extractedUrl:Ht.extractedUrl,trigger:Ht.source,extras:Ht.extras,previousNavigation:this.lastSuccessfulNavigation?{...this.lastSuccessfulNavigation,previousNavigation:null}:null};const yr=!T.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl();if(!yr&&"reload"!==(Ht.extras.onSameUrlNavigation??T.onSameUrlNavigation)){const Xr="";return this.events.next(new Mr(Ht.id,this.urlSerializer.serialize(Ht.rawUrl),Xr,si.IgnoredSameUrlNavigation)),Ht.resolve(null),k.w}if(this.urlHandlingStrategy.shouldProcessUrl(Ht.rawUrl))return(0,P.of)(Ht).pipe((0,st.n)(Xr=>{const Wi=this.transitions?.getValue();return this.events.next(new xr(Xr.id,this.urlSerializer.serialize(Xr.extractedUrl),Xr.source,Xr.restoredState)),Wi!==this.transitions?.getValue()?k.w:Promise.resolve(Xr)}),function Hn(y,C,L,T,q,De){return(0,re.ZZ)(Fe=>function xe(y,C,L,T,q,De,Fe="emptyOnly"){return new ut(y,C,L,T,q,Fe,De).recognize()}(y,C,L,T,Fe.extractedUrl,q,De).pipe((0,Je.T)(({state:St,tree:gn})=>({...Fe,targetSnapshot:St,urlAfterRedirects:gn}))))}(this.environmentInjector,this.configLoader,this.rootComponentType,T.config,this.urlSerializer,this.paramsInheritanceStrategy),(0,an.M)(Xr=>{Fe.targetSnapshot=Xr.targetSnapshot,Fe.urlAfterRedirects=Xr.urlAfterRedirects,this.currentNavigation={...this.currentNavigation,finalUrl:Xr.urlAfterRedirects};const Wi=new wi(Xr.id,this.urlSerializer.serialize(Xr.extractedUrl),this.urlSerializer.serialize(Xr.urlAfterRedirects),Xr.targetSnapshot);this.events.next(Wi)}));if(yr&&this.urlHandlingStrategy.shouldProcessUrl(Ht.currentRawUrl)){const{id:Xr,extractedUrl:Wi,source:_a,restoredState:Js,extras:Zs}=Ht,_o=new xr(Xr,this.urlSerializer.serialize(Wi),_a,Js);this.events.next(_o);const xa=Xi(this.rootComponentType).snapshot;return this.currentTransition=Fe={...Ht,targetSnapshot:xa,urlAfterRedirects:Wi,extras:{...Zs,skipLocationChange:!1,replaceUrl:!1}},this.currentNavigation.finalUrl=Wi,(0,P.of)(Fe)}{const Xr="";return this.events.next(new Mr(Ht.id,this.urlSerializer.serialize(Ht.extractedUrl),Xr,si.IgnoredByUrlHandlingStrategy)),Ht.resolve(null),k.w}}),(0,an.M)(Ht=>{const yr=new Un(Ht.id,this.urlSerializer.serialize(Ht.extractedUrl),this.urlSerializer.serialize(Ht.urlAfterRedirects),Ht.targetSnapshot);this.events.next(yr)}),(0,Je.T)(Ht=>(this.currentTransition=Fe={...Ht,guards:Ps(Ht.targetSnapshot,Ht.currentSnapshot,this.rootContexts)}
1,Fe)),function ct(y,C){return(0,re.ZZ)(L=>{const{targetSnapshot:T,currentSnapshot:q,guards:{canActivateChecks:De,canDeactivateChecks:Fe}}=L;return 0===Fe.length&&0===De.length?(0,P.of)({...L,guardsResult:!0}):function kt(y,C,L,T){return(0,K.H)(y).pipe((0,re.ZZ)(q=>function Vn(y,C,L,T,q){const De=C&&C.routeConfig?C.routeConfig.canDeactivate:null;if(!De||0===De.length)return(0,P.of)(!0);const Fe=De.map(St=>{const gn=qo(C)??q,Ht=z(St,gn);return Ve(function U(y){return y&&A(y.canDeactivate)}(Ht)?Ht.canDeactivate(y,C,L,T):(0,h.N4e)(gn,()=>Ht(y,C,L,T))).pipe(vn())});return(0,P.of)(Fe).pipe(Ke())}(q.component,q.route,L,C,T)),vn(q=>!0!==q,!0))}(Fe,T,q,y).pipe((0,re.ZZ)(St=>St&&function g(y){return"boolean"==typeof y}(St)?function At(y,C,L,T){return(0,K.H)(C).pipe((0,Gt.H)(q=>(0,F.x)(function cn(y,C){return null!==y&&C&&C(new J(y)),(0,P.of)(!0)}(q.route.parent,T),function Zt(y,C){return null!==y&&C&&C(new Ge(y)),(0,P.of)(!0)}(q.route,T),function qn(y,C,L){const T=C[C.length-1],De=C.slice(0,C.length-1).reverse().map(Fe=>function ps(y){const C=y.routeConfig?y.routeConfig.canActivateChild:null;return C&&0!==C.length?{node:y,guards:C}:null}(Fe)).filter(Fe=>null!==Fe).map(Fe=>oe(()=>{const St=Fe.guards.map(gn=>{const Ht=qo(Fe.node)??L,yr=z(gn,Ht);return Ve(function N(y){return y&&A(y.canActivateChild)}(yr)?yr.canActivateChild(T,y):(0,h.N4e)(Ht,()=>yr(T,y))).pipe(vn())});return(0,P.of)(St).pipe(Ke())}));return(0,P.of)(De).pipe(Ke())}(y,q.path,L),function Dn(y,C,L){const T=C.routeConfig?C.routeConfig.canActivate:null;if(!T||0===T.length)return(0,P.of)(!0);const q=T.map(De=>oe(()=>{const Fe=qo(C)??L,St=z(De,Fe);return Ve(function w(y){return y&&A(y.canActivate)}(St)?St.canActivate(C,y):(0,h.N4e)(Fe,()=>St(C,y))).pipe(vn())}));return(0,P.of)(q).pipe(Ke())}(y,q.route,L))),vn(q=>!0!==q,!0))}(T,De,y,C):(0,P.of)(St)),(0,Je.T)(St=>({...L,guardsResult:St})))})}(this.environmentInjector,Ht=>this.events.next(Ht)),(0,an.M)(Ht=>{if(Fe.guardsResult=Ht.guardsResult,Ye(Ht.guardsResult))throw ei(0,Ht.guardsResult);const yr=new br(Ht.id,this.urlSerializer.serialize(Ht.extractedUrl),this.urlSerializer.serialize(Ht.urlAfterRedirects),Ht.targetSnapshot,!!Ht.guardsResult);this.events.next(yr)}),(0,we.p)(Ht=>!!Ht.guardsResult||(this.cancelNavigationTransition(Ht,"",rr.GuardRejected),!1)),Mi(Ht=>{if(Ht.guards.canActivateChecks.length)return(0,P.of)(Ht).pipe((0,an.M)(yr=>{const ii=new lo(yr.id,this.urlSerializer.serialize(yr.extractedUrl),this.urlSerializer.serialize(yr.urlAfterRedirects),yr.targetSnapshot);this.events.next(ii)}),(0,st.n)(yr=>{let ii=!1;return(0,P.of)(yr).pipe(function cr(y,C){return(0,re.ZZ)(L=>{const{targetSnapshot:T,guards:{canActivateChecks:q}}=L;if(!q.length)return(0,P.of)(L);const De=new Set(q.map(gn=>gn.route)),Fe=new Set;for(const gn of De)if(!Fe.has(gn))for(const Ht of gi(gn))Fe.add(Ht);let St=0;
1return(0,K.H)(Fe).pipe((0,Gt.H)(gn=>De.has(gn)?function Zi(y,C,L,T){const q=y.routeConfig,De=y._resolve;return void 0!==q?.title&&!ss(q)&&(De[Pt]=q.title),function so(y,C,L,T){const q=ke(y);if(0===q.length)return(0,P.of)({});const De={};return(0,K.H)(q).pipe((0,re.ZZ)(Fe=>function vo(y,C,L,T){const q=qo(C)??T,De=z(y,q);return Ve(De.resolve?De.resolve(C,L):(0,h.N4e)(q,()=>De(C,L)))}(y[Fe],C,L,T).pipe(vn(),(0,an.M)(St=>{De[Fe]=St}))),(0,rn.o)(1),function On(y){return C=>C.lift(new Bn(y))}(De),(0,Ut.W)(Fe=>Ne(Fe)?k.w:(0,ue.$)(Fe)))}(De,y,C,T).pipe((0,Je.T)(Fe=>(y._resolvedData=Fe,y.data=fi(y,y.parent,L).resolve,null)))}(gn,T,y,C):(gn.data=fi(gn,gn.parent,y).resolve,(0,P.of)(void 0))),(0,an.M)(()=>St++),(0,rn.o)(1),(0,re.ZZ)(gn=>St===Fe.size?(0,P.of)(L):k.w))})}(this.paramsInheritanceStrategy,this.environmentInjector),(0,an.M)({next:()=>ii=!0,complete:()=>{ii||this.cancelNavigationTransition(yr,"",rr.NoDataFromResolver)}}))}),(0,an.M)(yr=>{const ii=new Ii(yr.id,this.urlSerializer.serialize(yr.extractedUrl),this.urlSerializer.serialize(yr.urlAfterRedirects),yr.targetSnapshot);this.events.next(ii)}))}),Mi(Ht=>{const yr=ii=>{const Xr=[];ii.routeConfig?.loadComponent&&!ii.routeConfig._loadedComponent&&Xr.push(this.configLoader.loadComponent(ii.routeConfig).pipe((0,an.M)(Wi=>{ii.component=Wi}),(0,Je.T)(()=>{})));for(const Wi of ii.children)Xr.push(...yr(Wi));return Xr};return(0,D.zV)(yr(Ht.targetSnapshot.root)).pipe((0,ye.U)(null),(0,at.s)(1))}),Mi(()=>this.afterPreactivation()),(0,st.n)(()=>{const{currentSnapshot:Ht,targetSnapshot:yr}=Fe,ii=this.createViewTransition?.(this.environmentInjector,Ht.root,yr.root);return ii?(0,K.H)(ii).pipe((0,Je.T)(()=>Fe)):(0,P.of)(Fe)}),(0,Je.T)(Ht=>{const yr=function Ns(y,C,L){const T=io(y,C._root,L?L._root:void 0);return new Go(T,C)}(T.routeReuseStrategy,Ht.targetSnapshot,Ht.currentRouterState);return this.currentTransition=Fe={...Ht,targetRouterState:yr},this.currentNavigation.targetRouterState=yr,Fe}),(0,an.M)(()=>{this.events.next(new yn)}),((y,C,L,T)=>(0,Je.T)(q=>(new as(C,q.targetRouterState,q.currentRouterState,L,T).activate(y),q)))(this.rootContexts,T.routeReuseStrategy,Ht=>this.events.next(Ht),this.inputBindingEnabled),(0,at.s)(1),(0,an.M)({next:Ht=>{St=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new nr(Ht.id,this.urlSerializer.serialize(Ht.extractedUrl),this.urlSerializer.serialize(Ht.urlAfterRedirects))),this.titleStrategy?.updateTitle(Ht.targetRouterState.snapshot),Ht.resolve(!0)},complete:()=>{St=!0}}),(0,Mn.Q)(this.transitionAbortSubject.pipe((0,an.M)(Ht=>{throw Ht}))),(0,Qt.j)(()=>{!St&&!gn&&this.cancelNavigationTransition(Fe,"",rr.SupersededByNewNavigation),this.currentTransition?.id===Fe.id&&(this.currentNavigation=null,this.currentTransition=null)}),(0,Ut.W)(Ht=>{if(gn=!0,Wo(Ht))this.events.next(new bi(Fe.id,this.urlSerializer.serialize(Fe.extractedUrl),Ht.message,Ht.cancellationCode)),function hs(y){return Wo(y)&&Ye(y.url)}(Ht)?this.events.next(new Fn(Ht.url)):Fe.resolve(!1);else{this.events.next(new ai(Fe.id,this.urlSerializer.serialize(Fe.extractedUrl),Ht,Fe.targetSnapshot??void 0));try{Fe.resolve(T.errorHandler(Ht))}catch(yr){this.options.resolveNavigationPromiseOnError?Fe.resolve(!1):Fe.reject(yr)}}return k.w}))}))}cancelNavigationTransition(T,q,De){const Fe=new bi(T.id,this.urlSerializer.serialize(T.extractedUrl),q,De);this.events.next(Fe),T.resolve(!1)}isUpdatingInternalState(){return this.currentTransition?.extractedUrl.toString()!==this.currentTransition?.currentUrlTree.toString()}isUpdatedBrowserUrl(){return this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))).toString()!==this.currentTransition?.extractedUrl.toString()&&!this.currentTransition?.extras.skipLocationChange}}return(y=C).\u0275fac=function(T){return new(T||y)},y.\u0275prov=h.jDH({token:y,factory:y.\u0275fac,providedIn:"root"}),C})();function Jn(y){return y!==Er}let wr=(()=>{var y;class C{}return(y=C).\u0275fac=function(T){return new(T||y)},y.\u0275prov=h.jDH({token:y,factory:()=>(0,h.WQX)(Sr),providedIn:"root"}),C})();class Or{shouldDetach(C){return!1}store(C,L){}shouldAttach(C){return!1}retrieve(C){return null}
1shouldReuseRoute(C,L){return C.routeConfig===L.routeConfig}}let Sr=(()=>{var y;class C extends Or{}return(y=C).\u0275fac=(()=>{let L;return function(q){return(L||(L=h.xGo(y)))(q||y)}})(),y.\u0275prov=h.jDH({token:y,factory:y.\u0275fac,providedIn:"root"}),C})(),lr=(()=>{var y;class C{}return(y=C).\u0275fac=function(T){return new(T||y)},y.\u0275prov=h.jDH({token:y,factory:()=>(0,h.WQX)(ti),providedIn:"root"}),C})(),ti=(()=>{var y;class C extends lr{constructor(){super(...arguments),this.location=(0,h.WQX)(Re.aZ),this.urlSerializer=(0,h.WQX)(or),this.options=(0,h.WQX)(Gi,{optional:!0})||{},this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.urlHandlingStrategy=(0,h.WQX)(Y),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.currentUrlTree=new zr,this.rawUrlTree=this.currentUrlTree,this.currentPageId=0,this.lastSuccessfulId=-1,this.routerState=Xi(null),this.stateMemento=this.createStateMemento()}getCurrentUrlTree(){return this.currentUrlTree}getRawUrlTree(){return this.rawUrlTree}restoredState(){return this.location.getState()}get browserPageId(){return"computed"!==this.canceledNavigationResolution?this.currentPageId:this.restoredState()?.\u0275routerPageId??this.currentPageId}getRouterState(){return this.routerState}createStateMemento(){return{rawUrlTree:this.rawUrlTree,currentUrlTree:this.currentUrlTree,routerState:this.routerState}}registerNonRouterCurrentEntryChangeListener(T){return this.location.subscribe(q=>{"popstate"===q.type&&T(q.url,q.state)})}handleRouterEvent(T,q){if(T instanceof xr)this.stateMemento=this.createStateMemento();else if(T instanceof Mr)this.rawUrlTree=q.initialUrl;else if(T instanceof wi){if("eager"===this.urlUpdateStrategy&&!q.extras.skipLocationChange){const De=this.urlHandlingStrategy.merge(q.finalUrl,q.initialUrl);this.setBrowserUrl(De,q)}}else T instanceof yn?(this.currentUrlTree=q.finalUrl,this.rawUrlTree=this.urlHandlingStrategy.merge(q.finalUrl,q.initialUrl),this.routerState=q.targetRouterState,"deferred"===this.urlUpdateStrategy&&(q.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,q))):T instanceof bi&&(T.code===rr.GuardRejected||T.code===rr.NoDataFromResolver)?this.restoreHistory(q):T instanceof ai?this.restoreHistory(q,!0):T instanceof nr&&(this.lastSuccessfulId=T.id,this.currentPageId=this.browserPageId)}setBrowserUrl(T,q){const De=this.urlSerializer.serialize(T);if(this.location.isCurrentPathEqualTo(De)||q.extras.replaceUrl){const St={...q.extras.state,...this.generateNgRouterState(q.id,this.browserPageId)};this.location.replaceState(De,"",St)}else{const Fe={...q.extras.state,...this.generateNgRouterState(q.id,this.browserPageId+1)};this.location.go(De,"",Fe)}}restoreHistory(T,q=!1){if("computed"===this.canceledNavigationResolution){const Fe=this.currentPageId-this.browserPageId;0!==Fe?this.location.historyGo(Fe):this.currentUrlTree===T.finalUrl&&0===Fe&&(this.resetState(T),this.resetUrlToCurrentUrlTree())}else"replace"===this.canceledNavigationResolution&&(q&&this.resetState(T),this.resetUrlToCurrentUrlTree())}resetState(T){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,T.finalUrl??this.rawUrlTree)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(T,q){return"computed"===this.canceledNavigationResolution?{navigationId:T,\u0275routerPageId:q}:{navigationId:T}}}return(y=C).\u0275fac=(()=>{let L;return function(q){return(L||(L=h.xGo(y)))(q||y)}})(),y.\u0275prov=h.jDH({token:y,factory:y.\u0275fac,providedIn:"root"}),C})();var qr=function(y){return y[y.COMPLETE=0]="COMPLETE",y[y.FAILED=1]="FAILED",y[y.REDIRECTING=2]="REDIRECTING",y}(qr||{});function gr(y,C){y.events.pipe((0,we.p)(L=>L instanceof nr||L instanceof bi||L instanceof ai||L instanceof Mr),(0,Je.T)(L=>L instanceof nr||L instanceof Mr?qr.COMPLETE:L instanceof bi&&(L.code===rr.Redirect||L.code===rr.SupersededByNewNavigation)?qr.REDIRECTING:qr.FAILED),(0,we.p)(L=>L!==qr.REDIRECTING),(0,at.s)(1)).subscribe(()=>{C()})}function Wt(y){throw y}const Pn={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},jr={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let Gr=(()=>{var y;class C{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}constructor(){this.disposed=!1,this.isNgZoneEnabled=!1,this.console=(0,h.WQX)(h.H3F),this.stateManager=(0,h.WQX)(lr),this.options=(0,h.WQX)(Gi,{optional:!0})||{},this.pendingTasks=(0,h.WQX)(h.TgB),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.navigationTransitions=(0,h.WQX)(xt),this.urlSerializer
1=(0,h.WQX)(or),this.location=(0,h.WQX)(Re.aZ),this.urlHandlingStrategy=(0,h.WQX)(Y),this._events=new Se.B7,this.errorHandler=this.options.errorHandler||Wt,this.navigated=!1,this.routeReuseStrategy=(0,h.WQX)(wr),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.config=(0,h.WQX)(Li,{optional:!0})?.flat()??[],this.componentInputBindingEnabled=!!(0,h.WQX)(Po,{optional:!0}),this.eventsSubscription=new $e.y,this.isNgZoneEnabled=(0,h.WQX)(h.SKi)instanceof h.SKi&&h.SKi.isInAngularZone(),this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this,this.currentUrlTree,this.routerState).subscribe({error:T=>{this.console.warn(T)}}),this.subscribeToNavigationEvents()}subscribeToNavigationEvents(){const T=this.navigationTransitions.events.subscribe(q=>{try{const De=this.navigationTransitions.currentTransition,Fe=this.navigationTransitions.currentNavigation;if(null!==De&&null!==Fe)if(this.stateManager.handleRouterEvent(q,Fe),q instanceof bi&&q.code!==rr.Redirect&&q.code!==rr.SupersededByNewNavigation)this.navigated=!0;else if(q instanceof nr)this.navigated=!0;else if(q instanceof Fn){const St=this.urlHandlingStrategy.merge(q.url,De.currentRawUrl),gn={info:De.extras.info,skipLocationChange:De.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy||Jn(De.source)};this.scheduleNavigation(St,Er,null,gn,{resolve:De.resolve,reject:De.reject,promise:De.promise})}(function ao(y){return!(y instanceof yn||y instanceof Fn)})(q)&&this._events.next(q)}catch(De){this.navigationTransitions.transitionAbortSubject.next(De)}});this.eventsSubscription.add(T)}resetRootComponentType(T){this.routerState.root.component=T,this.navigationTransitions.rootComponentType=T}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(!0),Er,this.stateManager.restoredState())}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener((T,q)=>{setTimeout(()=>{this.navigateToSyncWithBrowser(T,"popstate",q)},0)})}navigateToSyncWithBrowser(T,q,De){const Fe={replaceUrl:!0},St=De?.navigationId?De:null;if(De){const Ht={...De};delete Ht.navigationId,delete Ht.\u0275routerPageId,0!==Object.keys(Ht).length&&(Fe.state=Ht)}const gn=this.parseUrl(T);this.scheduleNavigation(gn,q,St,Fe)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(T){this.config=T.map(ho),this.navigated=!1}ngOnDestroy(){this.dispose()}dispose(){this.navigationTransitions.complete(),this.nonRouterCurrentEntryChangeSubscription&&(this.nonRouterCurrentEntryChangeSubscription.unsubscribe(),this.nonRouterCurrentEntryChangeSubscription=void 0),this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(T,q={}){const{relativeTo:De,queryParams:Fe,fragment:St,queryParamsHandling:gn,preserveFragment:Ht}=q,yr=Ht?this.currentUrlTree.fragment:St;let Xr,ii=null;switch(gn){case"merge":ii={...this.currentUrlTree.queryParams,...Fe};break;case"preserve":ii=this.currentUrlTree.queryParams;break;default:ii=Fe||null}null!==ii&&(ii=this.removeEmptyProps(ii));try{Xr=Ze(De?De.snapshot:this.routerState.snapshot.root)}catch{("string"!=typeof T[0]||!T[0].startsWith("/"))&&(T=[]),Xr=this.currentUrlTree.root}return He(Xr,T,ii,yr??null)}navigateByUrl(T,q={skipLocationChange:!1}){const De=Ye(T)?T:this.parseUrl(T),Fe=this.urlHandlingStrategy.merge(De,this.rawUrlTree);return this.scheduleNavigation(Fe,Er,null,q)}navigate(T,q={skipLocationChange:!1}){return function Pi(y){for(let C=0;C<y.length;C++)if(null==y[C])throw new h.wOt(4008,!1)}(T),this.navigateByUrl(this.createUrlTree(T,q),q)}serializeUrl(T){return this.urlSerializer.serialize(T)}parseUrl(T){try{return this.urlSerializer.parse(T)}catch{return this.urlSerializer.parse("/")}}isActive(T,q){let De;if(De=!0===q?{...Pn}:!1===q?{...jr}:q,Ye(T))return Dt(this.currentUrlTree,T,De);const Fe=this.parseUrl(T);return Dt(this.currentUrlTree,Fe,De)}removeEmptyProps(T){return Object.entries(T).reduce((q,[De,Fe])=>(null!=Fe&&(q[De]=Fe),q),{})}scheduleNavigation(T,q,De,Fe,St){if(this.disposed)return Promise.resolve(!1);let gn,Ht,yr;St?(gn=St.resolve,Ht=St.reject,yr=St.promise):yr=new Promise((Xr,Wi)=>{gn=Xr,Ht=Wi});const ii=this.pendingTasks.add();return gr(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(ii))}),this.navigationTransitions.handleNavigationRequest({source:q,restoredState:De,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:T,extras:Fe,resolve:gn,reject:Ht,promise:yr,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),yr.catch(Xr=>Promise.reject(Xr))}}return(y=C).\u0275fac=function(T){return new(T||y)},y.\u0275prov=h.jDH({token:y,factory:y.\u0275fac,providedIn:"root"}),C})(),Ki=(()=>{var y;class C{constructor(T,q,De,Fe,St,gn){this.router=T,this.route=q,this.tabIndexAttribute=De,this.renderer=Fe,this.el=St,this.locationStrategy=gn,this.href=null,this.commands=null,this.onChanges=new Se.B7,this.preserveFragment=!1,this.skipLocationChange=!1,this.replaceUrl=!1;const Ht=St.nativeElement.tagName?.toLowerCase();this.isAnchorElement="a"===Ht||"area"===Ht,this.isAnchorElement?this.subscription=T.events.subscribe(yr=>{yr instanceof nr&&this.updateHref()}):this.setTabIndexIfNotOnNativeEl("0")}setTabIndexIfNotOnNativeEl(T){null!=this.tabIndexAttribute||this.isAnchorElement||this.applyAttributeValue("tabindex",T)}ngOnChanges(T){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}set routerLink(T){null!=T?(this.commands=Array.isArray(T)?T:[T],this.setTabIndexIfNotOnNativeEl("0")):(this.commands=null,this.setTabIndexIfNotOnNativeEl(null))}onClick(T,q,De,Fe,St){const gn=this.urlTree;return!!(null===gn||this.isAnchorElement&&(0!==T||q||De||Fe||St||"string"==typeof this.target&&"_self"!=this.target))||(this.router.navigateByUrl(gn,{skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state,info:this.info}),!this.isAnchorElement)}ngOnDestroy(){this.subscription?.unsubscribe()}updateHref(){const T=this.urlTree;this.href=null!==T&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(T)):null;const q=null===this.href?null:(0,h.n$t)(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",q)}applyAttributeValue(T,q){const De=this.renderer,Fe=this.el.nativeElement;null!==q?De.setAttribute(Fe,T,q):De.removeAttribute(Fe,T)}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:this.preserveFragment})}}return(y=C).\u0275fac=function(T){return new(T||y)(h.rXU(Gr),h.rXU(Ti),h.kS0("tabindex"),h.rXU(h.sFG),h.rXU(h.aKT),h.rXU(Re.hb))},y.\u0275dir=h.FsC({type:y,selectors:[["","routerLink",""]],hostVars:1,hostBindings:function(T,q){1&T&&h.bIt("click",function(Fe){return q.onClick(Fe.button,Fe.ctrlKey,Fe.shiftKey,Fe.altKey,Fe.metaKey)}),2&T&&h.BMQ("target",q.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",info:"info",relativeTo:"relativeTo",preserveFragment:[h.Mj6.HasDecoratorInputTransform,"preserveFragment","preserveFragment",h.L39],skipLocationChange:[h.Mj6.HasDecoratorInputTransform,"skipLocationChange","skipLocationChange",h.L39],replaceUrl:[h.Mj6.HasDecoratorInputTransform,"replaceUrl","replaceUrl",h.L39],routerLink:"routerLink"},standalone:!0,features:[h.GFd,h.OA$]}),C})(),$r=(()=>{var y;class C{get isActive(){return this._isActive}constructor(T,q,De,Fe,St){this.router=T,this.element=q,this.renderer=De,this.cdr=Fe,this.link=St,this.classes=[],this._isActive=!1,this.routerLinkActiveOptions={exact:!1},this.isActiveChange=new h.bkB,this.routerEventsSubscription=T.events.subscribe(gn=>
1{gn instanceof nr&&this.update()})}ngAfterContentInit(){(0,P.of)(this.links.changes,(0,P.of)(null)).pipe((0,pn.U)()).subscribe(T=>{this.update(),this.subscribeToEachLinkOnChanges()})}subscribeToEachLinkOnChanges(){this.linkInputChangesSubscription?.unsubscribe();const T=[...this.links.toArray(),this.link].filter(q=>!!q).map(q=>q.onChanges);this.linkInputChangesSubscription=(0,K.H)(T).pipe((0,pn.U)()).subscribe(q=>{this._isActive!==this.isLinkActive(this.router)(q)&&this.update()})}set routerLinkActive(T){const q=Array.isArray(T)?T:T.split(" ");this.classes=q.filter(De=>!!De)}ngOnChanges(T){this.update()}ngOnDestroy(){this.routerEventsSubscription.unsubscribe(),this.linkInputChangesSubscription?.unsubscribe()}update(){!this.links||!this.router.navigated||queueMicrotask(()=>{const T=this.hasActiveLinks();this.classes.forEach(q=>{T?this.renderer.addClass(this.element.nativeElement,q):this.renderer.removeClass(this.element.nativeElement,q)}),T&&void 0!==this.ariaCurrentWhenActive?this.renderer.setAttribute(this.element.nativeElement,"aria-current",this.ariaCurrentWhenActive.toString()):this.renderer.removeAttribute(this.element.nativeElement,"aria-current"),this._isActive!==T&&(this._isActive=T,this.cdr.markForCheck(),this.isActiveChange.emit(T))})}isLinkActive(T){const q=function uo(y){return!!y.paths}(this.routerLinkActiveOptions)?this.routerLinkActiveOptions:this.routerLinkActiveOptions.exact||!1;return De=>{const Fe=De.urlTree;return!!Fe&&T.isActive(Fe,q)}}hasActiveLinks(){const T=this.isLinkActive(this.router);return this.link&&T(this.link)||this.links.some(T)}}return(y=C).\u0275fac=function(T){return new(T||y)(h.rXU(Gr),h.rXU(h.aKT),h.rXU(h.sFG),h.rXU(h.gRc),h.rXU(Ki,8))},y.\u0275dir=h.FsC({type:y,selectors:[["","routerLinkActive",""]],contentQueries:function(T,q,De){if(1&T&&h.wni(De,Ki,5),2&T){let Fe;h.mGM(Fe=h.lsd())&&(q.links=Fe)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",ariaCurrentWhenActive:"ariaCurrentWhenActive",routerLinkActive:"routerLinkActive"},outputs:{isActiveChange:"isActiveChange"},exportAs:["routerLinkActive"],standalone:!0,features:[h.OA$]}),C})();class ns{}let Fs=(()=>{var y;class C{constructor(T,q,De,Fe,St){this.router=T,this.injector=De,this.preloadingStrategy=Fe,this.loader=St}setUpPreloading(){this.subscription=this.router.events.pipe((0,we.p)(T=>T instanceof nr),(0,Gt.H)(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(T,q){const De=[];for(const Fe of q){Fe.providers&&!Fe._injector&&(Fe._injector=(0,h.Ol2)(Fe.providers,T,`Route: ${Fe.path}`));const St=Fe._injector??T,gn=Fe._loadedInjector??St;(Fe.loadChildren&&!Fe._loadedRoutes&&void 0===Fe.canLoad||Fe.loadComponent&&!Fe._loadedComponent)&&De.push(this.preloadConfig(St,Fe)),(Fe.children||Fe._loadedRoutes)&&De.push(this.processRoutes(gn,Fe.children??Fe._loadedRoutes))}return(0,K.H)(De).pipe((0,pn.U)())}preloadConfig(T,q){return this.preloadingStrategy.preload(q,()=>{let De;De=q.loadChildren&&void 0===q.canLoad?this.loader.loadChildren(T,q):(0,P.of)(null);const Fe=De.pipe((0,re.ZZ)(St=>null===St?(0,P.of)(void 0):(q._loadedRoutes=St.routes,q._loadedInjector=St.injector,this.processRoutes(St.injector??T,St.routes))));if(q.loadComponent&&!q._loadedComponent){const St=this.loader.loadComponent(q);return(0,K.H)([Fe,St]).pipe((0,pn.U)())}return Fe})}}return(y=C).\u0275fac=function(T){return new(T||y)(h.KVO(Gr),h.KVO(h.Ql9),h.KVO(h.uvJ),h.KVO(ns),h.KVO(eo))},y.\u0275prov=h.jDH({token:y,factory:y.\u0275fac,providedIn:"root"}),C})();const po=new h.nKC("");let Fi=(()=>{var y;class C{constructor(T,q,De,Fe,St={}){this.urlSerializer=T,this.transitions=q,this.viewportScroller=De,this.zone=Fe,this.options=St,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},this.environmentInjector=(0,h.WQX)(h.uvJ),St.scrollPositionRestoration||="disabled",St.anchorScrolling||="disabled"}init(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.transitions.events.subscribe(T=>{T instanceof xr?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=T.navigationTrigger,this.restoredId=T.restoredState?T.restoredState.navigationId:0):T instanceof nr?(this.lastId=T.id,this.scheduleScrollEvent(T,this.urlSerializer.parse(T.urlAfterRedirects).fragment)):T instanceof Mr&&T.code===si.IgnoredSameUrlNavigation&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(T,this.urlSerializer.parse(T.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(T=>{T instanceof Kt&&(T.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(T.position):T.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(T.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(T,q){var De=this;this.zone.runOutsideAngular((0,c.A)(function*(){yield new Promise(Fe=>{setTimeout(()=>{Fe()}),(0,h.mal)(()=>{Fe()},{injector:De.environmentInjector})}),De.zone.run(()=>{De.transitions.events.next(new Kt(T,"popstate"===De.lastSource?De.store[De.restoredId]:null,q))})}))}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}}return(y=C).\u0275fac=function(T){h.QTQ()},y.\u0275prov=h.jDH({token:y,factory:y.\u0275fac}),C})();function yo(y,C){return{\u0275kind:y,\u0275providers:C}}function Ls(){const y=(0,h.WQX)(h.zZn);return C=>{const L=y.get(h.o8S);if(C!==L.components[0])return;const T=y.get(Gr),q=y.get(Nr);
11===y.get(va)&&T.initialNavigation(),y.get(cs,null,h.$GK.Optional)?.setUpPreloading(),y.get(po,null,h.$GK.Optional)?.init(),T.resetRootComponentType(L.componentTypes[0]),q.closed||(q.next(),q.complete(),q.unsubscribe())}}const Nr=new h.nKC("",{factory:()=>new Se.B7}),va=new h.nKC("",{providedIn:"root",factory:()=>1}),cs=new h.nKC("");function to(y){return yo(0,[{provide:cs,useExisting:Fs},{provide:ns,useExisting:y}])}function Qs(y){return yo(9,[{provide:B,useValue:je},{provide:Ee,useValue:{skipNextTransition:!!y?.skipInitialTransition,...y}}])}const rs=new h.nKC("ROUTER_FORROOT_GUARD"),ya=[Re.aZ,{provide:or,useClass:Dr},Gr,sr,{provide:Ti,useFactory:function ks(y){return y.routerState.root},deps:[Gr]},eo,[]];let Bc=(()=>{var y;class C{constructor(T){}static forRoot(T,q){return{ngModule:C,providers:[ya,[],{provide:Li,multi:!0,useValue:T},{provide:rs,useFactory:ad,deps:[[Gr,new h.Xx1,new h.kdw]]},{provide:Gi,useValue:q||{}},q?.useHash?{provide:Re.hb,useClass:Re.fw}:{provide:Re.hb,useClass:Re.Sm},{provide:po,useFactory:()=>{const y=(0,h.WQX)(Re.Xr),C=(0,h.WQX)(h.SKi),L=(0,h.WQX)(Gi),T=(0,h.WQX)(xt),q=(0,h.WQX)(or);return L.scrollOffset&&y.setOffset(L.scrollOffset),new Fi(q,T,y,C,L)}},q?.preloadingStrategy?to(q.preloadingStrategy).\u0275providers:[],q?.initialNavigation?Ho(q):[],q?.bindToComponentInputs?yo(8,[Yi,{provide:Po,useExisting:Yi}]).\u0275providers:[],q?.enableViewTransitions?Qs().\u0275providers:[],[{provide:su,useFactory:Ls},{provide:h.iLQ,multi:!0,useExisting:su}]]}}static forChild(T){return{ngModule:C,providers:[{provide:Li,multi:!0,useValue:T}]}}}return(y=C).\u0275fac=function(T){return new(T||y)(h.KVO(rs,8))},y.\u0275mod=h.$C({type:y}),y.\u0275inj=h.G2t({}),C})();function ad(y){return"guarded"}function Ho(y){return["disabled"===y.initialNavigation?yo(3,[{provide:h.hnV,multi:!0,useFactory:()=>{const C=(0,h.WQX)(Gr);return()=>{C.setUpLocationChangeListener()}}},{provide:va,useValue:2}]).\u0275providers:[],"enabledBlocking"===y.initialNavigation?yo(2,[{provide:va,useValue:0},{provide:h.hnV,multi:!0,deps:[h.zZn],useFactory:C=>{const L=C.get(Re.hj,Promise.resolve());return()=>L.then(()=>new Promise(T=>{const q=C.get(Gr),De=C.get(Nr);gr(q,()=>{T(!0)}),C.get(xt).afterPreactivation=()=>(T(!0),De.closed?(0,P.of)(void 0):De),q.initialNavigation()}))}}]).\u0275providers:[]]}const su=new h.nKC("")},3321:(Qe,ge,v)=>{"use strict";v.d(ge,{En:()=>wn,Vm:()=>jn,EH:()=>Yt,gp:()=>Mn});var c=v(7405),h=v(434),G=v(3119),j=v(8097);class P{call(It,Ue){return Ue.subscribe(new R(It))}}class R extends j.v{_next(It){}}var D=v(1500);class ${call(It,Ue){return Ue.subscribe(new F(It))}}class F extends j.v{constructor(It){super(It)}_next(It){this.destination.next(D.E.createNext(It))}_error(It){const Ue=this.destination;Ue.next(D.E.createError(It)),Ue.complete()}_complete(){const It=this.destination;It.next(D.E.createComplete()),It.complete()}}var k=v(5443),oe=v(9314),x=v(8627),ue=v(2672);function le(Et,It,Ue,Oe){return tt=>tt.lift(new Se(Et,It,Ue,Oe))}class Se{constructor(It,Ue,Oe,tt){this.keySelector=It,this.elementSelector=Ue,this.durationSelector=Oe,this.subjectSelector=tt}call(It,Ue){return Ue.subscribe(new $e(It,this.keySelector,this.elementSelector,this.durationSelector,this.subjectSelector))}}class $e extends j.v{constructor(It,Ue,Oe,tt,Xe){super(It),this.keySelector=Ue,this.elementSelector=Oe,this.durationSelector=tt,this.subjectSelector=Xe,this.groups=null,this.attemptedToUnsubscribe=!1,this.count=0}_next(It){let Ue;try{Ue=this.keySelector(It)}catch(Oe){return void this.error(Oe)}this._group(It,Ue)}_group(It,Ue){let Oe=this.groups;Oe||(Oe=this.groups=new Map);let Xe,tt=Oe.get(Ue);if(this.elementSelector)try{Xe=this.elementSelector(It)}catch(ft){this.error(ft)}else Xe=It;if(!tt){tt=this.subjectSelector?this.subjectSelector():new G.B7,Oe.set(Ue,tt);const ft=new Je(Ue,tt,this);if(this.destination.next(ft),this.durationSelector){let Bt;try{Bt=this.durationSelector(new Je(Ue,tt))}catch(hn){return void this.error(hn)}this.add(Bt.subscribe(new Re(Ue,tt,this)))}}tt.closed||tt.next(Xe)}_error(It){const Ue=this.groups;Ue&&(Ue.forEach((Oe,tt)=>{Oe.error(It)}),Ue.clear()),this.destination.error(It)}_complete(){const It=this.groups;It&&(It.forEach((Ue,Oe)=>{Ue.complete()}),It.clear()),this.destination.complete()}removeGroup(It){this.groups.delete(It)}unsubscribe(){this.closed||(this.attemptedToUnsubscribe=!0,0===this.count&&super.unsubscribe())}}class Re extends j.v{constructor(It,Ue,Oe){super(Ue),this.key=It,this.group=Ue,this.parent=Oe}_next(It){this.complete()}_unsubscribe(){const{parent:It,key:Ue}=this;this.key=this.parent=null,It&&It.removeGroup(Ue)}}class Je extends h.c{constructor(It,Ue,Oe){super(),this.key=It,this.groupSubject=Ue,this.refCountSubscription=Oe}_subscribe(It){const Ue=new ue.y,{refCountSubscription:Oe,groupSubject:tt}=this;return Oe&&!Oe.closed&&Ue.add(new st(Oe)),Ue.add(tt.subscribe(It)),Ue}}class st extends ue.y{constructor(It){super(),this.parent=It,It.count++}unsubscribe(){const It=this.parent;!It.closed&&!this.closed&&(super.unsubscribe(),It.count-=1,0===It.count&&It.attemptedToUnsubscribe&&It.unsubscribe())}}var at=v(3107),nt=v(1493);class re{call(It,Ue){return Ue.subscribe(new ye(It))}}class ye extends j.v{constructor(It){super(It)}_next(It){It.observe(this.destination)}}var Me=v(3602),Ie=v(8559),We=v(9916);const me={dispatch:!0,functional:!1,useEffectsErrorHandler:!0},_t="__@ngrx/effects_create__";function Yt(Et,It={}){const Ue=It.functional?Et:Et(),Oe={...me,...It};return Object.defineProperty(Ue,_t,{value:Oe}),Ue}function Ut(Et){return Object.getPrototypeOf(Et)}function rn(Et){return"function"==typeof Et}function Cn(Et){return Et.filter(rn)}function Bn(Et,It,Ue){const Oe=Ut(Et),Xe=Oe&&"Object"!==Oe.constructor.name?Oe.constructor.name:null,ft=function an(Et){return function vn(Et){return Object.getOwnPropertyNames(Et).filter(Oe=>!(!Et[Oe]||!Et[Oe].hasOwnProperty(_t))&&Et[Oe][_t].hasOwnProperty("dispatch")).map(Oe=>({propertyName:Oe,...Et[Oe][_t]}))}(Et)}(Et).map(({propertyName:Bt,dispatch:hn,useEffectsErrorHandler:Jt})=>{const Ir="function"==typeof Et[Bt]?Et[Bt]():Et[Bt],kr=Jt?Ue(Ir,It):Ir;return!1===hn?kr.pipe(function K(){return function(It){return It.lift(new P)}}()):kr.pipe(function W(){return function(It){return It.lift(new $)}}()).pipe((0,k.T)(tr=>({effect:Et[Bt],notification:tr,propertyName:Bt,sourceName:Xe,sourceInstance:Et})))});return(0,c.h)(...ft)}function Qt(Et,It,Ue=10){return Et.pipe((0,oe.W)(Oe=>(It&&It.handleError(Oe),Ue<=1?Et:Qt(Et,It,Ue-1))))}let wn=(()=>{var Et;class It extends h.c{constructor(Oe){super(),Oe&&(this.source=Oe)}lift(Oe){const tt=new It;return tt.source=this,tt.operator=Oe,tt}}return(Et=It).\u0275fac=function(Oe){return new(Oe||Et)(Ie.KVO(We.sA))},Et.\u0275prov=Ie.jDH({token:Et,factory:Et.\u0275fac,providedIn:"root"}),It})();function Mn(...Et){return(0,x.p)(It=>Et.some(Ue=>"string"==typeof Ue?Ue===It.type:Ue.type===It.type))}const pn=new Ie.nKC("@ngrx/effects Internal Root Guard"),Zn=new Ie.nKC("@ngrx/effects User Provided Effects"),be=new Ie.nKC("@ngrx/effects Internal Root Effects"),Pt=new Ie.nKC("@ngrx/effects Internal Root Effects Instances"),In=new Ie.nKC("@ngrx/effects Internal Feature Effects"),Nn=new Ie.nKC("@ngrx/effects Internal Feature Effects Instance Groups"),ur=new Ie.nKC("@ngrx/effects Effects Error Handler",{providedIn:"root",factory:()=>Qt}),Hr="@ngrx/effects/init";(0,We.VP)(Hr);function zn(Et){return kn(Et,"ngrxOnInitEffects")}function kn(Et,It){return Et&&It in Et&&"function"==typeof Et[It]}let fn=(()=>{var Et;class It extends G.B7{constructor(Oe,tt){super(),this.errorHandler=Oe,this.effectsErrorHandler=tt}addEffects(Oe){this.next(Oe)}toActions(){return this.pipe(le(Oe=>function Xt(Et){return!!Et.constructor&&"Object"!==Et.constructor.name&&"Function"!==Et.constructor.name}(Oe)?Ut(Oe):Oe),(0,at.ZZ)(Oe=>Oe.pipe(le(Xn))),(0,at.ZZ)(Oe=>{const tt=Oe.pipe((0,nt.p)(ft=>function zr(Et,It){return Ue=>{const Oe=Bn(Ue,Et,It);return function En(Et){return kn(Et,"ngrxOnRunEffects")}(Ue)?Ue.ngrxOnRunEffects(Oe):Oe}}(this.errorHandler,this.effectsErrorHandler)(ft)),(0,k.T)(ft=>(function ke(Et,It){if("N"===Et.notification.kind){const Ue=Et.notification.value;!function te(Et){return"function"!=typeof Et&&Et&&Et.type&&"string"==typeof Et.type}(Ue)&&It.handleError(new Error(`Effect ${function ne({propertyName:Et,sourceInstance:It,sourceName:Ue}){const Oe="function"==typeof It[Et];return Ue?`"${Ue}.${String(Et)}${Oe?"()":""}"`:`"${String(Et)}()"`}(Et)}
1 dispatched an invalid action: ${function Ve(Et){try{return JSON.stringify(Et)}catch{return Et}}(Ue)}`))}}(ft,this.errorHandler),ft.notification)),(0,x.p)(ft=>"N"===ft.kind&&null!=ft.value),function we(){return function(It){return It.lift(new re)}}()),Xe=Oe.pipe((0,Me.s)(1),(0,x.p)(zn),(0,k.T)(ft=>ft.ngrxOnInitEffects()));return(0,c.h)(tt,Xe)}))}}return(Et=It).\u0275fac=function(Oe){return new(Oe||Et)(Ie.KVO(Ie.zcH),Ie.KVO(ur))},Et.\u0275prov=Ie.jDH({token:Et,factory:Et.\u0275fac,providedIn:"root"}),It})();function Xn(Et){return function Mt(Et){return kn(Et,"ngrxOnIdentifyEffects")}(Et)?Et.ngrxOnIdentifyEffects():""}let mn=(()=>{var Et;class It{get isStarted(){return!!this.effectsSubscription}constructor(Oe,tt){this.effectSources=Oe,this.store=tt,this.effectsSubscription=null}start(){this.effectsSubscription||(this.effectsSubscription=this.effectSources.toActions().subscribe(this.store))}ngOnDestroy(){this.effectsSubscription&&(this.effectsSubscription.unsubscribe(),this.effectsSubscription=null)}}return(Et=It).\u0275fac=function(Oe){return new(Oe||Et)(Ie.KVO(fn),Ie.KVO(We.il))},Et.\u0275prov=Ie.jDH({token:Et,factory:Et.\u0275fac,providedIn:"root"}),It})(),Br=(()=>{var Et;class It{constructor(Oe,tt,Xe,ft,Bt,hn,Jt){this.sources=Oe,tt.start();for(const Ir of ft)Oe.addEffects(Ir);Xe.dispatch({type:Hr})}addEffects(Oe){this.sources.addEffects(Oe)}}return(Et=It).\u0275fac=function(Oe){return new(Oe||Et)(Ie.KVO(fn),Ie.KVO(mn),Ie.KVO(We.il),Ie.KVO(Pt),Ie.KVO(We.wc,8),Ie.KVO(We.ae,8),Ie.KVO(pn,8))},Et.\u0275mod=Ie.$C({type:Et}),Et.\u0275inj=Ie.G2t({}),It})(),hr=(()=>{var Et;class It{constructor(Oe,tt,Xe,ft){const Bt=tt.flat();for(const hn of Bt)Oe.addEffects(hn)}}return(Et=It).\u0275fac=function(Oe){return new(Oe||Et)(Ie.KVO(Br),Ie.KVO(Nn),Ie.KVO(We.wc,8),Ie.KVO(We.ae,8))},Et.\u0275mod=Ie.$C({type:Et}),Et.\u0275inj=Ie.G2t({}),It})(),jn=(()=>{var Et;class It{static forFeature(...Oe){const tt=Oe.flat(),Xe=Cn(tt);return{ngModule:hr,providers:[Xe,{provide:In,multi:!0,useValue:tt},{provide:Zn,multi:!0,useValue:[]},{provide:Nn,multi:!0,useFactory:oi,deps:[In,Zn]}]}}static forRoot(...Oe){const tt=Oe.flat(),Xe=Cn(tt);return{ngModule:Br,providers:[Xe,{provide:be,useValue:[tt]},{provide:pn,useFactory:or},{provide:Zn,multi:!0,useValue:[]},{provide:Pt,useFactory:oi,deps:[be,Zn]}]}}}return(Et=It).\u0275fac=function(Oe){return new(Oe||Et)},Et.\u0275mod=Ie.$C({type:Et}),Et.\u0275inj=Ie.G2t({}),It})();function oi(Et,It){const Ue=[];for(const Oe of Et)Ue.push(...Oe);for(const Oe of It)Ue.push(...Oe);return Ue.map(Oe=>function On(Et){return Et instanceof Ie.nKC||rn(Et)}(Oe)?(0,Ie.WQX)(Oe):Oe)}function or(){const Et=(0,Ie.WQX)(mn,{optional:!0,skipSelf:!0}),It=(0,Ie.WQX)(be,{self:!0});if((1!==It.length||0!==It[0].length)&&Et)throw new TypeError("EffectsModule.forRoot() called twice. Feature modules should use EffectsModule.forFeature() instead.");return"guarded"}},9916:(Qe,ge,v)=>{"use strict";v.d(ge,{SS:()=>We,Zz:()=>Ie,N_:()=>vn,Bh:()=>Mt,QU:()=>lt,sA:()=>zn,h1:()=>fn,il:()=>Br,ae:()=>Un,md:()=>br,wc:()=>wi,q6:()=>Dt,VP:()=>$e,UX:()=>co,vy:()=>Ii,Mz:()=>Zr,on:()=>lo,xk:()=>Re});var c=v(8559),h=v(521),G=v(434),j=v(3119),K=v(5615),P=v(188),R=v(9006),D=v(2508),W=v(9852),$=v(5443),F=v(8097);class oe{constructor(ae,J){this.compare=ae,this.keySelector=J}call(ae,J){return J.subscribe(new x(ae,this.compare,this.keySelector))}}class x extends F.v{constructor(ae,J,pe){super(ae),this.keySelector=pe,this.hasKey=!1,"function"==typeof J&&(this.compare=J)}compare(ae,J){return ae===J}_next(ae){let J;try{const{keySelector:Ge}=this;J=Ge?Ge(ae):ae}catch(Ge){return this.destination.error(Ge)}let pe=!1;if(this.hasKey)try{const{compare:Ge}=this;pe=Ge(this.key,J)}catch(Ge){return this.destination.error(Ge)}else this.hasKey=!0;pe||(this.key=J,this.destination.next(ae))}}var ue=v(9074);const le={};function $e(O,ae){if(le[O]=(le[O]||0)+1,"function"==typeof ae)return st(O,(...pe)=>({...ae(...pe),type:O}));switch(ae?ae._as:"empty"){case"empty":return st(O,()=>({type:O}));case"props":return st(O,pe=>({...pe,type:O}));default:throw new Error("Unexpected config.")}}function Re(){return{_as:"props",_p:void 0}}function st(O,ae){return Object.defineProperty(ae,"type",{value:O,writable:!1})}const Ie="@ngrx/store/init";let We=(()=>{var O;class ae extends h.t{constructor(){super({type:Ie})}next(pe){if("function"==typeof pe)throw new TypeError("\n        Dispatch expected an object, instead it received a function.\n        If you're using the createAction function, make sure to invoke the function\n        before dispatching the action. For example, someAction should be someAction().");if(typeof pe>"u")throw new TypeError("Actions must be objects");if(typeof pe.type>"u")throw new TypeError("Actions must have a type property");super.next(pe)}complete(){}ngOnDestroy(){super.complete()}}return(O=ae).\u0275fac=function(pe){return new(pe||O)},O.\u0275prov=c.jDH({token:O,factory:O.\u0275fac}),ae})();const me=[We],_t=new c.nKC("@ngrx/store Internal Root Guard"),Yt=new c.nKC("@ngrx/store Internal Initial State"),vn=new c.nKC("@ngrx/store Initial State"),Gt=new c.nKC("@ngrx/store Reducer Factory"),an=new c.nKC("@ngrx/store Internal Reducer Factory Provider"),Ut=new c.nKC("@ngrx/store Initial Reducers"),Xt=new c.nKC("@ngrx/store Internal Initial Reducers"),rn=new c.nKC("@ngrx/store Store Features"),Cn=new c.nKC("@ngrx/store Internal Store Reducers"),On=new c.nKC("@ngrx/store Internal Feature Reducers"),Bn=new c.nKC("@ngrx/store Internal Feature Configs"),dn=new c.nKC("@ngrx/store Internal Store Features"),Qt=new c.nKC("@ngrx/store Internal Feature Reducers Token"),wn=new c.nKC("@ngrx/store Feature Reducers"),Mn=new c.nKC("@ngrx/store User Provided Meta Reducers"),pn=new c.nKC("@ngrx/store Meta Reducers"),Zn=new c.nKC("@ngrx/store Internal Resolved Meta Reducers"),be=new c.nKC("@ngrx/store User Runtime Checks Config"),Pt=new c.nKC("@ngrx/store Internal User Runtime Checks Config"),In=new c.nKC("@ngrx/store Internal Runtime Checks"),Nn=new c.nKC("@ngrx/store Check if Action types are unique");function zt(O,ae={}){const J=Object.keys(O),pe={};for(let wt=0;wt<J.length;wt++){const Kt=J[wt];"function"==typeof O[Kt]&&(pe[Kt]=O[Kt])}const Ge=Object.keys(pe);return function(Kt,yn){Kt=void 0===Kt?ae:Kt;let Fn=!1;const Kn={};for(let en=0;en<Ge.length;en++){const sr=Ge[en],di=Kt[sr],qi=(0,pe[sr])(di,yn);Kn[sr]=qi,Fn=Fn||qi!==di}return Fn?Kn:Kt}}function te(...O){return function(ae){if(0===O.length)return ae;const J=O[O.length-1];return O.slice(0,-1).reduceRight((Ge,wt)=>wt(Ge),J(ae))}}function ne(O,ae){return Array.isArray(ae)&&ae.length>0&&(O=te.apply(null,[...ae,O])),(J,pe)=>{const Ge=O(J);return(wt,Kt)=>Ge(wt=void 0===wt?pe:wt,Kt)}}new c.nKC("@ngrx/store Root Store Provider"),new c.nKC("@ngrx/store Feature State Provider");class lt extends G.c{}class Mt extends We{}const Dt="@ngrx/store/update-reducers";let En=(()=>{var O;class ae extends h.t{get currentReducers(){return this.reducers}constructor(pe,Ge,wt,Kt){super(Kt(wt,Ge)),this.dispatcher=pe,this.initialState=Ge,this.reducers=wt,this.reducerFactory=Kt}addFeature(pe){this.addFeatures([pe])}addFeatures(pe){const Ge=pe.reduce((wt,{reducers:Kt,reducerFactory:yn,metaReducers:Fn,initialState:Kn,key:en})=>{const sr="function"==typeof Kt?function Ve(O){const ae=Array.isArray(O)&&O.length>0?te(...O):J=>J;return(J,pe)=>(J=ae(J),(Ge,wt)=>J(Ge=void 0===Ge?pe:Ge,wt))}(Fn)(Kt,Kn):ne(yn,Fn)(Kt,Kn);return wt[en]=sr,wt},{});this.addReducers(Ge)}
1removeFeature(pe){this.removeFeatures([pe])}removeFeatures(pe){this.removeReducers(pe.map(Ge=>Ge.key))}addReducer(pe,Ge){this.addReducers({[pe]:Ge})}addReducers(pe){this.reducers={...this.reducers,...pe},this.updateReducers(Object.keys(pe))}removeReducer(pe){this.removeReducers([pe])}removeReducers(pe){pe.forEach(Ge=>{this.reducers=function ke(O,ae){return Object.keys(O).filter(J=>J!==ae).reduce((J,pe)=>Object.assign(J,{[pe]:O[pe]}),{})}(this.reducers,Ge)}),this.updateReducers(pe)}updateReducers(pe){this.next(this.reducerFactory(this.reducers,this.initialState)),this.dispatcher.next({type:Dt,features:pe})}ngOnDestroy(){this.complete()}}return(O=ae).\u0275fac=function(pe){return new(pe||O)(c.KVO(Mt),c.KVO(vn),c.KVO(Ut),c.KVO(Gt))},O.\u0275prov=c.jDH({token:O,factory:O.\u0275fac}),ae})();const Qn=[En,{provide:lt,useExisting:En},{provide:Mt,useExisting:We}];let zn=(()=>{var O;class ae extends j.B7{ngOnDestroy(){this.complete()}}return(O=ae).\u0275fac=(()=>{let J;return function(Ge){return(J||(J=c.xGo(O)))(Ge||O)}})(),O.\u0275prov=c.jDH({token:O,factory:O.\u0275fac}),ae})();const kn=[zn];class fn extends G.c{}let Xn=(()=>{var O;class ae extends h.t{constructor(pe,Ge,wt,Kt){super(Kt);const en=pe.pipe((0,P.QE)(K.g)).pipe((0,R.E)(Ge)).pipe((0,D.S)(zr,{state:Kt}));this.stateSubscription=en.subscribe(({state:sr,action:Gn})=>{this.next(sr),wt.next(Gn)}),this.state=(0,ue.ot)(this,{manualCleanup:!0,requireSync:!0})}ngOnDestroy(){this.stateSubscription.unsubscribe(),this.complete()}}return(O=ae).INIT=Ie,O.\u0275fac=function(pe){return new(pe||O)(c.KVO(We),c.KVO(lt),c.KVO(zn),c.KVO(vn))},O.\u0275prov=c.jDH({token:O,factory:O.\u0275fac}),ae})();function zr(O={state:void 0},[ae,J]){const{state:pe}=O;return{state:J(pe,ae),action:ae}}const mn=[Xn,{provide:fn,useExisting:Xn}];let Br=(()=>{var O;class ae extends G.c{constructor(pe,Ge,wt){super(),this.actionsObserver=Ge,this.reducerManager=wt,this.source=pe,this.state=pe.state}select(pe,...Ge){return jn.call(null,pe,...Ge)(this)}selectSignal(pe,Ge){return(0,c.EWP)(()=>pe(this.state()),Ge)}lift(pe){const Ge=new ae(this,this.actionsObserver,this.reducerManager);return Ge.operator=pe,Ge}dispatch(pe){this.actionsObserver.next(pe)}next(pe){this.actionsObserver.next(pe)}error(pe){this.actionsObserver.error(pe)}complete(){this.actionsObserver.complete()}addReducer(pe,Ge){this.reducerManager.addReducer(pe,Ge)}removeReducer(pe){this.reducerManager.removeReducer(pe)}}return(O=ae).\u0275fac=function(pe){return new(pe||O)(c.KVO(fn),c.KVO(We),c.KVO(En))},O.\u0275prov=c.jDH({token:O,factory:O.\u0275fac}),ae})();const hr=[Br];function jn(O,ae,...J){return function(Ge){let wt;
1if("string"==typeof O){const Kt=[ae,...J].filter(Boolean);wt=Ge.pipe((0,W.E)(O,...Kt))}else{if("function"!=typeof O)throw new TypeError(`Unexpected type '${typeof O}' in select operator, expected 'string' or 'function'`);wt=Ge.pipe((0,$.T)(Kt=>O(Kt,ae)))}return wt.pipe(function k(O,ae){return J=>J.lift(new oe(O,ae))}())}}const oi="https://ngrx.io/guide/store/configuration/runtime-checks";function or(O){return void 0===O}function Dr(O){return null===O}function Ei(O){return Array.isArray(O)}function Oe(O){return"object"==typeof O&&null!==O}function ft(O){return"function"==typeof O}let Jt=!1;function Lr(O,ae){return O===ae}function Tn(O,ae=Lr,J=Lr){let wt,pe=null,Ge=null;return{memoized:function Kn(){if(void 0!==wt)return wt.result;if(!pe)return Ge=O.apply(null,arguments),pe=arguments,Ge;if(!function tr(O,ae,J){for(let pe=0;pe<O.length;pe++)if(!J(O[pe],ae[pe]))return!0;return!1}(arguments,pe,ae))return Ge;const en=O.apply(null,arguments);return pe=arguments,J(Ge,en)?Ge:(Ge=en,en)},reset:function Kt(){pe=null,Ge=null},setResult:function yn(en=void 0){wt={result:en}},clearResult:function Fn(){wt=void 0}}}function Zr(...O){return function Rn(O,ae={stateFn:Ot}){return function(...J){let pe=J;if(Array.isArray(pe[0])){const[en,...sr]=pe;pe=[...en,...sr]}else 1===pe.length&&function Vi(O){return!!O&&"object"==typeof O&&Object.values(O).every(ae=>"function"==typeof ae)}(pe[0])&&(pe=function ji(O){const ae=Object.values(O),J=Object.keys(O);return[...ae,(...Ge)=>J.reduce((wt,Kt,yn)=>({...wt,[Kt]:Ge[yn]}),{})]}(pe[0]));const Ge=pe.slice(0,pe.length-1),wt=pe[pe.length-1],Kt=Ge.filter(en=>en.release&&"function"==typeof en.release),yn=O(function(...en){return wt.apply(null,en)}),Fn=Tn(function(en,sr){return ae.stateFn.apply(null,[en,Ge,sr,yn])});return Object.assign(Fn.memoized,{release:function Kn(){Fn.reset(),yn.reset(),Kt.forEach(en=>en.release())},projector:yn.memoized,setResult:Fn.setResult,clearResult:Fn.clearResult})}}(Tn)(...O)}function Ot(O,ae,J,pe){if(void 0===J){const wt=ae.map(Kt=>Kt(O));return pe.memoized.apply(null,wt)}const Ge=ae.map(wt=>wt(O,J));return pe.memoized.apply(null,[...Ge,J])}function co(O){return Zr(ae=>{const J=ae[O];return!function kr(){return Jt}()&&(0,c.naY)()&&!(O in ae)&&console.warn(`@ngrx/store: The feature name "${O}" does not exist in the state, therefore createFeatureSelector cannot access it.  Be sure it is imported in a loaded module using StoreModule.forRoot('${O}', ...) or StoreModule.forFeature('${O}', ...).  If the default state is intended to be undefined, as is the case with router state, this development-only warning message can be ignored.`),J},ae=>ae)}function Ze(O){return O instanceof c.nKC?(0,c.WQX)(O):O}function He(O,ae){return ae.map((J,pe)=>{if(O[pe]instanceof c.nKC){const Ge=(0,c.WQX)(O[pe]);return{key:J.key,reducerFactory:Ge.reducerFactory?Ge.reducerFactory:zt,metaReducers:Ge.metaReducers?Ge.metaReducers:[],initialState:Ge.initialState}}return J})}function ee(O){return O.map(ae=>ae instanceof c.nKC?(0,c.WQX)(ae):ae)}function it(O){return"function"==typeof O?O():O}function Ct(O,ae){return O.concat(ae)}function tn(){if((0,c.WQX)(Br,{optional:!0,skipSelf:!0}))throw new TypeError("The root Store has been provided more than once. Feature modules should provide feature states instead.");return"guarded"}function Z(O){Object.freeze(O);const ae=ft(O);return Object.getOwnPropertyNames(O).forEach(J=>{if(!J.startsWith("\u0275")&&function hn(O,ae){return Object.prototype.hasOwnProperty.call(O,ae)}(O,J)&&(!ae||"caller"!==J&&"callee"!==J&&"arguments"!==J)){const pe=O[J];(Oe(pe)||ft(pe))&&!Object.isFrozen(pe)&&Z(pe)}}),O}function ht(O,ae=[]){return(or(O)||Dr(O))&&0===ae.length?{path:["root"],value:O}:Object.keys(O).reduce((pe,Ge)=>{if(pe)return pe;const wt=O[Ge];return function Bt(O){return ft(O)&&O.hasOwnProperty("\u0275cmp")}(wt)?pe:!(or(wt)||Dr(wt)||function Ue(O){return"number"==typeof O}(wt)||function It(O){return"boolean"==typeof O}(wt)||function Et(O){return"string"==typeof O}(wt)||Ei(wt))&&(function Xe(O){if(!function tt(O){return Oe(O)&&!Ei(O)}(O))return!1;const ae=Object.getPrototypeOf(O);return ae===Object.prototype||null===ae}(wt)?ht(wt,[...ae,Ge]):{path:[...ae,Ge],value:wt})},!1)}function dt(O,ae){if(!1===O)return;const J=O.path.join("."),pe=new Error(`Detected unserializable ${ae} at "${J}". ${oi}#strict${ae}serializability`);throw pe.value=O.value,pe.unserializablePath=J,pe}
1function Rt(O){return(0,c.naY)()?{strictStateSerializability:!1,strictActionSerializability:!1,strictStateImmutability:!0,strictActionImmutability:!0,strictActionWithinNgZone:!1,strictActionTypeUniqueness:!1,...O}:{strictStateSerializability:!1,strictActionSerializability:!1,strictStateImmutability:!1,strictActionImmutability:!1,strictActionWithinNgZone:!1,strictActionTypeUniqueness:!1}}function on({strictActionSerializability:O,strictStateSerializability:ae}){return J=>O||ae?function Ae(O,ae){return function(J,pe){ae.action(pe)&&dt(ht(pe),"action");const Ge=O(J,pe);return ae.state()&&dt(ht(Ge),"state"),Ge}}(J,{action:pe=>O&&!bn(pe),state:()=>ae}):J}function ln({strictActionImmutability:O,strictStateImmutability:ae}){return J=>O||ae?function se(O,ae){return function(J,pe){const Ge=ae.action(pe)?Z(pe):pe,wt=O(J,Ge);return ae.state()?Z(wt):wt}}(J,{action:pe=>O&&!bn(pe),state:()=>ae}):J}function bn(O){return O.type.startsWith("@ngrx")}function Ln({strictActionWithinNgZone:O}){return ae=>O?function mt(O,ae){return function(J,pe){if(ae.action(pe)&&!c.SKi.isInAngularZone())throw new Error(`Action '${pe.type}' running outside NgZone. ${oi}#strictactionwithinngzone`);return O(J,pe)}}(ae,{action:J=>O&&!bn(J)}):ae}function mr(O){return[{provide:Pt,useValue:O},{provide:be,useFactory:Er,deps:[Pt]},{provide:In,deps:[be],useFactory:Rt},{provide:pn,multi:!0,deps:[In],useFactory:ln},{provide:pn,multi:!0,deps:[In],useFactory:on},{provide:pn,multi:!0,deps:[In],useFactory:Ln}]}function pr(){return[{provide:Nn,multi:!0,deps:[In],useFactory:xn}]}function Er(O){return O}function xn(O){if(!O.strictActionTypeUniqueness)return;const ae=Object.entries(le).filter(([,J])=>J>1).map(([J])=>J);if(ae.length)throw new Error(`Action types are registered more than once, ${ae.map(J=>`"${J}"`).join(", ")}. ${oi}#strictactiontypeuniqueness`)}function xr(O={},ae={}){return[{provide:_t,useFactory:tn},{provide:Yt,useValue:ae.initialState},{provide:vn,useFactory:it,deps:[Yt]},{provide:Xt,useValue:O},{provide:Cn,useExisting:O instanceof c.nKC?O:Xt},{provide:Ut,deps:[Xt,[new c.y_5(Cn)]],useFactory:Ze},{provide:Mn,useValue:ae.metaReducers?ae.metaReducers:[]},{provide:Zn,deps:[pn,Mn],useFactory:Ct},{provide:an,useValue:ae.reducerFactory?ae.reducerFactory:zt},{provide:Gt,deps:[an,Zn],useFactory:ne},me,Qn,kn,mn,hr,mr(ae.runtimeChecks),pr()]}function ai(O,ae,J={}){return[{provide:Bn,multi:!0,useValue:O instanceof Object?{}:J},{provide:rn,multi:!0,useValue:{key:O instanceof Object?O.name:O,reducerFactory:J instanceof c.nKC||!J.reducerFactory?zt:J.reducerFactory,metaReducers:J instanceof c.nKC||!J.metaReducers?[]:J.metaReducers,initialState:J instanceof c.nKC||!J.initialState?void 0:J.initialState}},{provide:dn,deps:[Bn,rn],useFactory:He},{provide:On,multi:!0,useValue:O instanceof Object?O.reducer:ae},{provide:Qt,multi:!0,useExisting:ae instanceof c.nKC?ae:On},{provide:wn,multi:!0,deps:[On,[new c.y_5(Qt)]],useFactory:ee},pr()]}let wi=(()=>{var O;class ae{constructor(pe,Ge,wt,Kt,yn,Fn){}}return(O=ae).\u0275fac=function(pe){return new(pe||O)(c.KVO(We),c.KVO(lt),c.KVO(zn),c.KVO(Br),c.KVO(_t,8),c.KVO(Nn,8))},O.\u0275mod=c.$C({type:O}),O.\u0275inj=c.G2t({}),ae})(),Un=(()=>{var O;class ae{constructor(pe,Ge,wt,Kt,yn){this.features=pe,this.featureReducers=Ge,this.reducerManager=wt;const Fn=pe.map((Kn,en)=>{const Gn=Ge.shift()[en];return{...Kn,reducers:Gn,initialState:it(Kn.initialState)}});wt.addFeatures(Fn)}ngOnDestroy(){this.reducerManager.removeFeatures(this.features)}}return(O=ae).\u0275fac=function(pe){return new(pe||O)(c.KVO(dn),c.KVO(wn),c.KVO(En),c.KVO(wi),c.KVO(Nn,8))},O.\u0275mod=c.$C({type:O}),O.\u0275inj=c.G2t({}),ae})(),br=(()=>{var O;class ae{static forRoot(pe,Ge){return{ngModule:wi,providers:[...xr(pe,Ge)]}}static forFeature(pe,Ge,wt={}){return{ngModule:Un,providers:[...ai(pe,Ge,wt)]}}}return(O=ae).\u0275fac=function(pe){return new(pe||O)},O.\u0275mod=c.$C({type:O}),O.\u0275inj=c.G2t({}),ae})();function lo(...O){return{reducer:O.pop(),types:O.map(pe=>pe.type)}}function Ii(O,...ae){const J=new Map;for(const pe of ae)for(const Ge of pe.types){const wt=J.get(Ge);J.set(Ge,wt?(yn,Fn)=>pe.reducer(wt(yn,Fn),Fn):pe.reducer)}return function(pe=O,Ge){const wt=J.get(Ge.type);return wt?wt(pe,Ge):pe}}}
1,8592:(Qe,ge,v)=>{"use strict";function c(le){return(c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(Se){return typeof Se}:function(Se){return Se&&"function"==typeof Symbol&&Se.constructor===Symbol&&Se!==Symbol.prototype?"symbol":typeof Se})(le)}function h(le,Se){for(var $e=0;$e<Se.length;$e++){var Re=Se[$e];Re.enumerable=Re.enumerable||!1,Re.configurable=!0,"value"in Re&&(Re.writable=!0),Object.defineProperty(le,Re.key,Re)}}function D(le){if(void 0===le)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return le}function W(le){var Se="function"==typeof Map?new Map:void 0;return W=function(Re){if(null===Re||!function k(le){return-1!==Function.toString.call(le).indexOf("[native code]")}(Re))return Re;if("function"!=typeof Re)throw new TypeError("Super expression must either be null or a function");if(typeof Se<"u"){if(Se.has(Re))return Se.get(Re);Se.set(Re,Je)}function Je(){return $(Re,arguments,x(this).constructor)}return Je.prototype=Object.create(Re.prototype,{constructor:{value:Je,enumerable:!1,writable:!0,configurable:!0}}),oe(Je,Re)},W(le)}function $(le,Se,$e){return($=F()?Reflect.construct:function(Je,st,at){var nt=[null];nt.push.apply(nt,st);var re=new(Function.bind.apply(Je,nt));return at&&oe(re,at.prototype),re}).apply(null,arguments)}function F(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function oe(le,Se){return(oe=Object.setPrototypeOf||function(Re,Je){return Re.__proto__=Je,Re})(le,Se)}function x(le){return(x=Object.setPrototypeOf?Object.getPrototypeOf:function($e){return $e.__proto__||Object.getPrototypeOf($e)})(le)}v.d(ge,{A:()=>ue});var ue=function(le){!function K(le,Se){if("function"!=typeof Se&&null!==Se)throw new TypeError("Super expression must either be null or a function");le.prototype=Object.create(Se&&Se.prototype,{constructor:{value:le,writable:!0,configurable:!0}}),Object.defineProperty(le,"prototype",{writable:!1}),Se&&oe(le,Se)}($e,le);var Se=function P(le){var Se=F();return function(){var Je,Re=x(le);if(Se){var st=x(this).constructor;Je=Reflect.construct(Re,arguments,st)}else Je=Re.apply(this,arguments);return function R(le,Se){if(Se&&("object"===c(Se)||"function"==typeof Se))return Se;if(void 0!==Se)throw new TypeError("Derived constructors may only return object or undefined");return D(le)}(this,Je)}}($e);function $e(Re){var Je;return function j(le,Se){if(!(le instanceof Se))throw new TypeError("Cannot call a class as a function")}(this,$e),Je=Se.call(this,Re),Object.setPrototypeOf(D(Je),$e.prototype),Je.name=Je.constructor.name,Je}return function G(le,Se,$e){return Se&&h(le.prototype,Se),$e&&h(le,$e),Object.defineProperty(le,"prototype",{writable:!1}),le}($e)}(W(Error))},9146:(Qe,ge,v)=>{"use strict";v.d(ge,{A:()=>h});var c={}.constructor;function h(G){return null!=G&&G.constructor===c}},579:(Qe,ge,v)=>{"use strict";function c(we,re){we=we.split("-"),re=re.split("-");for(var ye=we[0].split("."),Me=re[0].split("."),Ie=0;Ie<3;Ie++){var We=Number(ye[Ie]),me=Number(Me[Ie]);if(We>me)return 1;if(me>We)return-1;if(!isNaN(We)&&isNaN(me))return 1;if(isNaN(We)&&!isNaN(me))return-1}return we[1]&&re[1]?we[1]>re[1]?1:we[1]<re[1]?-1:0:!we[1]&&re[1]?1:we[1]&&!re[1]?-1:0}v.d(ge,{Ay:()=>k,Ko:()=>st,J_:()=>at});var h=v(9146);function G(we){return(G="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(re){return typeof re}:function(re){return re&&"function"==typeof Symbol&&re.constructor===Symbol&&re!==Symbol.prototype?"symbol":typeof re})(we)}function j(we,re){if(!(we instanceof re))throw new TypeError("Cannot call a class as a function")}function K(we,re){for(var ye=0;ye<re.length;ye++){var Me=re[ye];Me.enumerable=Me.enumerable||!1,Me.configurable=!0,"value"in Me&&(Me.writable=!0),Object.defineProperty(we,Me.key,Me)}}function P(we,re,ye){return re&&K(we.prototype,re),ye&&K(we,ye),Object.defineProperty(we,"prototype",{writable:!1}),we}var $=" ext. ",F=/^\d+$/,k=function(){function we(re){j(this,we),function $e(we){if(!we)throw new Error("[libphonenumber-js] `metadata` argument not passed. Check your arguments.");if(!(0,h.A)(we)||!(0,h.A)(we.countries))throw new Error("[libphonenumber-js] `metadata` argument was passed but it's not a valid metadata. Must be an object having `.countries` 
1child object property. Got ".concat((0,h.A)(we)?"an object of shape: { "+Object.keys(we).join(", ")+" }":"a "+Re(we)+": "+we,"."))}(re),this.metadata=re,nt.call(this,re)}return P(we,[{key:"getCountries",value:function(){return Object.keys(this.metadata.countries).filter(function(ye){return"001"!==ye})}},{key:"getCountryMetadata",value:function(ye){return this.metadata.countries[ye]}},{key:"nonGeographic",value:function(){if(!(this.v1||this.v2||this.v3))return this.metadata.nonGeographic||this.metadata.nonGeographical}},{key:"hasCountry",value:function(ye){return void 0!==this.getCountryMetadata(ye)}},{key:"hasCallingCode",value:function(ye){if(this.getCountryCodesForCallingCode(ye))return!0;if(this.nonGeographic()){if(this.nonGeographic()[ye])return!0}else{var Me=this.countryCallingCodes()[ye];if(Me&&1===Me.length&&"001"===Me[0])return!0}}},{key:"isNonGeographicCallingCode",value:function(ye){return this.nonGeographic()?!!this.nonGeographic()[ye]:!this.getCountryCodesForCallingCode(ye)}},{key:"country",value:function(ye){return this.selectNumberingPlan(ye)}},{key:"selectNumberingPlan",value:function(ye,Me){if(ye&&F.test(ye)&&(Me=ye,ye=null),ye&&"001"!==ye){if(!this.hasCountry(ye))throw new Error("Unknown country: ".concat(ye));this.numberingPlan=new oe(this.getCountryMetadata(ye),this)}else if(Me){if(!this.hasCallingCode(Me))throw new Error("Unknown calling code: ".concat(Me));this.numberingPlan=new oe(this.getNumberingPlanMetadata(Me),this)}else this.numberingPlan=void 0;return this}},{key:"getCountryCodesForCallingCode",value:function(ye){var Me=this.countryCallingCodes()[ye];if(Me)return 1===Me.length&&3===Me[0].length?void 0:Me}},{key:"getCountryCodeForCallingCode",value:function(ye){var Me=this.getCountryCodesForCallingCode(ye);if(Me)return Me[0]}},{key:"getNumberingPlanMetadata",value:function(ye){var Me=this.getCountryCodeForCallingCode(ye);if(Me)return this.getCountryMetadata(Me);if(this.nonGeographic()){var Ie=this.nonGeographic()[ye];
vendor: 5,090 bytes, line 1
1if(Ie)return Ie}else{var We=this.countryCallingCodes()[ye];if(We&&1===We.length&&"001"===We[0])return this.metadata.countries["001"]}}},{key:"countryCallingCode",value:function(){return this.numberingPlan.callingCode()}},{key:"IDDPrefix",value:function(){return this.numberingPlan.IDDPrefix()}},{key:"defaultIDDPrefix",value:function(){return this.numberingPlan.defaultIDDPrefix()}},{key:"nationalNumberPattern",value:function(){return this.numberingPlan.nationalNumberPattern()}},{key:"possibleLengths",value:function(){return this.numberingPlan.possibleLengths()}},{key:"formats",value:function(){return this.numberingPlan.formats()}},{key:"nationalPrefixForParsing",value:function(){return this.numberingPlan.nationalPrefixForParsing()}},{key:"nationalPrefixTransformRule",value:function(){return this.numberingPlan.nationalPrefixTransformRule()}},{key:"leadingDigits",value:function(){return this.numberingPlan.leadingDigits()}},{key:"hasTypes",value:function(){return this.numberingPlan.hasTypes()}},{key:"type",value:function(ye){return this.numberingPlan.type(ye)}},{key:"ext",value:function(){return this.numberingPlan.ext()}},{key:"countryCallingCodes",value:function(){return this.v1?this.metadata.country_phone_code_to_countries:this.metadata.country_calling_codes}},{key:"chooseCountryByCountryCallingCode",value:function(ye){return this.selectNumberingPlan(ye)}},{key:"hasSelectedNumberingPlan",value:function(){return void 0!==this.numberingPlan}}]),we}(),oe=function(){function we(re,ye){j(this,we),this.globalMetadataObject=ye,this.metadata=re,nt.call(this,ye.metadata)}return P(we,[{key:"callingCode",value:function(){return this.metadata[0]}},{key:"getDefaultCountryMetadataForRegion",value:function(){return this.globalMetadataObject.getNumberingPlanMetadata(this.callingCode())}},{key:"IDDPrefix",value:function(){if(!this.v1&&!this.v2)return this.metadata[1]}},{key:"defaultIDDPrefix",value:function(){if(!this.v1&&!this.v2)return this.metadata[12]}},{key:"nationalNumberPattern",value:function(){return this.v1||this.v2?this.metadata[1]:this.metadata[2]}},{key:"possibleLengths",value:function(){if(!this.v1)return this.metadata[this.v2?2:3]}},{key:"_getFormats",value:function(ye){return ye[this.v1?2:this.v2?3:4]}},{key:"formats",value:function(){var ye=this;return(this._getFormats(this.metadata)||this._getFormats(this.getDefaultCountryMetadataForRegion())||[]).map(function(Ie){return new x(Ie,ye)})}},{key:"nationalPrefix",value:function(){return this.metadata[this.v1?3:this.v2?4:5]}},{key:"_getNationalPrefixFormattingRule",value:function(ye){return ye[this.v1?4:this.v2?5:6]}},{key:"nationalPrefixFormattingRule",value:function(){return this._getNationalPrefixFormattingRule(this.metadata)||this._getNationalPrefixFormattingRule(this.getDefaultCountryMetadataForRegion())}},{key:"_nationalPrefixForParsing",value:function(){return this.metadata[this.v1?5:this.v2?6:7]}},{key:"nationalPrefixForParsing",value:function(){return this._nationalPrefixForParsing()||this.nationalPrefix()}},{key:"nationalPrefixTransformRule",value:function(){return this.metadata[this.v1?6:this.v2?7:8]}},{key:"_getNationalPrefixIsOptionalWhenFormatting",value:function(){return!!this.metadata[this.v1?7:this.v2?8:9]}},{key:"nationalPrefixIsOptionalWhenFormattingInNationalFormat",value:function(){return this._getNationalPrefixIsOptionalWhenFormatting(this.metadata)||this._getNationalPrefixIsOptionalWhenFormatting(this.getDefaultCountryMetadataForRegion())}},{key:"leadingDigits",value:function(){return this.metadata[this.v1?8:this.v2?9:10]}},{key:"types",value:function(){return this.metadata[this.v1?9:this.v2?10:11]}},{key:"hasTypes",value:function(){return!(this.types()&&0===this.types().length||!this.types())}},{key:"type",value:function(ye){if(this.hasTypes()&&Se(this.types(),ye))return new le(Se(this.types(),ye),this)}},{key:"ext",value:function(){return this.v1||this.v2?$:this.metadata[13]||$}}]),we}(),x=function(){function we(re,ye){j(this,we),this._format=re,this.metadata=ye}return P(we,[{key:"pattern",value:function(){return this._format[0]}},{key:"format",value:function(){return this._format[1]}},{key:"leadingDigitsPatterns",value:function(){return this._format[2]||[]}},{key:"nationalPrefixFormattingRule",value:function(){return this._format[3]||this.metadata.nationalPrefixFormattingRule()}},{key:"nationalPrefixIsOptionalWhenFormattingInNationalFormat",value:function(){return!!this._format[4]||this.metadata.nationalPrefixIsOptionalWhenFormattingInNationalFormat()}},{key:"nationalPrefixIsMandatoryWhenFormattingInNationalFormat",value:function(){return this.usesNationalPrefix()&&!this.nationalPrefixIsOptionalWhenFormattingInNationalFormat()}},{key:"usesNationalPrefix",value:function(){return!(!this.nationalPrefixFormattingRule()||ue.test(this.nationalPrefixFormattingRule()))}},{key:"internationalFormat",value:function(){return this._format[5]||this.format()}}]),we}(),ue=/^\(?\$1\)?$/,le=function(){function we(re,ye){j(this,we),this.type=re,this.metadata=ye}return P(we,[{key:"pattern",value:function(){return this.metadata.v1?this.type:this.t
1ype[0]}},{key:"possibleLengths",value:function(){if(!this.metadata.v1)return this.type[1]||this.metadata.possibleLengths()}}]),we}();function Se(we,re){switch(re){case"FIXED_LINE":return we[0];case"MOBILE":return we[1];case"TOLL_FREE":return we[2];case"PREMIUM_RATE":return we[3];case"PERSONAL_NUMBER":return we[4];case"VOICEMAIL":return we[5];case"UAN":return we[6];case"PAGER":return we[7];case"VOIP":return we[8];case"SHARED_COST":return we[9]}}var Re=function(re){return G(re)};function st(we,re){if((re=new k(re)).hasCountry(we))return re.country(we).countryCallingCode();throw new Error("Unknown country: ".concat(we))}function at(we,re){return re.countries.hasOwnProperty(we)}function nt(we){var re=we.version;"number"==typeof re?(this.v1=1===re,this.v2=2===re,this.v3=3===re,this.v4=4===re):re?-1===c(re,"1.2.0")?this.v2=!0:-1===c(re,"1.7.35")?this.v3=!0:this.v4=!0:this.v1=!0}},4830:(Qe,ge,v)=>{"use strict";v.d(ge,{A:()=>F});var c=v(9146);function h(k,oe){var x=Object.keys(k);if(Object.getOwnPropertySymbols){var ue=Object.getOwnPropertySymbols(k);oe&&(ue=ue.filter(function(le){return Object.getOwnPropertyDescriptor(k,le).enumerable})),x.push.apply(x,ue)}return x}function j(k,oe,x){return oe in k?Object.defineProperty(k,oe,{value:x,enumerable:!0,configurable:!0,writable:!0}):k[oe]=x,k}function D(k,oe){(null==oe||oe>k.length)&&(oe=k.length);for(var x=0,ue=new Array(oe);x<oe;x++)ue[x]=k[x];return ue}function F(k){var Re,Je,st,x=function K(k,oe){return function $(k){if(Array.isArray(k))return k}(k)||function W(k,oe){var x=null==k?null:typeof Symbol<"u"&&k[Symbol.iterator]||k["@@iterator"];if(null!=x){var $e,Re,ue=[],le=!0,Se=!1;try{for(x=x.call(k);!(le=($e=x.next()).done)&&(ue.push($e.value),!oe||ue.length!==oe);le=!0);}catch(Je){Se=!0,Re=Je}finally{try{!le&&null!=x.return&&x.return()}finally{if(Se)throw Re}}return ue}}(k,oe)||function R(k,oe){if(k){if("string"==typeof k)return D(k,oe);var x=Object.prototype.toString.call(k).slice(8,-1);if("Object"===x&&k.constructor&&(x=k.constructor.name),"Map"===x||"Set"===x)return Array.from(k);if("Arguments"===x||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(x))return D(k,oe)}}(k,oe)||function P(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}(Array.prototype.slice.call(k),4),ue=x[0],le=x[1],Se=x[2],$e=x[3];if("string"!=typeof ue)throw new TypeError("A text for parsing must be a string.");if(Re=ue,le&&"string"!=typeof le){if(!(0,c.A)(le))throw new Error("Invalid second argument: ".concat(le));Se?(Je=le,st=Se):st=le}else $e?(Je=Se,st=$e):(Je=void 0,st=Se),le&&(Je=function G(k){for(var oe=1;oe<arguments.length;oe++){var x=null!=arguments[oe]?arguments[oe]:{};oe%2?h(Object(x),!0).forEach(function(ue){j(k,ue,x[ue])}):Object.getOwnPropertyDescriptors?Object.defineProperties(k,Object.getOwnPropertyDescriptors(x)):h(Object(x)).forEach(function(ue){Object.defineProperty(k,ue,Object.getOwnPropertyDescriptor(x,ue))})}return k}({defaultCountry:le},Je));return{text:Re,options:Je,metadata:st}}},2704:(Qe,ge,v)=>{"use strict";v.d(ge,{A:()=>Ii});var c=2,h=17,G=3,j="0-9\uff10-\uff19\u0660-\u0669\u06f0-\u06f9",F="".concat("-\u2010-\u2015\u2212\u30fc\uff0d").concat("\uff0f/").concat("\uff0e.").concat(" \xa0\xad\u200b\u2060\u3000").concat("()\uff08\uff09\uff3b\uff3d\\[\\]").concat("~\u2053\u223c\uff5e"),oe=v(8592),x=v(579),le=function(ae){return"([".concat(j,"]{1,").concat(ae,"})")};function Se(O){var wt="[ \xa0\\t,]*",Kt="[:\\.\uff0e]?[ \xa0\\t,-]*",sr="[ \xa0\\t]*";return";ext="+le("20")+"|"+wt+"(?:e?xt(?:ensi(?:o\u0301?|\xf3))?n?|\uff45?\uff58\uff54\uff4e?|\u0434\u043e\u0431|anexo)"+Kt+le("20")+"#?|"+wt+"(?:[x\uff58#\uff03~\uff5e]|int|\uff49\uff4e\uff54)"+Kt+le("9")+"#?|[- ]+"+le("6")+"#|"+sr+"(?:,{2}|;)"+Kt+le("15")+"#?|"+sr+"(?:,)+"+Kt+le("9")+"#?"}var $e="["+j+"]{"+c+"}",Re="[+\uff0b]{0,1}(?:["+F+"]*["+j+"]){3,}["+F+j+"]*",Je=new RegExp("^[+\uff0b]{0,1}(?:["+F+"]*["+j+"]){1,2}$","i"),st=Re+"(?:"+Se()+")?",at=new RegExp("^"+$e+"$|^"+st+"$","i"),re=new RegExp("(?:"+Se()+")$","i"),me={0:"0",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9","\uff10":"0","\uff11":"1","\uff12":"2","\uff13":"3","\uff14":"4","\uff15":"5","\uff16":"6","\uff17":"7","\uff18":"8","\uff19":"9","\u0660":"0","\u0661":"1","\u0662":"2","\u0663":"3","\u0664":"4","\u0665":"5","\u0666":"6","\u0667":"7","\u0668":"8","\u0669":"9","\u06f0":"0","\u06f1":"1","\u06f2":"2","\u06f3":"3","\u06f4":"4","\u06f5":"5","\u06f6":"6","\u06f7":"7","\u06f8":"8","\u06f9":"9"};function an(O,ae){(null==ae||ae>O.length)&&(ae=O.length);for(var J=0,pe=new Array(ae);J<ae;J++)pe[J]=O[J];return pe}function Ut(O){for(var pe,ae="",J=function vn(O,ae){var J=typeof Symbol<"u"&&O[Symbol.iterator]||O["@@iterator"];if(J)return(J=J.call(O)).next.bind(J);if(Array.isArray(O)||(J=function Gt(O,ae){if(O){if("string"==typeof O)return an(O,ae);var J=Object.prototype.toString.call(O).slice(8,-1);if("Object"===J&&O.constructor&&(J=O.constructor.name),"Map"===J||"Set"===J)return Array.from(O);if("Arguments"===J||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(J))return an(O,ae)}}(O))||ae&&O&&"number"==typeof O.length){J&&(O=J);var pe=0;return function(){return pe>=O.length?{done:!0}:{done:!1,value:O[pe++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(O.split(""));!(pe=J()).done;)ae+=Xt(pe.value,ae)||"";return ae}function Xt(O,ae,J){return"+"===O?ae?void("function"==typeof J&&J("end")):"+":function _t(O){return me[O]}(O)}function On(O,ae){(null==ae||ae>O.length)&&(ae=O.length);for(var J=0,pe=new Array(ae);J<ae;J++)pe[J]=O[J];return pe}function dn(O,ae){return Qt(O,void 0,ae)}function Qt(O,ae,J){var pe=J.type(ae),Ge=pe&&pe.possibleLengths()||J.possibleLengths();if(!Ge)return"IS_POSSIBLE";if("FIXED_LINE_OR_MOBILE"===ae){if(!J.type("FIXED_LINE"))return Qt(O,"MOBILE",J);var wt=J.type("MOBILE");wt&&(Ge=function Bn(O,ae){for(var Ge,J=O.slice(),pe=function rn(O,ae){var J=typeof Symbol<"u"&&O[Symbol.iterator]||O["@@iterator"];if(J)return(J=J.call(O)).next.bind(J);if(Array.isArray(O)||(J=function Cn(O,ae){if(O){if("string"==typeof O)return On(O,ae);var J=Object.prototype.toString.call(O).slice(8,-1);if("Object"===J&&O.constructor&&(J=O.constructor.name),"Map"===J||"Set"===J)return Array.from(O);if("Arguments"===J||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(J))return On(O,ae)}}(O))||ae&&O&&"number"==typeof O.length){J&&(O=J);var pe=0;return function(){return pe>=O.length?{done:!0}:{done:!1,value:O[pe++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(ae);!(Ge=pe()).done;){var wt=Ge.value;O.indexOf(wt)<0&&J.push(wt)}return J.sort(function(Kt,yn){return Kt-yn})}(Ge,wt.possibleLengths()))}else if(ae&&!pe)return"INVALID_LENGTH";var Kt=O.length,yn=Ge[0];return yn===Kt?"IS_POSSIBLE":yn>Kt?"TOO_SHORT":Ge[Ge.length-1]<Kt?"TOO_LONG":Ge.indexOf(Kt,1)>=0?"IS_POSSIBLE":"INVALID_LENGTH"}function Mn(O,ae){return"IS_POSSIBLE"===dn(O,ae)}function pn(O,ae){return O=O||"",new RegExp("^(?:"+ae+")$").test(O)}function Pt(O,ae){(null==ae||ae>O.length)&&(ae=O.length);for(var J=0,pe=new Array(ae);J<ae;J++)pe[J]=O[J];return pe}var In=["MOBILE","PREMIUM_RATE","TOLL_FREE","SHARED_COST","VOIP","PERSONAL_NUMBER","PAGER","UAN","VOICEMAIL"];function Nn(O,ae,J){if(ae=ae||{},O.country||O.countryCallingCode){(J=new x.Ay(J)).selectNumberingPlan(O.country,O.countryCallingCode);var pe=ae.v2?O.nationalNumber:O.phone;if(pn(pe,J.nationalNumberPattern())){if(ur(pe,"FIXED_LINE",J))return J.type("MOBILE")&&""===J.type("MOBILE").pattern()||!J.type("MOBILE")||ur(pe,"MOBILE",J)?"FIXED_LINE_OR_MOBILE":"FIXED_LINE";
1for(var wt,Ge=function Zn(O,ae){var J=typeof Symbol<"u"&&O[Symbol.iterator]||O["@@iterator"];if(J)return(J=J.call(O)).next.bind(J);if(Array.isArray(O)||(J=function be(O,ae){if(O){if("string"==typeof O)return Pt(O,ae);var J=Object.prototype.toString.call(O).slice(8,-1);if("Object"===J&&O.constructor&&(J=O.constructor.name),"Map"===J||"Set"===J)return Array.from(O);if("Arguments"===J||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(J))return Pt(O,ae)}}(O))||ae&&O&&"number"==typeof O.length){J&&(O=J);var pe=0;return function(){return pe>=O.length?{done:!0}:{done:!1,value:O[pe++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(In);!(wt=Ge()).done;){var Kt=wt.value;if(ur(pe,Kt,J))return Kt}}}}function ur(O,ae,J){return!(!(ae=J.type(ae))||!ae.pattern()||ae.possibleLengths()&&ae.possibleLengths().indexOf(O.length)<0)&&pn(O,ae.pattern())}var ne=/(\$\d)/;var lt=/^[\d]+(?:[~\u2053\u223C\uFF5E][\d]+)?$/;function jn(O,ae){(null==ae||ae>O.length)&&(ae=O.length);for(var J=0,pe=new Array(ae);J<ae;J++)pe[J]=O[J];return pe}function oi(O,ae){var J=Object.keys(O);if(Object.getOwnPropertySymbols){var pe=Object.getOwnPropertySymbols(O);ae&&(pe=pe.filter(function(Ge){return Object.getOwnPropertyDescriptor(O,Ge).enumerable})),J.push.apply(J,pe)}return J}function or(O){for(var ae=1;ae<arguments.length;ae++){var J=null!=arguments[ae]?arguments[ae]:{};ae%2?oi(Object(J),!0).forEach(function(pe){Dr(O,pe,J[pe])}):Object.getOwnPropertyDescriptors?Object.defineProperties(O,Object.getOwnPropertyDescriptors(J)):oi(Object(J)).forEach(function(pe){Object.defineProperty(O,pe,Object.getOwnPropertyDescriptor(J,pe))})}return O}function Dr(O,ae,J){return ae in O?Object.defineProperty(O,ae,{value:J,enumerable:!0,configurable:!0,writable:!0}):O[ae]=J,O}var Ei={formatExtension:function(ae,J,pe){return"".concat(ae).concat(pe.ext()).concat(J)}};function It(O,ae,J,pe,Ge){var wt=function Ue(O,ae){for(var pe,J=function Br(O,ae){var J=typeof Symbol<"u"&&O[Symbol.iterator]||O["@@iterator"];if(J)return(J=J.call(O)).next.bind(J);if(Array.isArray(O)||(J=function hr(O,ae){if(O){if("string"==typeof O)return jn(O,ae);var J=Object.prototype.toString.call(O).slice(8,-1);if("Object"===J&&O.constructor&&(J=O.constructor.name),"Map"===J||"Set"===J)return Array.from(O);if("Arguments"===J||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(J))return jn(O,ae)}}(O))||ae&&O&&"number"==typeof O.length){J&&(O=J);var pe=0;return function(){return pe>=O.length?{done:!0}:{done:!1,value:O[pe++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(O);!(pe=J()).done;){var Ge=pe.value;if(Ge.leadingDigitsPatterns().length>0){var wt=Ge.leadingDigitsPatterns()[Ge.leadingDigitsPatterns().length-1];if(0!==ae.search(wt))continue}if(pn(ae,Ge.pattern()))return Ge}}(pe.formats(),O);return wt?function Ve(O,ae,J){var pe=J.useInternationalFormat,Ge=J.withNationalPrefix,yn=O.replace(new RegExp(ae.pattern()),pe?ae.internationalFormat():Ge&&ae.nationalPrefixFormattingRule()?ae.format().replace(ne,ae.nationalPrefixFormattingRule()):ae.format());return pe?function te(O){return O.replace(new RegExp("[".concat(F,"]+"),"g")," ").trim()}(yn):yn}(O,wt,{useInternationalFormat:"INTERNATIONAL"===J,withNationalPrefix:!(wt.nationalPrefixIsOptionalWhenFormattingInNationalFormat()&&Ge&&!1===Ge.nationalPrefix),carrierCode:ae,metadata:pe}):O}function Oe(O,ae,J,pe){return ae?pe(O,ae,J):O}function Xe(O,ae){var J=Object.keys(O);if(Object.getOwnPropertySymbols){var pe=Object.getOwnPropertySymbols(O);ae&&(pe=pe.filter(function(Ge){return Object.getOwnPropertyDescriptor(O,Ge).enumerable})),J.push.apply(J,pe)}return J}function ft(O){for(var ae=1;ae<arguments.length;ae++){var J=null!=arguments[ae]?arguments[ae]:{};ae%2?Xe(Object(J),!0).forEach(function(pe){Bt(O,pe,J[pe])}):Object.getOwnPropertyDescriptors?Object.defineProperties(O,Object.getOwnPropertyDescriptors(J)):Xe(Object(J)).forEach(function(pe){Object.defineProperty(O,pe,Object.getOwnPropertyDescriptor(J,pe))})}return O}function Bt(O,ae,J){return ae in O?Object.defineProperty(O,ae,{value:J,enumerable:!0,configurable:!0,writable:!0}):O[ae]=J,O}function Jt(O,ae){for(var J=0;J<ae.length;J++){var pe=ae[J];pe.enumerable=pe.enumerable||!1,pe.configurable=!0,"value"in pe&&(pe.writable=!0),Object.defineProperty(O,pe.key,pe)}}var Lr=function(){function O(ae,J,pe){if(function hn(O,ae){if(!(O instanceof ae))throw new TypeError("Cannot call a class as a function")}(this,O),!ae)throw new TypeError("`country` or `countryCallingCode` not passed");if(!J)throw new TypeError("`nationalNumber` not passed");if(!pe)throw new TypeError("`metadata` not passed");var Ge=function _r(O,ae){var J,pe,Ge=new x.Ay(ae);return tr(O)?(Ge.selectNumberingPlan(J=O),pe=Ge.countryCallingCode()):pe=O,{country:J,countryCallingCode:pe}}(ae,pe),Kt=Ge.countryCallingCode;this.country=Ge.country,this.countryCallingCode=Kt,this.nationalNumber=J,this.number="+"+this.countryCallingCode+this.nationalNumber,this.getMetadata=function(){return pe}}return function Ir(O,ae,J){ae&&Jt(O.prototype,ae),J&&Jt(O,J),Object.defineProperty(O,"prototype",{writable:!1})}(O,[{key:"setExt",value:function(J){this.ext=J}},{key:"getPossibleCountries",value:function(){return this.country?[this.country]:function zt(O,ae,J){var Ge=new x.Ay(J).getCountryCodesForCallingCode(O);return Ge?Ge.filter(function(wt){return function ke(O,ae,J){var pe=new x.Ay(J);return pe.selectNumberingPlan(ae),pe.numberingPlan.possibleLengths().indexOf(O.length)>=0}(ae,wt,J)}):[]}(this.countryCallingCode,this.nationalNumber,this.getMetadata())}},{key:"isPossible",value:function(){return function wn(O,ae,J){if(void 0===ae&&(ae={}),J=new x.Ay(J),ae.v2){if(!O.countryCallingCode)throw new Error("Invalid phone number object passed");J.selectNumberingPlan(O.countryCallingCode)}else{if(!O.phone)return!1;if(O.country){if(!J.hasCountry(O.country))throw new Error("Unknown country: ".concat(O.country));J.country(O.country)}else{if(!O.countryCallingCode)throw new Error("Invalid phone number object passed");J.selectNumberingPlan(O.countryCallingCode)}}if(J.possibleLengths())return Mn(O.phone||O.nationalNumber,J);if(O.countryCallingCode&&J.isNonGeographicCallingCode(O.countryCallingCode))return!0;throw new Error('Missing "possibleLengths" in metadata. Perhaps the metadata has been generated before v1.0.18.')}(this,{v2:!0},this.getMetadata())}},{key:"isValid",value:function(){return function Hr(O,ae,J){return ae=ae||{},(J=new x.Ay(J)).selectNumberingPlan(O.country,O.countryCallingCode),J.hasTypes()?void 0!==Nn(O,ae,J.metadata):pn(ae.v2?O.nationalNumber:O.phone,J.
1nationalNumberPattern())}(this,{v2:!0},this.getMetadata())}},{key:"isNonGeographic",value:function(){return new x.Ay(this.getMetadata()).isNonGeographicCallingCode(this.countryCallingCode)}},{key:"isEqual",value:function(J){return this.number===J.number&&this.ext===J.ext}},{key:"getType",value:function(){return Nn(this,{v2:!0},this.getMetadata())}},{key:"format",value:function(J,pe){return function Et(O,ae,J,pe){if(J=J?or(or({},Ei),J):Ei,pe=new x.Ay(pe),O.country&&"001"!==O.country){if(!pe.hasCountry(O.country))throw new Error("Unknown country: ".concat(O.country));pe.country(O.country)}else{if(!O.countryCallingCode)return O.phone||"";pe.selectNumberingPlan(O.countryCallingCode)}var Kt,Ge=pe.countryCallingCode(),wt=J.v2?O.nationalNumber:O.phone;switch(ae){case"NATIONAL":return wt?Oe(Kt=It(wt,O.carrierCode,"NATIONAL",pe,J),O.ext,pe,J.formatExtension):"";case"INTERNATIONAL":return wt?(Kt=It(wt,null,"INTERNATIONAL",pe,J),Oe(Kt="+".concat(Ge," ").concat(Kt),O.ext,pe,J.formatExtension)):"+".concat(Ge);case"E.164":return"+".concat(Ge).concat(wt);case"RFC3966":return function mn(O){var ae=O.number,J=O.ext;if(!ae)return"";if("+"!==ae[0])throw new Error('"formatRFC3966()" expects "number" to be in E.164 format.');return"tel:".concat(ae).concat(J?";ext="+J:"")}({number:"+".concat(Ge).concat(wt),ext:O.ext});case"IDD":if(!J.fromCountry)return;var yn=function tt(O,ae,J,pe,Ge){if((0,x.Ko)(pe,Ge.metadata)===J){var Kt=It(O,ae,"NATIONAL",Ge);return"1"===J?J+" "+Kt:Kt}var yn=function Mt(O,ae,J){var pe=new x.Ay(J);return pe.selectNumberingPlan(O,ae),pe.defaultIDDPrefix()?pe.defaultIDDPrefix():lt.test(pe.IDDPrefix())?pe.ID
1DPrefix():void 0}(pe,void 0,Ge.metadata);if(yn)return"".concat(yn," ").concat(J," ").concat(It(O,null,"INTERNATIONAL",Ge))}(wt,O.carrierCode,Ge,J.fromCountry,pe);return Oe(yn,O.ext,pe,J.formatExtension);default:throw new Error('Unknown "format" argument passed to "formatNumber()": "'.concat(ae,'"'))}}(this,J,pe?ft(ft({},pe),{},{v2:!0}):{v2:!0},this.getMetadata())}},{key:"formatNational",value:function(J){return this.format("NATIONAL",J)}},{key:"formatInternational",value:function(J){return this.format("INTERNATIONAL",J)}},{key:"getURI",value:function(J){return this.format("RFC3966",J)}}]),O}(),tr=function(ae){return/^[A-Z]{2}$/.test(ae)},Tn=new RegExp("(["+j+"])");function Rn(O,ae){var J=function Ot(O,ae){if(O&&ae.numberingPlan.nationalPrefixForParsing()){var J=new RegExp("^(?:"+ae.numberingPlan.nationalPrefixForParsing()+")"),pe=J.exec(O);if(pe){var Ge,wt,Kn,Kt=pe.length-1,yn=Kt>0&&pe[Kt];if(ae.nationalPrefixTransformRule()&&yn?(Ge=O.replace(J,ae.nationalPrefixTransformRule()),Kt>1&&(wt=pe[1])):(Ge=O.slice(pe[0].length),yn&&(wt=pe[1])),yn){var en=O.indexOf(pe[1]);O.slice(0,en)===ae.numberingPlan.nationalPrefix()&&(Kn=ae.numberingPlan.nationalPrefix())}else Kn=pe[0];return{nationalNumber:Ge,nationalPrefix:Kn,carrierCode:wt}}}return{nationalNumber:O}}(O,ae),pe=J.carrierCode,Ge=J.nationalNumber;if(Ge!==O){if(!function co(O,ae,J){return!(pn(O,J.nationalNumberPattern())&&!pn(ae,J.nationalNumberPattern()))}(O,Ge,ae))return{nationalNumber:O};if(ae.possibleLengths()&&!function Vi(O,ae){switch(dn(O,ae)){case"TOO_SHORT":case"INVALID_LENGTH":return!1;default:return!0}}(Ge,ae))return{nationalNumber:O}}return{nationalNumber:Ge,carrierCode:pe}}function Ze(O,ae){(null==ae||ae>O.length)&&(ae=O.length);for(var J=0,pe=new Array(ae);J<ae;J++)pe[J]=O[J];return pe}var ee=!1;function it(O,ae){var J=ae.nationalNumber,pe=ae.defaultCountry,Ge=ae.metadata;if(ee&&Ge.isNonGeographicCallingCode(O))return"001";var wt=Ge.getCountryCodesForCallingCode(O);return wt?1===wt.length?wt[0]:function He(O,ae){var J=ae.countries,pe=ae.defaultCountry,Ge=ae.metadata;Ge=new x.Ay(Ge);for(var yn,wt=[],Kt=function Ye(O,ae){var J=typeof Symbol<"u"&&O[Symbol.iterator]||O["@@iterator"];if(J)return(J=J.call(O)).next.bind(J);if(Array.isArray(O)||(J=function ce(O,ae){if(O){if("string"==typeof O)return Ze(O,ae);var J=Object.prototype.toString.call(O).slice(8,-1);if("Object"===J&&O.constructor&&(J=O.constructor.name),"Map"===J||"Set"===J)return Array.from(O);if("Arguments"===J||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(J))return Ze(O,ae)}}(O))||ae&&O&&"number"==typeof O.length){J&&(O=J);var pe=0;return function(){return pe>=O.length?{done:!0}:{done:!1,value:O[pe++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(J);!(yn=Kt()).done;){var Fn=yn.value;if(Ge.country(Fn),Ge.leadingDigits()){if(O&&0===O.search(Ge.leadingDigits()))return Fn}else if(Nn({phone:O,country:Fn},void 0,Ge.metadata)){if(!pe)return Fn;if(Fn===pe)return Fn;wt.push(Fn)}}if(wt.length>0)return wt[0]}(J,{countries:wt,defaultCountry:pe,metadata:Ge.metadata}):void 0}var Ct="+",se="(["+j+"]|[\\-\\.\\(\\)]?)",Ae=new RegExp("^\\"+Ct+se+"*["+j+"]"+se+"*$","g"),ln=new RegExp("^(["+j+"]+((\\-)*["+j+"])*\\.)*[a-zA-Z]+((\\-)*["+j+"])*\\.?$","g"),bn="tel:",Ln=";phone-context=",mr=";isub=";var Vr=250,xr=new RegExp("[+\uff0b"+j+"]"),nr=new RegExp("[^"+j+"#]+$"),rr=!1;function si(O,ae,J){if(ae=ae||{},J=new x.Ay(J),ae.defaultCountry&&!J.hasCountry(ae.defaultCountry))throw ae.v2?new oe.A("INVALID_COUNTRY"):new Error("Unknown country: ".concat(ae.defaultCountry));var pe=function Mr(O,ae,J){var pe=function xn(O,ae){var Ge,J=ae.extractFormattedPhoneNumber,pe=function pr(O){var ae=O.indexOf(Ln);if(ae<0)return null;var J=ae+Ln.length;if(J>=O.length)return"";var pe=O.indexOf(";",J);return pe>=0?O.substring(J,pe):O.substring(J)}(O);if(!function Er(O){return null===O||0!==O.length&&(Ae.test(O)||ln.test(O))}(pe))throw new oe.A("NOT_A_NUMBER");if(null===pe)Ge=J(O)||"";else{Ge="",pe.charAt(0)===Ct&&(Ge+=pe);var Kt,wt=O.indexOf(bn);Kt=wt>=0?wt+bn.length:0;var yn=O.indexOf(Ln);Ge+=O.substring(Kt,yn)}
1var Fn=Ge.indexOf(mr);if(Fn>0&&(Ge=Ge.substring(0,Fn)),""!==Ge)return Ge}(O,{extractFormattedPhoneNumber:function(Kt){return function bi(O,ae,J){if(O){if(O.length>Vr){if(J)throw new oe.A("TOO_LONG");return}if(!1===ae)return O;var pe=O.search(xr);if(!(pe<0))return O.slice(pe).replace(nr,"")}}(Kt,J,ae)}});if(!pe)return{};if(!function nt(O){return O.length>=c&&at.test(O)}(pe))return function we(O){return Je.test(O)}(pe)?{error:"TOO_SHORT"}:{};var Ge=function ye(O){var ae=O.search(re);if(ae<0)return{};for(var J=O.slice(0,ae),pe=O.match(re),Ge=1;Ge<pe.length;){if(pe[Ge])return{number:J,ext:pe[Ge]};Ge++}}(pe);return Ge.ext?Ge:{number:pe}}(O,ae.v2,ae.extract),Ge=pe.number,wt=pe.ext;if(!Ge){if(ae.v2)throw new oe.A("TOO_SHORT"===pe.error?"TOO_SHORT":"NOT_A_NUMBER");return{}}var yn=function wi(O,ae,J,pe){var Fn,Ge=function rt(O,ae,J,pe){if(!O)return{};var Ge;if("+"!==O[0]){var wt=function Zr(O,ae,J,pe){if(ae){var Ge=new x.Ay(pe);Ge.selectNumberingPlan(ae,J);var wt=new RegExp(Ge.IDDPrefix());if(0===O.search(wt)){var Kt=(O=O.slice(O.match(wt)[0].length)).match(Tn);if(!(Kt&&null!=Kt[1]&&Kt[1].length>0&&"0"===Kt[1]))return O}}}(O,ae,J,pe);if(!wt||wt===O){if(ae||J){var Kt=function ji(O,ae,J,pe){var Ge=ae?(0,x.Ko)(ae,pe):J;if(0===O.indexOf(Ge)){(pe=new x.Ay(pe)).selectNumberingPlan(ae,J);var wt=O.slice(Ge.length),yn=Rn(wt,pe).nationalNumber,Kn=Rn(O,pe).nationalNumber;if(!pn(Kn,pe.nationalNumberPattern())&&pn(yn,pe.nationalNumberPattern())||"TOO_LONG"===dn(Kn,pe))return{countryCallingCode:Ge,number:wt}}return{number:O}}(O,ae,J,pe),yn=Kt.countryCallingCode;if(yn)return{countryCallingCodeSource:"FROM_NUMBER_WITHOUT_PLUS_SIGN",countryCallingCode:yn,number:Kt.number}}return{number:O}}Ge=!0,O="+"+wt}if("0"===O[1])return{};pe=new x.Ay(pe);for(var Kn=2;Kn-1<=G&&Kn<=O.length;){var en=O.slice(1,Kn);if(pe.hasCallingCode(en))return pe.selectNumberingPlan(en),{countryCallingCodeSource:Ge?"FROM_NUMBER_WITH_IDD":"FROM_NUMBER_WITH_PLUS_SIGN",countryCallingCode:en,number:O.slice(Kn)};Kn++}return{}}(Ut(O),ae,J,pe.metadata),wt=Ge.countryCallingCodeSource,Kt=Ge.countryCallingCode,yn=Ge.number;if(Kt)pe.selectNumberingPlan(Kt);else{if(!yn||!ae&&!J)return{};pe.selectNumberingPlan(ae,J),ae?Fn=ae:rr&&pe.isNonGeographicCallingCode(J)&&(Fn="001"),Kt=J||(0,x.Ko)(ae,pe.metadata)}if(!yn)return{countryCallingCodeSource:wt,countryCallingCode:Kt};var Kn=Rn(Ut(yn),pe),en=Kn.nationalNumber,sr=Kn.carrierCode,Gn=it(Kt,{nationalNumber:en,defaultCountry:ae,metadata:pe});return Gn&&(Fn=Gn,"001"===Gn||pe.country(Fn)),{country:Fn,countryCallingCode:Kt,countryCallingCodeSource:wt,nationalNumber:en,carrierCode:sr}}(Ge,ae.defaultCountry,ae.defaultCallingCode,J),Fn=yn.country,Kn=yn.nationalNumber,en=yn.countryCallingCode,sr=yn.countryCallingCodeSource,Gn=yn.carrierCode;if(!J.hasSelectedNumberingPlan()){if(ae.v2)throw new oe.A("INVALID_COUNTRY");return{}}if(!Kn||Kn.length<c){if(ae.v2)throw new oe.A("TOO_SHORT");return{}}if(Kn.length>h){if(ae.v2)throw new oe.A("TOO_LONG");return{}}if(ae.v2){var di=new Lr(en,Kn,J.metadata);return Fn&&(di.country=Fn),Gn&&(di.carrierCode=Gn),wt&&(di.ext=wt),di.__countryCallingCodeSource=sr,di}var qi=!!(ae.extended?J.hasSelectedNumberingPlan():Fn)&&pn(Kn,J.nationalNumberPattern());return ae.extended?{country:Fn,countryCallingCode:en,carrierCode:Gn,valid:qi,possible:!!qi||!(!0!==ae.extended||!J.possibleLengths()||!Mn(Kn,J)),phone:Kn,ext:wt}:qi?function ai(O,ae,J){var pe={country:O,phone:ae};return J&&(pe.ext=J),pe}(Fn,Kn,wt):{}}function Un(O,ae){var J=Object.keys(O);if(Object.getOwnPropertySymbols){var pe=Object.getOwnPropertySymbols(O);ae&&(pe=pe.filter(function(Ge){return Object.getOwnPropertyDescriptor(O,Ge).enumerable})),J.push.apply(J,pe)}return J}function br(O){for(var ae=1;ae<arguments.length;ae++){var J=null!=arguments[ae]?arguments[ae]:{};ae%2?Un(Object(J),!0).forEach(function(pe){lo(O,pe,J[pe])}):Object.getOwnPropertyDescriptors?Object.defineProperties(O,Object.getOwnPropertyDescriptors(J)):Un(Object(J)).forEach(function(pe){Object.defineProperty(O,pe,Object.getOwnPropertyDescriptor(J,pe))})}return O}function lo(O,ae,J){return ae in O?Object.defineProperty(O,ae,{value:J,enumerable:!0,configurable:!0,writable:!0}):O[ae]=J,O}function Ii(O,ae,J){return si(O,br(br({},ae),{},{v2:!0}),J)}},9546:(Qe,ge,v)=>{"use strict";v.d(ge,{A:()=>R});var c=v(2704),h=v(8592),G=v(579);function j(D,W){var $=Object.keys(D);if(Object.getOwnPropertySymbols){var F=Object.getOwnPropertySymbols(D);W&&(F=F.filter(function(k){return Object.getOwnPropertyDescriptor(D,k).enumerable})),$.push.apply($,F)}return $}function K(D){for(var W=1;W<arguments.length;W++){var $=null!=arguments[W]?arguments[W]:{};
vendor: 7,910 bytes, line 1
1W%2?j(Object($),!0).forEach(function(F){P(D,F,$[F])}):Object.getOwnPropertyDescriptors?Object.defineProperties(D,Object.getOwnPropertyDescriptors($)):j(Object($)).forEach(function(F){Object.defineProperty(D,F,Object.getOwnPropertyDescriptor($,F))})}return D}function P(D,W,$){return W in D?Object.defineProperty(D,W,{value:$,enumerable:!0,configurable:!0,writable:!0}):D[W]=$,D}function R(D,W,$){W&&W.defaultCountry&&!(0,G.J_)(W.defaultCountry,$)&&(W=K(K({},W),{},{defaultCountry:void 0}));try{return(0,c.A)(D,W,$)}catch(F){if(!(F instanceof h.A))throw F}}},5451:(Qe,ge,v)=>{"use strict";v.d(ge,{g:()=>W});const c={version:4,country_calling_codes:{1:["US","AG","AI","AS","BB","BM","BS","CA","DM","DO","GD","GU","JM","KN","KY","LC","MP","MS","PR","SX","TC","TT","VC","VG","VI"],7:["RU","KZ"],20:["EG"],27:["ZA"],30:["GR"],31:["NL"],32:["BE"],33:["FR"],34:["ES"],36:["HU"],39:["IT","VA"],40:["RO"],41:["CH"],43:["AT"],44:["GB","GG","IM","JE"],45:["DK"],46:["SE"],47:["NO","SJ"],48:["PL"],49:["DE"],51:["PE"],52:["MX"],53:["CU"],54:["AR"],55:["BR"],56:["CL"],57:["CO"],58:["VE"],60:["MY"],61:["AU","CC","CX"],62:["ID"],63:["PH"],64:["NZ"],65:["SG"],66:["TH"],81:["JP"],82:["KR"],84:["VN"],86:["CN"],90:["TR"],91:["IN"],92:["PK"],93:["AF"],94:["LK"],95:["MM"],98:["IR"],211:["SS"],212:["MA","EH"],213:["DZ"],216:["TN"],218:["LY"],220:["GM"],221:["SN"],222:["MR"],223:["ML"],224:["GN"],225:["CI"],226:["BF"],227:["NE"],228:["TG"],229:["BJ"],230:["MU"],231:["LR"],232:["SL"],233:["GH"],234:["NG"],235:["TD"],236:["CF"],237:["CM"],238:["CV"],239:["ST"],240:["GQ"],241:["GA"],242:["CG"],243:["CD"],244:["AO"],245:["GW"],246:["IO"],247:["AC"],248:["SC"],249:["SD"],250:["RW"],251:["ET"],252:["SO"],253:["DJ"],254:["KE"],255:["TZ"],256:["UG"],257:["BI"],258:["MZ"],260:["ZM"],261:["MG"],262:["RE","YT"],263:["ZW"],264:["NA"],265:["MW"],266:["LS"],267:["BW"],268:["SZ"],269:["KM"],290:["SH","TA"],291:["ER"],297:["AW"],298:["FO"],299:["GL"],350:["GI"],351:["PT"],352:["LU"],353:["IE"],354:["IS"],355:["AL"],356:["MT"],357:["CY"],358:["FI","AX"],359:["BG"],370:["LT"],371:["LV"],372:["EE"],373:["MD"],374:["AM"],375:["BY"],376:["AD"],377:["MC"],378:["SM"],380:["UA"],381:["RS"],382:["ME"],383:["XK"],385:["HR"],386:["SI"],387:["BA"],389:["MK"],420:["CZ"],421:["SK"],423:["LI"],500:["FK"],501:["BZ"],502:["GT"],503:["SV"],504:["HN"],505:["NI"],506:["CR"],507:["PA"],508:["PM"],509:["HT"],590:["GP","BL","MF"],591:["BO"],592:["GY"],593:["EC"],594:["GF"],595:["PY"],596:["MQ"],597:["SR"],598:["UY"],599:["CW","BQ"],670:["TL"],672:["NF"],673:["BN"],674:["NR"],675:["PG"],676:["TO"],677:["SB"],678:["VU"],679:["FJ"],680:["PW"],681:["WF"],682:["CK"],683:["NU"],685:["WS"],686:["KI"],687:["NC"],688:["TV"],689:["PF"],690:["TK"],691:["FM"],692:["MH"],850:["KP"],852:["HK"],853:["MO"],855:["KH"],856:["LA"],880:["BD"],886:["TW"],960:["MV"],961:["LB"],962:["JO"],963:["SY"],964:["IQ"],965:["KW"],966:["SA"],967:["YE"],968:["OM"],970:["PS"],971:["AE"],972:["IL"],973:["BH"],974:["QA"],975:["BT"],976:["MN"],977:["NP"],992:["TJ"],993:["TM"],994:["AZ"],995:["GE"],996:["KG"],998:["UZ"]},countries:{AC:["247","00","(?:[01589]\\d|[46])\\d{4}",[5,6],0,0,0,0,0,0,0,[0,["4\\d{4}",[5]]]],AD:["376","00","(?:1|6\\d)\\d{7}|[135-9]\\d{5}",[6,8,9],[["(\\d{3})(\\d{3})","$1 $2",["[135-9]"]],["(\\d{4})(\\d{4})","$1 $2",["1"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["6"]]],0,0,0,0,0,0,[0,["690\\d{6}|[356]\\d{5}",[6,9]]]],AE:["971","00","(?:[4-7]\\d|9[0-689])\\d{7}|800\\d{2,9}|[2-4679]\\d{7}",[5,6,7,8,9,10,11,12],[["(\\d{3})(\\d{2,9})","$1 $2",["60|8"]],["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["[236]|[479][2-8]"],"0$1"],["(\\d{3})(\\d)(\\d{5})","$1 $2 $3",["[479]"]],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["5"],"0$1"]],"0",0,0,0,0,0,[0,["5[024-68]\\d{7}",[9]]]],AF:["93","00","[2-7]\\d{8}",[9],[["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[2-7]"],"0$1"]],"0",0,0,0,0,0,[0,["7\\d{8}"]]],AG:["1","011","(?:268|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([457]\\d{6})$|1","268$1",0,"268",[0,["268(?:464|7(?:1[3-9]|[28]\\d|3[0246]|64|7[0-689]))\\d{4}"]]],AI:["1","011","(?:264|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2457]\\d{6})$|1","264$1",0,"264",[0,["264(?:235|4(?:69|76)|5(?:3[6-9]|8[1-4])|7(?:29|72))\\d{4}"]]],AL:["355","00","(?:700\\d\\d|900)\\d{3}|8\\d{5,7}|(?:[2-5]|6\\d)\\d{7}",[6,7,8,9],[["(\\d{3})(\\d{3,4})","$1 $2",["80|9"],"0$1"],["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["4[2-6]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[2358][2-5]|4"],"0$1"],["(\\d{3})(\\d{5})","$1 $2",["[23578]"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["6"],"0$1"]],"0",0,0,0,0,0,[0,["6(?:[78][2-9]|9\\d)\\d{6}",[9]]]],AM:["374","00","(?:[1-489]\\d|55|60|77)\\d{6}",[8],[["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["[89]0"],"0 $1"],["(\\d{3})(\\d{5})","$1 $2",["2|3[12]"],"(0$1)"],["(\\d{2})(\\d{6})","$1 $2",["1|47"],"(0$1)"],["(\\d{2})(\\d{6})","$1 $2",["[3-9]"],"0$1"]],"0",0,0,0,0,0,[0,["(?:33|4[1349]|55|77|88|9[13-9])\\d{6}"]]],AO:["244","00","[29]\\d{8}",[9],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[29]"]]],0,0,0,0,0,0,[0,["9[1-79]\\d{7}"]]],AR:["54","00","(?:11|[89]\\d\\d)\\d{8}|[2368]\\d{9}",[10,11],[["(\\d{4})(\\d{2})(\\d{4})","$1 $2-$3",["2(?:2[024-9]|3[0-59]|47|6[245]|9[02-8])|3(?:3[28]|4[03-9]|5[2-46-8]|7[1-578]|8[2-9])","2(?:[23]02|6(?:[25]|4[6-8])|9(?:[02356]|4[02568]|72|8[23]))|3(?:3[28]|4(?:[04679]|3[5-8]|5[4-68]|8[2379])|5(?:[2467]|3[237]|8[2-5])|7[1-578]|8(?:[2469]|3[2578]|5[4-8]|7[36-8]|8[5-8]))|2(?:2[24-9]|3[1-59]|47)","2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3[78]|5(?:4[46]|8)|8[2379])|5(?:[2467]|3[237]|8[23])|7[1-578]|8(?:[2469]|3[278]|5[56][46]|86[3-6]))|2(?:2[24-9]|3[1-59]|47)|38(?:[58][78]|7[378])|3(?:4[35][56]|58[45]|8(?:[38]5|54|76))[4-6]","2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3(?:5(?:4[0-25689]|[56])|[78])|58|8[2379])|5(?:[2467]|3[237]|8(?:[23]|4(?:[45]|60)|5(?:4[0-39]|5|64)))|7[1-578]|8(?:[2469]|3[278]|54(?:4|5[13-7]|6[89])|86[3-6]))|2(?:2[24-9]|3[1-59]|47)|38(?:[58][78]|7[378])|3(?:454|85[56])[46]|3(?:4(?:36|5[56])|8(?:[38]5|76))[4-6]"],"0$1",1],["(\\d{2})(\\d{4})(\\d{4})","$1 $2-$3",["1"],"0$1",1],["(\\d{3})(\\d{3})(\\d{4})","$1-$2-$3",["[68]"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2-$3",["[23]"],"0$1",1],["(\\d)(\\d{4})(\\d{2})(\\d{4})","$2 15-$3-$4",["9(?:2[2-469]|3[3-578])","9(?:2(?:2[024-9]|3[0-59]|47|6[245]|9[02-8])|3(?:3[28]|4[03-9]|5[2-46-8]|7[1-578]|8[2-9]))","9(?:2(?:[23]02|6(?:[25]|4[6-8])|9(?:[02356]|4[02568]|72|8[23]))|3(?:3[28]|4(?:[04679]|3[5-8]|5[4-68]|8[2379])|5(?:[2467]|3[237]|8[2-5])|7[1-578]|8(?:[2469]|3[2578]|5[4-8]|7[36-8]|8[5-8])))|92(?:2[24-9]|3[1-59]|47)","9(?:2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3[78]|5(?:4[46]|8)|8[2379])|5(?:[2467]|3[237]|8[23])|7[1-578]|8(?:[2469]|3[278]|5(?:[56][46]|[78])|7[378]|8(?:6[3-6]|[78]))))|92(?:2[24-9]|3[1-59]|47)|93(?:4[35][56]|58[45]|8(?:[38]5|54|76))[4-6]","9(?:2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3(?:5(?:4[0-25689]|[56])|[78])|5(?:4[46]|8)|8[2379])|5(?:[2467]|3[237]|8(?:[23]|4(?:[45]|60)|5(?:4[0-39]|5|64)))|7[1-578]|8(?:[2469]|3[278]|5(?:4(?:4|5[13-7]|6[89])|[56][46]|[78])|7[378]|8(?:6[3-6]|[78]))))|92(?:2[24-9]|3[1-59]|47)|93(?:4(?:36|5[56])|8(?:[38]5|76))[4-6]"],"0$1",0,"$1 $2 $3-$4"],["(\\d)(\\d{2})(\\d{4})(\\d{4})","$2 15-$3-$4",["91"],"0$1",0,"$1 $2 $3-$4"],["(\\d{3})(\\d{3})(\\d{5})","$1-$2-$3",["8"],"0$1"],["(\\d)(\\d{3})(\\d{3})(\\d{4})","$2 15-$3-$4",["9"],"0$1",0,"$1 $2 $3-$4"]],"0",0,"0?(?:(11|2(?:2(?:02?|[13]|2[13-79]|4[1-6]|5[2457]|6[124-8]|7[1-4]|8[13-6]|9[1267])|3(?:02?|1[467]|2[03-6]|3[13-8]|[49][2-6]|5[2-8]|[67])|4(?:7[3-578]|9)|6(?:[0136]|2[24-6]|4[6-8]?|5[15-8])|80|9(?:0[1-3]|[19]|2\\d|3[1-6]|4[02568]?|5[2-4]|6[2-46]|72?|8[23]?))|3(?:3(?:2[79]|6|8[2578])|4(?:0[0-24-9]|[12]|3[5-8]?|4[24-7]|5[4-68]?|6[02-9]|7[126]|8[2379]?|9[1-36-8])|5(?:1|2[1245]|3[237]?|4[1-4
16-9]|6[2-4]|7[1-6]|8[2-5]?)|6[24]|7(?:[069]|1[1568]|2[15]|3[145]|4[13]|5[14-8]|7[2-57]|8[126])|8(?:[01]|2[15-7]|3[2578]?|4[13-6]|5[4-8]?|6[1-357-9]|7[36-8]?|8[5-8]?|9[124])))15)?","9$1",0,0,[0,["93(?:7(?:1[15]|81)|8(?:21|4[16]|69|9[12]))[46]\\d{5}|9(?:2(?:657|9(?:54|66))|3(?:7(?:55|77)|865))[2-8]\\d{5}|9(?:2(?:2(?:2[59]|44|52)|3(?:26|44)|473|9(?:[07]2|2[26]|34|46))|3327)[45]\\d{5}|9(?:2(?:284|3(?:02|23)|920)|3(?:4(?:46|8[27]|92)|541|878))[2-7]\\d{5}|9(?:2(?:(?:26|62)2|320|477|9(?:42|83))|3(?:329|4(?:62|76|89)|564))[2-6]\\d{5}|(?:675\\d|9(?:11[1-8]\\d|2(?:2(?:0[45]|1[2-6]|3[3-6])|3(?:[06]4|7[45])|494|6(?:04|1[2-8]|[36][45]|4[3-6])|80[45]|9(?:[17][4-6]|[48][45]|9[3-6]))|3(?:364|4(?:1[2-8]|[25][4-6]|3[3-6]|84)|5(?:1[2-9]|[38][4-6])|6(?:2[45]|44)|7[069][45]|8(?:0[45]|[17][2-6]|3[4-6]|5[3-6]|8[3-68]))))\\d{6}|92(?:2(?:21|4[23]|6[145]|7[1-4]|8[356]|9[267])|3(?:16|3[13-8]|43|5[346-8]|9[3-5])|475|6(?:2[46]|4[78]|5[1568])|9(?:03|2[1457-9]|3[1356]|4[08]|[56][23]|82))4\\d{5}|9(?:2(?:2(?:57|81)|3(?:24|46|92)|9(?:01|23|64))|3(?:4(?:42|71)|5(?:25|37|4[347]|71)|7(?:18|35|5[17])))[3-6]\\d{5}|9(?:2(?:2(?:02|2[3467]|4[156]|5[45]|6[6-8]|91)|3(?:1[47]|25|[45][25]|96)|47[48]|625|932)|3(?:38[2578]|4(?:0[0-24-9]|3[78]|4[457]|58|6[03-9]|72|83|9[136-8])|5(?:2[124]|[368][23]|4[2689]|7[2-6])|7(?:16|2[15]|3[14]|4[13]|5[468]|7[2-5]|8[26])|8(?:2[5-7]|3[278]|4[3-5]|5[78]|6[1-378]|[78]7|94)))[4-6]\\d{5}"]]],AS:["1","011","(?:[58]\\d\\d|684|900)\\d{7}",[10],0,"1",0,"([267]\\d{6})$|1","684$1",0,"684",[0,["684(?:2(?:48|5[2468]|7[26])|7(?:3[13]|70|82))\\d{4}"]]],AT:["43","00","1\\d{3,12}|2\\d{6,12}|43(?:(?:0\\d|5[02-9])\\d{3,9}|2\\d{4,5}|[3467]\\d{4}|8\\d{4,6}|9\\d{4,7})|5\\d{4,12}|8\\d{7,12}|9\\d{8,12}|(?:[367]\\d|4[0-24-9])\\d{4,11}",[4,5,6,7,8,9,10,11,12,13],[["(\\d)(\\d{3,12})","$1 $2",["1(?:11|[2-9])"],"0$1"],["(\\d{3})(\\d{2})","$1 $2",["517"],"0$1"],["(\\d{2})(\\d{3,5})","$1 $2",["5[079]"],"0$1"],["(\\d{3})(\\d{3,10})","$1 $2",["(?:31|4)6|51|6(?:5[0-3579]|[6-9])|7(?:20|32|8)|[89]"],"0$1"],["(\\d{4})(\\d{3,9})","$1 $2",["[2-467]|5[2-6]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["5"],"0$1"],["(\\d{2})(\\d{4})(\\d{4,7})","$1 $2 $3",["5"],"0$1"]],"0",0,0,0,0,0,[0,["6(?:5[0-3579]|6[013-9]|[7-9]\\d)\\d{4,10}",[7,8,9,10,11,12,13]]]],AU:["61","001[14-689]|14(?:1[14]|34|4[17]|[56]6|7[47]|88)0011","1(?:[0-79]\\d{7}(?:\\d(?:\\d{2})?)?|8[0-24-9]\\d{7})|[2-478]\\d{8}|1\\d{4,7}",[5,6,7,8,9,10,12],[["(\\d{2})(\\d{3,4})","$1 $2",["16"],"0$1"],["(\\d{2})(\\d{3})(\\d{2,4})","$1 $2 $3",["16"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["14|4"],"0$1"],["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["[2378]"],"(0$1)"],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1(?:30|[89])"]]],"0",0,"(183[12])|0",0,0,0,[0,["4(?:79[01]|83[0-389]|94[0-4])\\d{5}|4(?:[0-36]\\d|4[047-9]|5[0-25-9]|7[02-8]|8[0-24-9]|9[0-37-9])\\d{6}",[9]]],"0011"],AW:["297","00","(?:[25-79]\\d\\d|800)\\d{4}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[25-9]"]]],0,0,0,0,0,0,[0,["(?:290|5[69]\\d|6(?:[03]0|22|4[0-2]|[69]\\d)|7(?:[34]\\d|7[07])|9(?:6[45]|9[4-8]))\\d{4}"]]],AX:["358","00|99(?:[01469]|5(?:[14]1|3[23]|5[59]|77|88|9[09]))","2\\d{4,9}|35\\d{4,5}|(?:60\\d\\d|800)\\d{4,6}|7\\d{5,11}|(?:[14]\\d|3[0-46-9]|50)\\d{4,8}",[5,6,7,8,9,10,11,12],0,"0",0,0,0,0,"18",[0,["4946\\d{2,6}|(?:4[0-8]|50)\\d{4,8}",[6,7,8,9,10]]],"00"],AZ:["994","00","365\\d{6}|(?:[124579]\\d|60|88)\\d{7}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["90"],"0$1"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["1[28]|2|365|46","1[28]|2|365[45]|46","1[28]|2|365(?:4|5[02])|46"],"(0$1)"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[13-9]"],"0$1"]],"0",0,0,0,0,0,[0,["36554\\d{4}|(?:[16]0|4[04]|5[015]|7[07]|99)\\d{7}"]]],BA:["387","00","6\\d{8}|(?:[35689]\\d|49|70)\\d{6}",[8,9],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["6[1-3]|[7-9]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2-$3",["[3-5]|6[56]"],"0$1"],["(\\d{2})(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3 $4",["6"],"0$1"]],"0",0,0,0,0,0,[0,["6040\\d{5}|6(?:03|[1-356]|44|7\\d)\\d{6}"]]],BB:["1","011","(?:246|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2-9]\\d{6})$|1","246$1",0,"246",[0,["246(?:(?:2(?:[3568]\\d|4[0-57-9])|3(?:5[2-9]|6[0-6])|4(?:46|5\\d)|69[5-7]|8(?:[2-5]\\d|83))\\d|52(?:1[147]|20))\\d{3}"]]],BD:["880","00","[1-469]\\d{9}|8[0-79]\\d{7,8}|[2-79]\\d{8}|[2-9]\\d{7}|[3-9]\\d{6}|[57-9]\\d{5}",[6,7,8,9,10],[["(\\d{2})(\\d{4,6})","$1-$2",["31[5-8]|[459]1"],"0$1"],["(\\d{3})(\\d{3,7})","$1-$2",["3(?:[67]|8[013-9])|4(?:6[168]|7|[89][18])|5(?:6[128]|9)|6(?:[15]|28|4[14])|7[2-589]|8(?:0[014-9]|[12])|9[358]|(?:3[2-5]|4[235]|5[2-578]|6[0389]|76|8[3-7]|9[24])1|(?:44|66)[01346-9]"],"0$1"],["(\\d{4})(\\d{3,6})","$1-$2",["[13-9]|2[23]"],"0$1"],["(\\d)(\\d{7,8})","$1-$2",["2"],"0$1"]],"0",0,0,0,0,0,[0,["(?:1[13-9]\\d|644)\\d{7}|(?:3[78]|44|66)[02-9]\\d{7}",[10]]]],BE:["32","00","4\\d{8}|[1-9]\\d{7}",[8,9],[["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["(?:80|9)0"],"0$1"],["(\\d)(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[239]|4[23]"],"0$1"],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[15-8]"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["4"],"0$1"]],"0",0,0,0,0,0,[0,["4[5-9]\\d{7}",[9]]]],BF:["226","00","[025-7]\\d{7}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[025-7]"]]],0,0,0,0,0,0,[0,["(?:0[1-7]|5[0-8]|[67]\\d)\\d{6}"]]],BG:["359","00","00800\\d{7}|[2-7]\\d{6,7}|[89]\\d{6,8}|2\\d{5}",[6,7,8,9,12],[["(\\d)(\\d)(\\d{2})(\\d{2})","$1 $2 $3 $4",["2"],"0$1"],["(\\d{3})(\\d{4})","$1 $2",["43[1-6]|70[1-9]"],"0$1"],["(\\d)(\\d{3})(\\d{3,4})","$1 $2 $3",["2"],"0$1"],["(\\d{2})(\\d{3})(\\d{2,3})","$1 $2 $3",["[356]|4[124-7]|7[1-9]|8[1-6]|9[1-7]"],"0$1"],["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["(?:70|8)0"],"0$1"],["(\\d{3})(\\d{3})(\\d{2})","$1 $2 $3",["43[1-7]|7"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[48]|9[08]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["9"],"0$1"]],"0",0,0,0,0,0,[0,["(?:43[07-9]|99[69]\\d)\\d{5}|(?:8[7-9]|98)\\d{7}",[8,9]]]],BH:["973","00","[136-9]\\d{7}",[8],[["(\\d{4})(\\d{4})","$1 $2",["[13679]|8[02-4679]"]]],0,0,0,0,0,0,[0,["(?:3(?:[0-79]\\d|8[0-57-9])\\d|6(?:3(?:00|33|6[16])|441|6(?:3[03-9]|[69]\\d|7[0-689])))\\d{4}"]]],BI:["257","00","(?:[267]\\d|31)\\d{6}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2367]"]]],0,0,0,0,0,0,[0,["(?:29|[67][125-9])\\d{6}"]]],BJ:["229","00","[24-689]\\d{7}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[24-689]"]]],0,0,0,0,0,0,[0,["(?:4[0-8]|[56]\\d|9[013-9])\\d{6}"]]],BL:["590","00","590\\d{6}|(?:69|80|9\\d)\\d{7}",[9],0,"0",0,0,0,0,0,[0,["69(?:0\\d\\d|1(?:2[2-9]|3[0-5])|4(?:0[89]|1[2-6]|9\\d)|6(?:1[016-9]|5[0-4]|[67]\\d))\\d{4}"]]],BM:["1","011","(?:441|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2-9]\\d{6})$|1","441$1",0,"441",[0,["441(?:[2378]\\d|5[0-39]|9[02])\\d{5}"]]],BN:["673","00","[2-578]\\d{6}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[2-578]"]]],0,0,0,0,0,0,[0,["(?:22[89]|[78]\\d\\d)\\d{4}"]]],BO:["591","00(?:1\\d)?","8001\\d{5}|(?:[2-467]\\d|50)\\d{6}",[8,9],[["(\\d)(\\d{7})","$1 $2",["[235]|4[46]"]],["(\\d{8})","$1",["[67]"]],["(\\d{3})(\\d{2})(\\d{4})","$1 $2 $3",["8"]]],"0",0,"0(1\\d)?",0,0,0,[0,["[67]\\d{7}",[8]]]],BQ:["599","00","(?:[34]1|7\\d)\\d{5}",[7],0,0,0,0,0,0,"[347]",[0,["(?:31(?:8[14-8]|9[14578])|416[14-9]|7(?:0[01]|7[07]|8\\d|9[056])\\d)\\d{3}"]]],BR:["55","00(?:1[245]|2[1-35]|31|4[13]|[56]5|99)","(?:[1-46-9]\\d\\d|5(?:[0-46-9]\\d|5[0-46-9]))\\d{8}|[1-9]\\d{9}|[3589]\\d{8}|[34]\\d{7}",[8,9,10,11],[["(\\d{4})(\\d{4})","$1-$2",["300|4(?:0[02]|37)","4(?:02|37)0|[34]00"]],["(\\d{3})(\\d{2,3})(\\d{4})","$1 $2 $3",["(?:[358]|90)0"],"0$1"],["(\\d{2})(\\d{4})(\\d{4})","$1 $2-$3",["(?:[14689][1-9]|2[12478]|3[1-578]|5[13-5]|7[13-579])[2-57]"],"($1)"],["(\\d{2})(\\d{5})(\\d{4})","$1 $2-$3",["[16][1-9]|[2-57-9]"],"($1)"]],"0",0,"(?:0|90)(?:(1[245]|2[1-35]|31|4[13]|[56]5|99)(\\d{10,11}))?","$2",0,0,[0,["(?:[14689][1-9]|2[12478]|3[1-578]|5[13-5]|7[13-579])(?:7|9\\d)\\d{7}",[10,11]]]],BS:["1","011","(?:242|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([3-8]\\d{6})$|1","242$1",0,"242",[0,["242(?:3(?:5[79]|7[56]|95)|4(?:[23][1-9]|4[1-35-9]|5[1-8]|6[2-8]|7\\d|81)|5(?:2[45]|3[35]|44|5[1-46-9]|65|77)|6[34]6|7(?:27|38)|8(?:0[1-9]|1[02-9]|2\\d|3[0-4]|[89]9))\\d{4}"]]],BT:["975","00","[17]\\d{7}|[2-8]\\d{6}",[7,8],[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["[2-68]|7[246]"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["1[67]|7"]]],0,0,0,0,0,0,[0,["(?:1[67]|77)\\d{6}",[8]]]],BW:["267","00","(?:0800|(?:[37]|800)\\d)\\d{6}|(?:[2-6]\\d|90)\\d{5}",[7,8,10],[["(\\d{2})(\\d{5})","$1 $2",["90"]],["(\\d{3})(\\d{4})","$1 $2",["[24-6]|3[15-9]"]],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[37]"]],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["0"]],["(\\d{3})(\\d{4})(\\d{3})","$1 $2 $3",["8"]]],0,0,0,0,0,0,[0,["(?:321|7[1-8]\\d)\\d{5}",[8]]]],BY:["375","810","(?:[12]\\d|33|44|902)\\d{7}|8(?:0[0-79]\\d{5,7}|[1-7]\\d{9})|8(?:1[0-489]|[5-79]\\d)\\d{7}|8[1-79]\\d{6,7}|8[0-79]\\d{5}|8\\d{5}",[6,7,8,9,10,11],[["(\\d{3})(\\d{3})","$1 $2",["800"],"8 $1"],["(\\d{3})(\\d{2})(\\d{2,4})","$1 $2 $3",["800"],"8 $1"],["(\\d{4})(\\d{2})(\\d{3})","$1 $2-$3",["1(?:5[169]|6[3-5]|7[179])|2(?:1[35]|2[34]|3[3-5])","1(?:5[169]|6(?:3[1-3]|4|5[125])|7(?:1[3-9]|7[0-24-6]|9[2-7]))|2(?:1[35]|2[34]|3[3-5])"],"8 0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2-$3-$4",["1(?:[56]|7[467])|2[1-3]"],"8 0$1"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2-$3-$4",["[1-4]"],"8 0$1"],["(\\d{3})(\\d{3,4})(\\d{4})","$1 $2 $3",["[89]"],"8 $1"]],"8",0,"0|80?",0,0,0,[0,["(?:2(?:5[5-79]|9[1-9])|(?:33|44)\\d)\\d{6}",[9]]],"8~10"],BZ:["501","00","(?:0800\\d|[2-8])\\d{6}",[7,11],[["(\\d{3})(\\d{4})","$1-$2",["[2-8]"]],["(\\d)(\\d{3})(\\d{4})(\\d{3})","$1-$2-$3-$4",["0"]]],0,0,0,0,0,0,[0,["6[0-35-7]\\d{5}",[7]]]],CA:["1","011","(?:[2-8]\\d|90)\\d{8}|3\\d{6}",[7,10],0,"1",0,0,0,0,0,[0,["(?:2(?:04|[23]6|[48]9|50|63)|3(?:06|43|54|6[578]|82)|4(?:03|1[68]|[26]8|3[178]|50|74)|5(?:06|1[49]|48|79|8[147])|6(?:04|[18]3|39|47|72)|7(?:0[59]|42|53|78|8[02])|8(?:[06]7|19|25|7[39])|90[25])[2-9]\\d{6}",[10]]]],CC:["61","001[14-689]|14(?:1[14]|34|4[17]|[56]6|7[47]|88)0011","1(?:[0-79]\\d{8}(?:\\d{2})?|8[0-24-9]\\d{7})|[148]\\d{8}|1\\d{5,7}",[6,7,8,9,10,12],0,"0",0,"([59]\\d{7})$|0","8$1",0,0,[0,["4(?:79[01]|83[0-389]|94[0-4])\\d{5}|4(?:[0-36]\\d|4[047-9]|5[0-25-9]|7[02-8]|8[0-24-9]|9[0-37-9])\\d{6}",[9]]],"0011"],CD:["243","00","(?:(?:[189]|5\\d)\\d|2)\\d{7}|[1-68]\\d{6}",[7,8,9,10],[["(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3",["88"],"0$1"],["(\\d{2})(\\d{5})","$1 $2",["[1-6]"],"0$1"],["(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3",["2"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["1"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[89]"],"0$1"],["(\\d{2})(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3 $4",["5"],"0$1"]],"0",0,0,0,0,0,[0,["88\\d{5}|(?:8[0-69]|9[017-9])\\d{7}",[7,9]]]],CF:["236","00","(?:[27]\\d{3}|8776)\\d{4}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[278]"]]],0,0,0,0,0,0,[0,["7[024-7]\\d{6}"]]],CG:["242","00","222\\d{6}|(?:0\\d|80)\\d{7}",[9],[["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["8"]],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[02]"]]],0,0,0,0,0,0,[0,["026(?:1[0-5]|6[6-9])\\d{4}|0(?:[14-6]\\d\\d|2(?:40|5[5-8]|6[07-9]))\\d{5}"]]],CH:["41","00","8\\d{11}|[2-9]\\d{8}",[9,12],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["8[047]|90"],"0$1"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2-79]|81"],"0$1"],["(\\d{3})(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["8"],"0$1"]],"0",0,0,0,0,0,[0,["(?:6[89]|7[235-9])\\d{7}",[9]]]],CI:["225","00","[02]\\d{9}",[10],[["(\\d{2})(\\d{2})(\\d)(\\d{5})","$1 $2 $3 $4",["2"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3 $4",["0"]]],0,0,0,0,0,0,[0,["0[157]\\d{8}"]]],CK:["682","00","[2-578]\\d{4}",[5],[["(\\d{2})(\\d{3})","$1 $2",["[2-578]"]]],0,0,0,0,0,0,[0,["[578]\\d{4}"]]],CL:["56","(?:0|1(?:1[0-69]|2[02-5]|5[13-58]|69|7[0167]|8[018]))0","12300\\d{6}|6\\d{9,10}|[2-9]\\d{8}",[9,10,11],[["(\\d{5})(\\d{4})","$1 $2",["219","2196"],"($1)"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["44"]],["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["2[1-36]"],"($1)"],["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["9[2-9]"]],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["3[2-5]|[47]|5[1-3578]|6[13-57]|8(?:0[1-9]|[1-9])"],"($1)"],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["60|8"]],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["1"]],["(\\d{3})(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3 $4",["60"]]],0,0,0,0,0,0,[0,["2(?:1982[0-6]|3314[05-9])\\d{3}|(?:2(?:1(?:160|962)|3(?:2\\d\\d|3(?:[03467]\\d|1[0-35-9]|2[1-9]|5[0-24-9]|8[0-3])|600)|646[59])|80[1-9]\\d\\d|9(?:3(?:[0-57-9]\\d\\d|6(?:0[02-9]|[1-9]\\d))|6(?:[0-8]\\d\\d|9(?:[02-79]\\d|1[05-9]))|7[1-9]\\d\\d|9(?:[03-9]\\d\\d|1(?:[0235-9]\\d|4[0-24-9])|2(?:[0-79]\\d|8[0-46-9]))))\\d{4}|(?:22|3[2-5]|[47][1-35]|5[1-3578]|6[13-57]|8[1-9]|9[2458])\\d{7}",[9]]]],CM:["237","00","[26]\\d{8}|88\\d{6,7}",[8,9],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["88"]],["(\\d)(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["[26]|88"]]],0,0,0,0,0,0,[0,["(?:24[23]|6(?:[25-9]\\d|40))\\d{6}",[9]]]],CN:["86","00|1(?:[12]\\d|79)\\d\\d00","(?:(?:1[03-689]|2\\d)\\d\\d|6)\\d{8}|1\\d{10}|[126]\\d{6}(?:\\d(?:\\d{2})?)?|86\\d{5,6}|(?:[3-579]\\d|8[0-57-9])\\d{5,9}",[7,8,9,10,11,12],[["(\\d{2})(\\d{5,6})","$1 $2",["(?:10|2[0-57-9])[19]|3(?:[157]|35|49|9[1-68])|4(?:1[124-9]|2[179]|6[47-9]|7|8[23])|5(?:[1357]|2[37]|4[36]|6[1-46]|80)|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:07|1[236-8]|2[5-7]|[37]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|3|4[13]|5[1-5]|7[0-79]|9[0-35-9])|(?:4[35]|59|85)[1-9]","(?:10|2[0-57-9])(?:1[02]|9[56])|8078|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:1[124-9]|2[179]|[35][1-9]|6[47-9]|7\\d|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|3\\d|4[13]|5[1-5]|7[0-79]|9[0-35-9]))1","10(?:1(?:0|23)|9[56])|2[0-57-9](?:1(?:00|23)|9[56])|80781|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:1[124-9]|2[179]|[35][1-9]|6[47-9]|7\\d|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|3\\d|4[13]|5[1-5]|7[0-79]|9[0-35-9]))12","10(?:1(?:0|23)|9[56])|2[0-57-9](?:1(?:00|23)|9[56])|807812|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:1[124-9]|2[179]|[35][1-9]|6[47-9]|7\\d|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|3\\d|4[13]|5[1-5]|7[0-79]|9[0-35-9]))123","10(?:1(?:0|23)|9[56])|2[0-57-9](?:1(?:00|23)|9[56])|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:1[124-9]|2[179]|[35][1-9]|6[47-9]|7\\d|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:078|1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|3\\d|4[13]|5[1-5]|7[0-79]|9[0-35-9]))123"],"0$1"],["(\\d{3})(\\d{5,6})","$1 $2",["3(?:[157]|35|49|9[1-68])|4(?:[17]|2[179]|6[47-9]|8[23])|5(?:[1357]|2[37]|4[36]|6[1-46]|80)|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]|4[13]|5[1-5])|(?:4[35]|59|85)[1-9]","(?:3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))[19]","85[23](?:10|95)|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[14-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))(?:10|9[56])","85[23](?:100|95)|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[14-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))(?:100|9[56])"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["(?:4|80)0"]],["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["10|2(?:[02-57-9]|1[1-9])","10|2(?:[02-57-9]|1[1-9])","10[0-79]|2(?:[02-57-9]|1[1-79])|(?:10|21)8(?:0[1-9]|[1-9])
1"],"0$1",1],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["3(?:[3-59]|7[02-68])|4(?:[26-8]|3[3-9]|5[2-9])|5(?:3[03-9]|[468]|7[028]|9[2-46-9])|6|7(?:[0-247]|3[04-9]|5[0-4689]|6[2368])|8(?:[1-358]|9[1-7])|9(?:[013479]|5[1-5])|(?:[34]1|55|79|87)[02-9]"],"0$1",1],["(\\d{3})(\\d{7,8})","$1 $2",["9"]],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["80"],"0$1",1],["(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["[3-578]"],"0$1",1],["(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["1[3-9]"]],["(\\d{2})(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3 $4",["[12]"],"0$1",1]],"0",0,"(1(?:[12]\\d|79)\\d\\d)|0",0,0,0,[0,["1740[0-5]\\d{6}|1(?:[38]\\d|4[57]|[59][0-35-9]|6[25-7]|7[0-35-8])\\d{8}",[11]]],"00"],CO:["57","00(?:4(?:[14]4|56)|[579])","(?:60\\d\\d|9101)\\d{6}|(?:1\\d|3)\\d{9}",[10,11],[["(\\d{3})(\\d{7})","$1 $2",["6"],"($1)"],["(\\d{3})(\\d{7})","$1 $2",["3[0-357]|91"]],["(\\d)(\\d{3})(\\d{7})","$1-$2-$3",["1"],"0$1",0,"$1 $2 $3"]],"0",0,"0([3579]|4(?:[14]4|56))?",0,0,0,[0,["333301[0-5]\\d{3}|3333(?:00|2[5-9]|[3-9]\\d)\\d{4}|(?:3(?:24[1-9]|3(?:00|3[0-24-9]))|9101)\\d{6}|3(?:0[0-5]|1\\d|2[0-3]|5[01]|70)\\d{7}",[10]]]],CR:["506","00","(?:8\\d|90)\\d{8}|(?:[24-8]\\d{3}|3005)\\d{4}",[8,10],[["(\\d{4})(\\d{4})","$1 $2",["[2-7]|8[3-9]"]],["(\\d{3})(\\d{3})(\\d{4})","$1-$2-$3",["[89]"]]],0,0,"(19(?:0[0-2468]|1[09]|20|66|77|99))",0,0,0,[0,["(?:3005\\d|6500[01])\\d{3}|(?:5[07]|6[0-4]|7[0-3]|8[3-9])\\d{6}",[8]]]],CU:["53","119","(?:[2-7]|8\\d\\d)\\d{7}|[2-47]\\d{6}|[34]\\d{5}",[6,7,8,10],[["(\\d{2})(\\d{4,6})","$1 $2",["2[1-4]|[34]"],"(0$1)"],["(\\d)(\\d{6,7})","$1 $2",["7"],"(0$1)"],["(\\d)(\\d{7})","$1 $2",["[56]"],"0$1"],["(\\d{3})(\\d{7})","$1 $2",["8"],"0$1"]],"0",0,0,0,0,0,[0,["(?:5\\d|6[2-4])\\d{6}",[8]]]],CV:["238","0","(?:[2-59]\\d\\d|800)\\d{4}",[7],[["(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3",["[2-589]"]]],0,0,0,0,0,0,[0,["(?:36|5[1-389]|9\\d)\\d{5}"]]],CW:["599","00","(?:[34]1|60|(?:7|9\\d)\\d)\\d{5}",[7,8],[["(\\d{3})(\\d{4})","$1 $2",["[3467]"]],["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["9[4-8]"]]],0,0,0,0,0,"[69]",[0,["953[01]\\d{4}|9(?:5[12467]|6[5-9])\\d{5}"]]],CX:["61","001[14-689]|14(?:1[14]|34|4[17]|[56]6|7[47]|88)0011","1(?:[0-79]\\d{8}(?:\\d{2})?|8[0-24-9]\\d{7})|[148]\\d{8}|1\\d{5,7}",[6,7,8,9,10,12],0,"0",0,"([59]\\d{7})$|0","8$1",0,0,[0,["4(?:79[01]|83[0-389]|94[0-4])\\d{5}|4(?:[0-36]\\d|4[047-9]|5[0-25-9]|7[02-8]|8[0-24-9]|9[0-37-9])\\d{6}",[9]]],"0011"],CY:["357","00","(?:[279]\\d|[58]0)\\d{6}",[8],[["(\\d{2})(\\d{6})","$1 $2",["[257-9]"]]],0,0,0,0,0,0,[0,["9(?:10|[4-79]\\d)\\d{5}"]]],CZ:["420","00","(?:[2-578]\\d|60)\\d{7}|9\\d{8,11}",[9,10,11,12],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[2-8]|9[015-7]"]],["(\\d{2})(\\d{3})(\\d{3})(\\d{2})","$1 $2 $3 $4",["96"]],["(\\d{2})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["9"]],["(\\d{3})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["9"]]],0,0,0,0,0,0,[0,["(?:60[1-8]\\d|7(?:0(?:[2-5]\\d|60)|19[01]|[2379]\\d\\d))\\d{5}",[9]]]],DE:["49","00","[2579]\\d{5,14}|49(?:[34]0|69|8\\d)\\d\\d?|49(?:37|49|60|7[089]|9\\d)\\d{1,3}|49(?:2[024-9]|3[2-689]|7[1-7])\\d{1,8}|(?:1|[368]\\d|4[0-8])\\d{3,13}|49(?:[015]\\d|2[13]|31|[46][1-8])\\d{1,9}",[4,5,6,7,8,9,10,11,12,13,14,15],[["(\\d{2})(\\d{3,13})","$1 $2",["3[02]|40|[68]9"],"0$1"],["(\\d{3})(\\d{3,12})","$1 $2",["2(?:0[1-389]|1[124]|2[18]|3[14])|3(?:[35-9][15]|4[015])|906|(?:2[4-9]|4[2-9]|[579][1-9]|[68][1-8])1","2(?:0[1-389]|12[0-8])|3(?:[35-9][15]|4[015])|906|2(?:[13][14]|2[18])|(?:2[4-9]|4[2-9]|[579][1-9]|[68][1-8])1"],"0$1"],["(\\d{4})(\\d{2,11})","$1 $2",["[24-6]|3(?:[3569][02-46-9]|4[2-4679]|7[2-467]|8[2-46-8])|70[2-8]|8(?:0[2-9]|[1-8])|90[7-9]|[79][1-9]","[24-6]|3(?:3(?:0[1-467]|2[127-9]|3[124578]|7[1257-9]|8[1256]|9[145])|4(?:2[135]|4[13578]|9[1346])|5(?:0[14]|2[1-3589]|6[1-4]|7[13468]|8[13568])|6(?:2[1-489]|3[124-6]|6[13]|7[12579]|8[1-356]|9[135])|7(?:2[1-7]|4[145]|6[1-5]|7[1-4])|8(?:21|3[1468]|6|7[1467]|8[136])|9(?:0[12479]|2[1358]|4[134679]|6[1-9]|7[136]|8[147]|9[1468]))|70[2-8]|8(?:0[2-9]|[1-8])|90[7-9]|[79][1-9]|3[68]4[1347]|3(?:47|60)[1356]|3(?:3[46]|46|5[49])[1246]|3[4579]3[1357]"],"0$1"],["(\\d{3})(\\d{4})","$1 $2",["138"],"0$1"],["(\\d{5})(\\d{2,10})","$1 $2",["3"],"0$1"],["(\\d{3})(\\d{5,11})","$1 $2",["181"],"0$1"],["(\\d{3})(\\d)(\\d{4,10})","$1 $2 $3",["1(?:3|80)|9"],"0$1"],["(\\d{3})(\\d{7,8})","$1 $2",["1[67]"],"0$1"],["(\\d{3})(\\d{7,12})","$1 $2",["8"],"0$1"],["(\\d{5})(\\d{6})","$1 $2",["185","1850","18500"],"0$1"],["(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["7"],"0$1"],["(\\d{4})(\\d{7})","$1 $2",["18[68]"],"0$1"],["(\\d{4})(\\d{7})","$1 $2",["15[1279]"],"0$1"],["(\\d{5})(\\d{6})","$1 $2",["15[03568]","15(?:[0568]|31)"],"0$1"],["(\\d{3})(\\d{8})","$1 $2",["18"],"0$1"],["(\\d{3})(\\d{2})(\\d{7,8})","$1 $2 $3",["1(?:6[023]|7)"],"0$1"],["(\\d{4})(\\d{2})(\\d{7})","$1 $2 $3",["15[279]"],"0$1"],["(\\d{3})(\\d{2})(\\d{8})","$1 $2 $3",["15"],"0$1"]],"0",0,0,0,0,0,[0,["15310\\d{6}|1(?:6[023]|7[0-57-9])\\d{7,8}|1(?:5[0-25-9]|76)\\d{8}
1",[10,11]]]],DJ:["253","00","(?:2\\d|77)\\d{6}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[27]"]]],0,0,0,0,0,0,[0,["77\\d{6}"]]],DK:["45","00","[2-9]\\d{7}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2-9]"]]],0,0,0,0,0,0,[0,["(?:[2-7]\\d|8[126-9]|9[1-46-9])\\d{6}"]]],DM:["1","011","(?:[58]\\d\\d|767|900)\\d{7}",[10],0,"1",0,"([2-7]\\d{6})$|1","767$1",0,"767",[0,["767(?:2(?:[2-4689]5|7[5-7])|31[5-7]|61[1-8]|70[1-6])\\d{4}"]]],DO:["1","011","(?:[58]\\d\\d|900)\\d{7}",[10],0,"1",0,0,0,0,"8001|8[024]9",[0,["8[024]9[2-9]\\d{6}"]]],DZ:["213","00","(?:[1-4]|[5-79]\\d|80)\\d{7}",[8,9],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[1-4]"],"0$1"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["9"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[5-8]"],"0$1"]],"0",0,0,0,0,0,[0,["(?:5(?:4[0-29]|5\\d|6[0-3])|6(?:[569]\\d|7[0-6])|7[7-9]\\d)\\d{6}",[9]]]],EC:["593","00","1\\d{9,10}|(?:[2-7]|9\\d)\\d{7}",[8,9,10,11],[["(\\d)(\\d{3})(\\d{4})","$1 $2-$3",["[2-7]"],"(0$1)",0,"$1-$2-$3"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["9"],"0$1"],["(\\d{4})(\\d{3})(\\d{3,4})","$1 $2 $3",["1"]]],"0",0,0,0,0,0,[0,["964[0-2]\\d{5}|9(?:39|[57][89]|6[0-36-9]|[89]\\d)\\d{6}",[9]]]],EE:["372","00","8\\d{9}|[4578]\\d{7}|(?:[3-8]\\d|90)\\d{5}",[7,8,10],[["(\\d{3})(\\d{4})","$1 $2",["[369]|4[3-8]|5(?:[0-2]|5[0-478]|6[45])|7[1-9]|88","[369]|4[3-8]|5(?:[02]|1(?:[0-8]|95)|5[0-478]|6(?:4[0-4]|5[1-589]))|7[1-9]|88"]],["(\\d{4})(\\d{3,4})","$1 $2",["[45]|8(?:00|[1-49])","[45]|8(?:00[1-9]|[1-49])"]],["(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3",["7"]],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["8"]]],0,0,0,0,0,0,[0,["(?:5\\d{5}|8(?:1(?:0(?:0(?:00|[178]\\d)|[3-9]\\d\\d)|(?:1(?:0[236]|1\\d)|(?:2[0-59]|[3-79]\\d)\\d)\\d)|2(?:0(?:0(?:00|4\\d)|(?:19|[2-7]\\d)\\d)|(?:(?:[124-6]\\d|3[5-9])\\d|7(?:[
10-79]\\d|8[13-9])|8(?:[2-6]\\d|7[01]))\\d)|[349]\\d{4}))\\d\\d|5(?:(?:[02]\\d|5[0-478])\\d|1(?:[0-8]\\d|95)|6(?:4[0-4]|5[1-589]))\\d{3}",[7,8]]]],EG:["20","00","[189]\\d{8,9}|[24-6]\\d{8}|[135]\\d{7}",[8,9,10],[["(\\d)(\\d{7,8})","$1 $2",["[23]"],"0$1"],["(\\d{2})(\\d{6,7})","$1 $2",["1[35]|[4-6]|8[2468]|9[235-7]"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[89]"],"0$1"],["(\\d{2})(\\d{8})","$1 $2",["1"],"0$1"]],"0",0,0,0,0,0,[0,["1[0-25]\\d{8}",[10]]]],EH:["212","00","[5-8]\\d{8}",[9],0,"0",0,0,0,0,"528[89]",[0,["(?:6(?:[0-79]\\d|8[0-247-9])|7(?:[0167]\\d|2[0-4]|5[01]|8[0-3]))\\d{6}"]]],ER:["291","00","[178]\\d{6}",[7],[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["[178]"],"0$1"]],"0",0,0,0,0,0,[0,["(?:17[1-3]|7\\d\\d)\\d{4}"]]],ES:["34","00","[5-9]\\d{8}",[9],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[89]00"]],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[5-9]"]]],0,0,0,0,0,0,[0,["(?:590[16]00\\d|9(?:6906(?:09|10)|7390\\d\\d))\\d\\d|(?:6\\d|7[1-48])\\d{7}"]]],ET:["251","00","(?:11|[2-579]\\d)\\d{7}",[9],[["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[1-579]"],"0$1"]],"0",0,0,0,0,0,[0,["700[1-9]\\d{5}|(?:7(?:0[1-9]|1[0-8]|22|77|86|99)|9\\d\\d)\\d{6}"]]],FI:["358","00|99(?:[01469]|5(?:[14]1|3[23]|5[59]|77|88|9[09]))","[1-35689]\\d{4}|7\\d{10,11}|(?:[124-7]\\d|3[0-46-9])\\d{8}|[1-9]\\d{5,8}",[5,6,7,8,9,10,11,12],[["(\\d{5})","$1",["20[2-59]"],"0$1"],["(\\d{3})(\\d{3,7})","$1 $2",["(?:[1-3]0|[68])0|70[07-9]"],"0$1"],["(\\d{2})(\\d{4,8})","$1 $2",["[14]|2[09]|50|7[135]"],"0$1"],["(\\d{2})(\\d{6,10})","$1 $2",["7"],"0$1"],["(\\d)(\\d{4,9})","$1 $2",["(?:1[49]|[2568])[1-8]|3(?:0[1-9]|[1-9])|9"],"0$1"]],"0",0,0,0,0,"1[03-79]|[2-9]",[0,["4946\\d{2,6}|(?:4[0-8]|50)\\d{4,8}",[6,7,8,9,10]]],"00"],FJ:["679","0(?:0|52)","45\\d{5}|(?:0800\\d|[235-9])\\d{6}",[7,11],[["(\\d{3})(\\d{4})","$1 $2",["[235-9]|45"]],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["0"]]],0,0,0,0,0,0,[0,["(?:[279]\\d|45|5[01568]|8[034679])\\d{5}",[7]]],"00"],FK:["500","00","[2-7]\\d{4}",[5],0,0,0,0,0,0,0,[0,["[56]\\d{4}"]]],FM:["691","00","(?:[39]\\d\\d|820)\\d{4}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[389]"]]],0,0,0,0,0,0,[0,["31(?:00[67]|208|309)\\d\\d|(?:3(?:[2357]0[1-9]|602|804|905)|(?:820|9[2-7]\\d)\\d)\\d{3}"]]],FO:["298","00","[2-9]\\d{5}",[6],[["(\\d{6})","$1",["[2-9]"]]],0,0,"(10(?:01|[12]0|88))",0,0,0,[0,["(?:[27][1-9]|5\\d|9[16])\\d{4}"]]],FR:["33","00","[1-9]\\d{8}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"],"0 $1"],["(\\d)(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["[1-79]"],"0$1"]],"0",0,0,0,0,0,[0,["(?:6(?:[0-24-8]\\d|3[0-8]|9[589])|7[3-9]\\d)\\d{6}"]]],GA:["241","00","(?:[067]\\d|11)\\d{6}|[2-7]\\d{6}",[7,8],[["(\\d)(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2-7]"],"0$1"],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["0"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["11|[67]"],"0$1"]],0,0,"0(11\\d{6}|60\\d{6}|61\\d{6}|6[256]\\d{6}|7[467]\\d{6})","$1",0,0,[0,["(?:(?:0[2-7]|7[467])\\d|6(?:0[0-4]|10|[256]\\d))\\d{5}|[2-7]\\d{6}"]]],GB:["44","00","[1-357-9]\\d{9}|[18]\\d{8}|8\\d{6}",[7,9,10],[["(\\d{3})(\\d{4})","$1 $2",["800","8001","80011","800111","8001111"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3",["845","8454","84546","845464"],"0$1"],["(\\d{3})(\\d{6})","$1 $2",["800"],"0$1"],["(\\d{5})(\\d{4,5})","$1 $2",["1(?:38|5[23]|69|76|94)","1(?:(?:38|69)7|5(?:24|39)|768|946)","1(?:3873|5(?:242|39[4-6])|(?:697|768)[347]|9467)"],"0$1"],["(\\d{4})(\\d{5,6})","$1 $2",["1(?:[2-69][02-9]|[78])"],"0$1"],["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["[25]|7(?:0|6[02-9])","[25]|7(?:0|6(?:[03-9]|2[356]))"],"0$1"],["(\\d{4})(\\d{6})","$1 $2",["7"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[1389]"],"0$1"]],"0",0,0,0,0,0,[0,["7(?:457[0-57-9]|700[01]|911[028])\\d{5}|7(?:[1-3]\\d\\d|4(?:[0-46-9]\\d|5[0-689])|5(?:0[0-8]|[13-9]\\d|2[0-35-9])|7(?:0[1-9]|[1-7]\\d|8[02-9]|9[0-689])|8(?:[014-9]\\d|[23][0-8])|9(?:[024-9]\\d|1[02-9]|3[0-689]))\\d{6}",[10]]],0," x"],GD:["1","011","(?:473|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2-9]\\d{6})$|1","473$1",0,"473",[0,["473(?:4(?:0[2-79]|1[04-9]|2[0-5]|49|5[68])|5(?:2[01]|3[3-8])|901)\\d{4}"]]],GE:["995","00","(?:[3-57]\\d\\d|800)\\d{6}",[9],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["70"],"0$1"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["32"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[57]"]],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[348]"],"0$1"]],"0",0,0,0,0,0,[0,["5(?:(?:(?:0555|1(?:[17]77|555))[5-9]|757(?:7[7-9]|8[01]))\\d|22252[0-4])\\d\\d|(?:5(?:0(?:0(?:0\\d|11|22|3[0-6]|44|5[05]|77|88|9[09])|111|22[02]|77\\d)|1(?:1(?:[03][01]|[124]\\d)|4\\d\\d)|[23]555|4(?:4\\d\\d|555)|5(?:[0157-9]\\d\\d|200)|6[89]\\d\\d|7(?:[
10147-9]\\d\\d|5(?:00|[57]5))|8(?:0(?:[018]\\d|2[0-4])|5(?:55|8[89])|8(?:55|88))|9(?:090|[1-35-9]\\d\\d))|790\\d\\d)\\d{4}|5(?:0(?:0[17]0|505)|1(?:0[01]0|1(?:07|33|51))|2(?:0[02]0|2[25]2)|3(?:0[03]0|3[35]3)|(?:40[04]|900)0|5222)[0-4]\\d{3}"]]],GF:["594","00","[56]94\\d{6}|(?:80|9\\d)\\d{7}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[56]|9[47]"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[89]"],"0$1"]],"0",0,0,0,0,0,[0,["694(?:[0-249]\\d|3[0-8])\\d{4}"]]],GG:["44","00","(?:1481|[357-9]\\d{3})\\d{6}|8\\d{6}(?:\\d{2})?",[7,9,10],0,"0",0,"([25-9]\\d{5})$|0","1481$1",0,0,[0,["7(?:(?:781|839)\\d|911[17])\\d{5}",[10]]]],GH:["233","00","(?:[235]\\d{3}|800)\\d{5}",[8,9],[["(\\d{3})(\\d{5})","$1 $2",["8"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[235]"],"0$1"]],"0",0,0,0,0,0,[0,["(?:2(?:[0346-9]\\d|5[67])|5(?:[03-7]\\d|9[1-9]))\\d{6}",[9]]]],GI:["350","00","(?:[25]\\d|60)\\d{6}",[8],[["(\\d{3})(\\d{5})","$1 $2",["2"]]],0,0,0,0,0,0,[0,["5251[0-4]\\d{3}|(?:5(?:[146-8]\\d\\d|250)|60(?:1[01]|6\\d))\\d{4}"]]],GL:["299","00","(?:19|[2-689]\\d|70)\\d{4}",[6],[["(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3",["19|[2-9]"]]],0,0,0,0,0,0,[0,["[245]\\d{5}"]]],GM:["220","00","[2-9]\\d{6}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[2-9]"]]],0,0,0,0,0,0,[0,["(?:[23679]\\d|4[015]|5[0-489])\\d{5}"]]],GN:["224","00","722\\d{6}|(?:3|6\\d)\\d{7}",[8,9],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["3"]],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[67]"]]],0,0,0,0,0,0,[0,["6[0-356]\\d{7}",[9]]]],GP:["590","00","590\\d{6}|(?:69|80|9\\d)\\d{7}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[569]"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"],"0$1"]],"0",0,0,0,0,0,[0,["69(?:0\\d\\d|1(?:2[2-9]|3[0-5])|4(?:0[89]|1[2-6]|9\\d)|6(?:1[016-9]|5[0-4]|[67]\\d))\\d{4}"]]],GQ:["240","00","222\\d{6}|(?:3\\d|55|[89]0)\\d{7}",[9],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[235]"]],["(\\d{3})(\\d{6})","$1 $2",["[89]"]]],0,0,0,0,0,0,[0,["(?:222|55\\d)\\d{6}"]]],GR:["30","00","5005000\\d{3}|8\\d{9,11}|(?:[269]\\d|70)\\d{8}",[10,11,12],[["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["21|7"]],["(\\d{4})(\\d{6})","$1 $2",["2(?:2|3[2-57-9]|4[2-469]|5[2-59]|6[2-9]|7[2-69]|8[2-49])|5"]],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[2689]"]],["(\\d{3})(\\d{3,4})(\\d{5})","$1 $2 $3",["8"]]],0,0,0,0,0,0,[0,["68[57-9]\\d{7}|(?:69|94)\\d{8}",[10]]]],GT:["502","00","80\\d{6}|(?:1\\d{3}|[2-7])\\d{7}",[8,11],[["(\\d{4})(\\d{4})","$1 $2",["[2-8]"]],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["1"]]],0,0,0,0,0,0,[0,["(?:[3-5]\\d\\d|80[0-4])\\d{5}
1",[8]]]],GU:["1","011","(?:[58]\\d\\d|671|900)\\d{7}",[10],0,"1",0,"([2-9]\\d{6})$|1","671$1",0,"671",[0,["671(?:2\\d\\d|3(?:00|3[39]|4[349]|55|6[26])|4(?:00|56|7[1-9]|8[02-46-9])|5(?:55|6[2-5]|88)|6(?:3[2-578]|4[24-9]|5[34]|78|8[235-9])|7(?:[0479]7|2[0167]|3[45]|8[7-9])|8(?:[2-57-9]8|6[48])|9(?:2[29]|6[79]|7[1279]|8[7-9]|9[78]))\\d{4}"]]],GW:["245","00","[49]\\d{8}|4\\d{6}",[7,9],[["(\\d{3})(\\d{4})","$1 $2",["40"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[49]"]]],0,0,0,0,0,0,[0,["9(?:5\\d|6[569]|77)\\d{6}",[9]]]],GY:["592","001","(?:[2-8]\\d{3}|9008)\\d{3}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[2-9]"]]],0,0,0,0,0,0,[0,["510\\d{4}|(?:6\\d|7[0-5])\\d{5}"]]],HK:["852","00(?:30|5[09]|[126-9]?)","8[0-46-9]\\d{6,7}|9\\d{4,7}|(?:[2-7]|9\\d{3})\\d{7}",[5,6,7,8,9,11],[["(\\d{3})(\\d{2,5})","$1 $2",["900","9003"]],["(\\d{4})(\\d{4})","$1 $2",["[2-7]|8[1-4]|9(?:0[1-9]|[1-8])"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["8"]],["(\\d{3})(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3 $4",["9"]]],0,0,0,0,0,0,[0,["(?:4(?:44[0-25-9]|6(?:1[0-7]|4[0-57-9]|6[0-4]))|5(?:73[0-6]|95[0-8])|6(?:26[013-8]|66[0-3])|70(?:7[1-8]|8[0-4])|848[0-35-9]|9(?:29[013-9]|39[01]|59[0-4]|899))\\d{4}|(?:4(?:4[0-35-9]|6[02357-9]|70)|5(?:[1-59][0-46-9]|6[0-4689]|7[0-246-9])|6(?:0[1-9]|[13-59]\\d|[268][0-57-9]|7[0-79])|70[1-39]|84[0-39]|9(?:0[1-9]|1[02-9]|[2358][0-8]|[467]\\d))\\d{5}",[8]]],"00"],HN:["504","00","8\\d{10}|[237-9]\\d{7}",[8,11],[["(\\d{4})(\\d{4})","$1-$2",["[237-9]"]]],0,0,0,0,0,0,[0,["[37-9]\\d{7}",[8]]]],HR:["385","00","(?:[24-69]\\d|3[0-79])\\d{7}|80\\d{5,7}|[1-79]\\d{7}|6\\d{5,6}",[6,7,8,9],[["(\\d{2})(\\d{2})(\\d{2,3})","$1 $2 $3",["6[01]"],"0$1"],["(\\d{3})(\\d{2})(\\d{2,3})","$1 $2 $3",["8"],"0$1"],["(\\d)(\\d{4})(\\d{3})","$1 $2 $3",["1"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["6|7[245]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["9"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[2-57]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["8"],"0$1"]],"0",0,0,0,0,0,[0,["9(?:(?:0[1-9]|[12589]\\d)\\d\\d|7(?:[0679]\\d\\d|5(?:[01]\\d|44|55|77|9[5-7])))\\d{4}|98\\d{6}",[8,9]]]],HT:["509","00","(?:[2-489]\\d|55)\\d{6}",[8],[["(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3",["[2-589]"]]],0,0,0,0,0,0,[0,["(?:[34]\\d|55)\\d{6}"]]],HU:["36","00","[235-7]\\d{8}|[1-9]\\d{7}",[8,9],[["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["1"],"(06 $1)"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[27][2-9]|3[2-7]|4[24-9]|5[2-79]|6|8[2-57-9]|9[2-69]"],"(06 $1)"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[2-9]"],"06 $1"]],"06",0,0,0,0,0,[0,["(?:[257]0|3[01])\\d{7}",[9]]]],ID:["62","00[89]","00[1-9]\\d{9,14}|(?:[1-36]|8\\d{5})\\d{6}|00\\d{9}|[1-9]\\d{8,10}|[2-9]\\d{7}",[7,8,9,10,11,12,13,14,15,16,17],[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["15"]],["(\\d{2})(\\d{5,9})","$1 $2",["2[124]|[36]1"],"(0$1)"],["(\\d{3})(\\d{5,7})","$1 $2",["800"],"0$1"],["(\\d{3})(\\d{5,8})","$1 $2",["[2-79]"],"(0$1)"],["(\\d{3})(\\d{3,4})(\\d{3})","$1-$2-$3",["8[1-35-9]"],"0$1"],["(\\d{3})(\\d{6,8})","$1 $2",["1"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["804"],"0$1"],["(\\d{3})(\\d)(\\d{3})(\\d{3})","$1 $2 $3 $4",["80"],"0$1"],["(\\d{3})(\\d{4})(\\d{4,5})","$1-$2-$3",["8"],"0$1"]],"0",0,0,0,0,0,[0,["8[1-35-9]\\d{7,10}",[9,10,11,12]]]],IE:["353","00","(?:1\\d|[2569])\\d{6,8}|4\\d{6,9}|7\\d{8}|8\\d{8,9}",[7,8,9,10],[["(\\d{2})(\\d{5})","$1 $2",["2[24-9]|47|58|6[237-9]|9[35-9]"],"(0$1)"],["(\\d{3})(\\d{5})","$1 $2",["[45]0"],"(0$1)"],["(\\d)(\\d{3,4})(\\d{4})","$1 $2 $3",["1"],"(0$1)"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[2569]|4[1-69]|7[14]"],"(0$1)"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["70"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["81"],"(0$1)"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[78]"],"0$1"],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1"]],["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["4"],"(0$1)"],["(\\d{2})(\\d)(\\d{3})(\\d{4})","$1 $2 $3 $4",["8"],"0$1"]],"0",0,0,0,0,0,[0,["8(?:22|[35-9]\\d)\\d{6}",[9]]]],IL:["972","0(?:0|1[2-9])","1\\d{6}(?:\\d{3,5})?|[57]\\d{8}|[1-489]\\d{7}",[7,8,9,10,11,12],[["(\\d{4})(\\d{3})","$1-$2",["125"]],["(\\d{4})(\\d{2})(\\d{2})","$1-$2-$3",["121"]],["(\\d)(\\d{3})(\\d{4})","$1-$2-$3",["[2-489]"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1-$2-$3",["[57]"],"0$1"],["(\\d{4})(\\d{3})(\\d{3})","$1-$2-$3",["12"]],["(\\d{4})(\\d{6})","$1-$2",["159"]],["(\\d)(\\d{3})(\\d{3})(\\d{3})","$1-$2-$3-$4",["1[7-9]"]],["(\\d{3})(\\d{1,2})(\\d{3})(\\d{4}
1)","$1-$2 $3-$4",["15"]]],"0",0,0,0,0,0,[0,["55(?:410
vendor: 13,669 bytes, line 1
1|57[0-289])\\d{4}|5(?:(?:[0-2][02-9]|[36]\\d|[49][2-9]|8[3-7])\\d|5(?:01|2\\d|3[0-3]|4[34]|5[0-25689]|6[6-8]|7[0-267]|8[7-9]|9[1-9]))\\d{5}",[9]]]],IM:["44","00","1624\\d{6}|(?:[3578]\\d|90)\\d{8}",[10],0,"0",0,"([25-8]\\d{5})$|0","1624$1",0,"74576|(?:16|7[56])24",[0,["76245[06]\\d{4}|7(?:4576|[59]24\\d|624[0-4689])\\d{5}"]]],IN:["91","00","(?:000800|[2-9]\\d\\d)\\d{7}|1\\d{7,12}",[8,9,10,11,12,13],[["(\\d{8})","$1",["5(?:0|2[23]|3[03]|[67]1|88)","5(?:0|2(?:21|3)|3(?:0|3[23])|616|717|888)","5(?:0|2(?:21|3)|3(?:0|3[23])|616|717|8888)"],0,1],["(\\d{4})(\\d{4,5})","$1 $2",["180","1800"],0,1],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["140"],0,1],["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["11|2[02]|33|4[04]|79[1-7]|80[2-46]","11|2[02]|33|4[04]|79(?:[1-6]|7[19])|80(?:[2-4]|6[0-589])","11|2[02]|33|4[04]|79(?:[124-6]|3(?:[02-9]|1[0-24-9])|7(?:1|9[1-6]))|80(?:[2-4]|6[0-589])"],"0$1",1],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["1(?:2[0-249]|3[0-25]|4[145]|[68]|7[1257])|2(?:1[257]|3[013]|4[01]|5[0137]|6[0158]|78|8[1568])|3(?:26|4[1-3]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|5[12]|6[0-26-9]|7[0-24-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|5[12]|[78]1)|6(?:12|[2-4]1|5[17]|6[13]|80)|7(?:12|3[134]|4[47]|61|88)|8(?:16|2[014]|3[126]|6[136]|7[078]|8[34]|91)|(?:43|59|75)[15]|(?:1[59]|29|67|72)[14]","1(?:2[0-24]|3[0-25]|4[145]|[59][14]|6[1-9]|7[1257]|8[1-57-9])|2(?:1[257]|3[013]|4[01]|5[0137]|6[058]|78|8[1568]|9[14])|3(?:26|4[1-3]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|3[15]|5[12]|6[0-26-9]|7[0-24-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|[578]1|9[15])|674|7(?:(?:2[14]|3[34]|5[15])[2-6]|61[346]|88[0-8])|8(?:70[2-6]|84[235-7]|91[3-7])|(?:1(?:29|60|8[06])|261|552|6(?:12|[2-47]1|5[17]|6[13]|80)|7(?:12|31|4[47])|8(?:16|2[014]|3[126]|6[136]|7[78]|83))[2-7]","1(?:2[0-24]|3[0-25]|4[145]|[59][14]|6[1-9]|7[1257]|8[1-57-9])|2(?:1[257]|3[013]|4[01]|5[0137]|6[058]|78|8[1568]|9[14])|3(?:26|4[1-3]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|3[15]|5[12]|6[0-26-9]|7[0-24-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|[578]1|9[15])|6(?:12(?:[2-6]|7[0-8])|74[2-7])|7(?:(?:2[14]|5[15])[2-6]|3171|61[346]|88(?:[2-7]|82))|8(?:70[2-6]|84(?:[2356]|7[19])|91(?:[3-6]|7[19]))|73[134][2-6]|(?:74[47]|8(?:16|2[014]|3[126]|6[136]|7[78]|83))(?:[2-6]|7[19])|(?:1(?:29|60|8[06])|261|552|6(?:[2-4]1|5[17]|6[13]|7(?:1|4[0189])|80)|7(?:12|88[01]))[2-7]"],"0$1",1],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1(?:[2-479]|5[0235-9])|[2-5]|6(?:1[1358]|2[2457-9]|3[2-5]|4[235-7]|5[2-689]|6[24578]|7[235689]|8[1-6])|7(?:1[013-9]|28|3[129]|4[1-35689]|5[29]|6[02-5]|70)|807","1(?:[2-479]|5[0235-9])|[2-5]|6(?:1[1358]|2(?:[2457]|84|95)|3(?:[2-4]|55)|4[235-7]|5[2-689]|6[24578]|7[235689]|8[1-6])|7(?:1(?:[013-8]|9[6-9])|28[6-8]|3(?:17|2[0-49]|9[2-57])|4(?:1[2-4]|[29][0-7]|3[0-8]|[56]|8[0-24-7])|5(?:2[1-3]|9[0-6])|6(?:0[5689]|2[5-9]|3[02-8]|4|5[0-367])|70[13-7])|807[19]","1(?:[2-479]|5(?:[0236-9]|5[013-9]))|[2-5]|6(?:2(?:84|95)|355|83)|73179|807(?:1|9[1-3])|(?:1552|6(?:1[1358]|2[2457]|3[2-4]|4[235-7]|5[2-689]|6[24578]|7[235689]|8[124-6])\\d|7(?:1(?:[013-8]\\d|9[6-9])|28[6-8]|3(?:2[0-49]|9[2-57])|4(?:1[2-4]|[29][0-7]|3[0-8]|[56]\\d|8[0-24-7])|5(?:2[1-3]|9[0-6])|6(?:0[5689]|2[5-9]|3[02-8]|4\\d|5[0-367])|70[13-7]))[2-7]"],"0$1",1],["(\\d{5})(\\d{5})","$1 $2",["[6-9]"],"0$1",1],["(\\d{4})(\\d{2,4})(\\d{4})","$1 $2 $3",["1(?:6|8[06])","1(?:6|8[06]0)"],0,1],["(\\d{4})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["18"],0,1]],"0",0,0,0,0,0,[0,["(?:61279|7(?:887[02-9]|9(?:313|79[07-9]))|8(?:079[04-9]|(?:84|91)7[02-8]))\\d{5}|(?:6(?:12|[2-47]1|5[17]|6[13]|80)[0189]|7(?:1(?:2[0189]|9[0-5])|2(?:[14][017-9]|8[0-59])|3(?:2[5-8]|[34][017-9]|9[016-9])|4(?:1[015-9]|[29][89]|39|8[389])|5(?:[15][017-9]|2[04-9]|9[7-9])|6(?:0[0-47]|1[0-257-9]|2[0-4]|3[19]|5[4589])|70[0289]|88[089]|97[02-8])|8(?:0(?:6[67]|7[02-8])|70[017-9]|84[01489]|91[0-289]))\\d{6}|(?:7(?:31|4[47])|8(?:16|2[014]|3[126]|6[136]|7[78]|83))(?:[0189]\\d|7[02-8])\\d{5}|(?:6(?:[09]\\d|1[04679]|2[03689]|3[05-9]|4[0489]|50|6[069]|7[07]|8[7-9])|7(?:0\\d|2[0235-79]|3[05-8]|40|5[0346-8]|6[6-9]|7[1-9]|8[0-79]|9[089])|8(?:0[01589]|1[0-57-9]|2[235-9]|3[03-57-9]|[45]\\d|6[02457-9]|7[1-69]|8[0-25-9]|9[02-9])|9\\d\\d)\\d{7}|(?:6(?:(?:1[1358]|2[2457]|3[2-4]|4[235-7]|5[2-689]|6[24578]|8[124-6])\\d|7(?:[235689]\\d|4[0189]))|7(?:1(?:[013-8]\\d|9[6-9])|28[6-8]|3(?:2[0-49]|9[2-5])|4(?:1[2-4]|[29][0-7]|3[0-8]|[56]\\d|8[0-24-7])|5(?:2[1-3]|9[0-6])|6(?:0[5689]|2[5-9]|3[02-8]|4\\d|5[0-367])|70[13-7]|881))[0189]\\d{5}",[10]]]],IO:["246","00","3\\d{6}",[7],[["(\\d{3})(\\d{4})","$1 $2",["3"]]],0,0,0,0,0,0,[0,["38\\d{5}"]]],IQ:["964","00","(?:1|7\\d\\d)\\d{7}|[2-6]\\d{7,8}",[8,9,10],[["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["1"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[2-6]"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["7"],"0$1"]],"0",0,0,0,0,0,[0,["7[3-9]\\d{8}",[10]]]],IR:["98","00","[1-9]\\d{9}|(?:[1-8]\\d\\d|9)\\d{3,4}",[4,5,6,7,10],[["(\\d{4,5})","$1",["96"],"0$1"],["(\\d{2})(\\d{4,5})","$1 $2",["(?:1[137]|2[13-68]|3[1458]|4[145]|5[1468]|6[16]|7[1467]|8[13467])[12689]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["9"],"0$1"],["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["[1-8]"],"0$1"]],"0",0,0,0,0,0,[0,["9(?:(?:0(?:[0-35]\\d|4[4-6])|(?:[13]\\d|2[0-3])\\d)\\d|9(?:[0-46]\\d\\d|5[15]0|8(?:[12]\\d|88)|9(?:0[0-3]|[19]\\d|21|69|77|8[7-9])))\\d{5}",[10]]]],IS:["354","00|1(?:0(?:01|[12]0)|100)","(?:38\\d|[4-9])\\d{6}",[7,9],[["(\\d{3})(\\d{4})","$1 $2",["[4-9]"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["3"]]],0,0,0,0,0,0,[0,["(?:38[589]\\d\\d|6(?:1[1-8]|2[0-6]|3[026-9]|4[014679]|5[0159]|6[0-69]|70|8[06-8]|9\\d)|7(?:5[057]|[6-9]\\d)|8(?:2[0-59]|[3-69]\\d|8[238]))\\d{4}"]],"00"],IT:["39","00","0\\d{5,10}|1\\d{8,10}|3(?:[0-8]\\d{7,10}|9\\d{7,8})|(?:43|55|70)\\d{8}|8\\d{5}(?:\\d{2,4})?",[6,7,8,9,10,11,12],[["(\\d{2})(\\d{4,6})","$1 $2",["0[26]"]],["(\\d{3})(\\d{3,6})","$1 $2",["0[13-57-9][0159]|8(?:03|4[17]|9[2-5])","0[13-57-9][0159]|8(?:03|4[17]|9(?:2|3[04]|[45][0-4]))"]],["(\\d{4})(\\d{2,6})","$1 $2",["0(?:[13-579][2-46-8]|8[236-8])"]],["(\\d{4})(\\d{4})","$1 $2",["894"]],["(\\d{2})(\\d{3,4})(\\d{4})","$1 $2 $3",["0[26]|5"]],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["1(?:44|[679])|[378]|43"]],["(\\d{3})(\\d{3,4})(\\d{4})","$1 $2 $3",["0[13-57-9][0159]|14"]],["(\\d{2})(\\d{4})(\\d{5})","$1 $2 $3",["0[26]"]],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["0"]],["(\\d{3})(\\d{4})(\\d{4,5})","$1 $2 $3",["3"]]],0,0,0,0,0,0,[0,["3[2-9]\\d{7,8}|(?:31|43)\\d{8}",[9,10]]]],JE:["44","00","1534\\d{6}|(?:[3578]\\d|90)\\d{8}",[10],0,"0",0,"([0-24-8]\\d{5})$|0","1534$1",0,0,[0,["7(?:(?:(?:50|82)9|937)\\d|7(?:00[378]|97\\d))\\d{5}"]]],JM:["1","011","(?:[58]\\d\\d|658|900)\\d{7}",[10],0,"1",0,0,0,0,"658|876",[0,["(?:658295|876(?:2(?:0[1-9]|[13-9]\\d|2[013-9])|[348]\\d\\d|5(?:0[1-9]|[1-9]\\d)|6(?:4[89]|6[67])|7(?:0[07]|7\\d|8[1-47-9]|9[0-36-9])|9(?:[01]9|9[0579])))\\d{4}"]]],JO:["962","00","(?:(?:[2689]|7\\d)\\d|32|53)\\d{6}",[8,9],[["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["[2356]|87"],"(0$1)"],["(\\d{3})(\\d{5,6})","$1 $2",["[89]"],"0$1"],["(\\d{2})(\\d{7})","$1 $2",["70"],"0$1"],["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["7"],"0$1"]],"0",0,0,0,0,0,[0,["7(?:[78][0-25-9]|9\\d)\\d{6}",[9]]]],JP:["81","010","00[1-9]\\d{6,14}|[257-9]\\d{9}|(?:00|[1-9]\\d\\d)\\d{6}",[8,9,10,11,12,13,14,15,16,17],[["(\\d{3})(\\d{3})(\\d{3})","$1-$2-$3",["(?:12|57|99)0"],"0$1"],["(\\d{4})(\\d)(\\d{4})","$1-$2-$3",["1(?:26|3[79]|4[56]|5[4-68]|6[3-5])|499|5(?:76|97)|746|8(?:3[89]|47|51)|9(?:80|9[16])","1(?:267|3(?:7[247]|9[278])|466|5(?:47|58|64)|6(?:3[245]|48|5[4-68]))|499[2468]|5(?:76|97)9|7468|8(?:3(?:8[7-9]|96)|477|51[2-9])|9(?:802|9(?:1[23]|69))|1(?:45|58)[67]","1(?:267|3(?:7[247]|9[278])|466|5(?:47|58|64)|6(?:3[245]|48|5[4-68]))|499[2468]|5(?:769|979[2-69])|7468|8(?:3(?:8[7-9]|96[2457-9])|477|51[2-9])|9(?:802|9(?:1[23]|69))|1(?:45|58)[67]"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1-$2-$3",["60"],"0$1"],["(\\d)(\\d{4})(\\d{4})","$1-$2-$3",["[36]|4(?:2[09]|7[01])","[36]|4(?:2(?:0|9[02-69])|7(?:0[019]|1))"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1-$2-$3",["1(?:1|5[45]|77|88|9[69])|2(?:2[1-37]|3[0-269]|4[59]|5|6[24]|7[1-358]|8[1369]|9[0-38])|4(?:[28][1-9]|3[0-57]|[45]|6[248]|7[2-579]|9[29])|5(?:2|3[0459]|4[0-369]|5[29]|8[02389]|9[0-389])|7(?:2[02-46-9]|34|[58]|6[0249]|7[57]|9[2-6])|8(?:2[124589]|3[26-9]|49|51|6|7[0-468]|8[68]|9[019])|9(?:[23][1-9]|4[15]|5[138]|6[1-3]|7[156]|8[189]|9[1-489])","1(?:1|5(?:4[018]|5[017])|77|88|9[69])|2(?:2(?:[127]|3[014-9])|3[0-269]|4[59]|5(?:[1-3]|5[0-69]|9[19])|62|7(?:[1-35]|8[0189])|8(?:[16]|3[0134]|9[0-5])|9(?:[028]|17))|4(?:2(?:[13-79]|8[014-6])|3[0-57]|[45]|6[248]|7[2-47]|8[1-9]|9[29])|5(?:2|3(?:[045]|9[0-8])|4[0-369]|5[29]|8[02389]|9[0-3])|7(?:2[02-46-9]|34|[58]|6[0249]|7[57]|9(?:[23]|4[0-59]|5[01569]|6[0167]))|8(?:2(?:[1258]|4[0-39]|9[0-2469])|3(?:[29]|60)|49|51|6(?:[0-24]|36|5[0-3589]|7[23]|9[01459])|7[0-468]|8[68])|9(?:[23][1-9]|4[15]|5[138]|6[1-3]|7[156]|8[189]|9(?:[1289]|3[34]|4[0178]))|(?:264|837)[016-9]|2(?:57|93)[015-9]|(?:25[0468]|422|838)[01]|(?:47[59]|59[89]|8(?:6[68]|9))[019]","1(?:1|5(?:4[018]|5[017])|77|88|9[69])|2(?:2[127]|3[0-269]|4[59]|5(?:[1-3]|5[0-69]|9(?:17|99))|6(?:2|4[016-9])|7(?:[1-35]|8[0189])|8(?:[16]|3[0134]|9[0-5])|9(?:[028]|17))|4(?:2(?:[13-79]|8[014-6])|3[0-57]|[45]|6[248]|7[2-47]|9[29])|5(?:2|3(?:[045]|9(?:[0-58]|6[4-9]|7[0-35689]))|4[0-369]|5[29]|8[02389]|9[0-3])|7(?:2[02-46-9]|34|[58]|6[0249]|7[57]|9(?:[23]|4[0-59]|5[01569]|6[0167]))|8(?:2(?:[1258]|4[0-39]|9[0169])|3(?:[29]|60|7(?:[017-9]|6[6-8]))|49|51|6(?:[0-24]|36[2-57-9]|5(?:[0-389]|5[23])|6(?:[01]|9[178])|7(?:2[2-468]|3[78])|9[0145])|7[0-468]|8[68])|9(?:4[15]|5[138]|7[156]|8[189]|9(?:[1289]|3(?:31|4[357])|4[0178]))|(?:8294|96)[1-3]|2(?:57|93)[015-9]|(?:223|8699)[014-9]|(?:25[0468]|422|838)[01]|(?:48|8292|9[23])[1-9]|(?:47[59]|59[89]|8(?:68|9))[019]"],"0$1"],["(\\d{3})(\\d{2})(\\d{4})","$1-$2-$3",["[14]|[289][2-9]|5[3-9]|7[2-4679]"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1-$2-$3",["800"],"0$1"],["(\\d{2})(\\d{4})(\\d{4})","$1-$2-$3",["[257-9]"],"0$1"]],"0",0,"(000[259]\\d{6})$|(?:(?:003768)0?)|0","$1",0,0,[0,["[7-9]0[1-9]\\d{7}",[10]]]],KE:["254","000","(?:[17]\\d\\d|900)\\d{6}|(?:2|80)0\\d{6,7}|[4-6]\\d{6,8}",[7,8,9,10],[["(\\d{2})(\\d{5,7})","$1 $2",["[24-6]"],"0$1"],["(\\d{3})(\\d{6})","$1 $2",["[17]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["[89]"],"0$1"]],"0",0,0,0,0,0,[0,["(?:1(?:0[0-8]|1[0-7]|2[014]|30)|7\\d\\d)\\d{6}",[9]]]],KG:["996","00","8\\d{9}|[235-9]\\d{8}",[9,10],[["(\\d{4})(\\d{5})","$1 $2",["3(?:1[346]|[24-79])"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[235-79]|88"],"0$1"],["(\\d{3})(\\d{3})(\\d)(\\d{2,3})","$1 $2 $3 $4",["8"],"0$1"]],"0",0,0,0,0,0,[0,["312(?:58\\d|973)\\d{3}|(?:2(?:0[0-35]|2\\d)|5[0-24-7]\\d|600|7(?:[07]\\d|55)|88[08]|9(?:12|9[05-9]))\\d{6}",[9]]]],KH:["855","00[14-9]","1\\d{9}|[1-9]\\d{7,8}",[8,9,10],[["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[1-9]"],"0$1"],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1"]]],"0",0,0,0,0,0,[0,["(?:(?:1[28]|3[18]|9[67])\\d|6[016-9]|7(?:[07-9]|[16]\\d)|8(?:[013-79]|8\\d))\\d{6}|(?:1\\d|9[0-57-9])\\d{6}|(?:2[3-6]|3[2-6]|4[2-4]|[5-7][2-5])48\\d{5}",[8,9]]]],KI:["686","00","(?:[37]\\d|6[0-79])\\d{6}|(?:[2-48]\\d|50)\\d{3}",[5,8],0,"0",0,0,0,0,0,[0,["(?:6200[01]|7(?:310[1-9]|5(?:02[03-9]|12[0-47-9]|22[0-7]|[34](?:0[1-9]|8[02-9])|50[1-9])))\\d{3}|(?:63\\d\\d|7(?:(?:[0146-9]\\d|2[0-689])\\d|3(?:[02-9]\\d|1[1-9])|5(?:[0-2][013-9]|[34][1-79]|5[1-9]|[6-9]\\d)))\\d{4}",[8]]]],KM:["269","00","[3478]\\d{6}",[7],[["(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3",["[3478]"]]],0,0,0,0,0,0,[0,["[34]\\d{6}"]]],KN:["1","011","(?:[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2-7]\\d{6})$|1","869$1",0,"869",[0,["869(?:48[89]|55[6-8]|66\\d|76[02-7])\\d{4}"]]],KP:["850","00|99","85\\d{6}|(?:19\\d|[2-7])\\d{7}",[8,10],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["8"],"0$1"],["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["[2-7]"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["1"],"0$1"]],"0",0,0,0,0,0,[0,["19[1-3]\\d{7}",[10]]]],KR:["82","00(?:[125689]|3(?:[46]5|91)|7(?:00|27|3|55|6[126]))","00[1-9]\\d{8,11}|(?:[12]|5\\d{3})\\d{7}|[13-6]\\d{9}|(?:[1-6]\\d|80)\\d{7}|[3-6]\\d{4,5}|(?:00|7)0\\d{8}",[5,6,8,9,10,11,12,13,14],[["(\\d{2})(\\d{3,4})","$1-$2",["(?:3[1-3]|[46][1-4]|5[1-5])1"],"0$1"],["(\\d{4})(\\d{4})","$1-$2",["1"]],["(\\d)(\\d{3,4})(\\d{4})","$1-$2-$3",["2"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1-$2-$3",["[36]0|8"],"0$1"],["(\\d{2})(\\d{3,4})(\\d{4})","$1-$2-$3",["[1346]|5[1-5]"],"0$1"],["(\\d{2})(\\d{4})(\\d{4})","$1-$2-$3",["[57]"],"0$1"],["(\\d{2})(\\d{5})(\\d{4})","$1-$2-$3",["5"],"0$1"]],"0",0,"0(8(?:[1-46-8]|5\\d\\d))?",0,0,0,[0,["1(?:05(?:[0-8]\\d|9[0-6])|22[13]\\d)\\d{4,5}|1(?:0[0-46-9]|[16-9]\\d|2[013-9])\\d{6,7}",[9,10]]]],KW:["965","00","18\\d{5}|(?:[2569]\\d|41)\\d{6}",[7,8],[["(\\d{4})(\\d{3,4})","$1 $2",["[169]|2(?:[235]|4[1-35-9])|52"]],["(\\d{3})(\\d{5})","$1 $2",["[245]"]]],0,0,0,0,0,0,[0,["(?:41\\d\\d|5(?:(?:[05]\\d|1[0-7]|6[56])\\d|2(?:22|5[25])|7(?:55|77)|88[58])|6(?:(?:0[034679]|5[015-9]|6\\d)\\d|1(?:00|11|6[16])|2[26]2|3[36]3|4[46]4|7(?:0[013-9]|[67]\\d)|8[68]8|9(?:[069]\\d|3[039]))|9(?:(?:[04679]\\d|8[057-9])\\d|1(?:1[01]|99)|2(?:00|2\\d)|3(?:00|3[03])|5(?:00|5\\d)))\\d{4}",[8]]]],KY:["1","011","(?:345|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2-9]\\d{6})$|1","345$1",0,"345",[0,["345(?:32[1-9]|42[0-4]|5(?:1[67]|2[5-79]|4[6-9]|50|76)|649|82[56]|9(?:1[679]|2[2-9]|3[06-9]|90))\\d{4}"]]],KZ:["7","810","(?:33622|8\\d{8})\\d{5}|[78]\\d{9}",[10,14],0,"8",0,0,0,0,"33|7",[0,["7(?:0[0-25-8]|47|6[0-4]|7[15-8]|85)\\d{7}",[10]]],"8~10"],LA:["856","00","[23]\\d{9}|3\\d{8}|(?:[235-8]\\d|41)\\d{6}",[8,9,10],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["2[13]|3[14]|[4-8]"],"0$1"],["(\\d{2})(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3 $4",["3
10[0135-9]"],"0$1"],["(\\d{2})(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3 $4",["[23]"],"0$1"]],"0",0,0,0,0,0,[0,["208[78]\\d{6}|(?:20[23579]|30[24])\\d{7}",[10]]]],LB:["961","00","[27-9]\\d{7}|[13-9]\\d{6}",[7,8],[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["[13-69]|7(?:[2-57]|62|8[0-7]|9[04-9])|8[02-9]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[27-9]"]]],"0",0,0,0,0,0,[0,["793(?:[01]\\d|2[0-4])\\d{3}|(?:(?:3|81)\\d|7(?:[01]\\d|6[013-9]|8[89]|9[12]))\\d{5}"]]],LC:["1","011","(?:[58]\\d\\d|758|900)\\d{7}",[10],0,"1",0,"([2-8]\\d{6})$|1","758$1",0,"758",[0,["758(?:28[4-7]|384|4(?:6[01]|8[4-9])|5(?:1[89]|20|84)|7(?:1[2-9]|2\\d|3[0-3])|812)\\d{4}"]]],LI:["423","00","[68]\\d{8}|(?:[2378]\\d|90)\\d{5}",[7,9],[["(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3",["[2379]|8(?:0[09]|7)","[2379]|8(?:0(?:02|9)|7)"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["8"]],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["69"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["6"]]],"0",0,"(1001)|0",0,0,0,[0,["(?:6(?:(?:4[5-9]|5[0-469])\\d|6(?:[024-6]\\d|[17]0|3[7-9]))\\d|7(?:[37-9]\\d|42|56))\\d{4}"]]],LK:["94","00","[1-9]\\d{8}",[9],[["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["7"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[1-689]"],"0$1"]],"0",0,0,0,0,0,[0,["7(?:[0-25-8]\\d|4[0-4])\\d{6}"]]],LR:["231","00","(?:[245]\\d|33|77|88)\\d{7}|(?:2\\d|[4-6])\\d{6}",[7,8,9],[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["4[67]|[56]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["2"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[2-578]"],"0$1"]],"0",0,0,0,0,0,[0,["(?:(?:(?:22|33)0|555|(?:77|88)\\d)\\d|4(?:240|[67]))\\d{5}|[56]\\d{6}",[7,9]]]],LS:["266","00","(?:[256]\\d\\d|800)\\d{5}",[8],[["(\\d{4})(\\d{4})","$1 $2",["[2568]"]]],0,0,0,0,0,0,[0,["[56]\\d{7}"]]],LT:["370","00","(?:[3469]\\d|52|[78]0)\\d{6}",[8],[["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["52[0-7]"],"(0-$1)",1],["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["[7-9]"],"0 $1",1],["(\\d{2})(\\d{6})","$1 $2",["37|4(?:[15]|6[1-8])"],"(0-$1)",1],["(\\d{3})(\\d{5})","$1 $2",["[3-6]"],"(0-$1)",1]],"0",0,"[08]",0,0,0,[0,["6\\d{7}"]]],LU:["352","00","35[013-9]\\d{4,8}|6\\d{8}|35\\d{2,4}|(?:[2457-9]\\d|3[0-46-9])\\d{2,9}",[4,5,6,7,8,9,10,11],[["(\\d{2})(\\d{3})","$1 $2",["2(?:0[2-689]|[2-9])|[3-57]|8(?:0[2-9]|[13-9])|9(?:0[89]|[2-579])"]],["(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3",["2(?:0[2-689]|[2-9])|[3-57]|8(?:0[2-9]|[13-9])|9(?:0[89]|[2-579])"]],["(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3",["20[2-689]"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{1,2})","$1 $2 $3 $4",["2(?:[0367]|4[3-8])"]],["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["80[01]|90[015]"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3 $4",["20"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["6"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})(\\d{1,2})","$1 $2 $3 $4 $5",["2(?:[0367]|4[3-8])"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{1,5})","$1 $2 $3 $4",["[3-57]|8[13-9]|9(?:0[89]|[2-579])|(?:2|80)[2-9]"]]],0,0,"(15(?:0[06]|1[12]|[35]5|4[04]|6[26]|77|88|99)\\d)",0,0,0,[0,["6(?:[269][18]|5[1568]|7[189]|81)\\d{6}",[9]]]],LV:["371","00","(?:[268]\\d|90)\\d{6}",[8],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[269]|8[01]"]]],0,0,0,0,0,0,[0,["23(?:23[0-57-9]|33[0238])\\d{3}|2(?:[0-24-9]\\d\\d|3(?:0[07]|[14-9]\\d|2[024-9]|3[0-24-9]))\\d{4}"]]],LY:["218","00","[2-9]\\d{8}",[9],[["(\\d{2})(\\d{7})","$1-$2",["[2-9]"],"0$1"]],"0",0,0,0,0,0,[0,["9[1-6]\\d{7}"]]],MA:["212","00","[5-8]\\d{8}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["5[45]"],"0$1"],["(\\d{4})(\\d{5})","$1-$2",["5(?:2[2-46-9]|3[3-9]|9)|8(?:0[89]|92)"],"0$1"],["(\\d{2})(\\d{7})","$1-$2",["8"],"0$1"],["(\\d{3})(\\d{6})","$1-$2",["[5-7]"],"0$1"]],"0",0,0,0,0,0,[0,["(?:6(?:[0-79]\\d|8[0-247-9])|7(?:[0167]\\d|2[0-4]|5[01]|8[0-3]))\\d{6}"]]],MC:["377","00","(?:[3489]|6\\d)\\d{7}",[8,9],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["4"],"0$1"],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[389]"]],["(\\d)(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["6"],"0$1"]],"0",0,0,0,0,0,[0,["4(?:[469]\\d|5[1-9])\\d{5}|(?:3|6\\d)\\d{7}"]]],MD:["373","00","(?:[235-7]\\d|[89]0)\\d{6}",[8],[["(\\d{3})(\\d{5})","$1 $2",["[89]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["22|3"],"0$1"],["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["[25-7]"],"0$1"]],"0",0,0,0,0,0,[0,["562\\d{5}|(?:6\\d|7[16-9])\\d{6}"]]],ME:["382","00","(?:20|[3-79]\\d)\\d{6}|80\\d{6,7}",[8,9],[["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[2-9]"],"0$1"]],"0",0,0,0,0,0,[0,["6(?:[07-9]\\d|3[024]|6[0-25])\\d{5}",[8]]]],MF:["590","00","590\\d{6}|(?:69|80|9\\d)\\d{7}",[9],0,"0",0,0,0,0,0,[0,["69(?:0\\d\\d|1(?:2[2-9]|3[0-5])|4(?:0[89]|1[2-6]|9\\d)|6(?:1[016-9]|5[0-4]|[67]\\d))\\d{4}"]]],MG:["261","00","[23]\\d{8}",[9],[["(\\d{2})(\\d{2})(\\d{3})(\\d{2})","$1 $2 $3 $4",["[23]"],"0$1"]],"0",0,"([24-9]\\d{6})$|0","20$1",0,0,[0,["3[2-47-9]\\d{7}"]]],MH:["692","011","329\\d{4}|(?:[256]\\d|45)\\d{5}",[7],[["(\\d{3})(\\d{4})","$1-$2",["[2-6]"]]],"1",0,0,0,0,0,[0,["(?:(?:23|54)5|329|45[35-8])\\d{4}"]]],MK:["389","00","[2-578]\\d{7}",[8],[["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["2|34[47]|4(?:[37]7|5[47]|64)"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[347]"],"0$1"],["(\\d{3})(\\d)(\\d{2})(\\d{2})","$1 $2 $3 $4",["[58]"],"0$1"]],"0",0,0,0,0,0,[0,["7(?:3555|(?:474|9[019]7)7)\\d{3}
1|7(?:[0-25-8]\\d\\d|3(?:[1-48]\\d|6[01]|7[01578])|4(?:2\\d|60|7[01578])|9(?:[2-4]\\d|5[01]|7[015]))\\d{4}"]]],ML:["223","00","[24-9]\\d{7}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[24-9]"]]],0,0,0,0,0,0,[0,["2(?:0(?:01|79)|17\\d)\\d{4}|(?:5[01]|[679]\\d|8[2-49])\\d{6}"]]],MM:["95","00","1\\d{5,7}|95\\d{6}|(?:[4-7]|9[0-46-9])\\d{6,8}|(?:2|8\\d)\\d{5,8}",[6,7,8,9,10],[["(\\d)(\\d{2})(\\d{3})","$1 $2 $3",["16|2"],"0$1"],["(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3",["[45]|6(?:0[23]|[1-689]|7[235-7])|7(?:[0-4]|5[2-7])|8[1-6]"],"0$1"],["(\\d)(\\d{3})(\\d{3,4})","$1 $2 $3",["[12]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[4-7]|8[1-35]"],"0$1"],["(\\d)(\\d{3})(\\d{4,6})","$1 $2 $3",["9(?:2[0-4]|[35-9]|4[137-9])"],"0$1"],["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["2"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["8"],"0$1"],["(\\d)(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["92"],"0$1"],["(\\d)(\\d{5})(\\d{4})","$1 $2 $3",["9"],"0$1"]],"0",0,0,0,0,0,[0,["(?:17[01]|9(?:2(?:[0-4]|[56]\\d\\d)|(?:3(?:[0-36]|4\\d)|(?:6\\d|8[89]|9[4-8])\\d|7(?:3|40|[5-9]\\d))\\d|4(?:(?:[0245]\\d|[1379])\\d|88)|5[0-6])\\d)\\d{4}|9[69]1\\d{6}|9(?:[68]\\d|9[089])\\d{5}",[7,8,9,10]]]],MN:["976","001","[12]\\d{7,9}|[5-9]\\d{7}",[8,9,10],[["(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3",["[12]1"],"0$1"],["(\\d{4})(\\d{4})","$1 $2",["[5-9]"]],["(\\d{3})(\\d{5,6})","$1 $2",["[12]2[1-3]"],"0$1"],["(\\d{4})(\\d{5,6})","$1 $2",["[12](?:27|3[2-8]|4[2-68]|5[1-4689])","[12](?:27|3[2-8]|4[2-68]|5[1-4689])[0-3]"],"0$1"],["(\\d{5})(\\d{4,5})","$1 $2",["[12]"],"0$1"]],"0",0,0,0,0,0,[0,["(?:83[01]|92[039])\\d{5}|(?:5[05]|6[069]|8[015689]|9[013-9])\\d{6}",[8]]]],MO:["853","00","0800\\d{3}|(?:28|[68]\\d)\\d{6}",[7,8],[["(\\d{4})(\\d{3})","$1 $2",["0"]],["(\\d{4})(\\d{4})","$1 $2",["[268]"]]],0,0,0,0,0,0,[0,["6800[0-79]\\d{3}|6(?:[235]\\d\\d|6(?:0[0-5]|[1-9]\\d)|8(?:0[1-9]|[14-8]\\d|2[5-9]|[39][0-4]))\\d{4}",[8]]]],MP:["1","011","[58]\\d{9}|(?:67|90)0\\d{7}",[10],0,"1",0,"([2-9]\\d{6})$|1","670$1",0,"670",[0,["670(?:2(?:3[3-7]|56|8[4-8])|32[1-38]|4(?:33|8[348])|5(?:32|55|88)|6(?:64|70|82)|78[3589]|8[3-9]8|989)\\d{4}"]]],MQ:["596","00","596\\d{6}|(?:69|80|9\\d)\\d{7}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[569]"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"],"0$1"]],"0",0,0,0,0,0,[0,["69(?:6(?:[0-46-9]\\d|5[0-6])|727)\\d{4}"]]],MR:["222","00","(?:[2-4]\\d\\d|800)\\d{5}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2-48]"]]],0,0,0,0,0,0,[0,["[2-4][0-46-9]\\d{6}"]]],MS:["1","011","(?:[58]\\d\\d|664|900)\\d{7}",[10],0,"1",0,"([34]\\d{6})$|1","664$1",0,"664",[0,["664(?:3(?:49|9[1-6])|49[2-6])\\d{4}"]]],MT:["356","00","3550\\d{4}|(?:[2579]\\d\\d|800)\\d{5}",[8],[["(\\d{4})(\\d{4})","$1 $2",["[2357-9]"]]],0,0,0,0,0,0,[0,["(?:7(?:210|[79]\\d\\d)|9(?:[29]\\d\\d|69[67]|8(?:1[1-3]|89|97)))\\d{4}"]]],MU:["230","0(?:0|[24-7]0|3[03])","(?:[57]|8\\d\\d)\\d{7}|[2-468]\\d{6}",[7,8,10],[["(\\d{3})(\\d{4})","$1 $2",["[2-46]|8[013]"]],["(\\d{4})(\\d{4})","$1 $2",["[57]"]],["(\\d{5})(\\d{5})","$1 $2",["8"]]],0,0,0,0,0,0,[0,["5(?:4(?:2[1-389]|7[1-9])|87[15-8])\\d{4}|(?:5(?:2[5-9]|4[3-689]|[57]\\d|8[0-689]|9[0-8])|7(?:0[0-4]|3[013]))\\d{5}",[8]]],"020"],MV:["960","0(?:0|19)","(?:800|9[0-57-9]\\d)\\d{7}|[34679]\\d{6}",[7,10],[["(\\d{3})(\\d{4})","$1-$2",["[34679]"]],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[89]"]]],0,0,0,0,0,0,[0,["(?:46[46]|[79]\\d\\d)\\d{4}",[7]]],"00"],MW:["265","00","(?:[1289]\\d|31|77)\\d{7}|1\\d{6}",[7,9],[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["1[2-9]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["2"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[137-9]"],"0$1"]],"0",0,0,0,0,0,[0,["111\\d{6}|(?:31|77|[89][89])\\d{7}",[9]]]],MX:["52","0[09]","[2-9]\\d{9}",[10],[["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["33|5[56]|81"]],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[2-9]"]]],0,0,0,0,0,0,[0,["657[12]\\d{6}|(?:2(?:2\\d|3[1-35-8]|4[13-9]|7[1-689]|8[1-578]|9[467])|3(?:1[1-79]|[2458][1-9]|3\\d|7[1-8]|9[1-5])|4(?:1[1-57-9]|[267][1-9]|3[1-8]|[45]\\d|8[1-35-9]|9[2-689])|5(?:[56]\\d|88|9[1-79])|6(?:1[2-68]|[2-4][1-9]|5[1-3689]|6[0-57-9]|7[1-7]|8[67]|9[4-8])|7(?:[1346][1-9]|[27]\\d|5[13-9]|8[1-69]|9[17])|8(?:1\\d|2[13-689]|3[1-6]|4[124-6]|6[1246-9]|7[0-378]|9[12479])|9(?:1[346-9]|2[1-4]|3[2-46-8]|5[1348]|[69]\\d|7[12]|8[1-8]))\\d{7}"]],"00"],MY:["60","00","1\\d{8,9}|(?:3\\d|[4-9])\\d{7}",[8,9,10],[["(\\d)(\\d{3})(\\d{4})","$1-$2 $3",["[4-79]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1-$2 $3",["1(?:[02469]|[378][1-9]|53)|8","1(?:[02469]|[37][1-9]|53|8(?:[1-46-9]|5[7-9]))|8"],"0$1"],["(\\d)(\\d{4})(\\d{4})","$1-$2 $3",["3"],"0$1"],["(\\d)(\\d{3})(\\d{2})(\\d{4})","$1-$2-$3-$4",["1(?:[367]|80)"]],["(\\d{3})(\\d{3})(\\d{4})","$1-$2 $3",["15"],"0$1"],["(\\d{2})(\\d{4})(\\d{4})","$1-$2 $3",["1"],"0$1"]],"0",0,0,0,0,0,[0,["1(?:1888[689]|4400|8(?:47|8[27])[0-4])\\d{4}|1(?:0(?:[23568]\\d|4[0-6]|7[016-9]|9[0-8])|1(?:[1-5]\\d\\d|6(?:0[5-9]|[1-9]\\d)|7(?:[0-4]\\d|5[0-7]))|(?:[269]\\d|[37][1-9]|4[235-9])\\d|5(?:31|9\\d\\d)|8(?:1[23]|[23
16]\\d|4[06]|5(?:46|[7-9])|7[016-9]|8[01]|9[0-8]))\\d{5}",[9,10]]]],MZ:["258","00","(?:2|8\\d)\\d{7}",[8,9],[["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["2|8[2-79]"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["8"]]],0,0,0,0,0,0,[0,["8[2-79]\\d{7}",[9]]]],NA:["264","00","[68]\\d{7,8}",[8,9],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["88"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["6"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["87"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["8"],"0$1"]],"0",0,0,0,0,0,[0,["(?:60|8[1245])\\d{7}",[9]]]],NC:["687","00","(?:050|[2-57-9]\\d\\d)\\d{3}",[6],[["(\\d{2})(\\d{2})(\\d{2})","$1.$2.$3",["[02-57-9]"]]],0,0,0,0,0,0,[0,["(?:5[0-4]|[79]\\d|8[0-79])\\d{4}"]]],NE:["227","00","[027-9]\\d{7}",[8],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["08"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[089]|2[013]|7[0467]"]]],0,0,0,0,0,0,[0,["(?:23|7[0467]|[89]\\d)\\d{6}"]]],NF:["672","00","[13]\\d{5}",[6],[["(\\d{2})(\\d{4})","$1 $2",["1[0-3]"]],["(\\d)(\\d{5})","$1 $2",["[13]"]]],0,0,"([0-258]\\d{4})$","3$1",0,0,[0,["(?:14|3[58])\\d{4}"]]],NG:["234","009","38\\d{6}|[78]\\d{9,13}|(?:20|9\\d)\\d{8}",[8,10,11,12,13,14],[["(\\d{2})(\\d{3})(\\d{2,3})","$1 $2 $3",["3"],"0$1"],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["[7-9]"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["20[129]"],"0$1"],["(\\d{4})(\\d{2})(\\d{4})","$1 $2 $3",["2"],"0$1"],["(\\d{3})(\\d{4})(\\d{4,5})","$1 $2 $3",["[78]"],"0$1"],["(\\d{3})(\\d{5})(\\d{5,6})","$1 $2 $3",["[78]"],"0$1"]],"0",0,0,0,0,0,[0,["(?:702[0-24-9]|819[01])\\d{6}|(?:7(?:0[13-9]|[12]\\d)|8(?:0[1-9]|1[0-8])|9(?:0[1-9]|1[1-6]))\\d{7}",[10]]]],NI:["505","00","(?:1800|[25-8]\\d{3})\\d{4}",[8],[["(\\d{4})(\\d{4})","$1 $2",["[125-8]"]]],0,0,0,0,0,0,[0,["(?:5(?:5[0-7]|[78]\\d)|6(?:20|3[035]|4[045]|5[05]|77|8[1-9]|9[059])|(?:7[5-8]|8\\d)\\d)\\d{5}"]]],NL:["31","00","(?:[124-7]\\d\\d|3(?:[02-9]\\d|1[0-8]))\\d{6}|8\\d{6,9}|9\\d{6,10}|1\\d{4,5}",[5,6,7,8,9,10,11],[["(\\d{3})(\\d{4,7})","$1 $2",["[89]0"],"0$1"],["(\\d{2})(\\d{7})","$1 $2",["66"],"0$1"],["(\\d)(\\d{8})","$1 $2",["6"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["1[16-8]|2[259]|3[124]|4[17-9]|5[124679]"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[1-578]|91"],"0$1"],["(\\d{3})(\\d{3})(\\d{5})","$1 $2 $3",["9"],"0$1"]],"0",0,0,0,0,0,[0,["(?:6[1-58]|970\\d)\\d{7}",[9,11]]]],NO:["47","00","(?:0|[2-9]\\d{3})\\d{4}",[5,8],[["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["8"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2-79]"]]],0,0,0,0,0,"[02-689]|7[0-8]",[0,["(?:4[015-8]|9\\d)\\d{6}",[8]]]],NP:["977","00","(?:1\\d|9)\\d{9}|[1-9]\\d{7}",[8,10,11],[["(\\d)(\\d{7})","$1-$2",["1[2-6]"],"0$1"],["(\\d{2})(\\d{6})","$1-$2",["1[01]|[2-8]|9(?:[1-59]|[67][2-6])"],"0$1"],["(\\d{3})(\\d{7})","$1-$2",["9"]]],"0",0,0,0,0,0,[0,["9(?:00|6[0-3]|7[024-6]|8[0-24-68])\\d{7}",[10]]]],NR:["674","00","(?:444|(?:55|8\\d)\\d|666)\\d{4}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[4-68]"]]],0,0,0,0,0,0,[0,["(?:55[3-9]|666|8\\d\\d)\\d{4}"]]],NU:["683","00","(?:[4-7]|888\\d)\\d{3}",[4,7],[["(\\d{3})(\\d{4})","$1 $2",["8"]]],0,0,0,0,0,0,[0,["(?:[56]|888[1-9])\\d{3}"]]],NZ:["64","0(?:0|161)","[1289]\\d{9}|50\\d{5}(?:\\d{2,3})?|[27-9]\\d{7,8}|(?:[34]\\d|6[0-35-9])\\d{6}|8\\d{4,6}",[5,6,7,8,9,10],[["(\\d{2})(\\d{3,8})","$1 $2",["8[1-79]"],"0$1"],["(\\d{3})(\\d{2})(\\d{2,3})","$1 $2 $3",["50[036-8]|8|90","50(?:[0367]|88)|8|90"],"0$1"],["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["24|[346]|7[2-57-9]|9[2-9]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["2(?:10|74)|[589]"],"0$1"],["(\\d{2})(\\d{3,4})(\\d{4})","$1 $2 $3",["1|2[028]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,5})","$1 $2 $3",["2(?:[169]|7[0-35-9])|7"],"0$1"]],"0",0,0,0,0,0,[0,["2(?:[0-27-9]\\d|6)\\d{6,7}|2(?:1\\d|75)\\d{5}",[8,9,10]]],"00"],OM:["968","00","(?:1505|[279]\\d{3}|500)\\d{4}|800\\d{5,6}",[7,8,9],[["(\\d{3})(\\d{4,6})","$1 $2",["[58]"]],["(\\d{2})(\\d{6})","$1 $2",["2"]],["(\\d{4})(\\d{4})","$1 $2",["[179]"]]],0,0,0,0,0,0,[0,["(?:1505|90[1-9]\\d)\\d{4}|(?:7[126-9]|9[1-9])\\d{6}",[8]]]],PA:["507","00","(?:00800|8\\d{3})\\d{6}|[68]\\d{7}|[1-57-9]\\d{6}",[7,8,10,11],[["(\\d{3})(\\d{4})","$1-$2",["[1-57-9]"]],["(\\d{4})(\\d{4})","$1-$2",["[68]"]],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["8"]]],0,0,0,0,0,0,[0,["(?:1[16]1|21[89]|6\\d{3}|8(?:1[01]|7[23]))\\d{4}",[7,8]]]],PE:["51","00|19(?:1[124]|77|90)00","(?:[14-8]|9\\d)\\d{7}",[8,9],[["(\\d{3})(\\d{5})","$1 $2",["80"],"(0$1)"],["(\\d)(\\d{7})","$1 $2",["1"],"(0$1)"],["(\\d{2})(\\d{6})","$1 $2",["[4-8]"],"(0$1)"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["9"]]],"0",0,0,0,0,0,[0,["9\\d{8}",[9]]],"00"," Anexo "],PF:["689","00","4\\d{5}
1(?:\\d{2})?|8\\d{7,8}",[6,8,9],[["(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3",["44"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["4|8[7-9]"]],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"]]],0,0,0,0,0,0,[0,["8[7-9]\\d{6}",[8]]]],PG:["675","00|140[1-3]","(?:180|[78]\\d{3})\\d{4}|(?:[2-589]\\d|64)\\d{5}",[7,8],[["(\\d{3})(\\d{4})","$1 $2",["18|[2-69]|85"]],["(\\d{4})(\\d{4})","$1 $2",["[78]"]]],0,0,0,0,0,0,[0,["(?:7\\d|8[1-38])\\d{6}",[8]]],"00"],PH:["63","00","(?:[2-7]|9\\d)\\d{8}|2\\d{5}|(?:1800|8)\\d{7,9}",[6,8,9,10,11,12,13],[["(\\d)(\\d{5})","$1 $2",["2"],"(0$1)"],["(\\d{4})(\\d{4,6})","$1 $2",["3(?:23|39|46)|4(?:2[3-6]|[35]9|4[26]|76)|544|88[245]|(?:52|64|86)2","3(?:230|397|461)|4(?:2(?:35|[46]4|51)|396|4(?:22|63)|59[347]|76[15])|5(?:221|446)|642[23]|8(?:622|8(?:[24]2|5[13]))"],"(0$1)"],["(\\d{5})(\\d{4})","$1 $2",["346|4(?:27|9[35])|883","3469|4(?:279|9(?:30|56))|8834"],"(0$1)"],["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["2"],"(0$1)"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[3-7]|8[2-8]"],"(0$1)"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[89]"],"0$1"],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["1"]],["(\\d{4})(\\d{1,2})(\\d{3})(\\d{4})","$1 $2 $3 $4",["1"]]],"0",0,0,0,0,0,[0,["(?:8(?:1[37]|9[5-8])|9(?:0[5-9]|1[0-24-9]|[235-7]\\d|4[2-9]|8[135-9]|9[1-9]))\\d{7}",[10]]]],PK:["92","00","122\\d{6}|[24-8]\\d{10,11}|9(?:[013-9]\\d{8,10}|2(?:[01]\\d\\d|2(?:[06-8]\\d|1[01]))\\d{7})|(?:[2-8]\\d{3}|92(?:[0-7]\\d|8[1-9]))\\d{6}|[24-9]\\d{8}|[89]\\d{7}",[8,9,10,11,12],[["(\\d{3})(\\d{3})(\\d{2,7})","$1 $2 $3",["[89]0"],"0$1"],["(\\d{4})(\\d{5})","$1 $2",["1"]],["(\\d{3})(\\d{6,7})","$1 $2",["2(?:3[2358]|4[2-4]|9[2-8])|45[3479]|54[2-467]|60[468]|72[236]|8(?:2[2-689]|3[23578]|4[3478]|5[2356])|9(?:2[2-8]|3[27-9]|4[2-6]|6[3569]|9[25-8])","9(?:2[3-8]|98)|(?:2(?:3[2358]|4[2-4]|9[2-8])|45[3479]|54[2-467]|60[468]|72[236]|8(?:2[2-689]|3[23578]|4[3478]|5[2356])|9(?:22|3[27-9]|4[2-6]|6[3569]|9[25-7]))[2-9]"],"(0$1)"],["(\\d{2})(\\d{7,8})","$1 $2",["(?:2[125]|4[0-246-9]|5[1-35-7]|6[1-8]|7[14]|8[16]|91)[2-9]"],"(0$1)"],["(\\d{5})(\\d{5})","$1 $2",["58"],"(0$1)"],["(\\d{3})(\\d{7})","$1 $2",["3"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["2[125]|4[0-246-9]|5[1-35-7]|6[1-8]|7[14]|8[16]|91"],"(0$1)"],["(\\d{3})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["[24-9]"],"(0$1)"]],"0",0,0,0,0,0,[0,["3(?:[0-247]\\d|3[0-79]|55|64)\\d{7}",[10]]]],PL:["48","00","(?:6|8\\d\\d)\\d{7}|[1-9]\\d{6}(?:\\d{2})?|[26]\\d{5}",[6,7,8,9,10],[["(\\d{5})","$1",["19"]],["(\\d{3})(\\d{3})","$1 $2",["11|20|64"]],["(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3",["(?:1[2-8]|2[2-69]|3[2-4]|4[1-468]|5[24-689]|6[1-3578]|7[14-7]|8[1-79]|9[145])1","(?:1[2-8]|2[2-69]|3[2-4]|4[1-468]|5[24-689]|6[1-3578]|7[14-7]|8[1-79]|9[145])19"]],["(\\d{3})(\\d{2})(\\d{2,3})","$1 $2 $3",["64"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["21|39|45|5[0137]|6[0469]|7[02389]|8(?:0[14]|8)"]],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["1[2-8]|[2-7]|8[1-79]|9[145]"]],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["8"]]],0,0,0,0,0,0,[0,["21(?:1[013-5]|2\\d)\\d{5}|(?:45|5[0137]|6[069]|7[2389]|88)\\d{7}",[9]]]],PM:["508","00","[45]\\d{5}|(?:708|80\\d)\\d{6}",[6,9],[["(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3",["[45]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["7"]],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"],"0$1"]],"0",0,0,0,0,0,[0,["(?:4[02-4]|5[056]|708[45][0-5])\\d{4}"]]],PR:["1","011","(?:[589]\\d\\d|787)\\d{7}",[10],0,"1",0,0,0,0,"787|939",[0,["(?:787|939)[2-9]\\d{6}"]]],PS:["970","00","[2489]2\\d{6}|(?:1\\d|5)\\d{8}",[8,9,10],[["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["[2489]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["5"],"0$1"],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1"]]],"0",0,0,0,0,0,[0,["5[69]\\d{7}",[9]]]],PT:["351","00","1693\\d{5}|(?:[26-9]\\d|30)\\d{7}",[9],[["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["2[12]"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["16|[236-9]"]]],0,0,0,0,0,0,[0,["6(?:[06]92(?:30|9\\d)|[35]92(?:[049]\\d|3[034]))\\d{3}|(?:(?:16|6[0356])93|9(?:[1-36]\\d\\d|480))\\d{5}"]]],PW:["680","01[12]","(?:[24-8]\\d\\d|345|900)\\d{4}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[2-9]"]]],0,0,0,0,0,0,[0,["(?:(?:46|83)[0-5]|6[2-4689]0)\\d{4}|(?:45|77|88)\\d{5}"]]],PY:["595","00","59\\d{4,6}|9\\d{5,10}|(?:[2-46-8]\\d|5[0-8])\\d{4,7}",[6,7,8,9,10,11],[["(\\d{3})(\\d{3,6})","$1 $2",["[2-9]0"],"0$1"],["(\\d{2})(\\d{5})","$1 $2",["[26]1|3[289]|4[1246-8]|7[1-3]|8[1-36]"],"(0$1)"],["(\\d{3})(\\d{4,5})","$1 $2",["2[279]|3[13-5]|4[359]|5|6(?:[34]|7[1-46-8])|7[46-8]|85"],"(0$1)"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["2[14-68]|3[26-9]|4[1246-8]|6(?:1|75)|7[1-35]|8[1-36]"],"(0$1)"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["87"]],["(\\d{3})(\\d{6})","$1 $2",["9(?:[5-79]|8[1-7])"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[2-8]"],"0$1"],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["9"]]],"0",0,0,0,0,0,[0,["9(?:51|6[129]|7[1-6]|8[1-7]|9[1-5])\\d{6}",[9]]]],QA:["974","00","800\\d{4}|(?:2|800)\\d{6}|(?:0080|[3-7])\\d{7}",[7,8,9,11],[["(\\d{3})(\\d{4})","$1 $2",["2[16]|8"]],["(\\d{4})(\\d{4})","$1 $2",["[3-7]"]]],0,0,0,0,0,0,[0,["[35-7]\\d{7}",[8]]]],RE:["262","00","(?:26|[689]\\d)\\d{7}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2689]"],"0$1"]],"0",0,0,0,0,0,[0,["69(?:2\\d\\d|3(?:[06][0-6]|1[013]|2[0-2]|3[0-39]|4\\d|5[0-5]|7[0-37]|8[0-8]|9[0-479]))\\d{4}"]]],RO:["40","00","(?:[236-8]\\d|90)\\d{7}|[23]\\d{5}",[6,9],[["(\\d{3})(\\d{3})","$1 $2",["2[3-6]","2[3-6]\\d9"],"0$1"],["(\\d{2})(\\d{4})","$1 $2",["219|31"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[23]1"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[236-9]"],"0$1"]],"0",0,0,0,0,0,[0,["(?:630|702)0\\d{5}|(?:6(?:00|2\\d)|7(?:0[013-9]|1[0-3]|[2-7]\\d|8[03-8]|9[0-39]))\\d{6}",[9]]],0," int "],RS:["381","00","38[02-9]\\d{6,9}|6\\d{7,9}|90\\d{4,8}|38\\d{5,6}|(?:7\\d\\d|800)\\d{3,9}|(?:[12]\\d|3[0-79])\\d{5,10}",[6,7,8,9,10,11,12],[["(\\d{3})(\\d{3,9})","$1 $2",["(?:2[389]|39)0|[7-9]"],"0$1"],["(\\d{2})(\\d{5,10})","$1 $2",["[1-36]"],"0$1"]],"0",0,0,0,0,0,[0,["6(?:[0-689]|7\\d)\\d{6,7}",[8,9,10]]]],RU:["7","810","8\\d{13}|[347-9]\\d{9}",[10,14],[["(\\d{4})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["7(?:1[0-8]|2[1-9])","7(?:1(?:[0-356]2|4[29]|7|8[27])|2(?:1[23]|[2-9]2))","7(?:1(?:[0-356]2|4[29]|7|8[27])|2(?:13[03-69]|62[013-9]))|72[1-57-9]2"],"8 ($1)",1],["(\\d{5})(\\d)(\\d{2})(\\d{2})","$1 $2 $3 $4",["7(?:1[0-68]|2[1-9])","7(?:1(?:[06][3-6]|[18]|2[35]|[3-5][3-5])|2(?:[13][3-5]|[24-689]|7[457]))","7(?:1(?:0(?:[356]|4[023])|[18]|2(?:3[013-9]|5)|3[45]|43[013-79]|5(?:3[1-8]|4[1-7]|5)|6(?:3[0-35-9]|[4-6]))|2(?:1(?:3[178]|[45])|[24-689]|3[35]|7[457]))|7(?:14|23)4[0-8]|71(?:33|45)[1-79]"],"8 ($1)",1],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["7"],"8 ($1)",1],["(\\d{3})(\\d{3})(\\d{2})(\\d{2})","$1 $2-$3-$4",["[349]|8(?:[02-7]|1[1-8])"],"8 ($1)",1],["(\\d{4})(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3 $4",["8"],"8 ($1)"]],"8",0,0,0,0,"3[04-689]|[489]",[0,["9\\d{9}",[10]]],"8~10"],RW:["250","00","(?:06|[27]\\d\\d|[89]00)\\d{6}",[8,9],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["0"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["2"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[7-9]"],"0$1"]],"0",0,0,0,0,0,[0,["7[237-9]\\d{7}",[9]]]],SA:["966","00","92\\d{7}|(?:[15]|8\\d)\\d{8}",[9,10],[["(\\d{4})(\\d{5})","$1 $2",["9"]],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["1"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["5"],"0$1"],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["81"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["8"]]],"0",0,0,0,0,0,[0,["579[01]\\d{5}|5(?:[013-689]\\d|7[0-8])\\d{6}",[9]]]],SB:["677","0[01]","[6-9]\\d{6}|[1-6]\\d{4}",[5,7],[["(\\d{2})(\\d{5})","$1 $2",["6[89]|7|8[4-9]|9(?:[1-8]|9[0-8])"]]],0,0,0,0,0,0,[0,["48\\d{3}|(?:(?:6[89]|7[1-9]|8[4-9])\\d|9(?:1[2-9]|2[013-9]|3[0-2]|[46]\\d|5[0-46-9]|7[0-689]|8[0-79]|9[0-8]))\\d{4}"]]],SC:["248","010|0[0-2]","(?:[2489]\\d|64)\\d{5}",[7],[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["[246]|9[57]"]]],0,0,0,0,0,0,[0,["2[125-8]\\d{5}"]],"00"],SD:["249","00","[19]\\d{8}",[9],[["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[19]"],"0$1"]],"0",0,0,0,0,0,[0,["(?:1[0-2]|9[0-3569])\\d{7}"]]],SE:["46","00","(?:[26]\\d\\d|9)\\d{9}|[1-9]\\d{8}|[1-689]\\d{7}|[1-4689]\\d{6}|2\\d{5}",[6,7,8,9,10,12],[["(\\d{2})(\\d{2,3})(\\d{2})","$1-$2 $3",["20"],"0$1",0,"$1 $2 $3"],["(\\d{3})(\\d{4})","$1-$2",["9(?:00|39|44|9)"],"0$1",0,"$1 $2"],["(\\d{2})(\\d{3})(\\d{2})","$1-$2 $3",["[12][136]|3[356]|4[0246]|6[03]|90[1-9]"],"0$1",0,"$1 $2 $3"],["(\\d)(\\d{2,3})(\\d{2})(\\d{2})","$1-$2 $3 $4",["8"],"0$1",0,"$1 $2 $3 $4"],["(\\d{3})(\\d{2,3})(\\d{2})","$1-$2 $3",["1[2457]|2(?:[247-9]|5[0138])|3[0247-9]|4[1357-9]|5[0-35-9]|6(?:[125689]|4[02-57]|7[0-2])|9(?:[125-8]|3[02-5]|4[0-3])"],"0$1",0,"$1 $2 $3"],["(\\d{3})(\\d{2,3})(\\d{3})","$1-$2 $3",["9(?:00|39|44)"],"0$1",0,"$1 $2 $3"],["(\\d{2})(\\d{2,3})(\\d{2})(\\d{2})","$1-$2 $3 $4",["1[13689]|2[0136]|3[1356]|4[0246]|54|6[03]|90[1-9]"],"0$1",0,"$1 $2 $3 $4"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1-$2 $3 $4",["10|7"],"0$1",0,"$1 $2 $3 $4"],["(\\d)(\\d{3})(\\d{3})(\\d{2})","$1-$2 $3 $4",["8"],"0$1",0,"$1 $2 $3 $4"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1-$2 $3 $4",["[13-5]|2(?:[247-9]|5[0138])|6(?:[124-689]|7[0-2])|9(?:[125-8]|3[02-5]|4[0-3])"],"0$1",0,"$1 $2 $3 $4"],["(\\d{3})(\\d{2})(\\d{2})(\\d{3})","$1-$2 $3 $4",["9"],"0$1",0,"$1 $2 $3 $4"],["(\\d{3})(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1-$2 $3 $4 $5",["[26]"],"0$1",0,"$1 $2 $3 $4 $5"]],"0",0,0,0,0,0,[0,["7[02369]\\d{7}",[9]]]],SG:["65","0[0-3]\\d","(?:(?:1\\d|8)\\d\\d|7000)\\d{7}|[3689]\\d{7}",[8,10,11],[["(\\d{4})(\\d{4})","$1 $2",["[369]|8(?:0[1-9]|[1-9])"]],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["8"]],["(\\d{4})(\\d{4})(\\d{3})","$1 $2 $3",["7"]],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["1"]]],0,0,0,0,0,0,[0,["8(?:09[0-689]|95[0-2])\\d{4}|(?:8(?:0[1-8]|[1-8]\\d|9[0-4])|9[0-8]\\d)\\d{5}",[8]]]],SH:["290","00","(?:[256]\\d|8)\\d{3}",[4,5],0,0,0,0,0,0,"[256]",[0,["[56]\\d{4}",[5]]]],SI:["386","00|10(?:22|66|88|99)","[1-7]\\d{7}|8\\d{4,7}|90\\d{4,6}",[5,6,7,8],[["(\\d{2})(\\d{3,6})","$1 $2",["8[09]|9"],"0$1"],["(\\d{3})(\\d{5})","$1 $2",["59|8"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[37][01]|4[0139]|51|6"],"0$1"],["(\\d)(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[1-57]"],"(0$1)"]],"0",0,0,0,0,0,[0,["65(?:[178]\\d|5[56]|6[01])\\d{4}|(?:[37][01]|4[0139]|51|6[489])\\d{6}",[8]]],"00"],SJ:["47","00","0\\d{4}|(?:[489]\\d|79)\\d{6}",[5,8],0,0,0,0,0,0,"79",[0,["(?:4[015-8]|9\\d)\\d{6}",[8]]]],SK:["421","00","[2-689]\\d{8}|[2-59]\\d{6}|[2-5]\\d{5}",[6,7,9],[["(\\d)(\\d{2})(\\d{3,4})","$1 $2 $3",["21"],"0$1"],["(\\d{2})(\\d{2})(\\d{2,3})","$1 $2 $3",["[3-5][1-8]1","[3-5][1-8]1[67]"],"0$1"],["(\\d)(\\d{3})(\\d{3})(\\d{2})","$1/$2 $3 $4",["2"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[689]"],"0$1"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1/$2 $3 $4",["[3-5]"],"0$1"]],"0",0,0,0,0,0,[0,["909[1-9]\\d{5}|9(?:0[1-8]|1[0-24-9]|4[03-57-9]|5\\d)\\d{6}",[9]]]],SL:["232","00","(?:[237-9]\\d|66)\\d{6}",[8],[["(\\d{2})(\\d{6})","$1 $2",["[236-9]"],"(0$1)"]],"0",0,0,0,0,0,[0,["(?:25|3[0-5]|66|7[2-9]|8[08]|9[09])\\d{6}"]]],SM:["378","00","(?:0549|[5-7]\\d)\\d{6}",[8,10],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[5-7]"]],["(\\d{4})(\\d{6})","$1 $2",["0"]]],0,0,"([89]\\d{5})$","0549$1",0,0,[0,["6[16]\\d{6}",[8]]]],SN:["221","00","(?:[378]\\d|93)\\d{7}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"]],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[379]"]]],0,0,0,0,0,0,[0,["7(?:(?:[06-8]\\d|21|90
1)\\d|5(?:0[01]|[19]0|2[25]|[38]3|[4-7]\\d))\\d{5}"]]],SO:["252","00","[346-9]\\d{8}|[12679]\\d{7}|[1-5]\\d{6}|[1348]\\d{5}",[6,7,8,9],[["(\\d{2})(\\d{4})","$1 $2",["8[125]"]],["(\\d{6})","$1",["[134]"]],["(\\d)(\\d{6})","$1 $2",["[15]|2[0-79]|3[0-46-8]|4[0-7]"]],["(\\d)(\\d{7})","$1 $2",["(?:2|90)4|[67]"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[348]|64|79|90"]],["(\\d{2})(\\d{5,7})","$1 $2",["1|28|6[0-35-9]|77|9[2-9]"]]],"0",0,0,0,0,0,[0,["(?:(?:15|(?:3[59]|4[89]|6\\d|7[79]|8[08])\\d|9(?:0\\d|[2-9]))\\d|2(?:4\\d|8))\\d{5}|(?:[67]\\d\\d|904)\\d{5}",[7,8,9]]]],SR:["597","00","(?:[2-5]|68|[78]\\d)\\d{5}",[6,7],[["(\\d{2})(\\d{2})(\\d{2})","$1-$2-$3",["56"]],["(\\d{3})(\\d{3})","$1-$2",["[2-5]"]],["(\\d{3})(\\d{4})","$1-$2",["[6-8]"]]],0,0,0,0,0,0,[0,["(?:7[124-7]|8[124-9])\\d{5}",[7]]]],SS:["211","00","[19]\\d{8}",[9],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[19]"],"0$1"]],"0",0,0,0,0,0,[0,["(?:12|9[1257-9])\\d{7}"]]],ST:["239","00","(?:22|9\\d)\\d{5}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[29]"]]],0,0,0,0,0,0,[0,["900[5-9]\\d{3}|9(?:0[1-9]|[89]\\d)\\d{4}"]]],SV:["503","00","[267]\\d{7}|(?:80\\d|900)\\d{4}(?:\\d{4})?",[7,8,11],[["(\\d{3})(\\d{4})","$1 $2",["[89]"]],["(\\d{4})(\\d{4})","$1 $2",["[267]"]],["(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["[89]"]]],0,0,0,0,0,0,[0,["[67]\\d{7}",[8]]]],SX:["1","011","7215\\d{6}|(?:[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"(5\\d{6})$|1","721$1",0,"721",[0,["7215(?:1[02]|2\\d|5[034679]|8[014-8])\\d{4}"]]],SY:["963","00","[1-39]\\d{8}|[1-5]\\d{7}",[8,9],[["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[1-5]"],"0$1",1],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["9"],"0$1",1]],"0",0,0,0,0,0,[0,["9[1-689]\\d{7}",[9]]]],SZ:["268","00","0800\\d{4}|(?:[237]\\d|900)\\d{6}",[8,9],[["(\\d{4})(\\d{4})","$1 $2",["[0237]"]],["(\\d{5})(\\d{4})","$1 $2",["9"]]],0,0,0,0,0,0,[0,["7[6-9]\\d{6}",[8]]]],TA:["290","00","8\\d{3}",[4],0,0,0,0,0,0,"8"],TC:["1","011","(?:[58]\\d\\d|649|900)\\d{7}",[10],0,"1",0,"([2-479]\\d{6})$|1","649$1",0,"649",[0,["649(?:2(?:3[129]|4[1-79])|3\\d\\d|4[34][1-3])\\d{4}"]]],TD:["235","00|16","(?:22|[689]\\d|77)\\d{6}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[26-9]"]]],0,0,0,0,0,0,[0,["(?:[69]\\d|77|8[56])\\d{6}"]],"00"],TG:["228","00","[279]\\d{7}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[279]"]]],0,0,0,0,0,0,[0,["(?:7[019]|9[0-36-9])\\d{6}"]]],TH:["66","00[1-9]","(?:001800|[2-57]|[689]\\d)\\d{7}|1\\d{7,9}",[8,9,10,13],[["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["2"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[13-9]"],"0$1"],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1"]]],"0",0,0,0,0,0,[0,["67(?:1[0-8]|2[4-7])\\d{5}|(?:14|6[1-6]|[89]\\d)\\d{7}",[9]]]],TJ:["992","810","[0-57-9]\\d{8}",[9],[["(\\d{6})(\\d)(\\d{2})","$1 $2 $3",["331","3317"]],["(\\d{3})(\\d{2})(\\d{4})","$1 $2 $3",["44[02-479]|[34]7"]],["(\\d{4})(\\d)(\\d{4})","$1 $2 $3",["3(?:[1245]|3[12])"]],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[0-57-9]"]]],0,0,0,0,0,0,[0,["(?:33[03-9]|4(?:1[18]|4[02-479])|81[1-9])\\d{6}|(?:[09]\\d|1[017]|2[02]|[34]0|5[05]|7[01578]|8[078])\\d{7}"]],"8~10"],TK:["690","00","[2-47]\\d{3,6}",[4,5,6,7],0,0,0,0,0,0,0,[0,["7[2-4]\\d{2,5}"]]],TL:["670","00","7\\d{7}|(?:[2-47]\\d|[89]0)\\d{5}",[7,8],[["(\\d{3})(\\d{4})","$1 $2",["[2-489]|70"]],["(\\d{4})(\\d{4})","$1 $2",["7"]]],0,0,0,0,0,0,[0,["7[2-8]\\d{6}",[8]]]],TM:["993","810","(?:[1-6]\\d|71)\\d{6}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2-$3-$4",["12"],"(8 $1)"],["(\\d{3})(\\d)(\\d{2})(\\d{2})","$1 $2-$3-$4",["[1-5]"],"(8 $1)"],["(\\d{2})(\\d{6})","$1 $2",["[67]"],"8 $1"]],"8",0,0,0,0,0,[0,["(?:6\\d|71)\\d{6}"]],"8~10"],TN:["216","00","[2-57-9]\\d{7}",[8],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[2-57-9]"]]],0,0,0,0,0,0,[0,["3(?:001|[12]40)\\d{4}|(?:(?:[259]\\d|4[0-8])\\d|3(?:1[1-35]|6[0-4]|91))\\d{5}"]]],TO:["676","00","(?:0800|(?:[5-8]\\d\\d|999)\\d)\\d{3}|[2-8]\\d{4}",[5,7],[["(\\d{2})(\\d{3})","$1-$2",["[2-4]|50|6[09]|7[0-24-69]|8[05]"]],["(\\d{4})(\\d{3})","$1 $2",["0"]],["(\\d{3})(\\d{4})","$1 $2",["[5-9]"]]],0,0,0,0,0,0,[0,["(?:5(?:4[0-5]|5[4-6])|6(?:[09]\\d|3[02]|8[15-9])|(?:7\\d|8[46-9])\\d|999)\\d{4}",[7]]]],TR:["90","00","4\\d{6}|8\\d{11,12}|(?:[2-58]\\d\\d|900)\\d{7}",[7,10,12,13],[["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["512|8[01589]|90"],"0$1",1],["(\\d{3})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["5(?:[0-59]|61)","5(?:[0-59]|61[06])","5(?:[0-59]|61[06]1)"],"0$1",1],["(\\d{3})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[24][1-8]|3[1-9]"],"(0$1)",1],["(\\d{3})(\\d{3})(\\d{6,7})","$1 $2 $3",["80"],"0$1",1]],"0",0,0,0,0,0,[0,["561(?:011|61\\d)\\d{4}|5(?:0[15-7]|1[06]|24|[34]\\d|5[1-59]|9[46])\\d{7}",[10]]]],TT:["1","011","(?:[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2-46-8]\\d{6})$|1","868$1",0,"868",[0,["868(?:(?:2[5-9]|3\\d)\\d|4(?:3[0-6]|[6-9]\\d)|6(?:20|78|8\\d)|7(?:0[1-9]|1[02-9]|[2-9]\\d))\\d{4}"]]],TV:["688","00","(?:2|7\\d\\d|90)\\d{4}",[5,6,7],[["(\\d{2})(\\d{3})","$1 $2",["2"]],["(\\d{2})(\\d{4})","$1 $2",["90"]],["(\\d{2})(\\d{5})","$1 $2",["7"]]],0,0,0,0,0,0,[0,["(?:7[01]\\d|90)\\d{4}",[6,7]]]],TW:["886","0(?:0[25-79]|19)","[2-689]\\d{8}|7\\d{9,10}|[2-8]\\d{7}|2\\d{6}",[7,8,9,10,11],[["(\\d{2})(\\d)(\\d{4})","$1 $2 $3",["202"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[258]0"],"0$1"],["(\\d)(\\d{3,4})(\\d{4})","$1 $2 $3",["[23568]|4(?:0[02-48]|[1-47-9])|7[1-9]","[23568]|4(?:0[2-48]|[1-47-9])|(?:400|7)[1-9]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[49]"],"0$1"],["(\\d{2})(\\d{4})(\\d{4,5})","$1 $2 $3",["7"],"0$1"]],"0",0,0,0,0,0,[0,["(?:40001[0-2]|9[0-8]\\d{4})\\d{3}",[9]]],0,"#"],TZ:["255","00[056]","(?:[25-8]\\d|41|90)\\d{7}",[9],[["(\\d{3})(\\d{2})(\\d{4})","$1 $2 $3",["[89]"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[24]"],"0$1"],["(\\d{2})(\\d{7})","$1 $2",["5"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[67]"],"0$1"]],"0",0,0,0,0,0,[0,["(?:6[125-9]|7[13-9])\\d{7}"]]],UA:["380","00","[89]\\d{9}|[3-9]\\d{8}",[9,10],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["6[12][29]|(?:3[1-8]|4[136-8]|5[12457]|6[49])2|(?:56|65)[24]","6[12][29]|(?:35|4[1378]|5[12457]|6[49])2|(?:56|65)[24]|(?:3[1-46-8]|46)2[013-9]"],"0$1"],["(\\d{4})(\\d{5})","$1 $2",["3[1-8]|4(?:[1367]|[45][6-9]|8[4-6])|5(?:[1-5]|6[0135689]|7[4-6])|6(?:[12][3-7]|[459])","3[1-8]|4(?:[1367]|[45][6-9]|8[4-6])|5(?:[1-5]|6(?:[015689]|3[02389])|7[4-6])|6(?:[12][3-7]|[459])"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[3-7]|89|9[1-9]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["[89]"],"0$1"]],"0",0,0,0,0,0,[0,["(?:39|50|6[36-8]|7[1-357]|9[1-9])\\d{7}",[9]]],"0~0"],UG:["256","00[057]","800\\d{6}|(?:[29]0|[347]\\d)\\d{7}",[9],[["(\\d{4})(\\d{5})","$1 $2",["202","2024"],"0$1"],["(\\d{3})(\\d{6})","$1 $2",["[27-9]|4(?:6[45]|[7-9])"],"0$1"],["(\\d{2})(\\d{7})","$1 $2",["[34]"],"0$1"]],"0",0,0,0,0,0,[0,["72(?:[48]0|6[01])\\d{5}|7(?:[015-8]\\d|20|36|4[0-5]|9[89])\\d{6}"]]],US:["1","011","[2-9]\\d{9}|3\\d{6}",[10],[["(\\d{3})(\\d{4})","$1-$2",["310"],0,1],["(\\d{3})(\\d{3})(\\d{4})","($1) $2-$3",["[2-9]"],0,1,"$1-$2-$3"]],"1",0,0,0,0,0,[0,["(?:3052(?:0[0-8]|[1-9]\\d)|5056(?:[0-35-9]\\d|4[468])|7302[0-4]\\d)\\d{4}|(?:305[3-9]|472[24]|505[2-57-9]|7306|983[2-47-9])\\d{6}|(?:2(?:0[1-35-9]|1[02-9]|2[03-57-9]|3[1459]|4[08]|5[1-46]|6[0279]|7[0269]|8[13])|3(?:0[1-47-9]|1[02-9]|2[013569]|3[0-24679]|4[167]|5[0-2]|6[01349]|8[056])|4(?:0[124-9]|1[02-579]|2[3-5]|3[0245]|4[023578]|58|6[349]|7[0589]|8[04])|5(?:0[1-47-9]|1[0235-8]|20|3[0149]|4[01]|5[179]|6[1-47]|7[0-5]|8[0256])|6(?:0[1-35-9]|1[024-9]|2[03689]|3[016]|4[0156]|5[01679]|6[0-279]|78|8[0-29])|7(?:0[1-46-8]|1[2-9]|2[04-8]|3[1247]|4[037]|5[47]|6[02359]|7[0-59]|8[156])|8(?:0[1-68]|1[02-8]|2[068]|3[0-2589]|4[03578]|5[046-9]|6[02-5]|7[028])|9(?:0[1346-9]|1[02-9]|2[0589]|3[0146-8]|4[01357-9]|5[12469]|7[0-389]|8[04-69]))[2-9]\\d{6}"]]],UY:["598","0(?:0|1[3-9]\\d)","0004\\d{2,9}|[1249]\\d{7}|(?:[49]\\d|80)\\d{5}",[6,7,8,9,10,11,12,13],[["(\\d{3})(\\d{3,4})","$1 $2",["0"]],["(\\d{3})(\\d{4})","$1 $2",["[49]0|8"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["9"],"0$1"],["(\\d{4})(\\d{4})","$1 $2",["[124]"]],["(\\d{3})(\\d{3})(\\d{2,4})","$1 $2 $3",["0"]],["(\\d{3})(\\d{3})(\\d{3})(\\d{2,4})","$1 $2 $3 $4",["0"]]],"0",0,0,0,0,0,[0,["9[1-9]\\d{6}",[8]]],"00"," int. "],UZ:["998","00","(?:20|33|[5-79]\\d|88)\\d{7}",[9],[["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[235-9]"]]],0,0,0,0,0,0,[0,["(?:(?:[25]0|33|88|9[0-57-9])\\d{3}
1|6(?:1(?:2(?:2[01]|98)|35[0-4]|50\\d|61[23]|7(?:[01][017]|4\\d|55|9[5-9]))|2(?:(?:11|7\\d)\\d|2(?:[12]1|9[01379])|5(?:[126]\\d|3[0-4]))|5(?:19[01]|2(?:27|9[26])|(?:30|59|7\\d)\\d)|6(?:2(?:1[5-9]|2[0367]|38|41|52|60)|(?:3[79]|9[0-3])\\d|4(?:56|83)|7(?:[07]\\d|1[017]|3[07]|4[047]|5[057]|67|8[0178]|9[79]))|7(?:2(?:24|3[237]|4[5-9]|7[15-8])|5(?:7[12]|8[0589])|7(?:0\\d|[39][07])|9(?:0\\d|7[079]))|9(?:2(?:1[1267]|3[01]|5\\d|7[0-4])|(?:5[67]|7\\d)\\d|6(?:2[0-26]|8\\d)))|7(?:[07]\\d{3}|1(?:13[01]|6(?:0[47]|1[67]|66)|71[3-69]|98\\d)|2(?:2(?:2[79]|95)|3(?:2[5-9]|6[0-6])|57\\d|7(?:0\\d|1[17]|2[27]|3[37]|44|5[057]|66|88))|3(?:2(?:1[0-6]|21|3[469]|7[159])|(?:33|9[4-6])\\d|5(?:0[0-4]|5[579]|9\\d)|7(?:[0-3579]\\d|4[0467]|6[67]|8[078]))|4(?:2(?:29|5[0257]|6[0-7]|7[1-57])|5(?:1[0-4]|8\\d|9[5-9])|7(?:0\\d|1[024589]|2[0-27]|3[0137]|[46][07]|5[01]|7[5-9]|9[079])|9(?:7[015-9]|[89]\\d))|5(?:112|2(?:0\\d|2[29]|[49]4)|3[1568]\\d|52[6-9]|7(?:0[01578]|1[017]|[23]7|4[047]|[5-7]\\d|8[78]|9[079]))|9(?:22[128]|3(?:2[0-4]|7\\d)|57[02569]|7(?:2[05-9]|3[37]|4\\d|60|7[2579]|87|9[07]))))\\d{4}"]]],VA:["39","00","0\\d{5,10}|3[0-8]\\d{7,10}|55\\d{8}|8\\d{5}(?:\\d{2,4})?|(?:1\\d|39)\\d{7,8}",[6,7,8,9,10,11,12],0,0,0,0,0,0,"06698",[0,["3[1-9]\\d{8}|3[2-9]\\d{7}",[9,10]]]],VC:["1","011","(?:[58]\\d\\d|784|900)\\d{7}",[10],0,"1",0,"([2-7]\\d{6})$|1","784$1",0,"784",[0,["784(?:4(?:3[0-5]|5[45]|89|9[0-8])|5(?:2[6-9]|3[0-4])|720)\\d{4}"]]],VE:["58","00","[68]00\\d{7}|(?:[24]\\d|[59]0)\\d{8}",[10],[["(\\d{3})(\\d{7})","$1-$2",["[24-689]"],"0$1"]],"0",0,0,0,0,0,[0,["4(?:1[24-8]|2[46])\\d{7}"]]],VG:["1","011","(?:284|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2-578]\\d{6})$|1","284$1",0,"284",[0,["284(?:245|3(?:0[0-3]|4[0-7]|68|9[34])|4(?:4[0-6]|68|9[69])|5(?:4[0-7]|68|9[69]))\\d{4}"]]],VI:["1","011","[58]\\d{9}|(?:34|90)0\\d{7}",[10],0,"1",0,"([2-9]\\d{6})$|1","340$1",0,"340",[0,["340(?:2(?:0\\d|10|2[06-8]|4[49]|77)|3(?:32|44)|4(?:2[23]|44|7[34]|89)|5(?:1[34]|55)|6(?:2[56]|4[23]|77|9[023])|7(?:1[2-57-9]|2[57]|7\\d)|884|998)\\d{4}"]]],VN:["84","00","[12]\\d{9}|[135-9]\\d{8}|[16]\\d{7}|[16-8]\\d{6}",[7,8,9,10],[["(\\d{2})(\\d{5})","$1 $2",["80"],"0$1",1],["(\\d{4})(\\d{4,6})","$1 $2",["1"],0,1],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["6"],"0$1",1],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[357-9]"],"0$1",1],["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["2[48]"],"0$1",1],["(\\d{3})(\\d{4})(\\d{3})","$1 $2 $3",["2"],"0$1",1]],"0",0,0,0,0,0,[0,["(?:5(?:2[238]|59)|89[6-9]|99[013-9])\\d{6}|(?:3\\d|5[1689]|7[06-9]|8[1-8]|9[0-8])\\d{7}",[9]]]],VU:["678","00","[57-9]\\d{6}|(?:[238]\\d|48)\\d{3}",[5,7],[["(\\d{3})(\\d{4})","$1 $2",["[57-9]"]]],0,0,0,0,0,0,[0,["(?:[58]\\d|7[013-7])\\d{5}",[7]]]],WF:["681","00","(?:40|72)\\d{4}|8\\d{5}(?:\\d{3})?",[6,9],[["(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3",["[478]"]],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"]]],0,0,0,0,0,0,[0,["(?:72|8[23])\\d{4}",[6]]]],WS:["685","0","(?:[2-6]|8\\d{5})\\d{4}|[78]\\d{6}|[68]\\d{5}",[5,6,7,10],[["(\\d{5})","$1",["[2-5]|6[1-9]"]],["(\\d{3})(\\d{3,7})","$1 $2",["[68]"]],["(\\d{2})(\\d{5})","$1 $2",["7"]]],0,0,0,0,0,0,[0,["(?:7[1-35-7]|8(?:[3-7]|9\\d{3}))\\d{5}",[7,10]]]],XK:["383","00","2\\d{7,8}|3\\d{7,11}|(?:4\\d\\d|[89]00)\\d{5}",[8,9,10,11,12],[["(\\d{3})(\\d{5})","$1 $2",["[89]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[2-4]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["2|39"],"0$1"],["(\\d{2})(\\d{7,10})","$1 $2",["3"],"0$1"]],"0",0,0,0,0,0,[0,["4[3-9]\\d{6}",[8]]]],YE:["967","00","(?:1|7\\d)\\d{7}|[1-7]\\d{6}",[7,8,9],[["(\\d)(\\d{3})(\\d{3,4})","$1 $2 $3",["[1-6]|7(?:[24-6]|8[0-7])"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["7"],"0$1"]],"0",0,0,0,0,0,[0,["7[01378]\\d{7}",[9]]]],YT:["262","00","(?:80|9\\d)\\d{7}|(?:26|63)9\\d{6}",[9],0,"0",0,0,0,0,0,[0,["639(?:0[0-79]|1[019]|[267]\\d|3[09]|40|5[05-9]|9[04-79])\\d{4}"]]],ZA:["27","00","[1-79]\\d{8}|8\\d{4,9}",[5,6,7,8,9,10],[["(\\d{2})(\\d{3,4})","$1 $2",["8[1-4]"],"0$1"],["(\\d{2})(\\d{3})(\\d{2,3})","$1 $2 $3",["8[1-4]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["860"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[1-9]"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["8"],"0$1"]],"0",0,0,0,0,0,[0,["(?:1(?:3492[0-25]|4495[0235]|549(?:20|5[01]))|4[34]492[01])\\d{3}|8[1-4]\\d{3,7}|(?:2[27]|47|54)4950\\d{3}
1|(?:1(?:049[2-4]|9[12]\\d\\d)|(?:6\\d\\d|7(?:[0-46-9]\\d|5[0-4]))\\d\\d|8(?:5\\d{3}|7(?:08[67]|158|28[5-9]|310)))\\d{4}|(?:1[6-8]|28|3[2-69]|4[025689]|5[36-8])4920\\d{3}|(?:12|[2-5]1)492\\d{4}",[5,6,7,8,9]]]],ZM:["260","00","800\\d{6}|(?:21|63|[79]\\d)\\d{7}",[9],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[28]"],"0$1"],["(\\d{2})(\\d{7})","$1 $2",["[79]"],"0$1"]],"0",0,0,0,0,0,[0,["(?:7[5-79]|9[5-8])\\d{7}"]]],ZW:["263","00","2(?:[0-57-9]\\d{6,8}|6[0-24-9]\\d{6,7})|[38]\\d{9}|[35-8]\\d{8}|[3-6]\\d{7}|[1-689]\\d{6}|[1-3569]\\d{5}|[1356]\\d{4}",[5,6,7,8,9,10],[["(\\d{3})(\\d{3,5})","$1 $2",["2(?:0[45]|2[278]|[49]8)|3(?:[09]8|17)|6(?:[29]8|37|75)|[23][78]|(?:33|5[15]|6[68])[78]"],"0$1"],["(\\d)(\\d{3})(\\d{2,4})","$1 $2 $3",["[49]"],"0$1"],["(\\d{3})(\\d{4})","$1 $2",["80"],"0$1"],["(\\d{2})(\\d{7})","$1 $2",["24|8[13-59]|(?:2[05-79]|39|5[45]|6[15-8])2","2(?:02[014]|4|[56]20|[79]2)|392|5(?:42|525)|6(?:[16-8]21|52[013])|8[13-59]"],"(0$1)"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["7"],"0$1"],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["2(?:1[39]|2[0157]|[378]|[56][14])|3(?:12|29)","2(?:1[39]|2[0157]|[378]|[56][14])|3(?:123|29)"],"0$1"],["(\\d{4})(\\d{6})","$1 $2",["8"],"0$1"],["(\\d{2})(\\d{3,5})","$1 $2",["1|2(?:0[0-36-9]|12|29|[56])|3(?:1[0-689]|[24-6])|5(?:[0236-9]|1[2-4])|6(?:[013-59]|7[0-46-9])|(?:33|55|6[68])[0-69]|(?:29|3[09]|62)[0-79]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["29[013-9]|39|54"],"0$1"],["(\\d{4})(\\d{3,5})","$1 $2",["(?:25|54)8","258|5483"],"0$1"]],"0",0,0,0,0,0,[0,["7(?:[1278]\\d|3[1-9])\\d{6}",[9]]]]},nonGeographic:{800:["800",0,"(?:00|[1-9]\\d)\\d{6}",[8],[["(\\d{4})(\\d{4})","$1 $2",["\\d"]]],0,0,0,0,0,0,[0,0,["(?:00|[1-9]\\d)\\d{6}"]]],808:["808",0,"[1-9]\\d{7}",[8],[["(\\d{4})(\\d{4})","$1 $2",["[1-9]"]]],0,0,0,0,0,0,[0,0,0,0,0,0,0,0,0,["[1-9]\\d{7}"]]],870:["870",0,"7\\d{11}|[35-7]\\d{8}",[9,12],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[35-7]"]]],0,0,0,0,0,0,[0,["(?:[356]|774[45])\\d{8}|7[6-8]\\d{7}"]]],878:["878",0,"10\\d{10}",[12],[["(\\d{2})(\\d{5})(\\d{5})","$1 $2 $3",["1"]]],0,0,0,0,0,0,[0,0,0,0,0,0,0,0,["10\\d{10}"]]],881:["881",0,"6\\d{9}|[0-36-9]\\d{8}",[9,10],[["(\\d)(\\d{3})(\\d{5})","$1 $2 $3",["[0-37-9]"]],["(\\d)(\\d{3})(\\d{5,6})","$1 $2 $3",["6"]]],0,0,0,0,0,0,[0,["6\\d{9}|[0-36-9]\\d{8}"]]],882:["882",0,"[13]\\d{6}(?:\\d{2,5})?|[19]\\d{7}|(?:[25]\\d\\d|4)\\d{7}(?:\\d{2})?",[7,8,9,10,11,12],[["(\\d{2})(\\d{5})","$1 $2",["16|342"]],["(\\d{2})(\\d{6})","$1 $2",["49"]],["(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3",["1[36]|9"]],["(\\d{2})(\\d{4})(\\d{3})","$1 $2 $3",["3[23]"]],["(\\d{2})(\\d{3,4})(\\d{4})","$1 $2 $3",["16"]],["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["10|23|3(?:[15]|4[57])|4|51"]],["(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["34"]],["(\\d{2})(\\d{4,5})(\\d{5})","$1 $2 $3",["[1-35]"]]],0,0,0,0,0,0,[0,["342\\d{4}|(?:337|49)\\d{6}|(?:3(?:2|47|7\\d{3})|50\\d{3})\\d{7}",[7,8,9,10,12]],0,0,0,["348[57]\\d{7}",[11]],0,0,["1(?:3(?:0[0347]|[13][0139]|2[035]|4[013568]|6[0459]|7[06]|8[15-8]|9[0689])\\d{4}|6\\d{5,10})|(?:345\\d|9[89])\\d{6}|(?:10|2(?:3|85\\d)|3(?:[15]|[69]\\d\\d)|4[15-8]|51)\\d{8}"]]],883:["883",0,"(?:[1-4]\\d|51)\\d{6,10}",[8,9,10,11,12],[["(\\d{3})(\\d{3})(\\d{2,8})","$1 $2 $3",["[14]|2[24-689]|3[02-689]|51[24-9]"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["510"]],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["21"]],["(\\d{4})(\\d{4})(\\d{4})","$1 $2 $3",["51[13]"]],["(\\d{3})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["[235]"]]],0,0,0,0,0,0,[0,0,0,0,0,0,0,0,["(?:2(?:00\\d\\d|10)|(?:370[1-9]|51\\d0)\\d)\\d{7}|51(?:00\\d{5}|[24-9]0\\d{4,7})|(?:1[0-79]|2[24-689]|3[02-689]|4[0-4])0\\d{5,9}"]]],888:["888",0,"\\d{11}",[11],[["(\\d{3})(\\d{3})(\\d{5})","$1 $2 $3"]],0,0,0,0,0,0,[0,0,0,0,0,0,["\\d{11}"]]],979:["979",0,"[1359]\\d{8}",[9],[["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["[1359]"]]],0,0,0,0,0,0,[0,0,0,["[1359]\\d{8}"]]]}};var G=v(4830),j=v(9546);function K($,F){var k=Object.keys($);if(Object.getOwnPropertySymbols){var oe=Object.getOwnPropertySymbols($);F&&(oe=oe.filter(function(x){return Object.getOwnPropertyDescriptor($,x).enumerable})),k.push.apply(k,oe)}return k}function P($){for(var F=1;F<arguments.length;F++){var k=null!=arguments[F]?arguments[F]:{};
1F%2?K(Object(k),!0).forEach(function(oe){R($,oe,k[oe])}):Object.getOwnPropertyDescriptors?Object.defineProperties($,Object.getOwnPropertyDescriptors(k)):K(Object(k)).forEach(function(oe){Object.defineProperty($,oe,Object.getOwnPropertyDescriptor(k,oe))})}return $}function R($,F,k){return F in $?Object.defineProperty($,F,{value:k,enumerable:!0,configurable:!0,writable:!0}):$[F]=k,$}function D(){var $=(0,G.A)(arguments),F=$.text,k=$.options,oe=$.metadata;k=P(P({},k),{},{extract:!1});var x=(0,j.A)(F,k,oe);return x&&x.isValid()||!1}function W(){return function h($,F){var k=Array.prototype.slice.call(F);return k.push(c),$.apply(this,k)}(D,arguments)}},1282:(Qe,ge,v)=>{"use strict";v.d(ge,{A:()=>le});var c=v(9204);function h(){var Se=Object.create(null);function $e(Re){delete Se[Re]}this.set=function(Re,Je,st){if(void 0!==st&&("number"!=typeof st||isNaN(st)||st<=0))throw new Error("Cache timeout must be a positive number");var at=Se[Re];at&&clearTimeout(at.timeout);var nt={value:Je,expire:st+Date.now()};return isNaN(nt.expire)||(nt.timeout=setTimeout(()=>$e(Re),st)),Se[Re]=nt,Je},this.del=function(Re){var Je=!0,st=Se[Re];return st?(clearTimeout(st.timeout),!isNaN(st.expire)&&st.expire<Date.now()&&(Je=!1)):Je=!1,Je&&$e(Re),Je},this.clear=function(){for(var Re in Se)clearTimeout(Se[Re].timeout);Se=Object.create(null)},this.get=function(Re){var Je=Se[Re];if(void 0!==Je){if(isNaN(Je.expire)||Je.expire>=Date.now())return Je.value;delete Se[Re]}return null}}const G=new h;G.Cache=h;var Se,K={fetch:({from:$e,to:Re,text:Je})=>[`https://translate.googleapis.com/translate_a/single?client=gtx&sl=${$e}&tl=${Re}&dt=t&q=${encodeURIComponent(Je)}`],parse:Se=>Se.json().then($e=>{if(!($e=$e&&$e[0]&&$e[0][0]&&$e[0].map(Re=>Re[0]).join("")))throw new Error("Translation not found");return $e})},P={needkey:!0,fetch:({key:Se,from:$e,to:Re,text:Je})=>[`https://translate.yandex.net/api/v1.5/tr.json/translate?key=${Se}&lang=${$e}-${Re}&text=${encodeURIComponent(Je)}`,{method:"POST",body:""}],parse:Se=>Se.json().then($e=>{if(200!==$e.code)throw new Error($e.message);return $e.text[0]})},D={needkey:!1,fetch:({url:Se="https://libretranslate.com/translate",key:$e,from:Re,to:Je,text:st})=>[Se,{method:"POST",body:JSON.stringify({q:st,source:Re,target:Je,api_key:$e}),headers:{"Content-Type":"application/json"}}],parse:Se=>Se.json().then($e=>{if(!$e)throw new Error("No response found");if($e.error)throw new Error($e.error);if(!$e.translatedText)throw new Error("No response found");return $e.translatedText})},W={needkey:!0,fetch:({key:Se,from:$e,to:Re,text:Je})=>[`https://api${Se.endsWith(":fx")?"-free":""}.deepl.com/v2/translate?auth_key=${Se}&source_lang=${$e}&target_lang=${Re}&text=${Je=encodeURIComponent(Je)}`,{method:"POST",body:""}],parse:(Se=(0,c.A)(function*($e){if(!$e.ok)throw 403===$e.status?new Error("Auth Error, please review the key for DeepL"):new Error(`Error ${$e.status}`);return $e.json().then(Re=>Re.translations[0].text)}),function(Re){return Se.apply(this,arguments)})},$={google:K,yandex:P,libre:D,deepl:W},F={aar:"aa",abk:"ab",afr:"af",aka:"ak",alb:"sq",amh:"am",ara:"ar",arg:"an",arm:"hy",asm:"as",ava:"av",ave:"ae",aym:"ay",aze:"az",bak:"ba",bam:"bm",baq:"eu",bel:"be",ben:"bn",bih:"bh",bis:"bi",bos:"bs",bre:"br",bul:"bg",bur:"my",cat:"ca",cha:"ch",che:"ce",chi:"zh",chu:"cu",chv:"cv",cor:"kw",cos:"co",cre:"cr",cze:"cs",dan:"da",div:"dv",dut:"nl",dzo:"dz",eng:"en",epo:"eo",est:"et",ewe:"ee",fao:"fo",fij:"fj",fin:"fi",fre:"fr",fry:"fy",ful:"ff",geo:"ka",ger:"de",gla:"gd",gle:"ga",glg:"gl",glv:"gv",gre:"el",grn:"gn",guj:"gu",hat:"ht",hau:"ha",heb:"he",her:"hz",hin:"hi",hmo:"ho",hrv:"hr",hun:"hu",ibo:"ig",ice:"is",ido:"io",iii:"ii",iku:"iu",ile:"ie",ina:"ia",ind:"id",ipk:"ik",ita:"it",jav:"jv",jpn:"ja",kal:"kl",kan:"kn",kas:"ks",kau:"kr",kaz:"kk",khm:"km",kik:"ki",kin:"rw",kir:"ky",kom:"kv",kon:"kg",kor:"ko",kua:"kj",kur:"ku",lao:"lo",lat:"la",lav:"lv",lim:"li",lin:"ln",lit:"lt",ltz:"lb",lub:"lu",lug:"lg",mac:"mk",mah:"mh",mal:"ml",mao:"mi",mar:"mr",may:"ms",mlg:"mg",mlt:"mt",mon:"mn",nau:"na",nav:"nv",nbl:"nr",nde:"nd",ndo:"ng",nep:"ne",nno:"nn",nob:"nb",nor:"no",nya:"ny",oci:"oc",oji:"oj",ori:"or",orm:"om",oss:"os",pan:"pa",per:"fa",pli:"pi",pol:"pl",por:"pt",pus:"ps",que:"qu",roh:"rm",rum:"ro",run:"rn",rus:"ru",sag:"sg",san:"sa",sin:"si",slo:"sk",slv:"sl",sme:"se",smo:"sm",sna:"sn",snd:"sd",som:"so",sot:"st",spa:"es",srd:"sc",srp:"sr",ssw:"ss",sun:"su",swa:"sw",swe:"sv",tah:"ty",tam:"ta",tat:"tt",tel:"te",tgk:"tg",tgl:"tl",tha:"th",tib:"bo",tir:"ti",ton:"to",tsn:"tn",tso:"ts",tuk:"tk",tur:"tr",twi:"tw",uig:"ug",ukr:"uk",urd:"ur",uzb:"uz",ven:"ve",vie:"vi",vol:"vo",wel:"
1cy",wln:"wa",wol:"wo",xho:"xh",yid:"yi",yor:"yo",zha:"za",zul:"zu"},k={afar:"aa",abkhazian:"ab",afrikaans:"af",akan:"ak",albanian:"sq",amharic:"am",arabic:"ar",aragonese:"an",armenian:"hy",assamese:"as",avaric:"av",avestan:"ae",aymara:"ay",azerbaijani:"az",bashkir:"ba",bambara:"bm",basque:"eu",belarusian:"be",bengali:"bn","bihari languages":"bh",bislama:"bi",tibetan:"bo",bosnian:"bs",breton:"br",bulgarian:"bg",burmese:"my",catalan:"ca",valencian:"ca",czech:"cs",chamorro:"ch",chechen:"ce",chinese:"zh","church slavic":"cu","old slavonic":"cu","church slavonic":"cu","old bulgarian":"cu","old church slavonic":"cu",chuvash:"cv",cornish:"kw",corsican:"co",cree:"cr",welsh:"cy",danish:"da",german:"de",divehi:"dv",dhivehi:"dv",maldivian:"dv",dutch:"nl",flemish:"nl",dzongkha:"dz",greek:"el",english:"en",esperanto:"eo",estonian:"et",ewe:"ee",faroese:"fo",persian:"fa",fijian:"fj",finnish:"fi",french:"fr","western frisian":"fy",fulah:"ff",georgian:"ka",gaelic:"gd","scottish gaelic":"gd",irish:"ga",galician:"gl",manx:"gv",guarani:"gn",gujarati:"gu",haitian:"ht","haitian creole":"ht",hausa:"ha",hebrew:"he",herero:"hz",hindi:"hi","hiri motu":"ho",croatian:"hr",hungarian:"hu",igbo:"ig",icelandic:"is",ido:"io","sichuan yi":"ii",nuosu:"ii",inuktitut:"iu",interlingue:"ie",occidental:"ie",interlingua:"ia",indonesian:"id",inupiaq:"ik",italian:"it",javanese:"jv",japanese:"ja",kalaallisut:"kl",greenlandic:"kl",kannada:"kn",kashmiri:"ks",kanuri:"kr",kazakh:"kk","central khmer":"km",kikuyu:"ki",gikuyu:"ki",kinyarwanda:"rw",kirghiz:"ky",kyrgyz:"ky",komi:"kv",kongo:"kg",korean:"ko",kuanyama:"kj",kwanyama:"kj",kurdish:"ku",lao:"lo",latin:"la",latvian:"lv",limburgan:"li",limburger:"li",limburgish:"li",lingala:"ln",lithuanian:"lt",luxembourgish:"lb",letzeburgesch:"lb","luba-katanga":"lu",ganda:"lg",macedonian:"mk",marshallese:"mh",malayalam:"ml",maori:"mi",marathi:"mr",malay:"ms",malagasy:"mg",maltese:"mt",mongolian:"mn",nauru:"na",navajo:"nv",navaho:"nv","ndebele, south":"nr","south ndebele":"nr","ndebele, north":"nd","north ndebele":"nd",ndonga:"ng",nepali:"ne","norwegian nynorsk":"nn","nynorsk, norwegian":"nn","norwegian bokm\xe5l":"nb","bokm\xe5l, norwegian":"nb",norwegian:"no",chichewa:"ny",chewa:"ny",nyanja:"ny",occitan:"oc",ojibwa:"oj",oriya:"or",oromo:"om",ossetian:"os",ossetic:"os",panjabi:"pa",punjabi:"pa",pali:"pi",polish:"pl",portuguese:"pt",pushto:"ps",pashto:"ps",quechua:"qu",romansh:"rm",romanian:"ro",moldavian:"ro",moldovan:"ro",rundi:"rn",russian:"ru",sango:"sg",sanskrit:"sa",sinhala:"si",sinhalese:"si",slovak:"sk",slovenian:"sl","northern sami":"se",samoan:"sm",shona:"sn",sindhi:"sd",somali:"so","sotho, southern":"st",spanish:"es",castilian:"es",sardinian:"sc",serbian:"sr",swati:"ss",sundanese:"su",swahili:"sw",swedish:"sv",tahitian:"ty",tamil:"ta",tatar:"tt",telugu:"te",tajik:"tg",tagalog:"tl",thai:"th",tigrinya:"ti",tonga:"to",tswana:"tn",tsonga:"ts",turkmen:"tk",turkish:"tr",twi:"tw",uighur:"ug",uyghur:"ug",ukrainian:"uk",urdu:"ur",uzbek:"uz",venda:"ve",vietnamese:"vi",volap\u00fck:"vo",walloon:"wa",wolof:"wo",xhosa:"xh",yiddish:"yi",yoruba:"yo",zhuang:"za",chuang:"za",zulu:"zu"};const oe=Object.values(F).sort();var x=Se=>{if("string"!=typeof Se)throw new Error('The "language" must be a string, received '+typeof Se);if(Se.length>100)throw new Error(`The "language" is too long at ${Se.length} characters`);if(Se=Se.toLowerCase(),!oe.includes(Se=k[Se]||F[Se]||Se))throw new Error(`The language "${Se}" is not part of the ISO 639-1`);return Se};const ue=function(Se={}){if(!(this instanceof ue))return new ue(Se);const $e={from:"en",to:"en",cache:void 0,engine:"google",key:void 0,url:void 0,languages:x,engines:$,keys:{}},Re=function(){var Je=(0,c.A)(function*(st,at={}){"string"==typeof at&&(at={to:at});const nt=Object.keys(at).find(Me=>"from"!==Me&&"to"!==Me);if(nt)throw new Error(`Invalid option with the name '${nt}'`);at.text=st,at.from=x(at.from||Re.from),at.to=x(at.to||Re.to),at.cache=Re.cache,at.engine=Re.engine,at.url=Re.url,at.id=`${at.url}:${at.from}:${at.to}:${at.engine}:${at.text}`,at.keys=Re.keys||{};for(let Me in Re.keys)at.keys[Me]=at.keys[Me]||Re.keys[Me];at.key=at.key||Re.key||at.keys[at.engine];const we=Re.engines[at.engine],re=G.get(at.id);if(re)return Promise.resolve(re);if(at.to===at.from)return Promise.resolve(at.text);if(we.needkey&&!at.key)throw new Error(`The engine "${at.engine}" needs a key, please provide it`);const ye=we.fetch(at);return fetch(...ye).then(we.parse).then(Me=>G.set(at.id,Me,at.cache))});return function(at){return Je.apply(this,arguments)}}();for(let Je in $e)Re[Je]=void 0===Se[Je]?$e[Je]:Se[Je];return Re},le=new ue;le.Translate=ue},9204:(Qe,ge,v)=>{"use strict";function c(G,j,K,P,R,D,W){try{var $=G[D](W),F=$.value}catch(k){return void K(k)}$.done?j(F):Promise.resolve(F).then(P,R)}function h(G){return function(){var j=this,K=arguments;return new Promise(function(P,R){var D=G.apply(j,K);function W(F){c(D,P,R,W,$,"next",F)}function $(F){c(D,P,R,W,$,"throw",F)}W(void 0)})}}v.d(ge,{A:()=>h})}},Qe=>{Qe(Qe.s=6957)}]);
2//# sourceMappingURL=main.da3eefd5c126b9e7.js.map

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